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

Added European Portuguese localization #229

Merged
merged 1 commit into from
Mar 23, 2018
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
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ All notable changes to this project will be documented in this file. For change

## master

- Added a European Portuguese localization. [#229](https://github.com/Project-OSRM/osrm-text-instructions/pull/229)
- Added some abbreviations in German, Hebrew, Hungarian, Slovenian, and Ukrainian. [#226](https://github.com/Project-OSRM/osrm-text-instructions/pull/226)

## 0.12.0 2018-02-26
Expand Down
2 changes: 2 additions & 0 deletions languages.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ var instructionsIt = require('./languages/translations/it.json');
var instructionsNl = require('./languages/translations/nl.json');
var instructionsPl = require('./languages/translations/pl.json');
var instructionsPtBr = require('./languages/translations/pt-BR.json');
var instructionsPtPt = require('./languages/translations/pt-PT.json');
var instructionsRo = require('./languages/translations/ro.json');
var instructionsRu = require('./languages/translations/ru.json');
var instructionsSv = require('./languages/translations/sv.json');
Expand Down Expand Up @@ -57,6 +58,7 @@ var instructions = {
'nl': instructionsNl,
'pl': instructionsPl,
'pt-BR': instructionsPtBr,
'pt-PT': instructionsPtPt,
'ro': instructionsRo,
'ru': instructionsRu,
'sv': instructionsSv,
Expand Down
64 changes: 17 additions & 47 deletions languages/translations/pt-BR.json
Original file line number Diff line number Diff line change
Expand Up @@ -189,13 +189,13 @@
},
"sharp left": {
"default": "Faça uma curva fechada à esquerda na bifurcação",
"name": "Faça uma curva fechada à esquerda na bifurcação em {way_name}",
"destination": "Faça uma curva fechada à esquerda na bifurcação sentido {destination}"
"name": "Faça uma curva fechada à esquerda em {way_name}",
"destination": "Faça uma curva fechada à esquerda sentido {destination}"
},
"sharp right": {
"default": "Faça uma curva fechada à direita na bifurcação",
"name": "Faça uma curva fechada à direita na bifurcação em {way_name}",
"destination": "Faça uma curva fechada à direita na bifurcação sentido {destination}"
"name": "Faça uma curva fechada à direita em {way_name}",
"destination": "Faça uma curva fechada à direita sentido {destination}"
},
"uturn": {
"default": "Faça o retorno",
Expand Down Expand Up @@ -416,28 +416,6 @@
}
},
"roundabout turn": {
"default": {
"default": "Na rotatória, vire {modifier}",
"name": "Na rotatória, vire {modifier} na {way_name}",
"destination": "Na rotatória, vire {modifier} em direção à {destination}"
},
"left": {
"default": "Na rotatória vire à esquerda",
"name": "Na rotatória vire à esquerda em {way_name}",
"destination": "Na rotatória vire à esquerda sentido {destination}"
},
"right": {
"default": "Na rotatória vire à direita",
"name": "Na rotatória vire à direita em {way_name}",
"destination": "Na rotatória vire à direita sentido {destination}"
},
"straight": {
"default": "Na rotatória siga em frente",
"name": "Na rotatória siga em frente pela {way_name}",
"destination": "Na rotatória siga em frente sentido {destination}"
}
},
"exit roundabout": {
"default": {
"default": "Siga {modifier}",
"name": "Siga {modifier} em {way_name}",
Expand All @@ -454,31 +432,23 @@
"destination": "Vire à direita sentido {destination}"
},
"straight": {
"default": "Siga reto",
"name": "Siga reto em {way_name}",
"destination": "Siga reto sentido {destination}"
"default": "Continue em frente",
"name": "Continue em frente em {way_name}",
"destination": "Continue em frente sentido {destination}"
}
},
"exit roundabout": {
"default": {
"default": "Exit the traffic circle",
"name": "Exit the traffic circle onto {way_name}",
"destination": "Exit the traffic circle towards {destination}"
}
},
"exit rotary": {
"default": {
"default": "Siga {modifier}",
"name": "Siga {modifier} em {way_name}",
"destination": "Siga {modifier} sentido {destination}"
},
"left": {
"default": "Vire à esquerda",
"name": "Vire à esquerda em {way_name}",
"destination": "Vire à esquerda sentido {destination}"
},
"right": {
"default": "Vire à direita",
"name": "Vire à direita em {way_name}",
"destination": "Vire à direita sentido {destination}"
},
"straight": {
"default": "Siga reto",
"name": "Siga reto em {way_name}",
"destination": "Siga reto sentido {destination}"
"default": "Exit the traffic circle",
"name": "Exit the traffic circle onto {way_name}",
"destination": "Exit the traffic circle towards {destination}"
}
},
"turn": {
Expand Down
Loading