| 1 |
# -*- mode: cperl -*- |
| 2 |
# Xtal.pm language file generation tool, version 1.1 |
| 3 |
|
| 4 |
###################################################################### |
| 5 |
## Xtal.pm language configuration file |
| 6 |
## copyright (c) 2000 Bruce Ravel |
| 7 |
## [email protected] |
| 8 |
## http://feff.phys.washington.edu/~ravel/ |
| 9 |
## |
| 10 |
## The latest version of Atoms can always be found at |
| 11 |
## http://feff.phys.washington.edu/~ravel/software/atoms/ |
| 12 |
## |
| 13 |
## ------------------------------------------------------------------- |
| 14 |
## All rights reserved. This program is free software; you can |
| 15 |
## redistribute it and/or modify it under the same terms as Perl |
| 16 |
## itself. |
| 17 |
## |
| 18 |
## This program is distributed in the hope that it will be useful, |
| 19 |
## but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 20 |
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 21 |
## Artistic License for more details. |
| 22 |
## ------------------------------------------------------------------- |
| 23 |
###################################################################### |
| 24 |
## |
| 25 |
## This is a language configuration file for Xtal.pm. This file is |
| 26 |
## read after atoms starts running. The contents of this file are |
| 27 |
## used is messages generated by Xtal.pm. |
| 28 |
## |
| 29 |
## To make another language file, copy this file to "xtalrc.??" where |
| 30 |
## ?? is a two letter symbol for your language. Translate all of the |
| 31 |
## hash values (but NOT the keys) and add an entry to the %languages |
| 32 |
## hash in the language file for the new language. And please send |
| 33 |
## your translation to Bruce Ravel <[email protected]> so he |
| 34 |
## can include it with future distributions of Atoms. |
| 35 |
## |
| 36 |
## Some languages: |
| 37 |
## en = English |
| 38 |
## fr = French |
| 39 |
## sp = Spanish |
| 40 |
## and so on... |
| 41 |
## |
| 42 |
## Here is an example. Pardon my crappy language skills. Note that |
| 43 |
## the key doesn't get translated, only the value -- that is very |
| 44 |
## important! |
| 45 |
## |
| 46 |
## English: |
| 47 |
## 'not_a_group' => |
| 48 |
## 'You have specified an unknown space group symbol.', |
| 49 |
## |
| 50 |
## Spanish: |
| 51 |
## 'not_a_group' => |
| 52 |
## 'Ud ha specificado un grupo de simetria inconecido.' |
| 53 |
## |
| 54 |
## French: |
| 55 |
## 'not_a_group' => |
| 56 |
## 'Vous avez specifie une groupe de symmetrie inconnu.' |
| 57 |
#################################################################### |
| 58 |
## code: |
| 59 |
$Xray::Xtal::strings = { |
| 60 |
'not_valid' => 'is not a valid space group symbol.', |
| 61 |
'trigonal_desc' => 'Trigonal cells have x=y<>z and alpha=beta=90 and gamma=120.', |
| 62 |
'not_a_group' => 'You have specified an unknown space group symbol.', |
| 63 |
'cubic' => 'cubic', |
| 64 |
'hexagonal_desc' => 'Hexagonal cells have x=y<>z and alpha=beta=90 and gamma=120.', |
| 65 |
'caution' => 'caution', |
| 66 |
'these_sites' => 'These sites:', |
| 67 |
'trigonal' => 'trigonal', |
| 68 |
'monoclinic_desc' => 'Monoclinic cells have all unequal axes and one non-right angle.', |
| 69 |
'occupied' => 'generate one or more common positions and their occupancies |
| 70 |
sum to more than 1.', |
| 71 |
'tainted_sgdb' => 'Atoms detected tainted data among the crystallography |
| 72 |
data for this space group. |
| 73 |
This is an emergency! It means that the crystallography |
| 74 |
database has been corrupted and should be reinstalled.', |
| 75 |
'fatal_error' => 'Fatal error(s) in cell parameters.', |
| 76 |
'error' => 'ERROR!', |
| 77 |
'warning' => 'warning', |
| 78 |
'cell_check' => 'The axis lengths and angles specified are not appropriate for the |
| 79 |
given space group.', |
| 80 |
'monoclinic_unknown' => 'Unknown setting for a monoclinic cell.', |
| 81 |
'rhonbohedral_desc' => 'Rhombohedral cells have x=y=z and alpha=beta=gamma<>90.', |
| 82 |
'tetragonal_desc' => 'Tetragonal cells have x=y<>z and all angles = 90.', |
| 83 |
'warn_shift' => 'appears in the International Tables with |
| 84 |
multiple choices of origin. If the atoms list seems wrong, you |
| 85 |
should use a shift vector of:', |
| 86 |
'triclinic_desc' => 'Triclinic cells have all unequal axes and angles.', |
| 87 |
'tetragonal' => 'tetragonal', |
| 88 |
'hexagonal' => 'hexagonal', |
| 89 |
'site_occ' => 'Site occupancies must be between 0 and 1', |
| 90 |
'triclinic' => 'triclinic', |
| 91 |
'monoclinic' => 'monoclinic', |
| 92 |
'orthorhombic_desc' => 'Orthorhombic cells have unequal axes and all angles = 90.', |
| 93 |
'cubic_desc' => 'Cubic cells have equal axes and all angles = 90.', |
| 94 |
'positive' => 'must be positive', |
| 95 |
'orthorhombic' => 'orthorhombic' |
| 96 |
}; |
| 97 |
|
| 98 |
|
| 99 |
1; |