mirror of
https://github.com/pcottle/learnGitBranching.git
synced 2025-06-29 01:10:04 +02:00
Resolves #175 again -- intelligently select chinese locales
This commit is contained in:
parent
fa0faecff0
commit
148ab9cc08
2 changed files with 13 additions and 1 deletions
|
@ -9,6 +9,11 @@ var getDefaultLocale = exports.getDefaultLocale = function() {
|
|||
return 'en_US';
|
||||
};
|
||||
|
||||
var headerLocaleMap = exports.headerLocaleMap = {
|
||||
'zh-CN': 'zh_CN',
|
||||
'zh-TW': 'zh_TW',
|
||||
};
|
||||
|
||||
// resolve the messy mapping between browser language
|
||||
// and our supported locales
|
||||
var langLocaleMap = exports.langLocaleMap = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue