about summary refs log tree commit diff
path: root/app
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2016-11-22 11:35:15 +0100
committerEugen Rochko <eugen@zeonfederated.com>2016-11-22 11:35:15 +0100
commit95db6cbe28acc193ff0c898790a6740c4ff3d473 (patch)
tree126afef7b3418a1b09335bccc3a6c36991b7a86e /app
parent1788164352db23917c540e42a839908ecc4e0463 (diff)
parent4a422650bb0bb5cf5f62bd05ef886ce1c9ba4dc8 (diff)
Merge branch 'nclm-french-translation'
Diffstat (limited to 'app')
-rw-r--r--app/assets/javascripts/components/containers/mastodon.jsx3
-rw-r--r--app/assets/javascripts/components/locales/fr.jsx54
-rw-r--r--app/helpers/settings_helper.rb1
3 files changed, 57 insertions, 1 deletions
diff --git a/app/assets/javascripts/components/containers/mastodon.jsx b/app/assets/javascripts/components/containers/mastodon.jsx
index 3528ef81c..87c7c65f3 100644
--- a/app/assets/javascripts/components/containers/mastodon.jsx
+++ b/app/assets/javascripts/components/containers/mastodon.jsx
@@ -38,6 +38,7 @@ import { IntlProvider, addLocaleData } from 'react-intl';
 import en from 'react-intl/locale-data/en';
 import de from 'react-intl/locale-data/de';
 import es from 'react-intl/locale-data/es';
+import fr from 'react-intl/locale-data/fr';
 import getMessagesForLocale from '../locales';
 
 const store = configureStore();
@@ -46,7 +47,7 @@ const browserHistory = useRouterHistory(createBrowserHistory)({
   basename: '/web'
 });
 
-addLocaleData([...en, ...de, ...es]);
+addLocaleData([...en, ...de, ...es, ...fr]);
 
 const Mastodon = React.createClass({
 
diff --git a/app/assets/javascripts/components/locales/fr.jsx b/app/assets/javascripts/components/locales/fr.jsx
new file mode 100644
index 000000000..d6e24c523
--- /dev/null
+++ b/app/assets/javascripts/components/locales/fr.jsx
@@ -0,0 +1,54 @@
+const fr = {
+  "column_back_button.label": "Retour",
+  "lightbox.close": "Fermer",
+  "loading_indicator.label": "Chargement…",
+  "status.mention": "Mentionner",
+  "status.delete": "Effacer",
+  "status.reply": "Répondre",
+  "status.reblog": "Partager",
+  "status.favourite": "Ajouter aux favoris",
+  "status.reblogged_by": "{name} a partagé",
+  "video_player.toggle_sound": "Mettre/Couper le son",
+  "account.mention": "Mentionner",
+  "account.edit_profile": "Modifier le profil",
+  "account.unblock": "Débloquer",
+  "account.unfollow": "Se désabonner",
+  "account.block": "Bloquer",
+  "account.follow": "S’abonner",
+  "account.posts": "Statuts",
+  "account.follows": "Abonnements",
+  "account.followers": "Abonnés",
+  "account.follows_you": "Vous suit",
+  "getting_started.heading": "Pour commencer",
+  "getting_started.about_addressing": "Vous pouvez vous abonner aux statuts de quelqu’un en entrant dans le champs de recherche leur nom d’utilisateur et le domaine de leur instance, séparés par un @ à la manière d’une adresse courriel.",
+  "getting_started.about_shortcuts": "Si cette personne utilise la même instance que vous, le nom d’utilisateur suffit. C’est le même principe pour mentionner quelqu’un dans vos statuts.",
+  "getting_started.about_developer": "Pour s’abonner au développeur de ce projet, c’est Gargron@mastodon.social",
+  "column.home": "Accueil",
+  "column.mentions": "Mentions",
+  "column.public": "Fil public",
+  "column.notifications": "Notifications",
+  "tabs_bar.compose": "Composer",
+  "tabs_bar.home": "Accueil",
+  "tabs_bar.mentions": "Mentions",
+  "tabs_bar.public": "Public",
+  "tabs_bar.notifications": "Notifications",
+  "compose_form.placeholder": "Qu’avez vous en tête&nbsp;?",
+  "compose_form.publish": "Publier",
+  "navigation_bar.settings": "Paramètres",
+  "navigation_bar.public_timeline": "Public",
+  "navigation_bar.logout": "Se déconnecter",
+  "reply_indicator.cancel": "Annuler",
+  "search.placeholder": "Chercher",
+  "search.account": "Compte",
+  "search.hashtag": "Mot-clé",
+  "suggestions_box.who_to_follow": "Suggestions",
+  "suggestions_box.refresh": "Rafraîchir",
+  "upload_button.label": "Joindre un média",
+  "upload_form.undo": "Annuler",
+  "notification.follow": "{name} s’est abonné⋅e à vos statuts",
+  "notification.favourite": "{name} a ajouté votre statut à ses favoris",
+  "notification.reblog": "{name} a partagé votre statut",
+  "notification.mention": "{name} vous a mentionné⋅e"
+};
+
+export default fr;
diff --git a/app/helpers/settings_helper.rb b/app/helpers/settings_helper.rb
index 66ecc56c6..75ee2f8d9 100644
--- a/app/helpers/settings_helper.rb
+++ b/app/helpers/settings_helper.rb
@@ -5,6 +5,7 @@ module SettingsHelper
     en: 'English',
     de: 'Deutsch',
     es: 'Español',
+    fr: 'Français',
   }.freeze
 
   def human_locale(locale)