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

Portuguese translation request #18

Open
maique opened this issue Jul 7, 2014 · 0 comments
Open

Portuguese translation request #18

maique opened this issue Jul 7, 2014 · 0 comments

Comments

@maique
Copy link

maique commented Jul 7, 2014

Hi,

I wonder if we could have a Portuguese translation added to the watch ?

I already translated the strings to portuguese. We don't really use the '25 minutes to..', but rather the 'something 35', so the strings also reflect that. Not sure if that's ok with you.
The strings are for Portuguese from Portugal, not the BRazilian variant.

Also changed the US to PT.

const char* const HOURS_EN_PT[] = {
  // AM hours
  "doze",
  "uma",
  "duas",
  "três",
  "quatro",
  "cinco",
  "seis",
  "sete",
  "oito",
  "nove",
  "dez",
  "onze",

  // PM hours
  "doze",
  "uma",
  "duas",
  "três",
  "quatro",
  "cinco",
  "seis",
  "sete",
  "oito",
  "nove",
  "dez",
  "onze"
};

/**
 * The string "$1" will be replaced with the current hour (e.g., "three"
 * at 3:45).  The string "$2" will be replaced with the *next* hour
 * (e.g., "four" at 3:45).
 *
 * A "*" character before a word makes that word bold.
 */
const char* const RELS_EN_PT[] = {
  "*$1 em ponto",
  "*$1 e cinco",
  "*$1 e dez",
  "*$1 e um quarto",
  "*$1 e vinte",
  "*$1 e vinte cinco",
  "*$1 e meia",
  "*$1 e trinta e cinco",
  "*$2 menos vinte",
  "*$2 menos um quarto",
  "*$2 menos dez",
  "*$2 menos cinco"
};

I would do the rest, but I have no idea how, sorry...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant