mirror of
https://github.com/discourse/discourse.git
synced 2025-05-21 18:12:32 +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:
6
lib/javascripts/locale/iw.js
Normal file
6
lib/javascripts/locale/iw.js
Normal file
@ -0,0 +1,6 @@
|
||||
MessageFormat.locale.iw = function ( n ) {
|
||||
if ( n === 1 ) {
|
||||
return "one";
|
||||
}
|
||||
return "other";
|
||||
};
|
Reference in New Issue
Block a user