From 6fb43c4b04b5073c6dd7b3ef88f4cee61709ce7e Mon Sep 17 00:00:00 2001 From: Damien Picard Date: Thu, 30 Jun 2022 19:06:54 +0200 Subject: Animall: add French translations --- animation_animall/translations.py | 250 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 250 insertions(+) create mode 100644 animation_animall/translations.py (limited to 'animation_animall/translations.py') diff --git a/animation_animall/translations.py b/animation_animall/translations.py new file mode 100644 index 00000000..9ced1807 --- /dev/null +++ b/animation_animall/translations.py @@ -0,0 +1,250 @@ +# SPDX-License-Identifier: GPL-2.0-or-later + +# Tuple of tuples: +# ((msgctxt, msgid), (sources, gen_comments), (lang, translation, (is_fuzzy, comments)), ...) +translations_tuple = ( + (("*", ""), + ((), ()), + ("fr_FR", "Project-Id-Version: AnimAll 0.9.6 (0)\nReport-Msgid-Bugs-To: \nPOT-Creation-Date: 2022-06-24 00:41:10.347798\nPO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\nLast-Translator: FULL NAME \nLanguage-Team: LANGUAGE \nLanguage: __POT__\nMIME-Version: 1.0\nContent-Type: text/plain; charset=UTF-8\nContent-Transfer-Encoding: 8bit", + (False, + ("Blender's translation file (po format).", + "Copyright (C) 2022 The Blender Foundation.", + "This file is distributed under the same license as the Blender package.", + "Damien Picard , 2022."))), + ), + (("*", "Tab Category"), + (("bpy.types.AnimallAddonPreferences.category",), + ()), + ("fr_FR", "Catégorie d’onglet", + (False, ())), + ), + (("*", "Choose a name for the category of the panel"), + (("bpy.types.AnimallAddonPreferences.category",), + ()), + ("fr_FR", "Choisir un nom pour la catégorie du panneau", + (False, ())), + ), + (("Operator", "Clear Animation"), + (("bpy.types.ANIM_OT_clear_animation_animall",), + ()), + ("fr_FR", "Effacer l’animation", + (False, ())), + ), + (("*", "Delete all keyframes for this object\nIf in a specific case it doesn't work\ntry to delete the keys manually"), + (("bpy.types.ANIM_OT_clear_animation_animall",), + ()), + ("fr_FR", "Supprimer toutes les images clés pour cet objet.\n" + "En cas d’échec, essayez de les supprimer manuellement", + (False, ())), + ), + (("*", "Insert a Keyframe"), + (("bpy.types.ANIM_OT_insert_keyframe_animall",), + ()), + ("fr_FR", "Insérer une image clé", + (False, ())), + ), + (("Operator", "Delete Key"), + (("bpy.types.ANIM_OT_delete_keyframe_animall",), + ()), + ("fr_FR", "Supprimer image clé", + (False, ())), + ), + (("*", "Delete a Keyframe"), + (("bpy.types.ANIM_OT_delete_keyframe_animall",), + ()), + ("fr_FR", "Supprimer une image clé", + (False, ())), + ), + (("*", "Animate"), + (("bpy.types.VIEW3D_PT_animall",), + ()), + ("fr_FR", "Animer", + (False, ())), + ), + (("*", "Insert keyframes on active attribute values"), + (("bpy.types.AnimallProperties.key_attribute",), + ()), + ("fr_FR", "Insérer des clés sur l’attribut actif", + (False, ())), + ), + (("*", "Insert keyframes on edge bevel weight"), + (("bpy.types.AnimallProperties.key_edge_bevel",), + ()), + ("fr_FR", "Insérer des clés sur les poids de biseau d’arête", + (False, ())), + ), + (("*", "Insert keyframes on edge creases"), + (("bpy.types.AnimallProperties.key_edge_crease",), + ()), + ("fr_FR", "Insérer des clés sur les plis d’arête", + (False, ())), + ), + (("*", "Insert keyframes on face material indices"), + (("bpy.types.AnimallProperties.key_material_index",), + ()), + ("fr_FR", "Insérer des clés sur les indices de matériaux", + (False, ())), + ), + (("*", "Insert keyframes on point locations"), + (("bpy.types.AnimallProperties.key_point_location",), + ()), + ("fr_FR", "Insérer des clés sur les positions des points", + (False, ())), + ), + (("*", "Insert keyframes on point radius (Shrink/Fatten)"), + (("bpy.types.AnimallProperties.key_radius",), + ()), + ("fr_FR", "Insérer des clés sur le rayon de rayon de point (épaisseur de la courbe)", + (False, ())), + ), + (("*", "Key Selected Only"), + (("bpy.types.AnimallProperties.key_selected",), + ()), + ("fr_FR", "Sélection uniquement", + (False, ())), + ), + (("*", "Insert keyframes only on selected elements"), + (("bpy.types.AnimallProperties.key_selected",), + ()), + ("fr_FR", "Insérer des images clés seulement sur les éléments sélectionnés", + (False, ())), + ), + (("*", "Insert keyframes on active Shape Key layer"), + (("bpy.types.AnimallProperties.key_shape_key",), + ()), + ("fr_FR", "Insérer des clés sur le calque de clé de forme actif", + (False, ())), + ), + (("*", "Insert keyframes on point tilt"), + (("bpy.types.AnimallProperties.key_tilt",), + ()), + ("fr_FR", "Insérer des clés sur l’inclinaison des points", + (False, ())), + ), + (("*", "Insert keyframes on active UV coordinates"), + (("bpy.types.AnimallProperties.key_uvs",), + ()), + ("fr_FR", "Insérer des clés sur les coordonnées UV actives", + (False, ())), + ), + (("*", "Insert keyframes on vertex bevel weight"), + (("bpy.types.AnimallProperties.key_vertex_bevel",), + ()), + ("fr_FR", "Insérer des clés sur les poids de biseau des sommets", + (False, ())), + ), + (("*", "Insert keyframes on active vertex group values"), + (("bpy.types.AnimallProperties.key_vertex_group",), + ()), + ("fr_FR", "Insérer des clés sur les valeurs des groupes de sommets", + (False, ())), + ), + (("*", "AnimAll"), + (("scripts/addons/animation_animall.py:142",), + ()), + ("fr_FR", "", + (False, ())), + ), + (("*", "Key:"), + (("scripts/addons/animation_animall.py:150",), + ()), + ("fr_FR", "Insérer :", + (False, ())), + ), + (("*", "Tab Category:"), + (("scripts/addons/animation_animall.py:658",), + ()), + ("fr_FR", "Catégorie d’onglet", + (False, ())), + ), + # (("*", "Points"), + # (("scripts/addons/animation_animall.py:156", + # "scripts/addons/animation_animall.py:163", + # "scripts/addons/animation_animall.py:192"), + # ()), + # ("fr_FR", "", + # (False, ())), + # ), + (("*", "Others"), + (("scripts/addons/animation_animall.py:159", + "scripts/addons/animation_animall.py:175", + "scripts/addons/animation_animall.py:200"), + ()), + ("fr_FR", "Autres", + (False, ())), + ), + # (("*", "Bevel"), + # (("scripts/addons/animation_animall.py:165", + # "scripts/addons/animation_animall.py:169"), + # ()), + # ("fr_FR", "", + # (False, ())), + # ), + # (("*", "Edges"), + # (("scripts/addons/animation_animall.py:168",), + # ()), + # ("fr_FR", "", + # (False, ())), + # ), + # (("*", "Crease"), + # (("scripts/addons/animation_animall.py:170",), + # ()), + # ("fr_FR", "", + # (False, ())), + # ), + # (("*", "Faces"), + # (("scripts/addons/animation_animall.py:172",), + # ()), + # ("fr_FR", "", + # (False, ())), + # ), + (("*", "\"Location\" and \"Shape Key\" are redundant?"), + (("scripts/addons/animation_animall.py:222",), + ()), + ("fr_FR", "\"Position\" et \"Clé de forme\" sont redondants ?", + (False, ())), + ), + (("*", "Splines"), + (("scripts/addons/animation_animall.py:197",), + ()), + ("fr_FR", "", + (False, ())), + ), + (("*", "Maybe set \"%s\" to 1.0?"), + (("scripts/addons/animation_animall.py:213",), + ()), + ("fr_FR", "Essayez de mettre « %s » à 1.0 ?", + (False, ())), + ), + (("*", "Cannot key on Basis Shape"), + (("scripts/addons/animation_animall.py:216",), + ()), + ("fr_FR", "Impossible d’ajouter une clé sur la forme de base", + (False, ())), + ), + (("*", "No active Shape Key"), + (("scripts/addons/animation_animall.py:219",), + ()), + ("fr_FR", "Pas de clé de forme active", + (False, ())), + ), + (("*", "Clear Animation could not be performed"), + (("scripts/addons/animation_animall.py:586",), + ()), + ("fr_FR", "La suppression de l’animation n’a pas pu aboutir", + (False, ())), + ), + (("*", "Object includes old-style vertex colors. Consider updating them."), + (("scripts/addons/animation_animall.py:186",), + ()), + ("fr_FR", "L’objet contient des couleurs de sommets à l’ancien format. Veuillez les mettre à jour", + (False, ())), + ), +) + +translations_dict = {} +for msg in translations_tuple: + key = msg[0] + for lang, trans, (is_fuzzy, comments) in msg[2:]: + if trans and not is_fuzzy: + translations_dict.setdefault(lang, {})[key] = trans -- cgit v1.2.3 From 0b6aaad9be3862f98fe4acc376a084c95f531669 Mon Sep 17 00:00:00 2001 From: Damien Picard Date: Sat, 16 Jul 2022 20:39:30 +0200 Subject: AnimAll and Sun Position: update translations for regeneration ease Bring back the auto-generated block delimiters Also: sort unregister() in reverse order to register() --- animation_animall/translations.py | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'animation_animall/translations.py') diff --git a/animation_animall/translations.py b/animation_animall/translations.py index 9ced1807..f81dd7c2 100644 --- a/animation_animall/translations.py +++ b/animation_animall/translations.py @@ -1,11 +1,16 @@ # SPDX-License-Identifier: GPL-2.0-or-later +# ##### BEGIN AUTOGENERATED I18N SECTION ##### +# NOTE: You can safely move around this auto-generated block (with the begin/end markers!), +# and edit the translations by hand. +# Just carefully respect the format of the tuple! + # Tuple of tuples: # ((msgctxt, msgid), (sources, gen_comments), (lang, translation, (is_fuzzy, comments)), ...) translations_tuple = ( (("*", ""), ((), ()), - ("fr_FR", "Project-Id-Version: AnimAll 0.9.6 (0)\nReport-Msgid-Bugs-To: \nPOT-Creation-Date: 2022-06-24 00:41:10.347798\nPO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\nLast-Translator: FULL NAME \nLanguage-Team: LANGUAGE \nLanguage: __POT__\nMIME-Version: 1.0\nContent-Type: text/plain; charset=UTF-8\nContent-Transfer-Encoding: 8bit", + ("fr_FR", "Project-Id-Version: AnimAll 0.9.6 (0)\n", (False, ("Blender's translation file (po format).", "Copyright (C) 2022 The Blender Foundation.", @@ -248,3 +253,5 @@ for msg in translations_tuple: for lang, trans, (is_fuzzy, comments) in msg[2:]: if trans and not is_fuzzy: translations_dict.setdefault(lang, {})[key] = trans + +# ##### END AUTOGENERATED I18N SECTION ##### -- cgit v1.2.3 From ddc9d5d0a0c64c56e5da6a0f5e99e2ca20b46649 Mon Sep 17 00:00:00 2001 From: Damien Picard Date: Mon, 29 Aug 2022 00:20:47 +0200 Subject: AnimAll: fix translations --- animation_animall/translations.py | 205 +++++++++++++++++++++++++++++--------- 1 file changed, 156 insertions(+), 49 deletions(-) (limited to 'animation_animall/translations.py') diff --git a/animation_animall/translations.py b/animation_animall/translations.py index f81dd7c2..03b77e0b 100644 --- a/animation_animall/translations.py +++ b/animation_animall/translations.py @@ -29,6 +29,13 @@ translations_tuple = ( ("fr_FR", "Choisir un nom pour la catégorie du panneau", (False, ())), ), + (("Operator", "Insert Key"), + (("bpy.types.ANIM_OT_insert_keyframe_animall", + "bpy.types.ANIM_OT_insert_keyframe_animall"), + ()), + ("fr_FR", "Insérer une clé", + (False, ())), + ), (("Operator", "Clear Animation"), (("bpy.types.ANIM_OT_clear_animation_animall",), ()), @@ -145,106 +152,206 @@ translations_tuple = ( (False, ())), ), (("*", "AnimAll"), - (("scripts/addons/animation_animall.py:142",), + (("scripts/addons/animation_animall/__init__.py:138", + "Add-on AnimAll info: name"), ()), - ("fr_FR", "", + ("fr_FR", "AnimAll", (False, ())), ), (("*", "Key:"), - (("scripts/addons/animation_animall.py:150",), + (("scripts/addons/animation_animall/__init__.py:146",), ()), ("fr_FR", "Insérer :", (False, ())), ), (("*", "Tab Category:"), - (("scripts/addons/animation_animall.py:658",), + (("scripts/addons/animation_animall/__init__.py:653",), ()), - ("fr_FR", "Catégorie d’onglet", + ("fr_FR", "Catégorie d’onglet :", + (False, ())), + ), + (("*", "Points"), + (("scripts/addons/animation_animall/__init__.py:152", + "scripts/addons/animation_animall/__init__.py:159", + "scripts/addons/animation_animall/__init__.py:188"), + ()), + ("fr_FR", "Points", (False, ())), ), - # (("*", "Points"), - # (("scripts/addons/animation_animall.py:156", - # "scripts/addons/animation_animall.py:163", - # "scripts/addons/animation_animall.py:192"), - # ()), - # ("fr_FR", "", - # (False, ())), - # ), (("*", "Others"), - (("scripts/addons/animation_animall.py:159", - "scripts/addons/animation_animall.py:175", - "scripts/addons/animation_animall.py:200"), + (("scripts/addons/animation_animall/__init__.py:155", + "scripts/addons/animation_animall/__init__.py:171", + "scripts/addons/animation_animall/__init__.py:196"), ()), ("fr_FR", "Autres", (False, ())), ), - # (("*", "Bevel"), - # (("scripts/addons/animation_animall.py:165", - # "scripts/addons/animation_animall.py:169"), - # ()), - # ("fr_FR", "", - # (False, ())), - # ), - # (("*", "Edges"), - # (("scripts/addons/animation_animall.py:168",), - # ()), - # ("fr_FR", "", - # (False, ())), - # ), - # (("*", "Crease"), - # (("scripts/addons/animation_animall.py:170",), - # ()), - # ("fr_FR", "", - # (False, ())), - # ), - # (("*", "Faces"), - # (("scripts/addons/animation_animall.py:172",), - # ()), - # ("fr_FR", "", - # (False, ())), - # ), + (("*", "Bevel"), + (("scripts/addons/animation_animall/__init__.py:161", + "scripts/addons/animation_animall/__init__.py:165"), + ()), + ("fr_FR", "Biseau", + (False, ())), + ), + (("*", "Edges"), + (("scripts/addons/animation_animall/__init__.py:164",), + ()), + ("fr_FR", "Arêtes", + (False, ())), + ), + (("*", "Crease"), + (("scripts/addons/animation_animall/__init__.py:166",), + ()), + ("fr_FR", "Plis", + (False, ())), + ), + (("*", "Faces"), + (("scripts/addons/animation_animall/__init__.py:168",), + ()), + ("fr_FR", "Faces", + (False, ())), + ), (("*", "\"Location\" and \"Shape Key\" are redundant?"), - (("scripts/addons/animation_animall.py:222",), + (("scripts/addons/animation_animall/__init__.py:218",), ()), ("fr_FR", "\"Position\" et \"Clé de forme\" sont redondants ?", (False, ())), ), (("*", "Splines"), - (("scripts/addons/animation_animall.py:197",), + (("scripts/addons/animation_animall/__init__.py:193",), ()), - ("fr_FR", "", + ("fr_FR", "Splines", (False, ())), ), (("*", "Maybe set \"%s\" to 1.0?"), - (("scripts/addons/animation_animall.py:213",), + (("scripts/addons/animation_animall/__init__.py:209", + "scripts/addons/animation_animall/__init__.py:209"), ()), ("fr_FR", "Essayez de mettre « %s » à 1.0 ?", (False, ())), ), (("*", "Cannot key on Basis Shape"), - (("scripts/addons/animation_animall.py:216",), + (("scripts/addons/animation_animall/__init__.py:212",), ()), ("fr_FR", "Impossible d’ajouter une clé sur la forme de base", (False, ())), ), (("*", "No active Shape Key"), - (("scripts/addons/animation_animall.py:219",), + (("scripts/addons/animation_animall/__init__.py:215",), ()), ("fr_FR", "Pas de clé de forme active", (False, ())), ), (("*", "Clear Animation could not be performed"), - (("scripts/addons/animation_animall.py:586",), + (("scripts/addons/animation_animall/__init__.py:581",), ()), ("fr_FR", "La suppression de l’animation n’a pas pu aboutir", (False, ())), ), (("*", "Object includes old-style vertex colors. Consider updating them."), - (("scripts/addons/animation_animall.py:186",), + (("scripts/addons/animation_animall/__init__.py:182",), ()), ("fr_FR", "L’objet contient des couleurs de sommets à l’ancien format. Veuillez les mettre à jour", (False, ())), ), + (("*", "Vertex %s"), + (("scripts/addons/animation_animall/__init__.py:358", + "scripts/addons/animation_animall/__init__.py:313", + "scripts/addons/animation_animall/__init__.py:318", + "scripts/addons/animation_animall/__init__.py:328"), + ()), + ("fr_FR", "Sommet %s", + (False, ())), + ), + (("*", "Edge %s"), + (("scripts/addons/animation_animall/__init__.py:360", + "scripts/addons/animation_animall/__init__.py:333", + "scripts/addons/animation_animall/__init__.py:338"), + ()), + ("fr_FR", "Arête %s", + (False, ())), + ), + (("*", "Point %s"), + (("scripts/addons/animation_animall/__init__.py:265",), + ()), + ("fr_FR", "Point %s", + (False, ())), + ), + (("*", "Spline %s"), + (("scripts/addons/animation_animall/__init__.py:273",), + ()), + ("fr_FR", "Spline %s", + (False, ())), + ), + (("*", "Face %s"), + (("scripts/addons/animation_animall/__init__.py:343", + "scripts/addons/animation_animall/__init__.py:362"), + ()), + ("fr_FR", "Face %s", + (False, ())), + ), + (("*", "%s Point %s"), + (("scripts/addons/animation_animall/__init__.py:260",), + ()), + ("fr_FR", "%s Point %s", + (False, ())), + ), + (("*", "Loop %s"), + (("scripts/addons/animation_animall/__init__.py:364",), + ()), + ("fr_FR", "Boucle %s", + (False, ())), + ), + (("*", "UV layer %s"), + (("scripts/addons/animation_animall/__init__.py:379",), + ()), + ("fr_FR", "Calque UV %s", + (False, ())), + ), + (("*", "%s Vertex %s"), + (("scripts/addons/animation_animall/__init__.py:386",), + ()), + ("fr_FR", "%s Sommet %s", + (False, ())), + ), + (("*", "Spline %s CV %s"), + (("scripts/addons/animation_animall/__init__.py:283", + "scripts/addons/animation_animall/__init__.py:284", + "scripts/addons/animation_animall/__init__.py:285", + "scripts/addons/animation_animall/__init__.py:288", + "scripts/addons/animation_animall/__init__.py:291", + "scripts/addons/animation_animall/__init__.py:297", + "scripts/addons/animation_animall/__init__.py:300", + "scripts/addons/animation_animall/__init__.py:303"), + ()), + ("fr_FR", "Spline %s Point %s", + (False, ())), + ), + (("*", "%s Spline %s CV %s"), + (("scripts/addons/animation_animall/__init__.py:402", + "scripts/addons/animation_animall/__init__.py:403", + "scripts/addons/animation_animall/__init__.py:404", + "scripts/addons/animation_animall/__init__.py:405", + "scripts/addons/animation_animall/__init__.py:406", + "scripts/addons/animation_animall/__init__.py:414", + "scripts/addons/animation_animall/__init__.py:415", + "scripts/addons/animation_animall/__init__.py:416"), + ()), + ("fr_FR", "%s Spline %s Point %s", + (False, ())), + ), + (("*", "3D View > Toolbox > Animation tab > AnimAll"), + (("Add-on AnimAll info: location",), + ()), + ("fr_FR", "Vue 3D > Panneau N > Onglet Animer > AnimAll", + (False, ())), + ), + (("*", "Allows animation of mesh, lattice, curve and surface data"), + (("Add-on AnimAll info: description",), + ()), + ("fr_FR", "Permet d’animer les données de maillages, de lattices, de courbes et de surfaces", + (False, ())), + ), ) translations_dict = {} -- cgit v1.2.3