forked from bradymholt/cRonstrue
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add locale for pt_PT (portuguese Portugal)
- Loading branch information
Paulo Ferro
authored and
Paulo Ferro
committed
May 26, 2022
1 parent
baa9f8b
commit bbe75ae
Showing
4 changed files
with
187 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -46,4 +46,5 @@ build/ | |
.idea/ | ||
|
||
/locales | ||
/dist | ||
/dist | ||
/.vs |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,171 @@ | ||
// Portuguese | ||
|
||
import { Locale } from "../locale"; | ||
export class pt_PT implements Locale { | ||
atX0SecondsPastTheMinuteGt20(): string|null { | ||
return null; | ||
} | ||
atX0MinutesPastTheHourGt20(): string|null { | ||
return null; | ||
} | ||
commaMonthX0ThroughMonthX1(): string|null { | ||
return null; | ||
} | ||
commaYearX0ThroughYearX1(): string|null { | ||
return null; | ||
} | ||
use24HourTimeFormatByDefault() { | ||
return true; | ||
} | ||
anErrorOccuredWhenGeneratingTheExpressionD() { | ||
return "Ocorreu um erro ao gerar a descrição da expressão Cron."; | ||
} | ||
at() { | ||
return "às"; | ||
} | ||
atSpace() { | ||
return "às "; | ||
} | ||
atX0() { | ||
return "Às %s"; | ||
} | ||
atX0MinutesPastTheHour() { | ||
return "aos %s minutos da hora"; | ||
} | ||
atX0SecondsPastTheMinute() { | ||
return "aos %s segundos do minuto"; | ||
} | ||
betweenX0AndX1() { | ||
return "entre %s e %s"; | ||
} | ||
commaBetweenDayX0AndX1OfTheMonth() { | ||
return ", entre os dias %s e %s do mês"; | ||
} | ||
commaEveryDay() { | ||
return ", a cada dia"; | ||
} | ||
commaEveryX0Days() { | ||
return ", a cada %s dias"; | ||
} | ||
commaEveryX0DaysOfTheWeek() { | ||
return ", a cada %s dias de semana"; | ||
} | ||
commaEveryX0Months() { | ||
return ", a cada %s meses"; | ||
} | ||
commaOnDayX0OfTheMonth() { | ||
return ", no dia %s do mês"; | ||
} | ||
commaOnlyInX0() { | ||
return ", somente em %s"; | ||
} | ||
commaOnlyOnX0() { | ||
return ", somente de %s"; | ||
} | ||
commaAndOnX0() { | ||
return ", e de %s"; | ||
} | ||
commaOnThe() { | ||
return ", na "; | ||
} | ||
commaOnTheLastDayOfTheMonth() { | ||
return ", no último dia do mês"; | ||
} | ||
commaOnTheLastWeekdayOfTheMonth() { | ||
return ", no último dia da semana do mês"; | ||
} | ||
commaDaysBeforeTheLastDayOfTheMonth() { | ||
return ", %s dias antes do último dia do mês"; | ||
} | ||
commaOnTheLastX0OfTheMonth() { | ||
return ", na última %s do mês"; | ||
} | ||
commaOnTheX0OfTheMonth() { | ||
return ", no %s do mês"; | ||
} | ||
commaX0ThroughX1() { | ||
return ", de %s a %s"; | ||
} | ||
everyHour() { | ||
return "a cada hora"; | ||
} | ||
everyMinute() { | ||
return "a cada minuto"; | ||
} | ||
everyMinuteBetweenX0AndX1() { | ||
return "a cada minuto entre %s e %s"; | ||
} | ||
everySecond() { | ||
return "a cada segundo"; | ||
} | ||
everyX0Hours() { | ||
return "a cada %s horas"; | ||
} | ||
everyX0Minutes() { | ||
return "a cada %s minutos"; | ||
} | ||
everyX0Seconds() { | ||
return "a cada %s segundos"; | ||
} | ||
fifth() { | ||
return "quinta"; | ||
} | ||
first() { | ||
return "primeira"; | ||
} | ||
firstWeekday() { | ||
return "primeiro dia da semana"; | ||
} | ||
fourth() { | ||
return "quarta"; | ||
} | ||
minutesX0ThroughX1PastTheHour() { | ||
return "do minuto %s até %s de cada hora"; | ||
} | ||
second() { | ||
return "segunda"; | ||
} | ||
secondsX0ThroughX1PastTheMinute() { | ||
return "No segundo %s até %s de cada minuto"; | ||
} | ||
spaceAnd() { | ||
return " e"; | ||
} | ||
spaceX0OfTheMonth() { | ||
return " %s do mês"; | ||
} | ||
lastDay() { | ||
return "o último dia"; | ||
} | ||
third() { | ||
return "terceira"; | ||
} | ||
weekdayNearestDayX0() { | ||
return "dia da semana mais próximo do dia %s"; | ||
} | ||
commaEveryX0Years() { | ||
return ", a cada %s anos"; | ||
} | ||
commaStartingX0() { | ||
return ", iniciando %s"; | ||
} | ||
daysOfTheWeek() { | ||
return ["domingo", "segunda-feira", "terça-feira", "quarta-feira", "quinta-feira", "sexta-feira", "sábado"]; | ||
} | ||
monthsOfTheYear() { | ||
return [ | ||
"janeiro", | ||
"fevereiro", | ||
"março", | ||
"abril", | ||
"maio", | ||
"junho", | ||
"julho", | ||
"agosto", | ||
"setembro", | ||
"outubro", | ||
"novembro", | ||
"dezembro", | ||
]; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters