Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
4fb6126
commit 263b685
Showing
30 changed files
with
3,586 additions
and
2,800 deletions.
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
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
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 |
---|---|---|
@@ -1,15 +1,15 @@ | ||
export { en } from "./locales/en" // English | ||
export { de } from "./locales/de" // German | ||
export { es } from "./locales/es" // Spanish | ||
export { fr } from "./locales/fr" // French | ||
export { it } from "./locales/it" // Italian | ||
export { nl } from "./locales/nl" // Dutch | ||
export { nb } from "./locales/nb" // Norwegian | ||
export { sv } from "./locales/sv" // Swedish | ||
export { pl } from "./locales/pl" // Polish | ||
export { pt_BR } from "./locales/pt_BR" // Portuguese (Brazil) | ||
export { ro } from "./locales/ro" // Romanian | ||
export { ru } from "./locales/ru" // Russian | ||
export { tr } from "./locales/tr" // Turkish | ||
export { uk } from "./locales/uk" // Ukrainian | ||
export { zh_CN } from "./locales/zh_CN" // Chinese (Simplified) | ||
export { en } from "./locales/en"; // English | ||
export { de } from "./locales/de"; // German | ||
export { es } from "./locales/es"; // Spanish | ||
export { fr } from "./locales/fr"; // French | ||
export { it } from "./locales/it"; // Italian | ||
export { nl } from "./locales/nl"; // Dutch | ||
export { nb } from "./locales/nb"; // Norwegian | ||
export { sv } from "./locales/sv"; // Swedish | ||
export { pl } from "./locales/pl"; // Polish | ||
export { pt_BR } from "./locales/pt_BR"; // Portuguese (Brazil) | ||
export { ro } from "./locales/ro"; // Romanian | ||
export { ru } from "./locales/ru"; // Russian | ||
export { tr } from "./locales/tr"; // Turkish | ||
export { uk } from "./locales/uk"; // Ukrainian | ||
export { zh_CN } from "./locales/zh_CN"; // Chinese (Simplified) |
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
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 |
---|---|---|
@@ -1,58 +1,58 @@ | ||
export interface Locale { | ||
// TODO: Circle back and use null/undefined aware types for optionals below in TypeScript 2.0: https://github.com/Microsoft/TypeScript/pull/7140 | ||
// TODO: These locale translations would be a good use for ES6 template strings except we sometimes concatenate multiple transactions together before | ||
// doing the actual template replacement. | ||
// TODO: Circle back and use null/undefined aware types for optionals below in TypeScript 2.0: https://github.com/Microsoft/TypeScript/pull/7140 | ||
// TODO: These locale translations would be a good use for ES6 template strings except we sometimes concatenate multiple transactions together before | ||
// doing the actual template replacement. | ||
|
||
use24HourTimeFormatByDefault(): boolean; | ||
anErrorOccuredWhenGeneratingTheExpressionD(): string; | ||
everyMinute(): string; | ||
everyHour(): string; | ||
atSpace(): string; | ||
everyMinutebetweenX0AndX1(): string; | ||
at(): string; | ||
spaceAnd(): string; | ||
everysecond(): string; | ||
everyX0Seconds(): string; | ||
secondsX0ThroughX1PastTheMinute(): string; | ||
atX0SecondsPastTheMinute(): string; | ||
atX0SecondsPastTheMinuteGt20(): string; //optional | ||
everyX0Minutes(): string; | ||
minutesX0ThroughX1PastTheHour(): string; | ||
atX0MinutesPastTheHour(): string; | ||
atX0MinutesPastTheHourGt20(): string; //optional | ||
everyX0Hours(): string; | ||
betweenX0AndX1(): string; | ||
atX0(): string; | ||
commaEveryDay(): string; | ||
commaEveryX0daysOfTheWeek(): string; | ||
commaX0ThroughX1(): string; | ||
commaMonthX0ThroughMonthX1(): string //optional | ||
commaYearX0ThroughYearX1(): string //optional | ||
first(): string; | ||
second(): string; | ||
third(): string; | ||
fourth(): string; | ||
fifth(): string; | ||
commaOnThe(): string; | ||
spaceX0OfTheMonth(): string; | ||
lastDay(): string; | ||
commaOnTheLastX0OfTheMonth(): string; | ||
commaOnlyOnX0(): string; | ||
commaEveryX0Months(): string; | ||
commaOnlyInX0(): string; | ||
commaOnTheLastDayOfTheMonth(): string; | ||
commaOnTheLastWeekdayOfTheMonth(): string; | ||
firstWeekday(): string; | ||
weekdayNearestDayX0(): string; | ||
commaOnTheX0OfTheMonth(): string; | ||
commaEveryX0Days(): string; | ||
commaBetweenDayX0AndX1OfTheMonth(): string; | ||
commaOnDayX0OfTheMonth(): string; | ||
spaceAndSpace(): string; | ||
commaEveryMinute(): string; | ||
commaEveryHour(): string; | ||
commaEveryX0Years(): string; | ||
commaStartingX0(): string; | ||
daysOfTheWeek(): string[]; | ||
monthsOfTheYear(): string[]; | ||
use24HourTimeFormatByDefault(): boolean; | ||
anErrorOccuredWhenGeneratingTheExpressionD(): string; | ||
everyMinute(): string; | ||
everyHour(): string; | ||
atSpace(): string; | ||
everyMinutebetweenX0AndX1(): string; | ||
at(): string; | ||
spaceAnd(): string; | ||
everysecond(): string; | ||
everyX0Seconds(): string; | ||
secondsX0ThroughX1PastTheMinute(): string; | ||
atX0SecondsPastTheMinute(): string; | ||
atX0SecondsPastTheMinuteGt20(): string; //optional | ||
everyX0Minutes(): string; | ||
minutesX0ThroughX1PastTheHour(): string; | ||
atX0MinutesPastTheHour(): string; | ||
atX0MinutesPastTheHourGt20(): string; //optional | ||
everyX0Hours(): string; | ||
betweenX0AndX1(): string; | ||
atX0(): string; | ||
commaEveryDay(): string; | ||
commaEveryX0daysOfTheWeek(): string; | ||
commaX0ThroughX1(): string; | ||
commaMonthX0ThroughMonthX1(): string; //optional | ||
commaYearX0ThroughYearX1(): string; //optional | ||
first(): string; | ||
second(): string; | ||
third(): string; | ||
fourth(): string; | ||
fifth(): string; | ||
commaOnThe(): string; | ||
spaceX0OfTheMonth(): string; | ||
lastDay(): string; | ||
commaOnTheLastX0OfTheMonth(): string; | ||
commaOnlyOnX0(): string; | ||
commaEveryX0Months(): string; | ||
commaOnlyInX0(): string; | ||
commaOnTheLastDayOfTheMonth(): string; | ||
commaOnTheLastWeekdayOfTheMonth(): string; | ||
firstWeekday(): string; | ||
weekdayNearestDayX0(): string; | ||
commaOnTheX0OfTheMonth(): string; | ||
commaEveryX0Days(): string; | ||
commaBetweenDayX0AndX1OfTheMonth(): string; | ||
commaOnDayX0OfTheMonth(): string; | ||
spaceAndSpace(): string; | ||
commaEveryMinute(): string; | ||
commaEveryHour(): string; | ||
commaEveryX0Years(): string; | ||
commaStartingX0(): string; | ||
daysOfTheWeek(): string[]; | ||
monthsOfTheYear(): string[]; | ||
} |
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 |
---|---|---|
@@ -1,5 +1,5 @@ | ||
import { Locale } from "./locale"; | ||
|
||
export interface LocaleLoader { | ||
load(availableLocales: { [name: string]: Locale }):void; | ||
load(availableLocales: { [name: string]: Locale }): void; | ||
} |
Oops, something went wrong.