diff --git a/README.md b/README.md index 0193da1..1a2c100 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,7 @@ To use it, clone this repo under ~/.twister/html like this: Localisation ------------ -If you want a localised interface (currently available only for NL, IT, FR and soon RU), +If you want a localised interface (currently available only for NL, IT, FR and RU), use the experimental `i18n` branch: git checkout i18n @@ -57,7 +57,7 @@ If you want to add your own translation, edit `interface_localization.js` like t it should match what the browser reports. The Klingon ISO is "tlh", so: - var knownLanguages = ["en","nl","it","fr","tlh"];` + var knownLanguages = ["en","nl","it","fr","ru","tlh"];` For multi-region languages, if you want to catch them all, use only the first half (e.g. to match it and it-ch, specify "it"). diff --git a/interface_localization.js b/interface_localization.js index 65e341c..265ddda 100644 --- a/interface_localization.js +++ b/interface_localization.js @@ -158,7 +158,11 @@ if(preferredLanguage == "en"){ "Client Version:": "Client Version:", "Mining difficulty:": "Mining difficulty:", "Block generation status": "Block generation status", - "Current hash rate:": "Current hash rate:" + "Current hash rate:": "Current hash rate:", + "Terminate Daemon:": "Terminate Daemon:", + "Exit": "Exit", + "Save Changes": "Save Changes", + "Secret key:": "Secret key:" }; } @@ -280,7 +284,7 @@ if(preferredLanguage == "nl"){ "View All": "Toon alles", "Who to Follow": "Wie volgen?", "Your message was sent!": "Je bericht is verzonden!", - "twister login": "Twister login", + "twister login": "twister login", "Existing local users": "Bestaande lokale gebruikers", "Or...": "Of...", "Create a new user": "Maak een nieuwe gebruiker aan", @@ -295,7 +299,11 @@ if(preferredLanguage == "nl"){ "Client Version:": "Client versie:", "Mining difficulty:": "Mining moeilijkheid:", "Block generation status": "Block genereer status", - "Current hash rate:": "Huidige hash snelheid:" + "Current hash rate:": "Huidige hash snelheid:", + "Terminate Daemon:": "Daemon beëindigen", + "Exit": "Beëindigen", + "Save Changes": "Opslaan", + "Secret key:": "Geheime sleutel:" }; } @@ -429,7 +437,11 @@ if(preferredLanguage == "it"){ "Client Version:": "Client Version:", "Mining difficulty:": "Mining difficulty:", "Block generation status": "Block generation status", - "Current hash rate:": "Current hash rate:" + "Current hash rate:": "Current hash rate:", + "Terminate Daemon:": "Terminate Daemon:", + "Exit": "Exit", + "Save Changes": "Save Changes", + "Secret key:": "Secret key:" }; } @@ -567,7 +579,11 @@ if(preferredLanguage == "fr"){ "Client Version:": "Client Version:", "Mining difficulty:": "Mining difficulty:", "Block generation status": "Block generation status", - "Current hash rate:": "Current hash rate:" + "Current hash rate:": "Current hash rate:", + "Terminate Daemon:": "Terminate Daemon:", + "Exit": "Exit", + "Save Changes": "Save Changes", + "Secret key:": "Secret key:" }; } @@ -703,7 +719,27 @@ if(preferredLanguage == "ru"){ "View": "Просмотреть", "View All": "Просмотреть Всё", "Who to Follow": "Кого почитать", - "Your message was sent!": "Ваше сообщение было отправлено!" + "Your message was sent!": "Ваше сообщение было отправлено!", + "twister login": "twister login", + "Existing local users": "Existing local users", + "Or...": "Or...", + "Create a new user": "Create a new user", + "Login": "Login", + "Check availability": "Check availability", + "Create this nickname": "Create this nickname", + "Type nickname here": "Type nickname here", + "Import secret key": "Import secret key", + "52-characters secret": "52-characters secret", + "With nickname": "With nickname", + "Import key": "Import key", + "Client Version:": "Client Version:", + "Mining difficulty:": "Mining difficulty:", + "Block generation status": "Block generation status", + "Current hash rate:": "Current hash rate:", + "Terminate Daemon:": "Terminate Daemon:", + "Exit": "Exit", + "Save Changes": "Save Changes", + "Secret key:": "Secret key:" }; } diff --git a/login.html b/login.html index 91e3891..9d41410 100644 --- a/login.html +++ b/login.html @@ -15,6 +15,8 @@ + + + + @@ -89,7 +91,7 @@