Initial commit of akmon project
This commit is contained in:
0
uni_modules/ak-i18n/test/locales/en_US.fixed.json
Normal file
0
uni_modules/ak-i18n/test/locales/en_US.fixed.json
Normal file
0
uni_modules/ak-i18n/test/locales/en_US.json
Normal file
0
uni_modules/ak-i18n/test/locales/en_US.json
Normal file
66
uni_modules/ak-i18n/test/locales/en_US.uts
Normal file
66
uni_modules/ak-i18n/test/locales/en_US.uts
Normal file
@@ -0,0 +1,66 @@
|
||||
export default {
|
||||
common: {
|
||||
more: "Look More",
|
||||
hello: '{msg} world'
|
||||
},
|
||||
leftMenus: {
|
||||
// "/": "Home",
|
||||
// Home: "Home",
|
||||
home: "Home",
|
||||
},
|
||||
headMenus: {
|
||||
"subTitle": "Organization service platform",
|
||||
"userName": "ZhangSan"
|
||||
},
|
||||
login: {
|
||||
"personal_center": "personal center",
|
||||
"sign_out": "sign out"
|
||||
},
|
||||
plurals: {
|
||||
car: 'car | cars',
|
||||
apple: 'no apples | one apple | {count} apples',
|
||||
format: {
|
||||
named: 'Hello {name}, how are you? | Hi {name}, you look fine',
|
||||
list: 'Hello {0}, how are you? | Hi {0}, you look fine'
|
||||
},
|
||||
fallback: 'this is fallback | this is a plural fallback'
|
||||
},
|
||||
message: {
|
||||
hello: 'the world',
|
||||
helloName: 'Hello {name}',
|
||||
hoge: 'hoge',
|
||||
link: '@:message.hello',
|
||||
linkHelloName: '@:message.helloName',
|
||||
linkLinkHelloName: '@:message.linkHelloName',
|
||||
linkEnd: 'This is a linked translation to @:message.hello',
|
||||
linkWithin: 'Isn\'t @:message.hello we live in great?',
|
||||
linkMultiple: 'Hello @:message.hoge!, isn\'t @:message.hello great?',
|
||||
linkBrackets: 'Hello @:(message.hoge). Isn\'t @:(message.hello) great?',
|
||||
linkHyphen: '@:hyphen-hello',
|
||||
linkUnderscore: '@:underscore_hello',
|
||||
linkPipe: '@:pipe|hello',
|
||||
linkColon: '@:(colon:hello)',
|
||||
linkList: '@:message.hello: {0} {1}',
|
||||
linkCaseLower: 'Please provide @.lower:message.homeAddress',
|
||||
linkCaseUpper: '@.upper:message.homeAddress',
|
||||
linkCaseCapitalize: '@.capitalize:message.homeAddress',
|
||||
linkCaseUnknown: '@.unknown:message.homeAddress',
|
||||
linkCaseCustom: '@.custom:message.homeAddress',
|
||||
homeAddress: 'home Address',
|
||||
circular1: 'Foo @:message.circular2',
|
||||
circular2: 'Bar @:message.circular3',
|
||||
circular3: 'Buz @:message.circular1',
|
||||
linkTwice: '@:message.hello: @:message.hello',
|
||||
the_world: 'the world',
|
||||
dio: 'DIO:',
|
||||
linked: '@:message.dio @:message.the_world !!!!',
|
||||
missingHomeAddress: 'Please provide @.lower:message.homeAddress',
|
||||
snake: 'snake case',
|
||||
custom_modifier: "custom modifiers example: @.snakeCase:{'message.snake'}"
|
||||
},
|
||||
address: "{account}{'@'}{domain}",
|
||||
'hyphen-hello': 'hyphen the wolrd',
|
||||
underscore_hello: 'underscore the wolrd',
|
||||
// 'colon:hello': 'hello colon',
|
||||
// 'pipe|hello': 'hello pipe',
|
||||
};
|
||||
53
uni_modules/ak-i18n/test/locales/zh-CN.uts
Normal file
53
uni_modules/ak-i18n/test/locales/zh-CN.uts
Normal file
@@ -0,0 +1,53 @@
|
||||
export default {
|
||||
common: {
|
||||
more: "查看更多",
|
||||
hello: "{msg} 世界"
|
||||
},
|
||||
leftMenus: {
|
||||
home: "首页"
|
||||
},
|
||||
headMenus: {
|
||||
subTitle: "组织服务平台",
|
||||
userName: "张三"
|
||||
},
|
||||
login: {
|
||||
personal_center: "个人中心",
|
||||
sign_out: "退出登录"
|
||||
},
|
||||
plurals: {
|
||||
car: '车 | 辆车',
|
||||
apple: '没有苹果 | 一个苹果 | {count} 个苹果',
|
||||
format: {
|
||||
named: '你好 {name},你好吗? | 嗨 {name},你看起来不错',
|
||||
list: '你好 {0},你好吗? | 嗨 {0},你看起来不错'
|
||||
},
|
||||
fallback: '这是备选 | 这是一个复数备选'
|
||||
},
|
||||
message: {
|
||||
hello: '世界',
|
||||
helloName: '你好,{name}',
|
||||
hoge: 'hoge',
|
||||
link: '@:message.hello',
|
||||
linkHelloName: '@:message.helloName',
|
||||
linkLinkHelloName: '@:message.linkHelloName',
|
||||
linkEnd: '这是一个链接翻译到 @:message.hello',
|
||||
linkWithin: '难道我们不是生活在美好的世界里吗?',
|
||||
linkMultiple: '你好,@:message.hoge!难道 @:message.hello 不美好吗?',
|
||||
linkBrackets: '你好,@:(message.hoge)。难道 @:(message.hello) 不美好吗?',
|
||||
linkHyphen: '@:hyphen-hello',
|
||||
linkUnderscore: '@:underscore_hello',
|
||||
linkPipe: '@:pipe|hello',
|
||||
linkColon: '@:(colon:hello)',
|
||||
linkList: '@:message.hello:{0} {1}',
|
||||
linkCaseLower: '请提供 @.lower:message.homeAddress',
|
||||
linkCaseUpper: '@.upper:message.homeAddress',
|
||||
linkCaseCapitalize: '@.capitalize:message.homeAddress',
|
||||
linkCaseUnknown: '@.unknown:message.homeAddress',
|
||||
linkCaseCustom: '@.custom:message.homeAddress',
|
||||
homeAddress: '家庭地址',
|
||||
circular1: 'Foo @:message.circular2',
|
||||
circular2: 'Bar @:message.circular3',
|
||||
circular3: 'Buz @:message.circular1',
|
||||
linkTwice: '@:message.hello:@:message.hello',
|
||||
}
|
||||
};
|
||||
0
uni_modules/ak-i18n/test/locales/zh_CN.json
Normal file
0
uni_modules/ak-i18n/test/locales/zh_CN.json
Normal file
Reference in New Issue
Block a user