1
1
import _ from "lodash" ;
2
2
3
3
import type {
4
- iLocaleBase ,
5
- iLocaleForm ,
6
- iLocaleInput ,
7
- iLocaleModal ,
8
- iLocalePagination ,
9
- iLocaleTable ,
4
+ tLocaleBase ,
5
+ tLocaleForm ,
6
+ tLocaleInput ,
7
+ tLocaleModal ,
8
+ tLocalePagination ,
9
+ tLocaleTable ,
10
10
tPluginLocale ,
11
11
} from "@open-xamu-co/ui-common-types" ;
12
12
@@ -15,7 +15,7 @@ import type {
15
15
*
16
16
* @locale en
17
17
*/
18
- export const localeBase : iLocaleBase = {
18
+ export const localeBase : tLocaleBase = {
19
19
yes : "Yes" ,
20
20
no : "No" ,
21
21
increase : "increase" ,
@@ -56,7 +56,7 @@ export const localeBase: iLocaleBase = {
56
56
*
57
57
* @locale en
58
58
*/
59
- export const localeInput : iLocaleInput = {
59
+ export const localeInput : tLocaleInput = {
60
60
select_selected : "Selected" ,
61
61
select_placeholder : "--SELECT--" ,
62
62
select_restablish_field : "Restablish field" ,
@@ -88,7 +88,7 @@ export const localeInput: iLocaleInput = {
88
88
*
89
89
* @locale en
90
90
*/
91
- export const localeModal : iLocaleModal = {
91
+ export const localeModal : tLocaleModal = {
92
92
modal_taking_too_long : "Taking too long?" ,
93
93
swal : {
94
94
modal_unauthorized : "Unauthorized" ,
@@ -101,7 +101,7 @@ export const localeModal: iLocaleModal = {
101
101
*
102
102
* @locale en
103
103
*/
104
- export const localeForm : iLocaleForm = {
104
+ export const localeForm : tLocaleForm = {
105
105
form_required_options : "Options are required" ,
106
106
form_requires_n_values :
107
107
"No values are required | A value is required | {count} values are required" ,
@@ -134,7 +134,7 @@ export const localeForm: iLocaleForm = {
134
134
*
135
135
* @locale en
136
136
*/
137
- export const localeTable : iLocaleTable = {
137
+ export const localeTable : tLocaleTable = {
138
138
table_see_values : "See {name}" ,
139
139
table_see_name : 'See: "{name}"' ,
140
140
table_create_new : "Create new" ,
@@ -181,7 +181,7 @@ export const localeTable: iLocaleTable = {
181
181
*
182
182
* @locale en
183
183
*/
184
- export const localePagination : iLocalePagination = {
184
+ export const localePagination : tLocalePagination = {
185
185
pagination_items : "No items | Single item | {count} items" ,
186
186
pagination_pages : "No pages | Single page | {count} pages" ,
187
187
pagination_order_relevance : "Order: relevance" ,
@@ -200,7 +200,7 @@ export const localePagination: iLocalePagination = {
200
200
*
201
201
* @locale en
202
202
*/
203
- const enLocale : tPluginLocale = {
203
+ const etLocale : tPluginLocale = {
204
204
..._ . omit ( localeBase , "swal" ) ,
205
205
..._ . omit ( localeInput , "swal" ) ,
206
206
..._ . omit ( localeModal , "swal" ) ,
@@ -217,4 +217,4 @@ const enLocale: tPluginLocale = {
217
217
} ,
218
218
} ;
219
219
220
- export default enLocale ;
220
+ export default etLocale ;
0 commit comments