Added translation to module name
This commit is contained in:
@@ -75,7 +75,7 @@ local function install_module()
|
|||||||
-- https://www.darktable.org/lua-api/index.html#darktable_register_lib
|
-- https://www.darktable.org/lua-api/index.html#darktable_register_lib
|
||||||
dt.register_lib(
|
dt.register_lib(
|
||||||
"exampleModule", -- Module name
|
"exampleModule", -- Module name
|
||||||
"exampleModule", -- name
|
_("example module"), -- name
|
||||||
true, -- expandable
|
true, -- expandable
|
||||||
false, -- resetable
|
false, -- resetable
|
||||||
{[dt.gui.views.lighttable] = {"DT_UI_CONTAINER_PANEL_RIGHT_CENTER", 100}}, -- containers
|
{[dt.gui.views.lighttable] = {"DT_UI_CONTAINER_PANEL_RIGHT_CENTER", 100}}, -- containers
|
||||||
|
|||||||
@@ -63,7 +63,7 @@ local main_label = dt.new_widget("label"){selectable = true, ellipsize = "middle
|
|||||||
|
|
||||||
local function install_module()
|
local function install_module()
|
||||||
if not ipiu.module_installed then
|
if not ipiu.module_installed then
|
||||||
dt.register_lib("image_path_no_ui","selected images path",true,false,{
|
dt.register_lib("image_path_no_ui",_("selected images path"),true,false,{
|
||||||
[dt.gui.views.lighttable] = {"DT_UI_CONTAINER_PANEL_LEFT_CENTER",300}
|
[dt.gui.views.lighttable] = {"DT_UI_CONTAINER_PANEL_LEFT_CENTER",300}
|
||||||
}, main_label
|
}, main_label
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user