@snack-uikit/locale
Advanced tools
Comparing version 0.4.0 to 0.5.0
@@ -6,2 +6,14 @@ # Change Log | ||
# 0.5.0 (2024-02-23) | ||
### Features | ||
* **FF-4218:** Field slider ([7a853bf](https://github.com/cloud-ru-tech/snack-uikit/commit/7a853bf8807ae595b2a8a635d754825305c07d6a)) | ||
* **FF-4221:** add translations for List ([dcb7b70](https://github.com/cloud-ru-tech/snack-uikit/commit/dcb7b70851e274bd948a01c103e3464037d27e27)) | ||
# 0.4.0 (2024-02-12) | ||
@@ -8,0 +20,0 @@ |
@@ -18,2 +18,13 @@ export declare const en_GB: { | ||
}; | ||
List: { | ||
noData: { | ||
description: string; | ||
}; | ||
noResults: { | ||
description: string; | ||
}; | ||
errorData: { | ||
description: string; | ||
}; | ||
}; | ||
Chips: { | ||
@@ -20,0 +31,0 @@ clearAllButton: string; |
@@ -18,2 +18,13 @@ export const en_GB = { | ||
}, | ||
List: { | ||
noData: { | ||
description: 'No data', | ||
}, | ||
noResults: { | ||
description: 'Nothing found', | ||
}, | ||
errorData: { | ||
description: 'Error loading data', | ||
}, | ||
}, | ||
Chips: { | ||
@@ -20,0 +31,0 @@ clearAllButton: 'Clear all', |
@@ -19,2 +19,13 @@ export declare const LOCALES: { | ||
}; | ||
List: { | ||
noData: { | ||
description: string; | ||
}; | ||
noResults: { | ||
description: string; | ||
}; | ||
errorData: { | ||
description: string; | ||
}; | ||
}; | ||
Chips: { | ||
@@ -47,2 +58,13 @@ clearAllButton: string; | ||
}; | ||
List: { | ||
noData: { | ||
description: string; | ||
}; | ||
noResults: { | ||
description: string; | ||
}; | ||
errorData: { | ||
description: string; | ||
}; | ||
}; | ||
Chips: { | ||
@@ -49,0 +71,0 @@ clearAllButton: string; |
@@ -21,2 +21,13 @@ export const ru_RU = { | ||
}, | ||
List: { | ||
noData: { | ||
description: 'Нет данных', | ||
}, | ||
noResults: { | ||
description: 'Не найдено', | ||
}, | ||
errorData: { | ||
description: 'Ошибка загрузки данных', | ||
}, | ||
}, | ||
Fields: { | ||
@@ -23,0 +34,0 @@ limitTooltip: { |
@@ -7,3 +7,3 @@ { | ||
"title": "Locale", | ||
"version": "0.4.0", | ||
"version": "0.5.0", | ||
"sideEffects": [ | ||
@@ -41,3 +41,3 @@ "*.css", | ||
}, | ||
"gitHead": "5e7b0b6d34f40c4266070bf918e9cdf127ac882c" | ||
"gitHead": "ee199e2cdca1d24db821533512263dfe06365159" | ||
} |
@@ -57,3 +57,3 @@ # Locale | ||
| lang* | `string` | - | | | ||
| locales | `PartialObjectDeep<Record<string, { firstLevelTrans: string; Table: { searchPlaceholder: string; noData: { title: string; }; noResults: { title: string; description: string; }; errorData: { title: string; description: string; }; rowsOptionsLabel: string; export: string; }; Chips: { ...; }; Fields: { ...; }; }>>` | - | | | ||
| locales | `PartialObjectDeep<Record<string, { Table: { searchPlaceholder: string; noData: { title: string; }; noResults: { title: string; description: string; }; errorData: { title: string; description: string; }; rowsOptionsLabel: string; export: string; }; List: { ...; }; Chips: { ...; }; Fields: { ...; }; }>>` | - | | | ||
## useLocale | ||
@@ -60,0 +60,0 @@ `helper` |
@@ -18,2 +18,13 @@ export const en_GB = { | ||
}, | ||
List: { | ||
noData: { | ||
description: 'No data', | ||
}, | ||
noResults: { | ||
description: 'Nothing found', | ||
}, | ||
errorData: { | ||
description: 'Error loading data', | ||
}, | ||
}, | ||
Chips: { | ||
@@ -20,0 +31,0 @@ clearAllButton: 'Clear all', |
@@ -23,2 +23,13 @@ import { en_GB } from './en_GB'; | ||
}, | ||
List: { | ||
noData: { | ||
description: 'Нет данных', | ||
}, | ||
noResults: { | ||
description: 'Не найдено', | ||
}, | ||
errorData: { | ||
description: 'Ошибка загрузки данных', | ||
}, | ||
}, | ||
Fields: { | ||
@@ -25,0 +36,0 @@ limitTooltip: { |
36370
586