From cf4c08014b46c803787db96d61eaba14b9b4fa15 Mon Sep 17 00:00:00 2001 From: cracyc Date: Sun, 3 Sep 2017 22:04:33 -0500 Subject: plugins: gettextify localizable strings (nw) --- plugins/timer/init.lua | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'plugins/timer/init.lua') diff --git a/plugins/timer/init.lua b/plugins/timer/init.lua index b5b6d355a03..56ccd6b39ed 100644 --- a/plugins/timer/init.lua +++ b/plugins/timer/init.lua @@ -91,11 +91,11 @@ function timer.startplugin() local function menu_populate() local time = os.time() - start_time - return {{ "Current time", "", "off" }, + return {{ _("Current time"), "", "off" }, { sectohms(time), "", "off" }, - { "Total time", "", "off" }, + { _("Total time"), "", "off" }, { sectohms(total_time + time), "", "off" }, - { "Play Count", "", "off" }, + { _("Play Count"), "", "off" }, { play_count, "", "off" }} end @@ -103,7 +103,7 @@ function timer.startplugin() return true end - emu.register_menu(menu_callback, menu_populate, "Timer") + emu.register_menu(menu_callback, menu_populate, _("Timer")) end return exports -- cgit v1.2.3-70-g09d2