mirror of
https://github.com/aykhans/slash-e.git
synced 2025-04-20 22:07:15 +00:00
feat: add Hungarian translation (#261)
Co-authored-by: Kármán Zsombor <karman.zsombor@infohullam.hu>
This commit is contained in:
parent
5dd045e080
commit
8f8cd81c14
84
frontend/locales/hu.json
Normal file
84
frontend/locales/hu.json
Normal file
@ -0,0 +1,84 @@
|
|||||||
|
{
|
||||||
|
"common": {
|
||||||
|
"about": "Névjegy",
|
||||||
|
"loading": "Betöltés",
|
||||||
|
"cancel": "Mégse",
|
||||||
|
"save": "Mentés",
|
||||||
|
"create": "Létrehozás",
|
||||||
|
"download": "Letöltés",
|
||||||
|
"edit": "Szerkesztés",
|
||||||
|
"delete": "Törlés",
|
||||||
|
"language": "Nyelv",
|
||||||
|
"search": "Keresés",
|
||||||
|
"email": "Email",
|
||||||
|
"password": "Jelszó",
|
||||||
|
"account": "Fiók"
|
||||||
|
},
|
||||||
|
"auth": {
|
||||||
|
"sign-in": "Bejelentkezés",
|
||||||
|
"sign-up": "Regisztráció",
|
||||||
|
"sign-out": "Kijelentkezés",
|
||||||
|
"create-your-account": "Fiók létrehozás",
|
||||||
|
"host-tip": "Adminisztrátorként regisztrál."
|
||||||
|
},
|
||||||
|
"analytics": {
|
||||||
|
"self": "Analitika",
|
||||||
|
"top-sources": "Legfontosabb források",
|
||||||
|
"source": "Forrás",
|
||||||
|
"visitors": "Látogatók",
|
||||||
|
"devices": "Eszközök",
|
||||||
|
"browser": "Böngésző",
|
||||||
|
"browsers": "Böngészők",
|
||||||
|
"operating-system": "Operációs rendszer"
|
||||||
|
},
|
||||||
|
"shortcut": {
|
||||||
|
"visits": "{{count}} látogatás",
|
||||||
|
"visibility": {
|
||||||
|
"private": {
|
||||||
|
"self": "Privát",
|
||||||
|
"description": "Csak Ön férhet hozzá"
|
||||||
|
},
|
||||||
|
"workspace": {
|
||||||
|
"self": "Munkaterület",
|
||||||
|
"description": "A munkaterület tagjai hozzáférhetnek"
|
||||||
|
},
|
||||||
|
"public": {
|
||||||
|
"self": "Nyilvános",
|
||||||
|
"description": "Mindenki számára látható az interneten"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"filter": {
|
||||||
|
"all": "Összes",
|
||||||
|
"mine": "Saját",
|
||||||
|
"compact-mode": "Kompakt mód",
|
||||||
|
"order-by": "Rendezés",
|
||||||
|
"direction": "Irány"
|
||||||
|
},
|
||||||
|
"user": {
|
||||||
|
"self": "Felhasználó",
|
||||||
|
"nickname": "Becenév",
|
||||||
|
"email": "Email",
|
||||||
|
"role": "Szerep",
|
||||||
|
"profile": "Profil",
|
||||||
|
"action": {
|
||||||
|
"add-user": "Felhasználó hozzáadása"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"settings": {
|
||||||
|
"self": "Beállítás",
|
||||||
|
"preference": {
|
||||||
|
"self": "Preferencia",
|
||||||
|
"color-theme": "Színtéma"
|
||||||
|
},
|
||||||
|
"workspace": {
|
||||||
|
"self": "Munkaterület beállítások",
|
||||||
|
"custom-style": "Egyéni stílus",
|
||||||
|
"enable-user-signup": {
|
||||||
|
"self": "Felhasználói regisztráció engedélyezése",
|
||||||
|
"description": "Ha engedélyezve van, más felhasználók is regisztrálhatnak."
|
||||||
|
},
|
||||||
|
"default-visibility": "Alapértelmezett láthatóság"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
@ -36,6 +36,10 @@ const PreferenceSection: React.FC = () => {
|
|||||||
value: "RU",
|
value: "RU",
|
||||||
label: "русский",
|
label: "русский",
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
value: "HU",
|
||||||
|
label: "Magyar",
|
||||||
|
},
|
||||||
];
|
];
|
||||||
|
|
||||||
const colorThemeOptions = [
|
const colorThemeOptions = [
|
||||||
|
@ -6,6 +6,7 @@ import ja from "../../locales/ja.json";
|
|||||||
import ru from "../../locales/ru.json";
|
import ru from "../../locales/ru.json";
|
||||||
import tr from "../../locales/tr.json";
|
import tr from "../../locales/tr.json";
|
||||||
import zh from "../../locales/zh.json";
|
import zh from "../../locales/zh.json";
|
||||||
|
import hu from "../../locales/hu.json";
|
||||||
|
|
||||||
i18n.use(initReactI18next).init({
|
i18n.use(initReactI18next).init({
|
||||||
resources: {
|
resources: {
|
||||||
@ -27,6 +28,9 @@ i18n.use(initReactI18next).init({
|
|||||||
TR: {
|
TR: {
|
||||||
translation: tr,
|
translation: tr,
|
||||||
},
|
},
|
||||||
|
HU: {
|
||||||
|
translation: hu,
|
||||||
|
},
|
||||||
},
|
},
|
||||||
lng: "EN",
|
lng: "EN",
|
||||||
fallbackLng: "EN",
|
fallbackLng: "EN",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user