Skip to content

Commit

Permalink
luci-app-cloudflared: simplify translation
Browse files Browse the repository at this point in the history
Rename "Debug level" with "Logging level".
Reuse similar messages "Log" and "Logs".
Remove now unused "Collecting data...".
Use "Cloudflare Zero Trust Tunnel" instead of just "Cloudflared".

Signed-off-by: Sergey Ponomarev <[email protected]>
  • Loading branch information
stokito committed Feb 7, 2024
1 parent efae5e1 commit fa6dcb5
Show file tree
Hide file tree
Showing 37 changed files with 1,775 additions and 1,275 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ return view.extend({
o.value('us', _('United States'));
o.optional = true;

o = s.option(form.ListValue, 'loglevel', _('Debug level'));
o = s.option(form.ListValue, 'loglevel', _('Logging level'));
o.value('fatal', _('Fatal'));
o.value('error', _('Error'));
o.value('warn', _('Warning'));
Expand Down
87 changes: 51 additions & 36 deletions applications/luci-app-cloudflared/po/ar/cloudflared.po
Original file line number Diff line number Diff line change
Expand Up @@ -12,48 +12,45 @@ msgstr ""
msgid "All"
msgstr ""

#: applications/luci-app-cloudflared/htdocs/luci-static/resources/view/cloudflared/config.js:93
#: applications/luci-app-cloudflared/htdocs/luci-static/resources/view/cloudflared/config.js:77
msgid "Certificate of Origin"
msgstr ""

#: applications/luci-app-cloudflared/htdocs/luci-static/resources/view/cloudflared/config.js:53
#: applications/luci-app-cloudflared/htdocs/luci-static/resources/view/cloudflared/config.js:40
msgid ""
"Cloudflare Zero Trust Security services help you get maximum security both "
"from outside and within the network."
msgstr ""

#: applications/luci-app-cloudflared/htdocs/luci-static/resources/view/cloudflared/config.js:52
msgid "Cloudflare Zero Trust Tunnel"
msgstr ""

#: applications/luci-app-cloudflared/htdocs/luci-static/resources/view/cloudflared/config.js:39
#: applications/luci-app-cloudflared/root/usr/share/luci/menu.d/luci-app-cloudflared.json:3
msgid "Cloudflared"
msgstr ""

#: applications/luci-app-cloudflared/htdocs/luci-static/resources/view/cloudflared/config.js:73
msgid "Collecting data..."
msgid "Cloudflare Zero Trust Tunnel"
msgstr ""

#: applications/luci-app-cloudflared/htdocs/luci-static/resources/view/cloudflared/config.js:85
#: applications/luci-app-cloudflared/htdocs/luci-static/resources/view/cloudflared/config.js:69
msgid "Config file path"
msgstr ""

#: applications/luci-app-cloudflared/root/usr/share/luci/menu.d/luci-app-cloudflared.json:14
msgid "Configuration"
msgstr ""

#: applications/luci-app-cloudflared/htdocs/luci-static/resources/view/cloudflared/config.js:54
#: applications/luci-app-cloudflared/htdocs/luci-static/resources/view/cloudflared/tunnels.js:55
msgid "Connections"
msgstr ""

#: applications/luci-app-cloudflared/htdocs/luci-static/resources/view/cloudflared/config.js:41
msgid ""
"Create and manage your network on the <a %s>Cloudflare Zero Trust</a> "
"dashboard."
msgstr ""

#: applications/luci-app-cloudflared/htdocs/luci-static/resources/view/cloudflared/config.js:113
msgid "Debug"
#: applications/luci-app-cloudflared/htdocs/luci-static/resources/view/cloudflared/tunnels.js:62
msgid "Data center"
msgstr ""

#: applications/luci-app-cloudflared/htdocs/luci-static/resources/view/cloudflared/config.js:108
msgid "Debug level"
#: applications/luci-app-cloudflared/htdocs/luci-static/resources/view/cloudflared/config.js:97
msgid "Debug"
msgstr ""

#: applications/luci-app-cloudflared/htdocs/luci-static/resources/view/cloudflared/log.js:96
Expand All @@ -64,16 +61,16 @@ msgstr ""
msgid "Download Log"
msgstr ""

#: applications/luci-app-cloudflared/htdocs/luci-static/resources/view/cloudflared/config.js:75
#: applications/luci-app-cloudflared/htdocs/luci-static/resources/view/cloudflared/config.js:59
msgid "Enable"
msgstr ""

#: applications/luci-app-cloudflared/htdocs/luci-static/resources/view/cloudflared/config.js:110
#: applications/luci-app-cloudflared/htdocs/luci-static/resources/view/cloudflared/config.js:94
#: applications/luci-app-cloudflared/htdocs/luci-static/resources/view/cloudflared/log.js:92
msgid "Error"
msgstr ""

#: applications/luci-app-cloudflared/htdocs/luci-static/resources/view/cloudflared/config.js:109
#: applications/luci-app-cloudflared/htdocs/luci-static/resources/view/cloudflared/config.js:93
msgid "Fatal"
msgstr ""

Expand All @@ -85,71 +82,89 @@ msgstr ""
msgid "Grant access to Cloudflared configuration"
msgstr ""

#: applications/luci-app-cloudflared/htdocs/luci-static/resources/view/cloudflared/config.js:112
#: applications/luci-app-cloudflared/htdocs/luci-static/resources/view/cloudflared/config.js:96
#: applications/luci-app-cloudflared/htdocs/luci-static/resources/view/cloudflared/log.js:90
msgid "Info"
msgstr ""

#: applications/luci-app-cloudflared/htdocs/luci-static/resources/view/cloudflared/log.js:85
#: applications/luci-app-cloudflared/root/usr/share/luci/menu.d/luci-app-cloudflared.json:30
msgid "Log"
msgstr ""

#: applications/luci-app-cloudflared/htdocs/luci-static/resources/view/cloudflared/log.js:94
msgid "Log Direction:"
msgstr ""

#: applications/luci-app-cloudflared/root/usr/share/luci/menu.d/luci-app-cloudflared.json:22
msgid "Logs"
#: applications/luci-app-cloudflared/htdocs/luci-static/resources/view/cloudflared/config.js:92
msgid "Logging level"
msgstr ""

#: applications/luci-app-cloudflared/htdocs/luci-static/resources/view/cloudflared/tunnels.js:69
msgid "No connections"
msgstr ""

#: applications/luci-app-cloudflared/htdocs/luci-static/resources/view/cloudflared/config.js:36
#: applications/luci-app-cloudflared/htdocs/luci-static/resources/view/cloudflared/config.js:55
msgid "Not Running"
msgstr ""

#: applications/luci-app-cloudflared/htdocs/luci-static/resources/view/cloudflared/config.js:95
#: applications/luci-app-cloudflared/htdocs/luci-static/resources/view/cloudflared/config.js:79
msgid "Obtain a certificate <a %s>here</a>."
msgstr ""

#: applications/luci-app-cloudflared/htdocs/luci-static/resources/view/cloudflared/config.js:102
#: applications/luci-app-cloudflared/htdocs/luci-static/resources/view/cloudflared/tunnels.js:61
msgid "Opened At"
msgstr ""

#: applications/luci-app-cloudflared/htdocs/luci-static/resources/view/cloudflared/tunnels.js:60
msgid "Origin IP"
msgstr ""

#: applications/luci-app-cloudflared/htdocs/luci-static/resources/view/cloudflared/config.js:86
msgid "Region"
msgstr ""

#: applications/luci-app-cloudflared/htdocs/luci-static/resources/view/cloudflared/config.js:34
#: applications/luci-app-cloudflared/htdocs/luci-static/resources/view/cloudflared/config.js:54
msgid "Running"
msgstr ""

#: applications/luci-app-cloudflared/htdocs/luci-static/resources/view/cloudflared/config.js:56
#: applications/luci-app-cloudflared/htdocs/luci-static/resources/view/cloudflared/config.js:86
#: applications/luci-app-cloudflared/htdocs/luci-static/resources/view/cloudflared/config.js:43
#: applications/luci-app-cloudflared/htdocs/luci-static/resources/view/cloudflared/config.js:70
msgid "See <a %s>documentation</a>."
msgstr ""

#: applications/luci-app-cloudflared/htdocs/luci-static/resources/view/cloudflared/config.js:62
#: applications/luci-app-cloudflared/htdocs/luci-static/resources/view/cloudflared/config.js:49
msgid "Status"
msgstr ""

#: applications/luci-app-cloudflared/htdocs/luci-static/resources/view/cloudflared/config.js:94
#: applications/luci-app-cloudflared/htdocs/luci-static/resources/view/cloudflared/config.js:78
msgid ""
"The account certificate for your zones authorizing the client to serve as an "
"Origin for that zone"
msgstr ""

#: applications/luci-app-cloudflared/htdocs/luci-static/resources/view/cloudflared/config.js:103
#: applications/luci-app-cloudflared/htdocs/luci-static/resources/view/cloudflared/config.js:87
msgid "The region to which connections are established."
msgstr ""

#: applications/luci-app-cloudflared/htdocs/luci-static/resources/view/cloudflared/config.js:79
#: applications/luci-app-cloudflared/htdocs/luci-static/resources/view/cloudflared/config.js:63
msgid "The tunnel token is shown in the dashboard once you create a tunnel."
msgstr ""

#: applications/luci-app-cloudflared/htdocs/luci-static/resources/view/cloudflared/config.js:78
#: applications/luci-app-cloudflared/htdocs/luci-static/resources/view/cloudflared/config.js:62
msgid "Token"
msgstr ""

#: applications/luci-app-cloudflared/htdocs/luci-static/resources/view/cloudflared/tunnels.js:82
#: applications/luci-app-cloudflared/root/usr/share/luci/menu.d/luci-app-cloudflared.json:22
msgid "Tunnels"
msgstr ""

#: applications/luci-app-cloudflared/htdocs/luci-static/resources/view/cloudflared/log.js:33
msgid "Unable to read the interface info from /var/log/cloudflared.log."
msgstr ""

#: applications/luci-app-cloudflared/htdocs/luci-static/resources/view/cloudflared/config.js:105
#: applications/luci-app-cloudflared/htdocs/luci-static/resources/view/cloudflared/config.js:89
msgid "United States"
msgstr ""

Expand All @@ -161,6 +176,6 @@ msgstr ""
msgid "Warn"
msgstr ""

#: applications/luci-app-cloudflared/htdocs/luci-static/resources/view/cloudflared/config.js:111
#: applications/luci-app-cloudflared/htdocs/luci-static/resources/view/cloudflared/config.js:95
msgid "Warning"
msgstr ""
Loading

0 comments on commit fa6dcb5

Please sign in to comment.