Skip to content

Commit

Permalink
fix(translation): add missing string to translations (#459)
Browse files Browse the repository at this point in the history
* fix(translation): add missing string to translations

* fix(translation): add missing string readMeActions

* fix(translation): translate missing string to pt

* fix(translation): translate missing string to ru

* fix(translation): translate missing string to fr

* fix(translation): translate missing string to gl

* fix(translation): translate missing string to pt-br

* fix(translation): translate missing string to nl

* fix(translation): translate missing string to es

* fix(translation): translate missing string to tr
  • Loading branch information
Florian Taut authored and Houssein Djirdeh committed Oct 13, 2017
1 parent 8cd560d commit 0d5c325
Show file tree
Hide file tree
Showing 10 changed files with 20 additions and 2 deletions.
1 change: 1 addition & 0 deletions src/locale/languages/en.js
Original file line number Diff line number Diff line change
Expand Up @@ -231,6 +231,7 @@ export const en = {
},
readMe: {
readMeActions: 'README Actions',
noReadMeFound: 'No README.md found',
},
},
organization: {
Expand Down
4 changes: 4 additions & 0 deletions src/locale/languages/es.js
Original file line number Diff line number Diff line change
Expand Up @@ -221,6 +221,10 @@ export const erase = {
deleted: 'DELETED',
fileRenamed: 'File renamed without any changes',
},
readMe: {
readMeActions: 'Acciones README',
noReadMeFound: 'No se ha encontrado README.md',
},
},
organization: {
main: {
Expand Down
1 change: 1 addition & 0 deletions src/locale/languages/fr.js
Original file line number Diff line number Diff line change
Expand Up @@ -228,6 +228,7 @@ export const fr = {
},
readMe: {
readMeActions: 'Actions sur le README',
noReadMeFound: 'Pas de README.md trouvé',
},
},
organization: {
Expand Down
1 change: 1 addition & 0 deletions src/locale/languages/gl.js
Original file line number Diff line number Diff line change
Expand Up @@ -231,6 +231,7 @@ export const gl = {
},
readMe: {
readMeActions: 'Accións do README',
noReadMeFound: 'Non se atopou o README.md',
},
},
organization: {
Expand Down
4 changes: 3 additions & 1 deletion src/locale/languages/nl.js
Original file line number Diff line number Diff line change
Expand Up @@ -224,6 +224,7 @@ export const nl = {
},
readMe: {
readMeActions: 'README Acties',
noReadMeFound: 'Geen README.md gevonden',
},
},
organization: {
Expand Down Expand Up @@ -274,7 +275,8 @@ export const nl = {
pullRequest: 'Pull Request',
},
openIssueSubTitle: '#{{number}} geopend {{time}} geleden door {{user}}',
closedIssueSubTitle: '#{{number}} door {{user}} was gesloten, {{time}} geleden',
closedIssueSubTitle:
'#{{number}} door {{user}} was gesloten, {{time}} geleden',
issueActions: 'Issue Acties',
},
newIssue: {
Expand Down
1 change: 1 addition & 0 deletions src/locale/languages/pt-br.js
Original file line number Diff line number Diff line change
Expand Up @@ -228,6 +228,7 @@ export const ptBr = {
},
readMe: {
readMeActions: 'Ações do README',
noReadMeFound: 'Nenhum README.md foi encontrado',
},
},
organization: {
Expand Down
4 changes: 4 additions & 0 deletions src/locale/languages/pt.js
Original file line number Diff line number Diff line change
Expand Up @@ -228,6 +228,10 @@ export const pt = {
deleted: 'REMOVIDO',
fileRenamed: 'O ficheiro mudou de nome sem qualquer alteração',
},
readMe: {
readMeActions: 'Acções sobre o ficheiro README',
noReadMeFound: 'Não foi encontrado nenhum ficheiro README.md',
},
},
organization: {
main: {
Expand Down
1 change: 1 addition & 0 deletions src/locale/languages/ru.js
Original file line number Diff line number Diff line change
Expand Up @@ -229,6 +229,7 @@ export const ru = {
},
readMe: {
readMeActions: 'Действия с README',
noReadMeFound: 'He yдалось найти README.md',
},
},
organization: {
Expand Down
1 change: 1 addition & 0 deletions src/locale/languages/tr.js
Original file line number Diff line number Diff line change
Expand Up @@ -228,6 +228,7 @@ export const tr = {
},
readMe: {
readMeActions: 'README Actions',
noReadMeFound: 'README.md bulunamadı',
},
},
organization: {
Expand Down
4 changes: 3 additions & 1 deletion src/repository/screens/read-me.screen.js
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,9 @@ class ReadMe extends Component {
{!isPendingReadMe &&
noReadMe && (
<View style={styles.textContainer}>
<Text style={styles.noReadMeTitle}>No README.md found</Text>
<Text style={styles.noReadMeTitle}>
{translate('repository.readMe.noReadMeFound', language)}
</Text>
</View>
)}

Expand Down

0 comments on commit 0d5c325

Please sign in to comment.