skyline-console/test/unit/locales/en-US.js
Hanxiang Gao 4eb68e7fb2 feat: Add initial code of skyline-console
Add initial code of skyline-console

Change-Id: Icba2152a014761f53789357b5085d0779cd0e2a4
2021-06-01 23:29:30 +08:00

26 lines
915 B
JavaScript

module.exports = {
SIMPLE: 'Simple',
HELLO: 'Hello, {name}',
TIP: 'This is <span>HTML</span>',
TIP_VAR: 'This is<span>{message}</span>',
SALE_START: 'Sale begins {start, date}',
SALE_END: 'Sale begins {start, date, long}',
COUPON: 'Coupon expires at {expires, time, medium}',
SALE_PRICE: 'The price is {price, number, USD}',
PHOTO:
'You have {num, plural, =0 {no photos.} =1 {one photo.} other {# photos.}}',
NESTED: {
HELLO: 'Hello World',
HELLO_NAME: 'Hello, {name}',
},
'DOT.HELLO': 'Hello World',
BRACE1: 'The format is {var}',
// eslint-disable-next-line no-template-curly-in-string
BRACE2: 'The format is ${var}',
ONLY_IN_ENGLISH: 'ONLY_IN_ENGLISH',
SKELETON_VAR: 'Increase by {value, number, ::.0#}',
SKELETON_SELECTORDINAL:
"It's my cat's {year, selectordinal, one {#st} two {#nd} few {#rd} other {#th}} birthday!",
'not-exist-key': 'not-exist-key',
};