Skip to content

Open-source manufacturing ERP, MES and QMS. Quoting, MRP, inventory, shop floor, quality and lot/serial traceability on one Postgres schema, with a REST API and MCP server. Self-host or use Carbon Cloud.

fix: seasonal theme no longer blocks onboarding; pickers are disabled with a note while it is on

aashue7e9375e2ff2
diff --git a/apps/erp/app/components/AvatarMenu.tsx b/apps/erp/app/components/AvatarMenu.tsx
index f90b1d7a86..e79670bdb5 100644
--- a/apps/erp/app/components/AvatarMenu.tsx
+++ b/apps/erp/app/components/AvatarMenu.tsx
@@ -23,10 +23,12 @@ import {
DropdownMenuTrigger,
getSystemMode,
ItarDisclosure,
+ SeasonalThemeNotice,
useDisclosure,
useEdition,
useMode,
- useModePreference
+ useModePreference,
+ useSeasonalTheme
} from "@carbon/react";
import type { ModePreference } from "@carbon/utils";
import { Edition, modeValidator, themes } from "@carbon/utils";
@@ -92,6 +94,7 @@ export function useAccountMenu() {
const mode = useMode();
const modePreference = useModePreference();
const serverTheme = useTheme();
+ const seasonalTheme = useSeasonalTheme();
const fetcher = useFetcher<typeof action>();
@@ -125,6 +128,7 @@ export function useAccountMenu() {
);
const onThemeChange = (t: string) => {
+ if (seasonalTheme) return;
const newTheme = themes.find((theme) => theme.name === t);
if (!newTheme) return;
const variables =
@@ -261,6 +265,7 @@ export function useAccountMenu() {
onModeChange,
optimisticTheme,
onThemeChange,
+ seasonalTheme,
languageOptions,
resolvedLocale,
localeFetcher,
@@ -281,6 +286,7 @@ const AvatarMenu = () => {
onModeChange,
optimisticTheme,
onThemeChange,
+ seasonalTheme,
languageOptions,
resolvedLocale,
localeFetcher,
@@ -359,6 +365,7 @@ const AvatarMenu = () => {
{item.label}
</DropdownMenuSubTrigger>
<DropdownMenuSubContent>
+ <SeasonalThemeNotice className="max-w-56 px-2 py-1.5" />
<DropdownMenuRadioGroup
value={optimisticTheme}
onValueChange={onThemeChange}
@@ -367,6 +374,7 @@ const AvatarMenu = () => {
<DropdownMenuRadioItem
key={t.name}
value={t.name}
+ disabled={seasonalTheme}
onSelect={(e) => e.preventDefault()}
style={
{
diff --git a/apps/erp/app/components/Layout/Mobile/ProfileSheet.tsx b/apps/erp/app/components/Layout/Mobile/ProfileSheet.tsx
index eb34c4997e..f40d2c8735 100644
--- a/apps/erp/app/components/Layout/Mobile/ProfileSheet.tsx
+++ b/apps/erp/app/components/Layout/Mobile/ProfileSheet.tsx
@@ -14,6 +14,7 @@ import {
cn,
ItarDisclosure,
PrefetchLink,
+ SeasonalThemeNotice,
SheetSectionLabel,
sheetRowClassName,
useMode
@@ -199,23 +200,29 @@ export function ProfileSheet({
const renderSubmenu = (item: AccountMenuItem): ReactNode => {
if (item.id === "theme") {
- return themes.map((theme) => (
- <SheetRowButton
- key={theme.name}
- onClick={() => menu.onThemeChange(theme.name)}
- >
- <span
- className="size-5 shrink-0 rounded-full"
- style={{
- background: `hsl(${theme.activeColor[mode === "dark" ? "dark" : "light"]})`
- }}
- />
- <SheetRowContent
- label={theme.label}
- trailing={menu.optimisticTheme === theme.name ? "check" : null}
- />
- </SheetRowButton>
- ));
+ return (
+ <>
+ <SeasonalThemeNotice className="px-4 py-2" />
+ {themes.map((theme) => (
+ <SheetRowButton
+ key={theme.name}
+ disabled={menu.seasonalTheme}
+ onClick={() => menu.onThemeChange(theme.name)}
+ >
+ <span
+ className="size-5 shrink-0 rounded-full"
+ style={{
+ background: `hsl(${theme.activeColor[mode === "dark" ? "dark" : "light"]})`
+ }}
+ />
+ <SheetRowContent
+ label={theme.label}
+ trailing={menu.optimisticTheme === theme.name ? "check" : null}
+ />
+ </SheetRowButton>
+ ))}
+ </>
+ );
}
if (item.id === "language") {
return (
diff --git a/apps/erp/app/components/MeshGradientBackground.tsx b/apps/erp/app/components/MeshGradientBackground.tsx
index 2f8a9e688f..cc3ff80de6 100644
--- a/apps/erp/app/components/MeshGradientBackground.tsx
+++ b/apps/erp/app/components/MeshGradientBackground.tsx
@@ -3,61 +3,17 @@
// including ports, remain AGPLv3; serving them over a network requires releasing their source.
import { cn, useMode } from "@carbon/react";
-import { seasonalMeshColors } from "@carbon/utils";
+import { themeByName } from "@carbon/utils";
import { MeshGradient } from "@paper-design/shaders-react";
import { useEffect, useState } from "react";
import { useTheme } from "~/hooks/useTheme";
// Theme-aware Paper Shaders mesh-gradient backdrop. Used behind the onboarding
// flow and the Implementation Hub so both share the same soft, animated canvas.
-const meshColorsByTheme: Record<
- string,
- {
- light: [string, string, string, string];
- dark: [string, string, string, string];
- }
-> = {
- zinc: {
- light: ["#edecef", "#f4f4f6", "#fafafb", "#f0eff2"],
- dark: ["#18181b", "#000000", "#0D0D0D", "#050505"]
- },
- neutral: {
- light: ["#eeece9", "#f4f3f1", "#faf9f8", "#f1efed"],
- dark: ["#1c1917", "#000000", "#0D0D0D", "#050505"]
- },
- red: {
- light: ["#fdf0f1", "#fdf6f6", "#fffafa", "#fdf3f3"],
- dark: ["#2d0a0a", "#000000", "#0D0D0D", "#050505"]
- },
- orange: {
- light: ["#fdf4e9", "#fdf8f1", "#fffbf6", "#fdf6ed"],
- dark: ["#2d1a0a", "#000000", "#0D0D0D", "#050505"]
- },
- yellow: {
- light: ["#fdf8e2", "#fdfaec", "#fffdf4", "#fdf9e7"],
- dark: ["#2d2a0a", "#000000", "#0D0D0D", "#050505"]
- },
- green: {
- light: ["#e9fbf2", "#f0fcf6", "#f6fdf9", "#edfcf4"],
- dark: ["#023225", "#000000", "#0D0D0D", "#050505"]
- },
- blue: {
- light: ["#eef3fd", "#f5f8fe", "#fcfdfe", "#f1f5fd"],
- dark: ["#0a1a2d", "#000000", "#0D0D0D", "#050505"]
- },
- violet: {
- light: ["#f3f0fe", "#f7f5fe", "#fbfaff", "#f5f2fe"],
- dark: ["#1e0a2d", "#000000", "#0D0D0D", "#050505"]
- }
-};
-
+// Each theme carries its four colors per mode (`mesh` in @carbon/utils).
export function getMeshColors(theme: string, mode: string): string[] {
- // A seasonal theme carries its own colors (`seasonalMeshColors`).
- const colors =
- meshColorsByTheme[theme] ??
- seasonalMeshColors(theme) ??
- meshColorsByTheme.blue;
- return [...(mode === "light" ? colors.light : colors.dark)];
+ const { mesh } = themeByName(theme);
+ return [...(mode === "light" ? mesh.light : mesh.dark)];
}
export function getMeshBackgroundGradient(theme: string, mode: string) {
diff --git a/apps/erp/app/root.tsx b/apps/erp/app/root.tsx
index a25a744455..eb846fe215 100644
--- a/apps/erp/app/root.tsx
+++ b/apps/erp/app/root.tsx
@@ -33,7 +33,7 @@ import {
isSearchParamOnlyNavigation,
modeValidator,
prefetchCacheMiddleware,
- resolveTheme,
+ themeByName,
themeColorValidator
} from "@carbon/utils";
import { faviconLinks } from "@carbon/utils/favicon";
@@ -247,25 +247,18 @@ export function Document({
env?: Record<string, unknown>;
}) {
const nonce = useContext(UNSAFE_FrameworkContext)?.nonce;
- const selectedTheme = resolveTheme(theme);
+ const selectedTheme = themeByName(theme);
// Create style objects for both light and dark modes
const lightVars: Record<string, string> = {};
const darkVars: Record<string, string> = {};
- if (selectedTheme) {
- // Set light mode variables
- Object.entries(selectedTheme.cssVars.light).forEach(([key, value]) => {
- const cssKey = `--${key}`;
- lightVars[cssKey] = `${value}`;
- });
-
- // Set dark mode variables
- Object.entries(selectedTheme.cssVars.dark).forEach(([key, value]) => {
- const cssKey = `--${key}`;
- darkVars[cssKey] = `${value}`;
- });
- }
+ Object.entries(selectedTheme.cssVars.light).forEach(([key, value]) => {
+ lightVars[`--${key}`] = `${value}`;
+ });
+ Object.entries(selectedTheme.cssVars.dark).forEach(([key, value]) => {
+ darkVars[`--${key}`] = `${value}`;
+ });
// Combine the styles with proper selectors
const themeStyle = {
diff --git a/apps/erp/app/routes/onboarding+/theme.tsx b/apps/erp/app/routes/onboarding+/theme.tsx
index f769414fd9..8a87825b21 100644
--- a/apps/erp/app/routes/onboarding+/theme.tsx
+++ b/apps/erp/app/routes/onboarding+/theme.tsx
@@ -15,8 +15,10 @@ import {
PrefetchLink,
RadioGroup,
RadioGroupButton,
+ SeasonalThemeNotice,
useMode,
useModePreference,
+ useSeasonalTheme,
VStack
} from "@carbon/react";
import type { Theme } from "@carbon/utils";
@@ -38,7 +40,7 @@ import { useOnboarding } from "~/hooks";
import type { Theme as ThemeValue } from "~/modules/settings/settings.models";
import { themeValidator } from "~/modules/settings/settings.models";
import type { action as modeAction } from "~/root";
-import { getTheme, setTheme } from "~/services/theme.server";
+import { getStoredTheme, setTheme } from "~/services/theme.server";
import { ONBOARDING_SHORTCUTS } from "~/shortcuts";
import type { Handle } from "~/utils/handle";
import { path } from "~/utils/path";
@@ -49,10 +51,8 @@ export const handle: Handle = {
};
export async function loader({ request }: LoaderFunctionArgs) {
- const theme = getTheme(request);
-
return {
- theme: theme ?? "zinc"
+ theme: getStoredTheme(request)
};
}
@@ -82,9 +82,12 @@ export default function OnboardingTheme() {
const modePreference = useModePreference();
const modeFetcher = useFetcher<typeof modeAction>();
- const [theme, setTheme] = useState<ThemeValue>(initialTheme as "zinc");
+ const [theme, setTheme] = useState<ThemeValue>(initialTheme);
+ const seasonalTheme = useSeasonalTheme();
const onThemeChange = (t: Theme) => {
+ // In season the page shows the seasonal theme, whatever is picked.
+ if (seasonalTheme) return;
setTheme(t.name);
const variables = mode === "dark" ? t.cssVars.dark : t.cssVars.light;
@@ -182,8 +185,10 @@ export default function OnboardingTheme() {
<Trans>System</Trans>
</RadioGroupButton>
</RadioGroup>
+ <SeasonalThemeNotice />
<RadioGroup
value={theme}
+ disabled={seasonalTheme}
onValueChange={(name) => {
const selected = themes.find((entry) => entry.name === name);
if (selected) onThemeChange(selected);
diff --git a/apps/erp/app/routes/x+/account+/theme.tsx b/apps/erp/app/routes/x+/account+/theme.tsx
index 9258e233c2..5641b53e3c 100644
--- a/apps/erp/app/routes/x+/account+/theme.tsx
+++ b/apps/erp/app/routes/x+/account+/theme.tsx
@@ -8,7 +8,7 @@ import { msg } from "@lingui/core/macro";
import type { ActionFunctionArgs, LoaderFunctionArgs } from "react-router";
import { data } from "react-router";
import { themeValidator } from "~/modules/settings/settings.models";
-import { getTheme, setTheme } from "~/services/theme.server";
+import { getStoredTheme, setTheme } from "~/services/theme.server";
import type { Handle } from "~/utils/handle";
import { path } from "~/utils/path";
@@ -18,10 +18,8 @@ export const handle: Handle = {
};
export async function loader({ request }: LoaderFunctionArgs) {
- const theme = getTheme(request);
-
return {
- theme: theme ?? "zinc"
+ theme: getStoredTheme(request)
};
}
diff --git a/apps/erp/app/services/theme.server.ts b/apps/erp/app/services/theme.server.ts
index e3e437bfca..993258523f 100644
--- a/apps/erp/app/services/theme.server.ts
+++ b/apps/erp/app/services/theme.server.ts
@@ -4,7 +4,7 @@
import { DOMAIN, getCookieDomain } from "@carbon/auth";
import type { ThemeName } from "@carbon/utils";
-import { resolveTheme } from "@carbon/utils";
+import { resolveTheme, storedTheme } from "@carbon/utils";
import * as cookie from "cookie";
const cookieName = "theme";
@@ -14,9 +14,20 @@ const cookieName = "theme";
* otherwise the cookie's, or the default (`resolveTheme`).
*/
export function getTheme(request: Request): ThemeName {
+ return resolveTheme(readCookie(request)).name;
+}
+
+/**
+ * The everyday theme the user picked, whatever is in season: what a picker
+ * shows as chosen and posts back (`storedTheme`).
+ */
+export function getStoredTheme(request: Request): ThemeName {
+ return storedTheme(readCookie(request)).name;
+}
+
+function readCookie(request: Request) {
const cookieHeader = request.headers.get("cookie");
- const stored = cookieHeader ? cookie.parse(cookieHeader)[cookieName] : null;
- return resolveTheme(stored).name;
+ return cookieHeader ? cookie.parse(cookieHeader)[cookieName] : null;
}
export function setTheme(theme: string) {
diff --git a/apps/mes/app/root.tsx b/apps/mes/app/root.tsx
index 20d5159bf0..c2f1454742 100644
--- a/apps/mes/app/root.tsx
+++ b/apps/mes/app/root.tsx
@@ -33,7 +33,7 @@ import {
isSearchParamOnlyNavigation,
modeValidator,
prefetchCacheMiddleware,
- resolveTheme,
+ themeByName,
themeColorValidator
} from "@carbon/utils";
import { faviconLinks } from "@carbon/utils/favicon";
@@ -225,25 +225,18 @@ function Document({
env?: Record<string, unknown>;
}) {
const nonce = useContext(UNSAFE_FrameworkContext)?.nonce;
- const selectedTheme = resolveTheme(theme);
+ const selectedTheme = themeByName(theme);
// Create style objects for both light and dark modes
const lightVars: Record<string, string> = {};
const darkVars: Record<string, string> = {};
- if (selectedTheme) {
- // Set light mode variables
- Object.entries(selectedTheme.cssVars.light).forEach(([key, value]) => {
- const cssKey = `--${key}`;
- lightVars[cssKey] = `${value}`;
- });
-
- // Set dark mode variables
- Object.entries(selectedTheme.cssVars.dark).forEach(([key, value]) => {
- const cssKey = `--${key}`;
- darkVars[cssKey] = `${value}`;
- });
- }
+ Object.entries(selectedTheme.cssVars.light).forEach(([key, value]) => {
+ lightVars[`--${key}`] = `${value}`;
+ });
+ Object.entries(selectedTheme.cssVars.dark).forEach(([key, value]) => {
+ darkVars[`--${key}`] = `${value}`;
+ });
// Combine the styles with proper selectors
const themeStyle = {
diff --git a/apps/starter/app/root.tsx b/apps/starter/app/root.tsx
index 510f84b4cc..9d0bca5800 100644
--- a/apps/starter/app/root.tsx
+++ b/apps/starter/app/root.tsx
@@ -29,7 +29,7 @@ import {
getPreferenceHeaders,
modeValidator,
prefetchCacheMiddleware,
- resolveTheme,
+ themeByName,
themeColorValidator
} from "@carbon/utils";
import { faviconLinks } from "@carbon/utils/favicon";
@@ -193,25 +193,18 @@ function Document({
lang?: string;
}) {
const nonce = useContext(UNSAFE_FrameworkContext)?.nonce;
- const selectedTheme = resolveTheme(theme);
+ const selectedTheme = themeByName(theme);
// Create style objects for both light and dark modes
const lightVars: Record<string, string> = {};
const darkVars: Record<string, string> = {};
- if (selectedTheme) {
- // Set light mode variables
- Object.entries(selectedTheme.cssVars.light).forEach(([key, value]) => {
- const cssKey = `--${key}`;
- lightVars[cssKey] = `${value}`;
- });
-
- // Set dark mode variables
- Object.entries(selectedTheme.cssVars.dark).forEach(([key, value]) => {
- const cssKey = `--${key}`;
- darkVars[cssKey] = `${value}`;
- });
- }
+ Object.entries(selectedTheme.cssVars.light).forEach(([key, value]) => {
+ lightVars[`--${key}`] = `${value}`;
+ });
+ Object.entries(selectedTheme.cssVars.dark).forEach(([key, value]) => {
+ darkVars[`--${key}`] = `${value}`;
+ });
// Combine the styles with proper selectors
const themeStyle = {
diff --git a/packages/account/AGENTS.md b/packages/account/AGENTS.md
index e83cb6de1d..143f20b68e 100644
--- a/packages/account/AGENTS.md
+++ b/packages/account/AGENTS.md
@@ -29,7 +29,8 @@ and the starter. Each app mounts it once in its shell; it opens over any page.
`themeColorValidator` from `@carbon/utils`). `useOptimisticMode` only counts a `/`
submission carrying `mode`, so the two never read each other's in-flight value.
The theme grid lists the everyday `themes`. A seasonal theme is never offered; while one is
- in season it renders for everyone, whatever is picked here.
+ in season it renders for everyone, so the grid is disabled and shows `SeasonalThemeNotice`
+ (`useSeasonalTheme`, `@carbon/react`).
- Panes read with `useLoaderQuery` (`@carbon/query`), so the host app needs a
`QueryClientProvider`, `window.clientCache` and `createInvalidationMiddleware` in its root.
Strings use Lingui macros, so it also needs a `LocaleProvider`; the package is in the erp
diff --git a/packages/account/src/ui/AppearanceSettings.tsx b/packages/account/src/ui/AppearanceSettings.tsx
index 307bf29cdd..8ba8b2744d 100644
--- a/packages/account/src/ui/AppearanceSettings.tsx
+++ b/packages/account/src/ui/AppearanceSettings.tsx
@@ -5,11 +5,13 @@
import {
cn,
getSystemMode,
+ SeasonalThemeNotice,
ToggleGroup,
ToggleGroupItem,
useMode,
useModePreference,
- useRouteData
+ useRouteData,
+ useSeasonalTheme
} from "@carbon/react";
import { modeValidator, themeColorValidator, themes } from "@carbon/utils";
import { Trans, useLingui } from "@lingui/react/macro";
@@ -58,6 +60,7 @@ export default function AppearanceSettings() {
const themeFetcher = useFetcher();
const routeData = useRouteData<{ theme?: string }>(ROOT_ACTION);
const previewedVariables = useRef<string[]>([]);
+ const seasonalTheme = useSeasonalTheme();
// The preview lives on <body> and outranks the theme the root document puts
// on <html>. Once the save settles, the root loader has revalidated: drop
@@ -101,7 +104,7 @@ export default function AppearanceSettings() {
const onThemeChange = (value: string) => {
const next = themes.find((candidate) => candidate.name === value);
- if (!next || next.name === theme) return;
+ if (seasonalTheme || !next || next.name === theme) return;
// Preview at once, until the root loader applies it from the cookie.
const variables = mode === "dark" ? next.cssVars.dark : next.cssVars.light;
Object.entries(variables).forEach(([key, color]) => {
@@ -159,10 +162,12 @@ export default function AppearanceSettings() {
title={<Trans>Theme color</Trans>}
description={<Trans>The accent color used across Carbon.</Trans>}
>
+ <SeasonalThemeNotice className="mb-2" />
<ToggleGroup
type="single"
size="sm"
value={theme}
+ disabled={seasonalTheme}
onValueChange={onThemeChange}
aria-label={t`Theme color`}
className="grid grid-cols-2 gap-2 sm:grid-cols-4"
diff --git a/packages/locale/locales/de/erp.po b/packages/locale/locales/de/erp.po
index 54552feab3..45d86c3ee9 100644
--- a/packages/locale/locales/de/erp.po
+++ b/packages/locale/locales/de/erp.po
@@ -1465,6 +1465,9 @@ msgstr "Ein Verkaufs-Anfrage (ein Kunde bittet Sie um ein Angebot) oder eine Ein
msgid "A scoped secret sent on the carbon-key request header that authenticates programmatic calls to Carbon, carrying its own permissions and rate limit rather than a user session's."
msgstr "Ein bereichsbegrenztes Geheimnis, das im carbon-key-Anfrage-Header gesendet wird und programmgesteuerte Aufrufe an Carbon authentifiziert, mit eigenen Berechtigungen und Ratenlimit statt einer Benutzersitzung."
+msgid "A seasonal theme is on for everyone today. You can pick yours again once it ends."
+msgstr "Heute gilt für alle ein saisonales Design. Sobald es endet, können Sie wieder Ihr eigenes wählen."
+
msgid "A separate schedule for tax reporting when tax rules require a method different from book depreciation."
msgstr "Ein separater Plan für die Steuermeldung, wenn Steuerregeln eine Methode erfordern, die sich von der buchhalterischen Abschreibung unterscheidet."
@@ -4766,6 +4769,9 @@ msgstr "Spediteur"
msgid "Carrier Account"
msgstr "Spediteurkonto"
+msgid "Carve"
+msgstr "Schnitzen"
+
msgid "Cash & Banking"
msgstr "Kasse & Banken"
@@ -12271,6 +12277,9 @@ msgstr "Sein Design kann sich ändern, bevor die Änderungsmitteilung freigegebe
msgid "Its revenue goes back to what each line has left to recognize."
msgstr "Ihre Umsatzerlöse gehen zurück zu dem, was jede Position noch nicht verbucht hat."
+msgid "Jack-o'-lantern"
+msgstr "Kürbislaterne"
+
msgid "Job"
msgstr "Job"
@@ -12800,6 +12809,9 @@ msgstr "LIFO"
msgid "Light"
msgstr "Hell"
+msgid "Light up"
+msgstr "Anzünden"
+
msgid "Light, dark, or follow your system setting."
msgstr "Hell, dunkel oder Systemeinstellung folgen."
@@ -17925,6 +17937,12 @@ msgstr "GW der Zahlungen"
msgid "PV of Residual"
msgstr "GW des Restwerts"
+msgid "QC"
+msgstr "QS"
+
+msgid "QC passed"
+msgstr "QS bestanden"
+
msgid "QR Code to complete the current operation for this kanban"
msgstr "QR-Code zum Abschließen des aktuellen Arbeitsgangs für diesen Kanban"
@@ -26065,6 +26083,9 @@ msgstr "Warnen Sie, wenn die Person, die einen eingegangenen Artikel prüft, die
msgid "Warning"
msgstr "Warnung"
+msgid "Wash"
+msgstr "Waschen"
+
msgid "Watch"
msgstr "Ansehen"
diff --git a/packages/locale/locales/de/mes.po b/packages/locale/locales/de/mes.po
index d459c5ed70..d657d65b29 100644
--- a/packages/locale/locales/de/mes.po
+++ b/packages/locale/locales/de/mes.po
@@ -110,6 +110,9 @@ msgstr "🚨 Hinweis: Am {0} wird Ihr Konto zu erp.try.carbon.ms verschoben"
msgid "A previous completion did not finish. Retrying resumes the remaining steps — quantities are not double-counted."
msgstr "Eine vorherige Fertigstellung wurde nicht abgeschlossen. Ein erneuter Versuch setzt die verbleibenden Schritte fort – Mengen werden nicht doppelt gezählt."
+msgid "A seasonal theme is on for everyone today. You can pick yours again once it ends."
+msgstr "Heute gilt für alle ein saisonales Design. Sobald es endet, können Sie wieder Ihr eigenes wählen."
+
msgid "About"
msgstr "Über"
@@ -334,6 +337,9 @@ msgstr "Carbon Logo"
msgid "Cards"
msgstr "Karten"
+msgid "Carve"
+msgstr "Schnitzen"
+
msgid "Change"
msgstr "Ändern"
@@ -912,6 +918,9 @@ msgstr "Artikelstamm"
msgid "Items"
msgstr "Artikel"
+msgid "Jack-o'-lantern"
+msgstr "Kürbislaterne"
+
msgid "Job"
msgstr "Auftrag"
@@ -966,6 +975,9 @@ msgstr "Lassen Sie uns etwas bauen"
msgid "Light"
msgstr "Hell"
+msgid "Light up"
+msgstr "Anzünden"
+
msgid "Light, dark, or follow your system setting."
msgstr "Hell, dunkel oder Systemeinstellung folgen."
@@ -1542,6 +1554,12 @@ msgstr "Fortschritt"
msgid "Purchasing"
msgstr "Einkauf"
+msgid "QC"
+msgstr "QS"
+
+msgid "QC passed"
+msgstr "QS bestanden"
+
msgid "Quality"
msgstr "Qualität"
@@ -1604,6 +1622,9 @@ msgstr "Ablehnen"
msgid "Reject Lot"
msgstr "Charge ablehnen"
+msgid "Rejected"
+msgstr "Abgelehnt"
+
msgid "Released"
msgstr "Freigegeben"
@@ -2239,6 +2260,9 @@ msgstr "Instandhaltungseinsatz anzeigen"
msgid "View or open"
msgstr "Anzeigen oder Öffnen"
+msgid "Wash"
+msgstr "Waschen"
+
msgid "We've sent you a magic link to sign in to your account."
msgstr "Wir haben Ihnen einen Magic Link zur Anmeldung an Ihrem Konto gesendet."
diff --git a/packages/locale/locales/en/erp.po b/packages/locale/locales/en/erp.po
index cae5ecd4f6..7e73ea3886 100644
--- a/packages/locale/locales/en/erp.po
+++ b/packages/locale/locales/en/erp.po
@@ -1465,6 +1465,9 @@ msgstr "A sales RFQ (a customer asks you to quote) or a purchasing RFQ (you ask
msgid "A scoped secret sent on the carbon-key request header that authenticates programmatic calls to Carbon, carrying its own permissions and rate limit rather than a user session's."
msgstr "A scoped secret sent on the carbon-key request header that authenticates programmatic calls to Carbon, carrying its own permissions and rate limit rather than a user session's."
+msgid "A seasonal theme is on for everyone today. You can pick yours again once it ends."
+msgstr "A seasonal theme is on for everyone today. You can pick yours again once it ends."
+
msgid "A separate schedule for tax reporting when tax rules require a method different from book depreciation."
msgstr "A separate schedule for tax reporting when tax rules require a method different from book depreciation."
@@ -4766,6 +4769,9 @@ msgstr "Carrier"
msgid "Carrier Account"
msgstr "Carrier Account"
+msgid "Carve"
+msgstr "Carve"
+
msgid "Cash & Banking"
msgstr "Cash & Banking"
@@ -12271,6 +12277,9 @@ msgstr "Its design may change before the change notice is released."
msgid "Its revenue goes back to what each line has left to recognize."
msgstr "Its revenue goes back to what each line has left to recognize."
+msgid "Jack-o'-lantern"
+msgstr "Jack-o'-lantern"
+
msgid "Job"
msgstr "Job"
@@ -12800,6 +12809,9 @@ msgstr "LIFO"
msgid "Light"
msgstr "Light"
+msgid "Light up"
+msgstr "Light up"
+
msgid "Light, dark, or follow your system setting."
msgstr "Light, dark, or follow your system setting."
@@ -17925,6 +17937,12 @@ msgstr "PV of Payments"
msgid "PV of Residual"
msgstr "PV of Residual"
+msgid "QC"
+msgstr "QC"
+
+msgid "QC passed"
+msgstr "QC passed"
+
msgid "QR Code to complete the current operation for this kanban"
msgstr "QR Code to complete the current operation for this kanban"
@@ -26065,6 +26083,9 @@ msgstr "Warn when the person inspecting an inbound item is the same person who r
msgid "Warning"
msgstr "Warning"
+msgid "Wash"
+msgstr "Wash"
+
msgid "Watch"
msgstr "Watch"
diff --git a/packages/locale/locales/en/mes.po b/packages/locale/locales/en/mes.po
index 87b1329fe7..a5705a09e8 100644
--- a/packages/locale/locales/en/mes.po
+++ b/packages/locale/locales/en/mes.po
@@ -110,6 +110,9 @@ msgstr "🚨 Heads up: on {0} your account will be moved to erp.try.carbon.ms"
msgid "A previous completion did not finish. Retrying resumes the remaining steps — quantities are not double-counted."
msgstr "A previous completion did not finish. Retrying resumes the remaining steps — quantities are not double-counted."
+msgid "A seasonal theme is on for everyone today. You can pick yours again once it ends."
+msgstr "A seasonal theme is on for everyone today. You can pick yours again once it ends."
+
msgid "About"
msgstr "About"
@@ -334,6 +337,9 @@ msgstr "Carbon Logo"
msgid "Cards"
msgstr "Cards"
+msgid "Carve"
+msgstr "Carve"
+
msgid "Change"
msgstr "Change"
@@ -912,6 +918,9 @@ msgstr "Item Master"
msgid "Items"
msgstr "Items"
+msgid "Jack-o'-lantern"
+msgstr "Jack-o'-lantern"
+
msgid "Job"
msgstr "Job"
@@ -966,6 +975,9 @@ msgstr "Let's build something"
msgid "Light"
msgstr "Light"
+msgid "Light up"
+msgstr "Light up"
+
msgid "Light, dark, or follow your system setting."
msgstr "Light, dark, or follow your system setting."
@@ -1542,6 +1554,12 @@ msgstr "Progress"
msgid "Purchasing"
msgstr "Purchasing"
+msgid "QC"
+msgstr "QC"
+
+msgid "QC passed"
+msgstr "QC passed"
+
msgid "Quality"
msgstr "Quality"
@@ -1604,6 +1622,9 @@ msgstr "Reject"
msgid "Reject Lot"
msgstr "Reject Lot"
+msgid "Rejected"
+msgstr "Rejected"
+
msgid "Released"
msgstr "Released"
@@ -2239,6 +2260,9 @@ msgstr "View maintenance dispatch"
msgid "View or open"
msgstr "View or open"
+msgid "Wash"
+msgstr "Wash"
+
msgid "We've sent you a magic link to sign in to your account."
msgstr "We've sent you a magic link to sign in to your account."
diff --git a/packages/locale/locales/es/erp.po b/packages/locale/locales/es/erp.po
index 6773974f34..e7532825e3 100644
--- a/packages/locale/locales/es/erp.po
+++ b/packages/locale/locales/es/erp.po
@@ -1465,6 +1465,9 @@ msgstr "Un RFQ de venta (un cliente te pide que cotices) o un RFQ de compra (tu
msgid "A scoped secret sent on the carbon-key request header that authenticates programmatic calls to Carbon, carrying its own permissions and rate limit rather than a user session's."
msgstr "Un secreto con alcance enviado en el encabezado de solicitud carbon-key que autentica llamadas programáticas a Carbon, llevando sus propios permisos y límite de velocidad en lugar de la sesión de un usuario."
+msgid "A seasonal theme is on for everyone today. You can pick yours again once it ends."
+msgstr "Hoy hay un tema de temporada para todos. Podrás volver a elegir el tuyo cuando termine."
+
msgid "A separate schedule for tax reporting when tax rules require a method different from book depreciation."
msgstr "Un cronograma separado para la presentación de impuestos cuando las reglas fiscales requieren un método diferente a la depreciación de libros."
@@ -4766,6 +4769,9 @@ msgstr "Transportista"
msgid "Carrier Account"
msgstr "Cuenta de Transportista"
+msgid "Carve"
+msgstr "Tallar"
+
msgid "Cash & Banking"
msgstr "Efectivo y Banca"
@@ -12271,6 +12277,9 @@ msgstr "Su diseño puede cambiar antes de que se libere el aviso de cambio."
msgid "Its revenue goes back to what each line has left to recognize."
msgstr "Sus ingresos por ventas vuelven a lo que cada línea tiene pendiente de reconocer."
+msgid "Jack-o'-lantern"
+msgstr "Calabaza de Halloween"
+
msgid "Job"
msgstr "Trabajo"
@@ -12800,6 +12809,9 @@ msgstr "LIFO"
msgid "Light"
msgstr "Claro"
+msgid "Light up"
+msgstr "Encender"
+
msgid "Light, dark, or follow your system setting."
msgstr "Claro, oscuro o seguir la configuración del sistema."
@@ -17925,6 +17937,12 @@ msgstr "VP de Pagos"
msgid "PV of Residual"
msgstr "VP de Residual"
+msgid "QC"
+msgstr "CC"
+
+msgid "QC passed"
+msgstr "CC aprobado"
+
msgid "QR Code to complete the current operation for this kanban"
msgstr "QR Code para completar la operación actual para este kanban"
@@ -26065,6 +26083,9 @@ msgstr "Advertir cuando la persona que inspecciona un artículo entrante es la m
msgid "Warning"
msgstr "Advertencia"
+msgid "Wash"
+msgstr "Lavar"
+
msgid "Watch"
msgstr "Ver"
diff --git a/packages/locale/locales/es/mes.po b/packages/locale/locales/es/mes.po
index 57b98e9138..75b3f2ea2c 100644
--- a/packages/locale/locales/es/mes.po
+++ b/packages/locale/locales/es/mes.po
@@ -110,6 +110,9 @@ msgstr "🚨 Atención: el {0} su cuenta se trasladará a erp.try.carbon.ms"
msgid "A previous completion did not finish. Retrying resumes the remaining steps — quantities are not double-counted."
msgstr "Una finalización anterior no se completó. Reintentar reanuda los pasos restantes — las cantidades no se duplican."
+msgid "A seasonal theme is on for everyone today. You can pick yours again once it ends."
+msgstr "Hoy hay un tema de temporada para todos. Podrás volver a elegir el tuyo cuando termine."
+
msgid "About"
msgstr "Acerca de"
@@ -334,6 +337,9 @@ msgstr "Logotipo de Carbon"
msgid "Cards"
msgstr "Tarjetas"
+msgid "Carve"
+msgstr "Tallar"
+
msgid "Change"
msgstr "Cambiar"
@@ -912,6 +918,9 @@ msgstr "Maestro de artículos"
msgid "Items"
msgstr "Artículos"
+msgid "Jack-o'-lantern"
+msgstr "Calabaza de Halloween"
+
msgid "Job"
msgstr "Trabajo"
@@ -966,6 +975,9 @@ msgstr "Construyamos algo"
msgid "Light"
msgstr "Claro"
+msgid "Light up"
+msgstr "Encender"
+
msgid "Light, dark, or follow your system setting."
msgstr "Claro, oscuro, o seguir la configuración del sistema."
@@ -1542,6 +1554,12 @@ msgstr "Progreso"
msgid "Purchasing"
msgstr "Compras"
+msgid "QC"
+msgstr "CC"
+
+msgid "QC passed"
+msgstr "CC aprobado"
+
msgid "Quality"
msgstr "Calidad"
@@ -1604,6 +1622,9 @@ msgstr "Rechazar"
msgid "Reject Lot"
msgstr "Rechazar lote"
+msgid "Rejected"
+msgstr "Rechazado"
+
msgid "Released"
msgstr "Liberado"
@@ -2239,6 +2260,9 @@ msgstr "Ver orden de mantenimiento"
msgid "View or open"
msgstr "Ver o abrir"
+msgid "Wash"
+msgstr "Lavar"
+
msgid "We've sent you a magic link to sign in to your account."
msgstr "Le hemos enviado un enlace mágico para iniciar sesión en su cuenta."
diff --git a/packages/locale/locales/fr/erp.po b/packages/locale/locales/fr/erp.po
index 2ba9c84b04..cc8c23a23c 100644
--- a/packages/locale/locales/fr/erp.po
+++ b/packages/locale/locales/fr/erp.po
@@ -1465,6 +1465,9 @@ msgstr "Un RFQ de vente (un client vous demande de citer) ou un RFQ d'achat (vou
msgid "A scoped secret sent on the carbon-key request header that authenticates programmatic calls to Carbon, carrying its own permissions and rate limit rather than a user session's."
msgstr "Un secret limité en portée envoyé sur l'en-tête de requête carbon-key qui authentifie les appels programmatiques à Carbon, possédant ses propres autorisations et limite de débit plutôt que ceux d'une session utilisateur."
+msgid "A seasonal theme is on for everyone today. You can pick yours again once it ends."
+msgstr "Un thème de saison s'applique à tous aujourd'hui. Vous pourrez choisir à nouveau le vôtre lorsqu'il prendra fin."
+
msgid "A separate schedule for tax reporting when tax rules require a method different from book depreciation."
msgstr "Un calendrier d'amortissement distinct pour la déclaration fiscale quand les règles fiscales exigent une méthode différente de l'amortissement comptable."
@@ -4766,6 +4769,9 @@ msgstr "Transporteur"
msgid "Carrier Account"
msgstr "Compte de transporteur"
+msgid "Carve"
+msgstr "Sculpter"
+
msgid "Cash & Banking"
msgstr "Trésorerie et Banque"
@@ -12271,6 +12277,9 @@ msgstr "Sa conception peut changer avant la publication de l'avis de modificatio
msgid "Its revenue goes back to what each line has left to recognize."
msgstr "Ses revenus reviennent à ce que chaque ligne a à reconnaître."
+msgid "Jack-o'-lantern"
+msgstr "Citrouille d'Halloween"
+
msgid "Job"
msgstr "Tâche"
@@ -12800,6 +12809,9 @@ msgstr "LIFO"
msgid "Light"
msgstr "Clair"
+msgid "Light up"
+msgstr "Allumer"
+
msgid "Light, dark, or follow your system setting."
msgstr "Clair, sombre, ou suivre le paramètre de votre système."
@@ -17925,6 +17937,12 @@ msgstr "VA des paiements"
msgid "PV of Residual"
msgstr "VA de la valeur résiduelle"
+msgid "QC"
+msgstr "CQ"
+
+msgid "QC passed"
+msgstr "CQ validé"
+
msgid "QR Code to complete the current operation for this kanban"
msgstr "QR Code pour terminer l'opération en cours pour ce kanban"
@@ -26065,6 +26083,9 @@ msgstr "Avertir lorsque la personne inspectant un article entrant est la même p
msgid "Warning"
msgstr "Avertissement"
+msgid "Wash"
+msgstr "Laver"
+
msgid "Watch"
msgstr "Regarder"
diff --git a/packages/locale/locales/fr/mes.po b/packages/locale/locales/fr/mes.po
index 471df950aa..bf56ed5eb4 100644
--- a/packages/locale/locales/fr/mes.po
+++ b/packages/locale/locales/fr/mes.po
@@ -110,6 +110,9 @@ msgstr "🚨 Attention : le {0}, votre compte sera transféré vers erp.try.carb
msgid "A previous completion did not finish. Retrying resumes the remaining steps — quantities are not double-counted."
msgstr "Un traitement précédent ne s'est pas terminé. Recommencer reprend les étapes restantes — les quantités ne sont pas comptabilisées en double."
+msgid "A seasonal theme is on for everyone today. You can pick yours again once it ends."
+msgstr "Un thème de saison s'applique à tous aujourd'hui. Vous pourrez choisir à nouveau le vôtre lorsqu'il prendra fin."
+
msgid "About"
msgstr "À propos"
@@ -334,6 +337,9 @@ msgstr "Logo Carbon"
msgid "Cards"
msgstr "Cartes"
+msgid "Carve"
+msgstr "Sculpter"
+
msgid "Change"
msgstr "Modifier"
@@ -912,6 +918,9 @@ msgstr "Fiche article"
msgid "Items"
msgstr "Articles"
+msgid "Jack-o'-lantern"
+msgstr "Citrouille d'Halloween"
+
msgid "Job"
msgstr "Ordre de fabrication"
@@ -966,6 +975,9 @@ msgstr "Construisons quelque chose"
msgid "Light"
msgstr "Clair"
+msgid "Light up"
+msgstr "Allumer"
+
msgid "Light, dark, or follow your system setting."
msgstr "Clair, sombre, ou suivre les paramètres système."
@@ -1542,6 +1554,12 @@ msgstr "Progression"
msgid "Purchasing"
msgstr "Achats"
+msgid "QC"
+msgstr "CQ"
+
+msgid "QC passed"
+msgstr "CQ validé"
+
msgid "Quality"
msgstr "Qualité"
@@ -1604,6 +1622,9 @@ msgstr "Rejeter"
msgid "Reject Lot"
msgstr "Rejeter lot"
+msgid "Rejected"
+msgstr "Rejeté"
+
msgid "Released"
msgstr "Lancé"
@@ -2239,6 +2260,9 @@ msgstr "Voir l'intervention de maintenance"
msgid "View or open"
msgstr "Afficher ou ouvrir"
+msgid "Wash"
+msgstr "Laver"
+
msgid "We've sent you a magic link to sign in to your account."
msgstr "Nous vous avons envoyé un lien magique pour vous connecter à votre compte."
diff --git a/packages/locale/locales/hi/erp.po b/packages/locale/locales/hi/erp.po
index fa302a39b2..aa7e9bbfcf 100644
--- a/packages/locale/locales/hi/erp.po
+++ b/packages/locale/locales/hi/erp.po
@@ -1465,6 +1465,9 @@ msgstr "एक बिक्रय RFQ (एक ग्राहक आपको
msgid "A scoped secret sent on the carbon-key request header that authenticates programmatic calls to Carbon, carrying its own permissions and rate limit rather than a user session's."
msgstr "कार्बन-कुंजी अनुरोध हेडर पर भेजा गया एक स्कोप्ड गोपनीय जो कार्बन के लिए प्रोग्रामेटिक कॉल को प्रमाणित करता है, उपयोगकर्ता सत्र की बजाय अपनी स्वयं की अनुमतियां और दर सीमा ले जाता है।"
+msgid "A seasonal theme is on for everyone today. You can pick yours again once it ends."
+msgstr "आज सभी के लिए एक मौसमी थीम लागू है। इसके समाप्त होने पर आप फिर से अपनी थीम चुन सकते हैं।"
+
msgid "A separate schedule for tax reporting when tax rules require a method different from book depreciation."
msgstr "कर रिपोर्टिंग के लिए एक अलग अनुसूची जब कर नियम पुस्तक मूल्यह्रास से अलग विधि की आवश्यकता होती है।"
@@ -4766,6 +4769,9 @@ msgstr "वाहक"
msgid "Carrier Account"
msgstr "वाहक खाता"
+msgid "Carve"
+msgstr "नक्काशी"
+
msgid "Cash & Banking"
msgstr "नकद और बैंकिंग"
@@ -12271,6 +12277,9 @@ msgstr "इसकी डिजाइन परिवर्तन सूचना
msgid "Its revenue goes back to what each line has left to recognize."
msgstr "इसका राजस्व उस पर वापस जाता है जो प्रत्येक पंक्ति को मान्यता देने के लिए बाकी है।"
+msgid "Jack-o'-lantern"
+msgstr "जैक-ओ-लैंटर्न"
+
msgid "Job"
msgstr "Job"
@@ -12800,6 +12809,9 @@ msgstr "LIFO"
msgid "Light"
msgstr "हल्का"
+msgid "Light up"
+msgstr "जलाएँ"
+
msgid "Light, dark, or follow your system setting."
msgstr "हल्का, गहरा, या अपनी सिस्टम सेटिंग का पालन करें।"
@@ -17925,6 +17937,12 @@ msgstr "भुगतान का PV"
msgid "PV of Residual"
msgstr "अवशिष्ट का PV"
+msgid "QC"
+msgstr "QC"
+
+msgid "QC passed"
+msgstr "QC पास"
+
msgid "QR Code to complete the current operation for this kanban"
msgstr "इस कानबान के लिए वर्तमान ऑपरेशन पूर्ण करने के लिए QR कोड"
@@ -26065,6 +26083,9 @@ msgstr "चेतावनी दें जब आने वाली वस्
msgid "Warning"
msgstr "चेतावनी"
+msgid "Wash"
+msgstr "धुलाई"
+
msgid "Watch"
msgstr "देखें"
diff --git a/packages/locale/locales/hi/mes.po b/packages/locale/locales/hi/mes.po
index c67bb11dc2..22d2446938 100644
--- a/packages/locale/locales/hi/mes.po
+++ b/packages/locale/locales/hi/mes.po
@@ -110,6 +110,9 @@ msgstr "🚨 ध्यान दें: {0} को आपका खाता erp
msgid "A previous completion did not finish. Retrying resumes the remaining steps — quantities are not double-counted."
msgstr "एक पिछला समापन पूरा नहीं हुआ। पुनः प्रयास करने से शेष चरण जारी रहते हैं — मात्राएँ दोगुनी नहीं गिनी जाती हैं।"
+msgid "A seasonal theme is on for everyone today. You can pick yours again once it ends."
+msgstr "आज सभी के लिए एक मौसमी थीम लागू है। इसके समाप्त होने पर आप फिर से अपनी थीम चुन सकते हैं।"
+
msgid "About"
msgstr "के बारे में"
@@ -334,6 +337,9 @@ msgstr "कार्बन लोगो"
msgid "Cards"
msgstr "कार्ड"
+msgid "Carve"
+msgstr "नक्काशी"
+
msgid "Change"
msgstr "बदलें"
@@ -912,6 +918,9 @@ msgstr "आइटम मास्टर"
msgid "Items"
msgstr "आइटम"
+msgid "Jack-o'-lantern"
+msgstr "जैक-ओ-लैंटर्न"
+
msgid "Job"
msgstr "नौकरी"
@@ -966,6 +975,9 @@ msgstr "चलिए कुछ बनाते हैं"
msgid "Light"
msgstr "हल्का"
+msgid "Light up"
+msgstr "जलाएँ"
+
msgid "Light, dark, or follow your system setting."
msgstr "हल्का, गहरा, या अपनी सिस्टम सेटिंग का पालन करें।"
@@ -1542,6 +1554,12 @@ msgstr "प्रगति"
msgid "Purchasing"
msgstr "क्रय"
+msgid "QC"
+msgstr "QC"
+
+msgid "QC passed"
+msgstr "QC पास"
+
msgid "Quality"
msgstr "गुणवत्ता"
@@ -1604,6 +1622,9 @@ msgstr "अस्वीकार करें"
msgid "Reject Lot"
msgstr "लॉट अस्वीकार करें"
+msgid "Rejected"
+msgstr "अस्वीकृत"
+
msgid "Released"
msgstr "जारी"
@@ -2239,6 +2260,9 @@ msgstr "रखरखाव कार्य देखें"
msgid "View or open"
msgstr "देखें या खोलें"
+msgid "Wash"
+msgstr "धुलाई"
+
msgid "We've sent you a magic link to sign in to your account."
msgstr "हमने आपके खाते में साइन इन करने के लिए आपको एक जादुई लिंक भेजा है।"
diff --git a/packages/locale/locales/it/erp.po b/packages/locale/locales/it/erp.po
index e716117a39..291b79d1d0 100644
--- a/packages/locale/locales/it/erp.po
+++ b/packages/locale/locales/it/erp.po
@@ -1465,6 +1465,9 @@ msgstr "Un RFQ di vendita (un cliente ti chiede di quotare) o un RFQ di acquisto
msgid "A scoped secret sent on the carbon-key request header that authenticates programmatic calls to Carbon, carrying its own permissions and rate limit rather than a user session's."
msgstr "Un segreto con ambito inviato nell'intestazione della richiesta carbon-key che autentica le chiamate programmatiche a Carbon, portando le proprie autorizzazioni e limite di velocità invece della sessione utente."
+msgid "A seasonal theme is on for everyone today. You can pick yours again once it ends."
+msgstr "Oggi è attivo un tema stagionale per tutti. Al termine potrai scegliere di nuovo il tuo."
+
msgid "A separate schedule for tax reporting when tax rules require a method different from book depreciation."
msgstr "Un programma separato per la rendicontazione fiscale quando le norme fiscali richiedono un metodo diverso dall'ammortamento contabile."
@@ -4766,6 +4769,9 @@ msgstr "Vettore"
msgid "Carrier Account"
msgstr "Conto Vettore"
+msgid "Carve"
+msgstr "Intaglio"
+
msgid "Cash & Banking"
msgstr "Cassa e banche"
@@ -12271,6 +12277,9 @@ msgstr "Il suo design potrebbe cambiare prima che l'Avviso di modifica sia emess
msgid "Its revenue goes back to what each line has left to recognize."
msgstr "I suoi ricavi tornano a quello che rimane da riconoscere di ogni riga."
+msgid "Jack-o'-lantern"
+msgstr "Zucca di Halloween"
+
msgid "Job"
msgstr "Lavoro"
@@ -12800,6 +12809,9 @@ msgstr "LIFO"
msgid "Light"
msgstr "Chiaro"
+msgid "Light up"
+msgstr "Accensione"
+
msgid "Light, dark, or follow your system setting."
msgstr "Chiaro, scuro, o segui l'impostazione di sistema."
@@ -17925,6 +17937,12 @@ msgstr "VA dei pagamenti"
msgid "PV of Residual"
msgstr "VA residuale"
+msgid "QC"
+msgstr "CQ"
+
+msgid "QC passed"
+msgstr "CQ superato"
+
msgid "QR Code to complete the current operation for this kanban"
msgstr "QR Code per completare l'operazione corrente per questo kanban"
@@ -26065,6 +26083,9 @@ msgstr "Avvisa quando la persona che ispeziona un articolo in entrata è la stes
msgid "Warning"
msgstr "Avvertenza"
+msgid "Wash"
+msgstr "Lavaggio"
+
msgid "Watch"
msgstr "Guarda"
diff --git a/packages/locale/locales/it/mes.po b/packages/locale/locales/it/mes.po
index 179e2c5701..c58c3dff25 100644
--- a/packages/locale/locales/it/mes.po
+++ b/packages/locale/locales/it/mes.po
@@ -110,6 +110,9 @@ msgstr "🚨 Attenzione: il {0} il tuo account verrà trasferito su erp.try.carb
msgid "A previous completion did not finish. Retrying resumes the remaining steps — quantities are not double-counted."
msgstr "Un completamento precedente non è terminato. Riprovare riprende i passaggi rimanenti — le quantità non vengono conteggiate due volte."
+msgid "A seasonal theme is on for everyone today. You can pick yours again once it ends."
+msgstr "Oggi è attivo un tema stagionale per tutti. Al termine potrai scegliere di nuovo il tuo."
+
msgid "About"
msgstr "Informazioni"
@@ -334,6 +337,9 @@ msgstr "Logo Carbon"
msgid "Cards"
msgstr "Schede"
+msgid "Carve"
+msgstr "Intaglio"
+
msgid "Change"
msgstr "Cambia"
@@ -912,6 +918,9 @@ msgstr "Anagrafica Articolo"
msgid "Items"
msgstr "Articoli"
+msgid "Jack-o'-lantern"
+msgstr "Zucca di Halloween"
+
msgid "Job"
msgstr "Commessa"
@@ -966,6 +975,9 @@ msgstr "Costruiamo qualcosa"
msgid "Light"
msgstr "Chiaro"
+msgid "Light up"
+msgstr "Accensione"
+
msgid "Light, dark, or follow your system setting."
msgstr "Chiaro, scuro, o segui le impostazioni di sistema."
@@ -1542,6 +1554,12 @@ msgstr "Avanzamento"
msgid "Purchasing"
msgstr "Acquisti"
+msgid "QC"
+msgstr "CQ"
+
+msgid "QC passed"
+msgstr "CQ superato"
+
msgid "Quality"
msgstr "Qualità"
@@ -1604,6 +1622,9 @@ msgstr "Rifiuta"
msgid "Reject Lot"
msgstr "Rifiuta Lotto"
+msgid "Rejected"
+msgstr "Rifiutato"
+
msgid "Released"
msgstr "Rilasciato"
@@ -2239,6 +2260,9 @@ msgstr "Visualizza intervento di manutenzione"
msgid "View or open"
msgstr "Visualizza o apri"
+msgid "Wash"
+msgstr "Lavaggio"
+
msgid "We've sent you a magic link to sign in to your account."
msgstr "Ti abbiamo inviato un link di accesso al tuo account."
diff --git a/packages/locale/locales/ja/erp.po b/packages/locale/locales/ja/erp.po
index 6e32a86172..dff8666525 100644
--- a/packages/locale/locales/ja/erp.po
+++ b/packages/locale/locales/ja/erp.po
@@ -1465,6 +1465,9 @@ msgstr "売上見積依頼(得意先が見積をお願いする)または購
msgid "A scoped secret sent on the carbon-key request header that authenticates programmatic calls to Carbon, carrying its own permissions and rate limit rather than a user session's."
msgstr "carbon-key リクエスト ヘッダーで送信されるスコープ付きシークレット。Carbon へのプログラマティック呼び出しを認証し、ユーザー セッションではなく独自の権限とレート制限を保有します。"
+msgid "A seasonal theme is on for everyone today. You can pick yours again once it ends."
+msgstr "本日は全員に季節限定のテーマが適用されています。終了後に、もう一度ご自分のテーマを選べます。"
+
msgid "A separate schedule for tax reporting when tax rules require a method different from book depreciation."
msgstr "税務報告のための別のスケジュール。税務ルールが帳簿減価償却とは異なる方法を要求する場合。"
@@ -4766,6 +4769,9 @@ msgstr "運送業者"
msgid "Carrier Account"
msgstr "運送業者アカウント"
+msgid "Carve"
+msgstr "彫刻"
+
msgid "Cash & Banking"
msgstr "現金と銀行"
@@ -12271,6 +12277,9 @@ msgstr "変更通知のリリース前に、そのデザインが変わる可能
msgid "Its revenue goes back to what each line has left to recognize."
msgstr "その売上高は各明細が計上待ちしている金額に戻ります。"
+msgid "Jack-o'-lantern"
+msgstr "ジャック・オー・ランタン"
+
msgid "Job"
msgstr "ジョブ"
@@ -12800,6 +12809,9 @@ msgstr "後入先出"
msgid "Light"
msgstr "ライト"
+msgid "Light up"
+msgstr "点灯"
+
msgid "Light, dark, or follow your system setting."
msgstr "ライト、ダーク、またはシステム設定に従う。"
@@ -17925,6 +17937,12 @@ msgstr "支払のPV"
msgid "PV of Residual"
msgstr "残存価値のPV"
+msgid "QC"
+msgstr "品質検査"
+
+msgid "QC passed"
+msgstr "検査合格"
+
msgid "QR Code to complete the current operation for this kanban"
msgstr "このかんばんの現在の工程を完了するためのQRコード"
@@ -26065,6 +26083,9 @@ msgstr "受け取った人と同じ人が受け入れ品を検査する場合に
msgid "Warning"
msgstr "警告"
+msgid "Wash"
+msgstr "洗浄"
+
msgid "Watch"
msgstr "見る"
diff --git a/packages/locale/locales/ja/mes.po b/packages/locale/locales/ja/mes.po
index e89ee2f134..b325f09797 100644
--- a/packages/locale/locales/ja/mes.po
+++ b/packages/locale/locales/ja/mes.po
@@ -110,6 +110,9 @@ msgstr "🚨 お知らせ:{0}にアカウントが erp.try.carbon.ms に移行
msgid "A previous completion did not finish. Retrying resumes the remaining steps — quantities are not double-counted."
msgstr "前回の完了は終了しませんでした。再試行により残りのステップが再開されます。数量は二重計算されません。"
+msgid "A seasonal theme is on for everyone today. You can pick yours again once it ends."
+msgstr "本日は全員に季節限定のテーマが適用されています。終了後に、もう一度ご自分のテーマを選べます。"
+
msgid "About"
msgstr "バージョン情報"
@@ -334,6 +337,9 @@ msgstr "Carbonロゴ"
msgid "Cards"
msgstr "カード"
+msgid "Carve"
+msgstr "彫刻"
+
msgid "Change"
msgstr "変更"
@@ -912,6 +918,9 @@ msgstr "品目マスター"
msgid "Items"
msgstr "品目"
+msgid "Jack-o'-lantern"
+msgstr "ジャック・オー・ランタン"
+
msgid "Job"
msgstr "ジョブ"
@@ -966,6 +975,9 @@ msgstr "さあ、何かを作りましょう"
msgid "Light"
msgstr "ライト"
+msgid "Light up"
+msgstr "点灯"
+
msgid "Light, dark, or follow your system setting."
msgstr "ライト、ダーク、またはシステム設定に従う。"
@@ -1542,6 +1554,12 @@ msgstr "進捗"
msgid "Purchasing"
msgstr "購買"
+msgid "QC"
+msgstr "品質検査"
+
+msgid "QC passed"
+msgstr "検査合格"
+
msgid "Quality"
msgstr "品質"
@@ -1604,6 +1622,9 @@ msgstr "却下"
msgid "Reject Lot"
msgstr "ロットを却下"
+msgid "Rejected"
+msgstr "却下"
+
msgid "Released"
msgstr "リリース済"
@@ -2239,6 +2260,9 @@ msgstr "保全指示を表示"
msgid "View or open"
msgstr "表示または開く"
+msgid "Wash"
+msgstr "洗浄"
+
msgid "We've sent you a magic link to sign in to your account."
msgstr "アカウントにサインインするためのマジックリンクをお送りしました。"
diff --git a/packages/locale/locales/ko/erp.po b/packages/locale/locales/ko/erp.po
index 2e8c8291a7..235be22426 100644
--- a/packages/locale/locales/ko/erp.po
+++ b/packages/locale/locales/ko/erp.po
@@ -1465,6 +1465,9 @@ msgstr "영업 견적 요청(고객이 견적을 요청) 또는 구매 견적
msgid "A scoped secret sent on the carbon-key request header that authenticates programmatic calls to Carbon, carrying its own permissions and rate limit rather than a user session's."
msgstr "carbon-key 요청 헤더에서 전송되는 범위 제한 암호로서, Carbon에 대한 프로그래밍 방식 호출을 인증하며 사용자 세션의 권한이 아닌 자체 권한 및 속도 제한을 전달합니다."
+msgid "A seasonal theme is on for everyone today. You can pick yours again once it ends."
+msgstr "오늘은 모든 사용자에게 시즌 테마가 적용됩니다. 시즌이 끝나면 다시 원하는 테마를 선택할 수 있습니다."
+
msgid "A separate schedule for tax reporting when tax rules require a method different from book depreciation."
msgstr "세금 규칙이 장부 감가상각과 다른 방법을 요구할 때 세금 보고를 위한 별도의 일정입니다."
@@ -4766,6 +4769,9 @@ msgstr "운송업체"
msgid "Carrier Account"
msgstr "운송업체 계정"
+msgid "Carve"
+msgstr "조각"
+
msgid "Cash & Banking"
msgstr "현금 및 은행"
@@ -12271,6 +12277,9 @@ msgstr "변경 통지가 발행되기 전에 설계가 변경될 수 있습니
msgid "Its revenue goes back to what each line has left to recognize."
msgstr "그 매출은 각 라인이 인식해야 할 남은 부분으로 돌아갑니다."
+msgid "Jack-o'-lantern"
+msgstr "잭오랜턴"
+
msgid "Job"
msgstr "작업"
@@ -12800,6 +12809,9 @@ msgstr "후입선출"
msgid "Light"
msgstr "라이트"
+msgid "Light up"
+msgstr "점등"
+
msgid "Light, dark, or follow your system setting."
msgstr "밝음, 어두움 또는 시스템 설정 따르기"
@@ -17925,6 +17937,12 @@ msgstr "지불의 현재가치"
msgid "PV of Residual"
msgstr "잔존가치의 현재가치"
+msgid "QC"
+msgstr "품질 검사"
+
+msgid "QC passed"
+msgstr "검사 통과"
+
msgid "QR Code to complete the current operation for this kanban"
msgstr "이 칸반의 현재 공정을 완료 처리하기 위한 QR 코드"
@@ -26065,6 +26083,9 @@ msgstr "입고 품목을 검사하는 사람이 해당 품목을 입고 처리
msgid "Warning"
msgstr "경고"
+msgid "Wash"
+msgstr "세척"
+
msgid "Watch"
msgstr "시청"
diff --git a/packages/locale/locales/ko/mes.po b/packages/locale/locales/ko/mes.po
index 52e7e41553..f862ddc2b0 100644
--- a/packages/locale/locales/ko/mes.po
+++ b/packages/locale/locales/ko/mes.po
@@ -110,6 +110,9 @@ msgstr "🚨 안내: {0}에 계정이 erp.try.carbon.ms(으)로 이전됩니다"
msgid "A previous completion did not finish. Retrying resumes the remaining steps — quantities are not double-counted."
msgstr "이전 완료가 완료되지 않았습니다. 다시 시도하면 남은 단계가 재개되며 — 수량이 중복으로 계산되지 않습니다."
+msgid "A seasonal theme is on for everyone today. You can pick yours again once it ends."
+msgstr "오늘은 모든 사용자에게 시즌 테마가 적용됩니다. 시즌이 끝나면 다시 원하는 테마를 선택할 수 있습니다."
+
msgid "About"
msgstr "정보"
@@ -334,6 +337,9 @@ msgstr "Carbon 로고"
msgid "Cards"
msgstr "카드"
+msgid "Carve"
+msgstr "조각"
+
msgid "Change"
msgstr "변경"
@@ -912,6 +918,9 @@ msgstr "품목 마스터"
msgid "Items"
msgstr "품목"
+msgid "Jack-o'-lantern"
+msgstr "잭오랜턴"
+
msgid "Job"
msgstr "작업"
@@ -966,6 +975,9 @@ msgstr "무언가를 만들어봅시다"
msgid "Light"
msgstr "라이트"
+msgid "Light up"
+msgstr "점등"
+
msgid "Light, dark, or follow your system setting."
msgstr "밝음, 어두움 또는 시스템 설정 따르기"
@@ -1542,6 +1554,12 @@ msgstr "진행 상황"
msgid "Purchasing"
msgstr "구매"
+msgid "QC"
+msgstr "품질 검사"
+
+msgid "QC passed"
+msgstr "검사 통과"
+
msgid "Quality"
msgstr "품질"
@@ -1604,6 +1622,9 @@ msgstr "거부"
msgid "Reject Lot"
msgstr "로트 거부"
+msgid "Rejected"
+msgstr "반려됨"
+
msgid "Released"
msgstr "릴리스됨"
@@ -2239,6 +2260,9 @@ msgstr "유지보수 지시 보기"
msgid "View or open"
msgstr "보기 또는 열기"
+msgid "Wash"
+msgstr "세척"
+
msgid "We've sent you a magic link to sign in to your account."
msgstr "계정에 로그인할 수 있는 매직 링크를 보내드렸습니다."
diff --git a/packages/locale/locales/pl/erp.po b/packages/locale/locales/pl/erp.po
index c16d928bd0..d5dd8d16d9 100644
--- a/packages/locale/locales/pl/erp.po
+++ b/packages/locale/locales/pl/erp.po
@@ -1465,6 +1465,9 @@ msgstr "Zapytanie ofertowe do sprzedaży (klient prosi o ofertę) lub zapytanie
msgid "A scoped secret sent on the carbon-key request header that authenticates programmatic calls to Carbon, carrying its own permissions and rate limit rather than a user session's."
msgstr "Tajny klucz wysyłany w nagłówku żądania carbon-key, który uwierzytelnia programowe wywołania do Carbon, niosąc własne uprawnienia i limit szybkości zamiast sesji użytkownika."
+msgid "A seasonal theme is on for everyone today. You can pick yours again once it ends."
+msgstr "Dziś dla wszystkich obowiązuje motyw sezonowy. Gdy się skończy, możesz znów wybrać własny."
+
msgid "A separate schedule for tax reporting when tax rules require a method different from book depreciation."
msgstr "Oddzielny harmonogram dla raportowania podatkowego, gdy zasady podatkowe wymagają innej metody niż amortyzacja bilansowa."
@@ -4766,6 +4769,9 @@ msgstr "Przewoźnik"
msgid "Carrier Account"
msgstr "Konto przewoźnika"
+msgid "Carve"
+msgstr "Rzeźbienie"
+
msgid "Cash & Banking"
msgstr "Gotówka i Bankowość"
@@ -12271,6 +12277,9 @@ msgstr "Jego projekt może się zmienić przed wydaniem zawiadomienia o zmianie.
msgid "Its revenue goes back to what each line has left to recognize."
msgstr "Przychody ze sprzedaży powracają do tego, co każda pozycja ma jeszcze do rozpoznania."
+msgid "Jack-o'-lantern"
+msgstr "Dyniowy lampion"
+
msgid "Job"
msgstr "Zadanie"
@@ -12800,6 +12809,9 @@ msgstr "LIFO"
msgid "Light"
msgstr "Jasne"
+msgid "Light up"
+msgstr "Zapalanie"
+
msgid "Light, dark, or follow your system setting."
msgstr "Jasny, ciemny lub zgodnie z ustawieniami systemu."
@@ -17925,6 +17937,12 @@ msgstr "WO płatności"
msgid "PV of Residual"
msgstr "WO wartości resztkowej"
+msgid "QC"
+msgstr "KJ"
+
+msgid "QC passed"
+msgstr "KJ zaliczona"
+
msgid "QR Code to complete the current operation for this kanban"
msgstr "QR Code do zakończenia bieżącej operacji dla tego kanban"
@@ -26065,6 +26083,9 @@ msgstr "Ostrzegaj, gdy osoba sprawdzająca przychodzący towar jest tą samą os
msgid "Warning"
msgstr "Ostrzeżenie"
+msgid "Wash"
+msgstr "Mycie"
+
msgid "Watch"
msgstr "Obejrzyj"
diff --git a/packages/locale/locales/pl/mes.po b/packages/locale/locales/pl/mes.po
index d54ed76f14..719d635cd7 100644
--- a/packages/locale/locales/pl/mes.po
+++ b/packages/locale/locales/pl/mes.po
@@ -110,6 +110,9 @@ msgstr "🚨 Uwaga: {0} Twoje konto zostanie przeniesione na erp.try.carbon.ms"
msgid "A previous completion did not finish. Retrying resumes the remaining steps — quantities are not double-counted."
msgstr "Poprzednie zakończenie nie zostało ukończone. Ponowienie wznawia pozostałe kroki — ilości nie są liczone podwójnie."
+msgid "A seasonal theme is on for everyone today. You can pick yours again once it ends."
+msgstr "Dziś dla wszystkich obowiązuje motyw sezonowy. Gdy się skończy, możesz znów wybrać własny."
+
msgid "About"
msgstr "O programie"
@@ -334,6 +337,9 @@ msgstr "Logo Carbon"
msgid "Cards"
msgstr "Karty"
+msgid "Carve"
+msgstr "Rzeźbienie"
+
msgid "Change"
msgstr "Zmień"
@@ -912,6 +918,9 @@ msgstr "Kartoteka pozycji"
msgid "Items"
msgstr "Artykuły"
+msgid "Jack-o'-lantern"
+msgstr "Dyniowy lampion"
+
msgid "Job"
msgstr "Zlecenie"
@@ -966,6 +975,9 @@ msgstr "Zbudujmy coś"
msgid "Light"
msgstr "Jasny"
+msgid "Light up"
+msgstr "Zapalanie"
+
msgid "Light, dark, or follow your system setting."
msgstr "Jasno, ciemno, lub zgodnie z ustawieniami systemu."
@@ -1542,6 +1554,12 @@ msgstr "Postęp"
msgid "Purchasing"
msgstr "Zakupy"
+msgid "QC"
+msgstr "KJ"
+
+msgid "QC passed"
+msgstr "KJ zaliczona"
+
msgid "Quality"
msgstr "Jakość"
@@ -1604,6 +1622,9 @@ msgstr "Odrzuć"
msgid "Reject Lot"
msgstr "Odrzuć partię"
+msgid "Rejected"
+msgstr "Odrzucone"
+
msgid "Released"
msgstr "Zwolniono"
@@ -2239,6 +2260,9 @@ msgstr "Wyświetl zlecenie utrzymania ruchu"
msgid "View or open"
msgstr "Wyświetl lub otwórz"
+msgid "Wash"
+msgstr "Mycie"
+
msgid "We've sent you a magic link to sign in to your account."
msgstr "Wysłaliśmy Ci link do logowania na Twoje konto."
diff --git a/packages/locale/locales/pt/erp.po b/packages/locale/locales/pt/erp.po
index d523a4460f..2a771a8558 100644
--- a/packages/locale/locales/pt/erp.po
+++ b/packages/locale/locales/pt/erp.po
@@ -1465,6 +1465,9 @@ msgstr "Um RFQ de venda (um cliente pede para você fazer uma cotação) ou um R
msgid "A scoped secret sent on the carbon-key request header that authenticates programmatic calls to Carbon, carrying its own permissions and rate limit rather than a user session's."
msgstr "Um segredo com escopo enviado no cabeçalho de solicitação carbon-key que autentica chamadas programáticas ao Carbon, carregando suas próprias permissões e limite de taxa em vez de uma sessão do usuário."
+msgid "A seasonal theme is on for everyone today. You can pick yours again once it ends."
+msgstr "Hoje há um tema sazonal para todos. Você poderá escolher o seu novamente quando ele terminar."
+
msgid "A separate schedule for tax reporting when tax rules require a method different from book depreciation."
msgstr "Um cronograma separado para fins de declaração de impostos quando as regras fiscais exigem um método diferente da depreciação contábil."
@@ -4766,6 +4769,9 @@ msgstr "Transportadora"
msgid "Carrier Account"
msgstr "Conta da Transportadora"
+msgid "Carve"
+msgstr "Entalhe"
+
msgid "Cash & Banking"
msgstr "Caixa e Banco"
@@ -12271,6 +12277,9 @@ msgstr "Seu design pode mudar antes do aviso de alteração ser liberado."
msgid "Its revenue goes back to what each line has left to recognize."
msgstr "Sua receita volta para o que cada linha ainda precisa reconhecer."
+msgid "Jack-o'-lantern"
+msgstr "Abóbora de Halloween"
+
msgid "Job"
msgstr "Trabalho"
@@ -12800,6 +12809,9 @@ msgstr "LIFO"
msgid "Light"
msgstr "Claro"
+msgid "Light up"
+msgstr "Acender"
+
msgid "Light, dark, or follow your system setting."
msgstr "Claro, escuro ou seguir a configuração do sistema."
@@ -17925,6 +17937,12 @@ msgstr "VP de Pagamentos"
msgid "PV of Residual"
msgstr "VP de Residual"
+msgid "QC"
+msgstr "CQ"
+
+msgid "QC passed"
+msgstr "CQ aprovado"
+
msgid "QR Code to complete the current operation for this kanban"
msgstr "QR Code para concluir a operação atual para este kanban"
@@ -26065,6 +26083,9 @@ msgstr "Avisar quando a pessoa que inspeciona um item de entrada é a mesma pess
msgid "Warning"
msgstr "Aviso"
+msgid "Wash"
+msgstr "Lavagem"
+
msgid "Watch"
msgstr "Assistir"
diff --git a/packages/locale/locales/pt/mes.po b/packages/locale/locales/pt/mes.po
index 1e7ef77a5d..33dc067037 100644
--- a/packages/locale/locales/pt/mes.po
+++ b/packages/locale/locales/pt/mes.po
@@ -110,6 +110,9 @@ msgstr "🚨 Atenção: em {0}, sua conta será transferida para erp.try.carbon.
msgid "A previous completion did not finish. Retrying resumes the remaining steps — quantities are not double-counted."
msgstr "Uma conclusão anterior não foi concluída. Tentar novamente retoma as etapas restantes — as quantidades não são contadas duas vezes."
+msgid "A seasonal theme is on for everyone today. You can pick yours again once it ends."
+msgstr "Hoje há um tema sazonal para todos. Você poderá escolher o seu novamente quando ele terminar."
+
msgid "About"
msgstr "Sobre"
@@ -334,6 +337,9 @@ msgstr "Logo Carbon"
msgid "Cards"
msgstr "Cartões"
+msgid "Carve"
+msgstr "Entalhe"
+
msgid "Change"
msgstr "Alterar"
@@ -912,6 +918,9 @@ msgstr "Cadastro de Item"
msgid "Items"
msgstr "Itens"
+msgid "Jack-o'-lantern"
+msgstr "Abóbora de Halloween"
+
msgid "Job"
msgstr "Ordem"
@@ -966,6 +975,9 @@ msgstr "Vamos construir algo"
msgid "Light"
msgstr "Claro"
+msgid "Light up"
+msgstr "Acender"
+
msgid "Light, dark, or follow your system setting."
msgstr "Claro, escuro ou seguir a configuração do sistema."
@@ -1542,6 +1554,12 @@ msgstr "Progresso"
msgid "Purchasing"
msgstr "Compras"
+msgid "QC"
+msgstr "CQ"
+
+msgid "QC passed"
+msgstr "CQ aprovado"
+
msgid "Quality"
msgstr "Qualidade"
@@ -1604,6 +1622,9 @@ msgstr "Rejeitar"
msgid "Reject Lot"
msgstr "Rejeitar Lote"
+msgid "Rejected"
+msgstr "Rejeitado"
+
msgid "Released"
msgstr "Liberado"
@@ -2239,6 +2260,9 @@ msgstr "Visualizar ordem de manutenção"
msgid "View or open"
msgstr "Visualizar ou abrir"
+msgid "Wash"
+msgstr "Lavagem"
+
msgid "We've sent you a magic link to sign in to your account."
msgstr "Enviamos um link mágico para você entrar na sua conta."
diff --git a/packages/locale/locales/ru/erp.po b/packages/locale/locales/ru/erp.po
index 0863f8a8db..259213f222 100644
--- a/packages/locale/locales/ru/erp.po
+++ b/packages/locale/locales/ru/erp.po
@@ -1465,6 +1465,9 @@ msgstr "Запрос цен от продаж (покупатель просит
msgid "A scoped secret sent on the carbon-key request header that authenticates programmatic calls to Carbon, carrying its own permissions and rate limit rather than a user session's."
msgstr "Секретный ключ, отправляемый в заголовке запроса carbon-key, который аутентифицирует программные вызовы к Carbon, несущий свои собственные права доступа и лимит количества запросов вместо сессии пользователя."
+msgid "A seasonal theme is on for everyone today. You can pick yours again once it ends."
+msgstr "Сегодня у всех сезонная тема. Когда она закончится, вы снова сможете выбрать свою."
+
msgid "A separate schedule for tax reporting when tax rules require a method different from book depreciation."
msgstr "Отдельный график для налоговой отчетности, когда налоговые правила требуют метода, отличного от бухгалтерской амортизации."
@@ -4766,6 +4769,9 @@ msgstr "Перевозчик"
msgid "Carrier Account"
msgstr "Счет перевозчика"
+msgid "Carve"
+msgstr "Резьба"
+
msgid "Cash & Banking"
msgstr "Денежные средства и Банк"
@@ -12271,6 +12277,9 @@ msgstr "Его конструкция может измениться до вы
msgid "Its revenue goes back to what each line has left to recognize."
msgstr "Её выручка распределяется на оставшиеся к признанию суммы по каждой строке."
+msgid "Jack-o'-lantern"
+msgstr "Светильник Джека"
+
msgid "Job"
msgstr "Задание"
@@ -12800,6 +12809,9 @@ msgstr "ЛИФО"
msgid "Light"
msgstr "Светлая"
+msgid "Light up"
+msgstr "Зажечь"
+
msgid "Light, dark, or follow your system setting."
msgstr "Светлая, тёмная или следовать системным параметрам."
@@ -17925,6 +17937,12 @@ msgstr "ТС платежей"
msgid "PV of Residual"
msgstr "ТС остатка"
+msgid "QC"
+msgstr "ОТК"
+
+msgid "QC passed"
+msgstr "ОТК пройден"
+
msgid "QR Code to complete the current operation for this kanban"
msgstr "QR-код для завершения текущей операции для этого канбана"
@@ -26065,6 +26083,9 @@ msgstr "Предупреждать, когда лицо, проверяющее
msgid "Warning"
msgstr "Предупреждение"
+msgid "Wash"
+msgstr "Мойка"
+
msgid "Watch"
msgstr "Смотреть"
diff --git a/packages/locale/locales/ru/mes.po b/packages/locale/locales/ru/mes.po
index 04631bc819..b3d6333432 100644
--- a/packages/locale/locales/ru/mes.po
+++ b/packages/locale/locales/ru/mes.po
@@ -110,6 +110,9 @@ msgstr "🚨 Внимание: {0} ваша учётная запись буде
msgid "A previous completion did not finish. Retrying resumes the remaining steps — quantities are not double-counted."
msgstr "Предыдущее выполнение не завершилось. Повторное выполнение возобновляет оставшиеся шаги — количество не учитывается дважды."
+msgid "A seasonal theme is on for everyone today. You can pick yours again once it ends."
+msgstr "Сегодня у всех сезонная тема. Когда она закончится, вы снова сможете выбрать свою."
+
msgid "About"
msgstr "О системе"
@@ -334,6 +337,9 @@ msgstr "Логотип Carbon"
msgid "Cards"
msgstr "Карточки"
+msgid "Carve"
+msgstr "Резьба"
+
msgid "Change"
msgstr "Изменить"
@@ -912,6 +918,9 @@ msgstr "Карточка номенклатуры"
msgid "Items"
msgstr "Номенклатура"
+msgid "Jack-o'-lantern"
+msgstr "Светильник Джека"
+
msgid "Job"
msgstr "Задание"
@@ -966,6 +975,9 @@ msgstr "Давайте создадим что-то"
msgid "Light"
msgstr "Светлый"
+msgid "Light up"
+msgstr "Зажечь"
+
msgid "Light, dark, or follow your system setting."
msgstr "Светлая, тёмная или согласно параметрам системы."
@@ -1542,6 +1554,12 @@ msgstr "Прогресс"
msgid "Purchasing"
msgstr "Закупки"
+msgid "QC"
+msgstr "ОТК"
+
+msgid "QC passed"
+msgstr "ОТК пройден"
+
msgid "Quality"
msgstr "Качество"
@@ -1604,6 +1622,9 @@ msgstr "Отклонить"
msgid "Reject Lot"
msgstr "Отклонить партию"
+msgid "Rejected"
+msgstr "Отклонено"
+
msgid "Released"
msgstr "Запущено"
@@ -2239,6 +2260,9 @@ msgstr "Просмотреть заявку на техобслуживание"
msgid "View or open"
msgstr "Просмотр или открытие"
+msgid "Wash"
+msgstr "Мойка"
+
msgid "We've sent you a magic link to sign in to your account."
msgstr "Мы отправили вам ссылку для входа в ваш аккаунт."
diff --git a/packages/locale/locales/tr/erp.po b/packages/locale/locales/tr/erp.po
index 3ce6317364..6042a69fba 100644
--- a/packages/locale/locales/tr/erp.po
+++ b/packages/locale/locales/tr/erp.po
@@ -1465,6 +1465,9 @@ msgstr "Bir satış RFQ (müşteri sizi alıntı yapmak için ister) veya satın
msgid "A scoped secret sent on the carbon-key request header that authenticates programmatic calls to Carbon, carrying its own permissions and rate limit rather than a user session's."
msgstr "Carbon'a programlı çağrıları doğrulayan carbon-key istek başlığında gönderilen kapsamlı bir gizli anahtar; bir kullanıcı oturumunun yerine kendi izinleri ve hız sınırını taşır."
+msgid "A seasonal theme is on for everyone today. You can pick yours again once it ends."
+msgstr "Bugün herkes için mevsimlik bir tema açık. Sona erdiğinde kendi temanızı yeniden seçebilirsiniz."
+
msgid "A separate schedule for tax reporting when tax rules require a method different from book depreciation."
msgstr "Vergi kuralları defter amortismanından farklı bir yöntem gerektirdiğinde vergi raporlaması için ayrı bir zaman çizelgesi."
@@ -4766,6 +4769,9 @@ msgstr "Nakliyeci"
msgid "Carrier Account"
msgstr "Nakliyeci Hesabı"
+msgid "Carve"
+msgstr "Oyma"
+
msgid "Cash & Banking"
msgstr "Nakit ve Bankacılık"
@@ -12271,6 +12277,9 @@ msgstr "Tasarımı, değişiklik bildirisi yayınlanmadan önce değişebilir."
msgid "Its revenue goes back to what each line has left to recognize."
msgstr "Hasılat, her satırın tanıması gereken kalanına geri döner."
+msgid "Jack-o'-lantern"
+msgstr "Bal kabağı feneri"
+
msgid "Job"
msgstr "İş"
@@ -12800,6 +12809,9 @@ msgstr "LIFO"
msgid "Light"
msgstr "Aydınlık"
+msgid "Light up"
+msgstr "Yakma"
+
msgid "Light, dark, or follow your system setting."
msgstr "Açık, Koyu veya sistem ayarınız."
@@ -17925,6 +17937,12 @@ msgstr "Ödemelerin BDH"
msgid "PV of Residual"
msgstr "Kalıntıların BDH"
+msgid "QC"
+msgstr "KK"
+
+msgid "QC passed"
+msgstr "KK geçti"
+
msgid "QR Code to complete the current operation for this kanban"
msgstr "Bu kanban için geçerli operasyonu tamamlamak için QR Kodu"
@@ -26065,6 +26083,9 @@ msgstr "Gelen bir ürünü kontrol eden kişinin, onu alan kişiyle aynı olmas
msgid "Warning"
msgstr "Uyarı"
+msgid "Wash"
+msgstr "Yıkama"
+
msgid "Watch"
msgstr "İzle"
diff --git a/packages/locale/locales/tr/mes.po b/packages/locale/locales/tr/mes.po
index c67d10c95a..0dbec3ec74 100644
--- a/packages/locale/locales/tr/mes.po
+++ b/packages/locale/locales/tr/mes.po
@@ -110,6 +110,9 @@ msgstr "🚨 Dikkat: {0} tarihinde hesabınız erp.try.carbon.ms adresine taşı
msgid "A previous completion did not finish. Retrying resumes the remaining steps — quantities are not double-counted."
msgstr "Önceki bir tamamlanma işlemi bitmedi. Yeniden deneme kalan adımları devam ettirir — miktarlar çifte sayılmaz."
+msgid "A seasonal theme is on for everyone today. You can pick yours again once it ends."
+msgstr "Bugün herkes için mevsimlik bir tema açık. Sona erdiğinde kendi temanızı yeniden seçebilirsiniz."
+
msgid "About"
msgstr "Hakkında"
@@ -334,6 +337,9 @@ msgstr "Carbon Logosu"
msgid "Cards"
msgstr "Kartlar"
+msgid "Carve"
+msgstr "Oyma"
+
msgid "Change"
msgstr "Değiştir"
@@ -912,6 +918,9 @@ msgstr "Ürün Ana Veri"
msgid "Items"
msgstr "Stok kartları"
+msgid "Jack-o'-lantern"
+msgstr "Bal kabağı feneri"
+
msgid "Job"
msgstr "İş Emri"
@@ -966,6 +975,9 @@ msgstr "Bir şeyler inşa edelim"
msgid "Light"
msgstr "Açık"
+msgid "Light up"
+msgstr "Yakma"
+
msgid "Light, dark, or follow your system setting."
msgstr "Açık, koyu veya sistem ayarınızı takip edin."
@@ -1542,6 +1554,12 @@ msgstr "İlerleme"
msgid "Purchasing"
msgstr "Satın alma"
+msgid "QC"
+msgstr "KK"
+
+msgid "QC passed"
+msgstr "KK geçti"
+
msgid "Quality"
msgstr "Kalite"
@@ -1604,6 +1622,9 @@ msgstr "Reddet"
msgid "Reject Lot"
msgstr "Lotu Reddet"
+msgid "Rejected"
+msgstr "Reddedilmiş"
+
msgid "Released"
msgstr "Serbest bırakıldı"
@@ -2239,6 +2260,9 @@ msgstr "Bakım emrini Görüntüle"
msgid "View or open"
msgstr "Görüntüle veya aç"
+msgid "Wash"
+msgstr "Yıkama"
+
msgid "We've sent you a magic link to sign in to your account."
msgstr "Hesabınıza giriş yapmak için size bir sihirli bağlantı gönderdik."
diff --git a/packages/locale/locales/zh/erp.po b/packages/locale/locales/zh/erp.po
index 205207daa3..37f16d3cbc 100644
--- a/packages/locale/locales/zh/erp.po
+++ b/packages/locale/locales/zh/erp.po
@@ -1465,6 +1465,9 @@ msgstr "销售RFQ(客户要求您报价)或采购RFQ(您要求供应商)
msgid "A scoped secret sent on the carbon-key request header that authenticates programmatic calls to Carbon, carrying its own permissions and rate limit rather than a user session's."
msgstr "在 carbon-key 请求标头上发送的范围内秘密,用于验证对 Carbon 的编程调用,携带自己的权限和速率限制,而不是用户会话的。"
+msgid "A seasonal theme is on for everyone today. You can pick yours again once it ends."
+msgstr "今天所有人都在使用季节主题。主题结束后,你可以重新选择自己的主题。"
+
msgid "A separate schedule for tax reporting when tax rules require a method different from book depreciation."
msgstr "当税收规则要求与账面折旧不同的方法时,用于税收报告的单独税收折旧方案。"
@@ -4766,6 +4769,9 @@ msgstr "承运商"
msgid "Carrier Account"
msgstr "承运商账户"
+msgid "Carve"
+msgstr "雕刻"
+
msgid "Cash & Banking"
msgstr "现金和银行"
@@ -12271,6 +12277,9 @@ msgstr "在变更通知下达前,其设计可能会改变。"
msgid "Its revenue goes back to what each line has left to recognize."
msgstr "其收入返还到每一行剩余待确认的部分。"
+msgid "Jack-o'-lantern"
+msgstr "南瓜灯"
+
msgid "Job"
msgstr "工作"
@@ -12800,6 +12809,9 @@ msgstr "后进先出"
msgid "Light"
msgstr "浅色"
+msgid "Light up"
+msgstr "点亮"
+
msgid "Light, dark, or follow your system setting."
msgstr "浅色、深色或跟随系统设置"
@@ -17925,6 +17937,12 @@ msgstr "付款现值"
msgid "PV of Residual"
msgstr "残值现值"
+msgid "QC"
+msgstr "质检"
+
+msgid "QC passed"
+msgstr "质检通过"
+
msgid "QR Code to complete the current operation for this kanban"
msgstr "为此看板完成当前工序的QR代码"
@@ -26065,6 +26083,9 @@ msgstr "当检验入库物料的人与收货人相同时发出警告。"
msgid "Warning"
msgstr "警告"
+msgid "Wash"
+msgstr "清洗"
+
msgid "Watch"
msgstr "观看"
diff --git a/packages/locale/locales/zh/mes.po b/packages/locale/locales/zh/mes.po
index 31e41c79c6..598353b98d 100644
--- a/packages/locale/locales/zh/mes.po
+++ b/packages/locale/locales/zh/mes.po
@@ -110,6 +110,9 @@ msgstr "🚨 提醒:您的账户将于 {0} 迁移至 erp.try.carbon.ms"
msgid "A previous completion did not finish. Retrying resumes the remaining steps — quantities are not double-counted."
msgstr "之前的完成未完成。重试会恢复剩余步骤 — 数量不会重复计数。"
+msgid "A seasonal theme is on for everyone today. You can pick yours again once it ends."
+msgstr "今天所有人都在使用季节主题。主题结束后,你可以重新选择自己的主题。"
+
msgid "About"
msgstr "关于"
@@ -334,6 +337,9 @@ msgstr "Carbon 标志"
msgid "Cards"
msgstr "卡片"
+msgid "Carve"
+msgstr "雕刻"
+
msgid "Change"
msgstr "更改"
@@ -912,6 +918,9 @@ msgstr "物料主数据"
msgid "Items"
msgstr "物料"
+msgid "Jack-o'-lantern"
+msgstr "南瓜灯"
+
msgid "Job"
msgstr "工单"
@@ -966,6 +975,9 @@ msgstr "让我们开始构建"
msgid "Light"
msgstr "浅色"
+msgid "Light up"
+msgstr "点亮"
+
msgid "Light, dark, or follow your system setting."
msgstr "浅色、深色或跟随系统设置。"
@@ -1542,6 +1554,12 @@ msgstr "进度"
msgid "Purchasing"
msgstr "采购"
+msgid "QC"
+msgstr "质检"
+
+msgid "QC passed"
+msgstr "质检通过"
+
msgid "Quality"
msgstr "质量"
@@ -1604,6 +1622,9 @@ msgstr "拒绝"
msgid "Reject Lot"
msgstr "拒绝批次"
+msgid "Rejected"
+msgstr "已拒绝"
+
msgid "Released"
msgstr "已下达"
@@ -2239,6 +2260,9 @@ msgstr "查看维护工单"
msgid "View or open"
msgstr "查看或打开"
+msgid "Wash"
+msgstr "清洗"
+
msgid "We've sent you a magic link to sign in to your account."
msgstr "我们已向您发送了登录链接,请查收。"
diff --git a/packages/react/src/SeasonalTheme.tsx b/packages/react/src/SeasonalTheme.tsx
new file mode 100644
index 0000000000..b9f3bccca9
--- /dev/null
+++ b/packages/react/src/SeasonalTheme.tsx
@@ -0,0 +1,32 @@
+// SPDX-License-Identifier: AGPL-3.0-only
+// Carbon (github.com/crbnos/carbon). Modified or adapted versions of this file,
+// including ports, remain AGPLv3; serving them over a network requires releasing their source.
+
+import { isSeasonalTheme } from "@carbon/utils";
+import { Trans } from "@lingui/react/macro";
+import { useRouteData } from "./hooks/useRouteData";
+import { cn } from "./utils/cn";
+
+/**
+ * Whether a seasonal theme is on (the root loader rendered one). The theme
+ * pickers are disabled while it is: a pick would not show until the season
+ * ends.
+ */
+export function useSeasonalTheme() {
+ const root = useRouteData<{ theme?: string }>("/");
+ return isSeasonalTheme(root?.theme);
+}
+
+/** Why a theme picker is disabled; nothing outside a season. */
+export function SeasonalThemeNotice({ className }: { className?: string }) {
+ const seasonal = useSeasonalTheme();
+ if (!seasonal) return null;
+ return (
+ <p className={cn("text-xs text-muted-foreground text-pretty", className)}>
+ <Trans>
+ A seasonal theme is on for everyone today. You can pick yours again once
+ it ends.
+ </Trans>
+ </p>
+ );
+}
diff --git a/packages/react/src/index.tsx b/packages/react/src/index.tsx
index 851aed9b84..12675824c7 100644
--- a/packages/react/src/index.tsx
+++ b/packages/react/src/index.tsx
@@ -315,6 +315,7 @@ import {
ResizablePanelGroup
} from "./Resizable";
import { ScrollArea, ScrollBar } from "./ScrollArea";
+import { SeasonalThemeNotice, useSeasonalTheme } from "./SeasonalTheme";
import {
Select,
SelectContent,
@@ -699,6 +700,7 @@ export {
reactNodeToString,
ScrollArea,
ScrollBar,
+ SeasonalThemeNotice,
Select,
SelectContent,
SelectGroup,
@@ -782,6 +784,7 @@ export {
useModalDrawerType,
useOperatingSystem,
usePickOrderOptions,
+ useSeasonalTheme,
useShortcutKeyMap,
useSidebar,
useViewport,
diff --git a/packages/utils/AGENTS.md b/packages/utils/AGENTS.md
index a4d1ecab7f..0065799608 100644
--- a/packages/utils/AGENTS.md
+++ b/packages/utils/AGENTS.md
@@ -64,7 +64,7 @@ pnpm --filter @carbon/utils typecheck
| `planning-sizing` | `computePlanningOrders` — reorder-quantity sizing for the four reordering policies (`ComputePlanningOrdersInput` — `{ reorderingPolicy, periods, projections, todayDate, params: PlanningSizingParams }` — in, `PlanningOrderSuggestion[]` out). Pure and clock-free (`todayDate` is injected). Also `orderSizingRules(policyName, params)` — how ONE order of a policy is sized (per-order quantity, daily vs spread, maximum, minimum, multiples) — shared by MRP's change actions and the planning pages: `splitIntoOrders` (a week's summed action back into its orders; `lotSizeBatches` is the batch case) and `reducedOrderQuantity` (a Decrease's floor and multiples). Shared by the MRP engine and the item planning tab's `ItemReorderPolicy`, so both size an order the same way; `planning-sizing.test.ts` pins it against hand-computed results of the SQL `calculate_quantity_to_order` |
| `precision` | The whole numeric-precision API (re-exported from `@carbon/database/precision`): `SCALE`, `EPSILON`, `RoundingMode`, `round`, `distributeRoundingResidual`, `scrapAllowance`, `applyRate`, `deriveRate`, `isBalanced`, `assertBalanced` |
| `format` | The ONLY place display/input digit counts are chosen: `moneyFormatOptions` (settlement — the currency's decimals are floor AND ceiling), `rateFormatOptions` (per-unit RATE — those decimals are only the floor, ceiling is `SCALE`), the `PERCENT_FORMAT` / `PERCENT_POINTS_FORMAT` / `SCALE_FORMAT` constants, `cldrCurrencyDecimals`, their `format*` helpers, and `INPUT_FORMAT` / `INPUT_STEP` for editable fields. Call sites pick a KIND, never a digit count |
-| `themes` | The everyday `themes` (every picker lists them, and only them) and `seasonalThemes` (each in its own file, e.g. `halloween-theme.ts`, typed `SeasonalTheme`: an `available` window and optionally its own `mesh` colors). In season a seasonal theme replaces every theme for everyone; no one can pick it. `resolveTheme` (what to render for a stored name, falling back to `DEFAULT_THEME_NAME`), `isInSeason`, `seasonalMeshColors`. A seasonal theme declares everything about itself, so removing it touches no caller |
+| `themes` | The everyday `themes` (every picker lists them, and only them) and `seasonalThemes` (each in its own file, e.g. `halloween-theme.ts`, typed `SeasonalTheme`: an `available` window). Every theme carries its `mesh` colors. In season a seasonal theme replaces every theme for everyone; no one can pick it. `resolveTheme` (what to render for a stored name), `storedTheme` (the user's own pick, whatever is in season, falling back to `DEFAULT_THEME_NAME`), `themeByName` (any theme by name, for rendering a name already resolved), `isSeasonalTheme`, `isInSeason`. A seasonal theme declares everything about itself, so removing it touches no caller |
| `string` | Slugify, truncate, camelCase/titleCase conversions |
| `items` | Item lookups and `getReadableIdWithRevision` (`readableId.revision`) |
| `revalidate` | `shouldRevalidate` predicates: `isSearchParamOnlyNavigation` (the root loader only; layouts do not skip their loaders, see `coding-conventions.md` → Routes) |
diff --git a/packages/utils/src/themes.test.ts b/packages/utils/src/themes.test.ts
index d50ac586a9..413022dd81 100644
--- a/packages/utils/src/themes.test.ts
+++ b/packages/utils/src/themes.test.ts
@@ -10,11 +10,13 @@ import { afterEach, describe, expect, it, vi } from "vitest";
import {
DEFAULT_THEME_NAME,
isInSeason,
+ isSeasonalTheme,
resolveTheme,
type SeasonalTheme,
- seasonalMeshColors,
seasonalThemes,
+ storedTheme,
type ThemeWindow,
+ themeByName,
themes
} from "./themes";
import { themeColorValidator } from "./types";
@@ -77,6 +79,9 @@ describe("resolveTheme on an ordinary day", () => {
it("returns the stored theme", () => {
expect(resolveTheme("violet", ordinaryDay).name).toBe("violet");
+ expect(storedTheme("violet").name).toBe("violet");
+ expect(themeByName("violet").name).toBe("violet");
+ expect(isSeasonalTheme("violet")).toBe(false);
});
it("falls back to the default for a removed or missing theme", () => {
@@ -114,8 +119,10 @@ for (const theme of seasonal) {
expect(resolveTheme(theme.name, dayAfter).name).toBe(DEFAULT_THEME_NAME);
});
- it("brings its own mesh colors", () => {
- expect(seasonalMeshColors(theme.name)).toEqual(theme.mesh);
+ it("is never a stored pick, but renders by name", () => {
+ expect(isSeasonalTheme(theme.name)).toBe(true);
+ expect(storedTheme(theme.name).name).toBe(DEFAULT_THEME_NAME);
+ expect(themeByName(theme.name).name).toBe(theme.name);
});
});
}
diff --git a/packages/utils/src/themes.ts b/packages/utils/src/themes.ts
index e82a6ea95e..041f4bc18f 100644
--- a/packages/utils/src/themes.ts
+++ b/packages/utils/src/themes.ts
@@ -12,6 +12,10 @@ export const themes = [
{
name: "zinc",
label: "Modern",
+ mesh: {
+ light: ["#edecef", "#f4f4f6", "#fafafb", "#f0eff2"],
+ dark: ["#18181b", "#000000", "#0D0D0D", "#050505"]
+ },
activeColor: {
light: "220 5.9% 2%",
dark: "220 5.2% 33.9%"
@@ -73,6 +77,10 @@ export const themes = [
{
name: "neutral",
label: "Brutal",
+ mesh: {
+ light: ["#eeece9", "#f4f3f1", "#faf9f8", "#f1efed"],
+ dark: ["#1c1917", "#000000", "#0D0D0D", "#050505"]
+ },
activeColor: {
light: "0 0% 45.1%",
dark: "0 0% 32.2%"
@@ -133,6 +141,10 @@ export const themes = [
{
name: "red",
label: "Cherry",
+ mesh: {
+ light: ["#fdf0f1", "#fdf6f6", "#fffafa", "#fdf3f3"],
+ dark: ["#2d0a0a", "#000000", "#0D0D0D", "#050505"]
+ },
activeColor: {
light: "0 72.2% 50.6%",
dark: "0 72.2% 50.6%"
@@ -193,6 +205,10 @@ export const themes = [
{
name: "orange",
label: "Apricot",
+ mesh: {
+ light: ["#fdf4e9", "#fdf8f1", "#fffbf6", "#fdf6ed"],
+ dark: ["#2d1a0a", "#000000", "#0D0D0D", "#050505"]
+ },
activeColor: {
light: "17 96% 57%",
dark: "17 96% 57%"
@@ -253,6 +269,10 @@ export const themes = [
{
name: "yellow",
label: "Lemon",
+ mesh: {
+ light: ["#fdf8e2", "#fdfaec", "#fffdf4", "#fdf9e7"],
+ dark: ["#2d2a0a", "#000000", "#0D0D0D", "#050505"]
+ },
activeColor: {
light: "65 95.8% 53.1%",
dark: "65 100% 50%"
@@ -315,6 +335,10 @@ export const themes = [
{
name: "green",
label: "Mint",
+ mesh: {
+ light: ["#e9fbf2", "#f0fcf6", "#f6fdf9", "#edfcf4"],
+ dark: ["#023225", "#000000", "#0D0D0D", "#050505"]
+ },
activeColor: {
light: "171 62% 41%",
dark: "171 98% 59%"
@@ -375,6 +399,10 @@ export const themes = [
{
name: "blue",
label: "Blueberry",
+ mesh: {
+ light: ["#eef3fd", "#f5f8fe", "#fcfdfe", "#f1f5fd"],
+ dark: ["#0a1a2d", "#000000", "#0D0D0D", "#050505"]
+ },
activeColor: {
light: "237 57% 30%",
dark: "216 98% 52%"
@@ -435,6 +463,10 @@ export const themes = [
{
name: "violet",
label: "Lavender",
+ mesh: {
+ light: ["#f3f0fe", "#f7f5fe", "#fbfaff", "#f5f2fe"],
+ dark: ["#1e0a2d", "#000000", "#0D0D0D", "#050505"]
+ },
activeColor: {
light: "238 57% 50%",
dark: "253.4 70% 40.4%"
@@ -520,29 +552,23 @@ export type SeasonalTheme = {
label: string;
/** When it is on. The only switch: no flag, no deploy on the day. */
available: ThemeWindow;
- /** Its mesh-gradient colors (`seasonalMeshColors`). */
- mesh?: MeshColors;
+ mesh: MeshColors;
activeColor: { light: string; dark: string };
cssVars: { light: Record<string, string>; dark: Record<string, string> };
};
-export const seasonalThemes = [halloweenTheme] as const;
-
-// The same list, typed by what a seasonal theme may declare; still compiles
-// when the list is empty.
-const seasonal: readonly SeasonalTheme[] = seasonalThemes;
+export const seasonalThemes = [
+ halloweenTheme
+] as const satisfies readonly SeasonalTheme[];
const allThemes = [...themes, ...seasonalThemes] as const;
export type Theme = (typeof allThemes)[number];
export type ThemeName = Theme["name"];
-export const DEFAULT_THEME_NAME = "zinc" satisfies ThemeName;
-
-// Fails to compile if the first theme stops being the default.
-const defaultTheme: Theme = themes[0] satisfies {
- name: typeof DEFAULT_THEME_NAME;
-};
+/** The first everyday theme is the default. */
+const defaultTheme: Theme = themes[0];
+export const DEFAULT_THEME_NAME = themes[0].name;
function dayOfYear({ month, day }: MonthDay) {
return month * 100 + day;
@@ -580,28 +606,47 @@ export function isInSeason(
/** The seasonal theme on now, if any. */
function seasonalThemeNow(date?: CalendarDate): Theme | undefined {
- const now = seasonal.find((theme) => isInSeason(theme, date));
- return now && allThemes.find((theme) => theme.name === now.name);
+ return seasonalThemes.find((theme) => isInSeason(theme, date));
+}
+
+/**
+ * The everyday theme a stored name picks, whatever is in season: what a
+ * picker shows as chosen and saves. An unknown name (a theme since removed,
+ * or a seasonal one) falls back to the default, so removing a theme never
+ * breaks a browser that still holds its cookie.
+ */
+export function storedTheme(name: string | null | undefined): Theme {
+ return themes.find((candidate) => candidate.name === name) ?? defaultTheme;
}
/**
* The theme to render for a stored name: a seasonal theme in season, for
- * everyone; otherwise the stored everyday theme. An unknown name (a theme
- * since removed, or a seasonal one) falls back to the default, so removing a
- * theme never breaks a browser that still holds its cookie.
+ * everyone; otherwise the stored everyday theme (`storedTheme`).
*/
export function resolveTheme(
name: string | null | undefined,
date?: CalendarDate
): Theme {
- const season = seasonalThemeNow(date);
- if (season) return season;
- return themes.find((candidate) => candidate.name === name) ?? defaultTheme;
+ return seasonalThemeNow(date) ?? storedTheme(name);
}
-/** A seasonal theme's mesh-gradient colors, if it declares them. */
-export function seasonalMeshColors(name: string): MeshColors | undefined {
- return seasonal.find((theme) => theme.name === name)?.mesh;
+/**
+ * Any theme by name, seasonal ones included, else the default: the root
+ * `Document` renders the name its loader already resolved, without deciding
+ * the season again.
+ */
+export function themeByName(name: string | null | undefined): Theme {
+ return allThemes.find((theme) => theme.name === name) ?? defaultTheme;
+}
+
+/**
+ * Whether a name is a seasonal theme. While the root loader's theme is one,
+ * the pickers are disabled: whatever they saved would not show until the
+ * season ends.
+ */
+export function isSeasonalTheme(name: string | null | undefined) {
+ // Typed, so it still compiles once the list is empty.
+ return seasonalThemes.some((theme: SeasonalTheme) => theme.name === name);
}
export const BASE_THEME_WITH_VARIABLES = `