diff --git a/contrib/copy_attach_detach_tags.lua b/contrib/copy_attach_detach_tags.lua index 43b40e2..d4ab57d 100644 --- a/contrib/copy_attach_detach_tags.lua +++ b/contrib/copy_attach_detach_tags.lua @@ -112,7 +112,7 @@ local function mcopy_tags() local function attach_tags() if next(image_tags) == nil then - dt.print(_('No tags to attached, please copy tags first.')) + dt.print(_('No tag to attach, please copy tags first.')) return true end @@ -163,7 +163,7 @@ end local function install_module() if not cadt.module_installed then - dt.register_lib("tagging_addon","Tagging addon",true,true,{ + dt.register_lib("tagging_addon",_('tagging addon'),true,true,{ [dt.gui.views.lighttable] = {"DT_UI_CONTAINER_PANEL_RIGHT_CENTER",500} }, dt.new_widget("box") { @@ -194,22 +194,25 @@ local taglabel = dt.new_widget("label") { local box1 = dt.new_widget("box"){ orientation = "horizontal", dt.new_widget("button") { - label = _('multi copy tags'), - clicked_callback = mcopy_tags}, + label = _('multi copy tags'), + tooltip = _('copy tags from selected image(s)'), + clicked_callback = mcopy_tags}, dt.new_widget("button") { - label = _('paste tags'), - clicked_callback = attach_tags} - + tooltip = _('paste tags to selected image(s)'), + label = _('paste tags'), + clicked_callback = attach_tags} } local box2 = dt.new_widget("box"){ orientation = "horizontal", dt.new_widget("button") { - label = _('replace tags'), - clicked_callback = replace_tags}, + label = _('replace tags'), + tooltip = _('replace tags from selected image(s)'), + clicked_callback = replace_tags}, dt.new_widget("button") { - label = _('remove all tags'), - clicked_callback = detach_tags} + label = _('remove all tags'), + tooltip = _('remove tags from selected image(s)'), + clicked_callback = detach_tags} } local sep = dt.new_widget("separator"){} diff --git a/locale/fr_FR/LC_MESSAGES/copy_attach_detach_tags.po b/locale/fr_FR/LC_MESSAGES/copy_attach_detach_tags.po new file mode 100644 index 0000000..f7ee47e --- /dev/null +++ b/locale/fr_FR/LC_MESSAGES/copy_attach_detach_tags.po @@ -0,0 +1,78 @@ +# French messages for copy_attach_detach_tags.lua +# Christophe Agathon , 2021 +msgid "" +msgstr "" +"Project-Id-Version: \n" +"POT-Creation-Date: 2021-01-10 19:39+0100\n" +"PO-Revision-Date: 2021-01-10 19:43+0100\n" +"Last-Translator: Christophe Agathon \n" +"Language-Team: \n" +"Language: fr_FR\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: Poedit 2.3\n" +"X-Poedit-Basepath: ../../../contrib\n" +"Plural-Forms: nplurals=2; plural=(n > 1);\n" +"X-Poedit-KeywordsList: _\n" +"X-Poedit-SearchPath-0: copy_attach_detach_tags.lua\n" + +#: copy_attach_detach_tags.lua:93 +msgid "Image tags copied ..." +msgstr "Mots-clés de l'image copiés ..." + +#: copy_attach_detach_tags.lua:115 +msgid "No tag to attach, please copy tags first." +msgstr "Pas de mot-clé à attacher, veuillez d'abord copier les mots-clés." + +#: copy_attach_detach_tags.lua:139 +msgid "Tags attached ..." +msgstr "Mots-clés attachés ..." + +#: copy_attach_detach_tags.lua:155 +msgid "Tags removed from image(s)." +msgstr "Mots-clés supprimés des images." + +#: copy_attach_detach_tags.lua:161 +msgid "Tags replaced" +msgstr "Mots-clés remplacés" + +#: copy_attach_detach_tags.lua:166 +msgid "tagging addon" +msgstr "mots-clés extra" + +#: copy_attach_detach_tags.lua:189 +msgid "tag clipboard" +msgstr "presse-papier des mots-clés" + +#: copy_attach_detach_tags.lua:197 +msgid "multi copy tags" +msgstr "copier mots-clés" + +#: copy_attach_detach_tags.lua:198 copy_attach_detach_tags.lua:252 +msgid "copy tags from selected image(s)" +msgstr "copier les mots-clés des images sélectionnnées" + +#: copy_attach_detach_tags.lua:201 copy_attach_detach_tags.lua:257 +msgid "paste tags to selected image(s)" +msgstr "coller les mots clés dans les images sélectionnées" + +#: copy_attach_detach_tags.lua:202 +msgid "paste tags" +msgstr "coller mots-clés" + +#: copy_attach_detach_tags.lua:210 +msgid "replace tags" +msgstr "remplacer mots-clés" + +#: copy_attach_detach_tags.lua:211 copy_attach_detach_tags.lua:267 +msgid "replace tags from selected image(s)" +msgstr "remplacer les mots-clés des images sélectionnées" + +#: copy_attach_detach_tags.lua:214 +msgid "remove all tags" +msgstr "supprimer tous mots-clés" + +#: copy_attach_detach_tags.lua:215 copy_attach_detach_tags.lua:262 +msgid "remove tags from selected image(s)" +msgstr "supprimer les mots-clés des images sélectionnées"