Skip to content

Commit 8091ba9

Browse files
authored
Merge pull request darktable-org#313 from chrisaga/master
copy_attach_detachtags.lua localization proposal
2 parents 021b32c + 359a1fa commit 8091ba9

File tree

2 files changed

+92
-11
lines changed

2 files changed

+92
-11
lines changed

contrib/copy_attach_detach_tags.lua

Lines changed: 14 additions & 11 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,25 @@ 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}
202-
201+
tooltip = _('paste tags to selected image(s)'),
202+
label = _('paste tags'),
203+
clicked_callback = attach_tags}
203204
}
204205

205206
local box2 = dt.new_widget("box"){
206207
orientation = "horizontal",
207208
dt.new_widget("button") {
208-
label = _('replace tags'),
209-
clicked_callback = replace_tags},
209+
label = _('replace tags'),
210+
tooltip = _('replace tags from selected image(s)'),
211+
clicked_callback = replace_tags},
210212
dt.new_widget("button") {
211-
label = _('remove all tags'),
212-
clicked_callback = detach_tags}
213+
label = _('remove all tags'),
214+
tooltip = _('remove tags from selected image(s)'),
215+
clicked_callback = detach_tags}
213216
}
214217

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

0 commit comments

Comments
 (0)