File tree Expand file tree Collapse file tree 2 files changed +33
-0
lines changed Expand file tree Collapse file tree 2 files changed +33
-0
lines changed Original file line number Diff line number Diff line change @@ -5,6 +5,7 @@ export * from './multiple-select-es-ES';
5
5
export * from './multiple-select-fr-FR' ;
6
6
export * from './multiple-select-hu-HU' ;
7
7
export * from './multiple-select-it-IT' ;
8
+ export * from './multiple-select-ja-JP' ;
8
9
export * from './multiple-select-pt-BR' ;
9
10
export * from './multiple-select-ru-RU' ;
10
11
export * from './multiple-select-vi-VN' ;
Original file line number Diff line number Diff line change
1
+ /**
2
+ * Multiple Select ja-JP translation
3
+ * Author: Nozomi Anzai<[email protected] >
4
+ */
5
+
6
+ import { MultipleSelectLocale , MultipleSelectLocales } from '../interfaces' ;
7
+ import { MultipleSelectInstance } from '../MultipleSelectInstance' ;
8
+
9
+ const ms =
10
+ typeof window !== 'undefined' && window . multipleSelect !== undefined
11
+ ? window . multipleSelect
12
+ : ( { locales : { } as MultipleSelectLocales } as Partial < MultipleSelectInstance > ) ;
13
+
14
+ ( ms . locales as MultipleSelectLocales ) [ 'ja-JP' ] = {
15
+ formatSelectAll ( ) {
16
+ return '[すべて選択]' ;
17
+ } ,
18
+ formatAllSelected ( ) {
19
+ return 'すべて選択' ;
20
+ } ,
21
+ formatCountSelected ( count : number , total : number ) {
22
+ return `${ total } 件中 ${ count } 件選択` ;
23
+ } ,
24
+ formatNoMatchesFound ( ) {
25
+ return '見つかりません' ;
26
+ } ,
27
+ formatOkButton ( ) {
28
+ return '閉める' ;
29
+ } ,
30
+ } as MultipleSelectLocale ;
31
+
32
+ export default ms . locales ;
You can’t perform that action at this time.
0 commit comments