From 93796bf4a83b00d1643ccadd8dd603d30ec4446a Mon Sep 17 00:00:00 2001 From: chrik5 Date: Mon, 20 Feb 2017 17:57:53 +0100 Subject: [PATCH] [quicktag] fix German translation and remove print output --- contrib/de_DE/LC_MESSAGES/quicktag.po | 75 +++++++++++++-------------- contrib/quicktag.lua | 2 +- 2 files changed, 37 insertions(+), 40 deletions(-) diff --git a/contrib/de_DE/LC_MESSAGES/quicktag.po b/contrib/de_DE/LC_MESSAGES/quicktag.po index 92630f9..0562c05 100644 --- a/contrib/de_DE/LC_MESSAGES/quicktag.po +++ b/contrib/de_DE/LC_MESSAGES/quicktag.po @@ -6,82 +6,79 @@ msgid "" msgstr "" "Project-Id-Version: \n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-02-20 12:05+0100\n" -"PO-Revision-Date: 2017-02-20 12:09+0100\n" +"POT-Creation-Date: 2017-02-20 17:38+0100\n" +"PO-Revision-Date: 2017-02-20 17:50+0100\n" "Last-Translator: Christian Kanzian \n" -"Language-Team: German <>\n" -"Language: de_AT\n" +"Language-Team: German \n" +"Language: de\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" -"X-Generator: Lokalize 2.0\n" +"X-Generator: Lokalize 1.5\n" -#: quicktag.lua:67 -msgid "max length of button labels" +#: quicktag.lua:64 +msgid "max. length of button labels" msgstr "Max. Länge der Schaltflächen-Beschriftung" -#: quicktag.lua:68 +#: quicktag.lua:65 msgid "may range from 15 to 60 - needs a restart" msgstr "Bereich von 15 bis 60 möglich - Neustart erforderlich" -#: quicktag.lua:81 +#: quicktag.lua:78 msgid "number of quicktag fields" msgstr "Anzahl von quicktag Feldern" -#: quicktag.lua:82 +#: quicktag.lua:79 msgid "may range from 2 to 20 - needs a restart" msgstr "Bereich von 2 bis 20 möglich - Neustart erforderlich" -#: quicktag.lua:122 quicktag.lua:200 quicktag.lua:249 -msgid "quicktag" -msgstr "" +#: quicktag.lua:119 +#, lua-format +msgid "quicktag %i is empty, please set a tag" +msgstr "quicktag %i ist leer - bitte Tag eingeben" -#: quicktag.lua:122 -msgid "empty, please set a tag" -msgstr "Leer, bitte Tag eingeben" - -#: quicktag.lua:137 +#: quicktag.lua:134 msgid "no images selected" msgstr "keine Bilder ausgewählt" -#: quicktag.lua:147 -msgid "tag" -msgstr "Tag" +#: quicktag.lua:144 +#, lua-format +msgid "tag \"%s\" attached to %i image(s)" +msgstr "Tag \"%s\" an %i Bild(er) angehängt" -#: quicktag.lua:147 -msgid "attached to" -msgstr "angehängt an" - -#: quicktag.lua:147 -msgid "image(s)" -msgstr "Bilder(n)" - -#: quicktag.lua:168 +#: quicktag.lua:165 msgid "old quicktag" msgstr "Alter quicktag" -#: quicktag.lua:169 +#: quicktag.lua:166 msgid "select the quicktag to replace" msgstr "Wähle den quicktag der ersetzt werden soll" -#: quicktag.lua:185 quicktag.lua:209 +#: quicktag.lua:182 quicktag.lua:206 msgid "new quicktag" msgstr "Neuer quicktag" -#: quicktag.lua:188 +#: quicktag.lua:185 msgid "enter your tag here" -msgstr "bitte Tag hier eingeben" +msgstr "Bitte Tag hier eingeben" -#: quicktag.lua:192 +#: quicktag.lua:189 msgid "set quicktag" msgstr "Setze Tag" -#: quicktag.lua:196 +#: quicktag.lua:193 msgid "new quicktag is empty!" msgstr "Neuer Tag ist leer!" -#: quicktag.lua:200 -msgid "replaced by" -msgstr "ersetzt durch" +#: quicktag.lua:197 +#, lua-format +msgid "quicktag \"%s\" replaced by \"%s\"" +msgstr "quicktag \"%s\" ersetzt durch \"%s\" " + +#: quicktag.lua:246 +#, lua-format +msgid "quicktag %i" +msgstr "quicktag %i" + diff --git a/contrib/quicktag.lua b/contrib/quicktag.lua index c38f43c..5c86912 100644 --- a/contrib/quicktag.lua +++ b/contrib/quicktag.lua @@ -108,7 +108,7 @@ local function abbrevate_tags(t) else quicktag_label[i] = t[i] end - print(quicktag_label[i]) + -- print(quicktag_label[i]) end end