Skip to content

Commit

Permalink
feat(i18n): azerbaijani language
Browse files Browse the repository at this point in the history
  • Loading branch information
kerimovok committed Jan 2, 2025
1 parent 41d4ff8 commit 84a8829
Show file tree
Hide file tree
Showing 3 changed files with 81 additions and 21 deletions.
43 changes: 22 additions & 21 deletions apps/dokploy/lib/languages.ts
Original file line number Diff line number Diff line change
@@ -1,21 +1,22 @@
export const Languages = {
english: { code: "en", name: "English" },
polish: { code: "pl", name: "Polski" },
russian: { code: "ru", name: "Русский" },
french: { code: "fr", name: "Français" },
german: { code: "de", name: "Deutsch" },
chineseTraditional: { code: "zh-Hant", name: "繁體中文" },
chineseSimplified: { code: "zh-Hans", name: "简体中文" },
turkish: { code: "tr", name: "Türkçe" },
kazakh: { code: "kz", name: "Қазақ" },
persian: { code: "fa", name: "فارسی" },
korean: { code: "ko", name: "한국어" },
portuguese: { code: "pt-br", name: "Português" },
italian: { code: "it", name: "Italiano" },
japanese: { code: "ja", name: "日本語" },
spanish: { code: "es", name: "Español" },
norwegian: { code: "no", name: "Norsk" },
};

export type Language = keyof typeof Languages;
export type LanguageCode = (typeof Languages)[keyof typeof Languages]["code"];
export const Languages = {
english: { code: "en", name: "English" },
polish: { code: "pl", name: "Polski" },
russian: { code: "ru", name: "Русский" },
french: { code: "fr", name: "Français" },
german: { code: "de", name: "Deutsch" },
chineseTraditional: { code: "zh-Hant", name: "繁體中文" },
chineseSimplified: { code: "zh-Hans", name: "简体中文" },
turkish: { code: "tr", name: "Türkçe" },
kazakh: { code: "kz", name: "Қазақ" },
persian: { code: "fa", name: "فارسی" },
korean: { code: "ko", name: "한국어" },
portuguese: { code: "pt-br", name: "Português" },
italian: { code: "it", name: "Italiano" },
japanese: { code: "ja", name: "日本語" },
spanish: { code: "es", name: "Español" },
norwegian: { code: "no", name: "Norsk" },
azerbaijani: { code: "az", name: "Azərbaycan" },
};

export type Language = keyof typeof Languages;
export type LanguageCode = (typeof Languages)[keyof typeof Languages]["code"];
1 change: 1 addition & 0 deletions apps/dokploy/public/locales/az/common.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{}
58 changes: 58 additions & 0 deletions apps/dokploy/public/locales/az/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
{
"settings.common.save": "Yadda saxla",
"settings.common.enterTerminal": "Terminala daxil ol",
"settings.server.domain.title": "Server Domeni",
"settings.server.domain.description": "Server tətbiqinizə domen əlavə edin.",
"settings.server.domain.form.domain": "Domen",
"settings.server.domain.form.letsEncryptEmail": "Let's Encrypt E-poçtu",
"settings.server.domain.form.certificate.label": "Sertifikat Təminatçısı",
"settings.server.domain.form.certificate.placeholder": "Sertifikat seçin",
"settings.server.domain.form.certificateOptions.none": "Heç biri",
"settings.server.domain.form.certificateOptions.letsencrypt": "Let's Encrypt",

"settings.server.webServer.title": "Veb Server",
"settings.server.webServer.description": "Veb serveri yenidən yüklə və ya təmizlə.",
"settings.server.webServer.actions": "Əməliyyatlar",
"settings.server.webServer.reload": "Yenidən yüklə",
"settings.server.webServer.watchLogs": "Logları izlə",
"settings.server.webServer.updateServerIp": "Server IP-ni Yenilə",
"settings.server.webServer.server.label": "Server",
"settings.server.webServer.traefik.label": "Traefik",
"settings.server.webServer.traefik.modifyEnv": "Mühiti Dəyişdir",
"settings.server.webServer.traefik.managePorts": "Əlavə Port Təyinatları",
"settings.server.webServer.traefik.managePortsDescription": "Traefik üçün əlavə portlar əlavə edin və ya silin",
"settings.server.webServer.traefik.targetPort": "Hədəf Port",
"settings.server.webServer.traefik.publishedPort": "Dərc Edilmiş Port",
"settings.server.webServer.traefik.addPort": "Port Əlavə Et",
"settings.server.webServer.traefik.portsUpdated": "Portlar uğurla yeniləndi",
"settings.server.webServer.traefik.portsUpdateError": "Portların yenilənməsi uğursuz oldu",
"settings.server.webServer.traefik.publishMode": "Dərc Rejimi",
"settings.server.webServer.storage.label": "Yer",
"settings.server.webServer.storage.cleanUnusedImages": "İstifadə edilməyən şəkilləri təmizlə",
"settings.server.webServer.storage.cleanUnusedVolumes": "İstifadə edilməyən həcmləri təmizlə",
"settings.server.webServer.storage.cleanStoppedContainers": "Dayandırılmış konteynerləri təmizlə",
"settings.server.webServer.storage.cleanDockerBuilder": "Docker Builder və Sistemi təmizlə",
"settings.server.webServer.storage.cleanMonitoring": "Monitorinqi təmizlə",
"settings.server.webServer.storage.cleanAll": "Hamısını təmizlə",

"settings.profile.title": "Hesab",
"settings.profile.description": "Profilinizin məlumatlarını buradan dəyişin.",
"settings.profile.email": "E-poçt",
"settings.profile.password": "Şifrə",
"settings.profile.avatar": "Avatar",

"settings.appearance.title": "Görünüş",
"settings.appearance.description": "İdarəetmə panelinizin görünüşünü fərdiləşdirin.",
"settings.appearance.theme": "Mövzu",
"settings.appearance.themeDescription": "İdarəetmə paneliniz üçün mövzu seçin",
"settings.appearance.themes.light": "İşıqlı",
"settings.appearance.themes.dark": "Qaranlıq",
"settings.appearance.themes.system": "Sistem",
"settings.appearance.language": "Dil",
"settings.appearance.languageDescription": "İdarəetmə paneliniz üçün dil seçin",

"settings.terminal.connectionSettings": "Bağlantı parametrləri",
"settings.terminal.ipAddress": "IP Ünvanı",
"settings.terminal.port": "Port",
"settings.terminal.username": "İstifadəçi adı"
}

0 comments on commit 84a8829

Please sign in to comment.