Преглед изворни кода

GUI: use %d instead of %s for integers (#554)

* GUI: use %d instead of %s for integers

* Update .po files
Huidae Cho пре 5 година
родитељ
комит
98547ce0b3

+ 1 - 1
gui/wxpython/animation/controller.py

@@ -231,7 +231,7 @@ class AnimationController(wx.EvtHandler):
         if not found:
             GMessage(
                 parent=self.frame,
-                message=_("Maximum number of animations is %s.") %
+                message=_("Maximum number of animations is %d.") %
                 len(self.animations))
             return
 

+ 1 - 5
locale/po/grasswxpy_bn.po

@@ -15839,6 +15839,7 @@ msgid "Edit"
 msgstr ""
 
 #: ../gui/wxpython/animation/dialogs.py:841
+#: ../gui/wxpython/animation/controller.py:234
 #, python-format
 msgid "Maximum number of animations is %d."
 msgstr ""
@@ -16115,11 +16116,6 @@ msgstr ""
 msgid "The number of maps to animate has to be the same as the number of maps in temporal dataset."
 msgstr ""
 
-#: ../gui/wxpython/animation/controller.py:234
-#, python-format
-msgid "Maximum number of animations is %s."
-msgstr ""
-
 #: ../gui/wxpython/animation/controller.py:443
 msgid "Failed to display legend."
 msgstr ""

+ 1 - 5
locale/po/grasswxpy_cs.po

@@ -15925,6 +15925,7 @@ msgid "Edit"
 msgstr ""
 
 #: ../gui/wxpython/animation/dialogs.py:841
+#: ../gui/wxpython/animation/controller.py:234
 #, python-format
 msgid "Maximum number of animations is %d."
 msgstr ""
@@ -16201,11 +16202,6 @@ msgstr ""
 msgid "The number of maps to animate has to be the same as the number of maps in temporal dataset."
 msgstr ""
 
-#: ../gui/wxpython/animation/controller.py:234
-#, python-format
-msgid "Maximum number of animations is %s."
-msgstr ""
-
 #: ../gui/wxpython/animation/controller.py:443
 msgid "Failed to display legend."
 msgstr ""

+ 1 - 5
locale/po/grasswxpy_de.po

@@ -15989,6 +15989,7 @@ msgid "Edit"
 msgstr ""
 
 #: ../gui/wxpython/animation/dialogs.py:841
+#: ../gui/wxpython/animation/controller.py:234
 #, python-format
 msgid "Maximum number of animations is %d."
 msgstr ""
@@ -16265,11 +16266,6 @@ msgstr ""
 msgid "The number of maps to animate has to be the same as the number of maps in temporal dataset."
 msgstr ""
 
-#: ../gui/wxpython/animation/controller.py:234
-#, python-format
-msgid "Maximum number of animations is %s."
-msgstr ""
-
 #: ../gui/wxpython/animation/controller.py:443
 msgid "Failed to display legend."
 msgstr ""

+ 2 - 6
locale/po/grasswxpy_el.po

@@ -15843,9 +15843,10 @@ msgid "Edit"
 msgstr ""
 
 #: ../gui/wxpython/animation/dialogs.py:841
+#: ../gui/wxpython/animation/controller.py:234
 #, python-format
 msgid "Maximum number of animations is %d."
-msgstr ""
+msgstr "Ο μέγιστος αριθμός κινουμένων είναι: %d. "
 
 #: ../gui/wxpython/animation/dialogs.py:891
 #: ../gui/wxpython/animation/controller.py:262
@@ -16119,11 +16120,6 @@ msgstr ""
 msgid "The number of maps to animate has to be the same as the number of maps in temporal dataset."
 msgstr ""
 
-#: ../gui/wxpython/animation/controller.py:234
-#, python-format
-msgid "Maximum number of animations is %s."
-msgstr "Ο μέγιστος αριθμός κινουμένων είναι: %s. "
-
 #: ../gui/wxpython/animation/controller.py:443
 msgid "Failed to display legend."
 msgstr "Σφάλμα κατά την προβολή υπομνήματος"

+ 1 - 5
locale/po/grasswxpy_es.po

@@ -16071,6 +16071,7 @@ msgid "Edit"
 msgstr "Editar"
 
 #: ../gui/wxpython/animation/dialogs.py:841
+#: ../gui/wxpython/animation/controller.py:234
 #, python-format
 msgid "Maximum number of animations is %d."
 msgstr "La cantidad máxima de animaciones es %d."
@@ -16350,11 +16351,6 @@ msgstr "La cantidad de mapas a animar tiene que ser el mismo para cada serie de
 msgid "The number of maps to animate has to be the same as the number of maps in temporal dataset."
 msgstr "La cantidad de mapas a animar tiene que ser el miemos que el número de mapas en conjunto de datos espacio temporales."
 
-#: ../gui/wxpython/animation/controller.py:234
-#, python-format
-msgid "Maximum number of animations is %s."
-msgstr "El número máximo de animaciones es %s."
-
 #: ../gui/wxpython/animation/controller.py:443
 msgid "Failed to display legend."
 msgstr "No se pudo mostrar la leyenda."

+ 1 - 5
locale/po/grasswxpy_fi.po

@@ -15844,6 +15844,7 @@ msgid "Edit"
 msgstr ""
 
 #: ../gui/wxpython/animation/dialogs.py:841
+#: ../gui/wxpython/animation/controller.py:234
 #, python-format
 msgid "Maximum number of animations is %d."
 msgstr ""
@@ -16120,11 +16121,6 @@ msgstr ""
 msgid "The number of maps to animate has to be the same as the number of maps in temporal dataset."
 msgstr ""
 
-#: ../gui/wxpython/animation/controller.py:234
-#, python-format
-msgid "Maximum number of animations is %s."
-msgstr ""
-
 #: ../gui/wxpython/animation/controller.py:443
 msgid "Failed to display legend."
 msgstr ""

+ 1 - 5
locale/po/grasswxpy_fr.po

@@ -16065,6 +16065,7 @@ msgid "Edit"
 msgstr "Modifier"
 
 #: ../gui/wxpython/animation/dialogs.py:841
+#: ../gui/wxpython/animation/controller.py:234
 #, python-format
 msgid "Maximum number of animations is %d."
 msgstr "Le nombre maximum d'animations est %d."
@@ -16343,11 +16344,6 @@ msgstr "Le nombre de cartes à animer doit être le même pour chaque série de
 msgid "The number of maps to animate has to be the same as the number of maps in temporal dataset."
 msgstr "Le nombre de cartes à animer doit être le même que le nombre de cartes dans le jeu de données temporel."
 
-#: ../gui/wxpython/animation/controller.py:234
-#, python-format
-msgid "Maximum number of animations is %s."
-msgstr "Le nombre maximal d'animations est %s."
-
 #: ../gui/wxpython/animation/controller.py:443
 msgid "Failed to display legend."
 msgstr "L'affichage de la légende à échoué."

+ 1 - 5
locale/po/grasswxpy_hu.po

@@ -15904,6 +15904,7 @@ msgid "Edit"
 msgstr "Szerkesztés"
 
 #: ../gui/wxpython/animation/dialogs.py:841
+#: ../gui/wxpython/animation/controller.py:234
 #, python-format
 msgid "Maximum number of animations is %d."
 msgstr "Maximális animáció szám %d."
@@ -16183,11 +16184,6 @@ msgstr ""
 msgid "The number of maps to animate has to be the same as the number of maps in temporal dataset."
 msgstr ""
 
-#: ../gui/wxpython/animation/controller.py:234
-#, python-format
-msgid "Maximum number of animations is %s."
-msgstr "Az animációk maximális száma %s."
-
 #: ../gui/wxpython/animation/controller.py:443
 msgid "Failed to display legend."
 msgstr "Nem tudom a jelmagyarázatot megjeleníteni."

+ 1 - 5
locale/po/grasswxpy_id_ID.po

@@ -15839,6 +15839,7 @@ msgid "Edit"
 msgstr ""
 
 #: ../gui/wxpython/animation/dialogs.py:841
+#: ../gui/wxpython/animation/controller.py:234
 #, python-format
 msgid "Maximum number of animations is %d."
 msgstr ""
@@ -16115,11 +16116,6 @@ msgstr ""
 msgid "The number of maps to animate has to be the same as the number of maps in temporal dataset."
 msgstr ""
 
-#: ../gui/wxpython/animation/controller.py:234
-#, python-format
-msgid "Maximum number of animations is %s."
-msgstr ""
-
 #: ../gui/wxpython/animation/controller.py:443
 msgid "Failed to display legend."
 msgstr ""

+ 1 - 5
locale/po/grasswxpy_it.po

@@ -16044,6 +16044,7 @@ msgid "Edit"
 msgstr "Modifica"
 
 #: ../gui/wxpython/animation/dialogs.py:841
+#: ../gui/wxpython/animation/controller.py:234
 #, python-format
 msgid "Maximum number of animations is %d."
 msgstr "Il numero massimo di animazioni è %d."
@@ -16323,11 +16324,6 @@ msgstr "Il numero di mappe da animare deve essere lo stesso per ogni serie di ma
 msgid "The number of maps to animate has to be the same as the number of maps in temporal dataset."
 msgstr "Il numero di mappe da animare deve essere uguale al numero di mappe nel dataset temporale."
 
-#: ../gui/wxpython/animation/controller.py:234
-#, python-format
-msgid "Maximum number of animations is %s."
-msgstr "Numero massimo di animazioni è %s."
-
 #: ../gui/wxpython/animation/controller.py:443
 msgid "Failed to display legend."
 msgstr "Impossibile visualizzare la legenda."

+ 1 - 5
locale/po/grasswxpy_ja.po

@@ -15970,6 +15970,7 @@ msgid "Edit"
 msgstr ""
 
 #: ../gui/wxpython/animation/dialogs.py:841
+#: ../gui/wxpython/animation/controller.py:234
 #, python-format
 msgid "Maximum number of animations is %d."
 msgstr ""
@@ -16246,11 +16247,6 @@ msgstr ""
 msgid "The number of maps to animate has to be the same as the number of maps in temporal dataset."
 msgstr ""
 
-#: ../gui/wxpython/animation/controller.py:234
-#, python-format
-msgid "Maximum number of animations is %s."
-msgstr ""
-
 #: ../gui/wxpython/animation/controller.py:443
 msgid "Failed to display legend."
 msgstr ""

+ 1 - 5
locale/po/grasswxpy_ko.po

@@ -15893,6 +15893,7 @@ msgid "Edit"
 msgstr ""
 
 #: ../gui/wxpython/animation/dialogs.py:841
+#: ../gui/wxpython/animation/controller.py:234
 #, python-format
 msgid "Maximum number of animations is %d."
 msgstr "애니메이션의 최대 개수는 %d입니다"
@@ -16169,11 +16170,6 @@ msgstr ""
 msgid "The number of maps to animate has to be the same as the number of maps in temporal dataset."
 msgstr ""
 
-#: ../gui/wxpython/animation/controller.py:234
-#, python-format
-msgid "Maximum number of animations is %s."
-msgstr "애니메이션의 최대 개수는 %s입니다"
-
 #: ../gui/wxpython/animation/controller.py:443
 msgid "Failed to display legend."
 msgstr ""

+ 1 - 5
locale/po/grasswxpy_lv.po

@@ -16337,6 +16337,7 @@ msgid "Edit"
 msgstr "Rediģēt"
 
 #: ../gui/wxpython/animation/dialogs.py:841
+#: ../gui/wxpython/animation/controller.py:234
 #, python-format
 msgid "Maximum number of animations is %d."
 msgstr ""
@@ -16632,11 +16633,6 @@ msgid ""
 "temporal dataset."
 msgstr ""
 
-#: ../gui/wxpython/animation/controller.py:234
-#, python-format
-msgid "Maximum number of animations is %s."
-msgstr ""
-
 #: ../gui/wxpython/animation/controller.py:443
 msgid "Failed to display legend."
 msgstr ""

+ 1 - 5
locale/po/grasswxpy_ml.po

@@ -15868,6 +15868,7 @@ msgid "Edit"
 msgstr ""
 
 #: ../gui/wxpython/animation/dialogs.py:841
+#: ../gui/wxpython/animation/controller.py:234
 #, python-format
 msgid "Maximum number of animations is %d."
 msgstr ""
@@ -16144,11 +16145,6 @@ msgstr ""
 msgid "The number of maps to animate has to be the same as the number of maps in temporal dataset."
 msgstr ""
 
-#: ../gui/wxpython/animation/controller.py:234
-#, python-format
-msgid "Maximum number of animations is %s."
-msgstr ""
-
 #: ../gui/wxpython/animation/controller.py:443
 msgid "Failed to display legend."
 msgstr ""

+ 1 - 5
locale/po/grasswxpy_pl.po

@@ -15943,6 +15943,7 @@ msgid "Edit"
 msgstr "Edytuj"
 
 #: ../gui/wxpython/animation/dialogs.py:841
+#: ../gui/wxpython/animation/controller.py:234
 #, python-format
 msgid "Maximum number of animations is %d."
 msgstr ""
@@ -16219,11 +16220,6 @@ msgstr ""
 msgid "The number of maps to animate has to be the same as the number of maps in temporal dataset."
 msgstr ""
 
-#: ../gui/wxpython/animation/controller.py:234
-#, python-format
-msgid "Maximum number of animations is %s."
-msgstr ""
-
 #: ../gui/wxpython/animation/controller.py:443
 msgid "Failed to display legend."
 msgstr ""

+ 1 - 5
locale/po/grasswxpy_pt.po

@@ -15857,6 +15857,7 @@ msgid "Edit"
 msgstr ""
 
 #: ../gui/wxpython/animation/dialogs.py:841
+#: ../gui/wxpython/animation/controller.py:234
 #, python-format
 msgid "Maximum number of animations is %d."
 msgstr ""
@@ -16133,11 +16134,6 @@ msgstr ""
 msgid "The number of maps to animate has to be the same as the number of maps in temporal dataset."
 msgstr ""
 
-#: ../gui/wxpython/animation/controller.py:234
-#, python-format
-msgid "Maximum number of animations is %s."
-msgstr ""
-
 #: ../gui/wxpython/animation/controller.py:443
 msgid "Failed to display legend."
 msgstr ""

+ 2 - 6
locale/po/grasswxpy_pt_BR.po

@@ -15889,9 +15889,10 @@ msgid "Edit"
 msgstr "Editar"
 
 #: ../gui/wxpython/animation/dialogs.py:841
+#: ../gui/wxpython/animation/controller.py:234
 #, python-format
 msgid "Maximum number of animations is %d."
-msgstr ""
+msgstr "Número máximo de animações são %d."
 
 #: ../gui/wxpython/animation/dialogs.py:891
 #: ../gui/wxpython/animation/controller.py:262
@@ -16165,11 +16166,6 @@ msgstr ""
 msgid "The number of maps to animate has to be the same as the number of maps in temporal dataset."
 msgstr ""
 
-#: ../gui/wxpython/animation/controller.py:234
-#, python-format
-msgid "Maximum number of animations is %s."
-msgstr "Número máximo de animações são %s."
-
 #: ../gui/wxpython/animation/controller.py:443
 msgid "Failed to display legend."
 msgstr "Não foi possível mostrar a legenda."

+ 1 - 5
locale/po/grasswxpy_ro.po

@@ -15973,6 +15973,7 @@ msgid "Edit"
 msgstr ""
 
 #: ../gui/wxpython/animation/dialogs.py:841
+#: ../gui/wxpython/animation/controller.py:234
 #, python-format
 msgid "Maximum number of animations is %d."
 msgstr ""
@@ -16249,11 +16250,6 @@ msgstr ""
 msgid "The number of maps to animate has to be the same as the number of maps in temporal dataset."
 msgstr ""
 
-#: ../gui/wxpython/animation/controller.py:234
-#, python-format
-msgid "Maximum number of animations is %s."
-msgstr ""
-
 #: ../gui/wxpython/animation/controller.py:443
 msgid "Failed to display legend."
 msgstr ""

+ 1 - 5
locale/po/grasswxpy_ru.po

@@ -15858,6 +15858,7 @@ msgid "Edit"
 msgstr ""
 
 #: ../gui/wxpython/animation/dialogs.py:841
+#: ../gui/wxpython/animation/controller.py:234
 #, python-format
 msgid "Maximum number of animations is %d."
 msgstr ""
@@ -16134,11 +16135,6 @@ msgstr ""
 msgid "The number of maps to animate has to be the same as the number of maps in temporal dataset."
 msgstr ""
 
-#: ../gui/wxpython/animation/controller.py:234
-#, python-format
-msgid "Maximum number of animations is %s."
-msgstr ""
-
 #: ../gui/wxpython/animation/controller.py:443
 msgid "Failed to display legend."
 msgstr ""

+ 1 - 5
locale/po/grasswxpy_si.po

@@ -15839,6 +15839,7 @@ msgid "Edit"
 msgstr ""
 
 #: ../gui/wxpython/animation/dialogs.py:841
+#: ../gui/wxpython/animation/controller.py:234
 #, python-format
 msgid "Maximum number of animations is %d."
 msgstr ""
@@ -16115,11 +16116,6 @@ msgstr ""
 msgid "The number of maps to animate has to be the same as the number of maps in temporal dataset."
 msgstr ""
 
-#: ../gui/wxpython/animation/controller.py:234
-#, python-format
-msgid "Maximum number of animations is %s."
-msgstr ""
-
 #: ../gui/wxpython/animation/controller.py:443
 msgid "Failed to display legend."
 msgstr ""

+ 1 - 5
locale/po/grasswxpy_ta.po

@@ -15842,6 +15842,7 @@ msgid "Edit"
 msgstr ""
 
 #: ../gui/wxpython/animation/dialogs.py:841
+#: ../gui/wxpython/animation/controller.py:234
 #, python-format
 msgid "Maximum number of animations is %d."
 msgstr ""
@@ -16118,11 +16119,6 @@ msgstr ""
 msgid "The number of maps to animate has to be the same as the number of maps in temporal dataset."
 msgstr ""
 
-#: ../gui/wxpython/animation/controller.py:234
-#, python-format
-msgid "Maximum number of animations is %s."
-msgstr ""
-
 #: ../gui/wxpython/animation/controller.py:443
 msgid "Failed to display legend."
 msgstr ""

+ 1 - 5
locale/po/grasswxpy_th.po

@@ -15841,6 +15841,7 @@ msgid "Edit"
 msgstr ""
 
 #: ../gui/wxpython/animation/dialogs.py:841
+#: ../gui/wxpython/animation/controller.py:234
 #, python-format
 msgid "Maximum number of animations is %d."
 msgstr ""
@@ -16117,11 +16118,6 @@ msgstr ""
 msgid "The number of maps to animate has to be the same as the number of maps in temporal dataset."
 msgstr ""
 
-#: ../gui/wxpython/animation/controller.py:234
-#, python-format
-msgid "Maximum number of animations is %s."
-msgstr ""
-
 #: ../gui/wxpython/animation/controller.py:443
 msgid "Failed to display legend."
 msgstr ""

+ 2 - 6
locale/po/grasswxpy_tr.po

@@ -15860,9 +15860,10 @@ msgid "Edit"
 msgstr ""
 
 #: ../gui/wxpython/animation/dialogs.py:841
+#: ../gui/wxpython/animation/controller.py:234
 #, python-format
 msgid "Maximum number of animations is %d."
-msgstr ""
+msgstr "En büyük animasyon sayısı: %d."
 
 #: ../gui/wxpython/animation/dialogs.py:891
 #: ../gui/wxpython/animation/controller.py:262
@@ -16136,11 +16137,6 @@ msgstr ""
 msgid "The number of maps to animate has to be the same as the number of maps in temporal dataset."
 msgstr ""
 
-#: ../gui/wxpython/animation/controller.py:234
-#, python-format
-msgid "Maximum number of animations is %s."
-msgstr "En büyük animasyon sayısı: %s."
-
 #: ../gui/wxpython/animation/controller.py:443
 msgid "Failed to display legend."
 msgstr ""

+ 1 - 5
locale/po/grasswxpy_uk.po

@@ -15839,6 +15839,7 @@ msgid "Edit"
 msgstr ""
 
 #: ../gui/wxpython/animation/dialogs.py:841
+#: ../gui/wxpython/animation/controller.py:234
 #, python-format
 msgid "Maximum number of animations is %d."
 msgstr ""
@@ -16115,11 +16116,6 @@ msgstr ""
 msgid "The number of maps to animate has to be the same as the number of maps in temporal dataset."
 msgstr ""
 
-#: ../gui/wxpython/animation/controller.py:234
-#, python-format
-msgid "Maximum number of animations is %s."
-msgstr ""
-
 #: ../gui/wxpython/animation/controller.py:443
 msgid "Failed to display legend."
 msgstr ""

+ 1 - 5
locale/po/grasswxpy_vi.po

@@ -15842,6 +15842,7 @@ msgid "Edit"
 msgstr ""
 
 #: ../gui/wxpython/animation/dialogs.py:841
+#: ../gui/wxpython/animation/controller.py:234
 #, python-format
 msgid "Maximum number of animations is %d."
 msgstr ""
@@ -16118,11 +16119,6 @@ msgstr ""
 msgid "The number of maps to animate has to be the same as the number of maps in temporal dataset."
 msgstr ""
 
-#: ../gui/wxpython/animation/controller.py:234
-#, python-format
-msgid "Maximum number of animations is %s."
-msgstr ""
-
 #: ../gui/wxpython/animation/controller.py:443
 msgid "Failed to display legend."
 msgstr ""

+ 1 - 5
locale/po/grasswxpy_zh.po

@@ -15897,6 +15897,7 @@ msgid "Edit"
 msgstr "编辑"
 
 #: ../gui/wxpython/animation/dialogs.py:841
+#: ../gui/wxpython/animation/controller.py:234
 #, python-format
 msgid "Maximum number of animations is %d."
 msgstr ""
@@ -16176,11 +16177,6 @@ msgstr "动画地图系列中须使用相同的地图数字。"
 msgid "The number of maps to animate has to be the same as the number of maps in temporal dataset."
 msgstr ""
 
-#: ../gui/wxpython/animation/controller.py:234
-#, python-format
-msgid "Maximum number of animations is %s."
-msgstr ""
-
 #: ../gui/wxpython/animation/controller.py:443
 msgid "Failed to display legend."
 msgstr ""

+ 1 - 5
locale/po/grasswxpy_zh_CN.po

@@ -11775,6 +11775,7 @@ msgid "Edit"
 msgstr ""
 
 #: ../gui/wxpython/animation/dialogs.py:837
+#: ../gui/wxpython/animation/controller.py:234
 #, python-format
 msgid "Maximum number of animations is %d."
 msgstr ""
@@ -12140,11 +12141,6 @@ msgstr ""
 msgid "Topology of Space time dataset %s is invalid."
 msgstr ""
 
-#: ../gui/wxpython/animation/controller.py:234
-#, python-format
-msgid "Maximum number of animations is %s."
-msgstr ""
-
 #: ../gui/wxpython/animation/controller.py:443
 msgid "Failed to display legend."
 msgstr ""