This website requires JavaScript.
Explore
Help
Sign In
IntenseWebs
/
discourse
Watch
3
Star
0
Fork
0
mirror of
https://github.com/discourse/discourse.git
synced
2026-08-05 02:43:08 -05:00
Code
Issues
Packages
Projects
Releases
Wiki
Activity
Files
205be0d04425d0eca4ca175d91eeda9fa0a64cb1
discourse
/
lib
/
javascripts
/
locale
/
ln.js
T
7 lines
110 B
JavaScript
Raw
Normal View
History
Unescape
Escape
Add message format support that can be used on complex localization strings
2013-05-30 15:53:40 +10:00
MessageFormat
.
locale
.
ln
=
function
(
n
)
{
if
(
n
===
0
||
n
==
1
)
{
return
'one'
;
}
return
'other'
;
};
Reference in New Issue
Copy Permalink