Skip to content

Commit 359a1fa

Browse files
committed
As discussed, localize module name in GUI
1 parent a718890 commit 359a1fa

File tree

2 files changed

+23
-20
lines changed

2 files changed

+23
-20
lines changed

contrib/copy_attach_detach_tags.lua

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ end
163163

164164
local function install_module()
165165
if not cadt.module_installed then
166-
dt.register_lib("tagging_addon","tagging addon",true,true,{
166+
dt.register_lib("tagging_addon",_('tagging addon'),true,true,{
167167
[dt.gui.views.lighttable] = {"DT_UI_CONTAINER_PANEL_RIGHT_CENTER",500}
168168
},
169169
dt.new_widget("box") {
@@ -201,7 +201,6 @@ local box1 = dt.new_widget("box"){
201201
tooltip = _('paste tags to selected image(s)'),
202202
label = _('paste tags'),
203203
clicked_callback = attach_tags}
204-
205204
}
206205

207206
local box2 = dt.new_widget("box"){

locale/fr_FR/LC_MESSAGES/copy_attach_detach_tags.po

Lines changed: 22 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
msgid ""
44
msgstr ""
55
"Project-Id-Version: \n"
6-
"POT-Creation-Date: 2021-01-03 20:18+0100\n"
7-
"PO-Revision-Date: 2021-01-03 20:46+0100\n"
6+
"POT-Creation-Date: 2021-01-10 19:39+0100\n"
7+
"PO-Revision-Date: 2021-01-10 19:43+0100\n"
88
"Last-Translator: Christophe Agathon <[email protected]>\n"
99
"Language-Team: \n"
1010
"Language: fr_FR\n"
@@ -37,6 +37,10 @@ msgstr "Mots-clés supprimés des images."
3737
msgid "Tags replaced"
3838
msgstr "Mots-clés remplacés"
3939

40+
#: copy_attach_detach_tags.lua:166
41+
msgid "tagging addon"
42+
msgstr "mots-clés extra"
43+
4044
#: copy_attach_detach_tags.lua:189
4145
msgid "tag clipboard"
4246
msgstr "presse-papier des mots-clés"
@@ -45,30 +49,30 @@ msgstr "presse-papier des mots-clés"
4549
msgid "multi copy tags"
4650
msgstr "copier mots-clés"
4751

48-
#: copy_attach_detach_tags.lua:200
52+
#: copy_attach_detach_tags.lua:198 copy_attach_detach_tags.lua:252
53+
msgid "copy tags from selected image(s)"
54+
msgstr "copier les mots-clés des images sélectionnnées"
55+
56+
#: copy_attach_detach_tags.lua:201 copy_attach_detach_tags.lua:257
57+
msgid "paste tags to selected image(s)"
58+
msgstr "coller les mots clés dans les images sélectionnées"
59+
60+
#: copy_attach_detach_tags.lua:202
4961
msgid "paste tags"
5062
msgstr "coller mots-clés"
5163

52-
#: copy_attach_detach_tags.lua:208
64+
#: copy_attach_detach_tags.lua:210
5365
msgid "replace tags"
5466
msgstr "remplacer mots-clés"
5567

56-
#: copy_attach_detach_tags.lua:211
68+
#: copy_attach_detach_tags.lua:211 copy_attach_detach_tags.lua:267
69+
msgid "replace tags from selected image(s)"
70+
msgstr "remplacer les mots-clés des images sélectionnées"
71+
72+
#: copy_attach_detach_tags.lua:214
5773
msgid "remove all tags"
5874
msgstr "supprimer tous mots-clés"
5975

60-
#: copy_attach_detach_tags.lua:248
61-
msgid "copy tags from selected image(s)"
62-
msgstr "copier les mots-clés des images sélectionnnées"
63-
64-
#: copy_attach_detach_tags.lua:253
65-
msgid "paste tags to selected image(s)"
66-
msgstr "coller les mots clés dans les images sélectionnées"
67-
68-
#: copy_attach_detach_tags.lua:258
76+
#: copy_attach_detach_tags.lua:215 copy_attach_detach_tags.lua:262
6977
msgid "remove tags from selected image(s)"
7078
msgstr "supprimer les mots-clés des images sélectionnées"
71-
72-
#: copy_attach_detach_tags.lua:263
73-
msgid "replace tags from selected image(s)"
74-
msgstr "remplacer les mots-clés des images sélectionnées"

0 commit comments

Comments
 (0)