From 6b6243a186385689a9aa6d9290045da7f53bc87c Mon Sep 17 00:00:00 2001 From: nicolas Date: Mon, 21 Nov 2016 21:51:34 +0100 Subject: Create fr.jsx --- app/assets/javascripts/components/locales/fr.jsx | 55 ++++++++++++++++++++++++ 1 file changed, 55 insertions(+) create mode 100644 app/assets/javascripts/components/locales/fr.jsx (limited to 'app') diff --git a/app/assets/javascripts/components/locales/fr.jsx b/app/assets/javascripts/components/locales/fr.jsx new file mode 100644 index 000000000..3815dd44f --- /dev/null +++ b/app/assets/javascripts/components/locales/fr.jsx @@ -0,0 +1,55 @@ +const fr = { + "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", + "column.notifications": "Notifications", + "tabs_bar.compose": "Compose", + "tabs_bar.home": "Home", + "tabs_bar.mentions": "Mentions", + "tabs_bar.public": "Public", + "tabs_bar.notifications": "Notifications", + "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", + "notification.follow": "{name} followed you", + "notification.favourite": "{name} favourited your status", + "notification.reblog": "{name} reblogged your status", + "notification.mention": "{name} mentioned you" +}; + +export default fr; -- cgit From 835d5483feeeadc0b6c3ecaa55cb00a18ef26cd7 Mon Sep 17 00:00:00 2001 From: nicolas Date: Mon, 21 Nov 2016 22:06:05 +0100 Subject: First version for fr.jsx --- app/assets/javascripts/components/locales/fr.jsx | 89 ++++++++++++------------ 1 file changed, 44 insertions(+), 45 deletions(-) (limited to 'app') diff --git a/app/assets/javascripts/components/locales/fr.jsx b/app/assets/javascripts/components/locales/fr.jsx index 3815dd44f..6da4d6f8c 100644 --- a/app/assets/javascripts/components/locales/fr.jsx +++ b/app/assets/javascripts/components/locales/fr.jsx @@ -1,55 +1,54 @@ const fr = { - "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_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": "Compose", - "tabs_bar.home": "Home", + "tabs_bar.compose": "Composer", + "tabs_bar.home": "Accueil", "tabs_bar.mentions": "Mentions", "tabs_bar.public": "Public", "tabs_bar.notifications": "Notifications", - "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", - "notification.follow": "{name} followed you", - "notification.favourite": "{name} favourited your status", - "notification.reblog": "{name} reblogged your status", - "notification.mention": "{name} mentioned you" + "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; -- cgit From 115ce905783a2d9c301868f5bc0bfb52991790a0 Mon Sep 17 00:00:00 2001 From: nicolas Date: Tue, 22 Nov 2016 10:20:28 +0100 Subject: Adding French locale to settings_helper.rb --- app/helpers/settings_helper.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'app') 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) -- cgit From f9bd3d8808e4e83426913e5fbf18174b9121f3e4 Mon Sep 17 00:00:00 2001 From: nicolas Date: Tue, 22 Nov 2016 10:21:56 +0100 Subject: Adding French locale to mastodon.jsx --- app/assets/javascripts/components/containers/mastodon.jsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'app') 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({ -- cgit From c7031fd535249e3140bc780ca98f099496ccd959 Mon Sep 17 00:00:00 2001 From: nicolas Date: Tue, 22 Nov 2016 10:49:50 +0100 Subject: Update fr.jsx --- app/assets/javascripts/components/locales/fr.jsx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'app') diff --git a/app/assets/javascripts/components/locales/fr.jsx b/app/assets/javascripts/components/locales/fr.jsx index 6da4d6f8c..d6e24c523 100644 --- a/app/assets/javascripts/components/locales/fr.jsx +++ b/app/assets/javascripts/components/locales/fr.jsx @@ -20,12 +20,12 @@ const fr = { "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_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": "Public", + "column.public": "Fil public", "column.notifications": "Notifications", "tabs_bar.compose": "Composer", "tabs_bar.home": "Accueil", @@ -35,7 +35,7 @@ const fr = { "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.public_timeline": "Public", "navigation_bar.logout": "Se déconnecter", "reply_indicator.cancel": "Annuler", "search.placeholder": "Chercher", @@ -48,7 +48,7 @@ const fr = { "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é" + "notification.mention": "{name} vous a mentionné⋅e" }; export default fr; -- cgit