Changes between Version 4 and Version 5 of Ru:Translations


Ignore:
Timestamp:
Apr 28, 2012 9:59:16 PM (13 months ago)
Author:
ak74
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Ru:Translations

    v4 v5  
    4242== Перевод интерфейса JOSM == 
    4343 
    44 Translation of the program texts is done at [https://translations.launchpad.net/josm/trunk/ Launchpad]. 
     44Перевод интерфейса программы производится на [https://translations.launchpad.net/josm/trunk/ Launchpad]. 
    4545 
    46 The Java translation has some specialities which must be remembered when translating: 
    47  * The ' sign is a special character. It must be escaped by another ', so !'' means a single quote in resulting display. 
    48  * For languages with heavy usage of this character the typographic ’ may be used instead of the escaping (looks better when translating, in the final software a user will hardly see the difference). 
    49  * Don't use the message formating brackets {}, or when, then escape each with single quotes like '{' or '}'. 
     46Перевод Java-программ имеет особенности, которые следует учитывать: 
     47 * Знак ' - специальный символ. В строке его нужно повторить дважды, чтобы увидеть на экране. 
     48 * Вместо ' можно использовать ’ - знак ударения (не надо нагромождать задваивания, на вид мало отличается от одиночной кавычки) 
     49 * Не используйте фигурные скобки. Или заключайте их в одиночные кавычки: '{' или '}'. 
    5050 
    5151Changes made in Launchpad will be imported into JOSM for all languages which are already in JOSM. The JOSM team will try to update the text data at least every second week. 
     
    5454 
    5555A short description how to add new language support for test purposes, when 2000 strings limit is not yet reached: 
    56 * Create the language files and store them in the plugin file: 
     56* Create the language files and store them in the plugin file  (or JOSM core): 
    5757 * Language files are stored in directory "data" of JOSM and named with the lowercase language code with extension '''.lang'''. 
    5858 * These files are always a set. The English base file and the translation files must be created together or they will not work correctly. 
    5959 * The Perl script [osm:source:applications/editors/josm/i18n/i18n.pl i18n.pl] must be called with a destination directory and the '''.po''' files to create translation data. 
    60 * Add you language in init() function of [source:trunk/src/org/openstreetmap/tools/I18n.java I18n.java]. 
    61  * You need to specify a proper code for the plural mode of your language. 
     60* Add the new language in init() function of [source:trunk/src/org/openstreetmap/josm/tools/I18n.java I18n.java]:  
     61 * A proper code for the plural mode of the language needs to specified. 
    6262 * A description of the plural calculations can be found in the '''.po''' file downloaded from Launchpad. 
    63  * If none of the existing modes matches your language, you need to add one in the PluralMode enumeration and in pluralEval() function. 
     63 * If none of the existing modes matches the language, add new one needs to be added in the PluralMode enumeration and in pluralEval() function. 
    6464 * For some special languages it is necessary to add workaround code in [source:trunk/src/org/openstreetmap/josm/tools/LanguageInfo.java LanguageInfo.java] to translate between Java language code and the newer codes used on Launchpad 
    6565 
    6666Current JOSM translation status active in the software (only JOSM core, no plugins) is shown in following table. 
    6767 
    68 [[JOSMTranslation(||=language code=||=normal strings=||=plural number=||=plural strings=||=complete plural sets=||=total=||)]] 
     68[[JOSMTranslation(||=language code=||=normal strings=||=plural number=||=plural strings=||=complete plural sets=||||=total=||)]] 
    6969 
    7070{{{