Skip to content

Commit 21ec288

Browse files
committed
Added translation to module name
1 parent a0af018 commit 21ec288

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

examples/moduleExample.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ local function install_module()
7575
-- https://www.darktable.org/lua-api/index.html#darktable_register_lib
7676
dt.register_lib(
7777
"exampleModule", -- Module name
78-
"exampleModule", -- name
78+
_("example module"), -- name
7979
true, -- expandable
8080
false, -- resetable
8181
{[dt.gui.views.lighttable] = {"DT_UI_CONTAINER_PANEL_RIGHT_CENTER", 100}}, -- containers

official/image_path_in_ui.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ local main_label = dt.new_widget("label"){selectable = true, ellipsize = "middle
6363

6464
local function install_module()
6565
if not ipiu.module_installed then
66-
dt.register_lib("image_path_no_ui","selected images path",true,false,{
66+
dt.register_lib("image_path_no_ui",_("selected images path"),true,false,{
6767
[dt.gui.views.lighttable] = {"DT_UI_CONTAINER_PANEL_LEFT_CENTER",300}
6868
}, main_label
6969
)

0 commit comments

Comments
 (0)