Skip to content

Commit

Permalink
My version of the pt-br locale, without text translations
Browse files Browse the repository at this point in the history
  • Loading branch information
diesphink committed Jan 14, 2022
1 parent 810bd11 commit b5b2a34
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 0 deletions.
14 changes: 14 additions & 0 deletions apps.json
@@ -1,4 +1,18 @@
[
{
"id": "locale",
"name": "Languages",
"version": "0.15",
"description": "Translations for different countries",
"icon": "locale.png",
"type": "locale",
"tags": "tool,system,locale,translate",
"supports": ["BANGLEJS", "BANGLEJS2"],
"readme": "README.md",
"custom": "locale.html",
"storage": [{ "name": "locale" }],
"sortorder": -10
},
{
"id": "sphcalendar",
"name": "SPH Calendar",
Expand Down
17 changes: 17 additions & 0 deletions apps/locale/locales.js
Expand Up @@ -591,6 +591,23 @@ var locales = {
day: "Domingo,Segunda-feira,Terça-feira,Quarta-feira,Quinta-feira,Sexta-feira,Sábado",
trans: { yes: "sim", Yes: "Sim", no: "não", No: "Não", ok: "certo", on: "ligado", off: "desligado" }
},
"en_BR": { // Mixed english and portuguese: using portuguese for the date, time and number formats, but english for the translations (so it won't be mixed in apps)
lang: "en_BR",
decimal_point: ",",
thousands_sep: ".",
currency_symbol: "R$", currency_first: true,
int_curr_symbol: "BRL",
speed: "kmh",
distance: { 0: "m", 1: "km" },
temperature: "°C",
ampm: { 0: "am", 1: "pm" },
timePattern: { 0: "%HH:%MM:%SS ", 1: "%HH:%MM" },
datePattern: { 0: "%d %b %Y", 1: "%d/%m/%y" },
abmonth: "Jan,Fev,Mar,Abr,Mai,Jun,Jul,Ago,Set,Out,Nov,Dez",
month: "Janeiro,Fevereiro,Março,Abril,Maio,Junho,Julho,Agosto,Setembro,Outubro,Novembro,Dezembro",
abday: "Dom,Seg,Ter,Qua,Qui,Sex,Sab",
day: "Domingo,Segunda-feira,Terça-feira,Quarta-feira,Quinta-feira,Sexta-feira,Sábado"
},
"cs_CZ": { // THIS NEVER WORKED PROPERLY - many chars are not in the ISO8859-1 codepage and we use charFallbacks
lang: "cs_CZ",
decimal_point: ",",
Expand Down

0 comments on commit b5b2a34

Please sign in to comment.