Browse Source

Merge pull request #57 from basst85/translate

Translate more words
master
Giacomo Lacava 11 years ago
parent
commit
a9ad87eb1f
  1. 6
      README.md
  2. 83
      interface_localization.js

6
README.md

@ -73,8 +73,12 @@ For multi-region languages, if you want to catch them all, use only the first ha
} }
} }
4. stage all changes in file `interface_localization.js`
4. commit & push
git add interface_localization.js
5. commit & push
git commit -m "Klingon translation" git commit -m "Klingon translation"

83
interface_localization.js

@ -142,7 +142,23 @@ if(preferredLanguage == "en"){
"View": "View", "View": "View",
"View All": "View All", "View All": "View All",
"Who to Follow": "Who to Follow", "Who to Follow": "Who to Follow",
"Your message was sent!": "Your message was sent!" "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:"
}; };
} }
@ -230,7 +246,7 @@ if(preferredLanguage == "nl"){
"Retransmit": "Retransmit", "Retransmit": "Retransmit",
"Retransmits": "Retransmits", "Retransmits": "Retransmits",
"Retransmitted by": "Retransmitted door", "Retransmitted by": "Retransmitted door",
"search": "zoeken", "search": "Zoeken",
"seconds": "%{smart_count} seconde |||| %{smart_count} seconden", "seconds": "%{smart_count} seconde |||| %{smart_count} seconden",
"send": "Verstuur", "send": "Verstuur",
"Send post with username": "Verstuur bericht met gebruikersnaam ", "Send post with username": "Verstuur bericht met gebruikersnaam ",
@ -263,7 +279,23 @@ if(preferredLanguage == "nl"){
"View": "Toon", "View": "Toon",
"View All": "Toon alles", "View All": "Toon alles",
"Who to Follow": "Wie volgen?", "Who to Follow": "Wie volgen?",
"Your message was sent!": "Je bericht is verzonden!" "Your message was sent!": "Je bericht is verzonden!",
"twister login": "Twister login",
"Existing local users": "Bestaande lokale gebruikers",
"Or...": "Of...",
"Create a new user": "Maak een nieuwe gebruiker aan",
"Login": "Inloggen",
"Check availability": "Controleer beschikbaarheid",
"Create this nickname": "Maak deze gebruiker aan",
"Type nickname here": "Gebruikersnaam",
"Import secret key": "Importeer geheime sleutel",
"52-characters secret": "52-tekens geheim",
"With nickname": "Met gebruikersnaam",
"Import key": "Importeer sleutel",
"Client Version:": "Client versie:",
"Mining difficulty:": "Mining moeilijkheid:",
"Block generation status": "Block genereer status",
"Current hash rate:": "Huidige hash snelheid:"
}; };
} }
@ -381,7 +413,23 @@ if(preferredLanguage == "it"){
"View": "Vedi", "View": "Vedi",
"View All": "Mostra tutti", "View All": "Mostra tutti",
"Who to Follow": "Chi seguire?", "Who to Follow": "Chi seguire?",
"Your message was sent!": "Il messaggio è stato inviato!" "Your message was sent!": "Il messaggio è stato inviato!",
"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:"
}; };
} }
@ -503,7 +551,23 @@ if(preferredLanguage == "fr"){
"View": "Voir", "View": "Voir",
"View All": "Voir tous", "View All": "Voir tous",
"Who to Follow": "Qui suivre", "Who to Follow": "Qui suivre",
"Your message was sent!": "Votre message a été envoyé!" "Your message was sent!": "Votre message a été envoyé!",
"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:"
}; };
} }
@ -678,8 +742,17 @@ var fixedLabels = [
// network page // network page
".network h2, .network h3", ".network h2, .network h3",
".network ul li span", ".network ul li span",
".network ul li label",
".network label", ".network label",
".network textarea, .network input, .network option", ".network textarea, .network input, .network option",
// login page
".login h2, .login h3",
".login ul li span",
".module span",
".login span",
".login-local-username",
".login input"
]; ];
$(document).ready(function(){ $(document).ready(function(){
for(var i=0;i<fixedLabels.length;i++){ for(var i=0;i<fixedLabels.length;i++){

Loading…
Cancel
Save