Re: [jokosher-devel] Python-style Translations



2006/7/29, Laszlo Pandy <laszlok2 gmail com>:
 From the ru.po file:
        754     #: ../../Jokosher.py:464
        755     #, fuzzy, python-format
        756     msgid "Mixing project to file: %s"
        757     msgstr "Сведение проекта"

In python, %s means that there will be a string substitution. In this
case %s represents the filename. So the user will see:
"Mixing project to file: myfile.ogg". However in this Russian
translation there is no %s. This is a problem because we have told
python substitute a string, but it won't know where. This Russian string
will could possible freeze Jokosher.

Translators: If you find any weird characters like this and don't know
what they mean, either look in the code (it specifies Jokosher.py:464),
or ask one of the devs to tell you what it means. We can look in the
code for you and tell you exactly what will be substituted.

Developers: We should probably put info like this in the comments beside
strings that contain %s, etc.

        799     #: ../../Jokosher.py:678
        800     #, fuzzy, python-format
        801     msgid "%s - Jokosher"
        802     msgstr "Добро пожаловать в Jokosher!"

Hey, I did it exactly that way! Preserved %s, looked through code,
etc. I beleive, it's the merging utility trying to "fulfill"
untranslated messages with strings that "look like" the untranslated
ones.

Anyway, I've attached another update, that corrects strings, that gone
wrong :) Hope I don't bore the developers with so frequent updates to
commit...
--Artem
--- ru.po.orig	2006-07-30 10:58:21.000000000 +0700
+++ ru.po	2006-07-30 11:06:40.000000000 +0700
@@ -473,9 +473,8 @@
 msgstr "Ð?Ñ?кÑ?Ñ?Ñ?Ñ? Ñ?Ñ?Ñ?еÑ?Ñ?вÑ?Ñ?Ñ?ий пÑ?оекÑ?"
 
 #: ../../Jokosher.glade.h:382
-#, fuzzy
 msgid "Choose one or more instruments to add to your project."
-msgstr "Ð?Ñ?беÑ?иÑ?е инÑ?Ñ?Ñ?Ñ?менÑ? длÑ? добавлениÑ? к пÑ?оекÑ?Ñ?."
+msgstr "Ð?Ñ?беÑ?иÑ?е один или более инÑ?Ñ?Ñ?Ñ?менÑ?ов длÑ? добавлениÑ? к пÑ?оекÑ?Ñ?."
 
 #: ../../Jokosher.glade.h:383
 msgid "Configure Instrument Effects"
@@ -601,9 +600,8 @@
 msgstr "ЧаÑ?Ñ?оÑ?а диÑ?кÑ?еÑ?изаÑ?ии"
 
 #: ../../Jokosher.glade.h:413
-#, fuzzy
 msgid "Search:"
-msgstr "Ð?оиÑ?к"
+msgstr "Ð?оиÑ?к:"
 
 #: ../../Jokosher.glade.h:414
 msgid "Select A Folder"
@@ -714,6 +712,9 @@
 "either disarm one, or connect it to a different input through 'Project -> "
 "Instrument Connections'"
 msgstr ""
+"Ð?нÑ?Ñ?Ñ?Ñ?менÑ?Ñ? '%s' и '%s' иÑ?полÑ?зÑ?Ñ?Ñ? один и Ñ?оÑ? же иÑ?Ñ?оÑ?ник (%s)."
+"Ð?ожалÑ?йÑ?Ñ?а, оÑ?клÑ?Ñ?иÑ?е один из ниÑ? или Ñ?вÑ?жиÑ?е его Ñ? дÑ?Ñ?гим иÑ?Ñ?оÑ?ником в"
+"диалоге Ð?Ñ?оекÑ? -> СвÑ?зи инÑ?Ñ?Ñ?Ñ?менÑ?ов"
 
 #: ../../Jokosher.py:317
 msgid ""
@@ -748,9 +749,9 @@
 msgstr "СоÑ?Ñ?аниÑ?Ñ? как Ñ?айл Ñ?ипа:"
 
 #: ../../Jokosher.py:462
-#, fuzzy, python-format
+#, python-format
 msgid "Mixing project to file: %s"
-msgstr "Сведение пÑ?оекÑ?а"
+msgstr "Сведение пÑ?оекÑ?а в Ñ?айл: %s"
 
 #: ../../Jokosher.py:477
 msgid "Preparing to mixdown project"
@@ -759,7 +760,7 @@
 #: ../../Jokosher.py:483
 #, python-format
 msgid "%d of %d seconds completed"
-msgstr ""
+msgstr "%d из %d Ñ?екÑ?нд вÑ?полнено"
 
 #: ../../Jokosher.py:535
 msgid "Choose a Jokosher project file"
@@ -785,6 +786,10 @@
 "\n"
 "Your changes will be lost if you don't save them."
 msgstr ""
+"<span size='large' weight='bold'>СоÑ?Ñ?аниÑ?Ñ? изменениÑ? в пÑ?оекÑ?е \"%s\" пеÑ?ед "
+"закÑ?Ñ?Ñ?ием?</span>\n"
+"\n"
+"Ð?аÑ?и изменениÑ? бÑ?дÑ?Ñ? Ñ?Ñ?еÑ?Ñ?нÑ?, еÑ?ли вÑ? не Ñ?оÑ?Ñ?аниÑ?е иÑ?."
 
 #: ../../Jokosher.py:629
 msgid "Close _Without Saving"
@@ -796,9 +801,9 @@
 msgstr ""
 
 #: ../../Jokosher.py:676
-#, fuzzy, python-format
+#, python-format
 msgid "%s - Jokosher"
-msgstr "Ð?обÑ?о пожаловаÑ?Ñ? в Jokosher!"
+msgstr ""
 
 #: ../../Jokosher.py:975
 msgid "The project references non-existant files:\n"
@@ -818,6 +823,8 @@
 "%s\n"
 " Invalid or corrupt project file, will not open."
 msgstr ""
+"%s\n"
+" Ð?Ñ?ибоÑ?нÑ?й или повÑ?еждÑ?ннÑ?й Ñ?айл пÑ?оекÑ?а, невозможно оÑ?кÑ?Ñ?Ñ?Ñ?."
 
 #: ../../Jokosher.py:1012
 msgid "You must have Gstreamer version 0.10.9 or higher.\n"
@@ -869,13 +876,13 @@
 #: ../../Jokosher.py:1076
 #, python-format
 msgid "The project file was created with version \"%s\" of Jokosher.\n"
-msgstr ""
+msgstr "Файл пÑ?оекÑ?а бÑ?л Ñ?оздан Ñ? иÑ?полÑ?зованием веÑ?Ñ?ии Jokosher \"%s\".\n"
 
 #: ../../Jokosher.py:1077
 #, python-format
 msgid "Projects from version \"%s\" are incompatible with this release.\n"
-msgstr ""
+msgstr "Ð?Ñ?оекÑ?Ñ?, Ñ?озданнÑ?е веÑ?Ñ?ией \"%s\" неÑ?овмеÑ?Ñ?имÑ? Ñ? Ñ?Ñ?ой веÑ?Ñ?ией.\n"
 
 #, fuzzy
 #~ msgid "'Project -> Instrument Connections'"
-#~ msgstr "СвÑ?зи инÑ?Ñ?Ñ?Ñ?менÑ?ов"
+#~ msgstr "Ð?Ñ?оекÑ? -> СвÑ?зи инÑ?Ñ?Ñ?Ñ?менÑ?ов"


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]