about summary refs log tree commit diff
path: root/app/assets/javascripts/components/locales
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2016-11-18 15:36:16 +0100
committerEugen Rochko <eugen@zeonfederated.com>2016-11-18 15:53:46 +0100
commit85d1b74ac3bbd563c35a7212069b84f8d3a6bd99 (patch)
tree5226341c1cbe8e7cf983b629577c22812056062a /app/assets/javascripts/components/locales
parentc1be1ac7c6ebaabcd936f41d7a74ec8977625942 (diff)
Adding german localization
Diffstat (limited to 'app/assets/javascripts/components/locales')
-rw-r--r--app/assets/javascripts/components/locales/de.jsx48
-rw-r--r--app/assets/javascripts/components/locales/en.jsx49
-rw-r--r--app/assets/javascripts/components/locales/index.jsx11
3 files changed, 108 insertions, 0 deletions
diff --git a/app/assets/javascripts/components/locales/de.jsx b/app/assets/javascripts/components/locales/de.jsx
new file mode 100644
index 000000000..e6f4a2491
--- /dev/null
+++ b/app/assets/javascripts/components/locales/de.jsx
@@ -0,0 +1,48 @@
+const en = {
+  "column_back_button.label": "Zurück",
+  "lightbox.close": "Schließen",
+  "loading_indicator.label": "Lade...",
+  "status.mention": "Erwähnen",
+  "status.delete": "Löschen",
+  "status.reply": "Antworten",
+  "status.reblog": "Teilen",
+  "status.favourite": "Favorisieren",
+  "status.reblogged_by": "{name} teilte",
+  "video_player.toggle_sound": "Ton umschalten",
+  "account.mention": "Erwähnen",
+  "account.edit_profile": "Profil bearbeiten",
+  "account.unblock": "Entblocken",
+  "account.unfollow": "Entfolgen",
+  "account.block": "Blocken",
+  "account.follow": "Folgen",
+  "account.posts": "Beiträge",
+  "account.follows": "Folgt",
+  "account.followers": "Folger",
+  "account.follows_you": "Folgt dir",
+  "getting_started.heading": "Erste Schritte",
+  "getting_started.about_addressing": "Du kannst Leuten folgen, falls du ihren Nutzernamen und ihre Domain kennst, in dem du eine e-mail-artige Addresse in das Suchfeld oben an der Seite eingibst.",
+  "getting_started.about_shortcuts": "Falls der Zielnutzer an derselben Domain ist wie du, funktioniert der Nutzername auch alleine. Das gilt auch für Erwähnungen in Beiträgen.",
+  "getting_started.about_developer": "Der Entwickler des Projekts kann unter Gargron@mastodon.social gefunden werden",
+  "column.home": "Home",
+  "column.mentions": "Erwähnungen",
+  "column.public": "Gesamtes Bekanntes Netz",
+  "tabs_bar.compose": "Schreiben",
+  "tabs_bar.home": "Home",
+  "tabs_bar.mentions": "Erwähnungen",
+  "tabs_bar.public": "Gesamtes Netz",
+  "compose_form.placeholder": "Worüber möchstest du schreiben?",
+  "compose_form.publish": "Veröffentlichen",
+  "navigation_bar.settings": "Einstellungen",
+  "navigation_bar.public_timeline": "Öffentlich",
+  "navigation_bar.logout": "Abmelden",
+  "reply_indicator.cancel": "Abbrechen",
+  "search.placeholder": "Suche",
+  "search.account": "Konto",
+  "search.hashtag": "Hashtag",
+  "suggestions_box.who_to_follow": "Wem folgen",
+  "suggestions_box.refresh": "Aktualisieren",
+  "upload_button.label": "Media-Datei anfügen",
+  "upload_form.undo": "Entfernen"
+};
+
+export default en;
diff --git a/app/assets/javascripts/components/locales/en.jsx b/app/assets/javascripts/components/locales/en.jsx
new file mode 100644
index 000000000..a28c84b03
--- /dev/null
+++ b/app/assets/javascripts/components/locales/en.jsx
@@ -0,0 +1,49 @@
+const en = {
+  "column_back_button.label": "Back",
+  "lightbox.close": "Close",
+  "loading_indicator.label": "Loading...",
+  "status.mention": "Mention",
+  "status.delete": "Delete",
+  "status.reply": "Reply",
+  "status.reblog": "Reblog",
+  "status.favourite": "Favourite",
+  "status.reblogged_by": "{name} reblogged",
+  "video_player.toggle_sound": "Toggle sound",
+  "account.mention": "Mention",
+  "account.edit_profile": "Edit profile",
+  "account.unblock": "Unblock",
+  "account.unfollow": "Unfollow",
+  "account.block": "Block",
+  "account.follow": "Follow",
+  "account.block": "Block",
+  "account.posts": "Posts",
+  "account.follows": "Follows",
+  "account.followers": "Followers",
+  "account.follows_you": "Follows you",
+  "getting_started.heading": "Getting started",
+  "getting_started.about_addressing": "You can follow people if you know their username and the domain they are on by entering an e-mail-esque address into the form at the top of the sidebar.",
+  "getting_started.about_shortcuts": "If the target user is on the same domain as you, just the username will work. The same rule applies to mentioning people in statuses.",
+  "getting_started.about_developer": "The developer of this project can be followed as Gargron@mastodon.social",
+  "column.home": "Home",
+  "column.mentions": "Mentions",
+  "column.public": "Public",
+  "tabs_bar.compose": "Compose",
+  "tabs_bar.home": "Home",
+  "tabs_bar.mentions": "Mentions",
+  "tabs_bar.public": "Public",
+  "compose_form.placeholder": "What is on your mind?",
+  "compose_form.publish": "Publish",
+  "navigation_bar.settings": "Settings",
+  "navigation_bar.public_timeline": "Public timeline",
+  "navigation_bar.logout": "Logout",
+  "reply_indicator.cancel": "Cancel",
+  "search.placeholder": "Search",
+  "search.account": "Account",
+  "search.hashtag": "Hashtag",
+  "suggestions_box.who_to_follow": "Who to follow",
+  "suggestions_box.refresh": "Refresh",
+  "upload_button.label": "Add media",
+  "upload_form.undo": "Undo"
+};
+
+export default en;
diff --git a/app/assets/javascripts/components/locales/index.jsx b/app/assets/javascripts/components/locales/index.jsx
new file mode 100644
index 000000000..212cbcee5
--- /dev/null
+++ b/app/assets/javascripts/components/locales/index.jsx
@@ -0,0 +1,11 @@
+import en from './en';
+import de from './de';
+
+const locales = {
+  en,
+  de
+};
+
+export default function getMessagesForLocale (locale) {
+  return locales[locale];
+};