diff options
Diffstat (limited to 'app')
-rw-r--r-- | app/assets/javascripts/components/containers/mastodon.jsx | 3 | ||||
-rw-r--r-- | app/assets/javascripts/components/locales/fr.jsx | 54 | ||||
-rw-r--r-- | app/helpers/settings_helper.rb | 1 |
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..6da4d6f8c --- /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 en haut de la colonne de gauche leur nom d’utilisateur et le nom de 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": "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 ?", + "compose_form.publish": "Publier", + "navigation_bar.settings": "Paramètres", + "navigation_bar.public_timeline": "Fil 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é" +}; + +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) |