@@ -2,8 +2,8 @@ define(["app/config", "app/i18n/bg", "app/i18n/cs", "app/i18n/da",
2
2
"app/i18n/de" , "app/i18n/en" , "app/i18n/fa" , "app/i18n/fi" ,
3
3
"app/i18n/fr" , "app/i18n/hr" , "app/i18n/hu" , "app/i18n/ru" , "app/i18n/it" ,
4
4
"app/i18n/eo" , "app/i18n/pl" , "app/i18n/sv" , "app/i18n/nl" , "app/i18n/el_GR" ,
5
- "app/i18n/es" , "app/i18n/vi" , "app/i18n/zh_CN" , "app/i18n/zh_CN" , "app/i18n/zh_TW" ] ,
6
- function ( config , bg , cs , da , de , en , fa , fi , fr , hr , hu , ru , it , eo , pl , sv , nl , el , es , vi , zh , zh_CN , zh_TW ) {
5
+ "app/i18n/es" , "app/i18n/vi" , "app/i18n/zh_CN" , "app/i18n/zh_CN" , "app/i18n/zh_TW" , "app/i18n/sk" ] ,
6
+ function ( config , bg , cs , da , de , en , fa , fi , fr , hr , hu , ru , it , eo , pl , sv , nl , el , es , vi , zh , zh_CN , zh_TW , sk ) {
7
7
8
8
"use strict" ;
9
9
@@ -55,6 +55,16 @@ define(["app/config", "app/i18n/bg", "app/i18n/cs", "app/i18n/da",
55
55
return typeof msgs [ 2 ] !== "undefined" ? msgs [ 2 ] : msgs [ 1 ] ;
56
56
}
57
57
} ;
58
+ case "sk" :
59
+ return function ( msgs , n ) {
60
+ if ( n === 1 ) {
61
+ return msgs [ 0 ] ;
62
+ } else if ( n === 2 || n === 3 || n === 4 ) {
63
+ return msgs [ 1 ] ;
64
+ } else {
65
+ return typeof msgs [ 2 ] !== "undefined" ? msgs [ 2 ] : msgs [ 1 ] ;
66
+ }
67
+ } ;
58
68
default :
59
69
return null ;
60
70
}
@@ -90,7 +100,8 @@ define(["app/config", "app/i18n/bg", "app/i18n/cs", "app/i18n/da",
90
100
vi : vi ,
91
101
zh : zh_CN ,
92
102
zh_CN : zh_CN ,
93
- zh_TW : zh_TW
103
+ zh_TW : zh_TW ,
104
+ sk : sk
94
105
} ;
95
106
96
107
var plural = pluralforms ( lang ) ;
0 commit comments