-
-
Notifications
You must be signed in to change notification settings - Fork 553
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: add russian translation init #723
Conversation
@Siumauricio I can confirm that it looks correct |
"settings.server.webServer.storage.cleanStoppedContainers": "Очистить остановленные контейнеры", | ||
"settings.server.webServer.storage.cleanDockerBuilder": "Очистить Docker Builder и систему", | ||
"settings.server.webServer.storage.cleanMonitoring": "Очистить мониторинг", | ||
"settings.server.webServer.storage.cleanAll": "Очистить всё", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"settings.server.webServer.storage.cleanAll": "Очистить всё", | |
"settings.server.webServer.storage.cleanAll": "Очистить все", |
😭
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
А в слове "тёмная" ничего не смущает?)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Не заметил) Я бы заменил букву ё на е, никто ее не использует
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Заменил везде
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think it's necessary, but languages are usually sorted alphabetically
@@ -37,7 +37,7 @@ const appearanceFormSchema = z.object({ | |||
theme: z.enum(["light", "dark", "system"], { | |||
required_error: "Please select a theme.", | |||
}), | |||
language: z.enum(["en", "pl", "zh-Hans"], { | |||
language: z.enum(["en", "pl", "zh-Hans", "ru"], { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
language: z.enum(["en", "pl", "zh-Hans", "ru"], { | |
language: z.enum(["en", "pl", "ru", "zh-Hans"], { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
{ label: "English", value: "en" }, | ||
{ label: "Polski", value: "pl" }, | ||
{ label: "简体中文", value: "zh-Hans" }, | ||
{ label: "Русский", value: "ru" }, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
{ label: "English", value: "en" }, | |
{ label: "Polski", value: "pl" }, | |
{ label: "简体中文", value: "zh-Hans" }, | |
{ label: "Русский", value: "ru" }, | |
{ label: "English", value: "en" }, | |
{ label: "Polski", value: "pl" }, | |
{ label: "Русский", value: "ru" }, | |
{ label: "简体中文", value: "zh-Hans" }, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
apps/dokploy/next-i18next.config.cjs
Outdated
@@ -2,7 +2,7 @@ | |||
module.exports = { | |||
i18n: { | |||
defaultLocale: "en", | |||
locales: ["en", "pl", "zh-Hans"], | |||
locales: ["en", "pl", "zh-Hans", "ru"], |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
locales: ["en", "pl", "zh-Hans", "ru"], | |
locales: ["en", "pl", "ru", "zh-Hans"], |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
apps/dokploy/pages/_app.tsx
Outdated
@@ -71,7 +71,7 @@ export default api.withTRPC( | |||
{ | |||
i18n: { | |||
defaultLocale: "en", | |||
locales: ["en", "pl", "zh-Hans"], | |||
locales: ["en", "pl", "zh-Hans", "ru"], |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
locales: ["en", "pl", "zh-Hans", "ru"], | |
locales: ["en", "pl", "ru", "zh-Hans"], |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
@@ -1,6 +1,6 @@ | |||
import Cookies from "js-cookie"; | |||
|
|||
const SUPPORTED_LOCALES = ["en", "pl", "zh-Hans"] as const; | |||
const SUPPORTED_LOCALES = ["en", "pl", "zh-Hans", "ru"] as const; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
const SUPPORTED_LOCALES = ["en", "pl", "zh-Hans", "ru"] as const; | |
const SUPPORTED_LOCALES = ["en", "pl", "ru", "zh-Hans"] as const; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
No description provided.