Node.js based forum software built for the modern web
fixing up some translations - WIP
Julian Lam2c131f172aae
diff --git a/public/language/de/global.json b/public/language/de/global.jsonindex 8f0dba7a18..51dd759117 100644--- a/public/language/de/global.json+++ b/public/language/de/global.json@@ -15,7 +15,7 @@"logout": "Logout","logout.title": "Du bist ausgeloggt.","logout.message": "Du hast dich soeben erfolgreich aus dem Forum ausgeloggt.",-+"save_changes": "Speichere Änderungen","close": "Schließen",@@ -26,5 +26,6 @@"header.search": "Suche","header.profile": "Profil",- "notifications.loading": "Benachrichtigungen laden"+ "notifications.loading": "Benachrichtigungen laden",+ "chats.loading": "Nachrichten werden geladen"}diff --git a/public/language/de/topic.json b/public/language/de/topic.jsonindex c1c9c03f8c..e882660101 100644--- a/public/language/de/topic.json+++ b/public/language/de/topic.json@@ -30,7 +30,7 @@"favourites": "Favoriten","favourites.not_logged_in.title": "Nicht eingeloggt!","favourites.not_logged_in.message": "Bitte logge dich ein, um diesen Beitrag favorisieren zu können.",- "favourites.haz_no_favourites":"Du hast noch keine Favoriten.",+ "favourites.has_no_favourites":"Du hast noch keine Favoriten.","posted_by": "Geposted von","loading": "Lade",diff --git a/public/language/de/user.json b/public/language/de/user.jsonindex cbe455f8d3..492307f50d 100644--- a/public/language/de/user.json+++ b/public/language/de/user.json@@ -31,8 +31,8 @@"settings": "Einstellungen","show_my_email": "Zeige meine E-Mail Adresse an.",- "haz_no_follower": "Dieser User hat noch keine Follower.",+ "has_no_follower": "Dieser User hat noch keine Follower.","follows_no_one": "Dieser User folgt noch niemanden."--++}diff --git a/public/language/en/topic.json b/public/language/en/topic.jsonindex 0d367fba46..2584436a22 100644--- a/public/language/en/topic.json+++ b/public/language/en/topic.json@@ -29,7 +29,7 @@"favourites": "Favorites","favourites.not_logged_in.title": "Not Logged In","favourites.not_logged_in.message": "Please log in in order to favourite this post",- "favourites.haz_no_favourites": "You don't have any favourites, favourite some posts to see them here!",+ "favourites.has_no_favourites": "You don't have any favourites, favourite some posts to see them here!","posted_by": "posted by","loading": "Lade",diff --git a/public/language/en/user.json b/public/language/en/user.jsonindex 8bc65b939b..512fad96c3 100644--- a/public/language/en/user.json+++ b/public/language/en/user.json@@ -30,7 +30,7 @@"settings": "settings","show_my_email": "show my email",-- "haz_no_follower": "This user doesn't have any followers :(",++ "has_no_follower": "This user doesn't have any followers :(","follows_no_one": "This user isn't following anyone :("}diff --git a/public/src/translator.js b/public/src/translator.jsindex 43dc448b37..22de13a045 100644--- a/public/src/translator.js+++ b/public/src/translator.js@@ -82,7 +82,7 @@var parsedKey = keys[key].replace('[[', '').replace(']]', '').split(':');if (!(parsedKey[0] && parsedKey[1])) continue;-+var languageFile = parsedKey[0];parsedKey = parsedKey[1].split(',')[0];diff --git a/public/templates/favourites.tpl b/public/templates/favourites.tplindex 4640ae3782..5dd319e628 100644--- a/public/templates/favourites.tpl+++ b/public/templates/favourites.tpl@@ -7,7 +7,7 @@</div><!-- IF show_nofavourites -->- <div id="no-favourites-notice" class="alert alert-warning">[[topic:haz_no_favourites]]</div>+ <div id="no-favourites-notice" class="alert alert-warning">[[topic:has_no_favourites]]</div><!-- ENDIF show_nofavourites --><div class="row">diff --git a/public/templates/followers.tpl b/public/templates/followers.tplindex acb2f7c835..685bda4778 100644--- a/public/templates/followers.tpl+++ b/public/templates/followers.tpl@@ -30,7 +30,7 @@</div><!-- END followers --></div>- <div id="no-followers-notice" class="alert alert-warning hide">[[user:haz_no_follower]]</div>+ <div id="no-followers-notice" class="alert alert-warning hide">[[user:has_no_follower]]</div></div><input type="hidden" template-variable="yourid" value="{yourid}" />diff --git a/public/templates/footer.tpl b/public/templates/footer.tplindex 75aba97dee..6fc3ae9a69 100644--- a/public/templates/footer.tpl+++ b/public/templates/footer.tpl@@ -61,7 +61,7 @@<footer id="footer" class="container footer">{footerHTML}- <div class="copyright">Powered by <a target="_blank" href="http://www.nodebb.org">NodeBB</a></div>+ <div class="copyright">Copyright © 2013 <a target="_blank" href="http://www.nodebb.org">NodeBB</a> by <a target="_blank" href="https://github.com/psychobunny">psychobunny</a>, <a href="https://github.com/julianlam" target="_blank">julianlam</a>, <a href="https://github.com/barisusakli" target="_blank">barisusakli</a> from <a target="_blank" href="http://www.designcreateplay.com">designcreateplay</a></div></footer><script>