mirror of
https://github.com/inventree/InvenTree.git
synced 2025-04-28 19:46:46 +00:00
Add ukrainian as a language option (#7129)
* Add ukrainian as a language option * change lang code * add dts
This commit is contained in:
parent
0f501177cd
commit
3f879f047d
@ -45,6 +45,7 @@ LOCALES = [
|
|||||||
('sv', _('Swedish')),
|
('sv', _('Swedish')),
|
||||||
('th', _('Thai')),
|
('th', _('Thai')),
|
||||||
('tr', _('Turkish')),
|
('tr', _('Turkish')),
|
||||||
|
('uk', _('Ukrainian')),
|
||||||
('vi', _('Vietnamese')),
|
('vi', _('Vietnamese')),
|
||||||
('zh-hans', _('Chinese (Simplified)')),
|
('zh-hans', _('Chinese (Simplified)')),
|
||||||
('zh-hant', _('Chinese (Traditional)')),
|
('zh-hant', _('Chinese (Traditional)')),
|
||||||
|
@ -14245,4 +14245,3 @@ msgstr ""
|
|||||||
#: users/models.py:426
|
#: users/models.py:426
|
||||||
msgid "Permission to delete items"
|
msgid "Permission to delete items"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
@ -30,6 +30,7 @@
|
|||||||
"sv",
|
"sv",
|
||||||
"th",
|
"th",
|
||||||
"tr",
|
"tr",
|
||||||
|
"uk",
|
||||||
"vi",
|
"vi",
|
||||||
"zh-hans",
|
"zh-hans",
|
||||||
"zh-hant",
|
"zh-hant",
|
||||||
|
@ -46,6 +46,7 @@ export const getSupportedLanguages = (): Record<string, string> => {
|
|||||||
sv: t`Swedish`,
|
sv: t`Swedish`,
|
||||||
th: t`Thai`,
|
th: t`Thai`,
|
||||||
tr: t`Turkish`,
|
tr: t`Turkish`,
|
||||||
|
uk: t`Ukrainian`,
|
||||||
vi: t`Vietnamese`,
|
vi: t`Vietnamese`,
|
||||||
'zh-hans': t`Chinese (Simplified)`,
|
'zh-hans': t`Chinese (Simplified)`,
|
||||||
'zh-hant': t`Chinese (Traditional)`
|
'zh-hant': t`Chinese (Traditional)`
|
||||||
|
3
src/frontend/src/locales/uk/messages.d.ts
vendored
Normal file
3
src/frontend/src/locales/uk/messages.d.ts
vendored
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
import { Messages } from '@lingui/core';
|
||||||
|
declare const messages: Messages;
|
||||||
|
export { messages };
|
@ -6375,4 +6375,3 @@ msgstr ""
|
|||||||
#: src/views/MobileAppView.tsx:35
|
#: src/views/MobileAppView.tsx:35
|
||||||
msgid "Ignore and continue to Desktop view"
|
msgid "Ignore and continue to Desktop view"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user