From 0476a479cad58059c3dab31266fe2d1530645807 Mon Sep 17 00:00:00 2001 From: Steven Barth Date: Mon, 14 Apr 2008 13:42:56 +0000 Subject: * Initial translation for English --- core/src/ffluci/i18n/cbi.en | 8 ++++---- core/src/ffluci/i18n/default.en | 22 ++++++++++++++++++++++ core/src/ffluci/menu.lua | 3 ++- core/src/ffluci/view/cbi/header.htm | 2 +- core/src/ffluci/view/cbi/nsection.htm | 2 +- core/src/ffluci/view/header.htm | 4 ++-- 6 files changed, 32 insertions(+), 9 deletions(-) create mode 100644 core/src/ffluci/i18n/default.en (limited to 'core/src') diff --git a/core/src/ffluci/i18n/cbi.en b/core/src/ffluci/i18n/cbi.en index 7c159ce50..6069cec45 100644 --- a/core/src/ffluci/i18n/cbi.en +++ b/core/src/ffluci/i18n/cbi.en @@ -1,4 +1,4 @@ -uci_add = "Add entry" -uci_del = "Remove entry" -uci_save = "Save configuration" -uci_reset = "Reset form" \ No newline at end of file +cbi_add = "Add entry" +cbi_del = "Remove entry" +cbi_invalid = "Error: Invalid input value" +cbi_addopt = "-- Field --" \ No newline at end of file diff --git a/core/src/ffluci/i18n/default.en b/core/src/ffluci/i18n/default.en new file mode 100644 index 000000000..726095ae7 --- /dev/null +++ b/core/src/ffluci/i18n/default.en @@ -0,0 +1,22 @@ +add = "Add" +save = "Save" +reset = "Reset" + +load = "Load" +webif = "Webinterface" +public = "Public" +admin = "Administration" +apply = "Apply" +changes = "Changes" +revert = "Revert" + +index = "Overview" +system = "System" +services = "Services" +network = "Network" +wifi = "Wifi" +status = "Status" +statistic = "Statistic" + +config = "Configuration" +path = "Path" \ No newline at end of file diff --git a/core/src/ffluci/menu.lua b/core/src/ffluci/menu.lua index 0a1aad5d1..ff4c547f5 100644 --- a/core/src/ffluci/menu.lua +++ b/core/src/ffluci/menu.lua @@ -36,7 +36,8 @@ modelpath = ffluci.config.path .. "/model/menu/" -- Menu definition extra scope scope = { - translate = ffluci.i18n.translate + translate = ffluci.i18n.translate, + loadtrans = ffluci.i18n.loadc } -- Local menu database diff --git a/core/src/ffluci/view/cbi/header.htm b/core/src/ffluci/view/cbi/header.htm index 20b4aac7f..1b69a3a31 100644 --- a/core/src/ffluci/view/cbi/header.htm +++ b/core/src/ffluci/view/cbi/header.htm @@ -3,5 +3,5 @@
- +
diff --git a/core/src/ffluci/view/cbi/nsection.htm b/core/src/ffluci/view/cbi/nsection.htm index 9c54a9942..0f7601a94 100644 --- a/core/src/ffluci/view/cbi/nsection.htm +++ b/core/src/ffluci/view/cbi/nsection.htm @@ -12,6 +12,6 @@ section = self.section %>

<%=self.title%>

<%=self.description%>
- +
<% end %> diff --git a/core/src/ffluci/view/header.htm b/core/src/ffluci/view/header.htm index 40d54f516..1bfc7a02d 100644 --- a/core/src/ffluci/view/header.htm +++ b/core/src/ffluci/view/header.htm @@ -65,11 +65,11 @@ require("ffluci.http").htmlheader()
<%:config Konfiguration%>
-- cgit v1.2.3