From 37fa139a6526e9781998f885c93ecb5b4e610ff7 Mon Sep 17 00:00:00 2001 From: Mauricio Siu <47042324+Siumauricio@users.noreply.github.com> Date: Wed, 27 Nov 2024 23:20:32 -0600 Subject: [PATCH] refactor: bump to 0.13.0 --- .../components/dashboard/settings/appearance-form.tsx | 2 +- .../dashboard/settings/web-server/update-server.tsx | 2 +- apps/dokploy/package.json | 2 +- apps/dokploy/public/locales/zh-Hant/common.json | 1 + apps/dokploy/server/api/routers/compose.ts | 2 +- apps/dokploy/templates/templates.ts | 4 ++-- apps/dokploy/utils/hooks/use-locale.ts | 9 ++++++++- 7 files changed, 15 insertions(+), 7 deletions(-) diff --git a/apps/dokploy/components/dashboard/settings/appearance-form.tsx b/apps/dokploy/components/dashboard/settings/appearance-form.tsx index b7fe20e8..487fe3d0 100644 --- a/apps/dokploy/components/dashboard/settings/appearance-form.tsx +++ b/apps/dokploy/components/dashboard/settings/appearance-form.tsx @@ -178,7 +178,7 @@ export function AppearanceForm() { { label: "Русский", value: "ru" }, { label: "Deutsch", value: "de" }, { label: "繁體中文", value: "zh-Hant" }, - { label: "简体中文", value: "zh-Hans" } + { label: "简体中文", value: "zh-Hans" }, ].map((preset) => ( {preset.label} diff --git a/apps/dokploy/components/dashboard/settings/web-server/update-server.tsx b/apps/dokploy/components/dashboard/settings/web-server/update-server.tsx index 7c300e46..48a61c7a 100644 --- a/apps/dokploy/components/dashboard/settings/web-server/update-server.tsx +++ b/apps/dokploy/components/dashboard/settings/web-server/update-server.tsx @@ -48,7 +48,7 @@ export const UpdateServer = () => {
  • Some bug that is blocking to use some features
  • - We recommend checking the latest version for any breaking changes + We recommend checking the latest version for any breaking changes before updating. Go to{" "} import("./photoprism/index").then((m) => m.generate), - }, - { + }, + { id: "ontime", name: "Ontime", version: "v3.8.0", diff --git a/apps/dokploy/utils/hooks/use-locale.ts b/apps/dokploy/utils/hooks/use-locale.ts index a1897ce0..1cd59f02 100644 --- a/apps/dokploy/utils/hooks/use-locale.ts +++ b/apps/dokploy/utils/hooks/use-locale.ts @@ -1,6 +1,13 @@ import Cookies from "js-cookie"; -const SUPPORTED_LOCALES = ["en", "pl", "ru", "de", "zh-Hant", "zh-Hans"] as const; +const SUPPORTED_LOCALES = [ + "en", + "pl", + "ru", + "de", + "zh-Hant", + "zh-Hans", +] as const; type Locale = (typeof SUPPORTED_LOCALES)[number];