Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Translations for the options in the language selector #3606

Merged
merged 1 commit into from
Jun 16, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions src/languages/en.js
Original file line number Diff line number Diff line change
Expand Up @@ -213,6 +213,10 @@ export default {
receiveRelevantFeatureUpdatesAndExpensifyNews: 'Receive relevant feature updates and Expensify news',
priorityMode: 'Priority Mode',
language: 'Language',
languages: {
english: 'English',
spanish: 'Spanish',
},
},
signInPage: {
expensifyDotCash: 'Expensify.cash',
Expand Down
4 changes: 4 additions & 0 deletions src/languages/es.js
Original file line number Diff line number Diff line change
Expand Up @@ -208,6 +208,10 @@ export default {
receiveRelevantFeatureUpdatesAndExpensifyNews: 'Recibir noticias sobre Expensify y actualizaciones del producto',
priorityMode: 'Modo Prioridad',
language: 'Idioma',
languages: {
english: 'Inglés',
spanish: 'Español',
},
},
signInPage: {
expensifyDotCash: 'Expensify.cash',
Expand Down
4 changes: 2 additions & 2 deletions src/pages/settings/PreferencesPage.js
Original file line number Diff line number Diff line change
Expand Up @@ -60,11 +60,11 @@ const PreferencesPage = ({
const localesToLanguages = {
default: {
value: 'en',
label: 'English',
label: translate('preferencesPage.languages.english'),
},
es: {
value: 'es',
label: 'Spanish',
label: translate('preferencesPage.languages.spanish'),
},
};

Expand Down