Skip to content

Commit 8d00ff4

Browse files
committed
luci-app-lxc: convert to JS - i18n
migrate away from the old luci-app lua control system. See: #7310 Signed-off-by: Paul Donald <newtwen+github@gmail.com>
1 parent 8a6df88 commit 8d00ff4

File tree

40 files changed

+4207
-1186
lines changed

40 files changed

+4207
-1186
lines changed

applications/luci-app-lxc/po/ar/lxc.po

Lines changed: 103 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -11,95 +11,169 @@ msgstr ""
1111
"&& n%100<=10 ? 3 : n%100>=11 ? 4 : 5;\n"
1212
"X-Generator: Weblate 4.5.1-dev\n"
1313

14-
#: applications/luci-app-lxc/luasrc/model/cbi/lxc.lua:18
14+
#: applications/luci-app-lxc/htdocs/luci-static/resources/view/lxc/overview.js:454
1515
msgid ""
1616
"<b>Please note:</b> LXC Containers require features not available on OpenWrt "
1717
"images for devices with small flash."
1818
msgstr ""
1919

20-
#: applications/luci-app-lxc/luasrc/view/lxc.htm:29
21-
#: applications/luci-app-lxc/luasrc/view/lxc.htm:47
20+
#: applications/luci-app-lxc/htdocs/luci-static/resources/view/lxc/overview.js:134
21+
#: applications/luci-app-lxc/htdocs/luci-static/resources/view/lxc/overview.js:148
22+
#: applications/luci-app-lxc/htdocs/luci-static/resources/view/lxc/overview.js:174
23+
#: applications/luci-app-lxc/htdocs/luci-static/resources/view/lxc/overview.js:191
24+
#: applications/luci-app-lxc/htdocs/luci-static/resources/view/lxc/overview.js:245
25+
#: applications/luci-app-lxc/htdocs/luci-static/resources/view/lxc/overview.js:263
26+
#: applications/luci-app-lxc/htdocs/luci-static/resources/view/lxc/overview.js:285
27+
msgid "Action failed!"
28+
msgstr ""
29+
30+
#: applications/luci-app-lxc/htdocs/luci-static/resources/view/lxc/overview.js:468
31+
#: applications/luci-app-lxc/htdocs/luci-static/resources/view/lxc/overview.js:487
2232
msgid "Actions"
2333
msgstr "إجراءات"
2434

25-
#: applications/luci-app-lxc/luasrc/model/cbi/lxc.lua:19
35+
#: applications/luci-app-lxc/htdocs/luci-static/resources/view/lxc/overview.js:455
2636
msgid "Also you may want to install 'kmod-veth' for optional network support."
2737
msgstr ""
2838

29-
#: applications/luci-app-lxc/luasrc/view/lxc.htm:23
39+
#: applications/luci-app-lxc/htdocs/luci-static/resources/view/lxc/overview.js:462
3040
msgid "Available Containers"
3141
msgstr ""
3242

33-
#: applications/luci-app-lxc/luasrc/model/cbi/lxc.lua:25
43+
#: applications/luci-app-lxc/htdocs/luci-static/resources/view/lxc/overview.js:445
44+
msgid "Basic Settings"
45+
msgstr ""
46+
47+
#: applications/luci-app-lxc/htdocs/luci-static/resources/view/lxc/overview.js:203
48+
msgid "Confirm"
49+
msgstr ""
50+
51+
#: applications/luci-app-lxc/htdocs/luci-static/resources/view/lxc/overview.js:65
52+
msgid "Container creation failed!"
53+
msgstr ""
54+
55+
#: applications/luci-app-lxc/htdocs/luci-static/resources/view/lxc/overview.js:254
56+
msgid "Container is not frozen!"
57+
msgstr ""
58+
59+
#: applications/luci-app-lxc/htdocs/luci-static/resources/view/lxc/overview.js:236
60+
#: applications/luci-app-lxc/htdocs/luci-static/resources/view/lxc/overview.js:272
61+
msgid "Container is not running!"
62+
msgstr ""
63+
64+
#: applications/luci-app-lxc/htdocs/luci-static/resources/view/lxc/overview.js:159
65+
msgid "Container is still running!"
66+
msgstr ""
67+
68+
#: applications/luci-app-lxc/htdocs/luci-static/resources/view/lxc/overview.js:42
69+
msgid "Container with that name already exists!"
70+
msgstr ""
71+
72+
#: applications/luci-app-lxc/htdocs/luci-static/resources/view/lxc/overview.js:422
3473
msgid "Containers URL"
3574
msgstr ""
3675

37-
#: applications/luci-app-lxc/luasrc/view/lxc.htm:53
76+
#: applications/luci-app-lxc/htdocs/luci-static/resources/view/lxc/overview.js:497
3877
msgid "Create"
3978
msgstr ""
4079

41-
#: applications/luci-app-lxc/luasrc/view/lxc.htm:41
80+
#: applications/luci-app-lxc/htdocs/luci-static/resources/view/lxc/overview.js:481
4281
msgid "Create New Container"
4382
msgstr ""
4483

45-
#: applications/luci-app-lxc/luasrc/view/lxc.htm:132
84+
#: applications/luci-app-lxc/htdocs/luci-static/resources/view/lxc/overview.js:79
4685
msgid "Delete"
4786
msgstr "احدف"
4887

49-
#: applications/luci-app-lxc/luasrc/view/lxc.htm:50
88+
#: applications/luci-app-lxc/htdocs/luci-static/resources/view/lxc/overview.js:491
5089
msgid "Enter new name"
5190
msgstr ""
5291

