From 9b8e15a43de0f1e18c44c553c448a05c1f948deb Mon Sep 17 00:00:00 2001 From: kxrom Date: Sat, 20 Apr 2019 16:42:36 +0200 Subject: [PATCH] translated to French in files (automated) --- models/measure.js | 6 +++--- models/session.js | 8 ++++---- models/user.js | 2 +- views/contact-form.js | 2 +- views/get-started-basics-page.js | 2 +- views/get-started-profile-page.js | 2 +- views/get-started-verification-page.js | 2 +- views/home-page.js | 10 +++++----- views/join-form.js | 2 +- views/legislation-page.js | 14 +++++++------- views/legislator-profile-page.js | 4 ++-- views/measure-sidebar.js | 2 +- views/navbar-search.js | 2 +- views/navbar.js | 22 +++++++++++----------- views/propose-legislation-page.js | 2 +- views/proxies-page.js | 10 +++++----- views/proxy-search.js | 10 +++++----- views/settings-page.js | 2 +- views/sign-in-page.js | 4 ++-- views/vote.js | 2 +- views/your-proposed-legislation-page.js | 2 +- 21 files changed, 56 insertions(+), 56 deletions(-) diff --git a/models/measure.js b/models/measure.js index 2204793..ef972aa 100644 --- a/models/measure.js +++ b/models/measure.js @@ -14,7 +14,7 @@ module.exports = (event, state) => { loading: { ...state.loading, page: !state.browser, measures: true }, location: { ...state.location, - title: 'Legislation', + title: 'Législation', ogImage: query.legislature && query.legislature.length === 2 && `${ASSETS_URL}/legislature-images/${query.legislature}.png` }, }, fetchMeasures({ hide_direct_votes: state.cookies.hide_direct_votes, ...state.location.query }, state.user)] @@ -54,10 +54,10 @@ module.exports = (event, state) => { loading: { ...state.loading, page: true }, location: { ...state.location, - title: 'Proposed Legislation', + title: 'Vos propositions', }, }, combineEffects([ - changePageTitle('Proposed Legislation'), + changePageTitle('Vos propositions'), fetchUserMeasures(state.user) ])] default: diff --git a/models/session.js b/models/session.js index 927cfab..fe69833 100644 --- a/models/session.js +++ b/models/session.js @@ -25,7 +25,7 @@ module.exports = (event, state) => { if (state.location.query.ph) { return [state, updatePhoneNumber(atob(state.location.query.ph), state.user)] } - return [{ ...state, location: { ...state.location, title: 'Join' } }, combineEffects([ + return [{ ...state, location: { ...state.location, title: 'Rejoindre' } }, combineEffects([ fetchMetrics, state.cookies.proxying_user_id && fetchProxyingProfile({ id: state.cookies.proxying_user_id }), ])] @@ -33,7 +33,7 @@ module.exports = (event, state) => { if (state.user) return [state, redirect('/')] return [{ ...state, - location: { ...state.location, title: 'Sign in' } + location: { ...state.location, title: 'Se connecter' } }, state.cookies.proxying_user_id && fetchProxyingProfile({ id: state.cookies.proxying_user_id })] case '/sign_in/verify': if (state.user) return [state, redirect('/')] @@ -41,7 +41,7 @@ module.exports = (event, state) => { return [{ ...state, loading: { ...state.loading, page: true }, - location: { ...state.location, title: 'Sign in' }, + location: { ...state.location, title: 'Se connecter' }, }, verifyOTP({ totp: state.location.query.totp, device_id: state.cookies.device_id, @@ -49,7 +49,7 @@ module.exports = (event, state) => { redirect_to: state.cookies.redirect_to || '/get_started', })] } - return [{ ...state, location: { ...state.location, title: 'Sign in' } }, refreshPageWhenAuthed] + return [{ ...state, location: { ...state.location, title: 'Se connecter' } }, refreshPageWhenAuthed] case '/sign_out': return [{ ...state, loading: { page: true }, user: null }, signOut(state.user)] default: diff --git a/models/user.js b/models/user.js index a55a276..21fe01e 100644 --- a/models/user.js +++ b/models/user.js @@ -45,7 +45,7 @@ module.exports = (event, state) => { return [{ ...state, loading: { page: true }, - location: { ...state.location, title: 'Settings' }, + location: { ...state.location, title: 'Paramètres' }, }, fetchSettings(state.user)] case '/settings/unsubscribe': return [{ diff --git a/views/contact-form.js b/views/contact-form.js index 64ac46d..02aa788 100644 --- a/views/contact-form.js +++ b/views/contact-form.js @@ -31,7 +31,7 @@ const contactWidgetButton = (state, dispatch) => { - Help + Aide

` diff --git a/views/get-started-basics-page.js b/views/get-started-basics-page.js index 41cf6bf..07f279a 100644 --- a/views/get-started-basics-page.js +++ b/views/get-started-basics-page.js @@ -54,7 +54,7 @@ module.exports = ({ error, loading, location, user }, dispatch) => {
- +

All of your information is kept strictly private.

diff --git a/views/get-started-profile-page.js b/views/get-started-profile-page.js index bf9f9dd..0476018 100644 --- a/views/get-started-profile-page.js +++ b/views/get-started-profile-page.js @@ -38,7 +38,7 @@ module.exports = (state, dispatch) => { Skip
- +

diff --git a/views/get-started-verification-page.js b/views/get-started-verification-page.js index eb23b40..6af2151 100644 --- a/views/get-started-verification-page.js +++ b/views/get-started-verification-page.js @@ -8,7 +8,7 @@ module.exports = ({ error, loading, forms: { verification: formData = {} }, user ${!user ? signupMsg() : ''} ${user && user.verified ? alreadyVerifiedMsg() : ''}

-

Verify your identity

+

Vérifiez votre identité

Verify your phone number to make sure your reps know you are their constituent.

This also lets you create your own profile page, so you can start representing other people and increase your voting power.

diff --git a/views/home-page.js b/views/home-page.js index cd575be..a848fcb 100644 --- a/views/home-page.js +++ b/views/home-page.js @@ -13,19 +13,19 @@ module.exports = (state, dispatch) => {