diff options
Diffstat (limited to 'applications/luci-app-commands')
44 files changed, 1932 insertions, 1814 deletions
diff --git a/applications/luci-app-commands/Makefile b/applications/luci-app-commands/Makefile index 8cd3cf51e8..e581a003b8 100644 --- a/applications/luci-app-commands/Makefile +++ b/applications/luci-app-commands/Makefile @@ -7,7 +7,6 @@ include $(TOPDIR)/rules.mk LUCI_TITLE:=LuCI Shell Command Module -LUCI_DEPENDS:=+luci-compat PKG_LICENSE:=Apache-2.0 diff --git a/applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js b/applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js new file mode 100644 index 0000000000..6d369733c6 --- /dev/null +++ b/applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js @@ -0,0 +1,34 @@ +'use strict'; + +'require view'; +'require form'; + +return view.extend({ + render: function(data) { + var m, s, o; + + m = new form.Map('luci', _('Custom Commands'), + _('This page allows you to configure custom shell commands which can be easily invoked from the web interface.')); + + s = m.section(form.GridSection, 'command'); + s.nodescriptions = true; + s.anonymous = true; + s.addremove = true; + + o = s.option(form.Value, 'name', _('Description'), + _('A short textual description of the configured command')); + + o = s.option(form.Value, 'command', _('Command'), _('Command line to execute')); + o.textvalue = function(section_id) { + return E('code', [ this.cfgvalue(section_id) ]); + }; + + o = s.option(form.Flag, 'param', _('Custom arguments'), + _('Allow the user to provide additional command line arguments')); + + o = s.option(form.Flag, 'public', _('Public access'), + _('Allow executing the command and downloading its output without prior authentication')); + + return m.render(); + } +}); diff --git a/applications/luci-app-commands/luasrc/controller/commands.lua b/applications/luci-app-commands/luasrc/controller/commands.lua deleted file mode 100644 index f6227c6e4e..0000000000 --- a/applications/luci-app-commands/luasrc/controller/commands.lua +++ /dev/null @@ -1,268 +0,0 @@ --- Copyright 2012 Jo-Philipp Wich <jow@openwrt.org> --- Licensed to the public under the Apache License 2.0. - -module("luci.controller.commands", package.seeall) - -function index() - entry({"admin", "system", "commands"}, firstchild(), _("Custom Commands"), 80).acl_depends = { "luci-app-commands" } - entry({"admin", "system", "commands", "dashboard"}, template("commands"), _("Dashboard"), 1) - entry({"admin", "system", "commands", "config"}, cbi("commands"), _("Configure"), 2) - entry({"admin", "system", "commands", "run"}, call("action_run"), nil, 3).leaf = true - entry({"admin", "system", "commands", "download"}, call("action_download"), nil, 3).leaf = true - - entry({"command"}, call("action_public"), nil, 1).leaf = true -end - ---- Decode a given string into arguments following shell quoting rules ---- [[abc \def "foo\"bar" abc'def']] -> [[abc def]] [[foo"bar]] [[abcdef]] -local function parse_args(str) - local args = { } - - local function isspace(c) - if c == 9 or c == 10 or c == 11 or c == 12 or c == 13 or c == 32 then - return c - end - end - - local function isquote(c) - if c == 34 or c == 39 or c == 96 then - return c - end - end - - local function isescape(c) - if c == 92 then - return c - end - end - - local function ismeta(c) - if c == 36 or c == 92 or c == 96 then - return c - end - end - - --- Convert given table of byte values into a Lua string and append it to - --- the "args" table. Segment byte value sequence into chunks of 256 values - --- to not trip over the parameter limit for string.char() - local function putstr(bytes) - local chunks = { } - local csz = 256 - local upk = unpack - local chr = string.char - local min = math.min - local len = #bytes - local off - - for off = 1, len, csz do - chunks[#chunks+1] = chr(upk(bytes, off, min(off + csz - 1, len))) - end - - args[#args+1] = table.concat(chunks) - end - - --- Scan substring defined by the indexes [s, e] of the string "str", - --- perform unquoting and de-escaping on the fly and store the result in - --- a table of byte values which is passed to putstr() - local function unquote(s, e) - local off, esc, quote - local res = { } - - for off = s, e do - local byte = str:byte(off) - local q = isquote(byte) - local e = isescape(byte) - local m = ismeta(byte) - - if e then - esc = true - elseif esc then - if m then res[#res+1] = 92 end - res[#res+1] = byte - esc = false - elseif q and quote and q == quote then - quote = nil - elseif q and not quote then - quote = q - else - if m then res[#res+1] = 92 end - res[#res+1] = byte - end - end - - putstr(res) - end - - --- Find substring boundaries in "str". Ignore escaped or quoted - --- whitespace, pass found start- and end-index for each substring - --- to unquote() - local off, esc, start, quote - for off = 1, #str + 1 do - local byte = str:byte(off) - local q = isquote(byte) - local s = isspace(byte) or (off > #str) - local e = isescape(byte) - - if esc then - esc = false - elseif e then - esc = true - elseif q and quote and q == quote then - quote = nil - elseif q and not quote then - start = start or off - quote = q - elseif s and not quote then - if start then - unquote(start, off - 1) - start = nil - end - else - start = start or off - end - end - - --- If the "quote" is still set we encountered an unfinished string - if quote then - unquote(start, #str) - end - - return args -end - -local function parse_cmdline(cmdid, args) - local uci = require "luci.model.uci".cursor() - if uci:get("luci", cmdid) == "command" then - local cmd = uci:get_all("luci", cmdid) - local argv = parse_args(cmd.command) - local i, v - - if cmd.param == "1" and args then - for i, v in ipairs(parse_args(luci.http.urldecode(args))) do - argv[#argv+1] = v - end - end - - for i, v in ipairs(argv) do - if v:match("[^%w%.%-i/|]") then - argv[i] = '"%s"' % v:gsub('"', '\\"') - end - end - - return argv - end -end - -function execute_command(callback, ...) - local fs = require "nixio.fs" - local argv = parse_cmdline(...) - if argv then - local outfile = os.tmpname() - local errfile = os.tmpname() - - local rv = os.execute(table.concat(argv, " ") .. " >%s 2>%s" %{ outfile, errfile }) - local stdout = fs.readfile(outfile, 1024 * 512) or "" - local stderr = fs.readfile(errfile, 1024 * 512) or "" - - fs.unlink(outfile) - fs.unlink(errfile) - - local binary = not not (stdout:match("[%z\1-\8\14-\31]")) - - callback({ - ok = true, - command = table.concat(argv, " "), - stdout = not binary and stdout, - stderr = stderr, - exitcode = rv, - binary = binary - }) - else - callback({ - ok = false, - code = 404, - reason = "No such command" - }) - end -end - -function return_json(result) - if result.ok then - luci.http.prepare_content("application/json") - luci.http.write_json(result) - else - luci.http.status(result.code, result.reason) - end -end - -function action_run(...) - execute_command(return_json, ...) -end - -function return_html(result) - if result.ok then - require("luci.template") - luci.template.render("commands_public", { - exitcode = result.exitcode, - stdout = result.stdout, - stderr = result.stderr - }) - else - luci.http.status(result.code, result.reason) - end - -end - -function action_download(...) - local fs = require "nixio.fs" - local argv = parse_cmdline(...) - if argv then - local fd = io.popen(table.concat(argv, " ") .. " 2>/dev/null") - if fd then - local chunk = fd:read(4096) or "" - local name - if chunk:match("[%z\1-\8\14-\31]") then - luci.http.header("Content-Disposition", "attachment; filename=%s" - % fs.basename(argv[1]):gsub("%W+", ".") .. ".bin") - luci.http.prepare_content("application/octet-stream") - else - luci.http.header("Content-Disposition", "attachment; filename=%s" - % fs.basename(argv[1]):gsub("%W+", ".") .. ".txt") - luci.http.prepare_content("text/plain") - end - - while chunk do - luci.http.write(chunk) - chunk = fd:read(4096) - end - - fd:close() - else - luci.http.status(500, "Failed to execute command") - end - else - luci.http.status(404, "No such command") - end -end - - -function action_public(cmdid, args) - local disp = false - if string.sub(cmdid, -1) == "s" then - disp = true - cmdid = string.sub(cmdid, 1, -2) - end - local uci = require "luci.model.uci".cursor() - if cmdid and - uci:get("luci", cmdid) == "command" and - uci:get("luci", cmdid, "public") == "1" - then - if disp then - execute_command(return_html, cmdid, args) - else - action_download(cmdid, args) - end - else - luci.http.status(403, "Access to command denied") - end - end diff --git a/applications/luci-app-commands/luasrc/model/cbi/commands.lua b/applications/luci-app-commands/luasrc/model/cbi/commands.lua deleted file mode 100644 index 7794f15379..0000000000 --- a/applications/luci-app-commands/luasrc/model/cbi/commands.lua +++ /dev/null @@ -1,27 +0,0 @@ --- Copyright 2012 Jo-Philipp Wich <jow@openwrt.org> --- Licensed to the public under the Apache License 2.0. - -local m, s - -m = Map("luci", translate("Custom Commands"), - translate("This page allows you to configure custom shell commands which can be easily invoked from the web interface.")) - -s = m:section(TypedSection, "command", "") -s.template = "cbi/tblsection" -s.anonymous = true -s.addremove = true - - -s:option(Value, "name", translate("Description"), - translate("A short textual description of the configured command")) - -s:option(Value, "command", translate("Command"), - translate("Command line to execute")) - -s:option(Flag, "param", translate("Custom arguments"), - translate("Allow the user to provide additional command line arguments")) - -s:option(Flag, "public", translate("Public access"), - translate("Allow executing the command and downloading its output without prior authentication")) - -return m diff --git a/applications/luci-app-commands/luasrc/view/commands.htm b/applications/luci-app-commands/luasrc/view/commands.htm deleted file mode 100644 index 634090e7d7..0000000000 --- a/applications/luci-app-commands/luasrc/view/commands.htm +++ /dev/null @@ -1,187 +0,0 @@ -<%# - Copyright 2012 Jo-Philipp Wich <jow@openwrt.org> - Licensed to the public under the Apache License 2.0. --%> - -<% css = [[ - -.commandbox { - height: 12em; - width: 30%; - float: left; - height: 12em; - margin: 5px; - position: relative; -} - -.commandbox h3 { - font-size: 1.5em !important; - line-height: 2em !important; - margin: 0 !important; -} - -.commandbox input[type="text"] { - width: 50% !important; -} - -.commandbox div { - position: absolute; - left: 0; - bottom: 1.5em; -} - -]] -%> - -<%+header%> - -<script type="text/javascript">//<![CDATA[ - var stxhr = new XHR(); - - function command_run(ev, id) - { - var args; - var field = document.getElementById(id); - if (field) - args = encodeURIComponent(field.value); - - var legend = document.getElementById('command-rc-legend'); - var output = document.getElementById('command-rc-output'); - - if (legend && output) - { - output.innerHTML = - '<img src="<%=resource%>/icons/loading.gif" alt="<%:Loading%>" style="vertical-align:middle" /> ' + - '<%:Waiting for command to complete...%>' - ; - - legend.parentNode.style.display = 'block'; - legend.style.display = 'inline'; - - stxhr.get('<%=url('admin/system/commands/run')%>/' + id + (args ? '/' + args : ''), null, - function(x, st) - { - if (st) - { - if (st.binary) - st.stdout = '[<%:Binary data not displayed, download instead.%>]'; - - legend.style.display = 'none'; - output.innerHTML = String.format( - '<pre><strong># %h\n</strong>%h<span style="color:red">%h</span></pre>' + - '<div class="alert-message warning">%s (<%:Code:%> %d)</div>', - st.command, st.stdout, st.stderr, - (st.exitcode == 0) ? '<%:Command successful%>' : '<%:Command failed%>', - st.exitcode); - } - else - { - legend.style.display = 'none'; - output.innerHTML = '<span class="error"><%:Failed to execute command!%></span>'; - } - - location.hash = '#output'; - } - ); - } - - ev.preventDefault(); - } - - function command_download(ev, id) - { - var args; - var field = document.getElementById(id); - if (field) - args = encodeURIComponent(field.value); - - location.href = '<%=url('admin/system/commands/download')%>/' + id + (args ? '/' + args : ''); - - ev.preventDefault(); - } - - function command_link(ev, id) - { - var legend = document.getElementById('command-rc-legend'); - var output = document.getElementById('command-rc-output'); - - var args; - var field = document.getElementById(id); - if (field) - args = encodeURIComponent(field.value); - - if (legend && output) - { - var prefix = location.protocol + '//' + location.host + '<%=url('command')%>/'; - var suffix = (args ? '/' + args : ''); - - var link = prefix + id + suffix; - var link_nodownload = prefix + id + "s" + suffix; - - legend.style.display = 'none'; - output.parentNode.style.display = 'block'; - output.innerHTML = String.format( - '<div class="alert-message"><p><%:Download execution result%> <a href="%s">%s</a></p><p><%:Or display result%> <a href="%s">%s</a></p></div>', - link, link, link_nodownload, link_nodownload - ); - - location.hash = '#output'; - } - - ev.preventDefault(); - } - -//]]></script> - -<% - local uci = require "luci.model.uci".cursor() - local commands = { } - - uci:foreach("luci", "command", function(s) commands[#commands+1] = s end) -%> - -<form method="get" action="<%=pcdata(FULL_REQUEST_URI)%>"> - <div class="cbi-map"> - <h2 name="content"><%:Custom Commands%></h2> - <% if #commands == 0 then %> - <div class="cbi-section"> - <div class="table cbi-section-table"> - <div class="tr cbi-section-table-row"> - <p> - <em><%:This section contains no values yet%></em> - </p> - </div> - </div> - </div> - <% else %> - <fieldset class="cbi-section"> - <% local _, command; for _, command in ipairs(commands) do %> - <div class="commandbox"> - <h3><%=pcdata(command.name)%></h3> - <p><%:Command:%> <code><%=pcdata(command.command)%></code></p> - <% if command.param == "1" then %> - <p><%:Arguments:%> <input type="text" id="<%=command['.name']%>" /></p> - <% end %> - <div> - <button class="cbi-button cbi-button-apply" onclick="command_run(event, '<%=command['.name']%>')"><%:Run%></button> - <button class="cbi-button cbi-button-download" onclick="command_download(event, '<%=command['.name']%>')"><%:Download%></button> - <% if command.public == "1" then %> - <button class="cbi-button cbi-button-link" onclick="command_link(event, '<%=command['.name']%>')"><%:Link%></button> - <% end %> - </div> - </div> - <% end %> - - <br style="clear:both" /><br /> - <a name="output"></a> - </fieldset> - <% end %> - - </div> - - <fieldset class="cbi-section" style="display:none"> - <legend id="command-rc-legend"><%:Collecting data...%></legend> - <span id="command-rc-output"></span> - </fieldset> -</form> - -<%+footer%> diff --git a/applications/luci-app-commands/luasrc/view/commands_public.htm b/applications/luci-app-commands/luasrc/view/commands_public.htm deleted file mode 100644 index f20799d40f..0000000000 --- a/applications/luci-app-commands/luasrc/view/commands_public.htm +++ /dev/null @@ -1,50 +0,0 @@ -<%# - Copyright 2016 t123yh <t123yh@outlook.com> - Licensed to the public under the Apache License 2.0. --%> - -<% css = [[ -.alert-success { - color: #3c763d; - background-color: #dff0d8; - border-color: #d6e9c6; -} - -.alert { - padding: 15px; - margin-bottom: 20px; - border: 1px solid transparent; - border-radius: 4px; -} - -.alert-warning { - color: #8a6d3b; - background-color: #fcf8e3; - border-color: #faebcc; -} -]] -%> - -<%+header%> - -<% if exitcode == 0 then %> - <div class="alert alert-success" role="alert"> <%:Command executed successfully.%> </div> -<% else %> - <div class="alert alert-warning" role="alert"> <%:Command exited with status code %> <%= exitcode %> </div> -<% end %> - -<% if stdout ~= "" then %> - <h3><%:Standard Output%></h3> - <pre><%= stdout %></pre> -<% end %> - -<% if stderr ~= "" then %> - <h3><%:Standard Error%></h3> - <pre><%= stderr %></pre> -<% end %> - -<script> - <%# Display top bar on mobile devices -%> - document.getElementsByClassName('brand')[0].style.setProperty("display", "block", "important"); -</script> - -<%+footer%>
\ No newline at end of file diff --git a/applications/luci-app-commands/po/ar/commands.po b/applications/luci-app-commands/po/ar/commands.po index 0420dde7d3..04b2f7060f 100644 --- a/applications/luci-app-commands/po/ar/commands.po +++ b/applications/luci-app-commands/po/ar/commands.po @@ -14,95 +14,95 @@ msgstr "" "&& n%100<=10 ? 3 : n%100>=11 ? 4 : 5;\n" "X-Generator: Weblate 4.2-dev\n" -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:16 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:19 msgid "A short textual description of the configured command" msgstr "وصف نصي قصير للأمر الذي تم تكوينه" -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:25 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:30 msgid "" "Allow executing the command and downloading its output without prior " "authentication" msgstr "السماح بتنفيذ الأمر وتنزيل إخراجه دون مصادقة مسبقة" -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:22 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:27 msgid "Allow the user to provide additional command line arguments" msgstr "السماح للمستخدم بتقديم وسيطات سطر أوامر إضافية" -#: applications/luci-app-commands/luasrc/view/commands.htm:162 +#: applications/luci-app-commands/ucode/template/commands.ut:156 msgid "Arguments:" msgstr "الحجج:" -#: applications/luci-app-commands/luasrc/view/commands.htm:66 +#: applications/luci-app-commands/ucode/template/commands.ut:60 msgid "Binary data not displayed, download instead." msgstr "البيانات الثنائية غير معروضة، قم بتنزيلها بدلاً من ذلك." -#: applications/luci-app-commands/luasrc/view/commands.htm:71 +#: applications/luci-app-commands/ucode/template/commands.ut:65 msgid "Code:" msgstr "الكود:" -#: applications/luci-app-commands/luasrc/view/commands.htm:182 +#: applications/luci-app-commands/ucode/template/commands.ut:174 msgid "Collecting data..." msgstr "جمع البيانات..." -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:18 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:21 msgid "Command" msgstr "أمر" -#: applications/luci-app-commands/luasrc/view/commands_public.htm:30 +#: applications/luci-app-commands/ucode/template/commands_public.ut:32 msgid "Command executed successfully." msgstr "تم تنفيذ الأمر بنجاح." -#: applications/luci-app-commands/luasrc/view/commands_public.htm:32 -msgid "Command exited with status code" -msgstr "تم إنهاء الأمر برمز الحالة" +#: applications/luci-app-commands/ucode/template/commands_public.ut:34 +msgid "Command exited with status code %d" +msgstr "" -#: applications/luci-app-commands/luasrc/view/commands.htm:73 +#: applications/luci-app-commands/ucode/template/commands.ut:67 msgid "Command failed" msgstr "فشل الأمر" -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:19 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:21 msgid "Command line to execute" msgstr "سطر الأوامر للتنفيذ" -#: applications/luci-app-commands/luasrc/view/commands.htm:73 +#: applications/luci-app-commands/ucode/template/commands.ut:67 msgid "Command successful" msgstr "الأمر ناجح" -#: applications/luci-app-commands/luasrc/view/commands.htm:160 +#: applications/luci-app-commands/ucode/template/commands.ut:154 msgid "Command:" msgstr "الأمر:" -#: applications/luci-app-commands/luasrc/controller/commands.lua:9 +#: applications/luci-app-commands/root/usr/share/luci/menu.d/luci-app-commands.json:23 msgid "Configure" msgstr "تكوين" -#: applications/luci-app-commands/luasrc/controller/commands.lua:7 -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:6 -#: applications/luci-app-commands/luasrc/view/commands.htm:144 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:10 +#: applications/luci-app-commands/root/usr/share/luci/menu.d/luci-app-commands.json:3 +#: applications/luci-app-commands/ucode/template/commands.ut:137 msgid "Custom Commands" msgstr "أوامر مخصصة" -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:21 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:26 msgid "Custom arguments" msgstr "الحجج المخصصة" -#: applications/luci-app-commands/luasrc/controller/commands.lua:8 +#: applications/luci-app-commands/root/usr/share/luci/menu.d/luci-app-commands.json:14 msgid "Dashboard" msgstr "لوحة المعلومات" -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:15 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:18 msgid "Description" msgstr "الوصف" -#: applications/luci-app-commands/luasrc/view/commands.htm:166 +#: applications/luci-app-commands/ucode/template/commands.ut:160 msgid "Download" msgstr "تنزيل" -#: applications/luci-app-commands/luasrc/view/commands.htm:123 +#: applications/luci-app-commands/ucode/template/commands.ut:117 msgid "Download execution result" msgstr "تحميل نتيجة التنفيذ" -#: applications/luci-app-commands/luasrc/view/commands.htm:79 +#: applications/luci-app-commands/ucode/template/commands.ut:73 msgid "Failed to execute command!" msgstr "فشل في تنفيذ الأمر!" @@ -110,35 +110,35 @@ msgstr "فشل في تنفيذ الأمر!" msgid "Grant UCI access for luci-app-commands" msgstr "امنح UCI حق الوصول إلى luci-app-wifischedule" -#: applications/luci-app-commands/luasrc/view/commands.htm:168 +#: applications/luci-app-commands/ucode/template/commands.ut:162 msgid "Link" msgstr "رابط" -#: applications/luci-app-commands/luasrc/view/commands.htm:53 +#: applications/luci-app-commands/ucode/template/commands.ut:47 msgid "Loading" msgstr "جار التحميل" -#: applications/luci-app-commands/luasrc/view/commands.htm:123 +#: applications/luci-app-commands/ucode/template/commands.ut:117 msgid "Or display result" msgstr "أو عرض النتيجة" -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:24 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:29 msgid "Public access" msgstr "وصول عام" -#: applications/luci-app-commands/luasrc/view/commands.htm:165 +#: applications/luci-app-commands/ucode/template/commands.ut:159 msgid "Run" msgstr "شغل" -#: applications/luci-app-commands/luasrc/view/commands_public.htm:41 +#: applications/luci-app-commands/ucode/template/commands_public.ut:44 msgid "Standard Error" msgstr "خطأ تقليدي" -#: applications/luci-app-commands/luasrc/view/commands_public.htm:36 +#: applications/luci-app-commands/ucode/template/commands_public.ut:39 msgid "Standard Output" msgstr "الإخراج القياسي" -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:7 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:11 msgid "" "This page allows you to configure custom shell commands which can be easily " "invoked from the web interface." @@ -146,13 +146,16 @@ msgstr "" "تتيح لك هذه الصفحة تكوين أوامر shell مخصصة يمكن استدعاؤها بسهولة من واجهة " "الويب." -#: applications/luci-app-commands/luasrc/view/commands.htm:150 +#: applications/luci-app-commands/ucode/template/commands.ut:144 msgid "This section contains no values yet" msgstr "لا يحتوي هذا القسم على قيم حتى الآن" -#: applications/luci-app-commands/luasrc/view/commands.htm:54 +#: applications/luci-app-commands/ucode/template/commands.ut:48 msgid "Waiting for command to complete..." msgstr "في انتظار اكتمال الأمر ..." +#~ msgid "Command exited with status code" +#~ msgstr "تم إنهاء الأمر برمز الحالة" + #~ msgid "Command exited with status code " #~ msgstr "Command exited with status code " diff --git a/applications/luci-app-commands/po/bg/commands.po b/applications/luci-app-commands/po/bg/commands.po index 70d0981bc6..d157c19a6b 100644 --- a/applications/luci-app-commands/po/bg/commands.po +++ b/applications/luci-app-commands/po/bg/commands.po @@ -13,96 +13,96 @@ msgstr "" "Plural-Forms: nplurals=2; plural=n != 1;\n" "X-Generator: Weblate 4.8.1-dev\n" -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:16 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:19 msgid "A short textual description of the configured command" msgstr "Кратко текстово описание на конфигурираната команда" -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:25 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:30 msgid "" "Allow executing the command and downloading its output without prior " "authentication" msgstr "" "Позволяване изпълнение на командата и сваляне на аутпута й без аутентикация" -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:22 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:27 msgid "Allow the user to provide additional command line arguments" msgstr "Позволи на потребителя да въведе допълнителни командни аргументи" -#: applications/luci-app-commands/luasrc/view/commands.htm:162 +#: applications/luci-app-commands/ucode/template/commands.ut:156 msgid "Arguments:" msgstr "Аргументи:" -#: applications/luci-app-commands/luasrc/view/commands.htm:66 +#: applications/luci-app-commands/ucode/template/commands.ut:60 msgid "Binary data not displayed, download instead." msgstr "Бинарни данни не са показани, свалете ги вместо това." -#: applications/luci-app-commands/luasrc/view/commands.htm:71 +#: applications/luci-app-commands/ucode/template/commands.ut:65 msgid "Code:" msgstr "Код:" -#: applications/luci-app-commands/luasrc/view/commands.htm:182 +#: applications/luci-app-commands/ucode/template/commands.ut:174 msgid "Collecting data..." msgstr "Събиране данни..." -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:18 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:21 msgid "Command" msgstr "Команда" -#: applications/luci-app-commands/luasrc/view/commands_public.htm:30 +#: applications/luci-app-commands/ucode/template/commands_public.ut:32 msgid "Command executed successfully." msgstr "Командата е изпълнена успешно." -#: applications/luci-app-commands/luasrc/view/commands_public.htm:32 -msgid "Command exited with status code" -msgstr "Командата приключи с код" +#: applications/luci-app-commands/ucode/template/commands_public.ut:34 +msgid "Command exited with status code %d" +msgstr "" -#: applications/luci-app-commands/luasrc/view/commands.htm:73 +#: applications/luci-app-commands/ucode/template/commands.ut:67 msgid "Command failed" msgstr "Командата се провали" -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:19 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:21 msgid "Command line to execute" msgstr "Команден ред за изпълнение" -#: applications/luci-app-commands/luasrc/view/commands.htm:73 +#: applications/luci-app-commands/ucode/template/commands.ut:67 msgid "Command successful" msgstr "Успешна команда" -#: applications/luci-app-commands/luasrc/view/commands.htm:160 +#: applications/luci-app-commands/ucode/template/commands.ut:154 msgid "Command:" msgstr "Команда:" -#: applications/luci-app-commands/luasrc/controller/commands.lua:9 +#: applications/luci-app-commands/root/usr/share/luci/menu.d/luci-app-commands.json:23 msgid "Configure" msgstr "Конфигурирай" -#: applications/luci-app-commands/luasrc/controller/commands.lua:7 -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:6 -#: applications/luci-app-commands/luasrc/view/commands.htm:144 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:10 +#: applications/luci-app-commands/root/usr/share/luci/menu.d/luci-app-commands.json:3 +#: applications/luci-app-commands/ucode/template/commands.ut:137 msgid "Custom Commands" msgstr "Персонализирани команди" -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:21 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:26 msgid "Custom arguments" msgstr "Персонализирани аргументи" -#: applications/luci-app-commands/luasrc/controller/commands.lua:8 +#: applications/luci-app-commands/root/usr/share/luci/menu.d/luci-app-commands.json:14 msgid "Dashboard" msgstr "Табло" -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:15 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:18 msgid "Description" msgstr "Описание" -#: applications/luci-app-commands/luasrc/view/commands.htm:166 +#: applications/luci-app-commands/ucode/template/commands.ut:160 msgid "Download" msgstr "Сваляне" -#: applications/luci-app-commands/luasrc/view/commands.htm:123 +#: applications/luci-app-commands/ucode/template/commands.ut:117 msgid "Download execution result" msgstr "Сваляне резултат от изпълнение" -#: applications/luci-app-commands/luasrc/view/commands.htm:79 +#: applications/luci-app-commands/ucode/template/commands.ut:73 msgid "Failed to execute command!" msgstr "Провалено изпълнение на команда!" @@ -110,35 +110,35 @@ msgstr "Провалено изпълнение на команда!" msgid "Grant UCI access for luci-app-commands" msgstr "Разреши UCI достъп за luci-app-commands" -#: applications/luci-app-commands/luasrc/view/commands.htm:168 +#: applications/luci-app-commands/ucode/template/commands.ut:162 msgid "Link" msgstr "Връзка" -#: applications/luci-app-commands/luasrc/view/commands.htm:53 +#: applications/luci-app-commands/ucode/template/commands.ut:47 msgid "Loading" msgstr "Зареждане" -#: applications/luci-app-commands/luasrc/view/commands.htm:123 +#: applications/luci-app-commands/ucode/template/commands.ut:117 msgid "Or display result" msgstr "Или покажи резултат" -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:24 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:29 msgid "Public access" msgstr "Публичен достъп" -#: applications/luci-app-commands/luasrc/view/commands.htm:165 +#: applications/luci-app-commands/ucode/template/commands.ut:159 msgid "Run" msgstr "Изпълни" -#: applications/luci-app-commands/luasrc/view/commands_public.htm:41 +#: applications/luci-app-commands/ucode/template/commands_public.ut:44 msgid "Standard Error" msgstr "Стандартна грешка" -#: applications/luci-app-commands/luasrc/view/commands_public.htm:36 +#: applications/luci-app-commands/ucode/template/commands_public.ut:39 msgid "Standard Output" msgstr "Стандартен аутпут" -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:7 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:11 msgid "" "This page allows you to configure custom shell commands which can be easily " "invoked from the web interface." @@ -146,13 +146,16 @@ msgstr "" "На тази страница можете да настроите персонализирани шел команди, които да " "извиквате лесно през уеб интерфейса." -#: applications/luci-app-commands/luasrc/view/commands.htm:150 +#: applications/luci-app-commands/ucode/template/commands.ut:144 msgid "This section contains no values yet" msgstr "Секцията всеоще не съдържа стойности" -#: applications/luci-app-commands/luasrc/view/commands.htm:54 +#: applications/luci-app-commands/ucode/template/commands.ut:48 msgid "Waiting for command to complete..." msgstr "Изчакване командата да приключи..." +#~ msgid "Command exited with status code" +#~ msgstr "Командата приключи с код" + #~ msgid "Command exited with status code " #~ msgstr "Command exited with status code " diff --git a/applications/luci-app-commands/po/bn_BD/commands.po b/applications/luci-app-commands/po/bn_BD/commands.po index b3c6e0ee30..9e82e2e864 100644 --- a/applications/luci-app-commands/po/bn_BD/commands.po +++ b/applications/luci-app-commands/po/bn_BD/commands.po @@ -13,95 +13,95 @@ msgstr "" "Plural-Forms: nplurals=2; plural=n != 1;\n" "X-Generator: Weblate 4.9-dev\n" -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:16 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:19 msgid "A short textual description of the configured command" msgstr "" -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:25 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:30 msgid "" "Allow executing the command and downloading its output without prior " "authentication" msgstr "" -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:22 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:27 msgid "Allow the user to provide additional command line arguments" msgstr "" -#: applications/luci-app-commands/luasrc/view/commands.htm:162 +#: applications/luci-app-commands/ucode/template/commands.ut:156 msgid "Arguments:" msgstr "" -#: applications/luci-app-commands/luasrc/view/commands.htm:66 +#: applications/luci-app-commands/ucode/template/commands.ut:60 msgid "Binary data not displayed, download instead." msgstr "" -#: applications/luci-app-commands/luasrc/view/commands.htm:71 +#: applications/luci-app-commands/ucode/template/commands.ut:65 msgid "Code:" msgstr "" -#: applications/luci-app-commands/luasrc/view/commands.htm:182 +#: applications/luci-app-commands/ucode/template/commands.ut:174 msgid "Collecting data..." msgstr "" -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:18 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:21 msgid "Command" msgstr "কমান্ড" -#: applications/luci-app-commands/luasrc/view/commands_public.htm:30 +#: applications/luci-app-commands/ucode/template/commands_public.ut:32 msgid "Command executed successfully." msgstr "" -#: applications/luci-app-commands/luasrc/view/commands_public.htm:32 -msgid "Command exited with status code" +#: applications/luci-app-commands/ucode/template/commands_public.ut:34 +msgid "Command exited with status code %d" msgstr "" -#: applications/luci-app-commands/luasrc/view/commands.htm:73 +#: applications/luci-app-commands/ucode/template/commands.ut:67 msgid "Command failed" msgstr "" -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:19 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:21 msgid "Command line to execute" msgstr "" -#: applications/luci-app-commands/luasrc/view/commands.htm:73 +#: applications/luci-app-commands/ucode/template/commands.ut:67 msgid "Command successful" msgstr "" -#: applications/luci-app-commands/luasrc/view/commands.htm:160 +#: applications/luci-app-commands/ucode/template/commands.ut:154 msgid "Command:" msgstr "" -#: applications/luci-app-commands/luasrc/controller/commands.lua:9 +#: applications/luci-app-commands/root/usr/share/luci/menu.d/luci-app-commands.json:23 msgid "Configure" msgstr "" -#: applications/luci-app-commands/luasrc/controller/commands.lua:7 -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:6 -#: applications/luci-app-commands/luasrc/view/commands.htm:144 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:10 +#: applications/luci-app-commands/root/usr/share/luci/menu.d/luci-app-commands.json:3 +#: applications/luci-app-commands/ucode/template/commands.ut:137 msgid "Custom Commands" msgstr "" -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:21 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:26 msgid "Custom arguments" msgstr "" -#: applications/luci-app-commands/luasrc/controller/commands.lua:8 +#: applications/luci-app-commands/root/usr/share/luci/menu.d/luci-app-commands.json:14 msgid "Dashboard" msgstr "" -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:15 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:18 msgid "Description" msgstr "বর্ণনা" -#: applications/luci-app-commands/luasrc/view/commands.htm:166 +#: applications/luci-app-commands/ucode/template/commands.ut:160 msgid "Download" msgstr "" -#: applications/luci-app-commands/luasrc/view/commands.htm:123 +#: applications/luci-app-commands/ucode/template/commands.ut:117 msgid "Download execution result" msgstr "" -#: applications/luci-app-commands/luasrc/view/commands.htm:79 +#: applications/luci-app-commands/ucode/template/commands.ut:73 msgid "Failed to execute command!" msgstr "" @@ -109,45 +109,45 @@ msgstr "" msgid "Grant UCI access for luci-app-commands" msgstr "" -#: applications/luci-app-commands/luasrc/view/commands.htm:168 +#: applications/luci-app-commands/ucode/template/commands.ut:162 msgid "Link" msgstr "" -#: applications/luci-app-commands/luasrc/view/commands.htm:53 +#: applications/luci-app-commands/ucode/template/commands.ut:47 msgid "Loading" msgstr "" -#: applications/luci-app-commands/luasrc/view/commands.htm:123 +#: applications/luci-app-commands/ucode/template/commands.ut:117 msgid "Or display result" msgstr "" -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:24 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:29 msgid "Public access" msgstr "" -#: applications/luci-app-commands/luasrc/view/commands.htm:165 +#: applications/luci-app-commands/ucode/template/commands.ut:159 msgid "Run" msgstr "" -#: applications/luci-app-commands/luasrc/view/commands_public.htm:41 +#: applications/luci-app-commands/ucode/template/commands_public.ut:44 msgid "Standard Error" msgstr "" -#: applications/luci-app-commands/luasrc/view/commands_public.htm:36 +#: applications/luci-app-commands/ucode/template/commands_public.ut:39 msgid "Standard Output" msgstr "" -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:7 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:11 msgid "" "This page allows you to configure custom shell commands which can be easily " "invoked from the web interface." msgstr "" -#: applications/luci-app-commands/luasrc/view/commands.htm:150 +#: applications/luci-app-commands/ucode/template/commands.ut:144 msgid "This section contains no values yet" msgstr "" -#: applications/luci-app-commands/luasrc/view/commands.htm:54 +#: applications/luci-app-commands/ucode/template/commands.ut:48 msgid "Waiting for command to complete..." msgstr "" diff --git a/applications/luci-app-commands/po/ca/commands.po b/applications/luci-app-commands/po/ca/commands.po index 955fb052f9..5882b09b4d 100644 --- a/applications/luci-app-commands/po/ca/commands.po +++ b/applications/luci-app-commands/po/ca/commands.po @@ -12,11 +12,11 @@ msgstr "" "Plural-Forms: nplurals=2; plural=n != 1;\n" "X-Generator: Weblate 3.9.1-dev\n" -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:16 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:19 msgid "A short textual description of the configured command" msgstr "Una breva descripció textual de l'ordre configurat" -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:25 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:30 msgid "" "Allow executing the command and downloading its output without prior " "authentication" @@ -24,85 +24,85 @@ msgstr "" "Permet la execució de l'ordre i la baixada de la seva sortida sense " "autenticació prèvia" -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:22 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:27 msgid "Allow the user to provide additional command line arguments" msgstr "Permet que l'usuari proveïa paràmetres de línia de consola addicionals" -#: applications/luci-app-commands/luasrc/view/commands.htm:162 +#: applications/luci-app-commands/ucode/template/commands.ut:156 msgid "Arguments:" msgstr "Paràmetres:" -#: applications/luci-app-commands/luasrc/view/commands.htm:66 +#: applications/luci-app-commands/ucode/template/commands.ut:60 msgid "Binary data not displayed, download instead." msgstr "Els dades binaris no es mostren, descarregueu-los." -#: applications/luci-app-commands/luasrc/view/commands.htm:71 +#: applications/luci-app-commands/ucode/template/commands.ut:65 msgid "Code:" msgstr "Codi:" -#: applications/luci-app-commands/luasrc/view/commands.htm:182 +#: applications/luci-app-commands/ucode/template/commands.ut:174 msgid "Collecting data..." msgstr "S’estan recollint dades…" -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:18 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:21 msgid "Command" msgstr "Ordre" -#: applications/luci-app-commands/luasrc/view/commands_public.htm:30 +#: applications/luci-app-commands/ucode/template/commands_public.ut:32 msgid "Command executed successfully." msgstr "" -#: applications/luci-app-commands/luasrc/view/commands_public.htm:32 -msgid "Command exited with status code" +#: applications/luci-app-commands/ucode/template/commands_public.ut:34 +msgid "Command exited with status code %d" msgstr "" -#: applications/luci-app-commands/luasrc/view/commands.htm:73 +#: applications/luci-app-commands/ucode/template/commands.ut:67 msgid "Command failed" msgstr "L'ordre ha fallat" -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:19 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:21 msgid "Command line to execute" msgstr "Línia d'ordre per executar" -#: applications/luci-app-commands/luasrc/view/commands.htm:73 +#: applications/luci-app-commands/ucode/template/commands.ut:67 msgid "Command successful" msgstr "L'ordre ha tingut èxit" -#: applications/luci-app-commands/luasrc/view/commands.htm:160 +#: applications/luci-app-commands/ucode/template/commands.ut:154 msgid "Command:" msgstr "Ordre;" -#: applications/luci-app-commands/luasrc/controller/commands.lua:9 +#: applications/luci-app-commands/root/usr/share/luci/menu.d/luci-app-commands.json:23 msgid "Configure" msgstr "Configura" -#: applications/luci-app-commands/luasrc/controller/commands.lua:7 -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:6 -#: applications/luci-app-commands/luasrc/view/commands.htm:144 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:10 +#: applications/luci-app-commands/root/usr/share/luci/menu.d/luci-app-commands.json:3 +#: applications/luci-app-commands/ucode/template/commands.ut:137 msgid "Custom Commands" msgstr "Ordres personalitzats" -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:21 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:26 msgid "Custom arguments" msgstr "Paràmetres personalitzats" -#: applications/luci-app-commands/luasrc/controller/commands.lua:8 +#: applications/luci-app-commands/root/usr/share/luci/menu.d/luci-app-commands.json:14 msgid "Dashboard" msgstr "Panell" -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:15 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:18 msgid "Description" msgstr "Descripció" -#: applications/luci-app-commands/luasrc/view/commands.htm:166 +#: applications/luci-app-commands/ucode/template/commands.ut:160 msgid "Download" msgstr "Baixa" -#: applications/luci-app-commands/luasrc/view/commands.htm:123 +#: applications/luci-app-commands/ucode/template/commands.ut:117 msgid "Download execution result" msgstr "" -#: applications/luci-app-commands/luasrc/view/commands.htm:79 +#: applications/luci-app-commands/ucode/template/commands.ut:73 msgid "Failed to execute command!" msgstr "L'execució de l'ordre ha fallat!" @@ -110,35 +110,35 @@ msgstr "L'execució de l'ordre ha fallat!" msgid "Grant UCI access for luci-app-commands" msgstr "" -#: applications/luci-app-commands/luasrc/view/commands.htm:168 +#: applications/luci-app-commands/ucode/template/commands.ut:162 msgid "Link" msgstr "Enllaç" -#: applications/luci-app-commands/luasrc/view/commands.htm:53 +#: applications/luci-app-commands/ucode/template/commands.ut:47 msgid "Loading" msgstr "S’està carregant" -#: applications/luci-app-commands/luasrc/view/commands.htm:123 +#: applications/luci-app-commands/ucode/template/commands.ut:117 msgid "Or display result" msgstr "" -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:24 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:29 msgid "Public access" msgstr "Accés públic" -#: applications/luci-app-commands/luasrc/view/commands.htm:165 +#: applications/luci-app-commands/ucode/template/commands.ut:159 msgid "Run" msgstr "Executa" -#: applications/luci-app-commands/luasrc/view/commands_public.htm:41 +#: applications/luci-app-commands/ucode/template/commands_public.ut:44 msgid "Standard Error" msgstr "" -#: applications/luci-app-commands/luasrc/view/commands_public.htm:36 +#: applications/luci-app-commands/ucode/template/commands_public.ut:39 msgid "Standard Output" msgstr "" -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:7 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:11 msgid "" "This page allows you to configure custom shell commands which can be easily " "invoked from the web interface." @@ -146,11 +146,11 @@ msgstr "" "Aquesta pàgina us permet configurar ordres de consola personalitzats que es " "poden invocar fàcilment de la interfície web." -#: applications/luci-app-commands/luasrc/view/commands.htm:150 +#: applications/luci-app-commands/ucode/template/commands.ut:144 msgid "This section contains no values yet" msgstr "" -#: applications/luci-app-commands/luasrc/view/commands.htm:54 +#: applications/luci-app-commands/ucode/template/commands.ut:48 msgid "Waiting for command to complete..." msgstr "S’està esperant que l’ordre s’acabi…" diff --git a/applications/luci-app-commands/po/cs/commands.po b/applications/luci-app-commands/po/cs/commands.po index fd2202865a..deabdd1d09 100644 --- a/applications/luci-app-commands/po/cs/commands.po +++ b/applications/luci-app-commands/po/cs/commands.po @@ -12,95 +12,95 @@ msgstr "" "Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n" "X-Generator: Weblate 4.9-dev\n" -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:16 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:19 msgid "A short textual description of the configured command" msgstr "Stručný popis nastaveného příkazu" -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:25 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:30 msgid "" "Allow executing the command and downloading its output without prior " "authentication" msgstr "Povolit vykonání příkazu a stažení výstupu bez předchozí autentizace" -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:22 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:27 msgid "Allow the user to provide additional command line arguments" msgstr "Povolit uživateli poskytnout dodatečné argumenty příkazového řádku" -#: applications/luci-app-commands/luasrc/view/commands.htm:162 +#: applications/luci-app-commands/ucode/template/commands.ut:156 msgid "Arguments:" msgstr "Argumenty:" -#: applications/luci-app-commands/luasrc/view/commands.htm:66 +#: applications/luci-app-commands/ucode/template/commands.ut:60 msgid "Binary data not displayed, download instead." msgstr "Binární data nezobrazena, stáhněte si je." -#: applications/luci-app-commands/luasrc/view/commands.htm:71 +#: applications/luci-app-commands/ucode/template/commands.ut:65 msgid "Code:" msgstr "Kód:" -#: applications/luci-app-commands/luasrc/view/commands.htm:182 +#: applications/luci-app-commands/ucode/template/commands.ut:174 msgid "Collecting data..." msgstr "Shromažďování údajů…" -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:18 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:21 msgid "Command" msgstr "Příkaz" -#: applications/luci-app-commands/luasrc/view/commands_public.htm:30 +#: applications/luci-app-commands/ucode/template/commands_public.ut:32 msgid "Command executed successfully." msgstr "Příkaz byl úspěšně proveden." -#: applications/luci-app-commands/luasrc/view/commands_public.htm:32 -msgid "Command exited with status code" -msgstr "Příkaz byl ukončen se stavovým kódem" +#: applications/luci-app-commands/ucode/template/commands_public.ut:34 +msgid "Command exited with status code %d" +msgstr "" -#: applications/luci-app-commands/luasrc/view/commands.htm:73 +#: applications/luci-app-commands/ucode/template/commands.ut:67 msgid "Command failed" msgstr "Vykonání příkazu se nezdařilo" -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:19 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:21 msgid "Command line to execute" msgstr "Příkazový řádek k vykonání" -#: applications/luci-app-commands/luasrc/view/commands.htm:73 +#: applications/luci-app-commands/ucode/template/commands.ut:67 msgid "Command successful" msgstr "Příkaz byl úspěšný" -#: applications/luci-app-commands/luasrc/view/commands.htm:160 +#: applications/luci-app-commands/ucode/template/commands.ut:154 msgid "Command:" msgstr "Příkaz:" -#: applications/luci-app-commands/luasrc/controller/commands.lua:9 +#: applications/luci-app-commands/root/usr/share/luci/menu.d/luci-app-commands.json:23 msgid "Configure" msgstr "Konfigurovat" -#: applications/luci-app-commands/luasrc/controller/commands.lua:7 -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:6 -#: applications/luci-app-commands/luasrc/view/commands.htm:144 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:10 +#: applications/luci-app-commands/root/usr/share/luci/menu.d/luci-app-commands.json:3 +#: applications/luci-app-commands/ucode/template/commands.ut:137 msgid "Custom Commands" msgstr "Vlastní příkazy" -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:21 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:26 msgid "Custom arguments" msgstr "Vlastní parametry" -#: applications/luci-app-commands/luasrc/controller/commands.lua:8 +#: applications/luci-app-commands/root/usr/share/luci/menu.d/luci-app-commands.json:14 msgid "Dashboard" msgstr "Řídicí panel" -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:15 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:18 msgid "Description" msgstr "Popis" -#: applications/luci-app-commands/luasrc/view/commands.htm:166 +#: applications/luci-app-commands/ucode/template/commands.ut:160 msgid "Download" msgstr "Stáhnout" -#: applications/luci-app-commands/luasrc/view/commands.htm:123 +#: applications/luci-app-commands/ucode/template/commands.ut:117 msgid "Download execution result" msgstr "Stáhnout výsledek spuštění" -#: applications/luci-app-commands/luasrc/view/commands.htm:79 +#: applications/luci-app-commands/ucode/template/commands.ut:73 msgid "Failed to execute command!" msgstr "Chyba při zpracování příkazu!" @@ -108,35 +108,35 @@ msgstr "Chyba při zpracování příkazu!" msgid "Grant UCI access for luci-app-commands" msgstr "" -#: applications/luci-app-commands/luasrc/view/commands.htm:168 +#: applications/luci-app-commands/ucode/template/commands.ut:162 msgid "Link" msgstr "Odkaz" -#: applications/luci-app-commands/luasrc/view/commands.htm:53 +#: applications/luci-app-commands/ucode/template/commands.ut:47 msgid "Loading" msgstr "Načítání" -#: applications/luci-app-commands/luasrc/view/commands.htm:123 +#: applications/luci-app-commands/ucode/template/commands.ut:117 msgid "Or display result" msgstr "Nebo zobrazit výsledek" -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:24 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:29 msgid "Public access" msgstr "Veřejný přístup" -#: applications/luci-app-commands/luasrc/view/commands.htm:165 +#: applications/luci-app-commands/ucode/template/commands.ut:159 msgid "Run" msgstr "Spustit" -#: applications/luci-app-commands/luasrc/view/commands_public.htm:41 +#: applications/luci-app-commands/ucode/template/commands_public.ut:44 msgid "Standard Error" msgstr "Standardní chybový výstup" -#: applications/luci-app-commands/luasrc/view/commands_public.htm:36 +#: applications/luci-app-commands/ucode/template/commands_public.ut:39 msgid "Standard Output" msgstr "Standardní výstup" -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:7 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:11 msgid "" "This page allows you to configure custom shell commands which can be easily " "invoked from the web interface." @@ -144,10 +144,13 @@ msgstr "" "Tato stránka umožňuje nastavit vlastní příkazy shellu, které lze snadno " "vyvolat z webového rozhraní." -#: applications/luci-app-commands/luasrc/view/commands.htm:150 +#: applications/luci-app-commands/ucode/template/commands.ut:144 msgid "This section contains no values yet" msgstr "Tato sekce ještě neobsahuje žádné hodnoty" -#: applications/luci-app-commands/luasrc/view/commands.htm:54 +#: applications/luci-app-commands/ucode/template/commands.ut:48 msgid "Waiting for command to complete..." msgstr "Čekání na dokončení příkazu..." + +#~ msgid "Command exited with status code" +#~ msgstr "Příkaz byl ukončen se stavovým kódem" diff --git a/applications/luci-app-commands/po/da/commands.po b/applications/luci-app-commands/po/da/commands.po index 6aa474d5aa..744c0f3941 100644 --- a/applications/luci-app-commands/po/da/commands.po +++ b/applications/luci-app-commands/po/da/commands.po @@ -2,7 +2,7 @@ msgid "" msgstr "" "Project-Id-Version: \n" "POT-Creation-Date: \n" -"PO-Revision-Date: 2021-11-18 18:36+0000\n" +"PO-Revision-Date: 2022-10-29 20:58+0000\n" "Last-Translator: drax red <drax@outlook.dk>\n" "Language-Team: Danish <https://hosted.weblate.org/projects/openwrt/" "luciapplicationscommands/da/>\n" @@ -11,13 +11,13 @@ msgstr "" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=n != 1;\n" -"X-Generator: Weblate 4.9.1-dev\n" +"X-Generator: Weblate 4.14.2-dev\n" -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:16 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:19 msgid "A short textual description of the configured command" msgstr "En kort tekstbeskrivelse af den konfigurerede kommando" -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:25 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:30 msgid "" "Allow executing the command and downloading its output without prior " "authentication" @@ -25,85 +25,85 @@ msgstr "" "Tillad at udføre kommandoen og downloade dens output uden forudgående " "godkendelse" -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:22 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:27 msgid "Allow the user to provide additional command line arguments" msgstr "Tillad brugeren at angive yderligere kommandolinjeargumenter" -#: applications/luci-app-commands/luasrc/view/commands.htm:162 +#: applications/luci-app-commands/ucode/template/commands.ut:156 msgid "Arguments:" msgstr "Argumenter:" -#: applications/luci-app-commands/luasrc/view/commands.htm:66 +#: applications/luci-app-commands/ucode/template/commands.ut:60 msgid "Binary data not displayed, download instead." msgstr "Binære data vises ikke, download i stedet." -#: applications/luci-app-commands/luasrc/view/commands.htm:71 +#: applications/luci-app-commands/ucode/template/commands.ut:65 msgid "Code:" msgstr "Kode:" -#: applications/luci-app-commands/luasrc/view/commands.htm:182 +#: applications/luci-app-commands/ucode/template/commands.ut:174 msgid "Collecting data..." msgstr "Indsamler data..." -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:18 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:21 msgid "Command" msgstr "Kommando" -#: applications/luci-app-commands/luasrc/view/commands_public.htm:30 +#: applications/luci-app-commands/ucode/template/commands_public.ut:32 msgid "Command executed successfully." msgstr "Kommandoen blev udført." -#: applications/luci-app-commands/luasrc/view/commands_public.htm:32 -msgid "Command exited with status code" -msgstr "Kommando afslutede med statuskode" +#: applications/luci-app-commands/ucode/template/commands_public.ut:34 +msgid "Command exited with status code %d" +msgstr "Kommando afsluttet med statuskode %d" -#: applications/luci-app-commands/luasrc/view/commands.htm:73 +#: applications/luci-app-commands/ucode/template/commands.ut:67 msgid "Command failed" msgstr "Kommandoen mislykkedes" -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:19 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:21 msgid "Command line to execute" msgstr "Kommandolinje til udførelse" -#: applications/luci-app-commands/luasrc/view/commands.htm:73 +#: applications/luci-app-commands/ucode/template/commands.ut:67 msgid "Command successful" msgstr "Kommandoen lykkedes" -#: applications/luci-app-commands/luasrc/view/commands.htm:160 +#: applications/luci-app-commands/ucode/template/commands.ut:154 msgid "Command:" msgstr "Kommando:" -#: applications/luci-app-commands/luasrc/controller/commands.lua:9 +#: applications/luci-app-commands/root/usr/share/luci/menu.d/luci-app-commands.json:23 msgid "Configure" msgstr "Konfigurer" -#: applications/luci-app-commands/luasrc/controller/commands.lua:7 -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:6 -#: applications/luci-app-commands/luasrc/view/commands.htm:144 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:10 +#: applications/luci-app-commands/root/usr/share/luci/menu.d/luci-app-commands.json:3 +#: applications/luci-app-commands/ucode/template/commands.ut:137 msgid "Custom Commands" msgstr "Brugerdefinerede kommandoer" -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:21 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:26 msgid "Custom arguments" msgstr "Brugerdefinerede argumenter" -#: applications/luci-app-commands/luasrc/controller/commands.lua:8 +#: applications/luci-app-commands/root/usr/share/luci/menu.d/luci-app-commands.json:14 msgid "Dashboard" msgstr "Dashboard" -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:15 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:18 msgid "Description" msgstr "Beskrivelse" -#: applications/luci-app-commands/luasrc/view/commands.htm:166 +#: applications/luci-app-commands/ucode/template/commands.ut:160 msgid "Download" msgstr "Download" -#: applications/luci-app-commands/luasrc/view/commands.htm:123 +#: applications/luci-app-commands/ucode/template/commands.ut:117 msgid "Download execution result" msgstr "Download udførelsesresultat" -#: applications/luci-app-commands/luasrc/view/commands.htm:79 +#: applications/luci-app-commands/ucode/template/commands.ut:73 msgid "Failed to execute command!" msgstr "Kunne ikke udføre kommandoen!" @@ -111,35 +111,35 @@ msgstr "Kunne ikke udføre kommandoen!" msgid "Grant UCI access for luci-app-commands" msgstr "Giv UCI-adgang til luci-app-kommandoer" -#: applications/luci-app-commands/luasrc/view/commands.htm:168 +#: applications/luci-app-commands/ucode/template/commands.ut:162 msgid "Link" msgstr "Link" -#: applications/luci-app-commands/luasrc/view/commands.htm:53 +#: applications/luci-app-commands/ucode/template/commands.ut:47 msgid "Loading" msgstr "Indlæser" -#: applications/luci-app-commands/luasrc/view/commands.htm:123 +#: applications/luci-app-commands/ucode/template/commands.ut:117 msgid "Or display result" msgstr "Eller vis resultatet" -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:24 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:29 msgid "Public access" msgstr "Offentlig adgang" -#: applications/luci-app-commands/luasrc/view/commands.htm:165 +#: applications/luci-app-commands/ucode/template/commands.ut:159 msgid "Run" msgstr "Kør" -#: applications/luci-app-commands/luasrc/view/commands_public.htm:41 +#: applications/luci-app-commands/ucode/template/commands_public.ut:44 msgid "Standard Error" msgstr "Standard fejl" -#: applications/luci-app-commands/luasrc/view/commands_public.htm:36 +#: applications/luci-app-commands/ucode/template/commands_public.ut:39 msgid "Standard Output" msgstr "Standard Output" -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:7 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:11 msgid "" "This page allows you to configure custom shell commands which can be easily " "invoked from the web interface." @@ -147,13 +147,16 @@ msgstr "" "Denne side giver dig mulighed for at konfigurere brugerdefinerede shell-" "kommandoer, som nemt kan fremkaldes fra web interface." -#: applications/luci-app-commands/luasrc/view/commands.htm:150 +#: applications/luci-app-commands/ucode/template/commands.ut:144 msgid "This section contains no values yet" msgstr "Denne sektion indeholder endnu ingen værdier" -#: applications/luci-app-commands/luasrc/view/commands.htm:54 +#: applications/luci-app-commands/ucode/template/commands.ut:48 msgid "Waiting for command to complete..." msgstr "Venter på, at kommandoen er fuldført..." +#~ msgid "Command exited with status code" +#~ msgstr "Kommando afslutede med statuskode" + #~ msgid "Command exited with status code " #~ msgstr "Command exited with status code " diff --git a/applications/luci-app-commands/po/de/commands.po b/applications/luci-app-commands/po/de/commands.po index 8f6f8b2dd3..01f945ef23 100644 --- a/applications/luci-app-commands/po/de/commands.po +++ b/applications/luci-app-commands/po/de/commands.po @@ -1,8 +1,8 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" -"PO-Revision-Date: 2020-10-20 05:26+0000\n" -"Last-Translator: Andreas Götz <agoetz@tdt.de>\n" +"PO-Revision-Date: 2022-10-30 15:06+0000\n" +"Last-Translator: ssantos <ssantos@web.de>\n" "Language-Team: German <https://hosted.weblate.org/projects/openwrt/" "luciapplicationscommands/de/>\n" "Language: de\n" @@ -10,13 +10,13 @@ msgstr "" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=n != 1;\n" -"X-Generator: Weblate 4.3.1-dev\n" +"X-Generator: Weblate 4.14.2-dev\n" -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:16 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:19 msgid "A short textual description of the configured command" msgstr "Eine kurze Beschreibung des konfigurierten Befehls" -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:25 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:30 msgid "" "Allow executing the command and downloading its output without prior " "authentication" @@ -24,85 +24,85 @@ msgstr "" "Ausführen des Kommandos und Herunterladen der Ausgabe ohne vorherige " "Authentifizierung ermöglichen" -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:22 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:27 msgid "Allow the user to provide additional command line arguments" msgstr "Erlaube dem Nutzer zusätzliche Kommandozeilenargumente zu übergeben" -#: applications/luci-app-commands/luasrc/view/commands.htm:162 +#: applications/luci-app-commands/ucode/template/commands.ut:156 msgid "Arguments:" msgstr "Argumente:" -#: applications/luci-app-commands/luasrc/view/commands.htm:66 +#: applications/luci-app-commands/ucode/template/commands.ut:60 msgid "Binary data not displayed, download instead." msgstr "Binärdaten ausgeblendet, laden Sie die Ausgaben stattdessen herunter." -#: applications/luci-app-commands/luasrc/view/commands.htm:71 +#: applications/luci-app-commands/ucode/template/commands.ut:65 msgid "Code:" msgstr "Rückgabewert:" -#: applications/luci-app-commands/luasrc/view/commands.htm:182 +#: applications/luci-app-commands/ucode/template/commands.ut:174 msgid "Collecting data..." msgstr "Sammle Daten..." -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:18 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:21 msgid "Command" msgstr "Befehl" -#: applications/luci-app-commands/luasrc/view/commands_public.htm:30 +#: applications/luci-app-commands/ucode/template/commands_public.ut:32 msgid "Command executed successfully." msgstr "Befehl erfolgreich ausgeführt." -#: applications/luci-app-commands/luasrc/view/commands_public.htm:32 -msgid "Command exited with status code" -msgstr "Befehl wurde mit einem Rückgabewert beendet" +#: applications/luci-app-commands/ucode/template/commands_public.ut:34 +msgid "Command exited with status code %d" +msgstr "Befehl wurde mit Statuscode %d beendet" -#: applications/luci-app-commands/luasrc/view/commands.htm:73 +#: applications/luci-app-commands/ucode/template/commands.ut:67 msgid "Command failed" msgstr "Befehl fehlgeschlagen" -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:19 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:21 msgid "Command line to execute" msgstr "Auszuführende Kommandozeile" -#: applications/luci-app-commands/luasrc/view/commands.htm:73 +#: applications/luci-app-commands/ucode/template/commands.ut:67 msgid "Command successful" msgstr "Kommando erfolgreich" -#: applications/luci-app-commands/luasrc/view/commands.htm:160 +#: applications/luci-app-commands/ucode/template/commands.ut:154 msgid "Command:" msgstr "Kommando:" -#: applications/luci-app-commands/luasrc/controller/commands.lua:9 +#: applications/luci-app-commands/root/usr/share/luci/menu.d/luci-app-commands.json:23 msgid "Configure" msgstr "Konfigurieren" -#: applications/luci-app-commands/luasrc/controller/commands.lua:7 -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:6 -#: applications/luci-app-commands/luasrc/view/commands.htm:144 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:10 +#: applications/luci-app-commands/root/usr/share/luci/menu.d/luci-app-commands.json:3 +#: applications/luci-app-commands/ucode/template/commands.ut:137 msgid "Custom Commands" msgstr "Benutzerdefinierte Kommandos" -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:21 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:26 msgid "Custom arguments" msgstr "Benutzerdefinierte Argumente" -#: applications/luci-app-commands/luasrc/controller/commands.lua:8 +#: applications/luci-app-commands/root/usr/share/luci/menu.d/luci-app-commands.json:14 msgid "Dashboard" msgstr "Übersicht" -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:15 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:18 msgid "Description" msgstr "Beschreibung" -#: applications/luci-app-commands/luasrc/view/commands.htm:166 +#: applications/luci-app-commands/ucode/template/commands.ut:160 msgid "Download" msgstr "Download" -#: applications/luci-app-commands/luasrc/view/commands.htm:123 +#: applications/luci-app-commands/ucode/template/commands.ut:117 msgid "Download execution result" msgstr "Programmausgabe herunterladen" -#: applications/luci-app-commands/luasrc/view/commands.htm:79 +#: applications/luci-app-commands/ucode/template/commands.ut:73 msgid "Failed to execute command!" msgstr "Befehl konnte nicht ausgeführt werden!" @@ -110,35 +110,35 @@ msgstr "Befehl konnte nicht ausgeführt werden!" msgid "Grant UCI access for luci-app-commands" msgstr "Gewähre UCI Zugriff auf luci-app-commands" -#: applications/luci-app-commands/luasrc/view/commands.htm:168 +#: applications/luci-app-commands/ucode/template/commands.ut:162 msgid "Link" msgstr "Link" -#: applications/luci-app-commands/luasrc/view/commands.htm:53 +#: applications/luci-app-commands/ucode/template/commands.ut:47 msgid "Loading" msgstr "Lade" -#: applications/luci-app-commands/luasrc/view/commands.htm:123 +#: applications/luci-app-commands/ucode/template/commands.ut:117 msgid "Or display result" msgstr "Oder Ergebnis anzeigen" -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:24 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:29 msgid "Public access" msgstr "Öffentlicher Zugriff" -#: applications/luci-app-commands/luasrc/view/commands.htm:165 +#: applications/luci-app-commands/ucode/template/commands.ut:159 msgid "Run" msgstr "Ausführen" -#: applications/luci-app-commands/luasrc/view/commands_public.htm:41 +#: applications/luci-app-commands/ucode/template/commands_public.ut:44 msgid "Standard Error" msgstr "Fehlerausgabe" -#: applications/luci-app-commands/luasrc/view/commands_public.htm:36 +#: applications/luci-app-commands/ucode/template/commands_public.ut:39 msgid "Standard Output" msgstr "Standardausgabe" -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:7 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:11 msgid "" "This page allows you to configure custom shell commands which can be easily " "invoked from the web interface." @@ -146,13 +146,16 @@ msgstr "" "Diese Seite ermöglicht die Konfiguration eigener Shell-Kommandos um diese " "einfach über das Webinterface ausführen zu können." -#: applications/luci-app-commands/luasrc/view/commands.htm:150 +#: applications/luci-app-commands/ucode/template/commands.ut:144 msgid "This section contains no values yet" msgstr "Dieser Abschnitt enthält noch keine Werte" -#: applications/luci-app-commands/luasrc/view/commands.htm:54 +#: applications/luci-app-commands/ucode/template/commands.ut:48 msgid "Waiting for command to complete..." msgstr "Der Befehl wird ausgeführt..." +#~ msgid "Command exited with status code" +#~ msgstr "Befehl wurde mit einem Rückgabewert beendet" + #~ msgid "Access command with" #~ msgstr "Kommando aufrufen mit" diff --git a/applications/luci-app-commands/po/el/commands.po b/applications/luci-app-commands/po/el/commands.po index a4ad21ffe8..7e4c731f15 100644 --- a/applications/luci-app-commands/po/el/commands.po +++ b/applications/luci-app-commands/po/el/commands.po @@ -12,95 +12,95 @@ msgstr "" "Plural-Forms: nplurals=2; plural=n != 1;\n" "X-Generator: Weblate 4.13-dev\n" -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:16 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:19 msgid "A short textual description of the configured command" msgstr "" -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:25 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:30 msgid "" "Allow executing the command and downloading its output without prior " "authentication" msgstr "" -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:22 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:27 msgid "Allow the user to provide additional command line arguments" msgstr "" -#: applications/luci-app-commands/luasrc/view/commands.htm:162 +#: applications/luci-app-commands/ucode/template/commands.ut:156 msgid "Arguments:" msgstr "" -#: applications/luci-app-commands/luasrc/view/commands.htm:66 +#: applications/luci-app-commands/ucode/template/commands.ut:60 msgid "Binary data not displayed, download instead." msgstr "" -#: applications/luci-app-commands/luasrc/view/commands.htm:71 +#: applications/luci-app-commands/ucode/template/commands.ut:65 msgid "Code:" msgstr "" -#: applications/luci-app-commands/luasrc/view/commands.htm:182 +#: applications/luci-app-commands/ucode/template/commands.ut:174 msgid "Collecting data..." msgstr "Συλλογή δεδομένων..." -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:18 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:21 msgid "Command" msgstr "" -#: applications/luci-app-commands/luasrc/view/commands_public.htm:30 +#: applications/luci-app-commands/ucode/template/commands_public.ut:32 msgid "Command executed successfully." msgstr "" -#: applications/luci-app-commands/luasrc/view/commands_public.htm:32 -msgid "Command exited with status code" +#: applications/luci-app-commands/ucode/template/commands_public.ut:34 +msgid "Command exited with status code %d" msgstr "" -#: applications/luci-app-commands/luasrc/view/commands.htm:73 +#: applications/luci-app-commands/ucode/template/commands.ut:67 msgid "Command failed" msgstr "" -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:19 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:21 msgid "Command line to execute" msgstr "" -#: applications/luci-app-commands/luasrc/view/commands.htm:73 +#: applications/luci-app-commands/ucode/template/commands.ut:67 msgid "Command successful" msgstr "" -#: applications/luci-app-commands/luasrc/view/commands.htm:160 +#: applications/luci-app-commands/ucode/template/commands.ut:154 msgid "Command:" msgstr "" -#: applications/luci-app-commands/luasrc/controller/commands.lua:9 +#: applications/luci-app-commands/root/usr/share/luci/menu.d/luci-app-commands.json:23 msgid "Configure" msgstr "" -#: applications/luci-app-commands/luasrc/controller/commands.lua:7 -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:6 -#: applications/luci-app-commands/luasrc/view/commands.htm:144 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:10 +#: applications/luci-app-commands/root/usr/share/luci/menu.d/luci-app-commands.json:3 +#: applications/luci-app-commands/ucode/template/commands.ut:137 msgid "Custom Commands" msgstr "" -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:21 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:26 msgid "Custom arguments" msgstr "" -#: applications/luci-app-commands/luasrc/controller/commands.lua:8 +#: applications/luci-app-commands/root/usr/share/luci/menu.d/luci-app-commands.json:14 msgid "Dashboard" msgstr "Ταμπλό" -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:15 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:18 msgid "Description" msgstr "Περιγραφή" -#: applications/luci-app-commands/luasrc/view/commands.htm:166 +#: applications/luci-app-commands/ucode/template/commands.ut:160 msgid "Download" msgstr "Λήψη" -#: applications/luci-app-commands/luasrc/view/commands.htm:123 +#: applications/luci-app-commands/ucode/template/commands.ut:117 msgid "Download execution result" msgstr "" -#: applications/luci-app-commands/luasrc/view/commands.htm:79 +#: applications/luci-app-commands/ucode/template/commands.ut:73 msgid "Failed to execute command!" msgstr "" @@ -108,44 +108,44 @@ msgstr "" msgid "Grant UCI access for luci-app-commands" msgstr "" -#: applications/luci-app-commands/luasrc/view/commands.htm:168 +#: applications/luci-app-commands/ucode/template/commands.ut:162 msgid "Link" msgstr "" -#: applications/luci-app-commands/luasrc/view/commands.htm:53 +#: applications/luci-app-commands/ucode/template/commands.ut:47 msgid "Loading" msgstr "Φόρτωση" -#: applications/luci-app-commands/luasrc/view/commands.htm:123 +#: applications/luci-app-commands/ucode/template/commands.ut:117 msgid "Or display result" msgstr "" -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:24 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:29 msgid "Public access" msgstr "" -#: applications/luci-app-commands/luasrc/view/commands.htm:165 +#: applications/luci-app-commands/ucode/template/commands.ut:159 msgid "Run" msgstr "" -#: applications/luci-app-commands/luasrc/view/commands_public.htm:41 +#: applications/luci-app-commands/ucode/template/commands_public.ut:44 msgid "Standard Error" msgstr "" -#: applications/luci-app-commands/luasrc/view/commands_public.htm:36 +#: applications/luci-app-commands/ucode/template/commands_public.ut:39 msgid "Standard Output" msgstr "" -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:7 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:11 msgid "" "This page allows you to configure custom shell commands which can be easily " "invoked from the web interface." msgstr "" -#: applications/luci-app-commands/luasrc/view/commands.htm:150 +#: applications/luci-app-commands/ucode/template/commands.ut:144 msgid "This section contains no values yet" msgstr "Αυτή η ενότητα δεν περιέχει ακόμη τιμές" -#: applications/luci-app-commands/luasrc/view/commands.htm:54 +#: applications/luci-app-commands/ucode/template/commands.ut:48 msgid "Waiting for command to complete..." msgstr "" diff --git a/applications/luci-app-commands/po/en/commands.po b/applications/luci-app-commands/po/en/commands.po index a5990ccaf0..7566d9a1a8 100644 --- a/applications/luci-app-commands/po/en/commands.po +++ b/applications/luci-app-commands/po/en/commands.po @@ -13,11 +13,11 @@ msgstr "" "Plural-Forms: nplurals=2; plural=n != 1;\n" "X-Generator: Weblate 4.7\n" -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:16 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:19 msgid "A short textual description of the configured command" msgstr "A short textual description of the configured command" -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:25 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:30 msgid "" "Allow executing the command and downloading its output without prior " "authentication" @@ -25,85 +25,85 @@ msgstr "" "Allow executing the command and downloading its output without prior " "authentication" -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:22 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:27 msgid "Allow the user to provide additional command line arguments" msgstr "Allow the user to provide additional command line arguments" -#: applications/luci-app-commands/luasrc/view/commands.htm:162 +#: applications/luci-app-commands/ucode/template/commands.ut:156 msgid "Arguments:" msgstr "Arguments:" -#: applications/luci-app-commands/luasrc/view/commands.htm:66 +#: applications/luci-app-commands/ucode/template/commands.ut:60 msgid "Binary data not displayed, download instead." msgstr "Binary data not displayed, download instead." -#: applications/luci-app-commands/luasrc/view/commands.htm:71 +#: applications/luci-app-commands/ucode/template/commands.ut:65 msgid "Code:" msgstr "Code:" -#: applications/luci-app-commands/luasrc/view/commands.htm:182 +#: applications/luci-app-commands/ucode/template/commands.ut:174 msgid "Collecting data..." msgstr "Collecting data..." -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:18 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:21 msgid "Command" msgstr "Command" -#: applications/luci-app-commands/luasrc/view/commands_public.htm:30 +#: applications/luci-app-commands/ucode/template/commands_public.ut:32 msgid "Command executed successfully." msgstr "Command executed successfully." -#: applications/luci-app-commands/luasrc/view/commands_public.htm:32 -msgid "Command exited with status code" -msgstr "Command exited with status code" +#: applications/luci-app-commands/ucode/template/commands_public.ut:34 +msgid "Command exited with status code %d" +msgstr "" -#: applications/luci-app-commands/luasrc/view/commands.htm:73 +#: applications/luci-app-commands/ucode/template/commands.ut:67 msgid "Command failed" msgstr "Command failed" -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:19 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:21 msgid "Command line to execute" msgstr "Command line to execute" -#: applications/luci-app-commands/luasrc/view/commands.htm:73 +#: applications/luci-app-commands/ucode/template/commands.ut:67 msgid "Command successful" msgstr "Command successful" -#: applications/luci-app-commands/luasrc/view/commands.htm:160 +#: applications/luci-app-commands/ucode/template/commands.ut:154 msgid "Command:" msgstr "Command:" -#: applications/luci-app-commands/luasrc/controller/commands.lua:9 +#: applications/luci-app-commands/root/usr/share/luci/menu.d/luci-app-commands.json:23 msgid "Configure" msgstr "Configure" -#: applications/luci-app-commands/luasrc/controller/commands.lua:7 -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:6 -#: applications/luci-app-commands/luasrc/view/commands.htm:144 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:10 +#: applications/luci-app-commands/root/usr/share/luci/menu.d/luci-app-commands.json:3 +#: applications/luci-app-commands/ucode/template/commands.ut:137 msgid "Custom Commands" msgstr "Custom Commands" -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:21 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:26 msgid "Custom arguments" msgstr "Custom arguments" -#: applications/luci-app-commands/luasrc/controller/commands.lua:8 +#: applications/luci-app-commands/root/usr/share/luci/menu.d/luci-app-commands.json:14 msgid "Dashboard" msgstr "Dashboard" -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:15 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:18 msgid "Description" msgstr "Description" -#: applications/luci-app-commands/luasrc/view/commands.htm:166 +#: applications/luci-app-commands/ucode/template/commands.ut:160 msgid "Download" msgstr "Download" -#: applications/luci-app-commands/luasrc/view/commands.htm:123 +#: applications/luci-app-commands/ucode/template/commands.ut:117 msgid "Download execution result" msgstr "Download execution result" -#: applications/luci-app-commands/luasrc/view/commands.htm:79 +#: applications/luci-app-commands/ucode/template/commands.ut:73 msgid "Failed to execute command!" msgstr "Failed to execute command!" @@ -111,35 +111,35 @@ msgstr "Failed to execute command!" msgid "Grant UCI access for luci-app-commands" msgstr "Grant UCI access for luci-app-commands" -#: applications/luci-app-commands/luasrc/view/commands.htm:168 +#: applications/luci-app-commands/ucode/template/commands.ut:162 msgid "Link" msgstr "Link" -#: applications/luci-app-commands/luasrc/view/commands.htm:53 +#: applications/luci-app-commands/ucode/template/commands.ut:47 msgid "Loading" msgstr "Loading" -#: applications/luci-app-commands/luasrc/view/commands.htm:123 +#: applications/luci-app-commands/ucode/template/commands.ut:117 msgid "Or display result" msgstr "Or display result" -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:24 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:29 msgid "Public access" msgstr "Public access" -#: applications/luci-app-commands/luasrc/view/commands.htm:165 +#: applications/luci-app-commands/ucode/template/commands.ut:159 msgid "Run" msgstr "Run" -#: applications/luci-app-commands/luasrc/view/commands_public.htm:41 +#: applications/luci-app-commands/ucode/template/commands_public.ut:44 msgid "Standard Error" msgstr "Standard Error" -#: applications/luci-app-commands/luasrc/view/commands_public.htm:36 +#: applications/luci-app-commands/ucode/template/commands_public.ut:39 msgid "Standard Output" msgstr "Standard Output" -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:7 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:11 msgid "" "This page allows you to configure custom shell commands which can be easily " "invoked from the web interface." @@ -147,13 +147,16 @@ msgstr "" "This page allows you to configure custom shell commands which can be easily " "invoked from the web interface." -#: applications/luci-app-commands/luasrc/view/commands.htm:150 +#: applications/luci-app-commands/ucode/template/commands.ut:144 msgid "This section contains no values yet" msgstr "" -#: applications/luci-app-commands/luasrc/view/commands.htm:54 +#: applications/luci-app-commands/ucode/template/commands.ut:48 msgid "Waiting for command to complete..." msgstr "Waiting for command to complete..." +#~ msgid "Command exited with status code" +#~ msgstr "Command exited with status code" + #~ msgid "Command exited with status code " #~ msgstr "Command exited with status code " diff --git a/applications/luci-app-commands/po/es/commands.po b/applications/luci-app-commands/po/es/commands.po index be8969f035..629d1e90bd 100644 --- a/applications/luci-app-commands/po/es/commands.po +++ b/applications/luci-app-commands/po/es/commands.po @@ -2,7 +2,7 @@ msgid "" msgstr "" "Project-Id-Version: \n" "POT-Creation-Date: \n" -"PO-Revision-Date: 2021-04-18 12:54+0000\n" +"PO-Revision-Date: 2022-10-28 15:05+0000\n" "Last-Translator: Franco Castillo <castillofrancodamian@gmail.com>\n" "Language-Team: Spanish <https://hosted.weblate.org/projects/openwrt/" "luciapplicationscommands/es/>\n" @@ -11,99 +11,100 @@ msgstr "" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=n != 1;\n" -"X-Generator: Weblate 4.6-dev\n" +"X-Generator: Weblate 4.14.2-dev\n" -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:16 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:19 msgid "A short textual description of the configured command" msgstr "Una breve descripción textual del comando configurado" -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:25 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:30 msgid "" "Allow executing the command and downloading its output without prior " "authentication" msgstr "" "Permitir ejecutar el comando y descargar su salida sin autenticación previa" -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:22 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:27 msgid "Allow the user to provide additional command line arguments" msgstr "" "Permitir al usuario proporcionar argumentos de línea de comando adicionales" -#: applications/luci-app-commands/luasrc/view/commands.htm:162 +#: applications/luci-app-commands/ucode/template/commands.ut:156 msgid "Arguments:" msgstr "Parámetros:" -#: applications/luci-app-commands/luasrc/view/commands.htm:66 +#: applications/luci-app-commands/ucode/template/commands.ut:60 msgid "Binary data not displayed, download instead." msgstr "No se pueden mostrar datos binarios; descárguelos." -#: applications/luci-app-commands/luasrc/view/commands.htm:71 +#: applications/luci-app-commands/ucode/template/commands.ut:65 msgid "Code:" msgstr "Código:" -#: applications/luci-app-commands/luasrc/view/commands.htm:182 +#: applications/luci-app-commands/ucode/template/commands.ut:174 msgid "Collecting data..." msgstr "Recolectando datos…" -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:18 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:21 msgid "Command" msgstr "Comando" -#: applications/luci-app-commands/luasrc/view/commands_public.htm:30 +#: applications/luci-app-commands/ucode/template/commands_public.ut:32 msgid "Command executed successfully." msgstr "La orden se ejecutó correctamente." -#: applications/luci-app-commands/luasrc/view/commands_public.htm:32 -msgid "Command exited with status code" -msgstr "El comando finalizó con un código de error" +#: applications/luci-app-commands/ucode/template/commands_public.ut:34 +#, fuzzy +msgid "Command exited with status code %d" +msgstr "Comando salido con el código de estado %d" -#: applications/luci-app-commands/luasrc/view/commands.htm:73 +#: applications/luci-app-commands/ucode/template/commands.ut:67 msgid "Command failed" msgstr "Comando fallido" -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:19 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:21 msgid "Command line to execute" msgstr "Línea de comandos para ejecutar" -#: applications/luci-app-commands/luasrc/view/commands.htm:73 +#: applications/luci-app-commands/ucode/template/commands.ut:67 msgid "Command successful" msgstr "Comando exitoso" -#: applications/luci-app-commands/luasrc/view/commands.htm:160 +#: applications/luci-app-commands/ucode/template/commands.ut:154 msgid "Command:" msgstr "Comando:" -#: applications/luci-app-commands/luasrc/controller/commands.lua:9 +#: applications/luci-app-commands/root/usr/share/luci/menu.d/luci-app-commands.json:23 msgid "Configure" msgstr "Configurar" -#: applications/luci-app-commands/luasrc/controller/commands.lua:7 -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:6 -#: applications/luci-app-commands/luasrc/view/commands.htm:144 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:10 +#: applications/luci-app-commands/root/usr/share/luci/menu.d/luci-app-commands.json:3 +#: applications/luci-app-commands/ucode/template/commands.ut:137 msgid "Custom Commands" msgstr "Comandos personalizados" -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:21 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:26 msgid "Custom arguments" msgstr "Parámetros personalizados" -#: applications/luci-app-commands/luasrc/controller/commands.lua:8 +#: applications/luci-app-commands/root/usr/share/luci/menu.d/luci-app-commands.json:14 msgid "Dashboard" msgstr "Tablero" -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:15 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:18 msgid "Description" msgstr "Descripción" -#: applications/luci-app-commands/luasrc/view/commands.htm:166 +#: applications/luci-app-commands/ucode/template/commands.ut:160 msgid "Download" msgstr "Descargar" -#: applications/luci-app-commands/luasrc/view/commands.htm:123 +#: applications/luci-app-commands/ucode/template/commands.ut:117 msgid "Download execution result" msgstr "Descargar resultado de ejecución" -#: applications/luci-app-commands/luasrc/view/commands.htm:79 +#: applications/luci-app-commands/ucode/template/commands.ut:73 msgid "Failed to execute command!" msgstr "Falló la ejecución del comando!" @@ -111,35 +112,35 @@ msgstr "Falló la ejecución del comando!" msgid "Grant UCI access for luci-app-commands" msgstr "Conceder acceso UCI para luci-app-command" -#: applications/luci-app-commands/luasrc/view/commands.htm:168 +#: applications/luci-app-commands/ucode/template/commands.ut:162 msgid "Link" msgstr "Enlace" -#: applications/luci-app-commands/luasrc/view/commands.htm:53 +#: applications/luci-app-commands/ucode/template/commands.ut:47 msgid "Loading" msgstr "Cargando" -#: applications/luci-app-commands/luasrc/view/commands.htm:123 +#: applications/luci-app-commands/ucode/template/commands.ut:117 msgid "Or display result" msgstr "O mostrar resultado" -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:24 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:29 msgid "Public access" msgstr "Acceso público" -#: applications/luci-app-commands/luasrc/view/commands.htm:165 +#: applications/luci-app-commands/ucode/template/commands.ut:159 msgid "Run" msgstr "Ejecutar" -#: applications/luci-app-commands/luasrc/view/commands_public.htm:41 +#: applications/luci-app-commands/ucode/template/commands_public.ut:44 msgid "Standard Error" msgstr "Error estándar" -#: applications/luci-app-commands/luasrc/view/commands_public.htm:36 +#: applications/luci-app-commands/ucode/template/commands_public.ut:39 msgid "Standard Output" msgstr "Salida estándar" -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:7 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:11 msgid "" "This page allows you to configure custom shell commands which can be easily " "invoked from the web interface." @@ -147,13 +148,16 @@ msgstr "" "Esta página le permite configurar comandos de shell personalizados que se " "pueden invocar fácilmente desde la interfaz web." -#: applications/luci-app-commands/luasrc/view/commands.htm:150 +#: applications/luci-app-commands/ucode/template/commands.ut:144 msgid "This section contains no values yet" msgstr "Esta sección aún no contiene valores" -#: applications/luci-app-commands/luasrc/view/commands.htm:54 +#: applications/luci-app-commands/ucode/template/commands.ut:48 msgid "Waiting for command to complete..." msgstr "Esperando a que se complete el comando..." +#~ msgid "Command exited with status code" +#~ msgstr "El comando finalizó con un código de error" + #~ msgid "Access command with" #~ msgstr "Acceder al comando con" diff --git a/applications/luci-app-commands/po/fi/commands.po b/applications/luci-app-commands/po/fi/commands.po index 9db4dfba95..4ec703852b 100644 --- a/applications/luci-app-commands/po/fi/commands.po +++ b/applications/luci-app-commands/po/fi/commands.po @@ -13,11 +13,11 @@ msgstr "" "Plural-Forms: nplurals=2; plural=n != 1;\n" "X-Generator: Weblate 4.12-dev\n" -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:16 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:19 msgid "A short textual description of the configured command" msgstr "Määritetyn komennon lyhyt kuvaus" -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:25 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:30 msgid "" "Allow executing the command and downloading its output without prior " "authentication" @@ -25,85 +25,85 @@ msgstr "" "Salli komennon suoritus ja sen tuloksen lataaminen ilman erillistä " "hyväksyntää" -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:22 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:27 msgid "Allow the user to provide additional command line arguments" msgstr "Salli käyttäjän määritellä lisää komentoriviargumentteja" -#: applications/luci-app-commands/luasrc/view/commands.htm:162 +#: applications/luci-app-commands/ucode/template/commands.ut:156 msgid "Arguments:" msgstr "Argumentit:" -#: applications/luci-app-commands/luasrc/view/commands.htm:66 +#: applications/luci-app-commands/ucode/template/commands.ut:60 msgid "Binary data not displayed, download instead." msgstr "Binääridataa ei näytetä. Lataa se." -#: applications/luci-app-commands/luasrc/view/commands.htm:71 +#: applications/luci-app-commands/ucode/template/commands.ut:65 msgid "Code:" msgstr "Koodi:" -#: applications/luci-app-commands/luasrc/view/commands.htm:182 +#: applications/luci-app-commands/ucode/template/commands.ut:174 msgid "Collecting data..." msgstr "Kerätään tietoja…" -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:18 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:21 msgid "Command" msgstr "Komento" -#: applications/luci-app-commands/luasrc/view/commands_public.htm:30 +#: applications/luci-app-commands/ucode/template/commands_public.ut:32 msgid "Command executed successfully." msgstr "Komento suoritettu onnistuneesti." -#: applications/luci-app-commands/luasrc/view/commands_public.htm:32 -msgid "Command exited with status code" -msgstr "Komento päättyi statuskoodiin" +#: applications/luci-app-commands/ucode/template/commands_public.ut:34 +msgid "Command exited with status code %d" +msgstr "" -#: applications/luci-app-commands/luasrc/view/commands.htm:73 +#: applications/luci-app-commands/ucode/template/commands.ut:67 msgid "Command failed" msgstr "Komento epäonnistui" -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:19 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:21 msgid "Command line to execute" msgstr "Suoritettava komentorivi" -#: applications/luci-app-commands/luasrc/view/commands.htm:73 +#: applications/luci-app-commands/ucode/template/commands.ut:67 msgid "Command successful" msgstr "Komento onnistui" -#: applications/luci-app-commands/luasrc/view/commands.htm:160 +#: applications/luci-app-commands/ucode/template/commands.ut:154 msgid "Command:" msgstr "Komento:" -#: applications/luci-app-commands/luasrc/controller/commands.lua:9 +#: applications/luci-app-commands/root/usr/share/luci/menu.d/luci-app-commands.json:23 msgid "Configure" msgstr "Asetukset" -#: applications/luci-app-commands/luasrc/controller/commands.lua:7 -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:6 -#: applications/luci-app-commands/luasrc/view/commands.htm:144 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:10 +#: applications/luci-app-commands/root/usr/share/luci/menu.d/luci-app-commands.json:3 +#: applications/luci-app-commands/ucode/template/commands.ut:137 msgid "Custom Commands" msgstr "Räätälöidyt komennot" -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:21 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:26 msgid "Custom arguments" msgstr "Erilliset argumentit" -#: applications/luci-app-commands/luasrc/controller/commands.lua:8 +#: applications/luci-app-commands/root/usr/share/luci/menu.d/luci-app-commands.json:14 msgid "Dashboard" msgstr "Kojelauta" -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:15 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:18 msgid "Description" msgstr "Kuvaus" -#: applications/luci-app-commands/luasrc/view/commands.htm:166 +#: applications/luci-app-commands/ucode/template/commands.ut:160 msgid "Download" msgstr "Lataus" -#: applications/luci-app-commands/luasrc/view/commands.htm:123 +#: applications/luci-app-commands/ucode/template/commands.ut:117 msgid "Download execution result" msgstr "Lataa suorituksen tulos" -#: applications/luci-app-commands/luasrc/view/commands.htm:79 +#: applications/luci-app-commands/ucode/template/commands.ut:73 msgid "Failed to execute command!" msgstr "Komennon suorittaminen epäonnistui!" @@ -111,35 +111,35 @@ msgstr "Komennon suorittaminen epäonnistui!" msgid "Grant UCI access for luci-app-commands" msgstr "Salli pääsy räätälöityjen komentojen asetuksiin" -#: applications/luci-app-commands/luasrc/view/commands.htm:168 +#: applications/luci-app-commands/ucode/template/commands.ut:162 msgid "Link" msgstr "Linkki" -#: applications/luci-app-commands/luasrc/view/commands.htm:53 +#: applications/luci-app-commands/ucode/template/commands.ut:47 msgid "Loading" msgstr "Ladataan" -#: applications/luci-app-commands/luasrc/view/commands.htm:123 +#: applications/luci-app-commands/ucode/template/commands.ut:117 msgid "Or display result" msgstr "Tai näytä tulos" -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:24 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:29 msgid "Public access" msgstr "Julkinen pääsy" -#: applications/luci-app-commands/luasrc/view/commands.htm:165 +#: applications/luci-app-commands/ucode/template/commands.ut:159 msgid "Run" msgstr "Suorita" -#: applications/luci-app-commands/luasrc/view/commands_public.htm:41 +#: applications/luci-app-commands/ucode/template/commands_public.ut:44 msgid "Standard Error" msgstr "Vakiovirhe" -#: applications/luci-app-commands/luasrc/view/commands_public.htm:36 +#: applications/luci-app-commands/ucode/template/commands_public.ut:39 msgid "Standard Output" msgstr "Vakiotulos" -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:7 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:11 msgid "" "This page allows you to configure custom shell commands which can be easily " "invoked from the web interface." @@ -147,13 +147,16 @@ msgstr "" "Tällä sivulla voit räätälöidä komentorivillä ajettavia komentoja, jotka " "voidaan sitten suorittaa helposti verkkoselaimesta käsin." -#: applications/luci-app-commands/luasrc/view/commands.htm:150 +#: applications/luci-app-commands/ucode/template/commands.ut:144 msgid "This section contains no values yet" msgstr "Tässä osassa ei ole vielä arvoja" -#: applications/luci-app-commands/luasrc/view/commands.htm:54 +#: applications/luci-app-commands/ucode/template/commands.ut:48 msgid "Waiting for command to complete..." msgstr "Odotetaan komennon suorittamisen päättymistä..." +#~ msgid "Command exited with status code" +#~ msgstr "Komento päättyi statuskoodiin" + #~ msgid "Command exited with status code " #~ msgstr "Command exited with status code " diff --git a/applications/luci-app-commands/po/fr/commands.po b/applications/luci-app-commands/po/fr/commands.po index 76d8763e64..73ca750d5d 100644 --- a/applications/luci-app-commands/po/fr/commands.po +++ b/applications/luci-app-commands/po/fr/commands.po @@ -12,11 +12,11 @@ msgstr "" "Plural-Forms: nplurals=2; plural=n > 1;\n" "X-Generator: Weblate 4.1-dev\n" -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:16 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:19 msgid "A short textual description of the configured command" msgstr "Une courte description de la commande configurée" -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:25 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:30 msgid "" "Allow executing the command and downloading its output without prior " "authentication" @@ -24,87 +24,87 @@ msgstr "" "Autoriser l'exécution de la commande et le téléchargement de son résultat " "sans authentification préalable" -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:22 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:27 msgid "Allow the user to provide additional command line arguments" msgstr "" "Autoriser l'utilisateur à fournir des arguments de ligne de commande " "supplémentaires" -#: applications/luci-app-commands/luasrc/view/commands.htm:162 +#: applications/luci-app-commands/ucode/template/commands.ut:156 msgid "Arguments:" msgstr "Arguments :" -#: applications/luci-app-commands/luasrc/view/commands.htm:66 +#: applications/luci-app-commands/ucode/template/commands.ut:60 msgid "Binary data not displayed, download instead." msgstr "Données binaires non affichables, elle peuvent être téléchargées." -#: applications/luci-app-commands/luasrc/view/commands.htm:71 +#: applications/luci-app-commands/ucode/template/commands.ut:65 msgid "Code:" msgstr "Code :" -#: applications/luci-app-commands/luasrc/view/commands.htm:182 +#: applications/luci-app-commands/ucode/template/commands.ut:174 msgid "Collecting data..." msgstr "Récupération des données…" -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:18 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:21 msgid "Command" msgstr "Commande" -#: applications/luci-app-commands/luasrc/view/commands_public.htm:30 +#: applications/luci-app-commands/ucode/template/commands_public.ut:32 msgid "Command executed successfully." msgstr "Commande exécutée avec succès." -#: applications/luci-app-commands/luasrc/view/commands_public.htm:32 -msgid "Command exited with status code" -msgstr "La commande s'est arrêtée avec un code de sortie" +#: applications/luci-app-commands/ucode/template/commands_public.ut:34 +msgid "Command exited with status code %d" +msgstr "" -#: applications/luci-app-commands/luasrc/view/commands.htm:73 +#: applications/luci-app-commands/ucode/template/commands.ut:67 msgid "Command failed" msgstr "Échec de la commande" -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:19 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:21 msgid "Command line to execute" msgstr "Ligne de commande à exécuter" -#: applications/luci-app-commands/luasrc/view/commands.htm:73 +#: applications/luci-app-commands/ucode/template/commands.ut:67 msgid "Command successful" msgstr "Commande réussie" -#: applications/luci-app-commands/luasrc/view/commands.htm:160 +#: applications/luci-app-commands/ucode/template/commands.ut:154 msgid "Command:" msgstr "Commande :" -#: applications/luci-app-commands/luasrc/controller/commands.lua:9 +#: applications/luci-app-commands/root/usr/share/luci/menu.d/luci-app-commands.json:23 msgid "Configure" msgstr "Configurer" -#: applications/luci-app-commands/luasrc/controller/commands.lua:7 -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:6 -#: applications/luci-app-commands/luasrc/view/commands.htm:144 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:10 +#: applications/luci-app-commands/root/usr/share/luci/menu.d/luci-app-commands.json:3 +#: applications/luci-app-commands/ucode/template/commands.ut:137 msgid "Custom Commands" msgstr "Commandes personnalisées" -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:21 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:26 msgid "Custom arguments" msgstr "Arguments personnalisés" -#: applications/luci-app-commands/luasrc/controller/commands.lua:8 +#: applications/luci-app-commands/root/usr/share/luci/menu.d/luci-app-commands.json:14 msgid "Dashboard" msgstr "Tableau de bord" -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:15 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:18 msgid "Description" msgstr "Description" -#: applications/luci-app-commands/luasrc/view/commands.htm:166 +#: applications/luci-app-commands/ucode/template/commands.ut:160 msgid "Download" msgstr "Télécharger" -#: applications/luci-app-commands/luasrc/view/commands.htm:123 +#: applications/luci-app-commands/ucode/template/commands.ut:117 msgid "Download execution result" msgstr "Télécharger le résultat de l'exécution" -#: applications/luci-app-commands/luasrc/view/commands.htm:79 +#: applications/luci-app-commands/ucode/template/commands.ut:73 msgid "Failed to execute command!" msgstr "Échec de l'exécution de la commande !" @@ -112,35 +112,35 @@ msgstr "Échec de l'exécution de la commande !" msgid "Grant UCI access for luci-app-commands" msgstr "Accorder tout accès UCI a luci-app-commands" -#: applications/luci-app-commands/luasrc/view/commands.htm:168 +#: applications/luci-app-commands/ucode/template/commands.ut:162 msgid "Link" msgstr "Lien" -#: applications/luci-app-commands/luasrc/view/commands.htm:53 +#: applications/luci-app-commands/ucode/template/commands.ut:47 msgid "Loading" msgstr "Chargement" -#: applications/luci-app-commands/luasrc/view/commands.htm:123 +#: applications/luci-app-commands/ucode/template/commands.ut:117 msgid "Or display result" msgstr "Ou afficher le résultat" -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:24 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:29 msgid "Public access" msgstr "Accès public" -#: applications/luci-app-commands/luasrc/view/commands.htm:165 +#: applications/luci-app-commands/ucode/template/commands.ut:159 msgid "Run" msgstr "Exécuter" -#: applications/luci-app-commands/luasrc/view/commands_public.htm:41 +#: applications/luci-app-commands/ucode/template/commands_public.ut:44 msgid "Standard Error" msgstr "Erreur standard" -#: applications/luci-app-commands/luasrc/view/commands_public.htm:36 +#: applications/luci-app-commands/ucode/template/commands_public.ut:39 msgid "Standard Output" msgstr "Sortie standard" -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:7 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:11 msgid "" "This page allows you to configure custom shell commands which can be easily " "invoked from the web interface." @@ -148,13 +148,16 @@ msgstr "" "Cette page vous permet de configurer des commandes shell personnalisées, " "pouvant être invoquées facilement depuis l'interface web." -#: applications/luci-app-commands/luasrc/view/commands.htm:150 +#: applications/luci-app-commands/ucode/template/commands.ut:144 msgid "This section contains no values yet" msgstr "Cette section ne contient pas encore de valeur" -#: applications/luci-app-commands/luasrc/view/commands.htm:54 +#: applications/luci-app-commands/ucode/template/commands.ut:48 msgid "Waiting for command to complete..." msgstr "En attente que la commande se termine…" +#~ msgid "Command exited with status code" +#~ msgstr "La commande s'est arrêtée avec un code de sortie" + #~ msgid "Access command with" #~ msgstr "Accéder à la commande par" diff --git a/applications/luci-app-commands/po/he/commands.po b/applications/luci-app-commands/po/he/commands.po index 781d041f69..8fd2531b38 100644 --- a/applications/luci-app-commands/po/he/commands.po +++ b/applications/luci-app-commands/po/he/commands.po @@ -12,95 +12,95 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" "X-Generator: Weblate 4.5-dev\n" -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:16 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:19 msgid "A short textual description of the configured command" msgstr "תיאור טקסטואלי קצר של הפקודה שהוגדרה" -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:25 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:30 msgid "" "Allow executing the command and downloading its output without prior " "authentication" msgstr "" -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:22 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:27 msgid "Allow the user to provide additional command line arguments" msgstr "" -#: applications/luci-app-commands/luasrc/view/commands.htm:162 +#: applications/luci-app-commands/ucode/template/commands.ut:156 msgid "Arguments:" msgstr "" -#: applications/luci-app-commands/luasrc/view/commands.htm:66 +#: applications/luci-app-commands/ucode/template/commands.ut:60 msgid "Binary data not displayed, download instead." msgstr "" -#: applications/luci-app-commands/luasrc/view/commands.htm:71 +#: applications/luci-app-commands/ucode/template/commands.ut:65 msgid "Code:" msgstr "" -#: applications/luci-app-commands/luasrc/view/commands.htm:182 +#: applications/luci-app-commands/ucode/template/commands.ut:174 msgid "Collecting data..." msgstr "נאספים נתונים…" -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:18 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:21 msgid "Command" msgstr "" -#: applications/luci-app-commands/luasrc/view/commands_public.htm:30 +#: applications/luci-app-commands/ucode/template/commands_public.ut:32 msgid "Command executed successfully." msgstr "" -#: applications/luci-app-commands/luasrc/view/commands_public.htm:32 -msgid "Command exited with status code" +#: applications/luci-app-commands/ucode/template/commands_public.ut:34 +msgid "Command exited with status code %d" msgstr "" -#: applications/luci-app-commands/luasrc/view/commands.htm:73 +#: applications/luci-app-commands/ucode/template/commands.ut:67 msgid "Command failed" msgstr "" -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:19 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:21 msgid "Command line to execute" msgstr "" -#: applications/luci-app-commands/luasrc/view/commands.htm:73 +#: applications/luci-app-commands/ucode/template/commands.ut:67 msgid "Command successful" msgstr "" -#: applications/luci-app-commands/luasrc/view/commands.htm:160 +#: applications/luci-app-commands/ucode/template/commands.ut:154 msgid "Command:" msgstr "" -#: applications/luci-app-commands/luasrc/controller/commands.lua:9 +#: applications/luci-app-commands/root/usr/share/luci/menu.d/luci-app-commands.json:23 msgid "Configure" msgstr "" -#: applications/luci-app-commands/luasrc/controller/commands.lua:7 -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:6 -#: applications/luci-app-commands/luasrc/view/commands.htm:144 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:10 +#: applications/luci-app-commands/root/usr/share/luci/menu.d/luci-app-commands.json:3 +#: applications/luci-app-commands/ucode/template/commands.ut:137 msgid "Custom Commands" msgstr "" -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:21 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:26 msgid "Custom arguments" msgstr "" -#: applications/luci-app-commands/luasrc/controller/commands.lua:8 +#: applications/luci-app-commands/root/usr/share/luci/menu.d/luci-app-commands.json:14 msgid "Dashboard" msgstr "" -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:15 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:18 msgid "Description" msgstr "תיאור" -#: applications/luci-app-commands/luasrc/view/commands.htm:166 +#: applications/luci-app-commands/ucode/template/commands.ut:160 msgid "Download" msgstr "" -#: applications/luci-app-commands/luasrc/view/commands.htm:123 +#: applications/luci-app-commands/ucode/template/commands.ut:117 msgid "Download execution result" msgstr "" -#: applications/luci-app-commands/luasrc/view/commands.htm:79 +#: applications/luci-app-commands/ucode/template/commands.ut:73 msgid "Failed to execute command!" msgstr "" @@ -108,44 +108,44 @@ msgstr "" msgid "Grant UCI access for luci-app-commands" msgstr "" -#: applications/luci-app-commands/luasrc/view/commands.htm:168 +#: applications/luci-app-commands/ucode/template/commands.ut:162 msgid "Link" msgstr "" -#: applications/luci-app-commands/luasrc/view/commands.htm:53 +#: applications/luci-app-commands/ucode/template/commands.ut:47 msgid "Loading" msgstr "" -#: applications/luci-app-commands/luasrc/view/commands.htm:123 +#: applications/luci-app-commands/ucode/template/commands.ut:117 msgid "Or display result" msgstr "" -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:24 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:29 msgid "Public access" msgstr "" -#: applications/luci-app-commands/luasrc/view/commands.htm:165 +#: applications/luci-app-commands/ucode/template/commands.ut:159 msgid "Run" msgstr "" -#: applications/luci-app-commands/luasrc/view/commands_public.htm:41 +#: applications/luci-app-commands/ucode/template/commands_public.ut:44 msgid "Standard Error" msgstr "" -#: applications/luci-app-commands/luasrc/view/commands_public.htm:36 +#: applications/luci-app-commands/ucode/template/commands_public.ut:39 msgid "Standard Output" msgstr "" -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:7 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:11 msgid "" "This page allows you to configure custom shell commands which can be easily " "invoked from the web interface." msgstr "" -#: applications/luci-app-commands/luasrc/view/commands.htm:150 +#: applications/luci-app-commands/ucode/template/commands.ut:144 msgid "This section contains no values yet" msgstr "סעיף זה לא מכיל ערכים עדיין" -#: applications/luci-app-commands/luasrc/view/commands.htm:54 +#: applications/luci-app-commands/ucode/template/commands.ut:48 msgid "Waiting for command to complete..." msgstr "" diff --git a/applications/luci-app-commands/po/hi/commands.po b/applications/luci-app-commands/po/hi/commands.po index 848aa56840..fc0877c5ba 100644 --- a/applications/luci-app-commands/po/hi/commands.po +++ b/applications/luci-app-commands/po/hi/commands.po @@ -12,95 +12,95 @@ msgstr "" "Plural-Forms: nplurals=2; plural=n > 1;\n" "X-Generator: Poedit 1.8.11\n" -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:16 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:19 msgid "A short textual description of the configured command" msgstr "" -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:25 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:30 msgid "" "Allow executing the command and downloading its output without prior " "authentication" msgstr "" -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:22 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:27 msgid "Allow the user to provide additional command line arguments" msgstr "" -#: applications/luci-app-commands/luasrc/view/commands.htm:162 +#: applications/luci-app-commands/ucode/template/commands.ut:156 msgid "Arguments:" msgstr "" -#: applications/luci-app-commands/luasrc/view/commands.htm:66 +#: applications/luci-app-commands/ucode/template/commands.ut:60 msgid "Binary data not displayed, download instead." msgstr "" -#: applications/luci-app-commands/luasrc/view/commands.htm:71 +#: applications/luci-app-commands/ucode/template/commands.ut:65 msgid "Code:" msgstr "" -#: applications/luci-app-commands/luasrc/view/commands.htm:182 +#: applications/luci-app-commands/ucode/template/commands.ut:174 msgid "Collecting data..." msgstr "" -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:18 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:21 msgid "Command" msgstr "" -#: applications/luci-app-commands/luasrc/view/commands_public.htm:30 +#: applications/luci-app-commands/ucode/template/commands_public.ut:32 msgid "Command executed successfully." msgstr "" -#: applications/luci-app-commands/luasrc/view/commands_public.htm:32 -msgid "Command exited with status code" +#: applications/luci-app-commands/ucode/template/commands_public.ut:34 +msgid "Command exited with status code %d" msgstr "" -#: applications/luci-app-commands/luasrc/view/commands.htm:73 +#: applications/luci-app-commands/ucode/template/commands.ut:67 msgid "Command failed" msgstr "" -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:19 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:21 msgid "Command line to execute" msgstr "" -#: applications/luci-app-commands/luasrc/view/commands.htm:73 +#: applications/luci-app-commands/ucode/template/commands.ut:67 msgid "Command successful" msgstr "" -#: applications/luci-app-commands/luasrc/view/commands.htm:160 +#: applications/luci-app-commands/ucode/template/commands.ut:154 msgid "Command:" msgstr "" -#: applications/luci-app-commands/luasrc/controller/commands.lua:9 +#: applications/luci-app-commands/root/usr/share/luci/menu.d/luci-app-commands.json:23 msgid "Configure" msgstr "" -#: applications/luci-app-commands/luasrc/controller/commands.lua:7 -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:6 -#: applications/luci-app-commands/luasrc/view/commands.htm:144 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:10 +#: applications/luci-app-commands/root/usr/share/luci/menu.d/luci-app-commands.json:3 +#: applications/luci-app-commands/ucode/template/commands.ut:137 msgid "Custom Commands" msgstr "" -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:21 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:26 msgid "Custom arguments" msgstr "" -#: applications/luci-app-commands/luasrc/controller/commands.lua:8 +#: applications/luci-app-commands/root/usr/share/luci/menu.d/luci-app-commands.json:14 msgid "Dashboard" msgstr "" -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:15 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:18 msgid "Description" msgstr "" -#: applications/luci-app-commands/luasrc/view/commands.htm:166 +#: applications/luci-app-commands/ucode/template/commands.ut:160 msgid "Download" msgstr "" -#: applications/luci-app-commands/luasrc/view/commands.htm:123 +#: applications/luci-app-commands/ucode/template/commands.ut:117 msgid "Download execution result" msgstr "" -#: applications/luci-app-commands/luasrc/view/commands.htm:79 +#: applications/luci-app-commands/ucode/template/commands.ut:73 msgid "Failed to execute command!" msgstr "" @@ -108,45 +108,45 @@ msgstr "" msgid "Grant UCI access for luci-app-commands" msgstr "" -#: applications/luci-app-commands/luasrc/view/commands.htm:168 +#: applications/luci-app-commands/ucode/template/commands.ut:162 msgid "Link" msgstr "" -#: applications/luci-app-commands/luasrc/view/commands.htm:53 +#: applications/luci-app-commands/ucode/template/commands.ut:47 msgid "Loading" msgstr "" -#: applications/luci-app-commands/luasrc/view/commands.htm:123 +#: applications/luci-app-commands/ucode/template/commands.ut:117 msgid "Or display result" msgstr "" -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:24 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:29 msgid "Public access" msgstr "" -#: applications/luci-app-commands/luasrc/view/commands.htm:165 +#: applications/luci-app-commands/ucode/template/commands.ut:159 msgid "Run" msgstr "" -#: applications/luci-app-commands/luasrc/view/commands_public.htm:41 +#: applications/luci-app-commands/ucode/template/commands_public.ut:44 msgid "Standard Error" msgstr "" -#: applications/luci-app-commands/luasrc/view/commands_public.htm:36 +#: applications/luci-app-commands/ucode/template/commands_public.ut:39 msgid "Standard Output" msgstr "" -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:7 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:11 msgid "" "This page allows you to configure custom shell commands which can be easily " "invoked from the web interface." msgstr "" -#: applications/luci-app-commands/luasrc/view/commands.htm:150 +#: applications/luci-app-commands/ucode/template/commands.ut:144 msgid "This section contains no values yet" msgstr "" -#: applications/luci-app-commands/luasrc/view/commands.htm:54 +#: applications/luci-app-commands/ucode/template/commands.ut:48 msgid "Waiting for command to complete..." msgstr "" diff --git a/applications/luci-app-commands/po/hu/commands.po b/applications/luci-app-commands/po/hu/commands.po index 2543ae4f26..6fc3447d5e 100644 --- a/applications/luci-app-commands/po/hu/commands.po +++ b/applications/luci-app-commands/po/hu/commands.po @@ -12,11 +12,11 @@ msgstr "" "Plural-Forms: nplurals=2; plural=n != 1;\n" "X-Generator: Weblate 4.8-dev\n" -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:16 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:19 msgid "A short textual description of the configured command" msgstr "A beállított parancs rövid szöveges leírása" -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:25 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:30 msgid "" "Allow executing the command and downloading its output without prior " "authentication" @@ -24,87 +24,87 @@ msgstr "" "Lehetővé teszi a parancs végrehajtását és a kimenetének letöltését előzetes " "hitelesítés nélkül" -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:22 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:27 msgid "Allow the user to provide additional command line arguments" msgstr "" "Annak lehetővé tétele a felhasználó számára, hogy további parancssori " "argumentumokat adjon meg" -#: applications/luci-app-commands/luasrc/view/commands.htm:162 +#: applications/luci-app-commands/ucode/template/commands.ut:156 msgid "Arguments:" msgstr "Argumentumok:" -#: applications/luci-app-commands/luasrc/view/commands.htm:66 +#: applications/luci-app-commands/ucode/template/commands.ut:60 msgid "Binary data not displayed, download instead." msgstr "A bináris adat nem jelenik meg, töltse le inkább." -#: applications/luci-app-commands/luasrc/view/commands.htm:71 +#: applications/luci-app-commands/ucode/template/commands.ut:65 msgid "Code:" msgstr "Kód:" -#: applications/luci-app-commands/luasrc/view/commands.htm:182 +#: applications/luci-app-commands/ucode/template/commands.ut:174 msgid "Collecting data..." msgstr "Adatok összegyűjtése…" -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:18 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:21 msgid "Command" msgstr "Parancs" -#: applications/luci-app-commands/luasrc/view/commands_public.htm:30 +#: applications/luci-app-commands/ucode/template/commands_public.ut:32 msgid "Command executed successfully." msgstr "A parancs sikeresen végrehajtódott." -#: applications/luci-app-commands/luasrc/view/commands_public.htm:32 -msgid "Command exited with status code" -msgstr "A parancs állapotkóddal kilépett" +#: applications/luci-app-commands/ucode/template/commands_public.ut:34 +msgid "Command exited with status code %d" +msgstr "" -#: applications/luci-app-commands/luasrc/view/commands.htm:73 +#: applications/luci-app-commands/ucode/template/commands.ut:67 msgid "Command failed" msgstr "Parancs sikertelen" -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:19 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:21 msgid "Command line to execute" msgstr "Végrehajtandó parancssor" -#: applications/luci-app-commands/luasrc/view/commands.htm:73 +#: applications/luci-app-commands/ucode/template/commands.ut:67 msgid "Command successful" msgstr "A parancs sikeres" -#: applications/luci-app-commands/luasrc/view/commands.htm:160 +#: applications/luci-app-commands/ucode/template/commands.ut:154 msgid "Command:" msgstr "Parancs:" -#: applications/luci-app-commands/luasrc/controller/commands.lua:9 +#: applications/luci-app-commands/root/usr/share/luci/menu.d/luci-app-commands.json:23 msgid "Configure" msgstr "Beállítás" -#: applications/luci-app-commands/luasrc/controller/commands.lua:7 -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:6 -#: applications/luci-app-commands/luasrc/view/commands.htm:144 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:10 +#: applications/luci-app-commands/root/usr/share/luci/menu.d/luci-app-commands.json:3 +#: applications/luci-app-commands/ucode/template/commands.ut:137 msgid "Custom Commands" msgstr "Egyéni parancsok" -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:21 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:26 msgid "Custom arguments" msgstr "Egyéni argumentumok" -#: applications/luci-app-commands/luasrc/controller/commands.lua:8 +#: applications/luci-app-commands/root/usr/share/luci/menu.d/luci-app-commands.json:14 msgid "Dashboard" msgstr "Kezelőfelület" -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:15 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:18 msgid "Description" msgstr "Leírás" -#: applications/luci-app-commands/luasrc/view/commands.htm:166 +#: applications/luci-app-commands/ucode/template/commands.ut:160 msgid "Download" msgstr "Letöltés" -#: applications/luci-app-commands/luasrc/view/commands.htm:123 +#: applications/luci-app-commands/ucode/template/commands.ut:117 msgid "Download execution result" msgstr "Végrehajtás eredményének letöltése" -#: applications/luci-app-commands/luasrc/view/commands.htm:79 +#: applications/luci-app-commands/ucode/template/commands.ut:73 msgid "Failed to execute command!" msgstr "Parancs végrehajtása sikertelen!" @@ -112,35 +112,35 @@ msgstr "Parancs végrehajtása sikertelen!" msgid "Grant UCI access for luci-app-commands" msgstr "" -#: applications/luci-app-commands/luasrc/view/commands.htm:168 +#: applications/luci-app-commands/ucode/template/commands.ut:162 msgid "Link" msgstr "Hivatkozás" -#: applications/luci-app-commands/luasrc/view/commands.htm:53 +#: applications/luci-app-commands/ucode/template/commands.ut:47 msgid "Loading" msgstr "Betöltés" -#: applications/luci-app-commands/luasrc/view/commands.htm:123 +#: applications/luci-app-commands/ucode/template/commands.ut:117 msgid "Or display result" msgstr "Vagy az eredmény megjelenítése" -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:24 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:29 msgid "Public access" msgstr "Nyilvános hozzáférés" -#: applications/luci-app-commands/luasrc/view/commands.htm:165 +#: applications/luci-app-commands/ucode/template/commands.ut:159 msgid "Run" msgstr "Futtatás" -#: applications/luci-app-commands/luasrc/view/commands_public.htm:41 +#: applications/luci-app-commands/ucode/template/commands_public.ut:44 msgid "Standard Error" msgstr "Szabványos hiba" -#: applications/luci-app-commands/luasrc/view/commands_public.htm:36 +#: applications/luci-app-commands/ucode/template/commands_public.ut:39 msgid "Standard Output" msgstr "Szabványos kimenet" -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:7 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:11 msgid "" "This page allows you to configure custom shell commands which can be easily " "invoked from the web interface." @@ -148,13 +148,16 @@ msgstr "" "Ez az oldal lehetővé teszi az egyéni parancsértelmező parancsok beállítását, " "amelyek egyszerűen meghívhatók a webes felületről." -#: applications/luci-app-commands/luasrc/view/commands.htm:150 +#: applications/luci-app-commands/ucode/template/commands.ut:144 msgid "This section contains no values yet" msgstr "" -#: applications/luci-app-commands/luasrc/view/commands.htm:54 +#: applications/luci-app-commands/ucode/template/commands.ut:48 msgid "Waiting for command to complete..." msgstr "Várakozás a parancs befejeződésére…" +#~ msgid "Command exited with status code" +#~ msgstr "A parancs állapotkóddal kilépett" + #~ msgid "Access command with" #~ msgstr "Parancs hozzáférése" diff --git a/applications/luci-app-commands/po/it/commands.po b/applications/luci-app-commands/po/it/commands.po index 9d909467c1..b6937a6779 100644 --- a/applications/luci-app-commands/po/it/commands.po +++ b/applications/luci-app-commands/po/it/commands.po @@ -1,8 +1,8 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" -"PO-Revision-Date: 2021-11-15 14:07+0000\n" -"Last-Translator: coronabond <coronabond@airmail.cc>\n" +"PO-Revision-Date: 2022-10-10 21:04+0000\n" +"Last-Translator: garis <garis94@gmail.com>\n" "Language-Team: Italian <https://hosted.weblate.org/projects/openwrt/" "luciapplicationscommands/it/>\n" "Language: it\n" @@ -10,13 +10,13 @@ msgstr "" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=n != 1;\n" -"X-Generator: Weblate 4.9.1-dev\n" +"X-Generator: Weblate 4.14.1\n" -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:16 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:19 msgid "A short textual description of the configured command" msgstr "Una breve descrizione testuale del comando configurato" -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:25 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:30 msgid "" "Allow executing the command and downloading its output without prior " "authentication" @@ -24,86 +24,86 @@ msgstr "" "Consentire l'esecuzione del comando e il download del suo output senza " "previa autenticazione" -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:22 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:27 msgid "Allow the user to provide additional command line arguments" msgstr "" "Consente all'utente di fornire ulteriori argomenti della riga di comando" -#: applications/luci-app-commands/luasrc/view/commands.htm:162 +#: applications/luci-app-commands/ucode/template/commands.ut:156 msgid "Arguments:" msgstr "Argomenti:" -#: applications/luci-app-commands/luasrc/view/commands.htm:66 +#: applications/luci-app-commands/ucode/template/commands.ut:60 msgid "Binary data not displayed, download instead." msgstr "I dati binari non vengono visualizzati, ma possono essere scaricati." -#: applications/luci-app-commands/luasrc/view/commands.htm:71 +#: applications/luci-app-commands/ucode/template/commands.ut:65 msgid "Code:" msgstr "Codice:" -#: applications/luci-app-commands/luasrc/view/commands.htm:182 +#: applications/luci-app-commands/ucode/template/commands.ut:174 msgid "Collecting data..." -msgstr "Raccolta dati..." +msgstr "Sto raccogliendo i dati..." -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:18 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:21 msgid "Command" msgstr "Comando" -#: applications/luci-app-commands/luasrc/view/commands_public.htm:30 +#: applications/luci-app-commands/ucode/template/commands_public.ut:32 msgid "Command executed successfully." msgstr "Esecuzione comando completata." -#: applications/luci-app-commands/luasrc/view/commands_public.htm:32 -msgid "Command exited with status code" -msgstr "Comando uscito con codice stato" +#: applications/luci-app-commands/ucode/template/commands_public.ut:34 +msgid "Command exited with status code %d" +msgstr "" -#: applications/luci-app-commands/luasrc/view/commands.htm:73 +#: applications/luci-app-commands/ucode/template/commands.ut:67 msgid "Command failed" msgstr "Comando fallito" -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:19 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:21 msgid "Command line to execute" msgstr "Riga di comando da eseguire" -#: applications/luci-app-commands/luasrc/view/commands.htm:73 +#: applications/luci-app-commands/ucode/template/commands.ut:67 msgid "Command successful" msgstr "Comando riuscito" -#: applications/luci-app-commands/luasrc/view/commands.htm:160 +#: applications/luci-app-commands/ucode/template/commands.ut:154 msgid "Command:" msgstr "Comando:" -#: applications/luci-app-commands/luasrc/controller/commands.lua:9 +#: applications/luci-app-commands/root/usr/share/luci/menu.d/luci-app-commands.json:23 msgid "Configure" msgstr "Configura" -#: applications/luci-app-commands/luasrc/controller/commands.lua:7 -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:6 -#: applications/luci-app-commands/luasrc/view/commands.htm:144 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:10 +#: applications/luci-app-commands/root/usr/share/luci/menu.d/luci-app-commands.json:3 +#: applications/luci-app-commands/ucode/template/commands.ut:137 msgid "Custom Commands" msgstr "Comandi Personalizzati" -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:21 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:26 msgid "Custom arguments" msgstr "Argomenti Personalizzati" -#: applications/luci-app-commands/luasrc/controller/commands.lua:8 +#: applications/luci-app-commands/root/usr/share/luci/menu.d/luci-app-commands.json:14 msgid "Dashboard" msgstr "Pannello di controllo" -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:15 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:18 msgid "Description" msgstr "Descrizione" -#: applications/luci-app-commands/luasrc/view/commands.htm:166 +#: applications/luci-app-commands/ucode/template/commands.ut:160 msgid "Download" msgstr "Download" -#: applications/luci-app-commands/luasrc/view/commands.htm:123 +#: applications/luci-app-commands/ucode/template/commands.ut:117 msgid "Download execution result" msgstr "Risultato esecuzione download" -#: applications/luci-app-commands/luasrc/view/commands.htm:79 +#: applications/luci-app-commands/ucode/template/commands.ut:73 msgid "Failed to execute command!" msgstr "Impossibile eseguire il comando!" @@ -111,35 +111,35 @@ msgstr "Impossibile eseguire il comando!" msgid "Grant UCI access for luci-app-commands" msgstr "Concedi accesso UCI per luci-app-commands" -#: applications/luci-app-commands/luasrc/view/commands.htm:168 +#: applications/luci-app-commands/ucode/template/commands.ut:162 msgid "Link" msgstr "Collegamento" -#: applications/luci-app-commands/luasrc/view/commands.htm:53 +#: applications/luci-app-commands/ucode/template/commands.ut:47 msgid "Loading" msgstr "Caricamento" -#: applications/luci-app-commands/luasrc/view/commands.htm:123 +#: applications/luci-app-commands/ucode/template/commands.ut:117 msgid "Or display result" msgstr "O visualizza risultato" -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:24 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:29 msgid "Public access" msgstr "Accesso Pubblico" -#: applications/luci-app-commands/luasrc/view/commands.htm:165 +#: applications/luci-app-commands/ucode/template/commands.ut:159 msgid "Run" msgstr "Esegui" -#: applications/luci-app-commands/luasrc/view/commands_public.htm:41 +#: applications/luci-app-commands/ucode/template/commands_public.ut:44 msgid "Standard Error" msgstr "Errore standard" -#: applications/luci-app-commands/luasrc/view/commands_public.htm:36 +#: applications/luci-app-commands/ucode/template/commands_public.ut:39 msgid "Standard Output" msgstr "Output standard" -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:7 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:11 msgid "" "This page allows you to configure custom shell commands which can be easily " "invoked from the web interface." @@ -147,13 +147,16 @@ msgstr "" "Questa pagina consente di configurare i comandi della shell personalizzate " "che possono essere facilmente richiamati dall'interfaccia web." -#: applications/luci-app-commands/luasrc/view/commands.htm:150 +#: applications/luci-app-commands/ucode/template/commands.ut:144 msgid "This section contains no values yet" msgstr "Questa sezione non contiene ancora valori" -#: applications/luci-app-commands/luasrc/view/commands.htm:54 +#: applications/luci-app-commands/ucode/template/commands.ut:48 msgid "Waiting for command to complete..." msgstr "In attesa che il comando sia completato..." +#~ msgid "Command exited with status code" +#~ msgstr "Comando uscito con codice stato" + #~ msgid "Access command with" #~ msgstr "Accesso comando con" diff --git a/applications/luci-app-commands/po/ja/commands.po b/applications/luci-app-commands/po/ja/commands.po index 565ac4b738..1d686224c2 100644 --- a/applications/luci-app-commands/po/ja/commands.po +++ b/applications/luci-app-commands/po/ja/commands.po @@ -13,95 +13,95 @@ msgstr "" "Plural-Forms: nplurals=1; plural=0;\n" "X-Generator: Weblate 4.4-dev\n" -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:16 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:19 msgid "A short textual description of the configured command" msgstr "設定したコマンドの簡単な説明文を記載します" -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:25 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:30 msgid "" "Allow executing the command and downloading its output without prior " "authentication" msgstr "事前認証なしでのコマンドの実行と、結果出力のダウンロードを許可します" -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:22 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:27 msgid "Allow the user to provide additional command line arguments" msgstr "コマンドラインに対する引数の追記を許可するか設定します" -#: applications/luci-app-commands/luasrc/view/commands.htm:162 +#: applications/luci-app-commands/ucode/template/commands.ut:156 msgid "Arguments:" msgstr "引数:" -#: applications/luci-app-commands/luasrc/view/commands.htm:66 +#: applications/luci-app-commands/ucode/template/commands.ut:60 msgid "Binary data not displayed, download instead." msgstr "バイナリデータは表示されずにダウンロードされます。" -#: applications/luci-app-commands/luasrc/view/commands.htm:71 +#: applications/luci-app-commands/ucode/template/commands.ut:65 msgid "Code:" msgstr "コード:" -#: applications/luci-app-commands/luasrc/view/commands.htm:182 +#: applications/luci-app-commands/ucode/template/commands.ut:174 msgid "Collecting data..." msgstr "データを収集中..." -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:18 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:21 msgid "Command" msgstr "コマンド" -#: applications/luci-app-commands/luasrc/view/commands_public.htm:30 +#: applications/luci-app-commands/ucode/template/commands_public.ut:32 msgid "Command executed successfully." msgstr "コマンドの実行に成功しました。" -#: applications/luci-app-commands/luasrc/view/commands_public.htm:32 -msgid "Command exited with status code" -msgstr "コマンドは次のステータスコードで終了しました:" +#: applications/luci-app-commands/ucode/template/commands_public.ut:34 +msgid "Command exited with status code %d" +msgstr "" -#: applications/luci-app-commands/luasrc/view/commands.htm:73 +#: applications/luci-app-commands/ucode/template/commands.ut:67 msgid "Command failed" msgstr "コマンド実行失敗" -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:19 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:21 msgid "Command line to execute" msgstr "実行するコマンドラインを記載します" -#: applications/luci-app-commands/luasrc/view/commands.htm:73 +#: applications/luci-app-commands/ucode/template/commands.ut:67 msgid "Command successful" msgstr "コマンド実行成功" -#: applications/luci-app-commands/luasrc/view/commands.htm:160 +#: applications/luci-app-commands/ucode/template/commands.ut:154 msgid "Command:" msgstr "コマンド:" -#: applications/luci-app-commands/luasrc/controller/commands.lua:9 +#: applications/luci-app-commands/root/usr/share/luci/menu.d/luci-app-commands.json:23 msgid "Configure" msgstr "設定" -#: applications/luci-app-commands/luasrc/controller/commands.lua:7 -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:6 -#: applications/luci-app-commands/luasrc/view/commands.htm:144 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:10 +#: applications/luci-app-commands/root/usr/share/luci/menu.d/luci-app-commands.json:3 +#: applications/luci-app-commands/ucode/template/commands.ut:137 msgid "Custom Commands" msgstr "カスタムコマンド" -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:21 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:26 msgid "Custom arguments" msgstr "カスタム引数" -#: applications/luci-app-commands/luasrc/controller/commands.lua:8 +#: applications/luci-app-commands/root/usr/share/luci/menu.d/luci-app-commands.json:14 msgid "Dashboard" msgstr "ダッシュボード" -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:15 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:18 msgid "Description" msgstr "説明" -#: applications/luci-app-commands/luasrc/view/commands.htm:166 +#: applications/luci-app-commands/ucode/template/commands.ut:160 msgid "Download" msgstr "ダウンロード" -#: applications/luci-app-commands/luasrc/view/commands.htm:123 +#: applications/luci-app-commands/ucode/template/commands.ut:117 msgid "Download execution result" msgstr "実行結果のダウンロード:" -#: applications/luci-app-commands/luasrc/view/commands.htm:79 +#: applications/luci-app-commands/ucode/template/commands.ut:73 msgid "Failed to execute command!" msgstr "コマンドの実行に失敗しました!" @@ -109,35 +109,35 @@ msgstr "コマンドの実行に失敗しました!" msgid "Grant UCI access for luci-app-commands" msgstr "luci-app-commandsにUCIアクセスを許可" -#: applications/luci-app-commands/luasrc/view/commands.htm:168 +#: applications/luci-app-commands/ucode/template/commands.ut:162 msgid "Link" msgstr "リンク" -#: applications/luci-app-commands/luasrc/view/commands.htm:53 +#: applications/luci-app-commands/ucode/template/commands.ut:47 msgid "Loading" msgstr "読み込み中" -#: applications/luci-app-commands/luasrc/view/commands.htm:123 +#: applications/luci-app-commands/ucode/template/commands.ut:117 msgid "Or display result" msgstr "または結果の表示:" -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:24 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:29 msgid "Public access" msgstr "パブリックアクセス" -#: applications/luci-app-commands/luasrc/view/commands.htm:165 +#: applications/luci-app-commands/ucode/template/commands.ut:159 msgid "Run" msgstr "実行" -#: applications/luci-app-commands/luasrc/view/commands_public.htm:41 +#: applications/luci-app-commands/ucode/template/commands_public.ut:44 msgid "Standard Error" msgstr "標準エラー" -#: applications/luci-app-commands/luasrc/view/commands_public.htm:36 +#: applications/luci-app-commands/ucode/template/commands_public.ut:39 msgid "Standard Output" msgstr "標準出力" -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:7 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:11 msgid "" "This page allows you to configure custom shell commands which can be easily " "invoked from the web interface." @@ -145,13 +145,16 @@ msgstr "" "このページでは、ウェブインターフェースから簡単にシェルコマンドを実行すること" "ができます。" -#: applications/luci-app-commands/luasrc/view/commands.htm:150 +#: applications/luci-app-commands/ucode/template/commands.ut:144 msgid "This section contains no values yet" msgstr "このセクションはまだ設定されていません" -#: applications/luci-app-commands/luasrc/view/commands.htm:54 +#: applications/luci-app-commands/ucode/template/commands.ut:48 msgid "Waiting for command to complete..." msgstr "コマンド実行中..." +#~ msgid "Command exited with status code" +#~ msgstr "コマンドは次のステータスコードで終了しました:" + #~ msgid "Access command with" #~ msgstr "コマンドへのアクセス" diff --git a/applications/luci-app-commands/po/ko/commands.po b/applications/luci-app-commands/po/ko/commands.po index c5fe01ea30..31818c7753 100644 --- a/applications/luci-app-commands/po/ko/commands.po +++ b/applications/luci-app-commands/po/ko/commands.po @@ -2,8 +2,8 @@ msgid "" msgstr "" "Project-Id-Version: \n" "POT-Creation-Date: \n" -"PO-Revision-Date: 2020-12-19 06:29+0000\n" -"Last-Translator: orangepizza <abnoeh@mail.com>\n" +"PO-Revision-Date: 2022-12-27 13:49+0000\n" +"Last-Translator: somni <me@somni.one>\n" "Language-Team: Korean <https://hosted.weblate.org/projects/openwrt/" "luciapplicationscommands/ko/>\n" "Language: ko\n" @@ -11,145 +11,145 @@ msgstr "" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=1; plural=0;\n" -"X-Generator: Weblate 4.4-dev\n" +"X-Generator: Weblate 4.15.1-dev\n" -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:16 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:19 msgid "A short textual description of the configured command" msgstr "" -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:25 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:30 msgid "" "Allow executing the command and downloading its output without prior " "authentication" msgstr "" -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:22 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:27 msgid "Allow the user to provide additional command line arguments" msgstr "" -#: applications/luci-app-commands/luasrc/view/commands.htm:162 +#: applications/luci-app-commands/ucode/template/commands.ut:156 msgid "Arguments:" msgstr "" -#: applications/luci-app-commands/luasrc/view/commands.htm:66 +#: applications/luci-app-commands/ucode/template/commands.ut:60 msgid "Binary data not displayed, download instead." msgstr "" -#: applications/luci-app-commands/luasrc/view/commands.htm:71 +#: applications/luci-app-commands/ucode/template/commands.ut:65 msgid "Code:" -msgstr "" +msgstr "코드:" -#: applications/luci-app-commands/luasrc/view/commands.htm:182 +#: applications/luci-app-commands/ucode/template/commands.ut:174 msgid "Collecting data..." msgstr "데이터 수집 중..." -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:18 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:21 msgid "Command" -msgstr "" +msgstr "명령어" -#: applications/luci-app-commands/luasrc/view/commands_public.htm:30 +#: applications/luci-app-commands/ucode/template/commands_public.ut:32 msgid "Command executed successfully." -msgstr "" +msgstr "명령어가 성공적으로 실행되었습니다." -#: applications/luci-app-commands/luasrc/view/commands_public.htm:32 -msgid "Command exited with status code" -msgstr "" +#: applications/luci-app-commands/ucode/template/commands_public.ut:34 +msgid "Command exited with status code %d" +msgstr "명령어가 상태 코드 %d로 종료됨" -#: applications/luci-app-commands/luasrc/view/commands.htm:73 +#: applications/luci-app-commands/ucode/template/commands.ut:67 msgid "Command failed" -msgstr "" +msgstr "명령어 실행 실패" -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:19 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:21 msgid "Command line to execute" -msgstr "" +msgstr "실행할 명령줄" -#: applications/luci-app-commands/luasrc/view/commands.htm:73 +#: applications/luci-app-commands/ucode/template/commands.ut:67 msgid "Command successful" -msgstr "" +msgstr "명령어 실행 성공" -#: applications/luci-app-commands/luasrc/view/commands.htm:160 +#: applications/luci-app-commands/ucode/template/commands.ut:154 msgid "Command:" -msgstr "" +msgstr "명령어:" -#: applications/luci-app-commands/luasrc/controller/commands.lua:9 +#: applications/luci-app-commands/root/usr/share/luci/menu.d/luci-app-commands.json:23 msgid "Configure" -msgstr "" +msgstr "설정" -#: applications/luci-app-commands/luasrc/controller/commands.lua:7 -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:6 -#: applications/luci-app-commands/luasrc/view/commands.htm:144 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:10 +#: applications/luci-app-commands/root/usr/share/luci/menu.d/luci-app-commands.json:3 +#: applications/luci-app-commands/ucode/template/commands.ut:137 msgid "Custom Commands" -msgstr "" +msgstr "사용자 지정 명령어" -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:21 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:26 msgid "Custom arguments" -msgstr "" +msgstr "사용자 지정 인수" -#: applications/luci-app-commands/luasrc/controller/commands.lua:8 +#: applications/luci-app-commands/root/usr/share/luci/menu.d/luci-app-commands.json:14 msgid "Dashboard" -msgstr "" +msgstr "대시보드" -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:15 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:18 msgid "Description" msgstr "설명" -#: applications/luci-app-commands/luasrc/view/commands.htm:166 +#: applications/luci-app-commands/ucode/template/commands.ut:160 msgid "Download" -msgstr "" +msgstr "다운로드" -#: applications/luci-app-commands/luasrc/view/commands.htm:123 +#: applications/luci-app-commands/ucode/template/commands.ut:117 msgid "Download execution result" -msgstr "" +msgstr "실행 결과 다운로드" -#: applications/luci-app-commands/luasrc/view/commands.htm:79 +#: applications/luci-app-commands/ucode/template/commands.ut:73 msgid "Failed to execute command!" -msgstr "" +msgstr "명령어 실행에 실패했습니다!" #: applications/luci-app-commands/root/usr/share/rpcd/acl.d/luci-app-commands.json:3 msgid "Grant UCI access for luci-app-commands" -msgstr "" +msgstr "luci-app-commands에 UCI 접근 권한 허용" -#: applications/luci-app-commands/luasrc/view/commands.htm:168 +#: applications/luci-app-commands/ucode/template/commands.ut:162 msgid "Link" -msgstr "" +msgstr "링크" -#: applications/luci-app-commands/luasrc/view/commands.htm:53 +#: applications/luci-app-commands/ucode/template/commands.ut:47 msgid "Loading" -msgstr "로드 중" +msgstr "불러오는 중" -#: applications/luci-app-commands/luasrc/view/commands.htm:123 +#: applications/luci-app-commands/ucode/template/commands.ut:117 msgid "Or display result" -msgstr "" +msgstr "또는 결과 표시" -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:24 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:29 msgid "Public access" -msgstr "" +msgstr "공개 접근" -#: applications/luci-app-commands/luasrc/view/commands.htm:165 +#: applications/luci-app-commands/ucode/template/commands.ut:159 msgid "Run" -msgstr "" +msgstr "실행" -#: applications/luci-app-commands/luasrc/view/commands_public.htm:41 +#: applications/luci-app-commands/ucode/template/commands_public.ut:44 msgid "Standard Error" -msgstr "" +msgstr "표준 오류" -#: applications/luci-app-commands/luasrc/view/commands_public.htm:36 +#: applications/luci-app-commands/ucode/template/commands_public.ut:39 msgid "Standard Output" -msgstr "" +msgstr "표준 출력" -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:7 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:11 msgid "" "This page allows you to configure custom shell commands which can be easily " "invoked from the web interface." msgstr "" -#: applications/luci-app-commands/luasrc/view/commands.htm:150 +#: applications/luci-app-commands/ucode/template/commands.ut:144 msgid "This section contains no values yet" msgstr "이 항목에 입력된 값이 없습니다" -#: applications/luci-app-commands/luasrc/view/commands.htm:54 +#: applications/luci-app-commands/ucode/template/commands.ut:48 msgid "Waiting for command to complete..." -msgstr "" +msgstr "명령어 실행 완료까지 대기 중..." #~ msgid "Command exited with status code " #~ msgstr "Command exited with status code " diff --git a/applications/luci-app-commands/po/mr/commands.po b/applications/luci-app-commands/po/mr/commands.po index 8f196356dc..bc9996b62f 100644 --- a/applications/luci-app-commands/po/mr/commands.po +++ b/applications/luci-app-commands/po/mr/commands.po @@ -13,11 +13,11 @@ msgstr "" "Plural-Forms: nplurals=2; plural=n > 1;\n" "X-Generator: Weblate 3.11-dev\n" -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:16 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:19 msgid "A short textual description of the configured command" msgstr "कॉन्फिगर केलेल्या कमांडचे लहान मजकूर वर्णन" -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:25 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:30 msgid "" "Allow executing the command and downloading its output without prior " "authentication" @@ -25,85 +25,85 @@ msgstr "" "आधीच्या प्रमाणीकरणाशिवाय कमांड कार्यान्वित करण्यास आणि त्याचे आउटपुट डाउनलोड करण्यास " "अनुमती द्या" -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:22 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:27 msgid "Allow the user to provide additional command line arguments" msgstr "वापरकर्त्यास अतिरिक्त कमांड लाइन वितर्क प्रदान करण्याची परवानगी द्या" -#: applications/luci-app-commands/luasrc/view/commands.htm:162 +#: applications/luci-app-commands/ucode/template/commands.ut:156 msgid "Arguments:" msgstr "वितर्क:" -#: applications/luci-app-commands/luasrc/view/commands.htm:66 +#: applications/luci-app-commands/ucode/template/commands.ut:60 msgid "Binary data not displayed, download instead." msgstr "बायनरी डेटा प्रदर्शित नाही, त्याऐवजी डाउनलोड करा." -#: applications/luci-app-commands/luasrc/view/commands.htm:71 +#: applications/luci-app-commands/ucode/template/commands.ut:65 msgid "Code:" msgstr "कोड:" -#: applications/luci-app-commands/luasrc/view/commands.htm:182 +#: applications/luci-app-commands/ucode/template/commands.ut:174 msgid "Collecting data..." msgstr "डेटा संकलित करीत आहे ..." -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:18 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:21 msgid "Command" msgstr "कमांड" -#: applications/luci-app-commands/luasrc/view/commands_public.htm:30 +#: applications/luci-app-commands/ucode/template/commands_public.ut:32 msgid "Command executed successfully." msgstr "कमांड यशस्वीपणे चालवली ." -#: applications/luci-app-commands/luasrc/view/commands_public.htm:32 -msgid "Command exited with status code" -msgstr "स्टेटस कोडे सहा कमांड बाहेर पडली" +#: applications/luci-app-commands/ucode/template/commands_public.ut:34 +msgid "Command exited with status code %d" +msgstr "" -#: applications/luci-app-commands/luasrc/view/commands.htm:73 +#: applications/luci-app-commands/ucode/template/commands.ut:67 msgid "Command failed" msgstr "कमांड अयशस्वी" -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:19 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:21 msgid "Command line to execute" msgstr "कार्यान्वित करण्यासाठी कमांड लाइन" -#: applications/luci-app-commands/luasrc/view/commands.htm:73 +#: applications/luci-app-commands/ucode/template/commands.ut:67 msgid "Command successful" msgstr "कमांड यशस्वी" -#: applications/luci-app-commands/luasrc/view/commands.htm:160 +#: applications/luci-app-commands/ucode/template/commands.ut:154 msgid "Command:" msgstr "कमांड:" -#: applications/luci-app-commands/luasrc/controller/commands.lua:9 +#: applications/luci-app-commands/root/usr/share/luci/menu.d/luci-app-commands.json:23 msgid "Configure" msgstr "कॉन्फिगर करा" -#: applications/luci-app-commands/luasrc/controller/commands.lua:7 -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:6 -#: applications/luci-app-commands/luasrc/view/commands.htm:144 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:10 +#: applications/luci-app-commands/root/usr/share/luci/menu.d/luci-app-commands.json:3 +#: applications/luci-app-commands/ucode/template/commands.ut:137 msgid "Custom Commands" msgstr "सानुकूल कमांड" -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:21 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:26 msgid "Custom arguments" msgstr "सानुकूल वितर्क" -#: applications/luci-app-commands/luasrc/controller/commands.lua:8 +#: applications/luci-app-commands/root/usr/share/luci/menu.d/luci-app-commands.json:14 msgid "Dashboard" msgstr "डॅशबोर्ड" -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:15 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:18 msgid "Description" msgstr "वर्णन" -#: applications/luci-app-commands/luasrc/view/commands.htm:166 +#: applications/luci-app-commands/ucode/template/commands.ut:160 msgid "Download" msgstr "डाउनलोड" -#: applications/luci-app-commands/luasrc/view/commands.htm:123 +#: applications/luci-app-commands/ucode/template/commands.ut:117 msgid "Download execution result" msgstr "अंमलबजावणी परिणाम डाउनलोड करा" -#: applications/luci-app-commands/luasrc/view/commands.htm:79 +#: applications/luci-app-commands/ucode/template/commands.ut:73 msgid "Failed to execute command!" msgstr "कमांड चालविण्यात अयशस्वी!" @@ -111,35 +111,35 @@ msgstr "कमांड चालविण्यात अयशस्वी!" msgid "Grant UCI access for luci-app-commands" msgstr "" -#: applications/luci-app-commands/luasrc/view/commands.htm:168 +#: applications/luci-app-commands/ucode/template/commands.ut:162 msgid "Link" msgstr "दुवा" -#: applications/luci-app-commands/luasrc/view/commands.htm:53 +#: applications/luci-app-commands/ucode/template/commands.ut:47 msgid "Loading" msgstr "लोड करीत आहे" -#: applications/luci-app-commands/luasrc/view/commands.htm:123 +#: applications/luci-app-commands/ucode/template/commands.ut:117 msgid "Or display result" msgstr "किंवा परिणाम दाखवा" -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:24 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:29 msgid "Public access" msgstr "सार्वजनिक प्रवेश" -#: applications/luci-app-commands/luasrc/view/commands.htm:165 +#: applications/luci-app-commands/ucode/template/commands.ut:159 msgid "Run" msgstr "चालवा" -#: applications/luci-app-commands/luasrc/view/commands_public.htm:41 +#: applications/luci-app-commands/ucode/template/commands_public.ut:44 msgid "Standard Error" msgstr "मानक त्रुटी" -#: applications/luci-app-commands/luasrc/view/commands_public.htm:36 +#: applications/luci-app-commands/ucode/template/commands_public.ut:39 msgid "Standard Output" msgstr "मानक आउटपुट" -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:7 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:11 msgid "" "This page allows you to configure custom shell commands which can be easily " "invoked from the web interface." @@ -147,13 +147,16 @@ msgstr "" "हे पृष्ठ आपल्याला सानुकूल शेल आदेश कॉन्फिगर करण्याची परवानगी देते जे वेब इंटरफेसवरून सहजपणे " "बोलाविले जाऊ शकतात ." -#: applications/luci-app-commands/luasrc/view/commands.htm:150 +#: applications/luci-app-commands/ucode/template/commands.ut:144 msgid "This section contains no values yet" msgstr "" -#: applications/luci-app-commands/luasrc/view/commands.htm:54 +#: applications/luci-app-commands/ucode/template/commands.ut:48 msgid "Waiting for command to complete..." msgstr "कमांड पूर्ण होण्याची प्रतीक्षा करीत आहे ..." +#~ msgid "Command exited with status code" +#~ msgstr "स्टेटस कोडे सहा कमांड बाहेर पडली" + #~ msgid "Command exited with status code " #~ msgstr "Command exited with status code " diff --git a/applications/luci-app-commands/po/ms/commands.po b/applications/luci-app-commands/po/ms/commands.po index d2b5e06ab6..a9c47e58b0 100644 --- a/applications/luci-app-commands/po/ms/commands.po +++ b/applications/luci-app-commands/po/ms/commands.po @@ -12,95 +12,95 @@ msgstr "" "Plural-Forms: nplurals=1; plural=0;\n" "X-Generator: Weblate 3.10-dev\n" -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:16 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:19 msgid "A short textual description of the configured command" msgstr "" -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:25 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:30 msgid "" "Allow executing the command and downloading its output without prior " "authentication" msgstr "" -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:22 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:27 msgid "Allow the user to provide additional command line arguments" msgstr "" -#: applications/luci-app-commands/luasrc/view/commands.htm:162 +#: applications/luci-app-commands/ucode/template/commands.ut:156 msgid "Arguments:" msgstr "" -#: applications/luci-app-commands/luasrc/view/commands.htm:66 +#: applications/luci-app-commands/ucode/template/commands.ut:60 msgid "Binary data not displayed, download instead." msgstr "" -#: applications/luci-app-commands/luasrc/view/commands.htm:71 +#: applications/luci-app-commands/ucode/template/commands.ut:65 msgid "Code:" msgstr "" -#: applications/luci-app-commands/luasrc/view/commands.htm:182 +#: applications/luci-app-commands/ucode/template/commands.ut:174 msgid "Collecting data..." msgstr "Mengumpul data..." -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:18 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:21 msgid "Command" msgstr "" -#: applications/luci-app-commands/luasrc/view/commands_public.htm:30 +#: applications/luci-app-commands/ucode/template/commands_public.ut:32 msgid "Command executed successfully." msgstr "" -#: applications/luci-app-commands/luasrc/view/commands_public.htm:32 -msgid "Command exited with status code" +#: applications/luci-app-commands/ucode/template/commands_public.ut:34 +msgid "Command exited with status code %d" msgstr "" -#: applications/luci-app-commands/luasrc/view/commands.htm:73 +#: applications/luci-app-commands/ucode/template/commands.ut:67 msgid "Command failed" msgstr "" -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:19 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:21 msgid "Command line to execute" msgstr "" -#: applications/luci-app-commands/luasrc/view/commands.htm:73 +#: applications/luci-app-commands/ucode/template/commands.ut:67 msgid "Command successful" msgstr "" -#: applications/luci-app-commands/luasrc/view/commands.htm:160 +#: applications/luci-app-commands/ucode/template/commands.ut:154 msgid "Command:" msgstr "" -#: applications/luci-app-commands/luasrc/controller/commands.lua:9 +#: applications/luci-app-commands/root/usr/share/luci/menu.d/luci-app-commands.json:23 msgid "Configure" msgstr "" -#: applications/luci-app-commands/luasrc/controller/commands.lua:7 -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:6 -#: applications/luci-app-commands/luasrc/view/commands.htm:144 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:10 +#: applications/luci-app-commands/root/usr/share/luci/menu.d/luci-app-commands.json:3 +#: applications/luci-app-commands/ucode/template/commands.ut:137 msgid "Custom Commands" msgstr "" -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:21 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:26 msgid "Custom arguments" msgstr "" -#: applications/luci-app-commands/luasrc/controller/commands.lua:8 +#: applications/luci-app-commands/root/usr/share/luci/menu.d/luci-app-commands.json:14 msgid "Dashboard" msgstr "" -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:15 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:18 msgid "Description" msgstr "Keterangan" -#: applications/luci-app-commands/luasrc/view/commands.htm:166 +#: applications/luci-app-commands/ucode/template/commands.ut:160 msgid "Download" msgstr "" -#: applications/luci-app-commands/luasrc/view/commands.htm:123 +#: applications/luci-app-commands/ucode/template/commands.ut:117 msgid "Download execution result" msgstr "" -#: applications/luci-app-commands/luasrc/view/commands.htm:79 +#: applications/luci-app-commands/ucode/template/commands.ut:73 msgid "Failed to execute command!" msgstr "" @@ -108,44 +108,44 @@ msgstr "" msgid "Grant UCI access for luci-app-commands" msgstr "" -#: applications/luci-app-commands/luasrc/view/commands.htm:168 +#: applications/luci-app-commands/ucode/template/commands.ut:162 msgid "Link" msgstr "" -#: applications/luci-app-commands/luasrc/view/commands.htm:53 +#: applications/luci-app-commands/ucode/template/commands.ut:47 msgid "Loading" msgstr "" -#: applications/luci-app-commands/luasrc/view/commands.htm:123 +#: applications/luci-app-commands/ucode/template/commands.ut:117 msgid "Or display result" msgstr "" -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:24 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:29 msgid "Public access" msgstr "" -#: applications/luci-app-commands/luasrc/view/commands.htm:165 +#: applications/luci-app-commands/ucode/template/commands.ut:159 msgid "Run" msgstr "" -#: applications/luci-app-commands/luasrc/view/commands_public.htm:41 +#: applications/luci-app-commands/ucode/template/commands_public.ut:44 msgid "Standard Error" msgstr "" -#: applications/luci-app-commands/luasrc/view/commands_public.htm:36 +#: applications/luci-app-commands/ucode/template/commands_public.ut:39 msgid "Standard Output" msgstr "" -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:7 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:11 msgid "" "This page allows you to configure custom shell commands which can be easily " "invoked from the web interface." msgstr "" -#: applications/luci-app-commands/luasrc/view/commands.htm:150 +#: applications/luci-app-commands/ucode/template/commands.ut:144 msgid "This section contains no values yet" msgstr "" -#: applications/luci-app-commands/luasrc/view/commands.htm:54 +#: applications/luci-app-commands/ucode/template/commands.ut:48 msgid "Waiting for command to complete..." msgstr "" diff --git a/applications/luci-app-commands/po/nb_NO/commands.po b/applications/luci-app-commands/po/nb_NO/commands.po index 5eb8f39509..3a48dfa26d 100644 --- a/applications/luci-app-commands/po/nb_NO/commands.po +++ b/applications/luci-app-commands/po/nb_NO/commands.po @@ -12,11 +12,11 @@ msgstr "" "Plural-Forms: nplurals=2; plural=n != 1;\n" "X-Generator: Weblate 4.7.2-dev\n" -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:16 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:19 msgid "A short textual description of the configured command" msgstr "En kort tekstlig beskrivelse av den konfigurerte kommandoen" -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:25 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:30 msgid "" "Allow executing the command and downloading its output without prior " "authentication" @@ -24,85 +24,85 @@ msgstr "" "Tillat å utføre kommandoen og laste ned resultatet uten forutgående " "godkjenning" -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:22 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:27 msgid "Allow the user to provide additional command line arguments" msgstr "Tillat brukeren å gi ytterligere kommandolinjeargumenter" -#: applications/luci-app-commands/luasrc/view/commands.htm:162 +#: applications/luci-app-commands/ucode/template/commands.ut:156 msgid "Arguments:" msgstr "Argumenter:" -#: applications/luci-app-commands/luasrc/view/commands.htm:66 +#: applications/luci-app-commands/ucode/template/commands.ut:60 msgid "Binary data not displayed, download instead." msgstr "Binære data vises ikke, last ned i stedet." -#: applications/luci-app-commands/luasrc/view/commands.htm:71 +#: applications/luci-app-commands/ucode/template/commands.ut:65 msgid "Code:" msgstr "Kode:" -#: applications/luci-app-commands/luasrc/view/commands.htm:182 +#: applications/luci-app-commands/ucode/template/commands.ut:174 msgid "Collecting data..." msgstr "Samler inn data…" -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:18 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:21 msgid "Command" msgstr "Kommando" -#: applications/luci-app-commands/luasrc/view/commands_public.htm:30 +#: applications/luci-app-commands/ucode/template/commands_public.ut:32 msgid "Command executed successfully." msgstr "" -#: applications/luci-app-commands/luasrc/view/commands_public.htm:32 -msgid "Command exited with status code" +#: applications/luci-app-commands/ucode/template/commands_public.ut:34 +msgid "Command exited with status code %d" msgstr "" -#: applications/luci-app-commands/luasrc/view/commands.htm:73 +#: applications/luci-app-commands/ucode/template/commands.ut:67 msgid "Command failed" msgstr "Kommando mislyktes" -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:19 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:21 msgid "Command line to execute" msgstr "Kommandolinje å utføre" -#: applications/luci-app-commands/luasrc/view/commands.htm:73 +#: applications/luci-app-commands/ucode/template/commands.ut:67 msgid "Command successful" msgstr "Kommando vellykket" -#: applications/luci-app-commands/luasrc/view/commands.htm:160 +#: applications/luci-app-commands/ucode/template/commands.ut:154 msgid "Command:" msgstr "Kommando:" -#: applications/luci-app-commands/luasrc/controller/commands.lua:9 +#: applications/luci-app-commands/root/usr/share/luci/menu.d/luci-app-commands.json:23 msgid "Configure" msgstr "Konfigurer" -#: applications/luci-app-commands/luasrc/controller/commands.lua:7 -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:6 -#: applications/luci-app-commands/luasrc/view/commands.htm:144 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:10 +#: applications/luci-app-commands/root/usr/share/luci/menu.d/luci-app-commands.json:3 +#: applications/luci-app-commands/ucode/template/commands.ut:137 msgid "Custom Commands" msgstr "Egendefinerte Kommandoer" -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:21 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:26 msgid "Custom arguments" msgstr "Egendefinerte argumenter" -#: applications/luci-app-commands/luasrc/controller/commands.lua:8 +#: applications/luci-app-commands/root/usr/share/luci/menu.d/luci-app-commands.json:14 msgid "Dashboard" msgstr "Oversikt" -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:15 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:18 msgid "Description" msgstr "Beskrivelse" -#: applications/luci-app-commands/luasrc/view/commands.htm:166 +#: applications/luci-app-commands/ucode/template/commands.ut:160 msgid "Download" msgstr "Last ned" -#: applications/luci-app-commands/luasrc/view/commands.htm:123 +#: applications/luci-app-commands/ucode/template/commands.ut:117 msgid "Download execution result" msgstr "" -#: applications/luci-app-commands/luasrc/view/commands.htm:79 +#: applications/luci-app-commands/ucode/template/commands.ut:73 msgid "Failed to execute command!" msgstr "Kunne ikke utføre kommandoen!" @@ -110,35 +110,35 @@ msgstr "Kunne ikke utføre kommandoen!" msgid "Grant UCI access for luci-app-commands" msgstr "" -#: applications/luci-app-commands/luasrc/view/commands.htm:168 +#: applications/luci-app-commands/ucode/template/commands.ut:162 msgid "Link" msgstr "Link" -#: applications/luci-app-commands/luasrc/view/commands.htm:53 +#: applications/luci-app-commands/ucode/template/commands.ut:47 msgid "Loading" msgstr "Laster inn" -#: applications/luci-app-commands/luasrc/view/commands.htm:123 +#: applications/luci-app-commands/ucode/template/commands.ut:117 msgid "Or display result" msgstr "" -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:24 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:29 msgid "Public access" msgstr "Tilgjengelig for alle" -#: applications/luci-app-commands/luasrc/view/commands.htm:165 +#: applications/luci-app-commands/ucode/template/commands.ut:159 msgid "Run" msgstr "Kjør" -#: applications/luci-app-commands/luasrc/view/commands_public.htm:41 +#: applications/luci-app-commands/ucode/template/commands_public.ut:44 msgid "Standard Error" msgstr "" -#: applications/luci-app-commands/luasrc/view/commands_public.htm:36 +#: applications/luci-app-commands/ucode/template/commands_public.ut:39 msgid "Standard Output" msgstr "" -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:7 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:11 msgid "" "This page allows you to configure custom shell commands which can be easily " "invoked from the web interface." @@ -146,11 +146,11 @@ msgstr "" "Denne siden lar deg konfigurere egendefinerte shell-kommandoer som lett kan " "startes fra webgrensesnittet." -#: applications/luci-app-commands/luasrc/view/commands.htm:150 +#: applications/luci-app-commands/ucode/template/commands.ut:144 msgid "This section contains no values yet" msgstr "" -#: applications/luci-app-commands/luasrc/view/commands.htm:54 +#: applications/luci-app-commands/ucode/template/commands.ut:48 msgid "Waiting for command to complete..." msgstr "Venter på at kommandoen fullføres..." diff --git a/applications/luci-app-commands/po/pl/commands.po b/applications/luci-app-commands/po/pl/commands.po index 5fdd3e26c2..65f8ae5784 100644 --- a/applications/luci-app-commands/po/pl/commands.po +++ b/applications/luci-app-commands/po/pl/commands.po @@ -1,8 +1,8 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" -"PO-Revision-Date: 2021-06-26 18:17+0000\n" -"Last-Translator: Adam Stańczyk <a.stanczyk@onet.pl>\n" +"PO-Revision-Date: 2022-10-28 15:05+0000\n" +"Last-Translator: Matthaiks <kitynska@gmail.com>\n" "Language-Team: Polish <https://hosted.weblate.org/projects/openwrt/" "luciapplicationscommands/pl/>\n" "Language: pl\n" @@ -11,13 +11,13 @@ msgstr "" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=3; plural=n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 " "|| n%100>=20) ? 1 : 2;\n" -"X-Generator: Weblate 4.7.1-dev\n" +"X-Generator: Weblate 4.14.2-dev\n" -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:16 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:19 msgid "A short textual description of the configured command" msgstr "Krótki opis konfigurowanej komendy" -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:25 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:30 msgid "" "Allow executing the command and downloading its output without prior " "authentication" @@ -25,85 +25,85 @@ msgstr "" "Zezwól na uruchomienie komendy i pobranie wyjścia bez uprzedniego " "uwierzytelnienia" -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:22 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:27 msgid "Allow the user to provide additional command line arguments" msgstr "Zezwól użytkownikowi dodać argumenty wiersza poleceń" -#: applications/luci-app-commands/luasrc/view/commands.htm:162 +#: applications/luci-app-commands/ucode/template/commands.ut:156 msgid "Arguments:" msgstr "Argumenty:" -#: applications/luci-app-commands/luasrc/view/commands.htm:66 +#: applications/luci-app-commands/ucode/template/commands.ut:60 msgid "Binary data not displayed, download instead." msgstr "Nie wyświetlono danych binarnych, możesz je pobrać." -#: applications/luci-app-commands/luasrc/view/commands.htm:71 +#: applications/luci-app-commands/ucode/template/commands.ut:65 msgid "Code:" msgstr "Kod:" -#: applications/luci-app-commands/luasrc/view/commands.htm:182 +#: applications/luci-app-commands/ucode/template/commands.ut:174 msgid "Collecting data..." msgstr "Trwa zbieranie danych..." -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:18 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:21 msgid "Command" msgstr "Polecenie" -#: applications/luci-app-commands/luasrc/view/commands_public.htm:30 +#: applications/luci-app-commands/ucode/template/commands_public.ut:32 msgid "Command executed successfully." msgstr "Pomyślne wykonanie komendy." -#: applications/luci-app-commands/luasrc/view/commands_public.htm:32 -msgid "Command exited with status code" -msgstr "Komenda zakończona kodem statusu" +#: applications/luci-app-commands/ucode/template/commands_public.ut:34 +msgid "Command exited with status code %d" +msgstr "Polecenie zakończone z kodem statusu %d" -#: applications/luci-app-commands/luasrc/view/commands.htm:73 +#: applications/luci-app-commands/ucode/template/commands.ut:67 msgid "Command failed" msgstr "Błędne polecenie" -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:19 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:21 msgid "Command line to execute" msgstr "Linia Komendy do wykonania" -#: applications/luci-app-commands/luasrc/view/commands.htm:73 +#: applications/luci-app-commands/ucode/template/commands.ut:67 msgid "Command successful" msgstr "Komenda Wykonana" -#: applications/luci-app-commands/luasrc/view/commands.htm:160 +#: applications/luci-app-commands/ucode/template/commands.ut:154 msgid "Command:" msgstr "Komenda:" -#: applications/luci-app-commands/luasrc/controller/commands.lua:9 +#: applications/luci-app-commands/root/usr/share/luci/menu.d/luci-app-commands.json:23 msgid "Configure" msgstr "Konfiguracja" -#: applications/luci-app-commands/luasrc/controller/commands.lua:7 -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:6 -#: applications/luci-app-commands/luasrc/view/commands.htm:144 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:10 +#: applications/luci-app-commands/root/usr/share/luci/menu.d/luci-app-commands.json:3 +#: applications/luci-app-commands/ucode/template/commands.ut:137 msgid "Custom Commands" msgstr "Własne komendy" -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:21 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:26 msgid "Custom arguments" msgstr "Własne argumenty" -#: applications/luci-app-commands/luasrc/controller/commands.lua:8 +#: applications/luci-app-commands/root/usr/share/luci/menu.d/luci-app-commands.json:14 msgid "Dashboard" msgstr "Info" -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:15 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:18 msgid "Description" msgstr "Opis" -#: applications/luci-app-commands/luasrc/view/commands.htm:166 +#: applications/luci-app-commands/ucode/template/commands.ut:160 msgid "Download" msgstr "Pobieranie" -#: applications/luci-app-commands/luasrc/view/commands.htm:123 +#: applications/luci-app-commands/ucode/template/commands.ut:117 msgid "Download execution result" msgstr "Pobierz wynik wykonania" -#: applications/luci-app-commands/luasrc/view/commands.htm:79 +#: applications/luci-app-commands/ucode/template/commands.ut:73 msgid "Failed to execute command!" msgstr "Nie można wykonać komendy!" @@ -111,35 +111,35 @@ msgstr "Nie można wykonać komendy!" msgid "Grant UCI access for luci-app-commands" msgstr "Udziel dostępu UCI do luci-app-commands" -#: applications/luci-app-commands/luasrc/view/commands.htm:168 +#: applications/luci-app-commands/ucode/template/commands.ut:162 msgid "Link" msgstr "Łącze" -#: applications/luci-app-commands/luasrc/view/commands.htm:53 +#: applications/luci-app-commands/ucode/template/commands.ut:47 msgid "Loading" msgstr "Ładowanie" -#: applications/luci-app-commands/luasrc/view/commands.htm:123 +#: applications/luci-app-commands/ucode/template/commands.ut:117 msgid "Or display result" msgstr "Lub wyświetl wynik" -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:24 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:29 msgid "Public access" msgstr "Publiczny dostęp" -#: applications/luci-app-commands/luasrc/view/commands.htm:165 +#: applications/luci-app-commands/ucode/template/commands.ut:159 msgid "Run" msgstr "Uruchom" -#: applications/luci-app-commands/luasrc/view/commands_public.htm:41 +#: applications/luci-app-commands/ucode/template/commands_public.ut:44 msgid "Standard Error" msgstr "Standardowy błąd" -#: applications/luci-app-commands/luasrc/view/commands_public.htm:36 +#: applications/luci-app-commands/ucode/template/commands_public.ut:39 msgid "Standard Output" msgstr "Standardowe wyjście" -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:7 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:11 msgid "" "This page allows you to configure custom shell commands which can be easily " "invoked from the web interface." @@ -147,13 +147,16 @@ msgstr "" "Ta strona pozwala ci skonfigurować niestandardową komendę którą można łatwo " "wywołać z interfejsu sieciowego." -#: applications/luci-app-commands/luasrc/view/commands.htm:150 +#: applications/luci-app-commands/ucode/template/commands.ut:144 msgid "This section contains no values yet" msgstr "Ta sekcja nie zawiera jeszcze żadnych wartości" -#: applications/luci-app-commands/luasrc/view/commands.htm:54 +#: applications/luci-app-commands/ucode/template/commands.ut:48 msgid "Waiting for command to complete..." msgstr "Oczekiwanie na polecenie do wykonania..." +#~ msgid "Command exited with status code" +#~ msgstr "Komenda zakończona kodem statusu" + #~ msgid "Access command with" #~ msgstr "Dostęp do komendy przez" diff --git a/applications/luci-app-commands/po/pt/commands.po b/applications/luci-app-commands/po/pt/commands.po index 4e2a8f2229..7efaa25691 100644 --- a/applications/luci-app-commands/po/pt/commands.po +++ b/applications/luci-app-commands/po/pt/commands.po @@ -1,7 +1,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" -"PO-Revision-Date: 2020-05-13 20:35+0000\n" +"PO-Revision-Date: 2022-10-30 15:06+0000\n" "Last-Translator: ssantos <ssantos@web.de>\n" "Language-Team: Portuguese <https://hosted.weblate.org/projects/openwrt/" "luciapplicationscommands/pt/>\n" @@ -10,13 +10,13 @@ msgstr "" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=n != 1;\n" -"X-Generator: Weblate 4.1-dev\n" +"X-Generator: Weblate 4.14.2-dev\n" -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:16 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:19 msgid "A short textual description of the configured command" msgstr "Uma pequena descrição textual do comando configurado" -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:25 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:30 msgid "" "Allow executing the command and downloading its output without prior " "authentication" @@ -24,86 +24,86 @@ msgstr "" "Permitir a execução do comando e descarregar o resultado sem autenticação " "prévia" -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:22 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:27 msgid "Allow the user to provide additional command line arguments" msgstr "" "Permitir que o utilizador forneça argumentos adicionais na linha de comandos" -#: applications/luci-app-commands/luasrc/view/commands.htm:162 +#: applications/luci-app-commands/ucode/template/commands.ut:156 msgid "Arguments:" msgstr "Argumentos:" -#: applications/luci-app-commands/luasrc/view/commands.htm:66 +#: applications/luci-app-commands/ucode/template/commands.ut:60 msgid "Binary data not displayed, download instead." msgstr "Dados binários não mostrados, mas pode descarregar." -#: applications/luci-app-commands/luasrc/view/commands.htm:71 +#: applications/luci-app-commands/ucode/template/commands.ut:65 msgid "Code:" msgstr "Código:" -#: applications/luci-app-commands/luasrc/view/commands.htm:182 +#: applications/luci-app-commands/ucode/template/commands.ut:174 msgid "Collecting data..." msgstr "A recolher dados..." -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:18 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:21 msgid "Command" msgstr "Comando" -#: applications/luci-app-commands/luasrc/view/commands_public.htm:30 +#: applications/luci-app-commands/ucode/template/commands_public.ut:32 msgid "Command executed successfully." msgstr "Comando executado com sucesso." -#: applications/luci-app-commands/luasrc/view/commands_public.htm:32 -msgid "Command exited with status code" -msgstr "Comando terminou com código de estado" +#: applications/luci-app-commands/ucode/template/commands_public.ut:34 +msgid "Command exited with status code %d" +msgstr "O comando saiu com o código de estado %d" -#: applications/luci-app-commands/luasrc/view/commands.htm:73 +#: applications/luci-app-commands/ucode/template/commands.ut:67 msgid "Command failed" msgstr "O comando falhou" -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:19 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:21 msgid "Command line to execute" msgstr "Linha de comandos a executar" -#: applications/luci-app-commands/luasrc/view/commands.htm:73 +#: applications/luci-app-commands/ucode/template/commands.ut:67 msgid "Command successful" msgstr "Comando executado com sucesso" -#: applications/luci-app-commands/luasrc/view/commands.htm:160 +#: applications/luci-app-commands/ucode/template/commands.ut:154 msgid "Command:" msgstr "Comando:" -#: applications/luci-app-commands/luasrc/controller/commands.lua:9 +#: applications/luci-app-commands/root/usr/share/luci/menu.d/luci-app-commands.json:23 msgid "Configure" msgstr "Configurar" -#: applications/luci-app-commands/luasrc/controller/commands.lua:7 -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:6 -#: applications/luci-app-commands/luasrc/view/commands.htm:144 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:10 +#: applications/luci-app-commands/root/usr/share/luci/menu.d/luci-app-commands.json:3 +#: applications/luci-app-commands/ucode/template/commands.ut:137 msgid "Custom Commands" msgstr "Comandos Personalizados" -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:21 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:26 msgid "Custom arguments" msgstr "Argumentos personalizados" -#: applications/luci-app-commands/luasrc/controller/commands.lua:8 +#: applications/luci-app-commands/root/usr/share/luci/menu.d/luci-app-commands.json:14 msgid "Dashboard" msgstr "Painel de Controlo" -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:15 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:18 msgid "Description" msgstr "Descrição" -#: applications/luci-app-commands/luasrc/view/commands.htm:166 +#: applications/luci-app-commands/ucode/template/commands.ut:160 msgid "Download" msgstr "Descarregar" -#: applications/luci-app-commands/luasrc/view/commands.htm:123 +#: applications/luci-app-commands/ucode/template/commands.ut:117 msgid "Download execution result" msgstr "Descarregamento do resultado da execução" -#: applications/luci-app-commands/luasrc/view/commands.htm:79 +#: applications/luci-app-commands/ucode/template/commands.ut:73 msgid "Failed to execute command!" msgstr "Falha ao executar comando!" @@ -111,35 +111,35 @@ msgstr "Falha ao executar comando!" msgid "Grant UCI access for luci-app-commands" msgstr "Conceder acesso UCI ao luci-app-commands" -#: applications/luci-app-commands/luasrc/view/commands.htm:168 +#: applications/luci-app-commands/ucode/template/commands.ut:162 msgid "Link" msgstr "Link" -#: applications/luci-app-commands/luasrc/view/commands.htm:53 +#: applications/luci-app-commands/ucode/template/commands.ut:47 msgid "Loading" msgstr "A carregar" -#: applications/luci-app-commands/luasrc/view/commands.htm:123 +#: applications/luci-app-commands/ucode/template/commands.ut:117 msgid "Or display result" msgstr "Ou exibir resultado" -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:24 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:29 msgid "Public access" msgstr "Acesso público" -#: applications/luci-app-commands/luasrc/view/commands.htm:165 +#: applications/luci-app-commands/ucode/template/commands.ut:159 msgid "Run" msgstr "Executar" -#: applications/luci-app-commands/luasrc/view/commands_public.htm:41 +#: applications/luci-app-commands/ucode/template/commands_public.ut:44 msgid "Standard Error" msgstr "Erro Padrão" -#: applications/luci-app-commands/luasrc/view/commands_public.htm:36 +#: applications/luci-app-commands/ucode/template/commands_public.ut:39 msgid "Standard Output" msgstr "Saída Padrão" -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:7 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:11 msgid "" "This page allows you to configure custom shell commands which can be easily " "invoked from the web interface." @@ -147,13 +147,16 @@ msgstr "" "Esta página permite-lhe configurar uma linha de comandos personalizada que " "pode facilmente ser executada a partir da interface web." -#: applications/luci-app-commands/luasrc/view/commands.htm:150 +#: applications/luci-app-commands/ucode/template/commands.ut:144 msgid "This section contains no values yet" msgstr "Esta secção ainda não contém valores" -#: applications/luci-app-commands/luasrc/view/commands.htm:54 +#: applications/luci-app-commands/ucode/template/commands.ut:48 msgid "Waiting for command to complete..." msgstr "A aguardar que o comando termine..." +#~ msgid "Command exited with status code" +#~ msgstr "Comando terminou com código de estado" + #~ msgid "Access command with" #~ msgstr "Aceder ao comando com" diff --git a/applications/luci-app-commands/po/pt_BR/commands.po b/applications/luci-app-commands/po/pt_BR/commands.po index d7a8ee9244..ca1f2cf125 100644 --- a/applications/luci-app-commands/po/pt_BR/commands.po +++ b/applications/luci-app-commands/po/pt_BR/commands.po @@ -2,7 +2,7 @@ msgid "" msgstr "" "Project-Id-Version: \n" "POT-Creation-Date: \n" -"PO-Revision-Date: 2020-05-13 20:35+0000\n" +"PO-Revision-Date: 2022-10-28 15:05+0000\n" "Last-Translator: Wellington Terumi Uemura <wellingtonuemura@gmail.com>\n" "Language-Team: Portuguese (Brazil) <https://hosted.weblate.org/projects/" "openwrt/luciapplicationscommands/pt_BR/>\n" @@ -11,13 +11,13 @@ msgstr "" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=n > 1;\n" -"X-Generator: Weblate 4.1-dev\n" +"X-Generator: Weblate 4.14.2-dev\n" -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:16 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:19 msgid "A short textual description of the configured command" msgstr "Uma pequena descrição textual do comando configurado" -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:25 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:30 msgid "" "Allow executing the command and downloading its output without prior " "authentication" @@ -25,85 +25,85 @@ msgstr "" "Permitir a execução do comando e descarregar o resultado sem autenticação " "prévia" -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:22 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:27 msgid "Allow the user to provide additional command line arguments" msgstr "Permitir ao usuário inserir argumentos de linha de comando adicionais" -#: applications/luci-app-commands/luasrc/view/commands.htm:162 +#: applications/luci-app-commands/ucode/template/commands.ut:156 msgid "Arguments:" msgstr "Argumentos:" -#: applications/luci-app-commands/luasrc/view/commands.htm:66 +#: applications/luci-app-commands/ucode/template/commands.ut:60 msgid "Binary data not displayed, download instead." msgstr "Dados binários não mostrados, mas podem ser baixados." -#: applications/luci-app-commands/luasrc/view/commands.htm:71 +#: applications/luci-app-commands/ucode/template/commands.ut:65 msgid "Code:" msgstr "Código:" -#: applications/luci-app-commands/luasrc/view/commands.htm:182 +#: applications/luci-app-commands/ucode/template/commands.ut:174 msgid "Collecting data..." msgstr "Coletando dados..." -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:18 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:21 msgid "Command" msgstr "Comando" -#: applications/luci-app-commands/luasrc/view/commands_public.htm:30 +#: applications/luci-app-commands/ucode/template/commands_public.ut:32 msgid "Command executed successfully." msgstr "O comando executou com sucesso." -#: applications/luci-app-commands/luasrc/view/commands_public.htm:32 -msgid "Command exited with status code" -msgstr "O comando encerrou com um estado de erro" +#: applications/luci-app-commands/ucode/template/commands_public.ut:34 +msgid "Command exited with status code %d" +msgstr "O comando encerrado com o código %d" -#: applications/luci-app-commands/luasrc/view/commands.htm:73 +#: applications/luci-app-commands/ucode/template/commands.ut:67 msgid "Command failed" msgstr "O comando falhou" -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:19 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:21 msgid "Command line to execute" msgstr "Linha de comandos a executar" -#: applications/luci-app-commands/luasrc/view/commands.htm:73 +#: applications/luci-app-commands/ucode/template/commands.ut:67 msgid "Command successful" msgstr "Comando executado com sucesso" -#: applications/luci-app-commands/luasrc/view/commands.htm:160 +#: applications/luci-app-commands/ucode/template/commands.ut:154 msgid "Command:" msgstr "Comando:" -#: applications/luci-app-commands/luasrc/controller/commands.lua:9 +#: applications/luci-app-commands/root/usr/share/luci/menu.d/luci-app-commands.json:23 msgid "Configure" msgstr "Configurar" -#: applications/luci-app-commands/luasrc/controller/commands.lua:7 -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:6 -#: applications/luci-app-commands/luasrc/view/commands.htm:144 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:10 +#: applications/luci-app-commands/root/usr/share/luci/menu.d/luci-app-commands.json:3 +#: applications/luci-app-commands/ucode/template/commands.ut:137 msgid "Custom Commands" msgstr "Comandos Personalizados" -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:21 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:26 msgid "Custom arguments" msgstr "Argumentos personalizados" -#: applications/luci-app-commands/luasrc/controller/commands.lua:8 +#: applications/luci-app-commands/root/usr/share/luci/menu.d/luci-app-commands.json:14 msgid "Dashboard" msgstr "Painel de Controle" -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:15 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:18 msgid "Description" msgstr "Descrição" -#: applications/luci-app-commands/luasrc/view/commands.htm:166 +#: applications/luci-app-commands/ucode/template/commands.ut:160 msgid "Download" msgstr "Download" -#: applications/luci-app-commands/luasrc/view/commands.htm:123 +#: applications/luci-app-commands/ucode/template/commands.ut:117 msgid "Download execution result" msgstr "Baixar os resultados da execução" -#: applications/luci-app-commands/luasrc/view/commands.htm:79 +#: applications/luci-app-commands/ucode/template/commands.ut:73 msgid "Failed to execute command!" msgstr "Falha ao executar comando!" @@ -111,35 +111,35 @@ msgstr "Falha ao executar comando!" msgid "Grant UCI access for luci-app-commands" msgstr "Conceda acesso UCI ao luci-app-commands" -#: applications/luci-app-commands/luasrc/view/commands.htm:168 +#: applications/luci-app-commands/ucode/template/commands.ut:162 msgid "Link" msgstr "Endereço" -#: applications/luci-app-commands/luasrc/view/commands.htm:53 +#: applications/luci-app-commands/ucode/template/commands.ut:47 msgid "Loading" msgstr "Carregando" -#: applications/luci-app-commands/luasrc/view/commands.htm:123 +#: applications/luci-app-commands/ucode/template/commands.ut:117 msgid "Or display result" msgstr "Ou mostre o resultado" -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:24 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:29 msgid "Public access" msgstr "Acesso público" -#: applications/luci-app-commands/luasrc/view/commands.htm:165 +#: applications/luci-app-commands/ucode/template/commands.ut:159 msgid "Run" msgstr "Executar" -#: applications/luci-app-commands/luasrc/view/commands_public.htm:41 +#: applications/luci-app-commands/ucode/template/commands_public.ut:44 msgid "Standard Error" msgstr "Saída de Erro" -#: applications/luci-app-commands/luasrc/view/commands_public.htm:36 +#: applications/luci-app-commands/ucode/template/commands_public.ut:39 msgid "Standard Output" msgstr "Saída Padrão" -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:7 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:11 msgid "" "This page allows you to configure custom shell commands which can be easily " "invoked from the web interface." @@ -147,13 +147,16 @@ msgstr "" "Esta página permite a configuração de comandos personalizados que podem ser " "facilmente executados através da interface web." -#: applications/luci-app-commands/luasrc/view/commands.htm:150 +#: applications/luci-app-commands/ucode/template/commands.ut:144 msgid "This section contains no values yet" msgstr "Esta seção ainda não possui nenhum valor" -#: applications/luci-app-commands/luasrc/view/commands.htm:54 +#: applications/luci-app-commands/ucode/template/commands.ut:48 msgid "Waiting for command to complete..." msgstr "Aguardando a conclusão do comando..." +#~ msgid "Command exited with status code" +#~ msgstr "O comando encerrou com um estado de erro" + #~ msgid "Access command with" #~ msgstr "Acessar o comando com" diff --git a/applications/luci-app-commands/po/ro/commands.po b/applications/luci-app-commands/po/ro/commands.po index 1442c17eae..3e18877777 100644 --- a/applications/luci-app-commands/po/ro/commands.po +++ b/applications/luci-app-commands/po/ro/commands.po @@ -1,7 +1,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" -"PO-Revision-Date: 2021-11-22 19:52+0000\n" +"PO-Revision-Date: 2022-11-04 20:04+0000\n" "Last-Translator: Simona Iacob <s@zp1.net>\n" "Language-Team: Romanian <https://hosted.weblate.org/projects/openwrt/" "luciapplicationscommands/ro/>\n" @@ -11,13 +11,13 @@ msgstr "" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=3; plural=n==1 ? 0 : (n==0 || (n%100 > 0 && n%100 < " "20)) ? 1 : 2;\n" -"X-Generator: Weblate 4.10-dev\n" +"X-Generator: Weblate 4.14.2-dev\n" -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:16 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:19 msgid "A short textual description of the configured command" msgstr "O scurta descriere textuala a comenzii configurate" -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:25 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:30 msgid "" "Allow executing the command and downloading its output without prior " "authentication" @@ -25,85 +25,85 @@ msgstr "" "Permite executarea comenzii si descarcarea rezultatului fara o autentificare " "anterioara" -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:22 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:27 msgid "Allow the user to provide additional command line arguments" msgstr "Permite utilizatorului sa adauge parametrii in linia de comanda" -#: applications/luci-app-commands/luasrc/view/commands.htm:162 +#: applications/luci-app-commands/ucode/template/commands.ut:156 msgid "Arguments:" msgstr "Parametrii:" -#: applications/luci-app-commands/luasrc/view/commands.htm:66 +#: applications/luci-app-commands/ucode/template/commands.ut:60 msgid "Binary data not displayed, download instead." msgstr "Datele binare nu sunt afișate, descărcați în schimb." -#: applications/luci-app-commands/luasrc/view/commands.htm:71 +#: applications/luci-app-commands/ucode/template/commands.ut:65 msgid "Code:" msgstr "Cod:" -#: applications/luci-app-commands/luasrc/view/commands.htm:182 +#: applications/luci-app-commands/ucode/template/commands.ut:174 msgid "Collecting data..." msgstr "Colectare date..." -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:18 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:21 msgid "Command" msgstr "Comandă" -#: applications/luci-app-commands/luasrc/view/commands_public.htm:30 +#: applications/luci-app-commands/ucode/template/commands_public.ut:32 msgid "Command executed successfully." msgstr "Comandă executată cu succes." -#: applications/luci-app-commands/luasrc/view/commands_public.htm:32 -msgid "Command exited with status code" -msgstr "Comanda a ieșit cu codul de stare" +#: applications/luci-app-commands/ucode/template/commands_public.ut:34 +msgid "Command exited with status code %d" +msgstr "Comanda a ieșit cu codul de stare %d" -#: applications/luci-app-commands/luasrc/view/commands.htm:73 +#: applications/luci-app-commands/ucode/template/commands.ut:67 msgid "Command failed" msgstr "Comandă eşuată" -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:19 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:21 msgid "Command line to execute" msgstr "Linie de comanda pentru a executa" -#: applications/luci-app-commands/luasrc/view/commands.htm:73 +#: applications/luci-app-commands/ucode/template/commands.ut:67 msgid "Command successful" msgstr "Comanda reusita" -#: applications/luci-app-commands/luasrc/view/commands.htm:160 +#: applications/luci-app-commands/ucode/template/commands.ut:154 msgid "Command:" msgstr "Comanda:" -#: applications/luci-app-commands/luasrc/controller/commands.lua:9 +#: applications/luci-app-commands/root/usr/share/luci/menu.d/luci-app-commands.json:23 msgid "Configure" msgstr "Configureaza" -#: applications/luci-app-commands/luasrc/controller/commands.lua:7 -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:6 -#: applications/luci-app-commands/luasrc/view/commands.htm:144 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:10 +#: applications/luci-app-commands/root/usr/share/luci/menu.d/luci-app-commands.json:3 +#: applications/luci-app-commands/ucode/template/commands.ut:137 msgid "Custom Commands" msgstr "Comenzi particulare" -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:21 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:26 msgid "Custom arguments" msgstr "Argumenta particulare" -#: applications/luci-app-commands/luasrc/controller/commands.lua:8 +#: applications/luci-app-commands/root/usr/share/luci/menu.d/luci-app-commands.json:14 msgid "Dashboard" msgstr "Tabloul de bord" -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:15 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:18 msgid "Description" msgstr "Descriere" -#: applications/luci-app-commands/luasrc/view/commands.htm:166 +#: applications/luci-app-commands/ucode/template/commands.ut:160 msgid "Download" msgstr "Descărcați" -#: applications/luci-app-commands/luasrc/view/commands.htm:123 +#: applications/luci-app-commands/ucode/template/commands.ut:117 msgid "Download execution result" msgstr "Descărcați rezultatul execuției" -#: applications/luci-app-commands/luasrc/view/commands.htm:79 +#: applications/luci-app-commands/ucode/template/commands.ut:73 msgid "Failed to execute command!" msgstr "S-a esuat executarea comenzii!!" @@ -111,35 +111,35 @@ msgstr "S-a esuat executarea comenzii!!" msgid "Grant UCI access for luci-app-commands" msgstr "Acordarea accesului UCI pentru luci-app-commands" -#: applications/luci-app-commands/luasrc/view/commands.htm:168 +#: applications/luci-app-commands/ucode/template/commands.ut:162 msgid "Link" msgstr "Link" -#: applications/luci-app-commands/luasrc/view/commands.htm:53 +#: applications/luci-app-commands/ucode/template/commands.ut:47 msgid "Loading" msgstr "Încărcare" -#: applications/luci-app-commands/luasrc/view/commands.htm:123 +#: applications/luci-app-commands/ucode/template/commands.ut:117 msgid "Or display result" msgstr "Sau afișați rezultatul" -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:24 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:29 msgid "Public access" msgstr "Access public" -#: applications/luci-app-commands/luasrc/view/commands.htm:165 +#: applications/luci-app-commands/ucode/template/commands.ut:159 msgid "Run" msgstr "Ruleaza" -#: applications/luci-app-commands/luasrc/view/commands_public.htm:41 +#: applications/luci-app-commands/ucode/template/commands_public.ut:44 msgid "Standard Error" msgstr "Eroare standard" -#: applications/luci-app-commands/luasrc/view/commands_public.htm:36 +#: applications/luci-app-commands/ucode/template/commands_public.ut:39 msgid "Standard Output" msgstr "Ieșire standard" -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:7 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:11 msgid "" "This page allows you to configure custom shell commands which can be easily " "invoked from the web interface." @@ -147,13 +147,16 @@ msgstr "" "Această pagină vă permite să configurați comenzi shell personalizate care " "pot fi invocate cu ușurință din interfața web." -#: applications/luci-app-commands/luasrc/view/commands.htm:150 +#: applications/luci-app-commands/ucode/template/commands.ut:144 msgid "This section contains no values yet" msgstr "Această secțiune nu conține încă nicio valoare" -#: applications/luci-app-commands/luasrc/view/commands.htm:54 +#: applications/luci-app-commands/ucode/template/commands.ut:48 msgid "Waiting for command to complete..." msgstr "În așteptarea finalizării comenzii..." +#~ msgid "Command exited with status code" +#~ msgstr "Comanda a ieșit cu codul de stare" + #~ msgid "Access command with" #~ msgstr "Acces la comanda cu" diff --git a/applications/luci-app-commands/po/ru/commands.po b/applications/luci-app-commands/po/ru/commands.po index a7cf90aa43..9e0f06820e 100644 --- a/applications/luci-app-commands/po/ru/commands.po +++ b/applications/luci-app-commands/po/ru/commands.po @@ -2,8 +2,8 @@ msgid "" msgstr "" "Project-Id-Version: LuCI: commands\n" "POT-Creation-Date: 2013-10-15 16:48+0300\n" -"PO-Revision-Date: 2021-04-09 12:29+0000\n" -"Last-Translator: The_BadUser <vanjavs@mail.ru>\n" +"PO-Revision-Date: 2022-10-28 15:05+0000\n" +"Last-Translator: sergio <sergio+it@outerface.net>\n" "Language-Team: Russian <https://hosted.weblate.org/projects/openwrt/" "luciapplicationscommands/ru/>\n" "Language: ru\n" @@ -12,15 +12,15 @@ msgstr "" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && n" "%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n" -"X-Generator: Weblate 4.6-dev\n" +"X-Generator: Weblate 4.14.2-dev\n" "Project-Info: Это технический перевод, не дословный. Главное-удобный русский " "интерфейс, все проверялось в графическом режиме, совместим с другими apps\n" -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:16 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:19 msgid "A short textual description of the configured command" msgstr "Короткое текстовое описание команды" -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:25 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:30 msgid "" "Allow executing the command and downloading its output without prior " "authentication" @@ -28,87 +28,87 @@ msgstr "" "Разрешить выполнение команды и загрузку ее выходных данных без ввода пароля " "пользователя" -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:22 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:27 msgid "Allow the user to provide additional command line arguments" msgstr "" "Разрешить пользователю предоставлять дополнительные аргументы командной " "строки" -#: applications/luci-app-commands/luasrc/view/commands.htm:162 +#: applications/luci-app-commands/ucode/template/commands.ut:156 msgid "Arguments:" msgstr "Аргументы:" -#: applications/luci-app-commands/luasrc/view/commands.htm:66 +#: applications/luci-app-commands/ucode/template/commands.ut:60 msgid "Binary data not displayed, download instead." msgstr "Двоичные данные не отображаются, вместо этого загружаются." -#: applications/luci-app-commands/luasrc/view/commands.htm:71 +#: applications/luci-app-commands/ucode/template/commands.ut:65 msgid "Code:" msgstr "Код:" -#: applications/luci-app-commands/luasrc/view/commands.htm:182 +#: applications/luci-app-commands/ucode/template/commands.ut:174 msgid "Collecting data..." msgstr "Сбор данных..." -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:18 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:21 msgid "Command" msgstr "Команда" -#: applications/luci-app-commands/luasrc/view/commands_public.htm:30 +#: applications/luci-app-commands/ucode/template/commands_public.ut:32 msgid "Command executed successfully." msgstr "Команда выполнена успешно." -#: applications/luci-app-commands/luasrc/view/commands_public.htm:32 -msgid "Command exited with status code" -msgstr "Команда вышла с кодом состояния" +#: applications/luci-app-commands/ucode/template/commands_public.ut:34 +msgid "Command exited with status code %d" +msgstr "Команда завершилась с кодом состояния %d" -#: applications/luci-app-commands/luasrc/view/commands.htm:73 +#: applications/luci-app-commands/ucode/template/commands.ut:67 msgid "Command failed" msgstr "Ошибка команды" -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:19 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:21 msgid "Command line to execute" msgstr "Командная строка<br />для выполнения" -#: applications/luci-app-commands/luasrc/view/commands.htm:73 +#: applications/luci-app-commands/ucode/template/commands.ut:67 msgid "Command successful" msgstr "Команда выполнена" -#: applications/luci-app-commands/luasrc/view/commands.htm:160 +#: applications/luci-app-commands/ucode/template/commands.ut:154 msgid "Command:" msgstr "Команда:" -#: applications/luci-app-commands/luasrc/controller/commands.lua:9 +#: applications/luci-app-commands/root/usr/share/luci/menu.d/luci-app-commands.json:23 msgid "Configure" msgstr "Настройка панели управления" -#: applications/luci-app-commands/luasrc/controller/commands.lua:7 -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:6 -#: applications/luci-app-commands/luasrc/view/commands.htm:144 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:10 +#: applications/luci-app-commands/root/usr/share/luci/menu.d/luci-app-commands.json:3 +#: applications/luci-app-commands/ucode/template/commands.ut:137 msgid "Custom Commands" msgstr "Пользовательские команды" -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:21 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:26 msgid "Custom arguments" msgstr "Пользовательские аргументы" -#: applications/luci-app-commands/luasrc/controller/commands.lua:8 +#: applications/luci-app-commands/root/usr/share/luci/menu.d/luci-app-commands.json:14 msgid "Dashboard" msgstr "Панель мониторинга" -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:15 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:18 msgid "Description" msgstr "Описание" -#: applications/luci-app-commands/luasrc/view/commands.htm:166 +#: applications/luci-app-commands/ucode/template/commands.ut:160 msgid "Download" msgstr "Скачать" -#: applications/luci-app-commands/luasrc/view/commands.htm:123 +#: applications/luci-app-commands/ucode/template/commands.ut:117 msgid "Download execution result" msgstr "Результат выполнения загрузки" -#: applications/luci-app-commands/luasrc/view/commands.htm:79 +#: applications/luci-app-commands/ucode/template/commands.ut:73 msgid "Failed to execute command!" msgstr "Ошибка выполнения команды!" @@ -116,35 +116,35 @@ msgstr "Ошибка выполнения команды!" msgid "Grant UCI access for luci-app-commands" msgstr "Предоставить UCI доступ для luci-app-commands" -#: applications/luci-app-commands/luasrc/view/commands.htm:168 +#: applications/luci-app-commands/ucode/template/commands.ut:162 msgid "Link" msgstr "Ссылка" -#: applications/luci-app-commands/luasrc/view/commands.htm:53 +#: applications/luci-app-commands/ucode/template/commands.ut:47 msgid "Loading" msgstr "Загрузка" -#: applications/luci-app-commands/luasrc/view/commands.htm:123 +#: applications/luci-app-commands/ucode/template/commands.ut:117 msgid "Or display result" msgstr "Или отобразить результат" -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:24 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:29 msgid "Public access" msgstr "Публичный доступ" -#: applications/luci-app-commands/luasrc/view/commands.htm:165 +#: applications/luci-app-commands/ucode/template/commands.ut:159 msgid "Run" msgstr "Запуск" -#: applications/luci-app-commands/luasrc/view/commands_public.htm:41 +#: applications/luci-app-commands/ucode/template/commands_public.ut:44 msgid "Standard Error" msgstr "Стандартная ошибка" -#: applications/luci-app-commands/luasrc/view/commands_public.htm:36 +#: applications/luci-app-commands/ucode/template/commands_public.ut:39 msgid "Standard Output" msgstr "Стандартный вывод" -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:7 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:11 msgid "" "This page allows you to configure custom shell commands which can be easily " "invoked from the web interface." @@ -153,10 +153,13 @@ msgstr "" "которые могут быть легко вызваны из веб-интерфейса по нажатию " "соответствующей кнопки. Здесь вы можете подписать кнопки и указать команды." -#: applications/luci-app-commands/luasrc/view/commands.htm:150 +#: applications/luci-app-commands/ucode/template/commands.ut:144 msgid "This section contains no values yet" msgstr "Этот раздел не содержит данных" -#: applications/luci-app-commands/luasrc/view/commands.htm:54 +#: applications/luci-app-commands/ucode/template/commands.ut:48 msgid "Waiting for command to complete..." msgstr "Ожидание завершения выполнения команды..." + +#~ msgid "Command exited with status code" +#~ msgstr "Команда вышла с кодом состояния" diff --git a/applications/luci-app-commands/po/sk/commands.po b/applications/luci-app-commands/po/sk/commands.po index 9e2dc2c4b7..3794991e0c 100644 --- a/applications/luci-app-commands/po/sk/commands.po +++ b/applications/luci-app-commands/po/sk/commands.po @@ -1,8 +1,8 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" -"PO-Revision-Date: 2020-04-04 17:34+0000\n" -"Last-Translator: Dušan Kazik <prescott66@gmail.com>\n" +"PO-Revision-Date: 2022-11-15 00:45+0000\n" +"Last-Translator: MaycoH <hudec.marian@hotmail.com>\n" "Language-Team: Slovak <https://hosted.weblate.org/projects/openwrt/" "luciapplicationscommands/sk/>\n" "Language: sk\n" @@ -10,97 +10,99 @@ msgstr "" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n" -"X-Generator: Weblate 4.0-dev\n" +"X-Generator: Weblate 4.15-dev\n" -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:16 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:19 msgid "A short textual description of the configured command" msgstr "Krátky textový popis nakonfigurovaného príkazu" -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:25 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:30 msgid "" "Allow executing the command and downloading its output without prior " "authentication" msgstr "" +"Povoliť vykonanie príkazu a stiahnutie jeho výstupu bez predchádzajúcej " +"autentifikácie" -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:22 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:27 msgid "Allow the user to provide additional command line arguments" msgstr "Umožniť používateľovi poskytnúť dodatočné parametre príkazového riadku" -#: applications/luci-app-commands/luasrc/view/commands.htm:162 +#: applications/luci-app-commands/ucode/template/commands.ut:156 msgid "Arguments:" msgstr "Parametre:" -#: applications/luci-app-commands/luasrc/view/commands.htm:66 +#: applications/luci-app-commands/ucode/template/commands.ut:60 msgid "Binary data not displayed, download instead." msgstr "Binárne údaje neboli zobrazené, ale môžu byť prevzaté." -#: applications/luci-app-commands/luasrc/view/commands.htm:71 +#: applications/luci-app-commands/ucode/template/commands.ut:65 msgid "Code:" msgstr "Kód:" -#: applications/luci-app-commands/luasrc/view/commands.htm:182 +#: applications/luci-app-commands/ucode/template/commands.ut:174 msgid "Collecting data..." msgstr "Zbierajú sa údaje..." -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:18 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:21 msgid "Command" msgstr "Príkaz" -#: applications/luci-app-commands/luasrc/view/commands_public.htm:30 +#: applications/luci-app-commands/ucode/template/commands_public.ut:32 msgid "Command executed successfully." msgstr "Príkaz úspešne spustený." -#: applications/luci-app-commands/luasrc/view/commands_public.htm:32 -msgid "Command exited with status code" -msgstr "Príkaz skončil so stavovým kódom" +#: applications/luci-app-commands/ucode/template/commands_public.ut:34 +msgid "Command exited with status code %d" +msgstr "Príkaz skončil so stavovým kódom %d" -#: applications/luci-app-commands/luasrc/view/commands.htm:73 +#: applications/luci-app-commands/ucode/template/commands.ut:67 msgid "Command failed" msgstr "Príkaz zlyhal" -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:19 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:21 msgid "Command line to execute" msgstr "Príkazový riadok na spustenie" -#: applications/luci-app-commands/luasrc/view/commands.htm:73 +#: applications/luci-app-commands/ucode/template/commands.ut:67 msgid "Command successful" msgstr "Príkaz úspešný" -#: applications/luci-app-commands/luasrc/view/commands.htm:160 +#: applications/luci-app-commands/ucode/template/commands.ut:154 msgid "Command:" msgstr "Príkaz:" -#: applications/luci-app-commands/luasrc/controller/commands.lua:9 +#: applications/luci-app-commands/root/usr/share/luci/menu.d/luci-app-commands.json:23 msgid "Configure" msgstr "Konfigurovať" -#: applications/luci-app-commands/luasrc/controller/commands.lua:7 -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:6 -#: applications/luci-app-commands/luasrc/view/commands.htm:144 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:10 +#: applications/luci-app-commands/root/usr/share/luci/menu.d/luci-app-commands.json:3 +#: applications/luci-app-commands/ucode/template/commands.ut:137 msgid "Custom Commands" msgstr "Vlastné príkazy" -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:21 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:26 msgid "Custom arguments" msgstr "Vlastné parametre" -#: applications/luci-app-commands/luasrc/controller/commands.lua:8 +#: applications/luci-app-commands/root/usr/share/luci/menu.d/luci-app-commands.json:14 msgid "Dashboard" msgstr "Nástenka" -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:15 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:18 msgid "Description" msgstr "Popis" -#: applications/luci-app-commands/luasrc/view/commands.htm:166 +#: applications/luci-app-commands/ucode/template/commands.ut:160 msgid "Download" msgstr "Prevziať" -#: applications/luci-app-commands/luasrc/view/commands.htm:123 +#: applications/luci-app-commands/ucode/template/commands.ut:117 msgid "Download execution result" -msgstr "" +msgstr "Stiahnuť výsledok vykonania" -#: applications/luci-app-commands/luasrc/view/commands.htm:79 +#: applications/luci-app-commands/ucode/template/commands.ut:73 msgid "Failed to execute command!" msgstr "Zlyhalo spustenie príkazu!" @@ -108,44 +110,50 @@ msgstr "Zlyhalo spustenie príkazu!" msgid "Grant UCI access for luci-app-commands" msgstr "" -#: applications/luci-app-commands/luasrc/view/commands.htm:168 +#: applications/luci-app-commands/ucode/template/commands.ut:162 msgid "Link" msgstr "Odkaz" -#: applications/luci-app-commands/luasrc/view/commands.htm:53 +#: applications/luci-app-commands/ucode/template/commands.ut:47 +#, fuzzy msgid "Loading" msgstr "Načítava sa" -#: applications/luci-app-commands/luasrc/view/commands.htm:123 +#: applications/luci-app-commands/ucode/template/commands.ut:117 msgid "Or display result" msgstr "Alebo zobraziť výsledok" -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:24 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:29 msgid "Public access" msgstr "Verejný prístup" -#: applications/luci-app-commands/luasrc/view/commands.htm:165 +#: applications/luci-app-commands/ucode/template/commands.ut:159 msgid "Run" msgstr "Spustiť" -#: applications/luci-app-commands/luasrc/view/commands_public.htm:41 +#: applications/luci-app-commands/ucode/template/commands_public.ut:44 msgid "Standard Error" msgstr "Štandardná chyba" -#: applications/luci-app-commands/luasrc/view/commands_public.htm:36 +#: applications/luci-app-commands/ucode/template/commands_public.ut:39 msgid "Standard Output" msgstr "Štandardný výstup" -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:7 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:11 msgid "" "This page allows you to configure custom shell commands which can be easily " "invoked from the web interface." msgstr "" +"Táto stránka umožňuje nakonfigurovať vlastné príkazy shellu, ktoré možno " +"jednoducho vyvolať z webového rozhrania." -#: applications/luci-app-commands/luasrc/view/commands.htm:150 +#: applications/luci-app-commands/ucode/template/commands.ut:144 msgid "This section contains no values yet" -msgstr "" +msgstr "Táto sekcia zatiaľ neobsahuje žiadne hodnoty" -#: applications/luci-app-commands/luasrc/view/commands.htm:54 +#: applications/luci-app-commands/ucode/template/commands.ut:48 msgid "Waiting for command to complete..." msgstr "Čaká sa na dokončenie príkazu..." + +#~ msgid "Command exited with status code" +#~ msgstr "Príkaz skončil so stavovým kódom" diff --git a/applications/luci-app-commands/po/sv/commands.po b/applications/luci-app-commands/po/sv/commands.po index 7f862fca19..f532cb3012 100644 --- a/applications/luci-app-commands/po/sv/commands.po +++ b/applications/luci-app-commands/po/sv/commands.po @@ -12,11 +12,11 @@ msgstr "" "Plural-Forms: nplurals=2; plural=n != 1;\n" "X-Generator: Weblate 4.7-dev\n" -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:16 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:19 msgid "A short textual description of the configured command" msgstr "En kort textuell beskrivning av det inställda kommandot" -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:25 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:30 msgid "" "Allow executing the command and downloading its output without prior " "authentication" @@ -24,85 +24,85 @@ msgstr "" "Tillåt att kommandot kan köras och ladda ner dess utmatning utan föregående " "autentisering" -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:22 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:27 msgid "Allow the user to provide additional command line arguments" msgstr "Tillåt användaren att tillge extra kommandoradsargument" -#: applications/luci-app-commands/luasrc/view/commands.htm:162 +#: applications/luci-app-commands/ucode/template/commands.ut:156 msgid "Arguments:" msgstr "Argument:" -#: applications/luci-app-commands/luasrc/view/commands.htm:66 +#: applications/luci-app-commands/ucode/template/commands.ut:60 msgid "Binary data not displayed, download instead." msgstr "Binärdatan visades inte, ladda ner istället." -#: applications/luci-app-commands/luasrc/view/commands.htm:71 +#: applications/luci-app-commands/ucode/template/commands.ut:65 msgid "Code:" msgstr "Kod:" -#: applications/luci-app-commands/luasrc/view/commands.htm:182 +#: applications/luci-app-commands/ucode/template/commands.ut:174 msgid "Collecting data..." msgstr "Samlar in data..." -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:18 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:21 msgid "Command" msgstr "Kommando" -#: applications/luci-app-commands/luasrc/view/commands_public.htm:30 +#: applications/luci-app-commands/ucode/template/commands_public.ut:32 msgid "Command executed successfully." msgstr "Kommandot utfördes korrekt." -#: applications/luci-app-commands/luasrc/view/commands_public.htm:32 -msgid "Command exited with status code" -msgstr "Kommandot avslutade med statuskod" +#: applications/luci-app-commands/ucode/template/commands_public.ut:34 +msgid "Command exited with status code %d" +msgstr "" -#: applications/luci-app-commands/luasrc/view/commands.htm:73 +#: applications/luci-app-commands/ucode/template/commands.ut:67 msgid "Command failed" msgstr "Kommandot misslyckades" -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:19 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:21 msgid "Command line to execute" msgstr "Kommandorad att exekvera" -#: applications/luci-app-commands/luasrc/view/commands.htm:73 +#: applications/luci-app-commands/ucode/template/commands.ut:67 msgid "Command successful" msgstr "Kommandot lyckades" -#: applications/luci-app-commands/luasrc/view/commands.htm:160 +#: applications/luci-app-commands/ucode/template/commands.ut:154 msgid "Command:" msgstr "Kommando:" -#: applications/luci-app-commands/luasrc/controller/commands.lua:9 +#: applications/luci-app-commands/root/usr/share/luci/menu.d/luci-app-commands.json:23 msgid "Configure" msgstr "Ställ in" -#: applications/luci-app-commands/luasrc/controller/commands.lua:7 -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:6 -#: applications/luci-app-commands/luasrc/view/commands.htm:144 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:10 +#: applications/luci-app-commands/root/usr/share/luci/menu.d/luci-app-commands.json:3 +#: applications/luci-app-commands/ucode/template/commands.ut:137 msgid "Custom Commands" msgstr "Anpassade kommandon" -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:21 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:26 msgid "Custom arguments" msgstr "Anpassade argument" -#: applications/luci-app-commands/luasrc/controller/commands.lua:8 +#: applications/luci-app-commands/root/usr/share/luci/menu.d/luci-app-commands.json:14 msgid "Dashboard" msgstr "Instrumentbräda" -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:15 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:18 msgid "Description" msgstr "Beskrivning" -#: applications/luci-app-commands/luasrc/view/commands.htm:166 +#: applications/luci-app-commands/ucode/template/commands.ut:160 msgid "Download" msgstr "Nedladdning" -#: applications/luci-app-commands/luasrc/view/commands.htm:123 +#: applications/luci-app-commands/ucode/template/commands.ut:117 msgid "Download execution result" msgstr "Resultatet av nerladdningen" -#: applications/luci-app-commands/luasrc/view/commands.htm:79 +#: applications/luci-app-commands/ucode/template/commands.ut:73 msgid "Failed to execute command!" msgstr "Misslyckade med att köra kommando!" @@ -110,35 +110,35 @@ msgstr "Misslyckade med att köra kommando!" msgid "Grant UCI access for luci-app-commands" msgstr "Ge UCI åtkomst för luci-app-commands" -#: applications/luci-app-commands/luasrc/view/commands.htm:168 +#: applications/luci-app-commands/ucode/template/commands.ut:162 msgid "Link" msgstr "Länk" -#: applications/luci-app-commands/luasrc/view/commands.htm:53 +#: applications/luci-app-commands/ucode/template/commands.ut:47 msgid "Loading" msgstr "Laddar" -#: applications/luci-app-commands/luasrc/view/commands.htm:123 +#: applications/luci-app-commands/ucode/template/commands.ut:117 msgid "Or display result" msgstr "Eller visa resultat" -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:24 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:29 msgid "Public access" msgstr "Publik tillgång" -#: applications/luci-app-commands/luasrc/view/commands.htm:165 +#: applications/luci-app-commands/ucode/template/commands.ut:159 msgid "Run" msgstr "Kör" -#: applications/luci-app-commands/luasrc/view/commands_public.htm:41 +#: applications/luci-app-commands/ucode/template/commands_public.ut:44 msgid "Standard Error" msgstr "Standardfel" -#: applications/luci-app-commands/luasrc/view/commands_public.htm:36 +#: applications/luci-app-commands/ucode/template/commands_public.ut:39 msgid "Standard Output" msgstr "Standardinmatning" -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:7 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:11 msgid "" "This page allows you to configure custom shell commands which can be easily " "invoked from the web interface." @@ -146,10 +146,13 @@ msgstr "" "Den här sidan tillåter dig att ställa in anpassade skalkommandon som lättast " "kan åberopas från webbgränssnittet." -#: applications/luci-app-commands/luasrc/view/commands.htm:150 +#: applications/luci-app-commands/ucode/template/commands.ut:144 msgid "This section contains no values yet" msgstr "Den här sektionen innehåller inga värden ännu" -#: applications/luci-app-commands/luasrc/view/commands.htm:54 +#: applications/luci-app-commands/ucode/template/commands.ut:48 msgid "Waiting for command to complete..." msgstr "Väntar på att kommandot ska slutföras..." + +#~ msgid "Command exited with status code" +#~ msgstr "Kommandot avslutade med statuskod" diff --git a/applications/luci-app-commands/po/templates/commands.pot b/applications/luci-app-commands/po/templates/commands.pot index 3aefbea650..e8ccedbac6 100644 --- a/applications/luci-app-commands/po/templates/commands.pot +++ b/applications/luci-app-commands/po/templates/commands.pot @@ -1,95 +1,95 @@ msgid "" msgstr "Content-Type: text/plain; charset=UTF-8" -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:16 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:19 msgid "A short textual description of the configured command" msgstr "" -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:25 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:30 msgid "" "Allow executing the command and downloading its output without prior " "authentication" msgstr "" -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:22 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:27 msgid "Allow the user to provide additional command line arguments" msgstr "" -#: applications/luci-app-commands/luasrc/view/commands.htm:162 +#: applications/luci-app-commands/ucode/template/commands.ut:156 msgid "Arguments:" msgstr "" -#: applications/luci-app-commands/luasrc/view/commands.htm:66 +#: applications/luci-app-commands/ucode/template/commands.ut:60 msgid "Binary data not displayed, download instead." msgstr "" -#: applications/luci-app-commands/luasrc/view/commands.htm:71 +#: applications/luci-app-commands/ucode/template/commands.ut:65 msgid "Code:" msgstr "" -#: applications/luci-app-commands/luasrc/view/commands.htm:182 +#: applications/luci-app-commands/ucode/template/commands.ut:174 msgid "Collecting data..." msgstr "" -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:18 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:21 msgid "Command" msgstr "" -#: applications/luci-app-commands/luasrc/view/commands_public.htm:30 +#: applications/luci-app-commands/ucode/template/commands_public.ut:32 msgid "Command executed successfully." msgstr "" -#: applications/luci-app-commands/luasrc/view/commands_public.htm:32 -msgid "Command exited with status code" +#: applications/luci-app-commands/ucode/template/commands_public.ut:34 +msgid "Command exited with status code %d" msgstr "" -#: applications/luci-app-commands/luasrc/view/commands.htm:73 +#: applications/luci-app-commands/ucode/template/commands.ut:67 msgid "Command failed" msgstr "" -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:19 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:21 msgid "Command line to execute" msgstr "" -#: applications/luci-app-commands/luasrc/view/commands.htm:73 +#: applications/luci-app-commands/ucode/template/commands.ut:67 msgid "Command successful" msgstr "" -#: applications/luci-app-commands/luasrc/view/commands.htm:160 +#: applications/luci-app-commands/ucode/template/commands.ut:154 msgid "Command:" msgstr "" -#: applications/luci-app-commands/luasrc/controller/commands.lua:9 +#: applications/luci-app-commands/root/usr/share/luci/menu.d/luci-app-commands.json:23 msgid "Configure" msgstr "" -#: applications/luci-app-commands/luasrc/controller/commands.lua:7 -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:6 -#: applications/luci-app-commands/luasrc/view/commands.htm:144 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:10 +#: applications/luci-app-commands/root/usr/share/luci/menu.d/luci-app-commands.json:3 +#: applications/luci-app-commands/ucode/template/commands.ut:137 msgid "Custom Commands" msgstr "" -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:21 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:26 msgid "Custom arguments" msgstr "" -#: applications/luci-app-commands/luasrc/controller/commands.lua:8 +#: applications/luci-app-commands/root/usr/share/luci/menu.d/luci-app-commands.json:14 msgid "Dashboard" msgstr "" -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:15 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:18 msgid "Description" msgstr "" -#: applications/luci-app-commands/luasrc/view/commands.htm:166 +#: applications/luci-app-commands/ucode/template/commands.ut:160 msgid "Download" msgstr "" -#: applications/luci-app-commands/luasrc/view/commands.htm:123 +#: applications/luci-app-commands/ucode/template/commands.ut:117 msgid "Download execution result" msgstr "" -#: applications/luci-app-commands/luasrc/view/commands.htm:79 +#: applications/luci-app-commands/ucode/template/commands.ut:73 msgid "Failed to execute command!" msgstr "" @@ -97,44 +97,44 @@ msgstr "" msgid "Grant UCI access for luci-app-commands" msgstr "" -#: applications/luci-app-commands/luasrc/view/commands.htm:168 +#: applications/luci-app-commands/ucode/template/commands.ut:162 msgid "Link" msgstr "" -#: applications/luci-app-commands/luasrc/view/commands.htm:53 +#: applications/luci-app-commands/ucode/template/commands.ut:47 msgid "Loading" msgstr "" -#: applications/luci-app-commands/luasrc/view/commands.htm:123 +#: applications/luci-app-commands/ucode/template/commands.ut:117 msgid "Or display result" msgstr "" -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:24 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:29 msgid "Public access" msgstr "" -#: applications/luci-app-commands/luasrc/view/commands.htm:165 +#: applications/luci-app-commands/ucode/template/commands.ut:159 msgid "Run" msgstr "" -#: applications/luci-app-commands/luasrc/view/commands_public.htm:41 +#: applications/luci-app-commands/ucode/template/commands_public.ut:44 msgid "Standard Error" msgstr "" -#: applications/luci-app-commands/luasrc/view/commands_public.htm:36 +#: applications/luci-app-commands/ucode/template/commands_public.ut:39 msgid "Standard Output" msgstr "" -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:7 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:11 msgid "" "This page allows you to configure custom shell commands which can be easily " "invoked from the web interface." msgstr "" -#: applications/luci-app-commands/luasrc/view/commands.htm:150 +#: applications/luci-app-commands/ucode/template/commands.ut:144 msgid "This section contains no values yet" msgstr "" -#: applications/luci-app-commands/luasrc/view/commands.htm:54 +#: applications/luci-app-commands/ucode/template/commands.ut:48 msgid "Waiting for command to complete..." msgstr "" diff --git a/applications/luci-app-commands/po/tr/commands.po b/applications/luci-app-commands/po/tr/commands.po index b4e620d658..22df6a7e09 100644 --- a/applications/luci-app-commands/po/tr/commands.po +++ b/applications/luci-app-commands/po/tr/commands.po @@ -1,8 +1,8 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" -"PO-Revision-Date: 2021-04-09 08:04+0000\n" -"Last-Translator: Oğuz Ersen <oguzersen@protonmail.com>\n" +"PO-Revision-Date: 2022-10-28 15:05+0000\n" +"Last-Translator: Oğuz Ersen <oguz@ersen.moe>\n" "Language-Team: Turkish <https://hosted.weblate.org/projects/openwrt/" "luciapplicationscommands/tr/>\n" "Language: tr\n" @@ -10,13 +10,13 @@ msgstr "" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=1; plural=0;\n" -"X-Generator: Weblate 4.6-dev\n" +"X-Generator: Weblate 4.14.2-dev\n" -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:16 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:19 msgid "A short textual description of the configured command" msgstr "Yapılandırılan komutun kısa bir metin açıklaması" -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:25 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:30 msgid "" "Allow executing the command and downloading its output without prior " "authentication" @@ -24,85 +24,85 @@ msgstr "" "Önceden kimlik doğrulama yapmadan komutun çalıştırılmasına ve çıktısının " "indirilmesine izin ver" -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:22 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:27 msgid "Allow the user to provide additional command line arguments" msgstr "Kullanıcının ek komut satırı argümanları sağlamasına izin ver" -#: applications/luci-app-commands/luasrc/view/commands.htm:162 +#: applications/luci-app-commands/ucode/template/commands.ut:156 msgid "Arguments:" msgstr "Argümanlar:" -#: applications/luci-app-commands/luasrc/view/commands.htm:66 +#: applications/luci-app-commands/ucode/template/commands.ut:60 msgid "Binary data not displayed, download instead." msgstr "İkili veri görüntülenmiyor, bunun yerine indir." -#: applications/luci-app-commands/luasrc/view/commands.htm:71 +#: applications/luci-app-commands/ucode/template/commands.ut:65 msgid "Code:" msgstr "Kod:" -#: applications/luci-app-commands/luasrc/view/commands.htm:182 +#: applications/luci-app-commands/ucode/template/commands.ut:174 msgid "Collecting data..." msgstr "Veriler toplanıyor..." -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:18 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:21 msgid "Command" msgstr "Komut" -#: applications/luci-app-commands/luasrc/view/commands_public.htm:30 +#: applications/luci-app-commands/ucode/template/commands_public.ut:32 msgid "Command executed successfully." msgstr "Komut başarıyla çalıştırıldı." -#: applications/luci-app-commands/luasrc/view/commands_public.htm:32 -msgid "Command exited with status code" -msgstr "Komut şu durum kodu ile çıktı:" +#: applications/luci-app-commands/ucode/template/commands_public.ut:34 +msgid "Command exited with status code %d" +msgstr "Komut, durum kodu %d ile çıktı" -#: applications/luci-app-commands/luasrc/view/commands.htm:73 +#: applications/luci-app-commands/ucode/template/commands.ut:67 msgid "Command failed" msgstr "Komut başarısız oldu" -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:19 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:21 msgid "Command line to execute" msgstr "Çalıştırılacak komut satırı" -#: applications/luci-app-commands/luasrc/view/commands.htm:73 +#: applications/luci-app-commands/ucode/template/commands.ut:67 msgid "Command successful" msgstr "Komut başarılı" -#: applications/luci-app-commands/luasrc/view/commands.htm:160 +#: applications/luci-app-commands/ucode/template/commands.ut:154 msgid "Command:" msgstr "Komut:" -#: applications/luci-app-commands/luasrc/controller/commands.lua:9 +#: applications/luci-app-commands/root/usr/share/luci/menu.d/luci-app-commands.json:23 msgid "Configure" msgstr "Yapılandır" -#: applications/luci-app-commands/luasrc/controller/commands.lua:7 -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:6 -#: applications/luci-app-commands/luasrc/view/commands.htm:144 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:10 +#: applications/luci-app-commands/root/usr/share/luci/menu.d/luci-app-commands.json:3 +#: applications/luci-app-commands/ucode/template/commands.ut:137 msgid "Custom Commands" msgstr "Özel Komutlar" -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:21 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:26 msgid "Custom arguments" msgstr "Özel argümanlar" -#: applications/luci-app-commands/luasrc/controller/commands.lua:8 +#: applications/luci-app-commands/root/usr/share/luci/menu.d/luci-app-commands.json:14 msgid "Dashboard" msgstr "Denetim Paneli" -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:15 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:18 msgid "Description" msgstr "Açıklama" -#: applications/luci-app-commands/luasrc/view/commands.htm:166 +#: applications/luci-app-commands/ucode/template/commands.ut:160 msgid "Download" msgstr "İndir" -#: applications/luci-app-commands/luasrc/view/commands.htm:123 +#: applications/luci-app-commands/ucode/template/commands.ut:117 msgid "Download execution result" msgstr "Çalıştırma sonucunu indir" -#: applications/luci-app-commands/luasrc/view/commands.htm:79 +#: applications/luci-app-commands/ucode/template/commands.ut:73 msgid "Failed to execute command!" msgstr "Komutu çalıştırma başarısız oldu!" @@ -110,35 +110,35 @@ msgstr "Komutu çalıştırma başarısız oldu!" msgid "Grant UCI access for luci-app-commands" msgstr "luci-app-commands için UCI erişimi verin" -#: applications/luci-app-commands/luasrc/view/commands.htm:168 +#: applications/luci-app-commands/ucode/template/commands.ut:162 msgid "Link" msgstr "Bağlantı" -#: applications/luci-app-commands/luasrc/view/commands.htm:53 +#: applications/luci-app-commands/ucode/template/commands.ut:47 msgid "Loading" msgstr "Yükleniyor" -#: applications/luci-app-commands/luasrc/view/commands.htm:123 +#: applications/luci-app-commands/ucode/template/commands.ut:117 msgid "Or display result" msgstr "Veya sonucu göster" -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:24 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:29 msgid "Public access" msgstr "Genel erişim" -#: applications/luci-app-commands/luasrc/view/commands.htm:165 +#: applications/luci-app-commands/ucode/template/commands.ut:159 msgid "Run" msgstr "Çalıştır" -#: applications/luci-app-commands/luasrc/view/commands_public.htm:41 +#: applications/luci-app-commands/ucode/template/commands_public.ut:44 msgid "Standard Error" msgstr "Standart Hata" -#: applications/luci-app-commands/luasrc/view/commands_public.htm:36 +#: applications/luci-app-commands/ucode/template/commands_public.ut:39 msgid "Standard Output" msgstr "Standart Çıktı" -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:7 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:11 msgid "" "This page allows you to configure custom shell commands which can be easily " "invoked from the web interface." @@ -146,10 +146,13 @@ msgstr "" "Bu sayfa, web arayüzünden kolayca çağrılabilen özel kabuk komutlarını " "yapılandırmanıza olanak tanır." -#: applications/luci-app-commands/luasrc/view/commands.htm:150 +#: applications/luci-app-commands/ucode/template/commands.ut:144 msgid "This section contains no values yet" msgstr "Bu bölüm henüz herhangi bir değer içermiyor" -#: applications/luci-app-commands/luasrc/view/commands.htm:54 +#: applications/luci-app-commands/ucode/template/commands.ut:48 msgid "Waiting for command to complete..." msgstr "Komutun tamamlanması bekleniyor..." + +#~ msgid "Command exited with status code" +#~ msgstr "Komut şu durum kodu ile çıktı:" diff --git a/applications/luci-app-commands/po/uk/commands.po b/applications/luci-app-commands/po/uk/commands.po index 920d0f002c..330989db92 100644 --- a/applications/luci-app-commands/po/uk/commands.po +++ b/applications/luci-app-commands/po/uk/commands.po @@ -1,8 +1,8 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" -"PO-Revision-Date: 2021-11-04 17:37+0000\n" -"Last-Translator: Paul Dee <itsascambutmailmeanyway+weblate@gmail.com>\n" +"PO-Revision-Date: 2022-12-04 23:54+0000\n" +"Last-Translator: Arkadii Yakovets <ark@cho.red>\n" "Language-Team: Ukrainian <https://hosted.weblate.org/projects/openwrt/" "luciapplicationscommands/uk/>\n" "Language: uk\n" @@ -11,13 +11,13 @@ msgstr "" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && n" "%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n" -"X-Generator: Weblate 4.9-dev\n" +"X-Generator: Weblate 4.15-dev\n" -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:16 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:19 msgid "A short textual description of the configured command" msgstr "Короткий текстовий опис налаштовуваної команди" -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:25 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:30 msgid "" "Allow executing the command and downloading its output without prior " "authentication" @@ -25,85 +25,85 @@ msgstr "" "Дозволити виконання команди та завантаження її результатів без попередньої " "автентифікації" -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:22 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:27 msgid "Allow the user to provide additional command line arguments" msgstr "Дозвольте користувачеві надати додаткові аргументи командного рядка" -#: applications/luci-app-commands/luasrc/view/commands.htm:162 +#: applications/luci-app-commands/ucode/template/commands.ut:156 msgid "Arguments:" msgstr "Аргументи:" -#: applications/luci-app-commands/luasrc/view/commands.htm:66 +#: applications/luci-app-commands/ucode/template/commands.ut:60 msgid "Binary data not displayed, download instead." msgstr "Бінарні дані не відображаються, завантажте замість цього." -#: applications/luci-app-commands/luasrc/view/commands.htm:71 +#: applications/luci-app-commands/ucode/template/commands.ut:65 msgid "Code:" msgstr "Код:" -#: applications/luci-app-commands/luasrc/view/commands.htm:182 +#: applications/luci-app-commands/ucode/template/commands.ut:174 msgid "Collecting data..." msgstr "Збирання даних..." -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:18 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:21 msgid "Command" msgstr "Команда" -#: applications/luci-app-commands/luasrc/view/commands_public.htm:30 +#: applications/luci-app-commands/ucode/template/commands_public.ut:32 msgid "Command executed successfully." msgstr "Команду вдало виконано." -#: applications/luci-app-commands/luasrc/view/commands_public.htm:32 -msgid "Command exited with status code" -msgstr "Команда вийшла із кодом стану" +#: applications/luci-app-commands/ucode/template/commands_public.ut:34 +msgid "Command exited with status code %d" +msgstr "Команду завершено з кодом стану %d" -#: applications/luci-app-commands/luasrc/view/commands.htm:73 +#: applications/luci-app-commands/ucode/template/commands.ut:67 msgid "Command failed" msgstr "Не вдалося виконати команду" -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:19 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:21 msgid "Command line to execute" msgstr "Командний рядок для виконання" -#: applications/luci-app-commands/luasrc/view/commands.htm:73 +#: applications/luci-app-commands/ucode/template/commands.ut:67 msgid "Command successful" msgstr "Команду виконано" -#: applications/luci-app-commands/luasrc/view/commands.htm:160 +#: applications/luci-app-commands/ucode/template/commands.ut:154 msgid "Command:" msgstr "Команда:" -#: applications/luci-app-commands/luasrc/controller/commands.lua:9 +#: applications/luci-app-commands/root/usr/share/luci/menu.d/luci-app-commands.json:23 msgid "Configure" msgstr "Конфігурація" -#: applications/luci-app-commands/luasrc/controller/commands.lua:7 -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:6 -#: applications/luci-app-commands/luasrc/view/commands.htm:144 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:10 +#: applications/luci-app-commands/root/usr/share/luci/menu.d/luci-app-commands.json:3 +#: applications/luci-app-commands/ucode/template/commands.ut:137 msgid "Custom Commands" msgstr "Власна команда" -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:21 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:26 msgid "Custom arguments" msgstr "Власні аргументи" -#: applications/luci-app-commands/luasrc/controller/commands.lua:8 +#: applications/luci-app-commands/root/usr/share/luci/menu.d/luci-app-commands.json:14 msgid "Dashboard" msgstr "Панелі" -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:15 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:18 msgid "Description" msgstr "Опис" -#: applications/luci-app-commands/luasrc/view/commands.htm:166 +#: applications/luci-app-commands/ucode/template/commands.ut:160 msgid "Download" msgstr "Завантажити" -#: applications/luci-app-commands/luasrc/view/commands.htm:123 +#: applications/luci-app-commands/ucode/template/commands.ut:117 msgid "Download execution result" msgstr "Підсумок виконання завантаження" -#: applications/luci-app-commands/luasrc/view/commands.htm:79 +#: applications/luci-app-commands/ucode/template/commands.ut:73 msgid "Failed to execute command!" msgstr "Помилка виконання команди!" @@ -111,35 +111,35 @@ msgstr "Помилка виконання команди!" msgid "Grant UCI access for luci-app-commands" msgstr "Надати доступ UCI для команд luci-app" -#: applications/luci-app-commands/luasrc/view/commands.htm:168 +#: applications/luci-app-commands/ucode/template/commands.ut:162 msgid "Link" msgstr "Посилання" -#: applications/luci-app-commands/luasrc/view/commands.htm:53 +#: applications/luci-app-commands/ucode/template/commands.ut:47 msgid "Loading" msgstr "Завантаження" -#: applications/luci-app-commands/luasrc/view/commands.htm:123 +#: applications/luci-app-commands/ucode/template/commands.ut:117 msgid "Or display result" msgstr "Або відобразити підсумок" -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:24 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:29 msgid "Public access" msgstr "Відкритий доступ" -#: applications/luci-app-commands/luasrc/view/commands.htm:165 +#: applications/luci-app-commands/ucode/template/commands.ut:159 msgid "Run" msgstr "Запустити" -#: applications/luci-app-commands/luasrc/view/commands_public.htm:41 +#: applications/luci-app-commands/ucode/template/commands_public.ut:44 msgid "Standard Error" msgstr "Стандартна помилка" -#: applications/luci-app-commands/luasrc/view/commands_public.htm:36 +#: applications/luci-app-commands/ucode/template/commands_public.ut:39 msgid "Standard Output" msgstr "Стандартний вивід" -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:7 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:11 msgid "" "This page allows you to configure custom shell commands which can be easily " "invoked from the web interface." @@ -147,10 +147,13 @@ msgstr "" "Ця сторінка дозволяє налаштувати користувацькі команди оболонки, які може " "бути легко запущені з веб-інтерфейсу." -#: applications/luci-app-commands/luasrc/view/commands.htm:150 +#: applications/luci-app-commands/ucode/template/commands.ut:144 msgid "This section contains no values yet" msgstr "Ця секція поки що не містить значень" -#: applications/luci-app-commands/luasrc/view/commands.htm:54 +#: applications/luci-app-commands/ucode/template/commands.ut:48 msgid "Waiting for command to complete..." msgstr "Очікуємо завершення виконання команди..." + +#~ msgid "Command exited with status code" +#~ msgstr "Команда вийшла із кодом стану" diff --git a/applications/luci-app-commands/po/vi/commands.po b/applications/luci-app-commands/po/vi/commands.po index c999af0263..00d2791ee2 100644 --- a/applications/luci-app-commands/po/vi/commands.po +++ b/applications/luci-app-commands/po/vi/commands.po @@ -12,95 +12,95 @@ msgstr "" "Plural-Forms: nplurals=1; plural=0;\n" "X-Generator: Weblate 3.10-dev\n" -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:16 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:19 msgid "A short textual description of the configured command" msgstr "" -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:25 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:30 msgid "" "Allow executing the command and downloading its output without prior " "authentication" msgstr "" -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:22 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:27 msgid "Allow the user to provide additional command line arguments" msgstr "" -#: applications/luci-app-commands/luasrc/view/commands.htm:162 +#: applications/luci-app-commands/ucode/template/commands.ut:156 msgid "Arguments:" msgstr "" -#: applications/luci-app-commands/luasrc/view/commands.htm:66 +#: applications/luci-app-commands/ucode/template/commands.ut:60 msgid "Binary data not displayed, download instead." msgstr "" -#: applications/luci-app-commands/luasrc/view/commands.htm:71 +#: applications/luci-app-commands/ucode/template/commands.ut:65 msgid "Code:" msgstr "" -#: applications/luci-app-commands/luasrc/view/commands.htm:182 +#: applications/luci-app-commands/ucode/template/commands.ut:174 msgid "Collecting data..." msgstr "Đang lấy dữ liệu..." -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:18 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:21 msgid "Command" msgstr "" -#: applications/luci-app-commands/luasrc/view/commands_public.htm:30 +#: applications/luci-app-commands/ucode/template/commands_public.ut:32 msgid "Command executed successfully." msgstr "" -#: applications/luci-app-commands/luasrc/view/commands_public.htm:32 -msgid "Command exited with status code" +#: applications/luci-app-commands/ucode/template/commands_public.ut:34 +msgid "Command exited with status code %d" msgstr "" -#: applications/luci-app-commands/luasrc/view/commands.htm:73 +#: applications/luci-app-commands/ucode/template/commands.ut:67 msgid "Command failed" msgstr "" -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:19 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:21 msgid "Command line to execute" msgstr "" -#: applications/luci-app-commands/luasrc/view/commands.htm:73 +#: applications/luci-app-commands/ucode/template/commands.ut:67 msgid "Command successful" msgstr "" -#: applications/luci-app-commands/luasrc/view/commands.htm:160 +#: applications/luci-app-commands/ucode/template/commands.ut:154 msgid "Command:" msgstr "" -#: applications/luci-app-commands/luasrc/controller/commands.lua:9 +#: applications/luci-app-commands/root/usr/share/luci/menu.d/luci-app-commands.json:23 msgid "Configure" msgstr "" -#: applications/luci-app-commands/luasrc/controller/commands.lua:7 -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:6 -#: applications/luci-app-commands/luasrc/view/commands.htm:144 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:10 +#: applications/luci-app-commands/root/usr/share/luci/menu.d/luci-app-commands.json:3 +#: applications/luci-app-commands/ucode/template/commands.ut:137 msgid "Custom Commands" msgstr "" -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:21 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:26 msgid "Custom arguments" msgstr "" -#: applications/luci-app-commands/luasrc/controller/commands.lua:8 +#: applications/luci-app-commands/root/usr/share/luci/menu.d/luci-app-commands.json:14 msgid "Dashboard" msgstr "" -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:15 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:18 msgid "Description" msgstr "Mô tả" -#: applications/luci-app-commands/luasrc/view/commands.htm:166 +#: applications/luci-app-commands/ucode/template/commands.ut:160 msgid "Download" msgstr "" -#: applications/luci-app-commands/luasrc/view/commands.htm:123 +#: applications/luci-app-commands/ucode/template/commands.ut:117 msgid "Download execution result" msgstr "" -#: applications/luci-app-commands/luasrc/view/commands.htm:79 +#: applications/luci-app-commands/ucode/template/commands.ut:73 msgid "Failed to execute command!" msgstr "" @@ -108,44 +108,44 @@ msgstr "" msgid "Grant UCI access for luci-app-commands" msgstr "" -#: applications/luci-app-commands/luasrc/view/commands.htm:168 +#: applications/luci-app-commands/ucode/template/commands.ut:162 msgid "Link" msgstr "" -#: applications/luci-app-commands/luasrc/view/commands.htm:53 +#: applications/luci-app-commands/ucode/template/commands.ut:47 msgid "Loading" msgstr "Đang tải" -#: applications/luci-app-commands/luasrc/view/commands.htm:123 +#: applications/luci-app-commands/ucode/template/commands.ut:117 msgid "Or display result" msgstr "" -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:24 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:29 msgid "Public access" msgstr "" -#: applications/luci-app-commands/luasrc/view/commands.htm:165 +#: applications/luci-app-commands/ucode/template/commands.ut:159 msgid "Run" msgstr "" -#: applications/luci-app-commands/luasrc/view/commands_public.htm:41 +#: applications/luci-app-commands/ucode/template/commands_public.ut:44 msgid "Standard Error" msgstr "" -#: applications/luci-app-commands/luasrc/view/commands_public.htm:36 +#: applications/luci-app-commands/ucode/template/commands_public.ut:39 msgid "Standard Output" msgstr "" -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:7 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:11 msgid "" "This page allows you to configure custom shell commands which can be easily " "invoked from the web interface." msgstr "" -#: applications/luci-app-commands/luasrc/view/commands.htm:150 +#: applications/luci-app-commands/ucode/template/commands.ut:144 msgid "This section contains no values yet" msgstr "" -#: applications/luci-app-commands/luasrc/view/commands.htm:54 +#: applications/luci-app-commands/ucode/template/commands.ut:48 msgid "Waiting for command to complete..." msgstr "Vui lòng chờ đến khi lệnh được thực thi hoàn thành..." diff --git a/applications/luci-app-commands/po/zh_Hans/commands.po b/applications/luci-app-commands/po/zh_Hans/commands.po index 55ff0969d4..be43d6c150 100644 --- a/applications/luci-app-commands/po/zh_Hans/commands.po +++ b/applications/luci-app-commands/po/zh_Hans/commands.po @@ -5,8 +5,8 @@ msgid "" msgstr "" "Project-Id-Version: \n" "POT-Creation-Date: \n" -"PO-Revision-Date: 2021-04-15 17:26+0000\n" -"Last-Translator: xiazhang <xz@xia.plus>\n" +"PO-Revision-Date: 2022-10-28 15:05+0000\n" +"Last-Translator: Eric <hamburger1024@mailbox.org>\n" "Language-Team: Chinese (Simplified) <https://hosted.weblate.org/projects/" "openwrt/luciapplicationscommands/zh_Hans/>\n" "Language: zh_Hans\n" @@ -14,97 +14,97 @@ msgstr "" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=1; plural=0;\n" -"X-Generator: Weblate 4.6-dev\n" +"X-Generator: Weblate 4.14.2-dev\n" -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:16 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:19 msgid "A short textual description of the configured command" msgstr "简短描述命令用途" -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:25 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:30 msgid "" "Allow executing the command and downloading its output without prior " "authentication" msgstr "允许不事先验证就执行命令并下载其输出" -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:22 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:27 msgid "Allow the user to provide additional command line arguments" msgstr "允许用户提供额外的命令行参数" -#: applications/luci-app-commands/luasrc/view/commands.htm:162 +#: applications/luci-app-commands/ucode/template/commands.ut:156 msgid "Arguments:" msgstr "参数:" -#: applications/luci-app-commands/luasrc/view/commands.htm:66 +#: applications/luci-app-commands/ucode/template/commands.ut:60 msgid "Binary data not displayed, download instead." msgstr "二进制数据未显示,以下载替代。" -#: applications/luci-app-commands/luasrc/view/commands.htm:71 +#: applications/luci-app-commands/ucode/template/commands.ut:65 msgid "Code:" msgstr "状态码:" -#: applications/luci-app-commands/luasrc/view/commands.htm:182 +#: applications/luci-app-commands/ucode/template/commands.ut:174 msgid "Collecting data..." msgstr "正在收集数据…" -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:18 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:21 msgid "Command" msgstr "命令" -#: applications/luci-app-commands/luasrc/view/commands_public.htm:30 +#: applications/luci-app-commands/ucode/template/commands_public.ut:32 msgid "Command executed successfully." msgstr "命令成功执行。" -#: applications/luci-app-commands/luasrc/view/commands_public.htm:32 -msgid "Command exited with status code" -msgstr "命令退出,状态码为" +#: applications/luci-app-commands/ucode/template/commands_public.ut:34 +msgid "Command exited with status code %d" +msgstr "命令已退出,状态码 %d" -#: applications/luci-app-commands/luasrc/view/commands.htm:73 +#: applications/luci-app-commands/ucode/template/commands.ut:67 msgid "Command failed" msgstr "命令执行失败" -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:19 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:21 msgid "Command line to execute" msgstr "执行命令行" -#: applications/luci-app-commands/luasrc/view/commands.htm:73 +#: applications/luci-app-commands/ucode/template/commands.ut:67 msgid "Command successful" msgstr "执行命令成功" -#: applications/luci-app-commands/luasrc/view/commands.htm:160 +#: applications/luci-app-commands/ucode/template/commands.ut:154 msgid "Command:" msgstr "命令:" -#: applications/luci-app-commands/luasrc/controller/commands.lua:9 +#: applications/luci-app-commands/root/usr/share/luci/menu.d/luci-app-commands.json:23 msgid "Configure" msgstr "配置" -#: applications/luci-app-commands/luasrc/controller/commands.lua:7 -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:6 -#: applications/luci-app-commands/luasrc/view/commands.htm:144 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:10 +#: applications/luci-app-commands/root/usr/share/luci/menu.d/luci-app-commands.json:3 +#: applications/luci-app-commands/ucode/template/commands.ut:137 msgid "Custom Commands" msgstr "自定义命令" -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:21 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:26 msgid "Custom arguments" msgstr "自定义参数" -#: applications/luci-app-commands/luasrc/controller/commands.lua:8 +#: applications/luci-app-commands/root/usr/share/luci/menu.d/luci-app-commands.json:14 msgid "Dashboard" msgstr "概览" -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:15 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:18 msgid "Description" msgstr "描述" -#: applications/luci-app-commands/luasrc/view/commands.htm:166 +#: applications/luci-app-commands/ucode/template/commands.ut:160 msgid "Download" msgstr "下载" -#: applications/luci-app-commands/luasrc/view/commands.htm:123 +#: applications/luci-app-commands/ucode/template/commands.ut:117 msgid "Download execution result" msgstr "下载执行结果" -#: applications/luci-app-commands/luasrc/view/commands.htm:79 +#: applications/luci-app-commands/ucode/template/commands.ut:73 msgid "Failed to execute command!" msgstr "执行命令失败!" @@ -112,47 +112,50 @@ msgstr "执行命令失败!" msgid "Grant UCI access for luci-app-commands" msgstr "授予UCI访问luci-app-commands的权限" -#: applications/luci-app-commands/luasrc/view/commands.htm:168 +#: applications/luci-app-commands/ucode/template/commands.ut:162 msgid "Link" msgstr "连接" -#: applications/luci-app-commands/luasrc/view/commands.htm:53 +#: applications/luci-app-commands/ucode/template/commands.ut:47 msgid "Loading" msgstr "加载中" -#: applications/luci-app-commands/luasrc/view/commands.htm:123 +#: applications/luci-app-commands/ucode/template/commands.ut:117 msgid "Or display result" msgstr "显示执行结果" -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:24 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:29 msgid "Public access" msgstr "公开访问" -#: applications/luci-app-commands/luasrc/view/commands.htm:165 +#: applications/luci-app-commands/ucode/template/commands.ut:159 msgid "Run" msgstr "运行" -#: applications/luci-app-commands/luasrc/view/commands_public.htm:41 +#: applications/luci-app-commands/ucode/template/commands_public.ut:44 msgid "Standard Error" msgstr "标准错误流" -#: applications/luci-app-commands/luasrc/view/commands_public.htm:36 +#: applications/luci-app-commands/ucode/template/commands_public.ut:39 msgid "Standard Output" msgstr "标准输出流" -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:7 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:11 msgid "" "This page allows you to configure custom shell commands which can be easily " "invoked from the web interface." msgstr "此页面允许您配置自定义 Shell 命令,并可以从 Web 界面调用。" -#: applications/luci-app-commands/luasrc/view/commands.htm:150 +#: applications/luci-app-commands/ucode/template/commands.ut:144 msgid "This section contains no values yet" msgstr "尚无任何配置" -#: applications/luci-app-commands/luasrc/view/commands.htm:54 +#: applications/luci-app-commands/ucode/template/commands.ut:48 msgid "Waiting for command to complete..." msgstr "正在等待命令完成…" +#~ msgid "Command exited with status code" +#~ msgstr "命令退出,状态码为" + #~ msgid "Command exited with status code " #~ msgstr "命令退出,状态码:" diff --git a/applications/luci-app-commands/po/zh_Hant/commands.po b/applications/luci-app-commands/po/zh_Hant/commands.po index b4ecce8f4e..161088adac 100644 --- a/applications/luci-app-commands/po/zh_Hant/commands.po +++ b/applications/luci-app-commands/po/zh_Hant/commands.po @@ -6,8 +6,8 @@ msgid "" msgstr "" "Project-Id-Version: \n" "POT-Creation-Date: \n" -"PO-Revision-Date: 2022-05-06 11:43+0000\n" -"Last-Translator: 王攀 <41330784@qq.com>\n" +"PO-Revision-Date: 2022-11-25 14:34+0000\n" +"Last-Translator: James Tien <jamestien.1219@gmail.com>\n" "Language-Team: Chinese (Traditional) <https://hosted.weblate.org/projects/" "openwrt/luciapplicationscommands/zh_Hant/>\n" "Language: zh_Hant\n" @@ -15,97 +15,97 @@ msgstr "" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=1; plural=0;\n" -"X-Generator: Weblate 4.12.1\n" +"X-Generator: Weblate 4.15-dev\n" -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:16 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:19 msgid "A short textual description of the configured command" msgstr "簡短描述指令用途" -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:25 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:30 msgid "" "Allow executing the command and downloading its output without prior " "authentication" msgstr "允許執行命令並下載其輸出, 無須事先認證" -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:22 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:27 msgid "Allow the user to provide additional command line arguments" msgstr "允許使用者提供額外的指令列引數" -#: applications/luci-app-commands/luasrc/view/commands.htm:162 +#: applications/luci-app-commands/ucode/template/commands.ut:156 msgid "Arguments:" msgstr "引數:" -#: applications/luci-app-commands/luasrc/view/commands.htm:66 +#: applications/luci-app-commands/ucode/template/commands.ut:60 msgid "Binary data not displayed, download instead." msgstr "二進位資料未顯示,以下載替代。" -#: applications/luci-app-commands/luasrc/view/commands.htm:71 +#: applications/luci-app-commands/ucode/template/commands.ut:65 msgid "Code:" msgstr "狀態碼:" -#: applications/luci-app-commands/luasrc/view/commands.htm:182 +#: applications/luci-app-commands/ucode/template/commands.ut:174 msgid "Collecting data..." msgstr "正在收集資料中…" -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:18 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:21 msgid "Command" msgstr "命令" -#: applications/luci-app-commands/luasrc/view/commands_public.htm:30 +#: applications/luci-app-commands/ucode/template/commands_public.ut:32 msgid "Command executed successfully." msgstr "指令成功執行。" -#: applications/luci-app-commands/luasrc/view/commands_public.htm:32 -msgid "Command exited with status code" -msgstr "指令退出附狀態碼" +#: applications/luci-app-commands/ucode/template/commands_public.ut:34 +msgid "Command exited with status code %d" +msgstr "指令執行完的得到的狀態碼爲%d" -#: applications/luci-app-commands/luasrc/view/commands.htm:73 +#: applications/luci-app-commands/ucode/template/commands.ut:67 msgid "Command failed" msgstr "指令失敗" -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:19 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:21 msgid "Command line to execute" msgstr "執行指令列" -#: applications/luci-app-commands/luasrc/view/commands.htm:73 +#: applications/luci-app-commands/ucode/template/commands.ut:67 msgid "Command successful" msgstr "執行指令成功" -#: applications/luci-app-commands/luasrc/view/commands.htm:160 +#: applications/luci-app-commands/ucode/template/commands.ut:154 msgid "Command:" msgstr "指令:" -#: applications/luci-app-commands/luasrc/controller/commands.lua:9 +#: applications/luci-app-commands/root/usr/share/luci/menu.d/luci-app-commands.json:23 msgid "Configure" msgstr "配置" -#: applications/luci-app-commands/luasrc/controller/commands.lua:7 -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:6 -#: applications/luci-app-commands/luasrc/view/commands.htm:144 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:10 +#: applications/luci-app-commands/root/usr/share/luci/menu.d/luci-app-commands.json:3 +#: applications/luci-app-commands/ucode/template/commands.ut:137 msgid "Custom Commands" msgstr "自訂指令集" -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:21 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:26 msgid "Custom arguments" msgstr "自訂參數集" -#: applications/luci-app-commands/luasrc/controller/commands.lua:8 +#: applications/luci-app-commands/root/usr/share/luci/menu.d/luci-app-commands.json:14 msgid "Dashboard" msgstr "儀表板" -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:15 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:18 msgid "Description" msgstr "描述" -#: applications/luci-app-commands/luasrc/view/commands.htm:166 +#: applications/luci-app-commands/ucode/template/commands.ut:160 msgid "Download" msgstr "下載" -#: applications/luci-app-commands/luasrc/view/commands.htm:123 +#: applications/luci-app-commands/ucode/template/commands.ut:117 msgid "Download execution result" msgstr "下載執行結果" -#: applications/luci-app-commands/luasrc/view/commands.htm:79 +#: applications/luci-app-commands/ucode/template/commands.ut:73 msgid "Failed to execute command!" msgstr "執行指令失敗!" @@ -113,47 +113,50 @@ msgstr "執行指令失敗!" msgid "Grant UCI access for luci-app-commands" msgstr "授予 luci-app-commands 擁有 UCI 存取的權限" -#: applications/luci-app-commands/luasrc/view/commands.htm:168 +#: applications/luci-app-commands/ucode/template/commands.ut:162 msgid "Link" msgstr "連線" -#: applications/luci-app-commands/luasrc/view/commands.htm:53 +#: applications/luci-app-commands/ucode/template/commands.ut:47 msgid "Loading" msgstr "正在載入中" -#: applications/luci-app-commands/luasrc/view/commands.htm:123 +#: applications/luci-app-commands/ucode/template/commands.ut:117 msgid "Or display result" msgstr "顯示執行結果" -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:24 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:29 msgid "Public access" msgstr "公開訪問" -#: applications/luci-app-commands/luasrc/view/commands.htm:165 +#: applications/luci-app-commands/ucode/template/commands.ut:159 msgid "Run" msgstr "執行" -#: applications/luci-app-commands/luasrc/view/commands_public.htm:41 +#: applications/luci-app-commands/ucode/template/commands_public.ut:44 msgid "Standard Error" msgstr "標準錯誤流" -#: applications/luci-app-commands/luasrc/view/commands_public.htm:36 +#: applications/luci-app-commands/ucode/template/commands_public.ut:39 msgid "Standard Output" msgstr "標準輸出流" -#: applications/luci-app-commands/luasrc/model/cbi/commands.lua:7 +#: applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js:11 msgid "" "This page allows you to configure custom shell commands which can be easily " "invoked from the web interface." msgstr "此頁面允許您配置自訂 Shell 指令,並可以從 Web 介面呼叫。" -#: applications/luci-app-commands/luasrc/view/commands.htm:150 +#: applications/luci-app-commands/ucode/template/commands.ut:144 msgid "This section contains no values yet" msgstr "這部分尚無數值" -#: applications/luci-app-commands/luasrc/view/commands.htm:54 +#: applications/luci-app-commands/ucode/template/commands.ut:48 msgid "Waiting for command to complete..." msgstr "正在等待指令完成…" +#~ msgid "Command exited with status code" +#~ msgstr "指令退出附狀態碼" + #~ msgid "Command exited with status code " #~ msgstr "指令退出,狀態碼:" diff --git a/applications/luci-app-commands/root/usr/share/luci/menu.d/luci-app-commands.json b/applications/luci-app-commands/root/usr/share/luci/menu.d/luci-app-commands.json new file mode 100644 index 0000000000..8230b14bc6 --- /dev/null +++ b/applications/luci-app-commands/root/usr/share/luci/menu.d/luci-app-commands.json @@ -0,0 +1,56 @@ +{ + "admin/system/commands": { + "title": "Custom Commands", + "order": 80, + "action": { + "type": "firstchild" + }, + "depends": { + "acl": [ "luci-app-commands" ] + } + }, + + "admin/system/commands/dashboard": { + "title": "Dashboard", + "order": 1, + "action": { + "type": "template", + "path": "commands" + } + }, + + "admin/system/commands/config": { + "title": "Configure", + "order": 2, + "action": { + "type": "view", + "path": "commands" + } + }, + + "admin/system/commands/run/*": { + "order": 3, + "action": { + "type": "function", + "module": "luci.controller.commands", + "function": "action_run" + } + }, + + "admin/system/commands/download/*": { + "order": 4, + "action": { + "type": "function", + "module": "luci.controller.commands", + "function": "action_download" + } + }, + + "command/*": { + "action": { + "type": "function", + "module": "luci.controller.commands", + "function": "action_public" + } + } +} diff --git a/applications/luci-app-commands/ucode/controller/commands.uc b/applications/luci-app-commands/ucode/controller/commands.uc new file mode 100644 index 0000000000..9126d59eb0 --- /dev/null +++ b/applications/luci-app-commands/ucode/controller/commands.uc @@ -0,0 +1,256 @@ +// Copyright 2012-2022 Jo-Philipp Wich <jow@openwrt.org> +// Licensed to the public under the Apache License 2.0. + +'use strict'; + +import { basename, mkstemp, popen } from 'fs'; +import { urldecode } from 'luci.http'; + +// Decode a given string into arguments following shell quoting rules +// [[abc\ def "foo\"bar" abc'def']] -> [[abc def]] [[foo"bar]] [[abcdef]] +function parse_args(str) { + let args = []; + + function isspace(c) { + if (c == 9 || c == 10 || c == 11 || c == 12 || c == 13 || c == 32) + return c; + } + + function isquote(c) { + if (c == 34 || c == 39 || c == 96) + return c; + } + + function isescape(c) { + if (c == 92) + return c; + } + + function ismeta(c) { + if (c == 36 || c == 92 || c == 96) + return c; + } + + // Scan substring defined by the indexes [s, e] of the string "str", + // perform unquoting and de-escaping on the fly and store the result + function unquote(start, end) { + let esc, quote, res = []; + + for (let off = start; off < end; off++) { + const byte = ord(str, off); + const q = isquote(byte); + const e = isescape(byte); + const m = ismeta(byte); + + if (esc) { + if (!m) + push(res, 92); + + push(res, byte); + esc = false; + } + else if (e && quote != 39) { + esc = true; + } + else if (q && quote && q == quote) { + quote = null; + } + else if (q && !quote) { + quote = q; + } + else { + push(res, byte); + } + } + + push(args, chr(...res)); + } + + // Find substring boundaries in "str". Ignore escaped or quoted + // whitespace, pass found start- and end-index for each substring + // to unquote() + let esc, start, quote; + + for (let off = 0; off <= length(str); off++) { + const byte = ord(str, off); + const q = isquote(byte); + const s = isspace(byte) ?? (byte === null); + const e = isescape(byte); + + if (esc) { + esc = false; + } + else if (e && quote != 39) { + esc = true; + start ??= off; + } + else if (q && quote && q == quote) { + quote = null; + } + else if (q && !quote) { + start ??= off; + quote = q; + } + else if (s && !quote) { + if (start !== null) { + unquote(start, off); + start = null; + } + } + else { + start ??= off; + } + } + + // If the "quote" is still set we encountered an unfinished string + if (quote) + unquote(start, length(str)); + + return args; +} + +function test_binary(str) { + for (let off = 0, byte = ord(str); off < length(str); byte = ord(str, ++off)) + if (byte <= 8 || (byte >= 14 && byte <= 31)) + return true; + + return false; +} + +function parse_cmdline(cmdid, args) { + if (uci.get('luci', cmdid) == 'command') { + let cmd = uci.get_all('luci', cmdid); + let argv = parse_args(cmd?.command); + + if (cmd?.param == '1') { + if (length(args)) + push(argv, ...(parse_args(urldecode(args)) ?? [])); + else if (length(args = http.formvalue('args'))) + push(argv, ...(parse_args(args) ?? [])); + } + + return map(argv, v => match(v, /[^\w.\/|-]/) ? `'${replace(v, "'", "'\\''")}'` : v); + } +} + +function execute_command(callback, ...args) { + let argv = parse_cmdline(...args); + + if (argv) { + let outfd = mkstemp(); + let errfd = mkstemp(); + + const exitcode = system(`${join(' ', argv)} >&${outfd.fileno()} 2>&${errfd.fileno()}`); + + outfd.seek(0); + errfd.seek(0); + + const stdout = outfd.read(1024 * 512) ?? ''; + const stderr = errfd.read(1024 * 512) ?? ''; + + outfd.close(); + errfd.close(); + + const binary = test_binary(stdout); + + callback({ + ok: true, + command: join(' ', argv), + stdout: binary ? null : stdout, + stderr, + exitcode, + binary + }); + } + else { + callback({ + ok: false, + code: 404, + reason: "No such command" + }); + } +} + +function return_json(result) { + if (result.ok) { + http.prepare_content('application/json'); + http.write_json(result); + } + else { + http.status(result.code, result.reason); + } +} + + +function return_html(result) { + if (result.ok) { + include('commands_public', result); + } + else { + http.status(result.code, result.reason); + } +} + +return { + action_run: function(...args) { + execute_command(return_json, ...args); + }, + + action_download: function(...args) { + const argv = parse_cmdline(...args); + + if (argv) { + const fd = popen(`${join(' ', argv)} 2>/dev/null`); + + if (fd) { + let filename = replace(basename(argv[0]), /\W+/g, '.'); + let chunk = fd.read(4096) ?? ''; + let name; + + if (test_binary(chunk)) { + http.header("Content-Disposition", `attachment; filename=${filename}.bin`); + http.prepare_content("application/octet-stream"); + } + else { + http.header("Content-Disposition", `attachment; filename=${filename}.txt`); + http.prepare_content("text/plain"); + } + + while (length(chunk)) { + http.write(chunk); + chunk = fd.read(4096); + } + + fd.close(); + } + else { + http.status(500, "Failed to execute command"); + } + } + else { + http.status(404, "No such command"); + } + }, + + action_public: function(cmdid, ...args) { + let disp = false; + + if (substr(cmdid, -1) == "s") { + disp = true; + cmdid = substr(cmdid, 0, -1); + } + + if (cmdid && + uci.get('luci', cmdid) == 'command' && + uci.get('luci', cmdid, 'public') == '1') + { + if (disp) + execute_command(return_html, cmdid, ...args); + else + this.action_download(cmdid, args); + } + else { + http.status(403, "Access to command denied"); + } + } +}; diff --git a/applications/luci-app-commands/ucode/template/commands.ut b/applications/luci-app-commands/ucode/template/commands.ut new file mode 100644 index 0000000000..8e5ce0b486 --- /dev/null +++ b/applications/luci-app-commands/ucode/template/commands.ut @@ -0,0 +1,179 @@ +{# + Copyright 2012-2022 Jo-Philipp Wich <jo@mein.io> + Licensed to the public under the Apache License 2.0. +-#} + +{% + include('header', { css: ` + .commands { + display: flex; + flex-wrap: wrap; + } + + .commandbox { + flex: 0 0 30%; + margin: .5em; + display: flex; + flex-direction: column; + } + + .commandbox > p, + .commandbox > p > * { + display: block; + } + + .commandbox div { + margin-top: auto; + } + ` }); +-%} + +<script type="text/javascript">//<![CDATA[ + var stxhr = new XHR(); + + function command_run(ev, id) + { + var args; + var field = document.getElementById(id); + if (field) + args = encodeURIComponent(field.value); + + var legend = document.getElementById('command-rc-legend'); + var output = document.getElementById('command-rc-output'); + + if (legend && output) + { + output.innerHTML = + '<img src="{{ resource }}/icons/loading.gif" alt="{{ _('Loading') }}" style="vertical-align:middle" /> ' + + '{{ _('Waiting for command to complete...') }}' + ; + + legend.parentNode.style.display = 'block'; + legend.style.display = 'inline'; + + stxhr.get('{{ dispatcher.build_url('admin/system/commands/run') }}/' + id + (args ? '?args=' + args : ''), null, + function(x, st) + { + if (st) + { + if (st.binary) + st.stdout = '[{{ _('Binary data not displayed, download instead.') }}]'; + + legend.style.display = 'none'; + output.innerHTML = String.format( + '<pre><strong># %h\n</strong>%h<span style="color:red">%h</span></pre>' + + '<div class="alert-message warning">%s ({{ _('Code:') }} %d)</div>', + st.command, st.stdout, st.stderr, + (st.exitcode == 0) ? '{{ _('Command successful') }}' : '{{ _('Command failed') }}', + st.exitcode); + } + else + { + legend.style.display = 'none'; + output.innerHTML = '<span class="error">{{ _('Failed to execute command!') }}</span>'; + } + + location.hash = '#output'; + } + ); + } + + ev.preventDefault(); + } + + function command_download(ev, id) + { + var args; + var field = document.getElementById(id); + if (field) + args = encodeURIComponent(field.value); + + location.href = '{{ dispatcher.build_url('admin/system/commands/download') }}/' + id + (args ? '/' + args : ''); + + ev.preventDefault(); + } + + function command_link(ev, id) + { + var legend = document.getElementById('command-rc-legend'); + var output = document.getElementById('command-rc-output'); + + var args; + var field = document.getElementById(id); + if (field) + args = encodeURIComponent(field.value); + + if (legend && output) + { + var prefix = location.protocol + '//' + location.host + '{{ dispatcher.build_url('command') }}/'; + var suffix = (args ? '?args=' + args : ''); + + var link = prefix + id + suffix; + var link_nodownload = prefix + id + "s" + suffix; + + legend.style.display = 'none'; + output.parentNode.style.display = 'block'; + output.innerHTML = String.format( + '<div class="alert-message"><p>{{ _('Download execution result') }} <a href="%s">%s</a></p><p>{{ _('Or display result') }} <a href="%s">%s</a></p></div>', + link, link, link_nodownload, link_nodownload + ); + + location.hash = '#output'; + } + + ev.preventDefault(); + } + +//]]></script> + +{% + const commands = []; + + uci.foreach('luci', 'command', s => push(commands, s)); +-%} + +<form method="get" action="{{ entityencode(FULL_REQUEST_URI) }}"> + <div class="cbi-map"> + <h2 name="content">{{ _('Custom Commands') }}</h2> + + {% if (length(commands) == 0): %} + <div class="cbi-section"> + <div class="table cbi-section-table"> + <div class="tr cbi-section-table-row"> + <p> + <em>{{ _('This section contains no values yet') }}</em> + </p> + </div> + </div> + </div> + {% else %} + <div class="commands"> + {% for (let command in commands): %} + <div class="commandbox"> + <h3>{{ entityencode(command.name) }}</h3> + <p>{{ _('Command:') }} <code>{{ entityencode(command.command) }}</code></p> + {% if (command.param == "1"): %} + <p>{{ _('Arguments:') }} <input type="text" id="{{ command['.name'] }}" /></p> + {% endif %} + <div> + <button class="cbi-button cbi-button-apply" onclick="command_run(event, '{{ command['.name'] }}')">{{ _('Run') }}</button> + <button class="cbi-button cbi-button-download" onclick="command_download(event, '{{ command['.name'] }}')">{{ _('Download') }}</button> + {% if (command.public == "1"): %} + <button class="cbi-button cbi-button-link" onclick="command_link(event, '{{ command['.name'] }}')">{{ _('Link') }}</button> + {% endif %} + </div> + </div> + {% endfor %} + + <a name="output"></a> + </div> + {% endif %} + </div> + + <fieldset class="cbi-section" style="display:none"> + <legend id="command-rc-legend">{{ _('Collecting data...') }}</legend> + <span id="command-rc-output"></span> + </fieldset> +</form> + +{% include('footer') %} diff --git a/applications/luci-app-commands/ucode/template/commands_public.ut b/applications/luci-app-commands/ucode/template/commands_public.ut new file mode 100644 index 0000000000..aef072f802 --- /dev/null +++ b/applications/luci-app-commands/ucode/template/commands_public.ut @@ -0,0 +1,48 @@ +{# + Copyright 2016 t123yh <t123yh@outlook.com> + Copyright 2022 Jo-Philipp Wich <jo@mein.io> + Licensed to the public under the Apache License 2.0. +-#} + +{% + include('header', { blank_page: true, css: ` + .alert-success { + color: #3c763d; + background-color: #dff0d8; + border-color: #d6e9c6; + } + + .alert { + padding: 15px; + margin-bottom: 20px; + border: 1px solid transparent; + border-radius: 4px; + } + + .alert-warning { + color: #8a6d3b; + background-color: #fcf8e3; + border-color: #faebcc; + } + ` }); +-%} + +<div class="alert alert-success" role="alert"> + {% if (exitcode == 0): %} + {{ _('Command executed successfully.') }} + {% else %} + {{ sprintf(_('Command exited with status code %d'), exitcode) }} + {% endif %} +</div> + +{% if (length(stdout)): %} + <h3>{{ _('Standard Output') }}</h3> + <pre>{{ entityencode(stdout) }}</pre> +{% endif %} + +{% if (length(stderr)): %} + <h3>{{ _('Standard Error') }}</h3> + <pre>{{ entityencode(stderr) }}</pre> +{% endif %} + +{% include('footer', { blank_page: true }) %} |