diff --git a/assets/webconfig/content/about.html b/assets/webconfig/content/about.html index 9fc12f84..a4e5c61c 100644 --- a/assets/webconfig/content/about.html +++ b/assets/webconfig/content/about.html @@ -3,6 +3,7 @@
+
-
- -
+
+ diff --git a/assets/webconfig/i18n/de.json b/assets/webconfig/i18n/de.json index cb955d54..d3e88210 100644 --- a/assets/webconfig/i18n/de.json +++ b/assets/webconfig/i18n/de.json @@ -45,6 +45,7 @@ "general_btn_next": "Weiter", "general_btn_back": "Zurück", "general_btn_iswitch": "Switch", + "general_chars_needed": "weitere Zeichen benötigt", "general_wiki_moreto": "Mehr Informationen zu \"$1\" findest du in unserem Wiki", "dashboard_label_intro": "Das Dashboard zeigt dir Informationen zum Systemstatus, ob Updates verfügbar sind, den Komponentenstatus sowie die letzten Blog-Posts vom Hyperion Team.", "dashboard_infobox_label_title": "Information", @@ -191,7 +192,6 @@ "conf_network_tok_desc" : "Tokens erlauben andere Anwendungen auf die Hyperion API zuzugreifen. Eine Anwendung kann ein Token anfordern welches von dir bestätigt werden muss oder du erstellst dir selbst ein neues Token. Diese Tokens werden nur benötigt, wenn \"API Autorisierung\" in den Netzwerkeinstellungen aktiviert ist.", "conf_network_tok_cidhead" : "Beschreibung", "conf_network_tok_lastuse" : "Zuletzt genutzt", - "conf_network_tok_chars_needed" : "weitere Zeichen benötigt", "conf_network_tok_comment_title" : "Token Beschreibung", "conf_network_createToken_btn" : "Erstelle Token", "conf_network_tok_diaTitle" : "Neues Token erstellt!", @@ -289,6 +289,7 @@ "about_contribute": "Entwickel Hyperion mit uns weiter!", "about_credits": "Einen Dank an alle Entwickler!", "about_3rd_party_licenses": "Drittanbieter Lizenzen", + "about_3rd_party_licenses_error": "Wir hatten Probleme beim Laden der Drittanbieter Lizenzen aus dem Internet.
Klicke hier um die Datei auf GitHub aufzurufen.", "info_conlost_label_title": "Verbindung zum Hyperion Service unterbrochen!", "info_conlost_label_reason": "Mögliche Ursachen:", "info_conlost_label_reason1": "- Schlechte WLAN Verbindung", diff --git a/assets/webconfig/i18n/en.json b/assets/webconfig/i18n/en.json index a73a64dc..aa96b4af 100644 --- a/assets/webconfig/i18n/en.json +++ b/assets/webconfig/i18n/en.json @@ -44,6 +44,7 @@ "general_btn_next" : "Next", "general_btn_back" : "Back", "general_btn_iswitch" : "Switch", + "general_chars_needed": "more characters needed", "general_wiki_moreto" : "More informations to \"$1\" at our Wiki", "dashboard_label_intro" : "The dashboard give you a quick overview about the status of Hyperion and show you the latest news of the Hyperion Blog.", "dashboard_infobox_label_title" : "Information", @@ -191,7 +192,6 @@ "conf_network_tok_cidhead" : "Description", "conf_network_tok_lastuse" : "Last use", "conf_network_tok_comment_title" : "Token description", - "conf_network_tok_chars_needed" : "more characters needed", "conf_network_createToken_btn" : "Create Token", "conf_network_tok_diaTitle" : "New Token created!", "conf_network_tok_diaMsg" : "Here is your new token which can be used to grant an application access to the Hyperion API. For security reasons you can't view it again so use/note it now.", @@ -287,7 +287,8 @@ "about_resources" : "$1 libraries", "about_contribute" : "Develop Hyperion further with us!", "about_credits" : "Credits to all these developers!", - "about_3rd_party_licenses": "View 3rd party licenses", + "about_3rd_party_licenses": "3rd party licenses", + "about_3rd_party_licenses_error": "We had trouble collecting 3rd party licenses information from web.
Please follow this link to the GitHub Resource.", "info_conlost_label_title" : "Lost connection to Hyperion service!", "info_conlost_label_reason" : "Possible reasons:", "info_conlost_label_reason1" : "- Bad WLAN connection", diff --git a/assets/webconfig/js/content_general.js b/assets/webconfig/js/content_general.js index d43631f9..f99c5fe9 100644 --- a/assets/webconfig/js/content_general.js +++ b/assets/webconfig/js/content_general.js @@ -86,6 +86,10 @@ $(document).ready( function() { $('#inst_name').off().on('input',function(e) { (e.currentTarget.value.length >= 5) ? $('#btn_create_inst').attr('disabled', false) : $('#btn_create_inst').attr('disabled', true); + if(5-e.currentTarget.value.length >= 1 && 5-e.currentTarget.value.length <= 4) + $('#inst_chars_needed').html(5-e.currentTarget.value.length + " " + $.i18n('general_chars_needed')) + else + $('#inst_chars_needed').html("
") }); $('#btn_create_inst').off().on('click',function(e) { diff --git a/assets/webconfig/js/content_network.js b/assets/webconfig/js/content_network.js index b7631d2c..92d51f65 100644 --- a/assets/webconfig/js/content_network.js +++ b/assets/webconfig/js/content_network.js @@ -185,7 +185,7 @@ $(document).ready( function() { $('#tok_comment').off().on('input',function(e) { (e.currentTarget.value.length >= 10) ? $('#btn_create_tok').attr('disabled', false) : $('#btn_create_tok').attr('disabled', true); if(10-e.currentTarget.value.length >= 1 && 10-e.currentTarget.value.length <= 9) - $('#tok_chars_needed').html(10-e.currentTarget.value.length + " " + $.i18n('conf_network_tok_chars_needed')) + $('#tok_chars_needed').html(10-e.currentTarget.value.length + " " + $.i18n('general_chars_needed')) else $('#tok_chars_needed').html("
") });