mirror of
https://github.com/inventree/InvenTree.git
synced 2025-05-01 21:16:46 +00:00
Lithuanian (#8134)
* Add lithuanian support to backend * Lithuanian support for frontend
This commit is contained in:
parent
05707e6d65
commit
45aab46db3
@ -10,6 +10,8 @@ Additionally, update the following files with the new locale code:
|
|||||||
|
|
||||||
- /src/frontend/.linguirc file
|
- /src/frontend/.linguirc file
|
||||||
- /src/frontend/src/contexts/LanguageContext.tsx
|
- /src/frontend/src/contexts/LanguageContext.tsx
|
||||||
|
|
||||||
|
(and then run "invoke int.frontend-trans")
|
||||||
"""
|
"""
|
||||||
|
|
||||||
from django.utils.translation import gettext_lazy as _
|
from django.utils.translation import gettext_lazy as _
|
||||||
@ -34,6 +36,7 @@ LOCALES = [
|
|||||||
('it', _('Italian')),
|
('it', _('Italian')),
|
||||||
('ja', _('Japanese')),
|
('ja', _('Japanese')),
|
||||||
('ko', _('Korean')),
|
('ko', _('Korean')),
|
||||||
|
('lt', _('Lithuanian')),
|
||||||
('lv', _('Latvian')),
|
('lv', _('Latvian')),
|
||||||
('nl', _('Dutch')),
|
('nl', _('Dutch')),
|
||||||
('no', _('Norwegian')),
|
('no', _('Norwegian')),
|
||||||
|
15423
src/backend/InvenTree/locale/lt/LC_MESSAGES/django.po
Normal file
15423
src/backend/InvenTree/locale/lt/LC_MESSAGES/django.po
Normal file
File diff suppressed because it is too large
Load Diff
@ -19,6 +19,7 @@
|
|||||||
"it",
|
"it",
|
||||||
"ja",
|
"ja",
|
||||||
"ko",
|
"ko",
|
||||||
|
"lt",
|
||||||
"lv",
|
"lv",
|
||||||
"nl",
|
"nl",
|
||||||
"no",
|
"no",
|
||||||
|
@ -36,6 +36,7 @@ export const getSupportedLanguages = (): Record<string, string> => {
|
|||||||
it: t`Italian`,
|
it: t`Italian`,
|
||||||
ja: t`Japanese`,
|
ja: t`Japanese`,
|
||||||
ko: t`Korean`,
|
ko: t`Korean`,
|
||||||
|
lt: t`Lithuanian`,
|
||||||
lv: t`Latvian`,
|
lv: t`Latvian`,
|
||||||
nl: t`Dutch`,
|
nl: t`Dutch`,
|
||||||
no: t`Norwegian`,
|
no: t`Norwegian`,
|
||||||
|
4
src/frontend/src/locales/lt/messages.d.ts
vendored
Normal file
4
src/frontend/src/locales/lt/messages.d.ts
vendored
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
import { Messages } from '@lingui/core';
|
||||||
|
declare const messages: Messages;
|
||||||
|
export { messages };
|
||||||
|
|
6879
src/frontend/src/locales/lt/messages.po
Normal file
6879
src/frontend/src/locales/lt/messages.po
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user