Last active
April 15, 2019 14:16
-
-
Save bodrovis/e97d600e7b26ea97789324d173362481 to your computer and use it in GitHub Desktop.
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
const locales = { | |
en: { | |
welcome: 'Welcome to our demo!', | |
tos: 'Terms of service', | |
term: 'I accept {{0}}.', | |
info: { | |
warning: 'Warning message' | |
}, | |
apple: 'One apple', // <--- | |
apple_plural: '{{count}} apples' // <--- | |
}, | |
ru: { | |
welcome: 'Добро пожаловать в наше демо!', | |
tos: 'Условия использования', | |
term: 'Я принимаю {{0}}.', | |
info: { | |
warning: 'Предупреждение' | |
}, | |
apple_0: "{{count}} яблоко", // <--- | |
apple_1: "{{count}} яблока", // <--- | |
apple_2: "{{count}} яблок" // <--- | |
}, | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment