mirror of
https://github.com/discourse/discourse.git
synced 2025-09-06 10:50:21 +08:00
Add message format support that can be used on complex localization strings
Add message about new and unread topics at the bottom of topics move localization helper into lib
This commit is contained in:
parent
e93b7a3b20
commit
8874c9ea75
77 changed files with 2279 additions and 29 deletions
9
lib/javascripts/locale/cs.js
Normal file
9
lib/javascripts/locale/cs.js
Normal file
|
@ -0,0 +1,9 @@
|
|||
MessageFormat.locale.cs = function (n) {
|
||||
if (n == 1) {
|
||||
return 'one';
|
||||
}
|
||||
if (n == 2 || n == 3 || n == 4) {
|
||||
return 'few';
|
||||
}
|
||||
return 'other';
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue