summaryrefslogtreecommitdiffstats
path: root/lang/en
diff options
context:
space:
mode:
authorSimon Rettberg2014-09-02 18:46:24 +0200
committerSimon Rettberg2014-09-02 18:46:24 +0200
commit32f22e10ff63a555e5b80207dc524390aa4bc6c1 (patch)
tree702a01c3ba1dc2a5ca6ebc4a7810005a8c76a16f /lang/en
parent[Render] Show untranslated tags in rendered output (diff)
downloadslx-admin-32f22e10ff63a555e5b80207dc524390aa4bc6c1.tar.gz
slx-admin-32f22e10ff63a555e5b80207dc524390aa4bc6c1.tar.xz
slx-admin-32f22e10ff63a555e5b80207dc524390aa4bc6c1.zip
[i18n] Language handling is now completely dynamic, no more hardcoded de,en,pt
Diffstat (limited to 'lang/en')
-rw-r--r--lang/en/messages.json1
-rw-r--r--lang/en/name.txt1
-rw-r--r--lang/en/templates/translation/_page.json8
-rw-r--r--lang/en/templates/translation/edit.json (renamed from lang/en/templates/translation/template.json)3
-rw-r--r--lang/en/templates/translation/messages.json17
5 files changed, 6 insertions, 24 deletions
diff --git a/lang/en/messages.json b/lang/en/messages.json
index a300cff7..3302545c 100644
--- a/lang/en/messages.json
+++ b/lang/en/messages.json
@@ -18,6 +18,7 @@
"invalid-action": "Invalid action: {{0}}",
"invalid-file": "The file {{0}} does not exist!",
"invalid-ip": "No interface is configured with the address {{0}}",
+ "invalid-path": "",
"invalid-template": "Selected template is not valid",
"loginfail": "Username or Password incorrect",
"missing-file": "There was no file selected!",
diff --git a/lang/en/name.txt b/lang/en/name.txt
new file mode 100644
index 00000000..3d38949d
--- /dev/null
+++ b/lang/en/name.txt
@@ -0,0 +1 @@
+English \ No newline at end of file
diff --git a/lang/en/templates/translation/_page.json b/lang/en/templates/translation/_page.json
index 1c84d34c..c9c6020d 100644
--- a/lang/en/templates/translation/_page.json
+++ b/lang/en/templates/translation/_page.json
@@ -1,8 +1,8 @@
{
"lang_adminInfo": "In this section you can change the JSON tags that contains the translated texts used by the site. To do this, select a template below to modify their respective tags. Alternatively, click the link below to change the messages of the site.",
+ "lang_editHardcoded": "Edit hardcoded strings",
"lang_editMessages": "Edit Messages",
- "lang_english": "English",
- "lang_german": "German",
- "lang_langAdministration": "Language Administration",
- "lang_portuguese": "Portuguese"
+ "lang_editSettings": "Edit configuration variables related strings",
+ "lang_editTemplates": "Edit template strings",
+ "lang_langAdministration": "Language Administration"
} \ No newline at end of file
diff --git a/lang/en/templates/translation/template.json b/lang/en/templates/translation/edit.json
index ad07a8b6..ff3f44ca 100644
--- a/lang/en/templates/translation/template.json
+++ b/lang/en/templates/translation/edit.json
@@ -2,12 +2,9 @@
"lang_back": "Back",
"lang_createTag": "Create TAG",
"lang_deleteTAG": "Delete",
- "lang_englishJSON": "English JSON",
"lang_englishTAG": "English TAG",
- "lang_germanJSON": "German JSON",
"lang_germanTAG": "German TAG",
"lang_newTAG": "New TAG",
- "lang_portugueseJSON": "German JSON",
"lang_portugueseTAG": "Portuguese TAG",
"lang_save": "Save",
"lang_templateAdminHelp": "",
diff --git a/lang/en/templates/translation/messages.json b/lang/en/templates/translation/messages.json
deleted file mode 100644
index 433e9cdf..00000000
--- a/lang/en/templates/translation/messages.json
+++ /dev/null
@@ -1,17 +0,0 @@
-{
- "lang_back": "Back",
- "lang_deleteTAG": "Delete",
- "lang_englishJSON": "English JSON",
- "lang_englishTAG": "English TAG",
- "lang_germanJSON": "German JSON",
- "lang_germanTAG": "German TAG",
- "lang_messages": "Messages",
- "lang_messagesHardcoded": "Hardcoded Messages",
- "lang_newTAG": "New TAG",
- "lang_newTag": "New Tag",
- "lang_portugueseJSON": "German JSON",
- "lang_portugueseTAG": "Portuguese TAG",
- "lang_save": "Save",
- "lang_templateHint": "Hint: Yellow lines indicate a translation is missing and red lines indicate a tag is not being used by the template.",
- "lang_templateMessagesHelp": ""
-} \ No newline at end of file