From 65a38355e8b6b403459334a6188b8533d13d4bac Mon Sep 17 00:00:00 2001 From: basst85 Date: Tue, 14 Jan 2014 16:29:26 +0100 Subject: [PATCH 1/3] Added first Dutch words --- interface_localization.js | 125 +++++++++++++++++++++++++++++++++++++- 1 file changed, 123 insertions(+), 2 deletions(-) diff --git a/interface_localization.js b/interface_localization.js index 067cc8b..fe7820a 100644 --- a/interface_localization.js +++ b/interface_localization.js @@ -4,7 +4,7 @@ // uses Polyglot.js ( https://github.com/airbnb/polyglot.js ) to translate interface // translators: add your language code here such as "es" for Spanish, "ru" for Russian -var knownLanguages = ["en"]; +var knownLanguages = ["en","nl"]; // detect language with JavaScript var preferredLanguage = window.navigator.userLanguage || window.navigator.language || "en"; @@ -146,6 +146,127 @@ if(preferredLanguage == "en"){ }; } +if(preferredLanguage == "nl"){ + polyglot.locale("nl"); + wordset = { + "Actions ▼": "Acties ▼", + "Active DHT nodes:": "Actieve DHT nodes: ", + "Add DNS": "DNS toevoegen", + "Add peer": "Add peer", + "ajax_error": "Ajax error: %{error}", // JavaScript error + "All users publicly followed by": "All users publicly followed by", + "Available": "Beschikbaar", // username is available + "Block chain information": "Block chain information", + "Block chain is up-to-date, twister is ready to use!": "Block chain is up-to-date, twister is klaar voor gebruik!", + "Block generation": "Block generation ", + "Cancel": "Annuleren", + "Change user": "Gebruiker wijzigen", + "Checking...": "Checking...", // checking if username is available + "Collapse": "Uitklappen", // smaller view of a post + "Configure block generation": "Configure block generation", + "Connections:": "Connecties: ", // to network + "Connection lost.": "Verbinding kwijt.", + "days": "%{smart_count} dag |||| %{smart_count} dagen", + "Detailed information": "Detailed information", + "DHT network down.": "DHT netwerk down.", + "Direct Messages": "Privéberichten", + "Disable": "Uitschakelen", + "Display mentions to @": "Display mentions to @", + "Display retransmissions": "Display retransmissions", + "DNS to obtain list of peers:": "DNS to obtain list of peers:", + "downloading_block_chain": "Downloading block chain, please wait before continuing (block chain is %{days} days old).", + "download_posts_status": "Downloaded %{portion} posts", // Downloaded 10/30 posts + "Enable": "Activeren", + "error": "Error: %{error}", + "error_connecting_to_daemon": "Error connecting to local twister daemon.", + "Error in 'createwalletuser' RPC.": "Error in 'createwalletuser' RPC.", + "Error in 'importprivkey'": "Error in 'importprivkey' RPC: %{rpc}", + "Error in 'sendnewusertransaction' RPC.": "Error in 'sendnewusertransaction' RPC.", + "Expand": "Expand", // larger view of a post + "Favorite": "Favoriet", + "File APIs not supported in this browser.": "File APIs not supported in this browser.", + "Follow": "Volgen", + "Followed by": "Gevolgd door", + "followed_by": "Gevolgd door %{username}", + "Followers": "Volgers", + "Following": "Volgend", + "Following users": "Volgende gebruikers", + "Force connection to peer:": "Force connection to peer:", + "General information": "Algemene informatie", + "Generate blocks (send promoted messages)": "Generate blocks (send promoted messages)", + "Home": "Home", // homepage + "hours": "%{smart_count} hour |||| %{smart_count} hours", + "Internal error: lastPostId unknown (following yourself may fix!)": "Internal error: lastPostId unknown (following yourself may fix!)", + "Known peers:": "Known peers: ", + "Last block is ahead of your computer time, check your clock.": "Last block is ahead of your computer time, check your clock.", + "mentions_at": "Mentions @%{user}", + "minutes": "%{smart_count} minute |||| %{smart_count} minutes", + "Must be 16 characters or less.": "Must be 16 characters or less.", // username + "Network": "Network", + "Network config": "Network config", + "Network status": "Network status", + "New direct message...": "Nieuw privébericht...", + "New Post...": "Nieuw Bericht...", + "new_posts": "%{smart_count} new post |||| %{smart_count} new posts", + "nobody": "nobody", // used to promote a post without attaching the user + "Not available": "Niet beschikbaar", // username is not available + "Number of blocks in block chain:": "Number of blocks in block chain: ", + "Number of CPUs to use": "Number of CPUs to use ", + "Only alphanumeric and underscore allowed.": "Only alphanumeric and underscore allowed.", + "peer address": "peer address", + "Private": "Privé", + "Profile": "Profiel", + "Postboard": "Postboard", + "post": "post", // verb - button to post a message + "Post to promote:": "Post to promote: ", + "Posts": "Berichten", + "propagating_nickname": "Propagating nickname %{username} to the network...", + "Public": "Publiek", + "Refresh": "Vernieuwen", + "retransmit_this": "Retransmit this post to your followers?", + "Reply": "Beantwoorden", + "Reply...": "Beantwoord...", + "reply_to": "Beantwoord %{fullname}", + "Retransmit": "Retransmit", + "Retransmits": "Retransmits", + "Retransmitted by": "Retransmitted by", + "search": "zoeken", + "seconds": "%{smart_count} second |||| %{smart_count} seconds", + "send": "Verstuur", + "Send post with username": "Send post with username ", + "Sent Direct Message": "Verstuur Privébericht", + "Sent Post to @": "Verstuur Bericht naar @", + "Setup account": "Account instellingen", + "switch_to_network": "Local daemon is not connected to the network or\n" + + "block chain is outdated. If you stay in this page\n" + + "your actions may not work.\n" + + "Do you want to check Network Status page instead?", + "The File APIs are not fully supported in this browser.": "The File APIs are not fully supported in this browser.", + "time_ago": "%{time} ago", // 5 minutes ago + "Time of the last block:": "Time of the last block: ", + "Type message here": "Type message here", + "Unfollow": "Unfollow", + "Update": "Update", + "Updating status...": "Updating status...", // status of block chain + "user_not_yet_accepted": "Other peers have not yet accepted this new user.\n" + + "Unfortunately it is not possible to save profile\n" + + "or send any posts in this state.\n\n" + + "Please wait a few minutes to continue.\n\n" + + "The 'Save Changes' will be automatically enabled\n" + + "when the process completes. (I promise this is\n"+ + "the last time you will have to wait before using\n" + + "twister).\n\n" + + "Tip: choose your avatar in the meantime!", + "users_mentions": "Mentions of @%{username}", + "users_profile": "%{username}'s Profile", + "username_undefined": "Username undefined, login required.", + "View": "Toon", + "View All": "Toon alles", + "Who to Follow": "Wie volgen", + "Your message was sent!": "Je bericht is verzonden!" + }; +} + // translators: sample adding a language if(preferredLanguage == "ru"){ // polyglot.locale() is used to support plurals @@ -223,4 +344,4 @@ $(document).ready(function(){ } } } -}); \ No newline at end of file +}); From fb28256b80cc41dea5daa514e0e6fccb685169c5 Mon Sep 17 00:00:00 2001 From: Msjoinder Date: Tue, 14 Jan 2014 21:31:53 -0600 Subject: [PATCH 2/3] include 'Followed by' in Who To Follow --- following.html | 3 ++- home.html | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/following.html b/following.html index bc8f7cc..a2da6af 100644 --- a/following.html +++ b/following.html @@ -168,7 +168,8 @@ -
Followed by +
+ Followed by
× diff --git a/home.html b/home.html index c8434a3..c0480cc 100644 --- a/home.html +++ b/home.html @@ -175,7 +175,8 @@ -
Followed by +
+ Followed by
× From 779cd59b4e6e05fc2fef14183c71ba2406e4c476 Mon Sep 17 00:00:00 2001 From: basst85 Date: Wed, 15 Jan 2014 06:31:10 +0100 Subject: [PATCH 3/3] Added more Dutch words --- interface_localization.js | 60 +++++++++++++++++++-------------------- 1 file changed, 30 insertions(+), 30 deletions(-) diff --git a/interface_localization.js b/interface_localization.js index fe7820a..1862e01 100644 --- a/interface_localization.js +++ b/interface_localization.js @@ -154,9 +154,9 @@ if(preferredLanguage == "nl"){ "Add DNS": "DNS toevoegen", "Add peer": "Add peer", "ajax_error": "Ajax error: %{error}", // JavaScript error - "All users publicly followed by": "All users publicly followed by", + "All users publicly followed by": "Alle gebruikers openbaarlijk gevolgd door", "Available": "Beschikbaar", // username is available - "Block chain information": "Block chain information", + "Block chain information": "Block chain informatie", "Block chain is up-to-date, twister is ready to use!": "Block chain is up-to-date, twister is klaar voor gebruik!", "Block generation": "Block generation ", "Cancel": "Annuleren", @@ -167,24 +167,24 @@ if(preferredLanguage == "nl"){ "Connections:": "Connecties: ", // to network "Connection lost.": "Verbinding kwijt.", "days": "%{smart_count} dag |||| %{smart_count} dagen", - "Detailed information": "Detailed information", + "Detailed information": "Gedetailleerde information", "DHT network down.": "DHT netwerk down.", "Direct Messages": "Privéberichten", "Disable": "Uitschakelen", - "Display mentions to @": "Display mentions to @", - "Display retransmissions": "Display retransmissions", + "Display mentions to @": "Toon vermeldingen voor @", + "Display retransmissions": "Toon retransmissions", "DNS to obtain list of peers:": "DNS to obtain list of peers:", - "downloading_block_chain": "Downloading block chain, please wait before continuing (block chain is %{days} days old).", - "download_posts_status": "Downloaded %{portion} posts", // Downloaded 10/30 posts + "downloading_block_chain": "Bezig met downloaden block chain, wacht a.u.b. voordat je doorgaat (block chain is %{days} dagen oud).", + "download_posts_status": "%{portion} berichten gedownload", // Downloaded 10/30 posts "Enable": "Activeren", "error": "Error: %{error}", "error_connecting_to_daemon": "Error connecting to local twister daemon.", "Error in 'createwalletuser' RPC.": "Error in 'createwalletuser' RPC.", "Error in 'importprivkey'": "Error in 'importprivkey' RPC: %{rpc}", "Error in 'sendnewusertransaction' RPC.": "Error in 'sendnewusertransaction' RPC.", - "Expand": "Expand", // larger view of a post + "Expand": "Uitklappen", // larger view of a post "Favorite": "Favoriet", - "File APIs not supported in this browser.": "File APIs not supported in this browser.", + "File APIs not supported in this browser.": "File APIs worden nie ondersteund in deze browser.", "Follow": "Volgen", "Followed by": "Gevolgd door", "followed_by": "Gevolgd door %{username}", @@ -195,19 +195,19 @@ if(preferredLanguage == "nl"){ "General information": "Algemene informatie", "Generate blocks (send promoted messages)": "Generate blocks (send promoted messages)", "Home": "Home", // homepage - "hours": "%{smart_count} hour |||| %{smart_count} hours", + "hours": "%{smart_count} uur |||| %{smart_count} uren", "Internal error: lastPostId unknown (following yourself may fix!)": "Internal error: lastPostId unknown (following yourself may fix!)", "Known peers:": "Known peers: ", "Last block is ahead of your computer time, check your clock.": "Last block is ahead of your computer time, check your clock.", - "mentions_at": "Mentions @%{user}", - "minutes": "%{smart_count} minute |||| %{smart_count} minutes", - "Must be 16 characters or less.": "Must be 16 characters or less.", // username - "Network": "Network", - "Network config": "Network config", - "Network status": "Network status", + "mentions_at": "Vermeldingen @%{user}", + "minutes": "%{smart_count} minuut |||| %{smart_count} minuten", + "Must be 16 characters or less.": "Moet 16 tekens zijn, of minder.", // username + "Network": "Netwerk", + "Network config": "Netwerk configuratie", + "Network status": "Netwerk status", "New direct message...": "Nieuw privébericht...", "New Post...": "Nieuw Bericht...", - "new_posts": "%{smart_count} new post |||| %{smart_count} new posts", + "new_posts": "%{smart_count} nieuw bericht |||| %{smart_count} nieuwe berichten", "nobody": "nobody", // used to promote a post without attaching the user "Not available": "Niet beschikbaar", // username is not available "Number of blocks in block chain:": "Number of blocks in block chain: ", @@ -223,31 +223,31 @@ if(preferredLanguage == "nl"){ "propagating_nickname": "Propagating nickname %{username} to the network...", "Public": "Publiek", "Refresh": "Vernieuwen", - "retransmit_this": "Retransmit this post to your followers?", + "retransmit_this": "Retransmit dit bericht naar je volgers?", "Reply": "Beantwoorden", "Reply...": "Beantwoord...", "reply_to": "Beantwoord %{fullname}", "Retransmit": "Retransmit", "Retransmits": "Retransmits", - "Retransmitted by": "Retransmitted by", + "Retransmitted by": "Retransmitted door", "search": "zoeken", - "seconds": "%{smart_count} second |||| %{smart_count} seconds", + "seconds": "%{smart_count} seconde |||| %{smart_count} secondes", "send": "Verstuur", - "Send post with username": "Send post with username ", - "Sent Direct Message": "Verstuur Privébericht", - "Sent Post to @": "Verstuur Bericht naar @", + "Send post with username": "Verstuur bericht met gebruikersnaam ", + "Sent Direct Message": "Verstuur privébericht", + "Sent Post to @": "Verstuur bericht naar @", "Setup account": "Account instellingen", "switch_to_network": "Local daemon is not connected to the network or\n" + "block chain is outdated. If you stay in this page\n" + "your actions may not work.\n" + "Do you want to check Network Status page instead?", "The File APIs are not fully supported in this browser.": "The File APIs are not fully supported in this browser.", - "time_ago": "%{time} ago", // 5 minutes ago + "time_ago": "%{time} geleden", // 5 minutes ago "Time of the last block:": "Time of the last block: ", - "Type message here": "Type message here", - "Unfollow": "Unfollow", + "Type message here": "Type bericht hier", + "Unfollow": "Ontvolgen", "Update": "Update", - "Updating status...": "Updating status...", // status of block chain + "Updating status...": "Status aan het updaten...", // status of block chain "user_not_yet_accepted": "Other peers have not yet accepted this new user.\n" + "Unfortunately it is not possible to save profile\n" + "or send any posts in this state.\n\n" + @@ -257,12 +257,12 @@ if(preferredLanguage == "nl"){ "the last time you will have to wait before using\n" + "twister).\n\n" + "Tip: choose your avatar in the meantime!", - "users_mentions": "Mentions of @%{username}", - "users_profile": "%{username}'s Profile", + "users_mentions": "Vermeldingen voor @%{username}", + "users_profile": "%{username}'s profiel", "username_undefined": "Username undefined, login required.", "View": "Toon", "View All": "Toon alles", - "Who to Follow": "Wie volgen", + "Who to Follow": "Wie volgen?", "Your message was sent!": "Je bericht is verzonden!" }; }