Skip to content

Commit 367631a

Browse files
committed
copy_attach_detachtags.lua localization
1 parent dfe589e commit 367631a

File tree

2 files changed

+86
-10
lines changed

2 files changed

+86
-10
lines changed

contrib/copy_attach_detach_tags.lua

Lines changed: 14 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ local function mcopy_tags()
112112
local function attach_tags()
113113

114114
if next(image_tags) == nil then
115-
dt.print(_('No tags to attached, please copy tags first.'))
115+
dt.print(_('No tag to attach, please copy tags first.'))
116116
return true
117117
end
118118

@@ -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") {
@@ -194,22 +194,26 @@ local taglabel = dt.new_widget("label") {
194194
local box1 = dt.new_widget("box"){
195195
orientation = "horizontal",
196196
dt.new_widget("button") {
197-
label = _('multi copy tags'),
198-
clicked_callback = mcopy_tags},
197+
label = _('multi copy tags'),
198+
tooltip = _('copy tags from selected image(s)'),
199+
clicked_callback = mcopy_tags},
199200
dt.new_widget("button") {
200-
label = _('paste tags'),
201-
clicked_callback = attach_tags}
201+
tooltip = _('paste tags to selected image(s)'),
202+
label = _('paste tags'),
203+
clicked_callback = attach_tags}
202204

203205
}
204206

205207
local box2 = dt.new_widget("box"){
206208
orientation = "horizontal",
207209
dt.new_widget("button") {
208-
label = _('replace tags'),
209-
clicked_callback = replace_tags},
210+
label = _('replace tags'),
211+
tooltip = _('replace tags from selected image(s)'),
212+
clicked_callback = replace_tags},
210213
dt.new_widget("button") {
211-
label = _('remove all tags'),
212-
clicked_callback = detach_tags}
214+
label = _('remove all tags'),
215+
tooltip = _('remove tags from selected image(s)'),
216+
clicked_callback = detach_tags}
213217
}
214218

215219
local sep = dt.new_widget("separator"){}
Lines changed: 72 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,72 @@
1+
msgid ""
2+
msgstr ""
3+
"Project-Id-Version: \n"
4+
"POT-Creation-Date: 2021-01-03 20:18+0100\n"
5+
"PO-Revision-Date: 2021-01-03 20:46+0100\n"
6+
"Last-Translator: Christophe Agathon <[email protected]>\n"
7+
"Language-Team: \n"
8+
"Language: fr_FR\n"
9+
"MIME-Version: 1.0\n"
10+
"Content-Type: text/plain; charset=UTF-8\n"
11+
"Content-Transfer-Encoding: 8bit\n"
12+
"X-Generator: Poedit 2.3\n"
13+
"X-Poedit-Basepath: ../../../contrib\n"
14+
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
15+
"X-Poedit-KeywordsList: _\n"
16+
"X-Poedit-SearchPath-0: copy_attach_detach_tags.lua\n"
17+
18+
#: copy_attach_detach_tags.lua:93
19+
msgid "Image tags copied ..."
20+
msgstr "Mots-clés de l'image copiés ..."
21+
22+
#: copy_attach_detach_tags.lua:115
23+
msgid "No tag to attach, please copy tags first."
24+
msgstr "Pas de mot-clé à attacher, veuillez d'abord copier les mots-clés."
25+
26+
#: copy_attach_detach_tags.lua:139
27+
msgid "Tags attached ..."
28+
msgstr "Mots-clés attachés ..."
29+
30+
#: copy_attach_detach_tags.lua:155
31+
msgid "Tags removed from image(s)."
32+
msgstr "Mots-clés supprimés des images."
33+
34+
#: copy_attach_detach_tags.lua:161
35+
msgid "Tags replaced"
36+
msgstr "Mots-clés remplacés"
37+
38+
#: copy_attach_detach_tags.lua:189
39+
msgid "tag clipboard"
40+
msgstr "presse-papier des mots-clés"
41+
42+
#: copy_attach_detach_tags.lua:197
43+
msgid "multi copy tags"
44+
msgstr "copier mots-clés"
45+
46+
#: copy_attach_detach_tags.lua:200
47+
msgid "paste tags"
48+
msgstr "coller mots-clés"
49+
50+
#: copy_attach_detach_tags.lua:208
51+
msgid "replace tags"
52+
msgstr "remplacer mots-clés"
53+
54+
#: copy_attach_detach_tags.lua:211
55+
msgid "remove all tags"
56+
msgstr "supprimer tous mots-clés"
57+
58+
#: copy_attach_detach_tags.lua:248
59+
msgid "copy tags from selected image(s)"
60+
msgstr "copier les mots-clés des images sélectionnnées"
61+
62+
#: copy_attach_detach_tags.lua:253
63+
msgid "paste tags to selected image(s)"
64+
msgstr "coller les mots clés dans les images sélectionnées"
65+
66+
#: copy_attach_detach_tags.lua:258
67+
msgid "remove tags from selected image(s)"
68+
msgstr "supprimer les mots-clés des images sélectionnées"
69+
70+
#: copy_attach_detach_tags.lua:263
71+
msgid "replace tags from selected image(s)"
72+
msgstr "remplacer les mots-clés des images sélectionnées"

0 commit comments

Comments
 (0)