mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
FEATURE: Add Uyghur language (#27183)
Co-authored-by: Gerhard Schlager <gerhard.schlager@discourse.org>
This commit is contained in:
committed by
GitHub
parent
5e61d55940
commit
9d8044a2ee
6
lib/javascripts/locale/ug.js
Normal file
6
lib/javascripts/locale/ug.js
Normal file
@@ -0,0 +1,6 @@
|
||||
MessageFormat.locale.ug = function ( n ) {
|
||||
if ( n === 1 ) {
|
||||
return "one";
|
||||
}
|
||||
return "other";
|
||||
};
|
||||
@@ -233,7 +233,7 @@ module JsLocaleHelper
|
||||
output
|
||||
end
|
||||
|
||||
MOMENT_LOCALE_MAPPING ||= { "hy" => "hy-am" }
|
||||
MOMENT_LOCALE_MAPPING ||= { "hy" => "hy-am", "ug" => "ug-cn" }
|
||||
|
||||
def self.find_moment_locale(locale_chain, timezone_names: false)
|
||||
if timezone_names
|
||||
|
||||
Reference in New Issue
Block a user