From 836626260ab0b9bde6d10a3d50b6ba9d581e2d4e Mon Sep 17 00:00:00 2001 From: Van Waholtz Date: Sat, 9 May 2020 10:04:25 +0800 Subject: luci-app-hd-idle: convert to client side rendering Signed-off-by: Van Waholtz --- .../luci-app-hd-idle/po/templates/hd_idle.pot | 34 ++++++++++++++++------ 1 file changed, 25 insertions(+), 9 deletions(-) (limited to 'applications/luci-app-hd-idle/po/templates/hd_idle.pot') diff --git a/applications/luci-app-hd-idle/po/templates/hd_idle.pot b/applications/luci-app-hd-idle/po/templates/hd_idle.pot index 7cdae0856c..ac511d9e32 100644 --- a/applications/luci-app-hd-idle/po/templates/hd_idle.pot +++ b/applications/luci-app-hd-idle/po/templates/hd_idle.pot @@ -1,11 +1,15 @@ msgid "" msgstr "Content-Type: text/plain; charset=UTF-8" -#: applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua:15 +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:22 +msgid "Add new hdd setting..." +msgstr "" + +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:27 msgid "Disk" msgstr "" -#: applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua:13 +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:24 msgid "Enable" msgstr "" @@ -13,33 +17,45 @@ msgstr "" msgid "Grant UCI access for luci-app-hd-idle" msgstr "" -#: applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua:6 +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:17 #: applications/luci-app-hd-idle/root/usr/share/luci/menu.d/luci-app-hd-idle.json:3 msgid "HDD Idle" msgstr "" -#: applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua:7 +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:17 msgid "" "HDD Idle is a utility program for spinning-down external disks after a " "period of idle time." msgstr "" -#: applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua:21 +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:32 msgid "Idle time" msgstr "" -#: applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua:23 +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:35 msgid "Idle time unit" msgstr "" -#: applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua:10 +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:19 msgid "Settings" msgstr "" -#: applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua:26 +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:39 +msgctxt "Abbreviation for days" +msgid "d" +msgstr "" + +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:38 +msgctxt "Abbreviation for hours" msgid "h" msgstr "" -#: applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua:25 +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:37 +msgctxt "Abbreviation for minutes" msgid "min" msgstr "" + +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:36 +msgctxt "Abbreviation for seconds" +msgid "s" +msgstr "" -- cgit v1.2.3