add_lens_info l10n

This commit is contained in:
Florian Tham
2025-05-06 15:32:23 +02:00
parent 9e5a63c8ca
commit d44355aeb8
3 changed files with 78 additions and 2 deletions

View File

@@ -73,10 +73,20 @@ du.check_min_api_version("7.0.0", MODULE) -- choose the minimum version that c
-- I 1 8 N
-- - - - - - - - - - - - - - - - - - - - - - - - - -
local gettext = dt.gettext.gettext
local os_path_seperator = "/"
local scriptfile = debug.getinfo( 1, "S" )
local localedir = dt.configuration.config_dir..'/lua/locale/'
if scriptfile ~= nil and scriptfile.source ~= nil then
local path = scriptfile.source:match( "[^@].*[/\\]" )
localedir = path..os_path_seperator..'locale'
end
dt.print_log( "localedir: "..localedir )
local gettext = dt.gettext
gettext.bindtextdomain(MODULE, localedir)
local function _(msgid)
return gettext(msgid)
return gettext.dgettext(MODULE, msgid)
end

Binary file not shown.

View File

@@ -0,0 +1,66 @@
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the PACKAGE package.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2025-05-06 15:01+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"Language: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
#: add_lens_info.lua:105
msgid "add lens info"
msgstr "manuelle Objektive"
#: add_lens_info.lua:106
msgid "add user specifed lens information to exif_lens field"
msgstr "fügt dem exif_lens Feld ein vom Benutzer vorgegebenes Objektiv hinzu"
#: add_lens_info.lua:220 add_lens_info.lua:294
msgid "add new lens name"
msgstr "Objektiv hinzufügen"
#: add_lens_info.lua:221 add_lens_info.lua:295
msgid "select lens name"
msgstr "Objektiv auswählen"
#: add_lens_info.lua:231
msgid "lens name/identification"
msgstr "Name und ID des Objektivs"
#: add_lens_info.lua:236 add_lens_info.lua:256
msgid "add new lens"
msgstr "Objektiv hinzufügen"
#: add_lens_info.lua:237
msgid "add new lens string to choices"
msgstr "Objektiv den Vorgaben hinzufügen"
#: add_lens_info.lua:262
msgid "select lens name to apply to images"
msgstr "Objektiv auswählen"
#: add_lens_info.lua:270 add_lens_info.lua:312 add_lens_info.lua:367
msgid "apply lens name"
msgstr "Objektiv verwenden"
#: add_lens_info.lua:271
msgid "apply lens name to selected images"
msgstr "Objektiv auf ausgewählte Bilder anwenden"
#: add_lens_info.lua:280
msgid "select lens name to apply"
msgstr "Objektiv wählen"
#: add_lens_info.lua:312
msgid "apply lens name from apply lens info module to selected images"
msgstr "wendet das in 'manuelle Objektive' gewählte Objektiv auf die Auswahl an"