@schedule-x/translations
Advanced tools
Comparing version 0.1.0-alpha.2 to 0.1.0-alpha.3
@@ -43,5 +43,41 @@ 'use strict'; | ||
const datePickerEnGB = { | ||
Date: 'Date', | ||
'MM/DD/YYYY': 'DD/MM/YYYY', | ||
'Next month': 'Next month', | ||
'Previous month': 'Previous month', | ||
}; | ||
const enGB = { | ||
...datePickerEnGB, | ||
}; | ||
const datePickerSvSE = { | ||
Date: 'Datum', | ||
'MM/DD/YYYY': 'ÅÅÅÅ-MM-DD', | ||
'Next month': 'Nästa månad', | ||
'Previous month': 'Föregående månad', | ||
}; | ||
const svSE = { | ||
...datePickerSvSE, | ||
}; | ||
const datePickerZhCN = { | ||
Date: '日期', | ||
'MM/DD/YYYY': '年/月/日', | ||
'Next month': '下个月', | ||
'Previous month': '上个月', | ||
}; | ||
const zhCN = { | ||
...datePickerZhCN, | ||
}; | ||
const translations = { | ||
deDE, | ||
enUS, | ||
enGB, | ||
svSE, | ||
zhCN, | ||
}; | ||
@@ -51,2 +87,5 @@ const datePickerTranslations = { | ||
enUS: datePickerEnUS, | ||
enGB: datePickerEnGB, | ||
svSE: datePickerSvSE, | ||
zhCN: datePickerZhCN, | ||
}; | ||
@@ -56,4 +95,7 @@ | ||
exports.deDE = deDE; | ||
exports.enGB = enGB; | ||
exports.enUS = enUS; | ||
exports.svSE = svSE; | ||
exports.translate = translate; | ||
exports.translations = translations; | ||
exports.zhCN = zhCN; |
@@ -43,5 +43,41 @@ 'use strict'; | ||
const datePickerEnGB = { | ||
Date: 'Date', | ||
'MM/DD/YYYY': 'DD/MM/YYYY', | ||
'Next month': 'Next month', | ||
'Previous month': 'Previous month', | ||
}; | ||
const enGB = { | ||
...datePickerEnGB, | ||
}; | ||
const datePickerSvSE = { | ||
Date: 'Datum', | ||
'MM/DD/YYYY': 'ÅÅÅÅ-MM-DD', | ||
'Next month': 'Nästa månad', | ||
'Previous month': 'Föregående månad', | ||
}; | ||
const svSE = { | ||
...datePickerSvSE, | ||
}; | ||
const datePickerZhCN = { | ||
Date: '日期', | ||
'MM/DD/YYYY': '年/月/日', | ||
'Next month': '下个月', | ||
'Previous month': '上个月', | ||
}; | ||
const zhCN = { | ||
...datePickerZhCN, | ||
}; | ||
const translations = { | ||
deDE, | ||
enUS, | ||
enGB, | ||
svSE, | ||
zhCN, | ||
}; | ||
@@ -51,2 +87,5 @@ const datePickerTranslations = { | ||
enUS: datePickerEnUS, | ||
enGB: datePickerEnGB, | ||
svSE: datePickerSvSE, | ||
zhCN: datePickerZhCN, | ||
}; | ||
@@ -56,4 +95,7 @@ | ||
exports.deDE = deDE; | ||
exports.enGB = enGB; | ||
exports.enUS = enUS; | ||
exports.svSE = svSE; | ||
exports.translate = translate; | ||
exports.translations = translations; | ||
exports.zhCN = zhCN; |
@@ -39,5 +39,41 @@ const datePickerDeDE = { | ||
const datePickerEnGB = { | ||
Date: 'Date', | ||
'MM/DD/YYYY': 'DD/MM/YYYY', | ||
'Next month': 'Next month', | ||
'Previous month': 'Previous month', | ||
}; | ||
const enGB = { | ||
...datePickerEnGB, | ||
}; | ||
const datePickerSvSE = { | ||
Date: 'Datum', | ||
'MM/DD/YYYY': 'ÅÅÅÅ-MM-DD', | ||
'Next month': 'Nästa månad', | ||
'Previous month': 'Föregående månad', | ||
}; | ||
const svSE = { | ||
...datePickerSvSE, | ||
}; | ||
const datePickerZhCN = { | ||
Date: '日期', | ||
'MM/DD/YYYY': '年/月/日', | ||
'Next month': '下个月', | ||
'Previous month': '上个月', | ||
}; | ||
const zhCN = { | ||
...datePickerZhCN, | ||
}; | ||
const translations = { | ||
deDE, | ||
enUS, | ||
enGB, | ||
svSE, | ||
zhCN, | ||
}; | ||
@@ -47,4 +83,7 @@ const datePickerTranslations = { | ||
enUS: datePickerEnUS, | ||
enGB: datePickerEnGB, | ||
svSE: datePickerSvSE, | ||
zhCN: datePickerZhCN, | ||
}; | ||
export { datePickerTranslations, deDE, enUS, translate, translations }; | ||
export { datePickerTranslations, deDE, enGB, enUS, svSE, translate, translations, zhCN }; |
@@ -45,5 +45,41 @@ (function (global, factory) { | ||
const datePickerEnGB = { | ||
Date: 'Date', | ||
'MM/DD/YYYY': 'DD/MM/YYYY', | ||
'Next month': 'Next month', | ||
'Previous month': 'Previous month', | ||
}; | ||
const enGB = { | ||
...datePickerEnGB, | ||
}; | ||
const datePickerSvSE = { | ||
Date: 'Datum', | ||
'MM/DD/YYYY': 'ÅÅÅÅ-MM-DD', | ||
'Next month': 'Nästa månad', | ||
'Previous month': 'Föregående månad', | ||
}; | ||
const svSE = { | ||
...datePickerSvSE, | ||
}; | ||
const datePickerZhCN = { | ||
Date: '日期', | ||
'MM/DD/YYYY': '年/月/日', | ||
'Next month': '下个月', | ||
'Previous month': '上个月', | ||
}; | ||
const zhCN = { | ||
...datePickerZhCN, | ||
}; | ||
const translations = { | ||
deDE, | ||
enUS, | ||
enGB, | ||
svSE, | ||
zhCN, | ||
}; | ||
@@ -53,2 +89,5 @@ const datePickerTranslations = { | ||
enUS: datePickerEnUS, | ||
enGB: datePickerEnGB, | ||
svSE: datePickerSvSE, | ||
zhCN: datePickerZhCN, | ||
}; | ||
@@ -58,5 +97,8 @@ | ||
exports.deDE = deDE; | ||
exports.enGB = enGB; | ||
exports.enUS = enUS; | ||
exports.svSE = svSE; | ||
exports.translate = translate; | ||
exports.translations = translations; | ||
exports.zhCN = zhCN; | ||
@@ -63,0 +105,0 @@ Object.defineProperty(exports, '__esModule', { value: true }); |
import { deDE } from './locales/de-DE'; | ||
import { enUS } from './locales/en-US'; | ||
import { translate } from './translator/translate'; | ||
import { enGB } from './locales/en-GB'; | ||
import { svSE } from './locales/sv-SE'; | ||
import { zhCN } from './locales/zh-CN'; | ||
declare const translations: { | ||
deDE: import("./types/date-picker.translations").DatePickerTranslations; | ||
enUS: import("./types/date-picker.translations").DatePickerTranslations; | ||
enGB: import("./types/date-picker.translations").DatePickerTranslations; | ||
svSE: import("./types/date-picker.translations").DatePickerTranslations; | ||
zhCN: import("./types/date-picker.translations").DatePickerTranslations; | ||
}; | ||
@@ -11,4 +17,7 @@ declare const datePickerTranslations: { | ||
enUS: import("./types/date-picker.translations").DatePickerTranslations; | ||
enGB: import("./types/date-picker.translations").DatePickerTranslations; | ||
svSE: import("./types/date-picker.translations").DatePickerTranslations; | ||
zhCN: import("./types/date-picker.translations").DatePickerTranslations; | ||
}; | ||
export type TranslateFn = (key: string) => string; | ||
export { translate, translations, datePickerTranslations, deDE, enUS }; | ||
export { translate, translations, datePickerTranslations, deDE, enUS, enGB, svSE, zhCN, }; |
{ | ||
"name": "@schedule-x/translations", | ||
"version": "0.1.0-alpha.2", | ||
"version": "0.1.0-alpha.3", | ||
"description": "Schedule-X translations", | ||
@@ -22,3 +22,3 @@ "author": { | ||
}, | ||
"gitHead": "052aa6562e27bd1776de750b3054ee45daf7a39a" | ||
"gitHead": "daf98eee92dd25c444f0092c660a0a62fa887a4d" | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
12810
22
383