53-
#: applications/luci-app-lxc/luasrc/model/cbi/lxc.lua:31
92+
#: applications/luci-app-lxc/htdocs/luci-static/resources/view/lxc/overview.js:428
5493
msgid "Free Space Threshold"
5594
msgstr ""
5695

57-
#: applications/luci-app-lxc/luasrc/model/cbi/lxc.lua:37
96+
#: applications/luci-app-lxc/htdocs/luci-static/resources/view/lxc/overview.js:434
5897
msgid "Free Temp Threshold"
5998
msgstr ""
6099

61100
#: applications/luci-app-lxc/root/usr/share/rpcd/acl.d/luci-app-lxc.json:3
62101
msgid "Grant UCI access for luci-app-lxc"
63102
msgstr ""
64103

65-
#: applications/luci-app-lxc/luasrc/controller/lxc.lua:31
66-
#: applications/luci-app-lxc/luasrc/model/cbi/lxc.lua:17
104+
#: applications/luci-app-lxc/root/usr/share/luci/menu.d/luci-app-lxc.json:3
105+
msgid "LXC Container mgr"
106+
msgstr ""
107+
108+
#: applications/luci-app-lxc/htdocs/luci-static/resources/view/lxc/overview.js:453
67109
msgid "LXC Containers"
68110
msgstr ""
69111

70-
#: applications/luci-app-lxc/luasrc/view/lxc.htm:72
71-
msgid "Loading"
72-
msgstr "جار التحميل"
112+
#: applications/luci-app-lxc/htdocs/luci-static/resources/view/lxc/overview.js:193
113+
msgid "LXC configuration updated"
114+
msgstr ""
115+
116+
#: applications/luci-app-lxc/htdocs/luci-static/resources/view/lxc/overview.js:287
117+
msgid "LXC container rebooted"
118+
msgstr ""
73119

74-
#: applications/luci-app-lxc/luasrc/model/cbi/lxc.lua:32
120+
#: applications/luci-app-lxc/htdocs/luci-static/resources/view/lxc/overview.js:429
75121
msgid "Minimum required free space for LXC Container creation in KB"
76122
msgstr ""
77123

78-
#: applications/luci-app-lxc/luasrc/model/cbi/lxc.lua:38
124+
#: applications/luci-app-lxc/htdocs/luci-static/resources/view/lxc/overview.js:435
79125
msgid "Minimum required free temp space for LXC Container creation in KB"
80126
msgstr ""
81127

82-
#: applications/luci-app-lxc/luasrc/view/lxc.htm:27
83-
#: applications/luci-app-lxc/luasrc/view/lxc.htm:45
128+
#: applications/luci-app-lxc/htdocs/luci-static/resources/view/lxc/overview.js:466
129+
#: applications/luci-app-lxc/htdocs/luci-static/resources/view/lxc/overview.js:485
84130
msgid "Name"
85131
msgstr "اسم"
86132

87-
#: applications/luci-app-lxc/luasrc/model/cbi/lxc.lua:22
88-
msgid "Options"
89-
msgstr "خيارات"
133+
#: applications/luci-app-lxc/root/usr/share/luci/menu.d/luci-app-lxc.json:16
134+
msgid "Overview"
135+
msgstr ""
90136

91-
#: applications/luci-app-lxc/luasrc/view/lxc.htm:130
137+
#: applications/luci-app-lxc/htdocs/luci-static/resources/view/lxc/overview.js:300
138+
msgid "Please select another containers URL."
139+
msgstr ""
140+
141+
#: applications/luci-app-lxc/htdocs/luci-static/resources/view/lxc/overview.js:77
92142
msgid "Start"
93143
msgstr "بداية"
94144

95-
#: applications/luci-app-lxc/luasrc/view/lxc.htm:28
145+
#: applications/luci-app-lxc/htdocs/luci-static/resources/view/lxc/overview.js:467
146+
#: applications/luci-app-lxc/htdocs/luci-static/resources/view/lxc/overview.js:486
96147
msgid "Status"
97148
msgstr "الحالة"
98149

99-
#: applications/luci-app-lxc/luasrc/view/lxc.htm:131
150+
#: applications/luci-app-lxc/htdocs/luci-static/resources/view/lxc/overview.js:78
100151
msgid "Stop"
101152
msgstr "قف"
102153

103-
#: applications/luci-app-lxc/luasrc/view/lxc.htm:46
104-
msgid "Template"
154+
#: applications/luci-app-lxc/htdocs/luci-static/resources/view/lxc/overview.js:34
155+
msgid "Template download in progress, please be patient!"
156+
msgstr ""
157+
158+
#: applications/luci-app-lxc/htdocs/luci-static/resources/view/lxc/overview.js:54
159+
msgid "The Name field must not be empty!"
105160
msgstr ""
161+
162+
#: applications/luci-app-lxc/htdocs/luci-static/resources/view/lxc/overview.js:294
163+
msgid "There are no containers available yet."
164+
msgstr ""
165+
166+
#: applications/luci-app-lxc/htdocs/luci-static/resources/view/lxc/overview.js:299
167+
msgid "There are no templates for your architecture available."
168+
msgstr ""
169+
170+
#: applications/luci-app-lxc/htdocs/luci-static/resources/view/lxc/overview.js:162
171+
msgid ""
172+
"This will completely remove a stopped LXC container from disk. Are you sure?"
173+
msgstr ""
174+
175+
#~ msgid "Loading"
176+
#~ msgstr "جار التحميل"
177+
178+
#~ msgid "Options"
179+
#~ msgstr "خيارات"

0 commit comments

Comments
 (0)