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.
TypeScript ai-agentsbill-of-materialserpinventory-managementleanmanufacturingmanufacturing-execution-systemmcp-servermesmrpopen-source-erppostgresqlproduction-planningqmsquality-management-systemreact-routerself-hostedsupabasetraceabilitytypescript
Account settings modal shared by the ERP, MES and starter (+ phone dock) (#1892)
Brad Barbin05d4701ef27d
diff --git a/.ai/plans/2026-10-09-account-settings-package.md b/.ai/plans/2026-10-09-account-settings-package.mdnew file mode 100644index 0000000000..1a8b8b20e4--- /dev/null+++ b/.ai/plans/2026-10-09-account-settings-package.md@@ -0,0 +1,36 @@+# Account settings as a shared package (`@carbon/account`)++The ERP's account settings modal (Profile, Notifications, Security) moves into a+package so the MES and the starter app open the same modal.++## Decisions (from the user)++- A new package, shaped like `@carbon/onboarding` — not `@carbon/react`, which+ cannot import `@carbon/form` (form depends on react).+- All three panes in every app.+- The MES and the starter use the ERP's loaders and actions — through the MES's+ existing `/x/proxy/*` route (extended to GET), and a matching proxy route in+ the starter. No auth API is ported.++## Shape++- `@carbon/account` → tab constants, `accountProfileValidator`, `Account`,+ the zustand store (`useAccountSettings`: open/close/tab).+- `@carbon/account/ui` → `AccountSettings` (host + modal), the panes, the+ section layout, `ProfileForm`, `TotpEnrollment` pieces.+- Per-app props: `user`, `companyId`, `api` (`/api` in the ERP,+ `/x/proxy/api` elsewhere), optional `renderBrowserNotifications` (ERP only:+ the push service worker is the ERP's) and `twoFactor` gate (ERP only: plan+ gate + upgrade dialog).+- `ColorPicker` moves to `@carbon/react` (the avatar picker needs it; the ERP+ keeps a re-export).++## Tasks++- [x] Create `packages/account` (package.json, tsconfig, AGENTS.md, CLAUDE.md).+- [x] Move panes/forms/TOTP pieces/store/models from the ERP into it; ERP files become imports or re-exports.+- [x] ERP: mount from the package; avatar menu + profile sheet open the package store; person page uses the package `ProfileForm`.+- [x] MES: proxy GET; mount the modal; UserNav + MoreSheet open it; MFA gate links to the ERP security pane.+- [x] Starter: proxy route, QueryClient + invalidation, Lingui provider (erp catalog), mount, avatar menu opens it.+- [x] Lingui: add `packages/account/src` to the erp and mes catalogs.+- [x] Verify: typecheck erp/mes/starter/account, Biome, tests, license headers. (Browser check pending — dev servers were down.)diff --git a/.ai/playbooks/account-settings-modal.md b/.ai/playbooks/account-settings-modal.mdnew file mode 100644index 0000000000..c229c2ff8d--- /dev/null+++ b/.ai/playbooks/account-settings-modal.md@@ -0,0 +1,34 @@+# Account Settings Modal (ERP + MES)++Last tested: 2026-10-09+Route: any `/x` page (ERP and MES); deep link `?account=<profile|notifications|security>`++## Prerequisites+- Logged in via `/auth` ([email protected]). The MES shares the cookie — open `MES_URL/x`, no second login.++## Steps+### 1. Open+- ERP: click the top-bar avatar button (accessible name = the user's full name, e.g. "Test Barbin") → menuitem "Account Settings".+- MES: the rail user button (same accessible name) → menuitem "Account Settings".+- Expected: `[role=dialog]` with heading "Account settings" (sr-only), nav "Account settings" with buttons Profile / Notifications / Security, and the Profile pane (email disabled, First/Last Name filled). The URL does not change.+### 2. Save profile+- Fill the About textarea (`textarea[name=about]`), then requestSubmit the dialog form whose submit button text starts with "Save" (NOT a click).+- Expected: toast "Updated profile" — poll the snapshot within ~1s, it disappears after a few seconds.+- Verify: `fetch('/api/account/profile')` (ERP) or `fetch('/x/proxy/api/account/profile')` (MES) → `user.about`.+### 3. Notifications+- Click the nav button "Notifications" inside the dialog. Topics table with switches named "<Topic> email".+- ERP shows a "Browser notifications" section; the MES must NOT.+- Click a switch; verify via `fetch('<api>/account/notifications')` → `preferences`. Toggle back afterwards.+### 4. Security+- Nav button "Security" → "Two-factor authentication" section ("Passkeys" only when the passkey provider is enabled).+- "Add Authenticator App" → nested modal "Set up two-factor authentication" with a QR image. Click Cancel — do not verify on the shared test user.+### 5. Deep links+- `ERP_URL/x/account/security` → redirects to `/x`, modal open on Security.+- `ERP_URL/x?account=notifications` → modal open on Notifications, param stripped from the URL.++## Selector Notes+- Switch panes with `[...document.querySelectorAll('[role=dialog] nav button')].find(b=>b.textContent.trim()==='Security').click()`.+- Escape closes the modal.++## Common Failures+- No toast seen after save: the snapshot was taken too late (toast auto-dismisses); confirm via the API fetch instead.diff --git a/.claude/rules/authentication-system.md b/.claude/rules/authentication-system.mdindex b89d59e606..006df134eb 100644--- a/.claude/rules/authentication-system.md+++ b/.claude/rules/authentication-system.md@@ -302,8 +302,9 @@ Supabase's `auth.mfa_factors` — no app table.- **auth-js gotcha**: `supabase.auth.mfa.*` reads the client's INTERNAL session, not the`Authorization` header override — `mfa.server.ts` seeds a fresh anon client via`auth.setSession` with the cookie's tokens.-- **Enrollment**: Account → Security (`x+/account+/security.tsx`, which also owns- passkeys) → `api+/mfa.enroll` / `mfa.verify` / `mfa.unenroll` (unenroll requires a+- **Enrollment**: Account settings → Security (the modal pane+ `packages/account/src/ui/SecuritySettings.tsx`, data and passkey writes in+ `api+/account.security.ts`) → `api+/mfa.enroll` / `mfa.verify` / `mfa.unenroll` (unenroll requires acurrent code as step-up). The enroll→scan→verify state machine, the 6-slot codeinput, and the invalid-code copy are shared with the enforcement gate via`~/components/TotpEnrollment` (`useTotpEnrollment`, `OtpInput`,diff --git a/AGENTS.md b/AGENTS.mdindex 3fbb038390..05dc7d2408 100644--- a/AGENTS.md+++ b/AGENTS.md@@ -85,6 +85,7 @@ IMPORTANT: Before any research or coding, match the task to this table. A single| **Server & Services** | || Writing service functions | `.claude/rules/conventions-services.md` || Authentication, RBAC, permissions | `.claude/rules/authentication-system.md` + `packages/auth/AGENTS.md` |+| Account settings modal (ERP, MES, starter) | `packages/account/AGENTS.md` || Background jobs and events (Inngest) | `.claude/rules/event-system.md` + `packages/jobs/AGENTS.md` || Server functions (privileged/transactional writes shared by apps and jobs) | `packages/server-functions/AGENTS.md` || Adding a Deno edge function (embedding only) | `.claude/rules/workflow-edge-function.md` |@@ -211,7 +212,7 @@ IMPORTANT: Before any research or coding, match the task to this table. A single- **Database**: Supabase (Postgres) with RLS, typed via `@carbon/database` + Kysely- **Background jobs**: Inngest (NOT Trigger.dev), via `@carbon/jobs`- **Apps**: `erp` (main), `mes` (shop floor), `academy` (training), `starter` (example)-- **Packages**: 29 under `packages/` — auth, database, lib, react, query, form, documents, jobs, notifications, config, env, checks, harness, dev, stripe, ee, tiptap, locale, utils, files, kv, printing, onboarding, logger, server-functions, planning, api, viewer, workflows-core — plus `@carbon/content` at `docs/content` (docs MDX + glossary)+- **Packages**: 30 under `packages/` — account, auth, database, lib, react, query, form, documents, jobs, notifications, config, env, checks, harness, dev, stripe, ee, tiptap, locale, utils, files, kv, printing, onboarding, logger, server-functions, planning, api, viewer, workflows-core — plus `@carbon/content` at `docs/content` (docs MDX + glossary)- **Multi-tenancy**: every table has `companyId` + composite PK `("id", "companyId")`- **IDs**: `id('prefix')` default in SQL- **Imports**: `~/*` → app code; `@carbon/*` → workspace packagesdiff --git a/apps/erp/app/components/AvatarMenu.tsx b/apps/erp/app/components/AvatarMenu.tsxindex 26ea60b3b5..7eaf91e93d 100644--- a/apps/erp/app/components/AvatarMenu.tsx+++ b/apps/erp/app/components/AvatarMenu.tsx@@ -2,6 +2,7 @@// 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 { useAccountSettings } from "@carbon/account";import { CONTROLLED_ENVIRONMENT } from "@carbon/auth";import {getSortedLanguageSelectOptions,@@ -143,6 +144,7 @@ export function useAccountMenu() {const optimisticTheme = selectedTheme ?? serverTheme;const itarDisclosure = useDisclosure();+ const openAccountSettings = useAccountSettings((s) => s.open);const modeOptions = [{ value: "light", label: <Trans>Light</Trans>, icon: <LuSun /> },@@ -191,10 +193,9 @@ export function useAccountMenu() {{id: "account",group: 4,- kind: "link",+ kind: "action",label: <Trans>Account Settings</Trans>,- icon: <LuUser />,- to: path.to.profile+ icon: <LuUser />},...(edition === Edition.Cloud && isOwner()? [@@ -263,7 +264,8 @@ export function useAccountMenu() {languageOptions,resolvedLocale,localeFetcher,- itarDisclosure+ itarDisclosure,+ openAccountSettings};}@@ -282,14 +284,21 @@ const AvatarMenu = () => {languageOptions,resolvedLocale,localeFetcher,- itarDisclosure+ itarDisclosure,+ openAccountSettings} = useAccountMenu();const [isOpen, setIsOpen] = useState(false);const renderItem = (item: AccountMenuItem) => {switch (item.id) {- case "dashboard":case "account":+ return (+ <DropdownMenuItem onClick={() => openAccountSettings()}>+ <DropdownMenuIcon icon={item.icon} />+ {item.label}+ </DropdownMenuItem>+ );+ case "dashboard":return (<DropdownMenuItem asChild><Link to={item.to!}>diff --git a/apps/erp/app/components/ColorPicker.tsx b/apps/erp/app/components/ColorPicker.tsxindex 05c2ec2e68..d0b307618c 100644--- a/apps/erp/app/components/ColorPicker.tsx+++ b/apps/erp/app/components/ColorPicker.tsx@@ -2,103 +2,4 @@// 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 { cn, Popover, PopoverContent, PopoverTrigger } from "@carbon/react";-import { HexColorInput, HexColorPicker } from "react-colorful";--/** Preset swatches shown under the picker, Mantine ColorInput style. */-const SWATCHES = [- "#1f2937",- "#111827",- "#374151",- "#0f172a",- "#000000",- "#ffffff",- "#1e3a8a",- "#1d4ed8",- "#2563eb",- "#0891b2",- "#059669",- "#16a34a",- "#ca8a04",- "#ea580c",- "#dc2626",- "#db2777",- "#7c3aed",- "#475569"-];--export function ColorPicker({- value,- onChange,- placeholder-}: {- /** A hex color, or `""` for no color (pass `placeholder` to label it). */- value: string;- onChange: (value: string) => void;- placeholder?: string;-}) {- const isEmpty = value === "";- return (- <Popover>- <PopoverTrigger asChild>- <button- type="button"- className="flex h-9 w-full items-center gap-2 rounded-md border border-input bg-background px-2 text-sm outline-none transition-colors focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50"- >- <span- className={cn(- "size-5 shrink-0 rounded ring-1 ring-inset ring-black/10",- isEmpty && "bg-muted"- )}- style={isEmpty ? undefined : { backgroundColor: value }}- />- {isEmpty ? (- <span className="text-xs text-muted-foreground">{placeholder}</span>- ) : (- <span className="font-mono text-xs uppercase text-foreground">- {value}- </span>- )}- </button>- </PopoverTrigger>- <PopoverContent align="start" className="w-[232px] p-3">- <div className="flex flex-col gap-3">- <HexColorPicker- color={isEmpty ? "#ffffff" : value}- onChange={onChange}- style={{ width: "100%", height: 150 }}- />-- <div className="flex items-center gap-2">- <span- className="size-5 shrink-0 rounded ring-1 ring-inset ring-black/10"- style={{ backgroundColor: value }}- />- <HexColorInput- prefixed- color={value}- onChange={onChange}- className="h-8 w-full rounded-md border border-input bg-background px-2 font-mono text-xs uppercase outline-none focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50"- />- </div>-- <div className="grid grid-cols-9 gap-1.5">- {SWATCHES.map((swatch) => (- <button- key={swatch}- type="button"- aria-label={swatch}- onClick={() => onChange(swatch)}- className={cn(- "size-5 rounded ring-1 ring-inset ring-black/10 transition-transform hover:scale-110",- value.toLowerCase() === swatch && "ring-2 ring-primary"- )}- style={{ backgroundColor: swatch }}- />- ))}- </div>- </div>- </PopoverContent>- </Popover>- );-}+export { ColorPicker } from "@carbon/react";diff --git a/apps/erp/app/components/Layout/Mobile/ChromeSlots.tsx b/apps/erp/app/components/Layout/Mobile/ChromeSlots.tsxindex d35c0faca4..788a3ec5d4 100644--- a/apps/erp/app/components/Layout/Mobile/ChromeSlots.tsx+++ b/apps/erp/app/components/Layout/Mobile/ChromeSlots.tsx@@ -17,7 +17,7 @@ const bottomBarSlot = createPortalSlot();/** Where <AppBarActions> render: the right of the compact app bar. */export const AppBarActionsTarget = appBarActionsSlot.Target;-/** True while any <BottomBar> is mounted; the tab bar hides then. */+/** True while any <BottomBar> is mounted; the dock hides then. */export const useBottomBarActive = bottomBarSlot.useFilled;const MAX_APP_BAR_ACTIONS = 2;@@ -34,10 +34,10 @@ export function AppBarActions({ children }: { children: ReactNode }) {return <appBarActionsSlot.Fill>{children}</appBarActionsSlot.Fill>;}-/** A compact bottom bar (action bar or bulk bar) that replaces the tab bar. */+/** A compact bottom bar (action bar or bulk bar) that replaces the dock. */export const BottomBar = bottomBarSlot.Fill;-/** A page's phone action bar: its buttons in one row over the tab bar. */+/** A page's phone action bar: its buttons in one row, in place of the dock. */export function PhoneActionBar({children,className@@ -88,7 +88,7 @@ export function useCompactCssVar(}/**- * The shell's bottom chrome: the target for <BottomBar> and the tab bar. Its+ * The shell's bottom chrome: the target for <BottomBar> and the dock. Its* height becomes `--content-inset`, so full-height pages end above it.*/export function MobileBottomChrome({ children }: { children: ReactNode }) {diff --git a/apps/erp/app/components/Layout/Mobile/MobileDock.tsx b/apps/erp/app/components/Layout/Mobile/MobileDock.tsxnew file mode 100644index 0000000000..ded61e6624--- /dev/null+++ b/apps/erp/app/components/Layout/Mobile/MobileDock.tsx@@ -0,0 +1,120 @@+// 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 { cn, Dock, DockBar, DockItem, DockSeparator } from "@carbon/react";+import { useLingui } from "@lingui/react/macro";+import type { ReactNode } from "react";+import { useEffect, useState } from "react";+import { LuMenu, LuPlus, LuSearch, LuX } from "react-icons/lu";+import { useLocation } from "react-router";+import { useUser } from "~/hooks";+import { useNotifications } from "~/hooks/useNotifications";+import { useRestoreBrowserNotifications } from "~/hooks/usePushSubscription";+import { useUIStore } from "~/stores/ui";+import CreateMenu, { useCreate } from "../Topbar/CreateMenu";+import { usePushPublicKey } from "../Topbar/Notifications";+import { useBottomBarActive } from "./ChromeSlots";+import { MobileMenu } from "./MobileMenu";+import { ProfileSheet } from "./ProfileSheet";++type Sheet = "menu" | "create" | "profile" | "notifications";++/**+ * The phone's navigation: a floating pill with Search, Create and the menu.+ * The menu holds everything the desktop rail and top bar do — company,+ * modules or the module's sections, the account and notifications. A page's+ * bottom bar (action or bulk bar) replaces the pill. Hidden at md and above.+ */+export function MobileDock() {+ const { t } = useLingui();+ const bottomBarActive = useBottomBarActive();+ const { pathname } = useLocation();+ const user = useUser();+ const openSearchModal = useUIStore((s) => s.openSearchModal);+ const [sheet, setSheet] = useState<Sheet | null>(null);+ const setOpen = (name: Sheet) => (open: boolean) =>+ setSheet(open ? name : null);++ // One subscription, shared by the menu's bell and the Profile sheet.+ const notifications = useNotifications({+ companyId: user.company.id,+ userId: user.id+ });+ // Always mounted on phones, like the desktop bell: restores a signed-back-in+ // user's browser notifications.+ useRestoreBrowserNotifications({+ publicKey: usePushPublicKey(),+ userId: user.id+ });+ const unread = notifications.notifications.filter((n) => !n.read).length;+ const canCreate = useCreate().length > 0;++ // Any navigation closes the open sheet.+ // biome-ignore lint/correctness/useExhaustiveDependencies: close on navigation only+ useEffect(() => {+ setSheet(null);+ }, [pathname]);++ const menuOpen = sheet === "menu";++ // The pill's controls. The menu draws them again over its overlay, where+ // the menu button reads ✕ and Create hands over to the Create menu.+ const items = (inMenu: boolean): ReactNode => (+ <>+ <DockItem+ icon={<LuSearch />}+ label={t`Search`}+ onClick={() => {+ setSheet(null);+ openSearchModal();+ }}+ />+ <DockSeparator />+ {!canCreate ? null : inMenu ? (+ <DockItem+ icon={<LuPlus />}+ aria-label={t`Create`}+ onClick={() => setSheet("create")}+ />+ ) : (+ <CreateMenu+ open={sheet === "create"}+ onOpenChange={setOpen("create")}+ trigger={<DockItem icon={<LuPlus />} aria-label={t`Create`} />}+ />+ )}+ <DockItem+ icon={inMenu ? <LuX /> : <LuMenu />}+ aria-label={inMenu ? t`Close menu` : t`Open menu`}+ aria-haspopup="dialog"+ aria-expanded={inMenu}+ onClick={() => setSheet(inMenu ? null : "menu")}+ />+ </>+ );++ return (+ <>+ <Dock aria-label={t`Main`} className={cn(bottomBarActive && "hidden")}>+ {items(false)}+ </Dock>+ <MobileMenu+ open={menuOpen}+ onOpenChange={setOpen("menu")}+ dock={<DockBar aria-label={t`Main`}>{items(true)}</DockBar>}+ unread={unread}+ onOpenProfile={() => setSheet("profile")}+ onOpenNotifications={() => setSheet("notifications")}+ />+ <ProfileSheet+ open={sheet === "profile" || sheet === "notifications"}+ onOpenChange={(open) => {+ if (!open) setSheet(null);+ }}+ notifications={notifications}+ initialScreen={sheet === "notifications" ? "notifications" : "root"}+ />+ </>+ );+}diff --git a/apps/erp/app/components/Layout/Mobile/MobileMenu.tsx b/apps/erp/app/components/Layout/Mobile/MobileMenu.tsxnew file mode 100644index 0000000000..db54aaed0f--- /dev/null+++ b/apps/erp/app/components/Layout/Mobile/MobileMenu.tsx@@ -0,0 +1,475 @@+// 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 {+ Avatar as AvatarBase,+ Badge,+ DockFinder,+ DockFinderGroup,+ DockFinderItem,+ DockFinderSeparator,+ DockMenu,+ DockMenuContent,+ DockMenuPanel,+ DockMenuSection,+ DockSwitcher,+ dockMenuRowClassName,+ PrefetchLink,+ useMode+} from "@carbon/react";+import { Trans, useLingui } from "@lingui/react/macro";+import type { ReactNode } from "react";+import { useEffect, useState } from "react";+import type { IconType } from "react-icons";+import {+ LuBell,+ LuChevronRight,+ LuHouse,+ LuLayoutGrid,+ LuPlus+} from "react-icons/lu";+import { useLocation, useMatches, useNavigate, useSubmit } from "react-router";+import { Avatar } from "~/components";+import { useUser } from "~/hooks";+import {+ getImplementationNavItem,+ ImplementationData+} from "~/hooks/useImplementationNavItem";+import {+ useAllModules,+ useModules,+ useSettingsModule+} from "~/hooks/useModules";+import { path } from "~/utils/path";+import { useCompactModuleSidebar } from "../Navigation/CollapsibleSidebar";+import { getModule } from "../Navigation/PrimaryNavigation";+import {+ SheetNavStyleProvider,+ SidebarPresentationProvider+} from "../Navigation/SidebarPresentation";+import { AddCompanyModal } from "../Topbar/AddCompanyModal";+import {+ useCompanyGroups,+ useCompanySwitchRedirect+} from "../Topbar/CompanySwitcher";++/** The switcher whose finder covers the menu, if any. */+type Finder = "companies" | "modules";++/**+ * The module the page belongs to: by its URL, else by a route's+ * `handle.module` (a record's page lives outside its module's URL). Hidden+ * modules count, so the switcher still names where you are.+ */+function useCurrentModule() {+ const { pathname } = useLocation();+ const matches = useMatches();+ const modules = useAllModules();+ const settingsModule = useSettingsModule();+ const all = settingsModule ? [...modules, settingsModule] : modules;++ const segment = getModule(pathname);+ const byPath = all.find((m) => getModule(m.to) === segment);+ if (byPath) return byPath;++ const handled = matches+ .map((match) => (match.handle as { module?: string } | undefined)?.module)+ .filter((m): m is string => typeof m === "string");+ return all.find((m) => handled.includes(getModule(m.to))) ?? null;+}++/** A panel row with an icon tile, as the desktop rail draws modules. */+function MenuRowContent({+ icon,+ label,+ trailing+}: {+ icon?: ReactNode;+ label: ReactNode;+ trailing?: ReactNode;+}) {+ return (+ <>+ {icon ? (+ <span className="flex size-5 items-center justify-center [&>svg]:size-[18px]">+ {icon}+ </span>+ ) : null}+ <span className="min-w-0 flex-1 truncate">{label}</span>+ {trailing}+ </>+ );+}++/** Home, Get Started while onboarding, the modules in rail order, Settings. */+function ModuleRows({ currentKey }: { currentKey: string | null }) {+ const { i18n } = useLingui();+ const { pathname } = useLocation();+ const modules = useModules();+ const settingsModule = useSettingsModule();+ const isHome = pathname === path.to.authenticatedRoot;++ const row = (+ key: string,+ to: string,+ Icon: IconType,+ name: ReactNode,+ isActive: boolean+ ) => (+ <PrefetchLink+ key={key}+ to={to}+ aria-current={isActive ? "page" : undefined}+ className={dockMenuRowClassName}+ >+ <MenuRowContent icon={<Icon />} label={name} />+ </PrefetchLink>+ );++ return (+ <>+ <DockMenuSection>+ {row(+ "home",+ path.to.authenticatedRoot,+ LuHouse,+ <Trans>Home</Trans>,+ isHome+ )}+ <ImplementationData>+ {(data) => {+ const item = getImplementationNavItem(data, i18n);+ return item+ ? row(+ "get-started",+ item.to,+ item.icon,+ item.name,+ getModule(pathname) === getModule(item.to)+ )+ : null;+ }}+ </ImplementationData>+ {modules.map((module) =>+ row(+ module.key,+ module.to,+ module.icon,+ module.name,+ !isHome && currentKey === module.key+ )+ )}+ </DockMenuSection>+ {settingsModule ? (+ <DockMenuSection>+ {row(+ settingsModule.key,+ settingsModule.to,+ settingsModule.icon,+ settingsModule.name,+ currentKey === settingsModule.key+ )}+ </DockMenuSection>+ ) : null}+ </>+ );+}++/**+ * The company switcher's finder: every company the user belongs to, the+ * current one ticked, then Add Company for an admin (the desktop+ * breadcrumb's rule). Picking a company switches to it.+ */+function CompanyFinder({+ onClose,+ onAddCompany+}: {+ onClose: () => void;+ onAddCompany: () => void;+}) {+ const { t } = useLingui();+ const mode = useMode();+ const user = useUser();+ const companyGroups = useCompanyGroups();+ const switchRedirect = useCompanySwitchRedirect();+ const submit = useSubmit();++ return (+ <DockFinder+ placeholder={t`Find company…`}+ closeLabel={t`Back to menu`}+ emptyLabel={<Trans>No companies found</Trans>}+ onClose={onClose}+ >+ {companyGroups.map((group) => (+ <DockFinderGroup+ key={group.name}+ heading={companyGroups.length > 1 ? group.name : undefined}+ >+ {group.companies.map((company) => {+ const logo =+ mode === "dark" ? company.logoDarkIcon : company.logoLightIcon;+ const isCurrent = company.companyId === user.company.id;+ return (+ <DockFinderItem+ key={company.companyId}+ value={`${company.name} ${company.companyId}`}+ icon={+ <AvatarBase+ size="xs"+ name={company.name ?? undefined}+ src={logo ?? undefined}+ />+ }+ label={company.name}+ badge={+ company.employeeType ? (+ <Badge variant="secondary">{company.employeeType}</Badge>+ ) : undefined+ }+ isCurrent={isCurrent}+ onSelect={() => {+ if (isCurrent) {+ onClose();+ return;+ }+ submit(switchRedirect ? { redirectTo: switchRedirect } : {}, {+ method: "post",+ action: path.to.companySwitch(company.companyId!)+ });+ }}+ />+ );+ })}+ </DockFinderGroup>+ ))}+ {user.admin ? (+ <>+ <DockFinderSeparator />+ <DockFinderItem+ value={t`Add Company`}+ icon={<LuPlus />}+ label={<Trans>Add Company</Trans>}+ onSelect={onAddCompany}+ />+ </>+ ) : null}+ </DockFinder>+ );+}++/** The module switcher's finder: the modules in rail order, then Settings. */+function ModuleFinder({+ currentKey,+ onClose,+ onPick+}: {+ currentKey: string | null;+ onClose: () => void;+ onPick: (to: string) => void;+}) {+ const { t } = useLingui();+ const modules = useModules();+ const settingsModule = useSettingsModule();+ const all = settingsModule ? [...modules, settingsModule] : modules;++ return (+ <DockFinder+ placeholder={t`Find module…`}+ closeLabel={t`Back to menu`}+ emptyLabel={<Trans>No modules found</Trans>}+ onClose={onClose}+ >+ <DockFinderGroup>+ {all.map((module) => (+ <DockFinderItem+ key={module.key}+ value={`${module.name} ${module.key}`}+ icon={<module.icon />}+ label={module.name}+ isCurrent={module.key === currentKey}+ onSelect={() => onPick(module.to)}+ />+ ))}+ </DockFinderGroup>+ </DockFinder>+ );+}++/**+ * The dock's menu: the company and module switchers over one panel. The+ * panel lists the modules on Home and the current module's sections inside+ * a module — the same sidebar the desktop shows — then the account and+ * notifications. Picking a row navigates; any navigation closes the menu.+ * A tap on a switcher opens its full-screen finder; Esc returns from the+ * finder to the menu.+ */+export function MobileMenu({+ open,+ onOpenChange,+ dock,+ unread,+ onOpenProfile,+ onOpenNotifications+}: {+ open: boolean;+ onOpenChange: (open: boolean) => void;+ dock: ReactNode;+ unread: number;+ onOpenProfile: () => void;+ onOpenNotifications: () => void;+}) {+ const { t } = useLingui();+ const mode = useMode();+ const user = useUser();+ const navigate = useNavigate();+ const companyGroups = useCompanyGroups();+ const Sidebar = useCompactModuleSidebar();+ const current = useCurrentModule();+ const [finder, setFinder] = useState<Finder | null>(null);+ const [addingCompany, setAddingCompany] = useState(false);++ // Every opening starts on the menu itself.+ useEffect(() => {+ if (open) setFinder(null);+ }, [open]);++ const companyCount = companyGroups.reduce(+ (sum, group) => sum + group.companies.length,+ 0+ );+ // An admin can always add a company, so the finder has a use even with one.+ const canSwitchCompany = companyCount > 1 || user.admin;+ const companyLogo =+ mode === "dark" ? user.company.logoDarkIcon : user.company.logoLightIcon;+ const closeFinder = () => setFinder(null);+ const name = `${user.firstName} ${user.lastName}`;++ return (+ <>+ <DockMenu open={open} onOpenChange={onOpenChange}>+ <DockMenuContent+ label={t`Menu`}+ dock={dock}+ // A tap on a link closes the menu even when it leads to the page+ // already open, where the path (and so the menu) would not change.+ onClick={(event) => {+ if ((event.target as HTMLElement).closest("a")) onOpenChange(false);+ }}+ onEscapeKeyDown={(event) => {+ if (finder) {+ event.preventDefault();+ closeFinder();+ }+ }}+ finder={+ finder === "companies" ? (+ <CompanyFinder+ onClose={closeFinder}+ onAddCompany={() => {+ onOpenChange(false);+ setAddingCompany(true);+ }}+ />+ ) : finder === "modules" ? (+ <ModuleFinder+ currentKey={current?.key ?? null}+ onClose={closeFinder}+ onPick={(to) => {+ onOpenChange(false);+ navigate(to);+ }}+ />+ ) : undefined+ }+ >+ <div className="flex min-w-0 shrink-0 gap-2">+ <DockSwitcher+ icon={+ <AvatarBase+ size="xs"+ name={user.company.name}+ src={companyLogo ?? undefined}+ />+ }+ label={user.company.name}+ switchLabel={t`Switch company`}+ onSwitch={+ canSwitchCompany ? () => setFinder("companies") : undefined+ }+ />+ <DockSwitcher+ icon={current ? <current.icon /> : <LuLayoutGrid />}+ label={current?.name ?? <Trans>All modules</Trans>}+ switchLabel={t`Switch module`}+ onSwitch={() => setFinder("modules")}+ // Module names are short; the company name truncates instead.+ className="shrink-0"+ />+ </div>+ <DockMenuPanel>+ {Sidebar ? (+ <SidebarPresentationProvider value="sheet">+ <SheetNavStyleProvider value="menu">+ <Sidebar />+ </SheetNavStyleProvider>+ </SidebarPresentationProvider>+ ) : (+ <ModuleRows currentKey={current?.key ?? null} />+ )}+ <DockMenuSection>+ <button+ type="button"+ onClick={onOpenProfile}+ className={dockMenuRowClassName}+ >+ <Avatar path={user.avatarUrl} name={name} size="xs" />+ <span className="flex min-w-0 flex-1 flex-col py-1.5">+ <span className="truncate text-foreground">{name}</span>+ <span className="truncate text-sm">{user.email}</span>+ </span>+ <LuChevronRight className="size-5" />+ </button>+ </DockMenuSection>+ <DockMenuSection>+ <button+ type="button"+ onClick={onOpenNotifications}+ className={dockMenuRowClassName}+ >+ <MenuRowContent+ label={+ <>+ <Trans>Notifications</Trans>+ {unread > 0 ? (+ <span className="sr-only">+ {" "}+ <Trans>{unread} unread</Trans>+ </span>+ ) : null}+ </>+ }+ trailing={+ <span className="relative flex size-5 items-center justify-center">+ <LuBell className="size-[18px]" />+ {unread > 0 ? (+ <span className="absolute -top-0.5 -right-0.5 size-2 rounded-full bg-primary ring-2 ring-popover" />+ ) : null}+ </span>+ }+ />+ </button>+ </DockMenuSection>+ </DockMenuPanel>+ </DockMenuContent>+ </DockMenu>+ {user.admin ? (+ <AddCompanyModal+ open={addingCompany}+ onClose={() => setAddingCompany(false)}+ />+ ) : null}+ </>+ );+}diff --git a/apps/erp/app/components/Layout/Mobile/MobileTabBar.tsx b/apps/erp/app/components/Layout/Mobile/MobileTabBar.tsxdeleted file mode 100644index f8ed122ba7..0000000000--- a/apps/erp/app/components/Layout/Mobile/MobileTabBar.tsx+++ /dev/null@@ -1,101 +0,0 @@-// 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 { cn, TabBar, TabBarItem } from "@carbon/react";-import { useLingui } from "@lingui/react/macro";-import { useEffect, useState } from "react";-import { LuHouse, LuLayoutGrid, LuSearch, LuSquarePen } from "react-icons/lu";-import { useLocation } from "react-router";-import { Avatar } from "~/components";-import { useUser } from "~/hooks";-import { useUIStore } from "~/stores/ui";-import { path } from "~/utils/path";-import CreateMenu from "../Topbar/CreateMenu";-import { useBottomBarActive } from "./ChromeSlots";-import { ModulesSheet } from "./ModulesSheet";-import { ProfileSheet } from "./ProfileSheet";-import { useAppBar } from "./useAppBar";--/**- * The compact tab bar: Home, Search, Create, Modules, Profile — each- * an existing desktop control. Shown on root screens only; a page's bottom- * bar (action or bulk bar) replaces it. Hidden at md and above.- */-export function MobileTabBar() {- const { t } = useLingui();- const { kind } = useAppBar();- const bottomBarActive = useBottomBarActive();- const { pathname } = useLocation();- const user = useUser();- const openSearchModal = useUIStore((s) => s.openSearchModal);- const [sheet, setSheet] = useState<"create" | "modules" | "profile" | null>(- null- );- const setOpen = (name: typeof sheet) => (open: boolean) =>- setSheet(open ? name : null);-- // Any navigation closes the open sheet.- // biome-ignore lint/correctness/useExhaustiveDependencies: close on navigation only- useEffect(() => {- setSheet(null);- }, [pathname]);-- const hidden = kind === "pushed" || bottomBarActive;- const isHome = pathname === path.to.authenticatedRoot;-- return (- <>- <TabBar aria-label={t`Main`} className={cn(hidden && "hidden")}>- <TabBarItem- to={path.to.authenticatedRoot}- icon={<LuHouse />}- label={t`Home`}- isActive={isHome}- />- <TabBarItem- icon={<LuSearch />}- label={t`Search`}- onClick={openSearchModal}- />- <CreateMenu- open={sheet === "create"}- onOpenChange={setOpen("create")}- trigger={- <TabBarItem- icon={<LuSquarePen />}- label={t`Create`}- isActive={sheet === "create"}- />- }- />- <TabBarItem- icon={<LuLayoutGrid />}- label={t`Modules`}- isActive={sheet === "modules"}- onClick={() => setSheet("modules")}- />- <TabBarItem- icon={- <Avatar- path={user.avatarUrl}- name={`${user.firstName} ${user.lastName}`}- size="xs"- />- }- label={t`Profile`}- isActive={sheet === "profile"}- onClick={() => setSheet("profile")}- />- </TabBar>- <ModulesSheet- open={sheet === "modules"}- onOpenChange={setOpen("modules")}- />- <ProfileSheet- open={sheet === "profile"}- onOpenChange={setOpen("profile")}- />- </>- );-}diff --git a/apps/erp/app/components/Layout/Mobile/ModulesSheet.tsx b/apps/erp/app/components/Layout/Mobile/ModulesSheet.tsxdeleted file mode 100644index 1df53a9bd3..0000000000--- a/apps/erp/app/components/Layout/Mobile/ModulesSheet.tsx+++ /dev/null@@ -1,85 +0,0 @@-// 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 {- BottomSheet,- BottomSheetBody,- BottomSheetContent,- BottomSheetHeader,- BottomSheetTitle,- PrefetchLink,- sheetRowClassName-} from "@carbon/react";-import { Trans, useLingui } from "@lingui/react/macro";-import { ModuleCard } from "~/components/ModuleCard";-import {- getImplementationNavItem,- ImplementationData-} from "~/hooks/useImplementationNavItem";-import { useModules, useSettingsModule } from "~/hooks/useModules";-import { SheetRowContent } from "./SheetRow";--/**- * The tab bar's Modules sheet: the desktop rail's items in rail order —- * Get Started while onboarding, the module tiles, then Settings.- */-export function ModulesSheet({- open,- onOpenChange-}: {- open: boolean;- onOpenChange: (open: boolean) => void;-}) {- const { i18n } = useLingui();- const modules = useModules();- const settingsModule = useSettingsModule();- return (- <BottomSheet open={open} onOpenChange={onOpenChange}>- <BottomSheetContent>- <BottomSheetHeader>- <BottomSheetTitle>- <Trans>Modules</Trans>- </BottomSheetTitle>- </BottomSheetHeader>- <BottomSheetBody>- {/* A tap closes the sheet even when the module is the current page,- where navigating leaves the path (and so the sheet) unchanged. */}- <div- onClick={(event) => {- if ((event.target as HTMLElement).closest("a")) {- onOpenChange(false);- }- }}- >- <div className="grid grid-cols-3 gap-3 sm:grid-cols-4">- <ImplementationData>- {(data) => {- const item = getImplementationNavItem(data, i18n);- return item ? <ModuleCard module={item} /> : null;- }}- </ImplementationData>- {modules.map((module) => (- <ModuleCard key={module.key} module={module} />- ))}- </div>- {settingsModule ? (- <div className="mt-4 border-t border-border pt-2">- <PrefetchLink- to={settingsModule.to}- className={sheetRowClassName}- >- <SheetRowContent- icon={<settingsModule.icon />}- label={settingsModule.name}- trailing="drill"- />- </PrefetchLink>- </div>- ) : null}- </div>- </BottomSheetBody>- </BottomSheetContent>- </BottomSheet>- );-}diff --git a/apps/erp/app/components/Layout/Mobile/ProfileSheet.tsx b/apps/erp/app/components/Layout/Mobile/ProfileSheet.tsxindex 4c391d623c..7be12e9551 100644--- a/apps/erp/app/components/Layout/Mobile/ProfileSheet.tsx+++ b/apps/erp/app/components/Layout/Mobile/ProfileSheet.tsx@@ -28,14 +28,13 @@ import { Avatar } from "~/components";import type { AccountMenuItem } from "~/components/AvatarMenu";import { useAccountMenu } from "~/components/AvatarMenu";import { useUser } from "~/hooks";-import { useNotifications } from "~/hooks/useNotifications";-import { useRestoreBrowserNotifications } from "~/hooks/usePushSubscription";+import type { useNotifications } from "~/hooks/useNotifications";import { path } from "~/utils/path";import {useCompanyGroups,useCompanySwitchRedirect} from "../Topbar/CompanySwitcher";-import { NotificationsPanel, usePushPublicKey } from "../Topbar/Notifications";+import { NotificationsPanel } from "../Topbar/Notifications";import { SheetRowButton, SheetRowContent, SheetRowGroup } from "./SheetRow";/** Consecutive items with the same `group`, as the desktop separators split them. */@@ -56,16 +55,22 @@ type Screen =| { id: "submenu"; item: AccountMenuItem };/**- * The tab bar's Profile sheet: the desktop account menu's items in order,+ * The dock menu's Profile sheet: the desktop account menu's items in order,* plus Notifications and the company switcher, which live in the desktop top- * bar. Sub-menus drill in within the sheet.+ * bar. Sub-menus drill in within the sheet. The dock owns the notifications+ * subscription and shares it with its menu's bell.*/export function ProfileSheet({open,- onOpenChange+ onOpenChange,+ notifications,+ initialScreen = "root"}: {open: boolean;onOpenChange: (open: boolean) => void;+ notifications: ReturnType<typeof useNotifications>;+ /** The screen the sheet opens on; Back always returns to the root. */+ initialScreen?: "root" | "notifications";}) {const { t } = useLingui();const menu = useAccountMenu();@@ -73,28 +78,19 @@ export function ProfileSheet({const mode = useMode();const companyGroups = useCompanyGroups();const switchRedirect = useCompanySwitchRedirect();- const notifications = useNotifications({- companyId: user.company.id,- userId: user.id- });- // Always mounted on phones, like the desktop bell: restores a signed-back-in- // user's browser notifications.- useRestoreBrowserNotifications({- publicKey: usePushPublicKey(),- userId: user.id- });const unread = notifications.notifications.filter((n) => !n.read).length;const companyCount = companyGroups.reduce((sum, group) => sum + group.companies.length,0);- const [screen, setScreen] = useState<Screen>({ id: "root" });+ const [screen, setScreen] = useState<Screen>({ id: initialScreen });const [notificationsTab, setNotificationsTab] = useState("inbox");+ // Each opening starts on the screen it was opened for.useEffect(() => {- if (!open) setScreen({ id: "root" });- }, [open]);+ if (open) setScreen({ id: initialScreen });+ }, [open, initialScreen]);const back = () => setScreen({ id: "root" });@@ -172,6 +168,18 @@ export function ProfileSheet({</SheetRowButton>);case "action":+ if (item.id === "account") {+ return (+ <SheetRowButton+ onClick={() => {+ onOpenChange(false);+ menu.openAccountSettings();+ }}+ >+ <SheetRowContent icon={item.icon} label={item.label} />+ </SheetRowButton>+ );+ }if (item.id === "signOut") {return (<Form method="post" action={path.to.logout}>diff --git a/apps/erp/app/components/Layout/Mobile/appBar.ts b/apps/erp/app/components/Layout/Mobile/appBar.tsindex 27104eed24..547894f020 100644--- a/apps/erp/app/components/Layout/Mobile/appBar.ts+++ b/apps/erp/app/components/Layout/Mobile/appBar.ts@@ -15,8 +15,8 @@ export type AppBarState = {subtitle?: ReactNode;backTo?: string;/**- * Root screens show the tab bar and the section switcher; pushed screens- * show Back; a selection (list select mode) hides the page actions.+ * Root screens show the section switcher; pushed screens show Back; a+ * selection (list select mode) hides the page actions.*/kind: "root" | "pushed" | "selection";};diff --git a/apps/erp/app/components/Layout/Mobile/index.ts b/apps/erp/app/components/Layout/Mobile/index.tsindex 8022caf469..3c91957986 100644--- a/apps/erp/app/components/Layout/Mobile/index.ts+++ b/apps/erp/app/components/Layout/Mobile/index.ts@@ -4,5 +4,5 @@export { AppBarActions, MobileBottomChrome } from "./ChromeSlots";export { MobileAppBar } from "./MobileAppBar";-export { MobileTabBar } from "./MobileTabBar";+export { MobileDock } from "./MobileDock";export { useSetAppBarOverride } from "./useAppBarOverride";diff --git a/apps/erp/app/components/Layout/Navigation/SidebarPresentation.tsx b/apps/erp/app/components/Layout/Navigation/SidebarPresentation.tsxindex 1d3b8efb5f..47ac9f6a3b 100644--- a/apps/erp/app/components/Layout/Navigation/SidebarPresentation.tsx+++ b/apps/erp/app/components/Layout/Navigation/SidebarPresentation.tsx@@ -4,6 +4,7 @@import {cn,+ dockMenuRowClassName,PrefetchLink,SheetSectionLabel,sheetRowClassName@@ -29,6 +30,16 @@ export function useSidebarPresentation() {return useContext(SidebarPresentationContext);}+/**+ * How a sheet presentation draws its rows: the title switcher's 48pt rows+ * with a ✓, or the dock menu's rows, where the current section is lit.+ */+type SheetNavStyle = "switcher" | "menu";++const SheetNavStyleContext = createContext<SheetNavStyle>("switcher");++export const SheetNavStyleProvider = SheetNavStyleContext.Provider;+/** A 48pt section-switcher row: icon, label, ✓ on the current section. */export function SheetNavRow({to,@@ -43,6 +54,23 @@ export function SheetNavRow({isActive: boolean;inset?: boolean;}) {+ const style = useContext(SheetNavStyleContext);+ if (style === "menu") {+ return (+ <PrefetchLink+ to={to}+ aria-current={isActive ? "page" : undefined}+ className={cn(dockMenuRowClassName, inset && "pl-12 text-sm")}+ >+ {icon ? (+ <span className="flex size-5 items-center justify-center [&>svg]:size-[18px]">+ {icon}+ </span>+ ) : null}+ <span className="min-w-0 flex-1 truncate">{label}</span>+ </PrefetchLink>+ );+ }return (<PrefetchLinkto={to}@@ -70,6 +98,19 @@ export function SheetNavGroup({title?: ReactNode;children: ReactNode;}) {+ const style = useContext(SheetNavStyleContext);+ if (style === "menu") {+ return (+ <div className="flex flex-col border-t border-border p-1.5 first:border-t-0">+ {title ? (+ <div className="px-3 pt-1.5 pb-1 text-xs text-muted-foreground">+ {title}+ </div>+ ) : null}+ {children}+ </div>+ );+ }return (<div className="flex flex-col pb-2">{title ? <SheetSectionLabel>{title}</SheetSectionLabel> : null}diff --git a/apps/erp/app/components/Layout/Topbar/AddCompanyModal.tsx b/apps/erp/app/components/Layout/Topbar/AddCompanyModal.tsxnew file mode 100644index 0000000000..0f7cbd70df--- /dev/null+++ b/apps/erp/app/components/Layout/Topbar/AddCompanyModal.tsx@@ -0,0 +1,83 @@+// 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 { ValidatedForm } from "@carbon/form";+import {+ HStack,+ Modal,+ ModalBody,+ ModalContent,+ ModalFooter,+ ModalHeader,+ ModalTitle,+ VStack+} from "@carbon/react";+import { getLocalTimeZone } from "@internationalized/date";+import { Trans, useLingui } from "@lingui/react/macro";+import {+ AddressAutocomplete,+ Currency,+ Input,+ Submit,+ Timezone+} from "~/components/Form";+import { companyValidator } from "~/modules/settings/settings.models";+import { path } from "~/utils/path";++/**+ * Adds a company for an admin: the company breadcrumb's and the phone+ * company finder's "Add Company". Posts to `path.to.newCompany`.+ */+export function AddCompanyModal({+ open,+ onClose+}: {+ open: boolean;+ onClose: () => void;+}) {+ const { t } = useLingui();+ return (+ <Modal+ open={open}+ onOpenChange={(isOpen) => {+ if (!isOpen) onClose();+ }}+ >+ <ModalContent>+ <ValidatedForm+ action={path.to.newCompany}+ validator={companyValidator}+ method="post"+ onAfterSubmit={onClose}+ defaultValues={{+ countryCode: "US",+ baseCurrencyCode: "USD",+ timezone: getLocalTimeZone()+ }}+ >+ <ModalHeader>+ <ModalTitle>+ <Trans>Let's set up your new company</Trans>+ </ModalTitle>+ </ModalHeader>+ <ModalBody>+ <VStack spacing={4}>+ <Input autoFocus name="name" label={t`Company Name`} />+ <AddressAutocomplete variant="grid" />+ <Timezone name="timezone" label={t`Timezone`} />+ <Currency name="baseCurrencyCode" label={t`Base Currency`} />+ </VStack>+ </ModalBody>+ <ModalFooter>+ <HStack>+ <Submit>+ <Trans>Save</Trans>+ </Submit>+ </HStack>+ </ModalFooter>+ </ValidatedForm>+ </ModalContent>+ </Modal>+ );+}diff --git a/apps/erp/app/components/Layout/Topbar/Breadcrumbs.tsx b/apps/erp/app/components/Layout/Topbar/Breadcrumbs.tsxindex 6788d8764f..b8972ca375 100644--- a/apps/erp/app/components/Layout/Topbar/Breadcrumbs.tsx+++ b/apps/erp/app/components/Layout/Topbar/Breadcrumbs.tsx@@ -2,7 +2,6 @@// 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 { ValidatedForm } from "@carbon/form";import {Avatar,Badge,@@ -16,19 +15,11 @@ import {DropdownMenuSeparator,DropdownMenuTrigger,HStack,- Modal,- ModalBody,- ModalContent,- ModalFooter,- ModalHeader,- ModalTitle,ScrollArea,useDisclosure,- useMode,- VStack+ useMode} from "@carbon/react";-import { getLocalTimeZone } from "@internationalized/date";-import { Trans, useLingui } from "@lingui/react/macro";+import { useLingui } from "@lingui/react/macro";import type { ReactNode } from "react";import { useMemo } from "react";import { BsFillHexagonFill } from "react-icons/bs";@@ -41,18 +32,11 @@ import {BreadcrumbLink,Breadcrumbs as BreadcrumbsBase} from "~/components";-import {- AddressAutocomplete,- Currency,- Input,- Submit,- Timezone-} from "~/components/Form";import { useRouteData, useUser } from "~/hooks";import type { Company } from "~/modules/settings";-import { companyValidator } from "~/modules/settings/settings.models";import type { BreadcrumbSegment } from "~/utils/handle";import { path } from "~/utils/path";+import { AddCompanyModal } from "./AddCompanyModal";import { useCompanySwitchRedirect } from "./CompanySwitcher";export const BreadcrumbHandle = z.object({@@ -291,50 +275,10 @@ function CompanyBreadcrumb() {)}</DropdownMenuContent></DropdownMenu>- <Modal+ <AddCompanyModalopen={companyForm.isOpen}- onOpenChange={(open) => {- if (!open) companyForm.onClose();- }}- >- <ModalContent>- <ValidatedForm- action={path.to.newCompany}- validator={companyValidator}- method="post"- onAfterSubmit={companyForm.onClose}- defaultValues={{- countryCode: "US",- baseCurrencyCode: "USD",- timezone: getLocalTimeZone()- }}- >- <ModalHeader>- <ModalTitle>- <Trans>Let's set up your new company</Trans>- </ModalTitle>- </ModalHeader>- <ModalBody>- <VStack spacing={4}>- <Input autoFocus name="name" label={t`Company Name`} />- <AddressAutocomplete variant="grid" />- <Timezone name="timezone" label={t`Timezone`} />- <Currency- name="baseCurrencyCode"- label={t`Base Currency`}- />- </VStack>- </ModalBody>- <ModalFooter>- <HStack>- <Submit>- <Trans>Save</Trans>- </Submit>- </HStack>- </ModalFooter>- </ValidatedForm>- </ModalContent>- </Modal>+ onClose={companyForm.onClose}+ /></>) : (<BreadcrumbLink to="/">{routeData?.company.name}</BreadcrumbLink>diff --git a/apps/erp/app/components/Layout/Topbar/CreateMenu.tsx b/apps/erp/app/components/Layout/Topbar/CreateMenu.tsxindex 3f2c443154..7cc62c0a7d 100644--- a/apps/erp/app/components/Layout/Topbar/CreateMenu.tsx+++ b/apps/erp/app/components/Layout/Topbar/CreateMenu.tsx@@ -7,14 +7,20 @@ import {DropdownMenuContent,DropdownMenuIcon,DropdownMenuItem,- DropdownMenuTrigger+ DropdownMenuTrigger,+ ShortcutKey,+ useShortcutSequence} from "@carbon/react";import { useLingui } from "@lingui/react/macro";import { useMemo } from "react";import {+ LuArrowRightLeft,LuBlocks,LuCirclePlay,+ LuClipboardList,LuContainer,+ LuLayers,+ LuListChecks,LuShieldX,LuShoppingCart,LuSquareUser,@@ -26,21 +32,25 @@ import {RiProgress4Line,RiProgress8Line} from "react-icons/ri";-import { Link } from "react-router";+import { Link, useNavigate } from "react-router";import { usePermissions } from "~/hooks";+import { CREATE_PREFIX, CREATE_SHORTCUTS } from "~/shortcuts";import type { Route } from "~/types";import { path } from "~/utils/path";-export function useCreate(): Route[] {+type CreateLink = Route<{ shortcut: string }>;++export function useCreate(): CreateLink[] {const permissions = usePermissions();const { t } = useLingui();const result = useMemo(() => {- let links: Route[] = [];+ const links: CreateLink[] = [];if (permissions.can("create", "parts")) {links.push({name: t`Part`,to: path.to.newPart,+ shortcut: CREATE_SHORTCUTS.part,icon: <LuBlocks />});}@@ -49,6 +59,7 @@ export function useCreate(): Route[] {links.push({name: t`Issue`,to: path.to.newIssue,+ shortcut: CREATE_SHORTCUTS.issue,icon: <LuShieldX />});}@@ -57,14 +68,46 @@ export function useCreate(): Route[] {links.push({name: t`Job`,to: path.to.newJob,+ shortcut: CREATE_SHORTCUTS.job,icon: <LuCirclePlay />});}+ if (permissions.can("update", "production")) {+ links.push({+ name: t`Batch`,+ to: path.to.newOperationBatch,+ shortcut: CREATE_SHORTCUTS.batch,+ icon: <LuLayers />+ });+ }++ if (permissions.can("create", "inventory")) {+ links.push({+ name: t`Picking List`,+ to: path.to.pickingSchedule,+ shortcut: CREATE_SHORTCUTS.pickingList,+ icon: <LuClipboardList />+ });+ links.push({+ name: t`Stock Transfer`,+ to: path.to.stockTransfersNew,+ shortcut: CREATE_SHORTCUTS.stockTransfer,+ icon: <LuListChecks />+ });+ links.push({+ name: t`Warehouse Transfer`,+ to: path.to.newWarehouseTransfer,+ shortcut: CREATE_SHORTCUTS.warehouseTransfer,+ icon: <LuArrowRightLeft />+ });+ }+if (permissions.can("create", "production")) {links.push({name: t`Maintenance`,to: path.to.newMaintenanceDispatch,+ shortcut: CREATE_SHORTCUTS.maintenance,icon: <LuWrench />});}@@ -73,6 +116,7 @@ export function useCreate(): Route[] {links.push({name: t`Purchase Order`,to: path.to.newPurchaseOrder,+ shortcut: CREATE_SHORTCUTS.purchaseOrder,icon: <LuShoppingCart />});}@@ -81,6 +125,7 @@ export function useCreate(): Route[] {links.push({name: t`Supplier`,to: path.to.newSupplier,+ shortcut: CREATE_SHORTCUTS.supplier,icon: <LuContainer />});}@@ -89,21 +134,25 @@ export function useCreate(): Route[] {links.push({name: t`Customer`,to: path.to.newCustomer,+ shortcut: CREATE_SHORTCUTS.customer,icon: <LuSquareUser />});links.push({name: t`RFQ`,to: path.to.newSalesRFQ,+ shortcut: CREATE_SHORTCUTS.rfq,icon: <RiProgress2Line />});links.push({name: t`Quote`,to: path.to.newQuote,+ shortcut: CREATE_SHORTCUTS.quote,icon: <RiProgress4Line />});links.push({name: t`Sales Order`,to: path.to.newSalesOrder,+ shortcut: CREATE_SHORTCUTS.salesOrder,icon: <RiProgress8Line />});}@@ -112,6 +161,7 @@ export function useCreate(): Route[] {links.push({name: t`Employee`,to: path.to.newEmployee,+ shortcut: CREATE_SHORTCUTS.employee,icon: <LuUsers />});}@@ -122,6 +172,23 @@ export function useCreate(): Route[] {return result.sort((a, b) => a.name.localeCompare(b.name));}+/**+ * c-then-letter opens the matching Create menu item from any page. Bind it+ * once (the Topbar) — the menu itself renders in several places.+ */+export function useCreateShortcuts() {+ const createLinks = useCreate();+ const navigate = useNavigate();+ const map = useMemo(+ () =>+ Object.fromEntries(+ createLinks.map((link) => [link.shortcut, () => navigate(link.to)])+ ),+ [createLinks, navigate]+ );+ useShortcutSequence({ prefix: CREATE_PREFIX, map });+}+const CreateMenu = ({trigger,open,@@ -141,14 +208,26 @@ const CreateMenu = ({<DropdownMenuTrigger asChild>{trigger}</DropdownMenuTrigger><DropdownMenuContentalign="center"- className="w-48"+ className="min-w-56"aria-label={t`Create`}>{createLinks.map((link) => (- <DropdownMenuItem key={link.to} asChild>+ <DropdownMenuItem key={link.to} asChild className="whitespace-nowrap"><Link to={link.to}>{link.icon && <DropdownMenuIcon icon={link.icon} />}{link.name}+ <span aria-hidden className="ml-auto flex items-center pl-4">+ <ShortcutKey+ shortcut={CREATE_PREFIX}+ variant="small"+ className="ml-0 mr-0.5"+ />+ <ShortcutKey+ shortcut={link.shortcut}+ variant="small"+ className="mx-0"+ />+ </span></Link></DropdownMenuItem>))}diff --git a/apps/erp/app/components/Layout/Topbar/Search.tsx b/apps/erp/app/components/Layout/Topbar/Search.tsxindex da839c3632..101debad50 100644--- a/apps/erp/app/components/Layout/Topbar/Search.tsx+++ b/apps/erp/app/components/Layout/Topbar/Search.tsx@@ -48,7 +48,6 @@ import { SearchEmptyState } from "~/components/Layout/Topbar/Search/SearchEmptySimport { SearchFilterChips } from "~/components/Layout/Topbar/Search/SearchFilterChips";import type { EntityTypeFilter } from "~/components/Layout/Topbar/Search/types";import { useModules, useSettingsModule, useUser } from "~/hooks";-import useAccountSubmodules from "~/modules/account/ui/useAccountSubmodules";import useAccountingSubmodules from "~/modules/accounting/ui/useAccountingSubmodules";import useDocumentsSubmodules from "~/modules/documents/ui/useDocumentsSubmodules";import useInventorySubmodules from "~/modules/inventory/ui/useInventorySubmodules";@@ -582,7 +581,6 @@ function useNavigationItems(): NavigationItem[] {const people = usePeopleSubmodules();const quality = useQualitySubmodules();const resources = useResourcesSubmodules();- const account = useAccountSubmodules();const workflows = useWorkflowsSubmodules();const groupedSubmodules: Record<string,@@ -606,8 +604,7 @@ function useNavigationItems(): NavigationItem[] {resources,settings,users,- workflows,- "my account": account+ workflows};const ungroupedSubmodules: Record<string, { links: Route[] }> = {diff --git a/apps/erp/app/components/Layout/Topbar/Topbar.tsx b/apps/erp/app/components/Layout/Topbar/Topbar.tsxindex 182c92fd64..2935aa78af 100644--- a/apps/erp/app/components/Layout/Topbar/Topbar.tsx+++ b/apps/erp/app/components/Layout/Topbar/Topbar.tsx@@ -9,7 +9,7 @@ import { useUser } from "~/hooks";import AvatarMenu from "../../AvatarMenu";import AskDocs from "./AskDocs";import Breadcrumbs from "./Breadcrumbs";-import CreateMenu from "./CreateMenu";+import CreateMenu, { useCreateShortcuts } from "./CreateMenu";import Notifications from "./Notifications";import Suggestion from "./Suggestion";@@ -17,7 +17,8 @@ const Topbar = () => {const { t } = useLingui();const user = useUser();const notificationsKey = `${user.id}:${user.company.id}`;- // Phones get the MobileAppBar and MobileTabBar instead; returning early+ useCreateShortcuts();+ // Phones get the MobileAppBar and MobileDock instead; returning early// also keeps the notifications subscription and menus from mounting there.const { isPhone } = useViewport();if (isPhone) return null;diff --git a/apps/erp/app/components/MetricCard.tsx b/apps/erp/app/components/MetricCard.tsxindex a8779989f0..ce177da0aa 100644--- a/apps/erp/app/components/MetricCard.tsx+++ b/apps/erp/app/components/MetricCard.tsx@@ -47,16 +47,19 @@ const MetricCard = ({{icon && (<span className="flex-shrink-0 text-muted-foreground">{icon}</span>)}- <CardTitle- className={cn(- "flex-1 min-w-0 line-clamp-none",- // Phones: two lines, so similar labels stay distinguishable; always two- // lines tall, so values line up across a row of tiles.- isPhone ? "line-clamp-2 min-h-[2lh] text-[13px]" : "truncate"- )}- >- {title}- </CardTitle>+ {isPhone ? (+ // Phones: two lines, so similar labels stay distinguishable; always two+ // lines tall, so values line up across a row of tiles. A one-line label+ // is centred in that space, level with the icon and chevron. The box+ // sets the title's own font size and leading so `2lh` is two of its lines.+ <div className="flex flex-1 min-w-0 min-h-[2lh] items-center text-[13px] leading-none">+ <CardTitle className="min-w-0 text-[13px]">{title}</CardTitle>+ </div>+ ) : (+ <CardTitle className="flex-1 min-w-0 line-clamp-none truncate">+ {title}+ </CardTitle>+ )}{to && !isLinkTile && (<Buttonaria-label={linkLabel}diff --git a/apps/erp/app/components/MfaEnrollmentRequired.tsx b/apps/erp/app/components/MfaEnrollmentRequired.tsxindex f890c8d67c..918657266e 100644--- a/apps/erp/app/components/MfaEnrollmentRequired.tsx+++ b/apps/erp/app/components/MfaEnrollmentRequired.tsx@@ -2,6 +2,7 @@// 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 { OtpInput, useTotpEnrollment } from "@carbon/account/ui";import {Alert,AlertDescription,@@ -23,7 +24,6 @@ import {LuSmartphone} from "react-icons/lu";import { Form } from "react-router";-import { OtpInput, useTotpEnrollment } from "~/components/TotpEnrollment";type MfaEnrollmentRequiredProps = {enrollAction: string;diff --git a/apps/erp/app/components/ModuleCard.tsx b/apps/erp/app/components/ModuleCard.tsxindex 407f87d8c0..98b2118a05 100644--- a/apps/erp/app/components/ModuleCard.tsx+++ b/apps/erp/app/components/ModuleCard.tsx@@ -6,7 +6,10 @@ import { PrefetchLink } from "@carbon/react";import { Link } from "react-router";import type { Authenticated, NavItem } from "~/types";-/** A module tile: Home's module grid and the compact Modules sheet. */+/**+ * A module tile in Home's module grid; on phones a full-width card that+ * matches the recent-document cards above it.+ */export const ModuleCard = ({ module }: { module: Authenticated<NavItem> }) => {const Anchor = module.external ? Link : PrefetchLink;return (@@ -15,12 +18,12 @@ export const ModuleCard = ({ module }: { module: Authenticated<NavItem> }) => {{...(module.external? { target: "_blank", rel: "noopener noreferrer" }: {})}- className="flex items-center gap-4 p-4 rounded-lg border border-border group bg-muted/20 hover:border-foreground/20 cursor-pointer transition-colors duration-200 max-md:min-h-[88px] max-md:min-w-0 max-md:flex-col max-md:justify-center max-md:gap-2 max-md:p-3 max-md:bg-card"+ className="flex items-center gap-4 p-4 rounded-lg border border-border group bg-muted/20 hover:border-foreground/20 cursor-pointer transition-colors duration-200 max-md:min-w-0 max-md:gap-3 max-md:rounded-xl max-md:bg-card max-md:active:bg-accent/50">- <div className="shrink-0 p-2.5 rounded-lg border border-border group-hover:border-foreground/20 transition-colors max-md:p-2">- <module.icon className="text-xl" />+ <div className="shrink-0 p-2.5 rounded-lg border border-border group-hover:border-foreground/20 transition-colors max-md:flex max-md:size-10 max-md:items-center max-md:justify-center max-md:border-0 max-md:bg-muted max-md:p-0 max-md:text-muted-foreground">+ <module.icon className="text-xl max-md:text-lg" /></div>- <span className="text-sm py-1 px-4 border border-border rounded-full group-hover:bg-background font-medium tracking-tight transition-colors max-md:max-w-full max-md:truncate max-md:border-0 max-md:p-0 max-md:text-[13px]">+ <span className="text-sm py-1 px-4 border border-border rounded-full group-hover:bg-background font-medium tracking-tight transition-colors max-md:min-w-0 max-md:truncate max-md:border-0 max-md:p-0 max-md:text-[15px]">{module.name}</span></Anchor>diff --git a/apps/erp/app/components/ShortcutHelp.tsx b/apps/erp/app/components/ShortcutHelp.tsxindex a5ab138ca0..6cda536e22 100644--- a/apps/erp/app/components/ShortcutHelp.tsx+++ b/apps/erp/app/components/ShortcutHelp.tsx@@ -8,6 +8,7 @@ import { useLingui } from "@lingui/react/macro";import { useMemo } from "react";import { useModules, useSettingsModule } from "~/hooks";import {+ CREATE_PREFIX,DETAIL_TAB_SHORTCUTS,EXPLORER_SHORTCUTS,MODULE_GO_TO,@@ -16,6 +17,7 @@ import {SHORTCUTS,searchShortcut} from "~/shortcuts";+import { useCreate } from "./Layout/Topbar/CreateMenu";/*** ERP `?` help overlay. Every entry is built from the central shortcut@@ -25,6 +27,7 @@ const ShortcutHelp = () => {const { t } = useLingui();const modules = useModules();const settingsModule = useSettingsModule();+ const createLinks = useCreate();const entries = useMemo<ShortcutHelpEntry[]>(() => {const general = t`General`;@@ -35,6 +38,7 @@ const ShortcutHelp = () => {const documentLines = t`Quotes, orders, invoices and RFQs`;const procedures = t`Procedures and training`;const goTo = t`Go to module`;+ const create = t`Create`;const moduleEntries: ShortcutHelpEntry[] = (settingsModule ? [...modules, settingsModule] : modules@@ -178,9 +182,14 @@ const ShortcutHelp = () => {description: t`Add a parameter (procedures only)`,group: procedures},- ...moduleEntries+ ...moduleEntries,+ ...createLinks.map((link) => ({+ shortcut: [CREATE_PREFIX, link.shortcut],+ description: link.name,+ group: create+ }))];- }, [t, modules, settingsModule]);+ }, [t, modules, settingsModule, createLinks]);return (<ShortcutHelpOverlaydiff --git a/apps/erp/app/modules/account/account.models.ts b/apps/erp/app/modules/account/account.models.tsindex d0276355ba..4ead3a4d65 100644--- a/apps/erp/app/modules/account/account.models.ts+++ b/apps/erp/app/modules/account/account.models.ts@@ -7,6 +7,14 @@ import { NotificationTopic } from "@carbon/notifications";import { z } from "zod";import { zfd } from "zod-form-data";+// Shared with the MES and the starter, which open the same settings modal.+export {+ type AccountSettingsTab,+ accountProfileValidator,+ accountSettingsTabs,+ isAccountSettingsTab+} from "@carbon/account";+export const notificationPreferenceValidator = z.object({topic: z.nativeEnum(NotificationTopic),channel: z.enum(["email", "slack"]),@@ -35,13 +43,6 @@ export const onboardingUserValidator = z.object({next: z.string().min(1, { message: "Next is required" })});-export const accountProfileValidator = z.object({- firstName: z.string().min(1, { message: "First name is required" }),- lastName: z.string().min(1, { message: "Last name is required" }),- about: z.string(),- phone: zfd.text(z.string().optional())-});-export const accountLanguageValidator = z.object({locale: z.enum(supportedLanguages)});diff --git a/apps/erp/app/modules/account/ui/AccountSettings.tsx b/apps/erp/app/modules/account/ui/AccountSettings.tsxnew file mode 100644index 0000000000..7efc2b8f47--- /dev/null+++ b/apps/erp/app/modules/account/ui/AccountSettings.tsx@@ -0,0 +1,104 @@+// 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 {+ AccountSettingsSection,+ AccountSettings as SharedAccountSettings+} from "@carbon/account/ui";+import { Button } from "@carbon/react";+import { Trans } from "@lingui/react/macro";+import { useUser } from "~/hooks";+import { usePlanGate } from "~/hooks/usePlanGate";+import { usePushSubscription } from "~/hooks/usePushSubscription";+import { TwoFactorUpgradeDialog } from "~/modules/settings";+import { path } from "~/utils/path";+import { dismissBrowserNotificationsPrompt } from "~/utils/push";++/**+ * The shared account settings modal, with the two pieces only the ERP has:+ * browser push (its service worker lives on this origin) and the two-factor+ * plan gate.+ */+export default function AccountSettings() {+ const user = useUser();+ const { isGated } = usePlanGate({ feature: "TWO_FACTOR" });++ return (+ <SharedAccountSettings+ api={path.to.api.root}+ user={user}+ companyId={user.company.id}+ renderBrowserNotifications={(publicKey) => (+ <BrowserNotificationsSection publicKey={publicKey} />+ )}+ twoFactor={{+ isGated,+ renderUpgrade: (props) => <TwoFactorUpgradeDialog {...props} />+ }}+ />+ );+}++function BrowserNotificationsSection({ publicKey }: { publicKey: string }) {+ const device = usePushSubscription({ publicKey });++ return (+ <AccountSettingsSection+ title={<Trans>Browser notifications</Trans>}+ description={+ <>+ {device.state === "off" && (+ <Trans>Get your Carbon notifications as they happen.</Trans>+ )}+ {device.state === "on" && (+ <Trans>Browser notifications are on for this browser.</Trans>+ )}+ {device.state === "denied" && (+ <Trans>+ Notifications are blocked for Carbon in this browser's site+ settings.+ </Trans>+ )}+ {device.state === "unsupported" && (+ <Trans>+ This browser does not support push notifications. On iPhone or+ iPad, add Carbon to the Home Screen first.+ </Trans>+ )}+ </>+ }+ action={+ <>+ {device.state === "off" && (+ <Button+ type="button"+ variant="primary"+ onClick={device.turnOn}+ isDisabled={device.busy}+ isLoading={device.busy}+ >+ <Trans>Enable</Trans>+ </Button>+ )}+ {device.state === "on" && (+ <Button+ type="button"+ variant="secondary"+ onClick={async () => {+ // Off for this browser, for everyone: the bell stops+ // offering it too — but only once it is really off.+ if (await device.turnOff()) {+ dismissBrowserNotificationsPrompt({ permanently: true });+ }+ }}+ isDisabled={device.busy}+ >+ <Trans>Disable</Trans>+ </Button>+ )}+ </>+ }+ />+ );+}diff --git a/apps/erp/app/modules/account/ui/Profile/ProfileForm.tsx b/apps/erp/app/modules/account/ui/Profile/ProfileForm.tsxdeleted file mode 100644index a7f9de4440..0000000000--- a/apps/erp/app/modules/account/ui/Profile/ProfileForm.tsx+++ /dev/null@@ -1,80 +0,0 @@-// 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 { ValidatedForm } from "@carbon/form";-import {- Card,- CardContent,- CardFooter,- CardHeader,- CardTitle,- VStack-} from "@carbon/react";-import { Trans, useLingui } from "@lingui/react/macro";-import { useFetcher, useParams } from "react-router";-import { Hidden, Input, PhoneInput, Submit, TextArea } from "~/components/Form";-import { path } from "~/utils/path";-import { accountProfileValidator } from "../../account.models";-import type { Account } from "../../types";-import ProfilePhotoForm from "./ProfilePhotoForm";--type ProfileFormProps = {- user: Account;-};--const ProfileForm = ({ user }: ProfileFormProps) => {- const { t } = useLingui();- const { personId } = useParams();- const isSelf = !personId;- const fetcher = useFetcher<{}>();-- return (- <ValidatedForm- method="post"- action={isSelf ? path.to.profile : path.to.person(personId)}- validator={accountProfileValidator}- defaultValues={{ ...user, phone: user.phone ?? undefined }}- fetcher={fetcher}- className="w-full"- >- <Card>- <CardHeader>- <CardTitle>- <Trans>Profile</Trans>- </CardTitle>- </CardHeader>- <CardContent>- <div className="grid grid-cols-1 md:grid-cols-[1fr_auto] gap-4 w-full">- <VStack spacing={4}>- <Input name="email" label={t`Email`} isDisabled />- <div className="grid grid-cols-1 md:grid-cols-2 gap-4 w-full">- <Input name="firstName" label={t`First Name`} />- <Input name="lastName" label={t`Last Name`} />- </div>- <PhoneInput name="phone" label={t`Phone`} />- <TextArea- name="about"- label={t`About`}- characterLimit={160}- className="my-2"- />- <Hidden name="intent" value="about" />- </VStack>- {/* Phones: the avatar heads the form as the identity header. */}- <div className="contents max-md:block max-md:order-first max-md:justify-self-center">- <ProfilePhotoForm user={user} />- </div>- </div>- </CardContent>- <CardFooter>- <Submit>- <Trans>Save</Trans>- </Submit>- </CardFooter>- </Card>- </ValidatedForm>- );-};--export default ProfileForm;diff --git a/apps/erp/app/modules/account/ui/Profile/index.ts b/apps/erp/app/modules/account/ui/Profile/index.tsindex aab9128165..381f648a56 100644--- a/apps/erp/app/modules/account/ui/Profile/index.ts+++ b/apps/erp/app/modules/account/ui/Profile/index.ts@@ -2,8 +2,6 @@// 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 ProfileForm from "./ProfileForm";import ProfileLanguageForm from "./ProfileLanguageForm";-import ProfilePhotoForm from "./ProfilePhotoForm";-export { ProfileForm, ProfileLanguageForm, ProfilePhotoForm };+export { ProfileLanguageForm };diff --git a/apps/erp/app/modules/account/ui/useAccountSubmodules.tsx b/apps/erp/app/modules/account/ui/useAccountSubmodules.tsxdeleted file mode 100644index 23bcfbdc17..0000000000--- a/apps/erp/app/modules/account/ui/useAccountSubmodules.tsx+++ /dev/null@@ -1,36 +0,0 @@-// 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 { useLingui } from "@lingui/react/macro";-import { CgProfile } from "react-icons/cg";-import { LuBell, LuShieldCheck } from "react-icons/lu";-import type { RouteGroup } from "~/types";-import { path } from "~/utils/path";--export default function useAccountSubmodules() {- const { t } = useLingui();- const accountGroups: RouteGroup[] = [- {- name: t`Account`,- routes: [- {- name: t`Notifications`,- to: path.to.notificationSettings,- icon: <LuBell />- },- {- name: t`Profile`,- to: path.to.profile,- icon: <CgProfile />- },- {- name: t`Security`,- to: path.to.accountSecurity,- icon: <LuShieldCheck />- }- ]- }- ];- return { groups: accountGroups };-}diff --git a/apps/erp/app/modules/inventory/ui/StockTransfers/StockTransfersTable.tsx b/apps/erp/app/modules/inventory/ui/StockTransfers/StockTransfersTable.tsxindex a2dde48815..92b287980a 100644--- a/apps/erp/app/modules/inventory/ui/StockTransfers/StockTransfersTable.tsx+++ b/apps/erp/app/modules/inventory/ui/StockTransfers/StockTransfersTable.tsx@@ -12,7 +12,7 @@ import {} from "@carbon/react";import { Trans, useLingui } from "@lingui/react/macro";import type { ColumnDef } from "@tanstack/react-table";-import { memo, useCallback, useMemo, useState } from "react";+import { memo, useCallback, useEffect, useMemo, useState } from "react";import {LuBookMarked,LuCalendar,@@ -23,7 +23,7 @@ import {LuTrash,LuUser} from "react-icons/lu";-import { useNavigate } from "react-router";+import { useNavigate, useSearchParams } from "react-router";import { DateTime, EmployeeAvatar, Hyperlink, Table } from "~/components";import { Enumerable } from "~/components/Enumerable";import { useLocations } from "~/components/Form/Location";@@ -56,6 +56,26 @@ const StockTransfersTable = memo(const rows = useMemo(() => data, [data]);const [people] = usePeople();+ // `?new` (path.to.stockTransfersNew, the Create menu's target) opens the+ // wizard, then drops the param so a refresh or back doesn't reopen it.+ const [searchParams, setSearchParams] = useSearchParams();+ const { onOpen: openWizard } = wizardDisclosure;+ const canCreate = permissions.can("create", "inventory");+ useEffect(() => {+ if (!searchParams.has("new")) return;+ if (canCreate) {+ clearStockTransferWizard();+ openWizard();+ }+ setSearchParams(+ (prev) => {+ prev.delete("new");+ return prev;+ },+ { replace: true }+ );+ }, [searchParams, setSearchParams, openWizard, canCreate]);+const customColumns = useCustomColumns<StockTransfer>("stockTransfer");const locations = useLocations();diff --git a/apps/erp/app/routes/api+/account.notifications.ts b/apps/erp/app/routes/api+/account.notifications.tsnew file mode 100644index 0000000000..6f2b027289--- /dev/null+++ b/apps/erp/app/routes/api+/account.notifications.ts@@ -0,0 +1,81 @@+// 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 type { AccountNotificationsData } from "@carbon/account";+import { assertIsPost, error } from "@carbon/auth";+import { requirePermissions } from "@carbon/auth/auth.server";+import { getCarbonServiceRole } from "@carbon/auth/client.server";+import { flash } from "@carbon/auth/session.server";+import { companyHasFeature } from "@carbon/ee/plan.server";+import { getVapidDetails } from "@carbon/env/push.server";+import { validationError, validator } from "@carbon/form";+import type { ActionFunctionArgs, LoaderFunctionArgs } from "react-router";+import { data } from "react-router";+import {+ getNotificationPreferences,+ notificationPreferenceValidator,+ upsertNotificationPreference+} from "~/modules/account";++// Data and writes for the Notifications pane of the account settings modal.+export async function loader({ request }: LoaderFunctionArgs) {+ const { client, userId, companyId } = await requirePermissions(request, {});++ const [preferences, slackIntegration, emailPlanEnabled] = await Promise.all([+ getNotificationPreferences(client, userId, companyId),+ // Service role: companyIntegration SELECT requires settings_view, which+ // regular employees don't have.+ getCarbonServiceRole()+ .from("companyIntegration")+ .select("active")+ .eq("companyId", companyId)+ .eq("id", "slack")+ .maybeSingle(),+ companyHasFeature(client, companyId, { feature: "EMAIL_NOTIFICATIONS" })+ ]);++ const pushKeys = getVapidDetails();++ return {+ preferences: preferences.data ?? [],+ slackActive: slackIntegration.data?.active ?? false,+ emailPlanEnabled,+ // Null hides every push control: the deployment has no push keys (no+ // SESSION_SECRET).+ push: pushKeys ? { publicKey: pushKeys.publicKey } : null+ } satisfies AccountNotificationsData;+}++export async function action({ request }: ActionFunctionArgs) {+ assertIsPost(request);+ const { client, userId, companyId } = await requirePermissions(request, {});++ const validation = await validator(notificationPreferenceValidator).validate(+ await request.formData()+ );+ if (validation.error) {+ return validationError(validation.error);+ }++ const { topic, channel, enabled } = validation.data;+ const upsert = await upsertNotificationPreference(client, {+ userId,+ companyId,+ topic,+ channel,+ enabled: enabled === "true"+ });++ if (upsert.error) {+ return data(+ {},+ await flash(+ request,+ error(upsert.error, "Failed to update notification preferences")+ )+ );+ }++ return {};+}diff --git a/apps/erp/app/routes/x+/account+/profile.test.ts b/apps/erp/app/routes/api+/account.profile.test.tssimilarity index 83%rename from apps/erp/app/routes/x+/account+/profile.test.tsrename to apps/erp/app/routes/api+/account.profile.test.tsindex ebf380e618..ab3dc7cb54 100644--- a/apps/erp/app/routes/x+/account+/profile.test.ts+++ b/apps/erp/app/routes/api+/account.profile.test.ts@@ -5,7 +5,7 @@import { requirePermissions } from "@carbon/auth/auth.server";import { beforeEach, describe, expect, it, vi } from "vitest";import { getCurrentUser, updateAvatar } from "~/modules/account";-import { action } from "./profile";+import { action } from "./account.profile";// The photo intent saves the new avatar value, then deletes the photo it// replaced. The order is the point: deleting first and then failing the save@@ -19,8 +19,6 @@ vi.mock("@carbon/auth/session.server", () => ({vi.mock("@carbon/logger", () => ({getLogger: () => ({ error: vi.fn(), info: vi.fn(), warn: vi.fn() })}));-vi.mock("@carbon/react", () => ({ VStack: () => null }));-vi.mock("~/modules/account/ui/Profile", () => ({ ProfileForm: () => null }));vi.mock("~/modules/account", () => ({accountProfileValidator: {},getAccount: vi.fn(),@@ -43,7 +41,7 @@ function postPhoto(path: string) {body.append("intent", "photo");body.append("path", path);return action({- request: new Request("https://erp.example.com/x/account/profile", {+ request: new Request("https://erp.example.com/api/account/profile", {method: "POST",body}),@@ -52,16 +50,6 @@ function postPhoto(path: string) {} as never);}-async function run(path: string) {- try {- await postPhoto(path);- } catch (thrown) {- // The action ends with a thrown redirect, success or not.- return thrown;- }- throw new Error("expected the action to throw a redirect");-}-describe("profile action, photo intent", () => {beforeEach(() => {calls.length = 0;@@ -85,7 +73,7 @@ describe("profile action, photo intent", () => {});it("saves the generated avatar, THEN deletes the photo it replaced", async () => {- await run(GENERATED);+ await postPhoto(GENERATED);expect(calls).toEqual([`update:${GENERATED}`, `remove:${USER_ID}.webp`]);});@@ -93,7 +81,7 @@ describe("profile action, photo intent", () => {vi.mocked(updateAvatar).mockResolvedValue({error: { message: "boom" }} as never);- await run(GENERATED);+ await postPhoto(GENERATED);expect(remove).not.toHaveBeenCalled();});@@ -102,22 +90,22 @@ describe("profile action, photo intent", () => {data: { avatarUrl: "dicebear:croodles-neutral:abc" },error: null} as never);- await run(GENERATED);+ await postPhoto(GENERATED);expect(calls).toEqual([`update:${GENERATED}`]);});it("does not delete a photo the new upload overwrote in place", async () => {- await run(`${USER_ID}.webp`);+ await postPhoto(`${USER_ID}.webp`);expect(calls).toEqual([`update:${USER_ID}.webp`]);});it("removes an old upload with a different extension", async () => {- await run(`${USER_ID}.png`);+ await postPhoto(`${USER_ID}.png`);expect(calls).toEqual([`update:${USER_ID}.png`, `remove:${USER_ID}.webp`]);});it("refuses another user's file and changes nothing", async () => {- await run("someone-else.webp");+ await postPhoto("someone-else.webp");expect(calls).toEqual([]);});});diff --git a/apps/erp/app/routes/x+/account+/profile.tsx b/apps/erp/app/routes/api+/account.profile.tssimilarity index 75%rename from apps/erp/app/routes/x+/account+/profile.tsxrename to apps/erp/app/routes/api+/account.profile.tsindex 787c637043..958af18b74 100644--- a/apps/erp/app/routes/x+/account+/profile.tsx+++ b/apps/erp/app/routes/api+/account.profile.ts@@ -2,20 +2,15 @@// 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 type { AccountProfileData } from "@carbon/account";import { assertIsPost, error, success } from "@carbon/auth";import { requirePermissions } from "@carbon/auth/auth.server";import { flash } from "@carbon/auth/session.server";import { validationError, validator } from "@carbon/form";import { getLogger } from "@carbon/logger";-import { VStack } from "@carbon/react";-import {- isAllowedAvatarValue,- isOwnAvatarUpload,- redirect-} from "@carbon/utils";-import { msg } from "@lingui/core/macro";+import { isAllowedAvatarValue, isOwnAvatarUpload } from "@carbon/utils";import type { ActionFunctionArgs, LoaderFunctionArgs } from "react-router";-import { data, useLoaderData } from "react-router";+import { data } from "react-router";import {accountProfileValidator,getAccount,@@ -23,29 +18,19 @@ import {updateAvatar,updatePublicAccount} from "~/modules/account";-import { ProfileForm } from "~/modules/account/ui/Profile";-import type { Handle } from "~/utils/handle";-import { path } from "~/utils/path";const logger = getLogger("erp", "account-profile");-export const handle: Handle = {- breadcrumb: msg`Profile`,- to: path.to.profile-};-+// Data and writes for the Profile pane of the account settings modal.export async function loader({ request }: LoaderFunctionArgs) {const { client, userId } = await requirePermissions(request, {});const user = await getAccount(client, userId);- if (user.error || !user.data) {- throw redirect(- path.to.authenticatedRoot,- await flash(request, error(user.error, "Failed to get user"))- );+ if (user.error) {+ logger.error("Failed to get user", { userId, error: user.error });}- return { user: user.data };+ return { user: user.data ?? null } satisfies AccountProfileData;}export async function action({ request }: ActionFunctionArgs) {@@ -89,10 +74,7 @@ export async function action({ request }: ActionFunctionArgs) {// A generated avatar, or the user's own upload. Anything else could point// at another user's file.if (!isAllowedAvatarValue(userId, photoPath)) {- throw redirect(- path.to.profile,- await flash(request, error(null, "Invalid avatar path"))- );+ return data({}, await flash(request, error(null, "Invalid avatar path")));}// Only the replaced avatar is needed: the narrow reader, not `select("*")`.@@ -105,8 +87,8 @@ export async function action({ request }: ActionFunctionArgs) {}const avatarUpdate = await updateAvatar(client, userId, photoPath);if (avatarUpdate.error) {- throw redirect(- path.to.profile,+ return data(+ {},await flash(request,error(avatarUpdate.error, "Failed to update avatar")@@ -131,21 +113,8 @@ export async function action({ request }: ActionFunctionArgs) {}}- throw redirect(- path.to.profile,- await flash(request, success("Updated avatar"))- );+ return data({}, await flash(request, success("Updated avatar")));}return null;}--export default function AccountProfile() {- const { user } = useLoaderData<typeof loader>();-- return (- <VStack spacing={4} className="pb-6">- <ProfileForm user={user} />- </VStack>- );-}diff --git a/apps/erp/app/routes/api+/account.security.ts b/apps/erp/app/routes/api+/account.security.tsnew file mode 100644index 0000000000..6e7f97c07a--- /dev/null+++ b/apps/erp/app/routes/api+/account.security.ts@@ -0,0 +1,91 @@+// 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 type { AccountSecurityData, Passkey } from "@carbon/account";+import { assertIsPost, error, success } from "@carbon/auth";+import { requirePermissions } from "@carbon/auth/auth.server";+import { getCarbonServiceRole } from "@carbon/auth/client.server";+import { getTotpFactors } from "@carbon/auth/mfa.server";+import { flash } from "@carbon/auth/session.server";+import type { ActionFunctionArgs, LoaderFunctionArgs } from "react-router";+import { data } from "react-router";++// Data and writes for the Security pane of the account settings modal.+export async function loader({ request }: LoaderFunctionArgs) {+ const { userId } = await requirePermissions(request, {});+ const serviceRole = getCarbonServiceRole();+ const [passkeysResult, totpFactors] = await Promise.all([+ (serviceRole as any)+ .from("passkeyCredential")+ .select("id, credentialName, createdAt, lastUsedAt, backedUp")+ .eq("userId", userId)+ .order("createdAt", { ascending: false }),+ getTotpFactors(userId)+ ]);++ return {+ passkeys: (passkeysResult.data ?? []) as Passkey[],+ totpFactors: totpFactors.filter((f) => f.status === "verified")+ } satisfies AccountSecurityData;+}++export async function action({ request }: ActionFunctionArgs) {+ assertIsPost(request);+ const { userId } = await requirePermissions(request, {});+ const formData = await request.formData();++ if (formData.get("intent") === "deletePasskey") {+ const credentialId = formData.get("credentialId") as string;+ if (!credentialId) {+ return data(error(null, "Missing credentialId"), { status: 400 });+ }++ const serviceRole = getCarbonServiceRole();+ const { error: dbError } = await (serviceRole as any)+ .from("passkeyCredential")+ .delete()+ .eq("id", credentialId)+ .eq("userId", userId);++ if (dbError) {+ return data(+ error(dbError, "Failed to delete passkey"),+ await flash(request, error(dbError, "Failed to delete passkey"))+ );+ }++ return data(success("Passkey removed"));+ }++ if (formData.get("intent") === "renamePasskey") {+ const credentialId = formData.get("credentialId") as string;+ const credentialName = (formData.get("credentialName") as string)?.trim();+ if (!credentialId || !credentialName) {+ return data(error(null, "Missing fields"), { status: 400 });+ }+ if (credentialName.length > 100) {+ return data(error(null, "Passkey name must be 100 characters or fewer"), {+ status: 400+ });+ }++ const serviceRole = getCarbonServiceRole();+ const { error: dbError } = await (serviceRole as any)+ .from("passkeyCredential")+ .update({ credentialName })+ .eq("id", credentialId)+ .eq("userId", userId);++ if (dbError) {+ return data(+ error(dbError, "Failed to rename passkey"),+ await flash(request, error(dbError, "Failed to rename passkey"))+ );+ }++ return data(success("Passkey renamed"));+ }++ return null;+}diff --git a/apps/erp/app/routes/api+/link.ts b/apps/erp/app/routes/api+/link.tsindex 072240b088..eb33b7e16b 100644--- a/apps/erp/app/routes/api+/link.ts+++ b/apps/erp/app/routes/api+/link.ts@@ -140,7 +140,7 @@ export async function loader({ request }: LoaderFunctionArgs) {let redirectTo: string;if (page === "notification-settings") {// Email footer link — no document, but the company-switch below still applies.- redirectTo = path.to.notificationSettings;+ redirectTo = path.to.accountSettings("notifications");} else if (event && documentId) {const link = resolve(event, documentId, documentType ?? undefined);redirectTo = link ?? path.to.authenticatedRoot;diff --git a/apps/erp/app/routes/api+/mcp+/lib/tool-manifest.digest.json b/apps/erp/app/routes/api+/mcp+/lib/tool-manifest.digest.jsonindex cef8291fb2..2b78e7aefe 100644--- a/apps/erp/app/routes/api+/mcp+/lib/tool-manifest.digest.json+++ b/apps/erp/app/routes/api+/mcp+/lib/tool-manifest.digest.json@@ -1404,7 +1404,7 @@{"name":"settings_getAccountsReceivableBillingAddress","classification":"READ","paramCount":0,"schema":"efddc7bd8bbc","response":"7c0b9dc6d441","injectAuth":"companyId","permission":"settings:view","paginates":false},{"name":"settings_getApiKeys","classification":"READ","paramCount":3,"schema":"c61cae75d189","response":"eec810be5b96","injectAuth":"companyId","permission":"users:update","paginates":true,"defaults":"always"},{"name":"settings_getCompanies","classification":"READ","paramCount":0,"schema":"efddc7bd8bbc","response":"207f0b849926","injectAuth":"companyId","permission":"settings:view","paginates":false},- {"name":"settings_getCompany","classification":"READ","paramCount":0,"schema":"efddc7bd8bbc","response":"8abc93835023","injectAuth":"companyId","permission":"settings:view","paginates":false},+ {"name":"settings_getCompany","classification":"READ","paramCount":0,"schema":"efddc7bd8bbc","response":"81a93f0029ec","injectAuth":"companyId","permission":"settings:view","paginates":false},{"name":"settings_getCompanyIntegrations","classification":"READ","paramCount":0,"schema":"efddc7bd8bbc","response":"3a98b34db51d","injectAuth":"companyId","permission":"settings:view","paginates":false},{"name":"settings_getCompanyPlan","classification":"READ","paramCount":0,"schema":"efddc7bd8bbc","response":"none","injectAuth":"companyId","permission":"settings:view","paginates":false},{"name":"settings_getCompanySettings","classification":"READ","paramCount":0,"schema":"efddc7bd8bbc","response":"9e9cbd8bd0e5","injectAuth":"companyId","permission":"settings:view","paginates":false},@@ -1433,7 +1433,7 @@{"name":"settings_getSequences","classification":"READ","paramCount":3,"schema":"c61cae75d189","response":"395e5a595aba","injectAuth":"companyId","permission":"settings:view","paginates":true,"defaults":"always"},{"name":"settings_getSequencesList","classification":"READ","paramCount":1,"schema":"f55836d6d401","response":"8394fbabd845","injectAuth":"companyId","permission":"settings:view","paginates":false},{"name":"settings_getSubsidiaries","classification":"READ","paramCount":0,"schema":"efddc7bd8bbc","response":"577bb278c46e","injectAuth":"companyId","permission":"settings:view","paginates":false},- {"name":"settings_getSubsidiary","classification":"READ","paramCount":0,"schema":"efddc7bd8bbc","response":"9a8cb2196df7","injectAuth":"companyId","permission":"settings:view","paginates":false},+ {"name":"settings_getSubsidiary","classification":"READ","paramCount":0,"schema":"efddc7bd8bbc","response":"ac5d56a91ae0","injectAuth":"companyId","permission":"settings:view","paginates":false},{"name":"settings_getTerms","classification":"READ","paramCount":0,"schema":"efddc7bd8bbc","response":"deb82bb77180","injectAuth":"companyId","permission":"settings:view","paginates":false},{"name":"settings_getWebhook","classification":"READ","paramCount":1,"schema":"3797626bd17e","response":"cb2b17a3252e","injectAuth":"companyId","permission":"settings:view","paginates":false},{"name":"settings_getWebhooks","classification":"READ","paramCount":3,"schema":"c61cae75d189","response":"f236afae1a37","injectAuth":"companyId","permission":"settings:view","paginates":true,"defaults":"always"},diff --git a/apps/erp/app/routes/x+/_index.tsx b/apps/erp/app/routes/x+/_index.tsxindex 29ce3ac0ec..d7780a7f27 100644--- a/apps/erp/app/routes/x+/_index.tsx+++ b/apps/erp/app/routes/x+/_index.tsx@@ -146,6 +146,9 @@ function ImplementationSummary({ data }: { data: ImplementationHubData }) {);}+// Phones show the greeting, Search, the recent documents and the modules as+// full-width cards; creating lives in the dock, and the setup cards wait for+// a wider screen.export default function AppIndexRoute() {const { greeting, agentDismissed } = useLoaderData<typeof loader>();const modules = useModules();@@ -161,16 +164,18 @@ export default function AppIndexRoute() {<div className="max-w-7xl mx-auto p-8 max-md:p-4"><div className="mb-8">{!CONTROLLED_ENVIRONMENT && (- <OnboardAgentWidget dismissed={agentDismissed} />+ <div className="max-md:hidden">+ <OnboardAgentWidget dismissed={agentDismissed} />+ </div>)}<Greetinghour={greeting.hour}pick={greeting.pick}- className="mt-6 mx-auto max-w-[30ch] text-center font-medium max-md:mt-0"+ className="mt-6 mx-auto max-w-[30ch] text-center font-medium max-md:mt-4"/>- <div className="mt-8 flex items-center gap-3">+ <div className="mt-8 flex items-center gap-3 max-md:mt-6"><SearchBar />- {/* Phones create from the Create tab. */}+ {/* Phones create from the dock. */}<div className="contents max-md:hidden"><CreateMenutrigger={@@ -188,11 +193,14 @@ export default function AppIndexRoute() {</div></div></div>- <ImplementationData>- {(data) => <ImplementationSummary data={data} />}- </ImplementationData>- <div className="grid grid-cols-1 lg:grid-cols-3 gap-6 mb-8">- <div className="lg:col-span-1 order-last lg:order-first">+ <div className="max-md:hidden">+ <ImplementationData>+ {(data) => <ImplementationSummary data={data} />}+ </ImplementationData>+ </div>+ {/* Phones space the sections themselves: Recent may be hidden. */}+ <div className="grid grid-cols-1 lg:grid-cols-3 gap-6 mb-8 max-md:gap-0">+ <div className="lg:col-span-1 order-last lg:order-first max-md:order-first">{canEnroll ? (<ImplementationData>{(data) =>@@ -200,7 +208,7 @@ export default function AppIndexRoute() {<enrollFetcher.Formmethod="post"action={path.to.getStartedEnroll}- className="mb-6"+ className="mb-6 max-md:hidden"><SectionLabel><Trans>Implementation Hub</Trans>@@ -238,7 +246,7 @@ export default function AppIndexRoute() {<SectionLabel><Trans>Modules</Trans></SectionLabel>- <div className="grid grid-cols-1 sm:grid-cols-2 gap-4 max-md:grid-cols-3 max-md:gap-3">+ <div className="grid grid-cols-1 sm:grid-cols-2 gap-4 max-md:grid-cols-1 max-md:gap-3">{modules.filter((mod) => mod.key !== "settings").map((module) => (@@ -394,28 +402,31 @@ function RecentlyViewed() {const { documents, remove, loading } = useRecentlyViewed(company.id);const modules = useAllModules();- // Resolve a document's `handle.module` to its module icon straight from the- // `useModules` registry — the single source of truth for module icons. Match- // on the module key OR the second segment of its URL, since item detail pages- // declare `module: "items"` while the registry keys that module `parts`- // (its URL is `/x/items/parts`). Nothing to keep in sync.- const iconForModule = useCallback(- (moduleKey: string): IconType => {+ // Resolve a document's `handle.module` to its module icon and name straight+ // from the `useModules` registry — the single source of truth for module+ // icons. Match on the module key OR the second segment of its URL, since item+ // detail pages declare `module: "items"` while the registry keys that module+ // `parts` (its URL is `/x/items/parts`). Nothing to keep in sync.+ const moduleFor = useCallback(+ (moduleKey: string): { icon: IconType; name?: string } => {const module = modules.find((m) => m.key === moduleKey || m.to.split("/")[2] === moduleKey);- return module?.icon ?? LuFileText;+ return { icon: module?.icon ?? LuFileText, name: module?.name };},[modules]);+ // Phones drop the section altogether until something has been opened.+ const isEmpty = !loading && documents.length === 0;+return (- <>+ <div className={cn("max-md:mb-6", isEmpty && "max-md:hidden")}><SectionLabel><Trans>Recent</Trans></SectionLabel>{loading ? (- <div className="flex flex-col gap-2">+ <div className="flex flex-col gap-2 max-md:gap-3">{Array.from({ length: 4 }).map((_, i) => (<RecentDocumentSkeleton key={i} />))}@@ -431,63 +442,87 @@ function RecentlyViewed() {</CardContent></Card>) : (- <div className="flex flex-col gap-2">- {documents.map((doc) => (- <RecentDocumentRow- key={doc.url}- doc={doc}- icon={iconForModule(doc.module)}- onRemove={() => remove(doc.url)}- />- ))}+ // Phones show the four most recent; the list is newest first.+ <div className="flex flex-col gap-2 max-md:gap-3 max-md:[&>*:nth-child(n+5)]:hidden">+ {documents.map((doc) => {+ const module = moduleFor(doc.module);+ return (+ <RecentDocumentRow+ key={doc.url}+ doc={doc}+ icon={module.icon}+ moduleName={module.name}+ onRemove={() => remove(doc.url)}+ />+ );+ })}</div>)}- </>+ </div>);}-// Mirrors RecentDocumentRow's wrapper (p-3, gap-3, rounded-lg border) and its-// w-9/h-9 rounded-lg icon so the skeleton has the exact same height and-// roundness as a real row.+// Mirrors RecentDocumentRow's wrapper (p-3, gap-3, rounded-lg border; the+// phone card's p-4, rounded-xl and footer line) and its icon tile so the+// skeleton has the exact same height and roundness as a real row.const RecentDocumentSkeleton = () => (- <div className="flex bg-muted/30 items-center gap-3 p-3 rounded-lg border border-border">- <Skeleton className="shrink-0 w-9 h-9 rounded-lg" />- <div className="flex-1 min-w-0 flex flex-col gap-1.5">- <Skeleton className="h-4 w-1/2" />- <Skeleton className="h-3 w-1/3" />+ <div className="flex bg-muted/30 items-center gap-3 p-3 rounded-lg border border-border max-md:flex-col max-md:items-stretch max-md:gap-4 max-md:rounded-xl max-md:p-4">+ <div className="flex min-w-0 items-center gap-3 md:contents">+ <Skeleton className="shrink-0 w-9 h-9 rounded-lg max-md:size-10" />+ <div className="flex-1 min-w-0 flex flex-col gap-1.5">+ <Skeleton className="h-4 w-1/2" />+ <Skeleton className="h-3 w-1/3" />+ </div></div>+ <Skeleton className="hidden h-4 w-2/5 max-md:block" /></div>);+// A row on desktop; on phones a full-width card — the document over a footer+// naming its module and when it was opened.const RecentDocumentRow = ({doc,icon: Icon,+ moduleName,onRemove}: {doc: RecentDocument;icon: IconType;+ moduleName?: string;onRemove: () => void;}) => {const { t } = useLingui();const { locale } = useLocale();+ const viewed = formatRelativeTime(doc.viewedAt, locale);return (<div className="relative group"><PrefetchLinkto={doc.url}- className="flex items-center gap-3 p-3 bg-muted/20 rounded-lg border border-border hover:border-foreground/20 transition-colors"+ className="flex items-center gap-3 p-3 bg-muted/20 rounded-lg border border-border hover:border-foreground/20 transition-colors max-md:flex-col max-md:items-stretch max-md:gap-4 max-md:rounded-xl max-md:bg-card max-md:p-4 max-md:active:bg-accent/50">- <div className="shrink-0 w-9 h-9 rounded-lg flex items-center justify-center bg-muted">- <Icon className="w-4 h-4 text-muted-foreground" />- </div>- <div className="flex-1 min-w-0">- <div className="text-sm font-medium tracking-tight truncate">- {doc.title}+ <div className="flex min-w-0 items-center gap-3 md:contents">+ <div className="shrink-0 w-9 h-9 rounded-lg flex items-center justify-center bg-muted max-md:size-10">+ <Icon className="w-4 h-4 text-muted-foreground" /></div>- <div className="text-xs text-muted-foreground truncate">- {doc.typeLabel ? `${doc.typeLabel} · ` : ""}- {formatRelativeTime(doc.viewedAt, locale)}+ <div className="flex-1 min-w-0 max-md:pr-8">+ <div className="text-sm font-medium tracking-tight truncate max-md:text-[15px]">+ {doc.title}+ </div>+ <div className="text-xs text-muted-foreground truncate max-md:hidden">+ {doc.typeLabel ? `${doc.typeLabel} · ` : ""}+ {viewed}+ </div>+ {doc.typeLabel ? (+ <div className="text-sm text-muted-foreground truncate md:hidden">+ {doc.typeLabel}+ </div>+ ) : null}</div></div>+ <div className="hidden min-w-0 truncate text-sm text-muted-foreground max-md:block">+ {moduleName ? `${moduleName} · ` : ""}+ {viewed}+ </div></PrefetchLink><IconButtonaria-label={t`Remove`}@@ -495,7 +530,7 @@ const RecentDocumentRow = ({variant="ghost"size="sm"onClick={onRemove}- className="absolute right-2 top-1/2 -translate-y-1/2 md:opacity-0 group-hover:opacity-100 transition-opacity"+ className="absolute right-2 top-1/2 -translate-y-1/2 md:opacity-0 group-hover:opacity-100 transition-opacity max-md:top-3 max-md:translate-y-0"/></div>);diff --git a/apps/erp/app/routes/x+/_layout.tsx b/apps/erp/app/routes/x+/_layout.tsxindex 2b6a2292b5..d01a978ef3 100644--- a/apps/erp/app/routes/x+/_layout.tsx+++ b/apps/erp/app/routes/x+/_layout.tsx@@ -66,7 +66,7 @@ import {import {MobileAppBar,MobileBottomChrome,- MobileTabBar+ MobileDock} from "~/components/Layout/Mobile";import MfaEnrollmentRequired from "~/components/MfaEnrollmentRequired";import SessionLockOverlay from "~/components/SessionLockOverlay";@@ -77,6 +77,7 @@ import { useIdle, usePermissions, useRecordRecentlyViewed } from "~/hooks";import { useChangelogPanel } from "~/hooks/useChangelogPanel";import { useTrainingPanel } from "~/hooks/useTrainingPanel";import { getCachedChangelogPanelEntry } from "~/modules/account/account.server";+import AccountSettings from "~/modules/account/ui/AccountSettings";import { AgentRoot } from "~/modules/agent/ui/AgentRoot";import { getOpenClockEntry } from "~/modules/people";import { employeeCompaniesOf, getEmployeeCompanies } from "~/modules/settings";@@ -537,7 +538,7 @@ export default function AuthenticatedRoute() {><PrimaryNavigation /><div className="flex flex-1 flex-col min-w-0 overflow-hidden bg-card md:mt-2 md:mr-2 md:mb-2 md:rounded-2xl md:border md:border-border shadow-md relative z-10">- {/* Phones: app bar on top, tab bar or a page's bottom+ {/* Phones: app bar on top, the dock or a page's bottombar below <main>, in flow. Mounted only on phones sotheir hooks (notifications, sheets) never run ondesktop. */}@@ -553,7 +554,7 @@ export default function AuthenticatedRoute() {</main>{isPhone && (<MobileBottomChrome>- <MobileTabBar />+ <MobileDock /></MobileBottomChrome>)}</div>@@ -571,6 +572,7 @@ export default function AuthenticatedRoute() {/><AgentRoot /><ShortcutHelp />+ <AccountSettings />{companySettings?.timeCardEnabled && (<Suspense fallback={null}><Await resolve={openClockEntry}>diff --git a/apps/erp/app/routes/x+/account+/$tab.tsx b/apps/erp/app/routes/x+/account+/$tab.tsxnew file mode 100644index 0000000000..8dddcc650f--- /dev/null+++ b/apps/erp/app/routes/x+/account+/$tab.tsx@@ -0,0 +1,17 @@+// 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 { redirect, redirectBeforeLoaders } from "@carbon/utils";+import type { LoaderFunctionArgs } from "react-router";+import { isAccountSettingsTab } from "~/modules/account";+import { path } from "~/utils/path";++// Account settings is a modal now. The old pages stay as links into it —+// emails, the MES and the notification bell still point here.+export async function loader({ params }: LoaderFunctionArgs) {+ const tab = isAccountSettingsTab(params.tab) ? params.tab : "profile";+ throw redirect(path.to.accountSettings(tab));+}++export const middleware = [redirectBeforeLoaders(loader)];diff --git a/apps/erp/app/routes/x+/account+/_index.tsx b/apps/erp/app/routes/x+/account+/_index.tsxindex 8d3e9b13c0..55fb5e0aa5 100644--- a/apps/erp/app/routes/x+/account+/_index.tsx+++ b/apps/erp/app/routes/x+/account+/_index.tsx@@ -6,7 +6,7 @@ import { redirect, redirectBeforeLoaders } from "@carbon/utils";import { path } from "~/utils/path";export async function loader() {- throw redirect(path.to.profile);+ throw redirect(path.to.accountSettings("profile"));}export const middleware = [redirectBeforeLoaders(loader)];diff --git a/apps/erp/app/routes/x+/account+/_layout.tsx b/apps/erp/app/routes/x+/account+/_layout.tsxdeleted file mode 100644index 0b86188332..0000000000--- a/apps/erp/app/routes/x+/account+/_layout.tsx+++ /dev/null@@ -1,44 +0,0 @@-// 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 { RecordOutlet, VStack } from "@carbon/react";-import { msg } from "@lingui/core/macro";-import type { MetaFunction } from "react-router";--import { GroupedContentSidebar } from "~/components/Layout";-import { SettingsPage } from "~/components/SettingsPage";-import useAccountSubmodules from "~/modules/account/ui/useAccountSubmodules";-import type { Handle } from "~/utils/handle";-import { path } from "~/utils/path";--export { RouteErrorBoundary as ErrorBoundary } from "@carbon/react/ErrorBoundary";--export const meta: MetaFunction = () => {- return [{ title: "Carbon | My Account" }];-};--function AccountSidebar() {- const { groups } = useAccountSubmodules();- return <GroupedContentSidebar groups={groups} />;-}--export const handle: Handle = {- breadcrumb: msg`Account`,- to: path.to.profile,- module: "account",- sidebar: AccountSidebar-};--export default function AccountRoute() {- return (- <VStack- spacing={0}- className="overflow-y-auto scrollbar-hide h-[calc(100dvh-var(--topbar-height)-var(--content-inset))]"- >- <SettingsPage>- <RecordOutlet />- </SettingsPage>- </VStack>- );-}diff --git a/apps/erp/app/routes/x+/account+/notifications.tsx b/apps/erp/app/routes/x+/account+/notifications.tsxdeleted file mode 100644index 2fa7ebe59c..0000000000--- a/apps/erp/app/routes/x+/account+/notifications.tsx+++ /dev/null@@ -1,320 +0,0 @@-// 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 { assertIsPost, error } from "@carbon/auth";-import { requirePermissions } from "@carbon/auth/auth.server";-import { getCarbonServiceRole } from "@carbon/auth/client.server";-import { flash } from "@carbon/auth/session.server";-import { companyHasFeature } from "@carbon/ee/plan.server";-import { getVapidDetails } from "@carbon/env/push.server";-import { validationError, validator } from "@carbon/form";-import {- getNotificationTopicChannels,- isNotificationTopicEnabledByDefault,- type NotificationPreferenceChannel,- NotificationTopic,- USER_FACING_NOTIFICATION_TOPICS-} from "@carbon/notifications";-import {- Button,- Card,- CardContent,- CardDescription,- CardHeader,- CardTitle,- HStack,- Switch,- VStack-} from "@carbon/react";-import { msg } from "@lingui/core/macro";-import { Trans, useLingui } from "@lingui/react/macro";-import type { ActionFunctionArgs, LoaderFunctionArgs } from "react-router";-import { data, useFetchers, useLoaderData, useSubmit } from "react-router";-import { usePushSubscription } from "~/hooks/usePushSubscription";-import {- getNotificationPreferences,- notificationPreferenceValidator,- upsertNotificationPreference-} from "~/modules/account";-import type { Handle } from "~/utils/handle";-import { path } from "~/utils/path";-import { dismissBrowserNotificationsPrompt } from "~/utils/push";--export const handle: Handle = {- breadcrumb: msg`Notifications`,- to: path.to.notificationSettings-};--type Channel = NotificationPreferenceChannel;--export async function loader({ request }: LoaderFunctionArgs) {- const { client, userId, companyId } = await requirePermissions(request, {});-- const [preferences, slackIntegration, emailPlanEnabled] = await Promise.all([- getNotificationPreferences(client, userId, companyId),- // Service role: companyIntegration SELECT requires settings_view, which- // regular employees don't have.- getCarbonServiceRole()- .from("companyIntegration")- .select("active")- .eq("companyId", companyId)- .eq("id", "slack")- .maybeSingle(),- companyHasFeature(client, companyId, { feature: "EMAIL_NOTIFICATIONS" })- ]);-- const pushKeys = getVapidDetails();-- return {- preferences: preferences.data ?? [],- slackActive: slackIntegration.data?.active ?? false,- emailPlanEnabled,- // Null hides every push control: the deployment has no push keys (no- // SESSION_SECRET).- push: pushKeys ? { publicKey: pushKeys.publicKey } : null- };-}--export async function action({ request }: ActionFunctionArgs) {- assertIsPost(request);- const { client, userId, companyId } = await requirePermissions(request, {});-- const validation = await validator(notificationPreferenceValidator).validate(- await request.formData()- );- if (validation.error) {- return validationError(validation.error);- }-- const { topic, channel, enabled } = validation.data;- const upsert = await upsertNotificationPreference(client, {- userId,- companyId,- topic,- channel,- enabled: enabled === "true"- });-- if (upsert.error) {- return data(- {},- await flash(- request,- error(upsert.error, "Failed to update notification preferences")- )- );- }-- return {};-}--export default function AccountNotifications() {- const { preferences, slackActive, emailPlanEnabled, push } =- useLoaderData<typeof loader>();- const device = usePushSubscription({ publicKey: push?.publicKey ?? null });- const submit = useSubmit();- const fetchers = useFetchers();- const { t } = useLingui();-- // Labels live here rather than @carbon/notifications so Lingui extracts them.- const topicLabels: Record<NotificationTopic, string> = {- [NotificationTopic.Approval]: t`Approvals`,- [NotificationTopic.Changelog]: t`Changelog newsletter`,- [NotificationTopic.General]: t`General`,- [NotificationTopic.Inventory]: t`Inventory`,- [NotificationTopic.Items]: t`Items`,- [NotificationTopic.Job]: t`Jobs`,- [NotificationTopic.Maintenance]: t`Maintenance`,- [NotificationTopic.Purchasing]: t`Purchasing`,- [NotificationTopic.Quality]: t`Quality`,- [NotificationTopic.Quote]: t`Quotes`,- [NotificationTopic.Sales]: t`Sales`,- [NotificationTopic.Suggestion]: t`Suggestions`,- [NotificationTopic.Training]: t`Training`- };-- // No row means the topic's default; in-flight toggles win over loader data.- const isEnabled = (topic: NotificationTopic, channel: Channel) => {- let pending: boolean | undefined;- for (const fetcher of fetchers) {- if (- fetcher.formData?.get("topic") === topic &&- fetcher.formData?.get("channel") === channel- ) {- pending = fetcher.formData.get("enabled") === "true";- }- }- if (pending !== undefined) return pending;- const row = preferences.find(- (p) => p.topic === topic && p.channel === channel- );- return row ? row.enabled : isNotificationTopicEnabledByDefault(topic);- };-- // A cell with a submission in flight is disabled: overlapping upserts for- // the same (topic, channel) would race and last-write-wins in the database.- const isPending = (topic: NotificationTopic, channel: Channel) =>- fetchers.some(- (fetcher) =>- fetcher.state !== "idle" &&- fetcher.formData?.get("topic") === topic &&- fetcher.formData?.get("channel") === channel- );-- const toggle = (- topic: NotificationTopic,- channel: Channel,- next: boolean- ) => {- submit(- { topic, channel, enabled: String(next) },- { method: "post", navigate: false }- );- };-- return (- <VStack spacing={4} className="pb-6">- {push && (- <Card>- <CardHeader>- <HStack className="justify-between">- <div>- <CardTitle>- <Trans>Browser notifications</Trans>- </CardTitle>- <CardDescription>- {device.state === "off" && (- <Trans>Get your Carbon notifications as they happen.</Trans>- )}- {device.state === "on" && (- <Trans>- Browser notifications are on for this browser.- </Trans>- )}- {device.state === "denied" && (- <Trans>- Notifications are blocked for Carbon in this- browser's site settings.- </Trans>- )}- {device.state === "unsupported" && (- <Trans>- This browser does not support push notifications. On- iPhone or iPad, add Carbon to the Home Screen first.- </Trans>- )}- </CardDescription>- </div>- {device.state === "off" && (- <Button- type="button"- variant="primary"- onClick={device.turnOn}- isDisabled={device.busy}- isLoading={device.busy}- >- <Trans>Enable</Trans>- </Button>- )}- {device.state === "on" && (- <Button- type="button"- variant="secondary"- onClick={async () => {- // Off for this browser, for everyone: the bell stops- // offering it too — but only once it is really off.- if (await device.turnOff()) {- dismissBrowserNotificationsPrompt({ permanently: true });- }- }}- isDisabled={device.busy}- >- <Trans>Disable</Trans>- </Button>- )}- </HStack>- </CardHeader>- </Card>- )}- <Card>- <CardHeader>- <CardTitle>- <Trans>Notifications</Trans>- </CardTitle>- <CardDescription>- {slackActive ? (- <Trans>- In-app notifications are always delivered. Choose which topics- also reach you by email or Slack.- </Trans>- ) : (- <Trans>- In-app notifications are always delivered. Choose which topics- also reach you by email.- </Trans>- )}- </CardDescription>- </CardHeader>- <CardContent>- {!emailPlanEnabled && (- <p className="text-sm text-muted-foreground mb-4">- <Trans>- Email notifications are not included in your company's- current plan; email preferences will apply if they are enabled.- </Trans>- </p>- )}- <table className="w-full">- <thead>- <tr className="border-b border-border">- <th className="text-left text-sm font-medium py-2">- <Trans>Topic</Trans>- </th>- <th className="text-center text-sm font-medium py-2 w-24">- <Trans>Email</Trans>- </th>- {slackActive && (- <th className="text-center text-sm font-medium py-2 w-24">- <Trans>Slack</Trans>- </th>- )}- </tr>- </thead>- <tbody>- {USER_FACING_NOTIFICATION_TOPICS.map((topic) => {- const channels = getNotificationTopicChannels(topic);- const cell = (channel: Channel, label: string) => (- <td className="py-3 w-24">- {channels.includes(channel) && (- <div className="flex justify-center">- <Switch- checked={isEnabled(topic, channel)}- disabled={isPending(topic, channel)}- onCheckedChange={(checked) =>- toggle(topic, channel, checked)- }- aria-label={`${topicLabels[topic]} ${label}`}- />- </div>- )}- </td>- );- return (- <tr- key={topic}- className="border-b border-border last:border-0"- >- <td className="text-sm py-3">{topicLabels[topic]}</td>- {cell("email", t`email`)}- {slackActive && cell("slack", t`Slack`)}- </tr>- );- })}- </tbody>- </table>- </CardContent>- </Card>- </VStack>- );-}diff --git a/apps/erp/app/routes/x+/person+/$personId.details.tsx b/apps/erp/app/routes/x+/person+/$personId.details.tsxindex d00ecb9e9c..3c3fe27d59 100644--- a/apps/erp/app/routes/x+/person+/$personId.details.tsx+++ b/apps/erp/app/routes/x+/person+/$personId.details.tsx@@ -2,14 +2,15 @@// 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 { ProfileForm } from "@carbon/account/ui";import { error } from "@carbon/auth";import { requirePermissions } from "@carbon/auth/auth.server";import { flash } from "@carbon/auth/session.server";import { redirect } from "@carbon/utils";import type { LoaderFunctionArgs } from "react-router";import { useLoaderData } from "react-router";+import { useUser } from "~/hooks";import { getAccount } from "~/modules/account";-import { ProfileForm } from "~/modules/account/ui/Profile";import { path } from "~/utils/path";export async function loader({ request, params }: LoaderFunctionArgs) {@@ -36,6 +37,13 @@ export async function loader({ request, params }: LoaderFunctionArgs) {export default function PersonProfileRoute() {const { user } = useLoaderData<typeof loader>();-- return <ProfileForm user={user} />;+ const { company } = useUser();++ return (+ <ProfileForm+ user={user}+ action={path.to.person(user.id)}+ photo={{ action: path.to.api.accountProfile, companyId: company.id }}+ />+ );}diff --git a/apps/erp/app/services/mfa-email.server.ts b/apps/erp/app/services/mfa-email.server.tsindex 11a6425e5f..b602150930 100644--- a/apps/erp/app/services/mfa-email.server.ts+++ b/apps/erp/app/services/mfa-email.server.ts@@ -25,7 +25,7 @@ const EMAIL_BATCH_SIZE = 25;// No shared helper exists for "absolute URL from a path.to.* value" — inline// concatenation is the convention at every call site (~9 of this exact shape).-const SECURITY_URL = `${ERP_URL}${path.to.accountSecurity}`;+const SECURITY_URL = `${ERP_URL}${path.to.accountSettings("security")}`;/*** Announce a newly-turned-on two-factor requirement to every active employee ofdiff --git a/apps/erp/app/shortcuts.ts b/apps/erp/app/shortcuts.tsindex 9ed47e9dcb..b066789096 100644--- a/apps/erp/app/shortcuts.ts+++ b/apps/erp/app/shortcuts.ts@@ -88,5 +88,30 @@ export const MODULE_GO_TO: Record<string, string> = {workflows: "w"};+/**+ * c-then-letter create, from anywhere — the Create menu's items, keyed by a+ * stable id (the menu is filtered by permission, so never by position). `c`+ * rather than `n`: bare `n` is already the list page's New button.+ */+export const CREATE_PREFIX = "c";++export const CREATE_SHORTCUTS = {+ batch: "b",+ customer: "c",+ employee: "e",+ issue: "i",+ job: "j",+ maintenance: "m",+ part: "p",+ pickingList: "l",+ purchaseOrder: "u",+ quote: "q",+ rfq: "r",+ salesOrder: "o",+ stockTransfer: "x",+ supplier: "s",+ warehouseTransfer: "w"+} as const;+/** Leaves the rail's Customize mode without saving. */export const navigationEditCancelShortcut: ShortcutInput = "escape";diff --git a/apps/erp/app/utils/path.ts b/apps/erp/app/utils/path.tsindex c749109210..f7539c69b4 100644--- a/apps/erp/app/utils/path.ts+++ b/apps/erp/app/utils/path.ts@@ -76,6 +76,7 @@ export const path = {accountPassword: `${x}/account/password`,accountPersonal: `${x}/account/personal`,accountSecurity: `${x}/account/security`,+ accountSettings: (tab: string) => `${x}?account=${tab}`,acknowledge: `${x}/acknowledge`,activateGauge: (id: string) =>generatePath(`${x}/quality/gauges/activate/${id}`),@@ -88,6 +89,9 @@ export const path = {apAging: `${x}/reports/ap-aging`,api: {abilities: `${api}/resources/abilities`,+ accountNotifications: `${api}/account/notifications`,+ accountProfile: `${api}/account/profile`,+ accountSecurity: `${api}/account/security`,accounts: `${api}/accounting/accounts`,agentChat: `${api}/agent/chat`,agentFeedback: `${api}/agent/feedback`,@@ -293,6 +297,7 @@ export const path = {generatePath(`${api}/settings/sequence/rollback?table=${table}¤tSequence=${id}`),+ root: api,salesCustomerOverride: `${api}/sales/customer-override`,salesKpi: (key: string) => generatePath(`${api}/sales/kpi/${key}`),salesOrders: `${api}/sales/orders`,@@ -2403,6 +2408,8 @@ export const path = {stockTransferStatus: (id: string) =>generatePath(`${x}/stock-transfer/${id}/status`),stockTransfers: `${x}/inventory/stock-transfers`,+ /** Stock transfers list with the create wizard open (read by `StockTransfersTable`). */+ stockTransfersNew: `${x}/inventory/stock-transfers?new=true`,storageRule: (id: string) =>generatePath(`${x}/inventory/storage-rules/${id}`),storageRuleAssignItem: (itemId: string) =>diff --git a/apps/erp/package.json b/apps/erp/package.jsonindex 7cf3a06e75..43c62ee0dd 100644--- a/apps/erp/package.json+++ b/apps/erp/package.json@@ -7,6 +7,7 @@"@ai-sdk/react": "catalog:","@base-ui-components/react": "1.0.0-rc.0","@carbon/api": "workspace:*",+ "@carbon/account": "workspace:*","@carbon/auth": "workspace:*","@carbon/database": "workspace:*","@carbon/documents": "workspace:*",diff --git a/apps/mes/app/components/MoreSheet.tsx b/apps/mes/app/components/MoreSheet.tsxindex 211ade3dbd..3ff520a58c 100644--- a/apps/mes/app/components/MoreSheet.tsx+++ b/apps/mes/app/components/MoreSheet.tsx@@ -2,6 +2,7 @@// 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 { useAccountSettings } from "@carbon/account";import type { Company } from "@carbon/auth";import { CONTROLLED_ENVIRONMENT } from "@carbon/auth";import {@@ -22,7 +23,6 @@ import {ModalHeader,ModalTitle,NavRailItem,- NavRailLink,Switch,useDisclosure} from "@carbon/react";@@ -195,6 +195,7 @@ export function MoreSheet({pinnedInUser: PinnedInUser | null;}) {const { t } = useLingui();+ const openAccountSettings = useAccountSettings((s) => s.open);const { pathname } = useLocation();const [screen, setScreen] = useState<Screen>({ id: "root" });const [slot, setSlot] = useState<HTMLElement | null>(null);@@ -294,10 +295,13 @@ export function MoreSheet({/>) : (<>- <NavRailLink- to={path.to.accountSettings}+ <NavRailItemicon={<LuUser />}label={t`Account Settings`}+ onClick={() => {+ onOpenChange(false);+ openAccountSettings();+ }}/>{companies.length > 1 && (<NavRailItemdiff --git a/apps/mes/app/components/UserNav.tsx b/apps/mes/app/components/UserNav.tsxindex f0dde0ef50..5664788e1d 100644--- a/apps/mes/app/components/UserNav.tsx+++ b/apps/mes/app/components/UserNav.tsx@@ -2,6 +2,7 @@// 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 { useAccountSettings } from "@carbon/account";import type { Company } from "@carbon/auth";import { CONTROLLED_ENVIRONMENT } from "@carbon/auth";import {@@ -43,7 +44,7 @@ import {LuUser,LuUsers} from "react-icons/lu";-import { Form, Link, useFetcher } from "react-router";+import { Form, useFetcher } from "react-router";import { useUser } from "~/hooks";import type { action } from "~/root";import type { Location } from "~/services/types";@@ -158,6 +159,7 @@ export function UserNav({pinnedInUser}: UserNavProps) {const { isMobile } = useSidebar();+ const openAccountSettings = useAccountSettings((s) => s.open);const {stationName,mode,@@ -217,11 +219,9 @@ export function UserNav({<Trans>Signed in as {stationName}</Trans></DropdownMenuLabel><DropdownMenuSeparator />- <DropdownMenuItem asChild>- <Link to={path.to.accountSettings}>- <DropdownMenuIcon icon={<LuUser />} />- <Trans>Account Settings</Trans>- </Link>+ <DropdownMenuItem onClick={() => openAccountSettings()}>+ <DropdownMenuIcon icon={<LuUser />} />+ <Trans>Account Settings</Trans></DropdownMenuItem><DropdownMenuSeparator />diff --git a/apps/mes/app/routes/x+/_layout.tsx b/apps/mes/app/routes/x+/_layout.tsxindex a94c00944f..b4147946e8 100644--- a/apps/mes/app/routes/x+/_layout.tsx+++ b/apps/mes/app/routes/x+/_layout.tsx@@ -2,11 +2,11 @@// 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 { AccountSettings } from "@carbon/account/ui";import {CarbonEdition,CarbonProvider,CONTROLLED_ENVIRONMENT,- getAppUrl,getCarbon,getCompanies,getUser,@@ -196,8 +196,8 @@ export async function loader({ request, context }: LoaderFunctionArgs) {// A company-less authenticated user (e.g. an enterprise first-run user who// hasn't onboarded) has no MES to enter — MES doesn't host onboarding.// Send them to a terminal screen that links to ERP onboarding, not into- // accountSettings (an ERP /x route that would itself bounce a no-company- // user, i.e. a redirect loop).+ // the ERP's /x routes (which would themselves bounce a no-company user,+ // i.e. a redirect loop).throw redirect(path.to.setupRequired);}@@ -454,7 +454,7 @@ export default function AuthenticatedRoute() {</Trans></p><Button size="lg" className="w-full" asChild>- <a href={`${getAppUrl()}/x/account/profile`}>+ <a href={path.to.erpAccountSecurity}><Trans>Set up in Carbon</Trans></a></Button>@@ -555,6 +555,13 @@ export default function AuthenticatedRoute() {onMoreOpenChange={setMoreOpen}/><ShortcutHelp />+ {user && company?.id && (+ <AccountSettings+ api={path.to.erpApi}+ user={user}+ companyId={company.id}+ />+ )}{timeCardEnabled && (<Suspense fallback={null}><Await resolve={openClockEntry}>diff --git a/apps/mes/app/routes/x+/proxy.$.tsx b/apps/mes/app/routes/x+/proxy.$.tsxindex 31b6500bd7..78b5804622 100644--- a/apps/mes/app/routes/x+/proxy.$.tsx+++ b/apps/mes/app/routes/x+/proxy.$.tsx@@ -2,31 +2,14 @@// 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 { getLogger } from "@carbon/logger";-import type { ActionFunctionArgs } from "react-router";-import { ERP_URL } from "~/utils/path";+import { proxyToErp } from "@carbon/auth/erp-proxy.server";+import type { ActionFunctionArgs, LoaderFunctionArgs } from "react-router";-const log = getLogger("mes");+// The ERP's API routes, reached from the MES: `path.to.erpApi`.+export async function loader({ request, params }: LoaderFunctionArgs) {+ return proxyToErp(request, params["*"]);+}export async function action({ request, params }: ActionFunctionArgs) {- const path = params["*"];-- // Create new headers without host header to avoid connection refused- const headers = new Headers(request.headers);- headers.delete("host");- headers.delete("origin");-- try {- const response = await fetch(`${ERP_URL}/${path}`, {- method: request.method,- body: request.body,- headers,- duplex: "half" // Add duplex option when sending body- } as RequestInit);-- return response;- } catch (error) {- log.error("Proxy request failed", { error });- return new Response("Proxy request failed", { status: 500 });- }+ return proxyToErp(request, params["*"]);}diff --git a/apps/mes/app/utils/path.ts b/apps/mes/app/utils/path.tsindex e3bfac2ad3..794f46edb5 100644--- a/apps/mes/app/utils/path.ts+++ b/apps/mes/app/utils/path.ts@@ -18,7 +18,6 @@ const display = "/display";export const path = {to: {- accountSettings: `${ERP_URL}/x/account`,acknowledge: `${x}/acknowledge`,active: `${x}/active`,addAndIssueMaintenanceDispatchItem: (dispatchId: string) =>@@ -68,6 +67,9 @@ export const path = {displays: display,endOperation: (id: string) => generatePath(`${x}/end/${id}`),endShift: `${x}/end-shift`,+ erpAccountSecurity: `${ERP_URL}/x/account/security`,+ // The ERP's API routes, through the proxy (`x+/proxy.$.tsx`).+ erpApi: `${x}/proxy/api`,file: {// The load-sheet route lives in ERP (like the traveler); MES links to it// cross-origin.diff --git a/apps/mes/package.json b/apps/mes/package.jsonindex b398c76b62..a027383cdc 100644--- a/apps/mes/package.json+++ b/apps/mes/package.json@@ -2,6 +2,7 @@"name": "mes","type": "module","dependencies": {+ "@carbon/account": "workspace:*","@carbon/auth": "workspace:*","@carbon/database": "workspace:*","@carbon/documents": "workspace:*",diff --git a/apps/starter/app/components/AppSidebar.tsx b/apps/starter/app/components/AppSidebar.tsxindex 429b6c7fdb..94cacce53a 100644--- a/apps/starter/app/components/AppSidebar.tsx+++ b/apps/starter/app/components/AppSidebar.tsx@@ -2,6 +2,7 @@// 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 { useAccountSettings } from "@carbon/account";import {Avatar,Collapsible,@@ -357,6 +358,7 @@ export function NavUser({};}) {const { isMobile } = useSidebar();+ const openAccountSettings = useAccountSettings((s) => s.open);return (<SidebarMenu><SidebarMenuItem>@@ -408,7 +410,7 @@ export function NavUser({</DropdownMenuGroup><DropdownMenuSeparator /><DropdownMenuGroup>- <DropdownMenuItem>+ <DropdownMenuItem onClick={() => openAccountSettings()}><DropdownMenuIcon icon={<LuBadgeCheck />} />Account</DropdownMenuItem>diff --git a/apps/starter/app/components/AvatarMenu.tsx b/apps/starter/app/components/AvatarMenu.tsxindex 4f459e34c0..bc61d2dfcb 100644--- a/apps/starter/app/components/AvatarMenu.tsx+++ b/apps/starter/app/components/AvatarMenu.tsx@@ -2,6 +2,7 @@// 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 { useAccountSettings } from "@carbon/account";import {DropdownMenu,DropdownMenuContent,@@ -43,6 +44,7 @@ const AvatarMenu = () => {const fetcher = useFetcher<typeof action>();const [isOpen, setIsOpen] = useState(false);+ const openAccountSettings = useAccountSettings((s) => s.open);const onModeChange = (value: string) => {const parsed = modeValidator.shape.mode.safeParse(value);@@ -68,11 +70,9 @@ const AvatarMenu = () => {</Link></DropdownMenuItem><DropdownMenuSeparator />- <DropdownMenuItem asChild>- <Link to={path.to.accountSettings}>- <DropdownMenuIcon icon={<LuUser />} />- Account Settings- </Link>+ <DropdownMenuItem onClick={() => openAccountSettings()}>+ <DropdownMenuIcon icon={<LuUser />} />+ Account Settings</DropdownMenuItem><DropdownMenuSeparator /><DropdownMenuSub>diff --git a/apps/starter/app/entry.client.tsx b/apps/starter/app/entry.client.tsxindex e361889834..959cae1ae3 100644--- a/apps/starter/app/entry.client.tsx+++ b/apps/starter/app/entry.client.tsx@@ -9,11 +9,11 @@ import {} from "@carbon/auth";import { ensureLoggingConfigured } from "@carbon/logger/config.client";import { OperatingSystemContextProvider } from "@carbon/react";-import { I18nProvider } from "@react-aria/i18n";import posthog from "posthog-js";import { startTransition, useEffect } from "react";import { hydrateRoot } from "react-dom/client";import { HydratedRouter } from "react-router/dom";+import { preloadCatalog } from "~/services/lingui";ensureLoggingConfigured();@@ -30,18 +30,20 @@ function PosthogInit() {return null;}-startTransition(() => {- hydrateRoot(- document,- <OperatingSystemContextProvider- platform={window.navigator.userAgent.includes("Mac") ? "mac" : "windows"}- >- <I18nProvider- locale={navigator.language ?? navigator.languages?.[0] ?? "en-US"}+// Fetch the active language's catalog before hydrating, or a non-en page+// hydrates against an empty catalog and mismatches the server markup.+preloadCatalog(document.documentElement.lang).then(() => {+ startTransition(() => {+ hydrateRoot(+ document,+ <OperatingSystemContextProvider+ platform={+ window.navigator.userAgent.includes("Mac") ? "mac" : "windows"+ }><HydratedRouter />- </I18nProvider>- <PosthogInit />- </OperatingSystemContextProvider>- );+ <PosthogInit />+ </OperatingSystemContextProvider>+ );+ });});diff --git a/apps/starter/app/root.tsx b/apps/starter/app/root.tsxindex 4528b4d840..c37db3c952 100644--- a/apps/starter/app/root.tsx+++ b/apps/starter/app/root.tsx@@ -13,19 +13,24 @@ import {import { formBodyMiddleware } from "@carbon/auth/middleware/form-body.server";import { securityMiddleware } from "@carbon/auth/middleware/security.server";import { validator } from "@carbon/form";+import { LocaleProvider, resolveLanguage } from "@carbon/locale";import { requestIdMiddleware } from "@carbon/logger/middleware.server";+import { createInvalidationMiddleware } from "@carbon/query/cache";import { Button, Heading, Toaster, useMode } from "@carbon/react";import type { Theme } from "@carbon/utils";import {colorSchemeHintScript,+ getPreferenceHeaders,modeValidator,prefetchCacheMiddleware,themes} from "@carbon/utils";import { faviconLinks } from "@carbon/utils/favicon";+import { I18nProvider } from "@react-aria/i18n";+import { QueryClient, QueryClientProvider } from "@tanstack/react-query";import { Analytics } from "@vercel/analytics/react";import type React from "react";-import { useContext } from "react";+import { useContext, useState } from "react";import type {ActionFunctionArgs,LinksFunction,@@ -43,6 +48,7 @@ import {UNSAFE_FrameworkContext,useLoaderData} from "react-router";+import { preloadCatalog, useCatalog } from "~/services/lingui";import { getMode, setMode } from "~/services/mode.server";import Background from "~/styles/background.css?url";import NProgress from "~/styles/nprogress.css?url";@@ -56,7 +62,11 @@ export const middleware = [flashMiddleware,prefetchCacheMiddleware];-export const clientMiddleware = [flashClientMiddleware];+export const clientMiddleware = [+ flashClientMiddleware,+ // After every action, cached API reads (the account settings panes) refetch.+ createInvalidationMiddleware({ getCache: () => window.clientCache })+];export const links: LinksFunction = () => [{ rel: "stylesheet", href: Tailwind },@@ -84,6 +94,12 @@ export async function loader({ request, context }: LoaderFunctionArgs) {SUPABASE_ANON_KEY} = getBrowserEnv();+ // The starter shares the ERP's catalog: the account settings modal and the+ // @carbon/react components it renders are extracted into it.+ const { locale } = getPreferenceHeaders(request);+ const appLanguage = resolveLanguage(locale);+ await preloadCatalog(appLanguage);+return data({env: {@@ -95,6 +111,9 @@ export async function loader({ request, context }: LoaderFunctionArgs) {SUPABASE_URL,SUPABASE_ANON_KEY},+ appLanguage,+ // React Aria formats dates and numbers in the full locale (en-GB).+ locale,...getMode(request),theme: getTheme(request),result: context.get(flashResultContext)@@ -136,12 +155,14 @@ function Document({children,title = "Carbon",mode = "light",- theme = "zinc"+ theme = "zinc",+ lang = "en"}: {children: React.ReactNode;title?: string;mode?: "light" | "dark";theme?: string;+ lang?: string;}) {const nonce = useContext(UNSAFE_FrameworkContext)?.nonce;const selectedTheme = themes.find((t) => t.name === theme) as@@ -174,7 +195,7 @@ function Document({return (<html- lang="en"+ lang={lang}className={`${mode} h-full overflow-x-hidden`}style={themeStyle}>@@ -208,22 +229,48 @@ export default function App() {const loaderData = useLoaderData<typeof loader>();const env = loaderData?.env ?? {};const theme = loaderData?.theme ?? "zinc";+ const appLanguage = loaderData?.appLanguage ?? "en";+ const locale = loaderData?.locale ?? appLanguage;+ const catalog = useCatalog(appLanguage);/* Dark/Light Mode */const mode = useMode();+ // One client for useQuery and for the invalidation middleware, which+ // reaches it as window.clientCache.+ const [queryClient] = useState(() => {+ if (typeof window !== "undefined" && window.clientCache) {+ return window.clientCache;+ }+ const client = new QueryClient({+ defaultOptions: { queries: { refetchOnWindowFocus: false } }+ });+ if (typeof window !== "undefined") {+ window.clientCache = client;+ }+ return client;+ });+return (- <Document mode={mode} theme={theme}>- <Outlet />- <script- // Server render only: on the client the nonce is undefined (and browsers hide it).- nonce={nonce}- suppressHydrationWarning- dangerouslySetInnerHTML={{- __html: `window.env = ${JSON.stringify(env)}`- }}- />- </Document>+ <QueryClientProvider client={queryClient}>+ <LocaleProvider locale={appLanguage} catalog={catalog}>+ {/* Inside the root, so a language change re-renders it with the+ new locale, as in the ERP and MES. */}+ <I18nProvider locale={locale}>+ <Document mode={mode} theme={theme} lang={appLanguage}>+ <Outlet />+ <script+ // Server render only: on the client the nonce is undefined (and browsers hide it).+ nonce={nonce}+ suppressHydrationWarning+ dangerouslySetInnerHTML={{+ __html: `window.env = ${JSON.stringify(env)}`+ }}+ />+ </Document>+ </I18nProvider>+ </LocaleProvider>+ </QueryClientProvider>);}diff --git a/apps/starter/app/routes/x+/_layout.tsx b/apps/starter/app/routes/x+/_layout.tsxindex b4f3b85fad..25ccb080de 100644--- a/apps/starter/app/routes/x+/_layout.tsx+++ b/apps/starter/app/routes/x+/_layout.tsx@@ -2,6 +2,7 @@// 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 { AccountSettings } from "@carbon/account/ui";import {CarbonProvider,getAppUrl,@@ -13,6 +14,7 @@ import {destroyAuthSession,requireAuthSession} from "@carbon/auth/session.server";+import { setClientCompanyId } from "@carbon/query/cache";import { Toaster, useNProgress } from "@carbon/react";import { redirectExternal } from "@carbon/utils";import type {@@ -64,13 +66,22 @@ export async function loader({ request }: LoaderFunctionArgs) {}export default function AuthenticatedRoute() {- const { session } = useLoaderData<typeof loader>();+ const { session, company, user } = useLoaderData<typeof loader>();+ // During render, not in an effect: the cached API reads key on the company.+ setClientCompanyId(company?.id ?? null, user?.id ?? null);useNProgress();return (<CarbonProvider session={session}><Outlet />+ {user && company?.id && (+ <AccountSettings+ api={path.to.erpApi}+ user={user}+ companyId={company.id}+ />+ )}<Toaster position="bottom-right" /></CarbonProvider>);diff --git a/apps/starter/app/routes/x+/proxy.$.tsx b/apps/starter/app/routes/x+/proxy.$.tsxnew file mode 100644index 0000000000..689fc82d37--- /dev/null+++ b/apps/starter/app/routes/x+/proxy.$.tsx@@ -0,0 +1,15 @@+// 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 { proxyToErp } from "@carbon/auth/erp-proxy.server";+import type { ActionFunctionArgs, LoaderFunctionArgs } from "react-router";++// The ERP's API routes, reached from the starter: `path.to.erpApi`.+export async function loader({ request, params }: LoaderFunctionArgs) {+ return proxyToErp(request, params["*"]);+}++export async function action({ request, params }: ActionFunctionArgs) {+ return proxyToErp(request, params["*"]);+}diff --git a/apps/starter/app/services/lingui.ts b/apps/starter/app/services/lingui.tsnew file mode 100644index 0000000000..d440bc2d7e--- /dev/null+++ b/apps/starter/app/services/lingui.ts@@ -0,0 +1,49 @@+// 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 { resolveLanguage } from "@carbon/locale";+import { getLogger } from "@carbon/logger";+import type { Messages } from "@lingui/core";+import { useEffect, useReducer } from "react";++// The .po is compiled by @lingui/vite-plugin into a hashed chunk per locale,+// so the client fetches only the active language, cached immutably — instead+// of the whole catalog riding along in every root loader response.+const loaders = import.meta.glob(+ "../../../../packages/locale/locales/*/erp.po",+ { import: "messages" }+) as Record<string, () => Promise<Messages>>;++const cache = new Map<string, Messages>();+const logger = getLogger("starter", "lingui");++export async function preloadCatalog(locale?: string | null) {+ const language = resolveLanguage(locale);+ if (cache.has(language)) return;+ const load =+ loaders[`../../../../packages/locale/locales/${language}/erp.po`];+ try {+ cache.set(language, load ? await load() : {});+ } catch (err) {+ // A failed chunk fetch (stale deploy hash, flaky network) must not leave+ // the SSR page non-interactive: boot with source strings and retry on the+ // next preload rather than caching the failure.+ logger.error("Failed to load the catalog", { language, error: err });+ }+}++export function getCatalog(locale?: string | null): Messages {+ return cache.get(resolveLanguage(locale)) ?? {};+}++// Switching language re-runs the root loader with a new cookie, but the client+// only preloaded the language it hydrated with — fetch the new one and re-render.+export function useCatalog(locale?: string | null): Messages {+ const language = resolveLanguage(locale);+ const [, rerender] = useReducer((n: number) => n + 1, 0);+ useEffect(() => {+ if (!cache.has(language)) preloadCatalog(language).then(rerender);+ }, [language]);+ return getCatalog(language);+}diff --git a/apps/starter/app/types/global.d.ts b/apps/starter/app/types/global.d.tsnew file mode 100644index 0000000000..47ac1b944e--- /dev/null+++ b/apps/starter/app/types/global.d.ts@@ -0,0 +1,13 @@+// 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 type { QueryClient } from "@tanstack/react-query";++declare global {+ interface Window {+ clientCache: QueryClient;+ }+}++export {};diff --git a/apps/starter/app/utils/path.ts b/apps/starter/app/utils/path.tsindex aa319deab1..15d48cc1a3 100644--- a/apps/starter/app/utils/path.ts+++ b/apps/starter/app/utils/path.ts@@ -13,12 +13,12 @@ const ERP_URL = getAppUrl();export const path = {to: {authenticatedRoot: x,- accountSettings: `${ERP_URL}/x/account`,callback: "/callback",companySwitch: (companyId: string) =>generatePath(`${x}/company/switch/${companyId}`),dashboard: `${ERP_URL}/x`,-+ // The ERP's API routes, through the proxy (`x+/proxy.$.tsx`).+ erpApi: `${x}/proxy/api`,health: "/health",login: "/login",logout: "/logout",diff --git a/apps/starter/package.json b/apps/starter/package.jsonindex 8dfb1c01f8..f90aef79d6 100644--- a/apps/starter/package.json+++ b/apps/starter/package.json@@ -2,20 +2,26 @@"name": "starter","type": "module","dependencies": {+ "@carbon/account": "workspace:*","@carbon/auth": "workspace:*","@carbon/database": "workspace:*","@carbon/documents": "workspace:*","@carbon/form": "workspace:*","@carbon/kv": "workspace:*",+ "@carbon/locale": "workspace:*","@carbon/logger": "workspace:*",+ "@carbon/query": "workspace:*","@carbon/react": "workspace:*","@carbon/utils": "workspace:*","@internationalized/date": "catalog:",+ "@lingui/core": "catalog:",+ "@lingui/react": "catalog:","@react-aria/i18n": "catalog:","@react-router/dev": "catalog:","@react-router/remix-routes-option-adapter": "catalog:","@supabase/functions-js": "catalog:","@supabase/supabase-js": "catalog:",+ "@tanstack/react-query": "catalog:","@tailwindcss/typography": "catalog:","@tailwindcss/vite": "catalog:","@vercel/analytics": "catalog:",diff --git a/docs/content/docs/reference/account.mdx b/docs/content/docs/reference/account.mdxindex 4c711252bc..9019368585 100644--- a/docs/content/docs/reference/account.mdx+++ b/docs/content/docs/reference/account.mdx@@ -3,7 +3,7 @@ title: Your accountdescription: Personal, self-service settings for profile, passkeys and two-factor, notification preferences, theme, and language — separate from company-wide settings.----The **Account** screen manages your profile, credentials, notification preferences, and display settings. These settings affect only your account and require no special permission. Company-wide configuration is under **Settings** and requires administrative access. Open **Account** from your avatar in the top bar.+The **Account settings** window manages your profile, credentials, notification preferences, and display settings. These settings affect only your account and require no special permission. Company-wide configuration is under **Settings** and requires administrative access. Open **Account Settings** from your avatar menu; the window opens over the page you are on, so closing it returns you to where you were.## Profile@@ -44,9 +44,9 @@ For the switches that shape the whole company, see [company settings](/docs/refe<AgentContext>## Internals and troubleshooting-Sidebar sections come from `useAccountSubmodules.tsx:9`; `/x/account` redirects to Profile (`routes/x+/account+/_index.tsx:4`). Profile saves via `updatePublicAccount` (`account.service.ts:161`), self-scoped to the user's own `user` row. Photo uploads are cropped and resized in the browser before upload (`prepareImageUpload` from `@carbon/files/media`). The passkey card renders only when `isAuthProviderEnabled("passkey")` (`security.tsx`); passkey names cap at 100 characters. Notification preferences: absent row = enabled (`notifications.tsx:130`); Slack column gated by `slackActive` (`notifications.tsx:47`); email gated by the `EMAIL_NOTIFICATIONS` plan feature (`notifications.tsx:49, :175`). Theme is a cookie (`theme.tsx`). Attribute self-editing is gated by the self-managed flag (`$userId.attribute.tsx:48`).+Account settings is a modal from the `@carbon/account` package (`packages/account`), mounted once in the ERP, MES and starter shells and opened through `useAccountSettings().open(tab)`. Each pane reads an ERP API route with `useLoaderQuery` (`api+/account.profile.ts`, `account.notifications.ts`, `account.security.ts`), which also hold the actions; the MES and the starter reach them through their `/x/proxy` route. `?account=<tab>` on any `/x` URL opens it, and the old `/x/account`, `/x/account/<tab>` URLs redirect there (`routes/x+/account+/$tab.tsx`), so links in emails keep working. Profile saves via `updatePublicAccount` (`account.service.ts:161`), self-scoped to the user's own `user` row. Photo uploads are cropped and resized in the browser before upload (`prepareImageUpload` from `@carbon/files/media`). The passkey card renders only when `isAuthProviderEnabled("passkey")` (`packages/account/src/ui/SecuritySettings.tsx`); passkey names cap at 100 characters. Notification preferences: absent row = enabled (`packages/account/src/ui/NotificationSettings.tsx`); Slack column gated by `slackActive` and email gated by the `EMAIL_NOTIFICATIONS` plan feature (both from `api+/account.notifications.ts`). Theme is a cookie (`theme.tsx`). Attribute self-editing is gated by the self-managed flag (`$userId.attribute.tsx:48`).-### Can't change your email from the Account screen+### Can't change your email from Account settingsThe field is deliberately read-only. Email is the sign-in identity and the notification address; changing it is an identity change handled outside self-service.### There's no password to changediff --git a/lingui.config.js b/lingui.config.jsindex e1499a26b7..a6bddc416f 100644--- a/lingui.config.js+++ b/lingui.config.js@@ -24,6 +24,7 @@ export default defineConfig({"packages/printing/src/ui","docs/content/src/glossary","packages/onboarding/src",+ "packages/account/src","packages/ee/src/workflows"],exclude: ["**/*.server.*", "**/*.test.*", "**/*.spec.*"]@@ -34,7 +35,8 @@ export default defineConfig({"apps/mes/app","packages/react/src","packages/form/src",- "packages/printing/src/ui"+ "packages/printing/src/ui",+ "packages/account/src"],exclude: ["**/*.server.*", "**/*.test.*", "**/*.spec.*"]}diff --git a/packages/account/AGENTS.md b/packages/account/AGENTS.mdnew file mode 100644index 0000000000..6cc8ee5f9c--- /dev/null+++ b/packages/account/AGENTS.md@@ -0,0 +1,42 @@+# @carbon/account++The account settings modal — Profile, Notifications, Security — shared by the ERP, the MES+and the starter. Each app mounts it once in its shell; it opens over any page.++## Always++- **Use the two-export structure**: `@carbon/account` (client-safe: `accountSettingsTabs`,+ `isAccountSettingsTab`, `accountProfileValidator`, the `useAccountSettings` store, the+ response types) and `@carbon/account/ui` (`AccountSettings`, `AccountSettingsPane` /+ `AccountSettingsSection`, `ProfileForm`, `OtpInput` / `useTotpEnrollment`).+- **The ERP owns the data.** Loaders and actions live in the ERP's+ `routes/api+/account.{profile,notifications,security}.ts` (plus `mfa.*` and+ `passkey.register.*`). The MES and the starter reach them through their `x+/proxy.$.tsx`+ route (`proxyToErp`, `@carbon/auth/erp-proxy.server`), so the package never ships a copy.+ The ERP loaders end in `satisfies Account*Data` — change a response shape in `types.ts`+ and the route together.+- **Open it through the store**: `useAccountSettings((s) => s.open)(tab?)`. `?account=<tab>`+ on any URL also opens it (the host drops the param at once); the ERP's old+ `/x/account/<tab>` pages redirect to `/x?account=<tab>`.+- **Mount with the app's config** (`AccountSettingsConfig`, `src/ui/context.tsx`): `api`+ (`/api` in the ERP, `/x/proxy/api` elsewhere), `user`, `companyId`. Only the ERP passes+ `renderBrowserNotifications` (the push service worker is on its origin) and `twoFactor`+ (the plan gate + upgrade dialog) — see `apps/erp/app/modules/account/ui/AccountSettings.tsx`.+- 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+ and mes catalogs (`lingui.config.js`), and the starter loads the erp catalog.++## Never++- Import from an app (`~/…`). Anything app-specific comes in through `AccountSettingsConfig`+ or a prop.+- Make `ProfileForm` depend on the modal's context — the ERP's person page renders it+ outside the modal (`photo` and `action` are props for that reason).++## Validation Commands++```bash+pnpm --filter @carbon/account typecheck+pnpm exec turbo run typecheck --filter=erp --filter=mes --filter=starter+```diff --git a/packages/account/CLAUDE.md b/packages/account/CLAUDE.mdnew file mode 100644index 0000000000..43c994c2d3--- /dev/null+++ b/packages/account/CLAUDE.md@@ -0,0 +1 @@diff --git a/packages/account/package.json b/packages/account/package.jsonnew file mode 100644index 0000000000..768ad2805b--- /dev/null+++ b/packages/account/package.json@@ -0,0 +1,42 @@+{+ "name": "@carbon/account",+ "version": "0.0.0",+ "type": "module",+ "private": true,+ "sideEffects": false,+ "exports": {+ ".": "./src/index.ts",+ "./ui": "./src/ui/index.ts"+ },+ "dependencies": {+ "@carbon/auth": "workspace:*",+ "@carbon/database": "workspace:*",+ "@carbon/files": "workspace:*",+ "@carbon/form": "workspace:*",+ "@carbon/logger": "workspace:*",+ "@carbon/notifications": "workspace:*",+ "@carbon/query": "workspace:*",+ "@carbon/react": "workspace:*",+ "@carbon/utils": "workspace:*",+ "@lingui/core": "catalog:",+ "@lingui/react": "catalog:",+ "@simplewebauthn/browser": "^13.3.0",+ "react": "catalog:",+ "react-icons": "catalog:",+ "react-router": "catalog:",+ "zod": "catalog:",+ "zod-form-data": "catalog:",+ "zustand": "catalog:"+ },+ "devDependencies": {+ "@carbon/config": "workspace:*",+ "@types/react": "catalog:",+ "rimraf": "catalog:",+ "typescript": "catalog:"+ },+ "scripts": {+ "clean": "rimraf .turbo node_modules dist",+ "lint": "biome lint --write ",+ "typecheck": "tsgo --noEmit"+ }+}diff --git a/packages/account/src/index.ts b/packages/account/src/index.tsnew file mode 100644index 0000000000..58a71267be--- /dev/null+++ b/packages/account/src/index.ts@@ -0,0 +1,7 @@+// 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.++export * from "./models";+export * from "./store";+export type * from "./types";diff --git a/packages/account/src/models.ts b/packages/account/src/models.tsnew file mode 100644index 0000000000..136509c5c5--- /dev/null+++ b/packages/account/src/models.ts@@ -0,0 +1,29 @@+// 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 { z } from "zod";+import { zfd } from "zod-form-data";++// The panes of the account settings modal. `?account=<tab>` on any URL of an+// app that mounts the modal opens it there.+export const accountSettingsTabs = [+ "profile",+ "notifications",+ "security"+] as const;++export type AccountSettingsTab = (typeof accountSettingsTabs)[number];++export function isAccountSettingsTab(+ value: string | null | undefined+): value is AccountSettingsTab {+ return accountSettingsTabs.some((tab) => tab === value);+}++export const accountProfileValidator = z.object({+ firstName: z.string().min(1, { message: "First name is required" }),+ lastName: z.string().min(1, { message: "Last name is required" }),+ about: z.string(),+ phone: zfd.text(z.string().optional())+});diff --git a/packages/account/src/store.ts b/packages/account/src/store.tsnew file mode 100644index 0000000000..e91404ee5e--- /dev/null+++ b/packages/account/src/store.ts@@ -0,0 +1,20 @@+// 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 { create } from "zustand";+import type { AccountSettingsTab } from "./models";++type AccountSettingsStore = {+ /** The open pane; null while the modal is closed. */+ tab: AccountSettingsTab | null;+ open: (tab?: AccountSettingsTab) => void;+ close: () => void;+};++/** Opens the account settings modal from anywhere in an app that mounts it. */+export const useAccountSettings = create<AccountSettingsStore>()((set) => ({+ tab: null,+ open: (tab = "profile") => set({ tab }),+ close: () => set({ tab: null })+}));diff --git a/packages/account/src/types.ts b/packages/account/src/types.tsnew file mode 100644index 0000000000..d1e49fd900--- /dev/null+++ b/packages/account/src/types.ts@@ -0,0 +1,54 @@+// 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 type { Database } from "@carbon/database";++export type Account = Database["public"]["Tables"]["user"]["Row"];++/**+ * What the ERP's account API routes return. The ERP loaders are typed against+ * these, so the panes and the routes cannot drift; the MES and the starter+ * read the same routes through their proxy.+ */+export type AccountProfileData = { user: Account | null };++export type AccountNotificationsData = {+ preferences: Pick<+ Database["public"]["Tables"]["notificationPreference"]["Row"],+ "topic" | "channel" | "enabled"+ >[];+ slackActive: boolean;+ emailPlanEnabled: boolean;+ /** Null hides every push control: the deployment has no push keys. */+ push: { publicKey: string } | null;+};++export type Passkey = {+ id: string;+ credentialName: string;+ createdAt: string;+ lastUsedAt: string | null;+ backedUp: boolean;+};++export type AccountTotpFactor = {+ id: string;+ friendlyName: string | null;+ status: "verified" | "unverified";+ createdAt: string;+};++export type AccountSecurityData = {+ passkeys: Passkey[];+ totpFactors: AccountTotpFactor[];+};++/** The signed-in user, as each app's shell already has it. */+export type AccountSettingsUser = {+ id: string;+ firstName: string;+ lastName: string;+ email: string;+ avatarUrl: string | null;+};diff --git a/packages/account/src/ui/AccountAvatar.tsx b/packages/account/src/ui/AccountAvatar.tsxnew file mode 100644index 0000000000..e24128486e--- /dev/null+++ b/packages/account/src/ui/AccountAvatar.tsx@@ -0,0 +1,24 @@+// 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 { SUPABASE_URL } from "@carbon/auth";+import type { AvatarProps } from "@carbon/react";+import { Avatar } from "@carbon/react";+import { avatarSrc } from "@carbon/utils";++/** `avatarUrl` is a generated avatar or a path in the public avatars bucket. */+export default function AccountAvatar({+ path,+ ...props+}: AvatarProps & { path: string | null | undefined }) {+ return (+ <Avatar+ src={avatarSrc(+ path,+ (value) => `${SUPABASE_URL}/storage/v1/object/public/avatars/${value}`+ )}+ {...props}+ />+ );+}diff --git a/packages/account/src/ui/AccountSettings.tsx b/packages/account/src/ui/AccountSettings.tsxnew file mode 100644index 0000000000..fe5a861e1a--- /dev/null+++ b/packages/account/src/ui/AccountSettings.tsx@@ -0,0 +1,151 @@+// 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 {+ Button,+ cn,+ Modal,+ ModalContent,+ ModalTitle,+ Subheading+} from "@carbon/react";+import { Trans, useLingui } from "@lingui/react/macro";+import type { ReactElement } from "react";+import { useEffect } from "react";+import { CgProfile } from "react-icons/cg";+import { LuBell, LuShieldCheck } from "react-icons/lu";+import { useSearchParams } from "react-router";+import type { AccountSettingsTab } from "../models";+import { isAccountSettingsTab } from "../models";+import { useAccountSettings } from "../store";+import AccountAvatar from "./AccountAvatar";+import type { AccountSettingsConfig } from "./context";+import { AccountSettingsProvider, useAccountSettingsConfig } from "./context";+import NotificationSettings from "./NotificationSettings";+import ProfileSettings from "./ProfileSettings";+import SecuritySettings from "./SecuritySettings";++const PANES: Record<AccountSettingsTab, () => ReactElement> = {+ profile: ProfileSettings,+ notifications: NotificationSettings,+ security: SecuritySettings+};++/**+ * The account settings modal, mounted once in an app's shell so it opens over+ * any page: `useAccountSettings().open(tab)`. A `?account=<tab>` link opens it+ * too — the ERP's old /x/account/* pages redirect to one.+ */+export default function AccountSettings(config: AccountSettingsConfig) {+ const tab = useAccountSettings((s) => s.tab);+ const openAccountSettings = useAccountSettings((s) => s.open);+ const [searchParams, setSearchParams] = useSearchParams();+ const linkedTab = searchParams.get("account");++ // The param only opens the modal; it is dropped at once, so closing the+ // modal and reloading the page do not fight over it.+ useEffect(() => {+ if (linkedTab === null) return;+ if (isAccountSettingsTab(linkedTab)) openAccountSettings(linkedTab);+ setSearchParams(+ (prev) => {+ prev.delete("account");+ return prev;+ },+ { replace: true, preventScrollReset: true }+ );+ }, [linkedTab, openAccountSettings, setSearchParams]);++ if (!tab) return null;+ return (+ <AccountSettingsProvider value={config}>+ <AccountSettingsModal tab={tab} />+ </AccountSettingsProvider>+ );+}++function AccountSettingsModal({ tab }: { tab: AccountSettingsTab }) {+ const { t } = useLingui();+ const { user } = useAccountSettingsConfig();+ const openAccountSettings = useAccountSettings((s) => s.open);+ const closeAccountSettings = useAccountSettings((s) => s.close);+ const name = `${user.firstName} ${user.lastName}`;++ const tabs: { id: AccountSettingsTab; name: string; icon: ReactElement }[] = [+ { id: "profile", name: t`Profile`, icon: <CgProfile /> },+ { id: "notifications", name: t`Notifications`, icon: <LuBell /> },+ { id: "security", name: t`Security`, icon: <LuShieldCheck /> }+ ];+ const Pane = PANES[tab];++ return (+ <Modal+ open+ onOpenChange={(open) => {+ if (!open) closeAccountSettings();+ }}+ >+ <ModalContent+ size="xxlarge"+ aria-describedby={undefined}+ className={cn(+ "gap-0 p-0 overflow-hidden max-w-5xl h-[min(760px,calc(100dvh-4rem))] md:flex-row",+ "max-md:h-[calc(100dvh-env(safe-area-inset-top)-12px)] max-md:max-h-none max-md:pt-4"+ )}+ >+ {/* The sidebar is the visible chrome; the title is for screen readers. */}+ <ModalTitle className="sr-only">+ <Trans>Account settings</Trans>+ </ModalTitle>+ <aside className="flex shrink-0 flex-col gap-4 border-border bg-muted/40 px-3 py-4 md:w-60 md:border-r max-md:border-b max-md:pb-2">+ <div className="flex min-w-0 items-center gap-3 px-2 max-md:pr-12">+ <AccountAvatar size="md" path={user.avatarUrl} name={name} />+ <div className="min-w-0">+ <p className="truncate text-sm font-medium">{name}</p>+ <p className="truncate text-xs text-muted-foreground">+ {user.email}+ </p>+ </div>+ </div>+ <nav+ aria-label={t`Account settings`}+ className="flex flex-col gap-0.5 max-md:flex-row max-md:overflow-x-auto max-md:scrollbar-hide"+ >+ <Subheading+ as="h4"+ variant="light"+ className="px-2 py-1 max-md:hidden"+ >+ <Trans>Account</Trans>+ </Subheading>+ {tabs.map((item) => {+ const active = item.id === tab;+ return (+ <Button+ key={item.id}+ type="button"+ leftIcon={item.icon}+ variant={active ? "active" : "ghost"}+ aria-current={active ? "page" : undefined}+ onClick={() => openAccountSettings(item.id)}+ className={cn(+ "justify-start shrink-0",+ active+ ? "shadow-none dark:shadow-button-base"+ : "hover:bg-transparent hover:text-active-foreground hover:scale-100 focus-visible:scale-100"+ )}+ >+ {item.name}+ </Button>+ );+ })}+ </nav>+ </aside>+ <section className="min-h-0 min-w-0 flex-1 overflow-y-auto px-8 py-9 scrollbar-thin scrollbar-track-transparent scrollbar-thumb-accent max-md:px-4 max-md:py-4">+ <Pane />+ </section>+ </ModalContent>+ </Modal>+ );+}diff --git a/packages/account/src/ui/AccountSettingsLayout.tsx b/packages/account/src/ui/AccountSettingsLayout.tsxnew file mode 100644index 0000000000..30646f29f4--- /dev/null+++ b/packages/account/src/ui/AccountSettingsLayout.tsx@@ -0,0 +1,69 @@+// 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 { cn } from "@carbon/react";+import type { ReactNode } from "react";++/**+ * The flat layout of an account settings pane: a heading, then sections split+ * by hairlines. No cards — the modal is already the container.+ */+export function AccountSettingsPane({+ title,+ description,+ children+}: {+ title: ReactNode;+ description?: ReactNode;+ children: ReactNode;+}) {+ return (+ <div className="flex w-full flex-col gap-6 pb-6">+ {/* Right padding keeps the heading clear of the modal's close button. */}+ <div className="flex flex-col gap-1 pr-10">+ <h2 className="text-lg font-semibold tracking-tight">{title}</h2>+ {description && (+ <p className="text-sm text-muted-foreground">{description}</p>+ )}+ </div>+ {children}+ </div>+ );+}++export function AccountSettingsSection({+ title,+ description,+ action,+ className,+ children+}: {+ title?: ReactNode;+ description?: ReactNode;+ action?: ReactNode;+ className?: string;+ children?: ReactNode;+}) {+ return (+ <section+ className={cn(+ "flex flex-col gap-4 border-t border-border pt-6",+ className+ )}+ >+ {(title || action) && (+ <div className="flex items-start justify-between gap-4 max-md:flex-col max-md:items-stretch">+ <div className="flex min-w-0 flex-col gap-1">+ {title && <h3 className="text-sm font-medium">{title}</h3>}+ {description && (+ <p className="text-sm text-muted-foreground">{description}</p>+ )}+ </div>+ {action && <div className="shrink-0">{action}</div>}+ </div>+ )}+ {children}+ </section>+ );+}diff --git a/packages/account/src/ui/AccountSettingsSkeleton.tsx b/packages/account/src/ui/AccountSettingsSkeleton.tsxnew file mode 100644index 0000000000..7dad1e4906--- /dev/null+++ b/packages/account/src/ui/AccountSettingsSkeleton.tsx@@ -0,0 +1,14 @@+// 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 { Skeleton, VStack } from "@carbon/react";++const AccountSettingsSkeleton = () => (+ <VStack spacing={4} className="w-full" aria-busy>+ <Skeleton className="h-40 w-full rounded-xl" />+ <Skeleton className="h-64 w-full rounded-xl" />+ </VStack>+);++export default AccountSettingsSkeleton;diff --git a/apps/erp/app/modules/account/ui/Profile/GeneratedAvatarPicker.tsx b/packages/account/src/ui/GeneratedAvatarPicker.tsxsimilarity index 99%rename from apps/erp/app/modules/account/ui/Profile/GeneratedAvatarPicker.tsxrename to packages/account/src/ui/GeneratedAvatarPicker.tsxindex 0f62d77497..fd6bb15995 100644--- a/apps/erp/app/modules/account/ui/Profile/GeneratedAvatarPicker.tsx+++ b/packages/account/src/ui/GeneratedAvatarPicker.tsx@@ -4,6 +4,7 @@import {Button,+ ColorPicker,cn,HStack,Modal,@@ -33,7 +34,6 @@ import {import { Trans, useLingui } from "@lingui/react/macro";import { useState } from "react";import { LuShuffle } from "react-icons/lu";-import { ColorPicker } from "~/components/ColorPicker";const OPTION_COUNT = 12;diff --git a/packages/account/src/ui/NotificationSettings.tsx b/packages/account/src/ui/NotificationSettings.tsxnew file mode 100644index 0000000000..906fdf2da0--- /dev/null+++ b/packages/account/src/ui/NotificationSettings.tsx@@ -0,0 +1,198 @@+// 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 {+ getNotificationTopicChannels,+ isNotificationTopicEnabledByDefault,+ type NotificationPreferenceChannel,+ NotificationTopic,+ USER_FACING_NOTIFICATION_TOPICS+} from "@carbon/notifications";+import { useLoaderQuery } from "@carbon/query";+import { Switch } from "@carbon/react";+import { Trans, useLingui } from "@lingui/react/macro";+import { useFetchers, useSubmit } from "react-router";+import type { AccountNotificationsData } from "../types";+import {+ AccountSettingsPane,+ AccountSettingsSection+} from "./AccountSettingsLayout";+import AccountSettingsSkeleton from "./AccountSettingsSkeleton";+import { useAccountEndpoints, useAccountSettingsConfig } from "./context";++type Channel = NotificationPreferenceChannel;++export default function NotificationSettings() {+ const endpoints = useAccountEndpoints();+ const { data } = useLoaderQuery<AccountNotificationsData>(+ endpoints.notifications+ );++ return (+ <AccountSettingsPane+ title={<Trans>Notifications</Trans>}+ description={<Trans>Choose how Carbon reaches you.</Trans>}+ >+ {data ? (+ <NotificationSettingsForm {...data} />+ ) : (+ <AccountSettingsSkeleton />+ )}+ </AccountSettingsPane>+ );+}++function NotificationSettingsForm({+ preferences,+ slackActive,+ emailPlanEnabled,+ push+}: AccountNotificationsData) {+ const { renderBrowserNotifications } = useAccountSettingsConfig();+ const endpoints = useAccountEndpoints();+ const submit = useSubmit();+ const fetchers = useFetchers();+ const { t } = useLingui();++ // Labels live here rather than @carbon/notifications so Lingui extracts them.+ const topicLabels: Record<NotificationTopic, string> = {+ [NotificationTopic.Approval]: t`Approvals`,+ [NotificationTopic.Changelog]: t`Changelog newsletter`,+ [NotificationTopic.General]: t`General`,+ [NotificationTopic.Inventory]: t`Inventory`,+ [NotificationTopic.Items]: t`Items`,+ [NotificationTopic.Job]: t`Jobs`,+ [NotificationTopic.Maintenance]: t`Maintenance`,+ [NotificationTopic.Purchasing]: t`Purchasing`,+ [NotificationTopic.Quality]: t`Quality`,+ [NotificationTopic.Quote]: t`Quotes`,+ [NotificationTopic.Sales]: t`Sales`,+ [NotificationTopic.Suggestion]: t`Suggestions`,+ [NotificationTopic.Training]: t`Training`+ };++ // No row means the topic's default; in-flight toggles win over loader data.+ const isEnabled = (topic: NotificationTopic, channel: Channel) => {+ let pending: boolean | undefined;+ for (const fetcher of fetchers) {+ if (+ fetcher.formData?.get("topic") === topic &&+ fetcher.formData?.get("channel") === channel+ ) {+ pending = fetcher.formData.get("enabled") === "true";+ }+ }+ if (pending !== undefined) return pending;+ const row = preferences.find(+ (p) => p.topic === topic && p.channel === channel+ );+ return row ? row.enabled : isNotificationTopicEnabledByDefault(topic);+ };++ // A cell with a submission in flight is disabled: overlapping upserts for+ // the same (topic, channel) would race and last-write-wins in the database.+ const isPending = (topic: NotificationTopic, channel: Channel) =>+ fetchers.some(+ (fetcher) =>+ fetcher.state !== "idle" &&+ fetcher.formData?.get("topic") === topic &&+ fetcher.formData?.get("channel") === channel+ );++ const toggle = (+ topic: NotificationTopic,+ channel: Channel,+ next: boolean+ ) => {+ submit(+ { topic, channel, enabled: String(next) },+ {+ method: "post",+ action: endpoints.notifications,+ navigate: false+ }+ );+ };++ return (+ <>+ {push && renderBrowserNotifications?.(push.publicKey)}+ <AccountSettingsSection+ title={<Trans>Topics</Trans>}+ description={+ slackActive ? (+ <Trans>+ In-app notifications are always delivered. Choose which topics+ also reach you by email or Slack.+ </Trans>+ ) : (+ <Trans>+ In-app notifications are always delivered. Choose which topics+ also reach you by email.+ </Trans>+ )+ }+ >+ <div>+ {!emailPlanEnabled && (+ <p className="text-sm text-muted-foreground mb-4">+ <Trans>+ Email notifications are not included in your company's+ current plan; email preferences will apply if they are enabled.+ </Trans>+ </p>+ )}+ <table className="w-full">+ <thead>+ <tr className="border-b border-border">+ <th className="text-left text-sm font-medium py-2">+ <Trans>Topic</Trans>+ </th>+ <th className="text-center text-sm font-medium py-2 w-24">+ <Trans>Email</Trans>+ </th>+ {slackActive && (+ <th className="text-center text-sm font-medium py-2 w-24">+ <Trans>Slack</Trans>+ </th>+ )}+ </tr>+ </thead>+ <tbody>+ {USER_FACING_NOTIFICATION_TOPICS.map((topic) => {+ const channels = getNotificationTopicChannels(topic);+ const cell = (channel: Channel, label: string) => (+ <td className="py-3 w-24">+ {channels.includes(channel) && (+ <div className="flex justify-center">+ <Switch+ checked={isEnabled(topic, channel)}+ disabled={isPending(topic, channel)}+ onCheckedChange={(checked) =>+ toggle(topic, channel, checked)+ }+ aria-label={`${topicLabels[topic]} ${label}`}+ />+ </div>+ )}+ </td>+ );+ return (+ <tr+ key={topic}+ className="border-b border-border last:border-0"+ >+ <td className="text-sm py-3">{topicLabels[topic]}</td>+ {cell("email", t`email`)}+ {slackActive && cell("slack", t`Slack`)}+ </tr>+ );+ })}+ </tbody>+ </table>+ </div>+ </AccountSettingsSection>+ </>+ );+}diff --git a/packages/account/src/ui/ProfileForm.tsx b/packages/account/src/ui/ProfileForm.tsxnew file mode 100644index 0000000000..1893957858--- /dev/null+++ b/packages/account/src/ui/ProfileForm.tsx@@ -0,0 +1,106 @@+// 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 {+ Hidden,+ Input,+ PhoneInput,+ Submit,+ TextArea,+ ValidatedForm+} from "@carbon/form";+import {+ Card,+ CardContent,+ CardFooter,+ CardHeader,+ CardTitle,+ VStack+} from "@carbon/react";+import { Trans, useLingui } from "@lingui/react/macro";+import { useFetcher } from "react-router";+import { accountProfileValidator } from "../models";+import type { Account } from "../types";+import type { ProfilePhotoFormProps } from "./ProfilePhotoForm";+import ProfilePhotoForm from "./ProfilePhotoForm";++type ProfileFormProps = {+ user: Account;+ /** Where the form posts: the account settings action or a person route. */+ action: string;+ /** Where the photo saves — always the account profile action. */+ photo: Omit<ProfilePhotoFormProps, "user">;+ /** `plain` drops the card, for a container that already frames the form. */+ variant?: "card" | "plain";+};++const ProfileForm = ({+ user,+ action,+ photo,+ variant = "card"+}: ProfileFormProps) => {+ const { t } = useLingui();+ const fetcher = useFetcher<{}>();++ const fields = (+ <div className="grid grid-cols-1 md:grid-cols-[1fr_auto] gap-4 w-full">+ <VStack spacing={4}>+ <Input name="email" label={t`Email`} isDisabled />+ <div className="grid grid-cols-1 md:grid-cols-2 gap-4 w-full">+ <Input name="firstName" label={t`First Name`} />+ <Input name="lastName" label={t`Last Name`} />+ </div>+ <PhoneInput name="phone" label={t`Phone`} />+ <TextArea+ name="about"+ label={t`About`}+ characterLimit={160}+ className="my-2"+ />+ <Hidden name="intent" value="about" />+ </VStack>+ {/* Phones: the avatar heads the form as the identity header. */}+ <div className="contents max-md:block max-md:order-first max-md:justify-self-center">+ <ProfilePhotoForm user={user} {...photo} />+ </div>+ </div>+ );++ const save = (+ <Submit>+ <Trans>Save</Trans>+ </Submit>+ );++ return (+ <ValidatedForm+ method="post"+ action={action}+ validator={accountProfileValidator}+ defaultValues={{ ...user, phone: user.phone ?? undefined }}+ fetcher={fetcher}+ className="w-full"+ >+ {variant === "plain" ? (+ <VStack spacing={4}>+ {fields}+ <div>{save}</div>+ </VStack>+ ) : (+ <Card>+ <CardHeader>+ <CardTitle>+ <Trans>Profile</Trans>+ </CardTitle>+ </CardHeader>+ <CardContent>{fields}</CardContent>+ <CardFooter>{save}</CardFooter>+ </Card>+ )}+ </ValidatedForm>+ );+};++export default ProfileForm;diff --git a/apps/erp/app/modules/account/ui/Profile/ProfilePhotoForm.tsx b/packages/account/src/ui/ProfilePhotoForm.tsxsimilarity index 71%rename from apps/erp/app/modules/account/ui/Profile/ProfilePhotoForm.tsxrename to packages/account/src/ui/ProfilePhotoForm.tsxindex 33b99fae1d..7e48e64db5 100644--- a/apps/erp/app/modules/account/ui/Profile/ProfilePhotoForm.tsx+++ b/packages/account/src/ui/ProfilePhotoForm.tsx@@ -17,26 +17,31 @@ import { isGeneratedAvatar, newGeneratedAvatar } from "@carbon/utils";import { Trans, useLingui } from "@lingui/react/macro";import type { ChangeEvent } from "react";import { useState } from "react";-import { useSubmit } from "react-router";-import { Avatar } from "~/components";-import { useUser } from "~/hooks";-import { path } from "~/utils/path";-import type { Account } from "../../types";+import { useFetcher } from "react-router";+import type { Account } from "../types";+import AccountAvatar from "./AccountAvatar";import GeneratedAvatarPicker from "./GeneratedAvatarPicker";const logger = getLogger("erp", "profilephotoform");const maxSizeMB = 10;-type ProfilePhotoFormProps = {+export type ProfilePhotoFormProps = {user: Account;+ /** The account profile action that saves `avatarUrl`. */+ action: string;+ /** The company whose private bucket stages the upload while it is resized. */+ companyId: string;};-const ProfilePhotoForm = ({ user }: ProfilePhotoFormProps) => {+const ProfilePhotoForm = ({+ user,+ action,+ companyId+}: ProfilePhotoFormProps) => {const { t } = useLingui();const { carbon } = useCarbon();- const { company } = useUser();- const submit = useSubmit();+ const fetcher = useFetcher();const [isPickerOpen, setIsPickerOpen] = useState(false);// `avatarUrl` is either an uploaded photo's storage path or a generated avatar.const uploadedPhotoPath =@@ -45,14 +50,15 @@ const ProfilePhotoForm = ({ user }: ProfilePhotoFormProps) => {: null;const uploadImage = async (e: ChangeEvent<HTMLInputElement>) => {- if (e.target.files && carbon) {- let avatarFile = e.target.files[0];+ const selected = e.target.files?.[0];+ if (selected && carbon) {+ let avatarFile = selected;toast.info(t`Uploading ${avatarFile.name}`);try {const processed = await prepareImageUpload(carbon, {- bucket: getCompanyPrivateBucket(company.id),- directory: `${company.id}/tmp`,+ bucket: getCompanyPrivateBucket(companyId),+ directory: `${companyId}/tmp`,file: avatarFile});const outputExtension = processed.name.split(".").pop();@@ -106,32 +112,38 @@ const ProfilePhotoForm = ({ user }: ProfilePhotoFormProps) => {const formData = new FormData();formData.append("intent", "photo");formData.append("path", avatarPath);- submit(formData, {+ fetcher.submit(formData, {method: "post",- action: path.to.profile,- replace: true+ action});};return (<VStack className="px-8 items-center">- <Avatar+ <AccountAvatarsize="2xl"path={user?.avatarUrl}name={user?.fullName ?? undefined}/>- <FileUpload accept="image/*" onChange={uploadImage}>- {uploadedPhotoPath ? t`Change` : t`Upload`}- </FileUpload>- <Button variant="secondary" onClick={() => setIsPickerOpen(true)}>- <Trans>Choose avatar</Trans>- </Button>-- {uploadedPhotoPath && (- <Button variant="secondary" onClick={removePhoto}>- <Trans>Remove</Trans>+ {/* One column as wide as the widest button, so the buttons match. The+ upload controls come last, next to the size limit that applies to them. */}+ <div className="grid gap-2">+ <Button+ variant="secondary"+ className="w-full"+ onClick={() => setIsPickerOpen(true)}+ >+ <Trans>Choose avatar</Trans></Button>- )}+ <FileUpload accept="image/*" onChange={uploadImage} className="w-full">+ {uploadedPhotoPath ? t`Change` : t`Upload`}+ </FileUpload>+ {uploadedPhotoPath && (+ <Button variant="secondary" className="w-full" onClick={removePhoto}>+ <Trans>Remove</Trans>+ </Button>+ )}+ </div><Badge variant="outline">{t`${maxSizeMB}MB limit`}</Badge>{isPickerOpen && (<GeneratedAvatarPickerdiff --git a/packages/account/src/ui/ProfileSettings.tsx b/packages/account/src/ui/ProfileSettings.tsxnew file mode 100644index 0000000000..c5bafb8e92--- /dev/null+++ b/packages/account/src/ui/ProfileSettings.tsx@@ -0,0 +1,44 @@+// 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 { useLoaderQuery } from "@carbon/query";+import { Trans } from "@lingui/react/macro";+import type { AccountProfileData } from "../types";+import { AccountSettingsPane } from "./AccountSettingsLayout";+import AccountSettingsSkeleton from "./AccountSettingsSkeleton";+import { useAccountEndpoints, useAccountSettingsConfig } from "./context";+import ProfileForm from "./ProfileForm";++export default function ProfileSettings() {+ const { companyId } = useAccountSettingsConfig();+ const endpoints = useAccountEndpoints();+ const { data } = useLoaderQuery<AccountProfileData>(endpoints.profile);++ return (+ <AccountSettingsPane+ title={<Trans>Profile</Trans>}+ description={+ <Trans>+ This information will be visible to all users, so be careful what you+ share.+ </Trans>+ }+ >+ {!data ? (+ <AccountSettingsSkeleton />+ ) : data.user ? (+ <ProfileForm+ user={data.user}+ action={endpoints.profile}+ photo={{ action: endpoints.profile, companyId }}+ variant="plain"+ />+ ) : (+ <p className="text-sm text-muted-foreground">+ <Trans>Your profile could not be loaded.</Trans>+ </p>+ )}+ </AccountSettingsPane>+ );+}diff --git a/apps/erp/app/routes/x+/account+/security.tsx b/packages/account/src/ui/SecuritySettings.tsxsimilarity index 59%rename from apps/erp/app/routes/x+/account+/security.tsxrename to packages/account/src/ui/SecuritySettings.tsxindex e9f830048b..011f5d06a9 100644--- a/apps/erp/app/routes/x+/account+/security.tsx+++ b/packages/account/src/ui/SecuritySettings.tsx@@ -2,29 +2,14 @@// 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 {- assertIsPost,- CONTROLLED_ENVIRONMENT,- error,- isAuthProviderEnabled,- success-} from "@carbon/auth";-import { requirePermissions } from "@carbon/auth/auth.server";-import { getCarbonServiceRole } from "@carbon/auth/client.server";-import type { TotpFactor } from "@carbon/auth/mfa.server";-import { getTotpFactors } from "@carbon/auth/mfa.server";-import { flash } from "@carbon/auth/session.server";-import { useRevalidator } from "@carbon/query";+import { CONTROLLED_ENVIRONMENT, isAuthProviderEnabled } from "@carbon/auth";+import { useLoaderQuery } from "@carbon/query";import {Alert,AlertDescription,AlertTitle,Button,- Card,- CardContent,- CardDescription,- CardHeader,- CardTitle,+ DateTime,HStack,IconButton,Input,@@ -37,7 +22,6 @@ import {toast,VStack} from "@carbon/react";-import { msg } from "@lingui/core/macro";import { Trans, useLingui } from "@lingui/react/macro";import { startRegistration } from "@simplewebauthn/browser";import { useState } from "react";@@ -47,116 +31,53 @@ import {LuShieldCheck,LuTrash2} from "react-icons/lu";-import type { ActionFunctionArgs, LoaderFunctionArgs } from "react-router";-import { data, useFetcher, useLoaderData } from "react-router";-import { DateTime } from "~/components";+import { useFetcher } from "react-router";+import type { AccountSecurityData, AccountTotpFactor, Passkey } from "../types";+import {+ AccountSettingsPane,+ AccountSettingsSection+} from "./AccountSettingsLayout";+import AccountSettingsSkeleton from "./AccountSettingsSkeleton";+import { useAccountEndpoints, useAccountSettingsConfig } from "./context";import {INVALID_CODE_MESSAGE,OtpInput,useTotpEnrollment-} from "~/components/TotpEnrollment";-import { usePlanGate } from "~/hooks/usePlanGate";-import { TwoFactorUpgradeDialog } from "~/modules/settings";-import type { Handle } from "~/utils/handle";-import { path } from "~/utils/path";--export const handle: Handle = {- breadcrumb: msg`Security`,- to: path.to.accountSecurity-};--type Passkey = {- id: string;- credentialName: string;- createdAt: string;- lastUsedAt: string | null;- backedUp: boolean;-};--export async function loader({ request }: LoaderFunctionArgs) {- const { userId } = await requirePermissions(request, {});- const serviceRole = getCarbonServiceRole();- const [passkeysResult, totpFactors] = await Promise.all([- (serviceRole as any)- .from("passkeyCredential")- .select("id, credentialName, createdAt, lastUsedAt, backedUp")- .eq("userId", userId)- .order("createdAt", { ascending: false }),- getTotpFactors(userId)- ]);-- return {- passkeys: (passkeysResult.data ?? []) as Passkey[],- totpFactors: totpFactors.filter((f) => f.status === "verified")- };-}--export async function action({ request }: ActionFunctionArgs) {- assertIsPost(request);- const { userId } = await requirePermissions(request, {});- const formData = await request.formData();-- if (formData.get("intent") === "deletePasskey") {- const credentialId = formData.get("credentialId") as string;- if (!credentialId) {- return data(error(null, "Missing credentialId"), { status: 400 });- }-- const serviceRole = getCarbonServiceRole();- const { error: dbError } = await (serviceRole as any)- .from("passkeyCredential")- .delete()- .eq("id", credentialId)- .eq("userId", userId);-- if (dbError) {- return data(- error(dbError, "Failed to delete passkey"),- await flash(request, error(dbError, "Failed to delete passkey"))- );- }-- return data(success("Passkey removed"));- }+} from "./TotpEnrollment";- if (formData.get("intent") === "renamePasskey") {- const credentialId = formData.get("credentialId") as string;- const credentialName = (formData.get("credentialName") as string)?.trim();- if (!credentialId || !credentialName) {- return data(error(null, "Missing fields"), { status: 400 });- }- if (credentialName.length > 100) {- return data(error(null, "Passkey name must be 100 characters or fewer"), {- status: 400- });- }-- const serviceRole = getCarbonServiceRole();- const { error: dbError } = await (serviceRole as any)- .from("passkeyCredential")- .update({ credentialName })- .eq("id", credentialId)- .eq("userId", userId);-- if (dbError) {- return data(- error(dbError, "Failed to rename passkey"),- await flash(request, error(dbError, "Failed to rename passkey"))- );- }-- return data(success("Passkey renamed"));- }+export default function SecuritySettings() {+ const endpoints = useAccountEndpoints();+ const { data, refetch } = useLoaderQuery<AccountSecurityData>(+ endpoints.security+ );- return null;+ return (+ <AccountSettingsPane+ title={<Trans>Security</Trans>}+ description={<Trans>Manage how you sign in to Carbon.</Trans>}+ >+ {data ? (+ // Enrolling and removing a factor or a passkey go through plain+ // fetch() to their own API routes, which the cache's action+ // invalidation never sees.+ <SecuritySettingsForm {...data} reload={() => refetch()} />+ ) : (+ <AccountSettingsSkeleton />+ )}+ </AccountSettingsPane>+ );}-export default function AccountSecurity() {+function SecuritySettingsForm({+ passkeys,+ totpFactors,+ reload+}: AccountSecurityData & { reload: () => void }) {const { t } = useLingui();- const { passkeys, totpFactors } = useLoaderData<typeof loader>();+ const endpoints = useAccountEndpoints();+ const { twoFactor } = useAccountSettingsConfig();const deleteFetcher = useFetcher();const renameFetcher = useFetcher();- const { revalidate } = useRevalidator();const passkeysEnabled = isAuthProviderEnabled("passkey");const [registering, setRegistering] = useState(false);const [selectedPasskey, setSelectedPasskey] = useState<Passkey | null>(null);@@ -174,20 +95,21 @@ export default function AccountSecurity() {verify: onVerifyMfaEnrollment,reset: resetMfaEnrollment} = useTotpEnrollment({- enrollAction: path.to.mfaEnroll,- verifyAction: path.to.mfaVerify,+ enrollAction: endpoints.mfaEnroll,+ verifyAction: endpoints.mfaVerify,onVerified: () => {toast.success(t`Two-factor authentication enabled`);resetMfaEnrollment();- revalidate();+ reload();}});- const { isGated } = usePlanGate({ feature: "TWO_FACTOR" });- const mfaGated = isGated && !CONTROLLED_ENVIRONMENT;+ const mfaGated = (twoFactor?.isGated ?? false) && !CONTROLLED_ENVIRONMENT;const [showUpgrade, setShowUpgrade] = useState(false);- const [removeFactor, setRemoveFactor] = useState<TotpFactor | null>(null);+ const [removeFactor, setRemoveFactor] = useState<AccountTotpFactor | null>(+ null+ );const [removeCode, setRemoveCode] = useState("");const [removeError, setRemoveError] = useState<string | null>(null);const [removing, setRemoving] = useState(false);@@ -197,7 +119,7 @@ export default function AccountSecurity() {setRemoving(true);setRemoveError(null);try {- const res = await fetch(path.to.mfaUnenroll, {+ const res = await fetch(endpoints.mfaUnenroll, {method: "POST",headers: { "Content-Type": "application/json" },body: JSON.stringify({ factorId: removeFactor.id, code: removeCode })@@ -209,7 +131,7 @@ export default function AccountSecurity() {toast.success(t`Two-factor authentication disabled`);setRemoveFactor(null);setRemoveCode("");- revalidate();+ reload();} catch (e: any) {setRemoveError((e as Error).message ?? INVALID_CODE_MESSAGE);setRemoveCode("");@@ -225,7 +147,7 @@ export default function AccountSecurity() {}setRegistering(true);try {- const optRes = await fetch("/api/passkey/register/options", {+ const optRes = await fetch(endpoints.passkeyRegisterOptions, {method: "POST"});@@ -236,7 +158,7 @@ export default function AccountSecurity() {optionsJSON: options} as any);- const verifyRes = await fetch("/api/passkey/register/verify", {+ const verifyRes = await fetch(endpoints.passkeyRegisterVerify, {method: "POST",headers: { "Content-Type": "application/json" },body: JSON.stringify(credential)@@ -249,7 +171,7 @@ export default function AccountSecurity() {const result = await verifyRes.json();toast.success(t`${result.credentialName ?? "Passkey"} registered`);- revalidate();+ reload();} catch (e: any) {if (e?.name !== "NotAllowedError" && e?.name !== "AbortError") {toast.error(e.message ?? t`Failed to register passkey`);@@ -275,9 +197,11 @@ export default function AccountSecurity() {formData.append("intent", "renamePasskey");formData.append("credentialId", selectedPasskey.id);formData.append("credentialName", editedName);- renameFetcher.submit(formData, { method: "post" });+ renameFetcher.submit(formData, {+ method: "post",+ action: endpoints.security+ });closePasskeyDrawer();- revalidate();};const onConfirmDelete = () => {@@ -285,167 +209,85 @@ export default function AccountSecurity() {const formData = new FormData();formData.append("intent", "deletePasskey");formData.append("credentialId", confirmDeleteId);- deleteFetcher.submit(formData, { method: "post" });+ deleteFetcher.submit(formData, {+ method: "post",+ action: endpoints.security+ });setConfirmDeleteId(null);closePasskeyDrawer();};return (- <VStack spacing={4} className="pb-6">+ <>{passkeysEnabled && (- <Card>- <CardHeader>- <HStack className="justify-between max-md:flex-col max-md:items-stretch max-md:gap-3">- <div>- <CardTitle>- <Trans>Passkeys</Trans>- </CardTitle>- <CardDescription>- <Trans>- Sign in with biometrics instead of a magic link. Passkeys- are secured by Face ID, Touch ID, or your device PIN.- </Trans>- </CardDescription>- </div>- <Button- type="button"- variant="secondary"- onClick={onAddPasskey}- isDisabled={registering}- isLoading={registering}- leftIcon={<LuFingerprint className="size-4" />}- >- <Trans>Add Passkey</Trans>- </Button>- </HStack>- </CardHeader>- <CardContent>- {passkeys.length === 0 ? (- <p className="text-sm text-muted-foreground">- <Trans>No passkeys registered yet.</Trans>- </p>- ) : (- <VStack spacing={2}>- {passkeys.map((pk) => (- <HStack- key={pk.id}- spacing={4}- className="w-full justify-between p-3 rounded-lg border border-border cursor-pointer transition-colors hover:bg-muted/40 max-md:border-0 max-md:p-0 max-md:rounded-none"- onClick={() => openPasskeyDrawer(pk)}- >- <HStack spacing={3} className="min-w-0">- <span className="flex items-center justify-center size-9 rounded-lg bg-muted shrink-0">- <LuFingerprint className="size-4 text-muted-foreground" />- </span>- <VStack spacing={0} className="min-w-0">- <p className="text-sm font-medium truncate">- {pk.credentialName}- </p>- <p className="text-xs text-muted-foreground">- <Trans>Added</Trans>{" "}- <DateTime value={pk.createdAt} variant="date" />- {pk.lastUsedAt && (- <>- {" · "}- <Trans>Last used</Trans>{" "}- <DateTime value={pk.lastUsedAt} variant="date" />- </>- )}- {pk.backedUp && (- <>- {" · "}- <Trans>Synced</Trans>- </>- )}- </p>- </VStack>- </HStack>-- <IconButton- onClick={(e) => {- e.stopPropagation();- setConfirmDeleteId(pk.id);- }}- aria-label={t`Delete passkey`}- type="button"- variant="ghost"- icon={<LuTrash2 />}- className="shrink-0 cursor-pointer text-muted-foreground hover:text-foreground"- />- </HStack>- ))}- </VStack>- )}- </CardContent>- </Card>- )}-- <Card>- <CardHeader>- <HStack className="justify-between max-md:flex-col max-md:items-stretch max-md:gap-3">- <div>- <CardTitle>- <Trans>Two-factor authentication</Trans>- </CardTitle>- <CardDescription>- <Trans>- Require a 6-digit code from an authenticator app when signing- in.- </Trans>- </CardDescription>- </div>+ <AccountSettingsSection+ title={<Trans>Passkeys</Trans>}+ description={+ <Trans>+ Sign in with biometrics instead of a magic link. Passkeys are+ secured by Face ID, Touch ID, or your device PIN.+ </Trans>+ }+ action={<Buttontype="button"variant="secondary"- onClick={() => {- if (mfaGated) {- setShowUpgrade(true);- return;- }- onStartMfaEnrollment();- }}- isDisabled={mfaStarting}- isLoading={mfaStarting}- leftIcon={<LuShieldCheck className="size-4" />}+ onClick={onAddPasskey}+ isDisabled={registering}+ isLoading={registering}+ leftIcon={<LuFingerprint className="size-4" />}>- <Trans>Add Authenticator App</Trans>+ <Trans>Add Passkey</Trans></Button>- </HStack>- </CardHeader>- <CardContent>- {totpFactors.length === 0 ? (+ }+ >+ {passkeys.length === 0 ? (<p className="text-sm text-muted-foreground">- <Trans>Two-factor authentication is not enabled.</Trans>+ <Trans>No passkeys registered yet.</Trans></p>) : (<VStack spacing={2}>- {totpFactors.map((factor) => (+ {passkeys.map((pk) => (<HStack- key={factor.id}+ key={pk.id}spacing={4}- className="w-full justify-between p-3 rounded-lg border border-border max-md:border-0 max-md:p-0 max-md:rounded-none"+ className="w-full justify-between p-3 rounded-lg border border-border cursor-pointer transition-colors hover:bg-muted/40 max-md:border-0 max-md:p-0 max-md:rounded-none"+ onClick={() => openPasskeyDrawer(pk)}><HStack spacing={3} className="min-w-0"><span className="flex items-center justify-center size-9 rounded-lg bg-muted shrink-0">- <LuShieldCheck className="size-4 text-muted-foreground" />+ <LuFingerprint className="size-4 text-muted-foreground" /></span><VStack spacing={0} className="min-w-0"><p className="text-sm font-medium truncate">- {factor.friendlyName ?? t`Authenticator app`}+ {pk.credentialName}</p><p className="text-xs text-muted-foreground"><Trans>Added</Trans>{" "}- <DateTime value={factor.createdAt} variant="date" />+ <DateTime value={pk.createdAt} variant="date" />+ {pk.lastUsedAt && (+ <>+ {" · "}+ <Trans>Last used</Trans>{" "}+ <DateTime value={pk.lastUsedAt} variant="date" />+ </>+ )}+ {pk.backedUp && (+ <>+ {" · "}+ <Trans>Synced</Trans>+ </>+ )}</p></VStack></HStack><IconButton- onClick={() => {- setRemoveCode("");- setRemoveFactor(factor);+ onClick={(e) => {+ e.stopPropagation();+ setConfirmDeleteId(pk.id);}}- aria-label={t`Remove authenticator app`}+ aria-label={t`Delete passkey`}type="button"variant="ghost"icon={<LuTrash2 />}@@ -455,13 +297,83 @@ export default function AccountSecurity() {))}</VStack>)}- </CardContent>- </Card>+ </AccountSettingsSection>+ )}++ <AccountSettingsSection+ title={<Trans>Two-factor authentication</Trans>}+ description={+ <Trans>+ Require a 6-digit code from an authenticator app when signing in.+ </Trans>+ }+ action={+ <Button+ type="button"+ variant="secondary"+ onClick={() => {+ if (mfaGated) {+ setShowUpgrade(true);+ return;+ }+ onStartMfaEnrollment();+ }}+ isDisabled={mfaStarting}+ isLoading={mfaStarting}+ leftIcon={<LuShieldCheck className="size-4" />}+ >+ <Trans>Add Authenticator App</Trans>+ </Button>+ }+ >+ {totpFactors.length === 0 ? (+ <p className="text-sm text-muted-foreground">+ <Trans>Two-factor authentication is not enabled.</Trans>+ </p>+ ) : (+ <VStack spacing={2}>+ {totpFactors.map((factor) => (+ <HStack+ key={factor.id}+ spacing={4}+ className="w-full justify-between p-3 rounded-lg border border-border max-md:border-0 max-md:p-0 max-md:rounded-none"+ >+ <HStack spacing={3} className="min-w-0">+ <span className="flex items-center justify-center size-9 rounded-lg bg-muted shrink-0">+ <LuShieldCheck className="size-4 text-muted-foreground" />+ </span>+ <VStack spacing={0} className="min-w-0">+ <p className="text-sm font-medium truncate">+ {factor.friendlyName ?? t`Authenticator app`}+ </p>+ <p className="text-xs text-muted-foreground">+ <Trans>Added</Trans>{" "}+ <DateTime value={factor.createdAt} variant="date" />+ </p>+ </VStack>+ </HStack>++ <IconButton+ onClick={() => {+ setRemoveCode("");+ setRemoveFactor(factor);+ }}+ aria-label={t`Remove authenticator app`}+ type="button"+ variant="ghost"+ icon={<LuTrash2 />}+ className="shrink-0 cursor-pointer text-muted-foreground hover:text-foreground"+ />+ </HStack>+ ))}+ </VStack>+ )}+ </AccountSettingsSection>- <TwoFactorUpgradeDialog- open={showUpgrade}- onOpenChange={setShowUpgrade}- />+ {twoFactor?.renderUpgrade({+ open: showUpgrade,+ onOpenChange: setShowUpgrade+ })}<Modalopen={!!mfaEnrollment}@@ -714,6 +626,6 @@ export default function AccountSecurity() {</ModalFooter></ModalContent></Modal>- </VStack>+ </>);}diff --git a/apps/erp/app/components/TotpEnrollment.tsx b/packages/account/src/ui/TotpEnrollment.tsxsimilarity index 100%rename from apps/erp/app/components/TotpEnrollment.tsxrename to packages/account/src/ui/TotpEnrollment.tsxdiff --git a/packages/account/src/ui/context.tsx b/packages/account/src/ui/context.tsxnew file mode 100644index 0000000000..533f736b42--- /dev/null+++ b/packages/account/src/ui/context.tsx@@ -0,0 +1,68 @@+// 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 type { ReactNode } from "react";+import { createContext, useContext, useMemo } from "react";+import type { AccountSettingsUser } from "../types";++export type AccountSettingsConfig = {+ /**+ * Where the ERP's API routes are reached from this app: `/api` in the ERP,+ * the app's proxy to the ERP (`/x/proxy/api`) everywhere else.+ */+ api: string;+ user: AccountSettingsUser;+ /** The company the photo upload is staged under. */+ companyId: string;+ /**+ * The browser-push section of the Notifications pane. Only the ERP passes+ * it: the push service worker is registered on the ERP's origin.+ */+ renderBrowserNotifications?: (publicKey: string) => ReactNode;+ /**+ * The two-factor plan gate. Only the ERP knows the plan; elsewhere the+ * button always starts enrollment.+ */+ twoFactor?: {+ isGated: boolean;+ renderUpgrade: (props: {+ open: boolean;+ onOpenChange: (open: boolean) => void;+ }) => ReactNode;+ };+};++const AccountSettingsContext = createContext<AccountSettingsConfig | null>(+ null+);++export const AccountSettingsProvider = AccountSettingsContext.Provider;++export function useAccountSettingsConfig() {+ const config = useContext(AccountSettingsContext);+ if (!config) {+ throw new Error(+ "Account settings panes must render inside AccountSettings"+ );+ }+ return config;+}++/** The ERP endpoints every pane calls, under the app's API base. */+export function useAccountEndpoints() {+ const { api } = useAccountSettingsConfig();+ return useMemo(+ () => ({+ profile: `${api}/account/profile`,+ notifications: `${api}/account/notifications`,+ security: `${api}/account/security`,+ mfaEnroll: `${api}/mfa/enroll`,+ mfaVerify: `${api}/mfa/verify`,+ mfaUnenroll: `${api}/mfa/unenroll`,+ passkeyRegisterOptions: `${api}/passkey/register/options`,+ passkeyRegisterVerify: `${api}/passkey/register/verify`+ }),+ [api]+ );+}diff --git a/packages/account/src/ui/index.ts b/packages/account/src/ui/index.tsnew file mode 100644index 0000000000..837ea90465--- /dev/null+++ b/packages/account/src/ui/index.ts@@ -0,0 +1,16 @@+// 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.++export { default as AccountSettings } from "./AccountSettings";+export {+ AccountSettingsPane,+ AccountSettingsSection+} from "./AccountSettingsLayout";+export type { AccountSettingsConfig } from "./context";+export { default as ProfileForm } from "./ProfileForm";+export {+ INVALID_CODE_MESSAGE,+ OtpInput,+ useTotpEnrollment+} from "./TotpEnrollment";diff --git a/packages/account/tsconfig.json b/packages/account/tsconfig.jsonnew file mode 100644index 0000000000..8cee9135d1--- /dev/null+++ b/packages/account/tsconfig.json@@ -0,0 +1,5 @@+{+ "extends": "@carbon/config/tsconfig/react-library.json",+ "include": ["src"],+ "exclude": ["dist", "build", "node_modules"]+}diff --git a/packages/auth/package.json b/packages/auth/package.jsonindex 0b07d0a0cb..01aac0ec2d 100644--- a/packages/auth/package.json+++ b/packages/auth/package.json@@ -16,6 +16,7 @@"./auth-events.server": "./src/services/auth-events.server.ts","./client.server": "./src/lib/supabase/client.server.ts","./download-token.server": "./src/lib/download-token.server.ts",+ "./erp-proxy.server": "./src/services/erp-proxy.server.ts","./oauth-state.server": "./src/lib/oauth-state.server.ts","./company.server": "./src/services/company.server.ts","./console-pin.server": "./src/services/console-pin.server.ts",diff --git a/packages/auth/src/services/erp-proxy.server.test.ts b/packages/auth/src/services/erp-proxy.server.test.tsnew file mode 100644index 0000000000..3944615770--- /dev/null+++ b/packages/auth/src/services/erp-proxy.server.test.ts@@ -0,0 +1,53 @@+// 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 { afterEach, beforeEach, describe, expect, it, vi } from "vitest";++vi.mock("@carbon/env", () => ({ getAppUrl: () => "https://erp.test" }));+vi.mock("@carbon/logger", () => ({+ getLogger: () => ({ error: vi.fn(), warn: vi.fn() })+}));++const { proxyToErp } = await import("./erp-proxy.server");++const fetchMock = vi.fn(+ async (_input: RequestInfo | URL, _init?: RequestInit) =>+ new Response("ok", { status: 200 })+);++beforeEach(() => {+ fetchMock.mockClear();+ vi.stubGlobal("fetch", fetchMock);+});++afterEach(() => {+ vi.unstubAllGlobals();+});++const request = (search = "") =>+ new Request(`https://mes.test/x/proxy/anything${search}`);++describe("proxyToErp", () => {+ it("forwards an ERP API path with its query", async () => {+ const response = await proxyToErp(request("?a=1"), "api/account/profile");+ expect(response.status).toBe(200);+ expect(String(fetchMock.mock.calls[0]![0])).toBe(+ "https://erp.test/api/account/profile?a=1"+ );+ });++ it.each([+ ["an ERP page", "x/sales/quotes"],+ ["an ERP action", "x/settings/company/new"],+ ["no path", undefined],+ ["a climb out of the API", "api/../x/settings/company/new"],+ ["an encoded climb", "api/%2e%2e/x/settings"],+ ["another host", "//evil.test/api/steal"],+ ["an absolute URL", "https://evil.test/api/steal"]+ ])("refuses %s without calling the ERP", async (_, path) => {+ const response = await proxyToErp(request(), path);+ expect(response.status).toBe(404);+ expect(fetchMock).not.toHaveBeenCalled();+ });+});diff --git a/packages/auth/src/services/erp-proxy.server.ts b/packages/auth/src/services/erp-proxy.server.tsnew file mode 100644index 0000000000..a3d36b47d2--- /dev/null+++ b/packages/auth/src/services/erp-proxy.server.ts@@ -0,0 +1,60 @@+// 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 { getAppUrl } from "@carbon/env";+import { getLogger } from "@carbon/logger";++const log = getLogger("auth", "erp-proxy");++/**+ * Forwards a request from another Carbon app (MES, starter) to the same path+ * on the ERP, with the user's cookies. The session cookie is scoped to the+ * parent domain, so the ERP reads the same session the app does. This is how+ * those apps use the ERP's API routes — the account settings modal reads and+ * writes through it — without a copy of each route.+ */+export async function proxyToErp(request: Request, path: string | undefined) {+ // Only the ERP's API routes. The request carries the user's session, and+ // the origin header is dropped below, so an open proxy would let a crafted+ // link reach any ERP page or action as the user. The check runs on the+ // resolved URL: `..`, encoded dots and a `//host` path are already applied.+ const erp = new URL(`${getAppUrl()}/`);+ const target = new URL(`${path ?? ""}${new URL(request.url).search}`, erp);+ if (target.origin !== erp.origin || !target.pathname.startsWith("/api/")) {+ log.warn("Refused a proxy request to {path}", { path });+ return new Response("Not found", { status: 404 });+ }++ // Without the host header the ERP's server refuses the connection.+ const headers = new Headers(request.headers);+ headers.delete("host");+ headers.delete("origin");++ const hasBody = request.method !== "GET" && request.method !== "HEAD";++ try {+ const response = await fetch(target, {+ method: request.method,+ body: hasBody ? request.body : undefined,+ headers,+ // Required when streaming a request body.+ ...(hasBody && { duplex: "half" })+ } as RequestInit);++ // fetch has already decompressed the body, so the ERP's encoding headers+ // no longer describe it.+ const responseHeaders = new Headers(response.headers);+ responseHeaders.delete("content-encoding");+ responseHeaders.delete("content-length");++ return new Response(response.body, {+ status: response.status,+ statusText: response.statusText,+ headers: responseHeaders+ });+ } catch (error) {+ log.error("Proxy request failed", { path, error });+ return new Response("Proxy request failed", { status: 500 });+ }+}diff --git a/packages/database/src/swagger-docs-schema.ts b/packages/database/src/swagger-docs-schema.tsindex 07ca6089d1..b98be87a30 100644--- a/packages/database/src/swagger-docs-schema.ts+++ b/packages/database/src/swagger-docs-schema.ts@@ -78012,6 +78012,9 @@ export default {{$ref: "#/parameters/rowFilter.company.timezone"},+ {+ $ref: "#/parameters/rowFilter.company.dimensions"+ },{$ref: "#/parameters/select"},@@ -78179,6 +78182,9 @@ export default {{$ref: "#/parameters/rowFilter.company.timezone"},+ {+ $ref: "#/parameters/rowFilter.company.dimensions"+ },{$ref: "#/parameters/preferReturn"}@@ -78300,6 +78306,9 @@ export default {{$ref: "#/parameters/rowFilter.company.timezone"},+ {+ $ref: "#/parameters/rowFilter.company.dimensions"+ },{$ref: "#/parameters/body.company"},@@ -151758,7 +151767,8 @@ export default {"auditLogEnabled","isEliminationEntity","active",- "timezone"+ "timezone",+ "dimensions"],properties: {id: {@@ -151927,6 +151937,9 @@ export default {default: "UTC",format: "text",type: "string"+ },+ dimensions: {+ format: "jsonb"}},type: "object"@@ -204737,6 +204750,12 @@ export default {in: "query",type: "string"},+ "rowFilter.company.dimensions": {+ name: "dimensions",+ required: false,+ in: "query",+ type: "string"+ },"body.documentTemplate": {name: "documentTemplate",description: "documentTemplate",diff --git a/packages/database/src/types.ts b/packages/database/src/types.tsindex 60cdb64fca..d173043953 100644--- a/packages/database/src/types.ts+++ b/packages/database/src/types.ts@@ -7423,6 +7423,7 @@ export type Database = {countryCode: string | nullcreatedAt: stringcustomIndustryDescription: string | null+ dimensions: Jsonemail: string | nulleori: string | nullfax: string | null@@ -7461,6 +7462,7 @@ export type Database = {countryCode?: string | nullcreatedAt?: stringcustomIndustryDescription?: string | null+ dimensions?: Jsonemail?: string | nulleori?: string | nullfax?: string | null@@ -7499,6 +7501,7 @@ export type Database = {countryCode?: string | nullcreatedAt?: stringcustomIndustryDescription?: string | null+ dimensions?: Jsonemail?: string | nulleori?: string | nullfax?: string | nulldiff --git a/packages/database/supabase/migrations/20261010031417_company-dimensions.sql b/packages/database/supabase/migrations/20261010031417_company-dimensions.sqlnew file mode 100644index 0000000000..34236dd69d--- /dev/null+++ b/packages/database/supabase/migrations/20261010031417_company-dimensions.sql@@ -0,0 +1,5 @@+ALTER TABLE "company"+ ADD COLUMN IF NOT EXISTS "dimensions" JSONB NOT NULL DEFAULT '{}'::JSONB;++CREATE INDEX IF NOT EXISTS "company_dimensions_idx"+ ON "company" USING GIN ("dimensions");diff --git a/packages/locale/locales/de/erp.po b/packages/locale/locales/de/erp.poindex 6410d6572f..ccdf3c2b2d 100644--- a/packages/locale/locales/de/erp.po+++ b/packages/locale/locales/de/erp.po@@ -604,6 +604,9 @@ msgstr "{unitCount} Einheiten"msgid "{unmappedRequiredCount, plural, one {Map the # remaining required account first.} other {Map the # remaining required accounts first.}}"msgstr "{unmappedRequiredCount, plural, one {Ordnen Sie zunächst das # verbleibende erforderliche Konto zu.} other {Ordnen Sie zunächst die # verbleibenden erforderlichen Konten zu.}}"+msgid "{unread} unread"+msgstr "{unread} ungelesen"+msgid "{unschedulableCount} can't be scheduled"msgstr "{unschedulableCount} können nicht eingeplant werden"@@ -1485,6 +1488,9 @@ msgstr "Kontoname"msgid "Account Number"msgstr "Kontonummer"+msgid "Account settings"+msgstr "Kontoeinstellungen"+msgid "Account Settings"msgstr "Kontoeinstellungen"@@ -2205,6 +2211,9 @@ msgstr "alle Eigenfertigung {0}"msgid "All members of selected groups and selected individuals will be able to approve requests"msgstr "Alle Mitglieder der ausgewählten Gruppen und ausgewählten Personen können Anfragen genehmigen"+msgid "All modules"+msgstr "Alle Module"+msgid "All open jobs"msgstr "Alle offenen Fertigungsaufträge"@@ -3547,6 +3556,9 @@ msgstr "Genehmigung ausstehend"msgid "Back"msgstr "Zurück"+msgid "Back to menu"+msgstr "Zurück zum Menü"+msgid "Back to traceability"msgstr "Zurück zur Rückverfolgbarkeit"@@ -4558,6 +4570,9 @@ msgstr "Wählen Sie eine andere Datei"msgid "Choose avatar"msgstr "Avatar auswählen"+msgid "Choose how Carbon reaches you."+msgstr "Wählen Sie, wie Carbon Sie erreicht."+msgid "Choose how to add lines to this return."msgstr "Wählen Sie, wie Sie Positionen zu dieser Rückgabe hinzufügen möchten."@@ -4687,6 +4702,9 @@ msgstr "Schließungsdatum"msgid "Close Date"msgstr "Schließungsdatum"+msgid "Close menu"+msgstr "Menü schließen"+msgid "Close Period"msgstr "Zeitraum schließen"@@ -9581,6 +9599,12 @@ msgstr "Jahresabschlussberichte"msgid "Financing"msgstr "Finanzierung"+msgid "Find company…"+msgstr "Unternehmen suchen…"++msgid "Find module…"+msgstr "Modul suchen…"+msgid "finish"msgstr "Fertigerzeugnisse"@@ -12297,6 +12321,9 @@ msgstr "Verwalten Sie die Authentifizierungs- und Anmeldeanforderungen für Ihrmsgid "Manage how shelf life is tracked, computed, and enforced across inventory."msgstr "Verwalten Sie, wie die Haltbarkeit in Ihrem Bestand verfolgt, berechnet und durchgesetzt wird."+msgid "Manage how you sign in to Carbon."+msgstr "Verwalten Sie, wie Sie sich bei Carbon anmelden."+msgid "Manage Ownership"msgstr "Eigentümerschaft verwalten"@@ -12619,6 +12646,9 @@ msgstr "Memo-Datum"msgid "Memo ID"msgstr "Memo-ID"+msgid "Menu"+msgstr "Menü"+msgid "Merchant"msgstr "Händler"@@ -13598,6 +13628,9 @@ msgstr "Kein kollisionsfreier Pfad"msgid "No comments yet. Be the first to add a comment."msgstr "Noch keine Kommentare. Seien Sie der Erste, der einen Kommentar hinzufügt."+msgid "No companies found"+msgstr "Keine Unternehmen gefunden"+msgid "No companies match \"{query}\""msgstr "Keine Unternehmen entsprechen „{query}\""@@ -13841,6 +13874,9 @@ msgstr "Keine Materialien"msgid "No materials yet"msgstr "Noch keine Werkstoffe"+msgid "No modules found"+msgstr "Keine Module gefunden"+msgid "No new notifications"msgstr "Keine neuen Benachrichtigungen"@@ -20104,6 +20140,9 @@ msgstr "Lagerbewegung korrigiert"msgid "Stock size — e.g. sheet thickness or bar diameter"msgstr "Bestandsgröße — z.B. Blechdicke oder Stabdurchmesser"+msgid "Stock Transfer"+msgstr "Bestandsumlagerung"+msgid "Stock Transfer ID"msgstr "Lagerbestandstransfer-ID"@@ -20614,6 +20653,9 @@ msgstr "Schalten Sie ein Modul aus, um es überall zu entfernen: Anforderungen,msgid "Switch company"msgstr "Unternehmen wechseln"+msgid "Switch module"+msgstr "Modul wechseln"+msgid "Switch to pan mode"msgstr "Zum Schwenkmodus wechseln"@@ -22044,6 +22086,9 @@ msgstr "Dies hat keine Auswirkung, bis eine E-Mail-Domäne unten verifiziert wirmsgid "This information will be used on document headers"msgstr "Diese Informationen werden in Dokumentkopfzeilen verwendet"+msgid "This information will be visible to all users, so be careful what you share."+msgstr "Diese Information ist für alle Benutzer sichtbar. Seien Sie daher vorsichtig, was Sie teilen."+msgid "this inspection plan"msgstr "dieser Prüfplan"@@ -22560,6 +22605,9 @@ msgstr "Oberste Klassifizierung (Vermögenswert / Verbindlichkeit / Eigenkapitalmsgid "Topic"msgstr "Thema"+msgid "Topics"+msgstr "Themen"+msgid "Total"msgstr "Gesamt"@@ -24712,6 +24760,9 @@ msgstr "Ihre Teilenummern"msgid "Your part numbers and the item master behind them"msgstr "Ihre Teilenummern und der dahinter stehende Artikelstamm"+msgid "Your profile could not be loaded."+msgstr "Ihr Profil konnte nicht geladen werden."+msgid "Your project end to end: the plan, the gates, and go-live"msgstr "Ihr Projekt von Anfang bis Ende: die Planung, die Meilensteine und der Go-Live"diff --git a/packages/locale/locales/de/mes.po b/packages/locale/locales/de/mes.poindex 29782f5750..39dd810c35 100644--- a/packages/locale/locales/de/mes.po+++ b/packages/locale/locales/de/mes.po@@ -67,6 +67,10 @@ msgstr "{0} von {1} abgeschlossen"msgid "{0} queued"msgstr "{0} in Warteschlange"+#. placeholder {0}: result.credentialName ?? "Passkey"+msgid "{0} registered"+msgstr "{0} registriert"+#. placeholder {0}: activeWork.lengthmsgid "{0} running"msgstr "{0} läuft"@@ -89,6 +93,9 @@ msgstr "{completions} bestandene Einheit(en) werden abgeschlossen."msgid "{fails} sampled failure(s) are recorded and will NOT be completed — resolve them from the actions menu."msgstr "{fails} erfasste Fehler werden NICHT abgeschlossen – beheben Sie diese über das Aktionsmenü."+msgid "{maxSizeMB}MB limit"+msgstr "{maxSizeMB}MB Grenze"+#. placeholder {0}: step.perMember.lengthmsgid "{recorded}/{0} jobs"msgstr "{recorded}/{0} Fertigungsaufträge"@@ -111,6 +118,12 @@ msgstr "Charge annehmen"msgid "Accept lot?"msgstr "Charge annehmen?"+msgid "Account"+msgstr "Konto"++msgid "Account settings"+msgstr "Kontoeinstellungen"+msgid "Account Settings"msgstr "Kontoeinstellungen"@@ -136,15 +149,24 @@ msgstr "Hinzufügen & Ausgeben"msgid "Add a printer in the printing settings to print labels directly."msgstr "Einen Drucker in den Druckeinstellungen hinzufügen, um Etiketten direkt zu drucken."+msgid "Add Authenticator App"+msgstr "Authentifizierungs-App hinzufügen"+msgid "Add Inventory"msgstr "Bestand hinzufügen"+msgid "Add Passkey"+msgstr "Passkey hinzufügen"+msgid "Add Sample"msgstr "Probe hinzufügen"msgid "Add Spare Part"msgstr "Ersatzteil hinzufügen"+msgid "Added"+msgstr "Hinzugefügt"+msgid "All"msgstr "Alle"@@ -179,6 +201,12 @@ msgstr "Einheiten zuordnen"msgid "Appearance"msgstr "Darstellung"+msgid "Approvals"+msgstr "Genehmigungen"++msgid "Are you sure you want to delete this passkey? You won't be able to use it to sign in anymore."+msgstr "Sind Sie sicher, dass Sie diesen Passkey löschen möchten? Sie können sich damit nicht mehr anmelden."+msgid "Are you sure you want to delete this step?"msgstr "Möchten Sie diesen Schritt wirklich löschen?"@@ -209,18 +237,40 @@ msgstr "Bearbeiter"msgid "Authentication Error"msgstr "Authentifizierungsfehler"+msgid "Authenticator app"+msgstr "Authentifizierungs-App"++msgid "Authenticator QR code"+msgstr "Authentifizierungs-QR-Code"+msgid "available"msgstr "verfügbar"msgid "Available"msgstr "Verfügbar"+#. placeholder {0}: index + 1+msgid "Avatar option {0}"+msgstr "Avatar-Option {0}"++msgid "Avatar style"+msgstr "Avatar-Stil"++#. placeholder {0}: info.source.name+#. placeholder {1}: info.creator+#. placeholder {2}: info.license.name+msgid "Avatars from <0>{0}</0> by {1}, licensed under <1>{2}</1>."+msgstr "Avatare von <0>{0}</0> von {1}, lizenziert unter <1>{2}</1>."+msgid "Back"msgstr "Zurück"msgid "Back to batch"msgstr "Zurück zum Los"+msgid "Background"+msgstr "Hintergrund"+msgid "Batch"msgstr "Charge"@@ -283,6 +333,12 @@ msgstr "Carbon Logo"msgid "Cards"msgstr "Karten"+msgid "Change"+msgstr "Ändern"++msgid "Changelog newsletter"+msgstr "Changelog-Newsletter"+msgid "Characteristic"msgstr "Merkmal"@@ -301,6 +357,12 @@ msgstr "Wählen Sie einen Fertigungsauftrag"msgid "Choose an option"msgstr "Wähle eine Option"+msgid "Choose avatar"+msgstr "Avatar auswählen"++msgid "Choose how Carbon reaches you."+msgstr "Wählen Sie, wie Carbon Sie erreicht."+msgid "Clear"msgstr "Löschen"@@ -453,6 +515,12 @@ msgstr "Standardlagereinheit"msgid "Delete"msgstr "Löschen"+msgid "Delete passkey"+msgstr "Passkey löschen"++msgid "Delete Passkey"+msgstr "Passkey löschen"+msgid "Delete Step"msgstr "Schritt löschen"@@ -552,12 +620,24 @@ msgstr "Die Ausgabe jedes Fertigungsauftrags ist seine eigene Charge – haltenmsgid "Edit"msgstr "Bearbeiten"+msgid "Edit Passkey"+msgstr "Passkey bearbeiten"+msgid "Elapsed"msgstr "Verstrichene Zeit"+msgid "email"+msgstr "E-Mail"++msgid "Email"+msgstr "E-Mail"+msgid "Email Address"msgstr "E-Mail-Adresse"+msgid "Email notifications are not included in your company's current plan; email preferences will apply if they are enabled."+msgstr "E-Mail-Benachrichtigungen sind nicht in Ihrem aktuellen Unternehmensplan enthalten; E-Mail-Einstellungen werden angewendet, wenn sie aktiviert sind."+msgid "Empty work centers"msgstr "Leere Arbeitsplätze"@@ -629,9 +709,15 @@ msgstr "Aktive Arbeitsgänge konnten nicht abgerufen werden"msgid "Failed to fetch storageUnits"msgstr "Fehler beim Abrufen von Lagerbereichen"+msgid "Failed to get options"+msgstr "Fehler beim Abrufen von Optionen"+msgid "Failed to record gauge"msgstr "Prüfmittel konnte nicht aufgezeichnet werden"+msgid "Failed to register passkey"+msgstr "Fehler beim Registrieren des Passkey"+msgid "Failed to save measurement"msgstr "Messung konnte nicht gespeichert werden"@@ -677,6 +763,9 @@ msgstr "Mit nicht gepicktem Material abschließen?"msgid "First due {0}"msgstr "Zuerst fällig {0}"+msgid "First Name"+msgstr "Vorname"+msgid "Fit"msgstr "Passen"@@ -741,6 +830,12 @@ msgstr "In einem offenen Menü"msgid "In Progress"msgstr "In Bearbeitung"+msgid "In-app notifications are always delivered. Choose which topics also reach you by email or Slack."+msgstr "In-App-Benachrichtigungen werden immer zugestellt. Wählen Sie, welche Themen Sie auch per E-Mail oder Slack erreichen."++msgid "In-app notifications are always delivered. Choose which topics also reach you by email."+msgstr "In-App-Benachrichtigungen werden immer zugestellt. Wählen Sie, welche Themen Sie auch per E-Mail erreichen."+msgid "Inspect Item"msgstr "Artikel prüfen"@@ -753,6 +848,9 @@ msgstr "Anweisungen"msgid "Insufficient quantity"msgstr "Unzureichende Menge"+msgid "Inventory"+msgstr "Bestände"+msgid "Inventory adjustment completed"msgstr "Bestandskorrektur abgeschlossen"@@ -789,6 +887,9 @@ msgstr "Artikel"msgid "Item Master"msgstr "Artikelstamm"+msgid "Items"+msgstr "Artikel"+msgid "Job"msgstr "Auftrag"@@ -816,6 +917,12 @@ msgstr "Personal"msgid "Last completed"msgstr "Zuletzt abgeschlossen"+msgid "Last Name"+msgstr "Nachname"++msgid "Last used"+msgstr "Zuletzt verwendet"+msgid "Learn more"msgstr "Erfahren Sie mehr"@@ -912,6 +1019,9 @@ msgstr "Instandhaltung überfällig"msgid "Make a replacement"msgstr "Ersatzteil erstellen"+msgid "Manage how you sign in to Carbon."+msgstr "Verwalten Sie, wie Sie sich bei Carbon anmelden."+msgid "Manually add items to inventory"msgstr "Artikel manuell zum Bestand hinzufügen"@@ -1070,6 +1180,9 @@ msgstr "Keine Option gefunden."msgid "No options found."msgstr "Keine Optionen gefunden."+msgid "No passkeys registered yet."+msgstr "Noch keine Passkeys registriert."+msgid "No picking lists assigned"msgstr "Keine Kommissionierlisten zugewiesen"@@ -1142,6 +1255,9 @@ msgstr "Nichts an diesem Arbeitsplatz geplant"msgid "Nothing to scrap"msgstr "Nichts zum Ausschuss"+msgid "Notifications"+msgstr "Benachrichtigungen"+msgid "OEE Impact"msgstr "OEE-Auswirkung"@@ -1217,6 +1333,9 @@ msgstr "Optionen"msgid "or"msgstr "oder"+msgid "Or enter this secret manually:"+msgstr "Oder geben Sie dieses Geheimnis manuell ein:"+msgid "Out of calibration"msgstr "Außerhalb der Kalibrierung"@@ -1247,15 +1366,30 @@ msgstr "Prüfung bestanden"msgid "Passed Inspection"msgstr "Prüfung bestanden"+msgid "Passkey name"+msgstr "Passkey-Name"+msgid "Passkey unlock failed"msgstr "Passkey-Entsperrung fehlgeschlagen"+msgid "Passkeys"+msgstr "Passkeys"++msgid "Passkeys are disabled"+msgstr "Passkeys sind deaktiviert"+msgid "Pause"msgstr "Unterbrechen"msgid "Pause timer"msgstr "Timer unterbrechen"+msgid "Phone"+msgstr "Telefon"++msgid "Photo uploaded successfully"+msgstr "Foto erfolgreich hochgeladen"+msgid "Pick"msgstr "Kommissionieren"@@ -1263,6 +1397,9 @@ msgstr "Kommissionieren"msgid "Pick {0}"msgstr "Kommissionieren {0}"+msgid "Pick a style and an avatar, or shuffle for new ones."+msgstr "Wählen Sie einen Stil und einen Avatar oder mischen Sie für neue."+msgid "Pick tracked item"msgstr "Verfolgtes Element auswählen"@@ -1350,9 +1487,18 @@ msgstr "Prozessparameter"msgid "Processes"msgstr "Prozesse"+msgid "Profile"+msgstr "Profil"+msgid "Progress"msgstr "Fortschritt"+msgid "Purchasing"+msgstr "Einkauf"++msgid "Quality"+msgstr "Qualität"+msgid "Quality Issue"msgstr "Qualitätsproblem"@@ -1368,6 +1514,9 @@ msgstr "Menge muss größer als 0 sein"msgid "Queue empty"msgstr "Warteschlange leer"+msgid "Quotes"+msgstr "Angebote"+msgid "Reason for rework"msgstr "Grund für Nacharbeit"@@ -1397,6 +1546,9 @@ msgstr "Teilweise aufzeichnen"msgid "Recorded"msgstr "Aufgezeichnet"+msgid "Registration failed"+msgstr "Registrierung fehlgeschlagen"+msgid "Reject"msgstr "Ablehnen"@@ -1409,6 +1561,9 @@ msgstr "Freigegeben"msgid "Remove"msgstr "Entfernen"+msgid "Remove authenticator app"+msgstr "Authentifizierungs-App entfernen"+msgid "Remove filter"msgstr "Filter entfernen"@@ -1418,15 +1573,24 @@ msgstr "Bestand entfernen"msgid "Remove part"msgstr "Teil entfernen"+msgid "Remove two-factor authentication"+msgstr "Zwei-Faktor-Authentifizierung entfernen"+msgid "Rename"msgstr "Umbenennen"msgid "Reopen the subassembly and create a replacement unit"msgstr "Baugruppe wieder öffnen und Ersatzeinheit erstellen"+msgid "Require a 6-digit code from an authenticator app when signing in."+msgstr "Einen 6-stelligen Code aus einer Authentifizierungs-App bei der Anmeldung erforderlich."+msgid "Required"msgstr "Erforderlich"+msgid "Reset"+msgstr "Zurücksetzen"+msgid "Result"msgstr "Ergebnis"@@ -1445,6 +1609,9 @@ msgstr "Nacharbeitsmenge"msgid "Running"msgstr "Läuft"+msgid "Sales"+msgstr "Vertrieb"+msgid "Sales Order"msgstr "Kundenauftrag"@@ -1478,6 +1645,9 @@ msgstr "Seriennummer scannen oder suchen..."msgid "Scan or select a tracked entity from this lot to add it as a sample column, then record its result in the grid."msgstr "Scannen oder wählen Sie eine Verfolgte Einheit aus dieser Charge, um sie als Probenspalte hinzuzufügen, dann erfassen Sie das Ergebnis in der Tabelle."+msgid "Scan this QR code with your authenticator app (e.g. Google Authenticator or 1Password), then enter the 6-digit code it shows."+msgstr "Scannen Sie diesen QR-Code mit Ihrer Authentifizierungs-App (z. B. Google Authenticator oder 1Password), und geben Sie dann den 6-stelligen Code ein, den sie anzeigt."+msgid "Schedule"msgstr "Zeitplan"@@ -1526,6 +1696,12 @@ msgstr "Werker suchen..."msgid "Search..."msgstr "Suchen..."+msgid "Secret copied to clipboard"+msgstr "Geheimnis in die Zwischenablage kopiert"++msgid "Security"+msgstr "Sicherheit"+msgid "Select"msgstr "Auswählen"@@ -1616,6 +1792,9 @@ msgstr "Legen Sie die Uhrzeit fest, zu der Sie mit der Arbeit aufgehört haben,msgid "Set up in Carbon"msgstr "In Carbon einrichten"+msgid "Set up two-factor authentication"+msgstr "Zwei-Faktor-Authentifizierung einrichten"+msgid "Set when the batch was planned."msgstr "Eingestellt, wenn das Los geplant wurde."@@ -1637,6 +1816,12 @@ msgstr "Beschreibung anzeigen"msgid "Show keyboard shortcuts"msgstr "Tastaturkürzel anzeigen"+msgid "Shuffle"+msgstr "Mischen"++msgid "Sign in with biometrics instead of a magic link. Passkeys are secured by Face ID, Touch ID, or your device PIN."+msgstr "Melden Sie sich mit Biometrie anstelle eines Magic Link an. Passkeys werden durch Face ID, Touch ID oder Ihre Geräte-PIN geschützt."+msgid "Sign in with Google"msgstr "Mit Google anmelden"@@ -1658,9 +1843,15 @@ msgstr "Stattdessen abmelden"msgid "Signed in as {stationName}"msgstr "Angemeldet als {stationName}"+msgid "Signing in will no longer require a code. Enter the current 6-digit code from your authenticator app to confirm."+msgstr "Die Anmeldung erfordert keinen Code mehr. Geben Sie den aktuellen 6-stelligen Code aus Ihrer Authentifizierungs-App ein, um zu bestätigen."+msgid "Size"msgstr "Größe"+msgid "Slack"+msgstr "Slack"+msgid "Source"msgstr "Quelle"@@ -1711,6 +1902,9 @@ msgstr "Schritte fehlen"msgid "Storage Unit"msgstr "Lagereinheit"+msgid "Style default"+msgstr "Standard-Stil"+msgid "Sub-Assembly"msgstr "Untergruppe"@@ -1732,12 +1926,18 @@ msgstr "Anonym einreichen"msgid "Suggestion"msgstr "Vorschlag"+msgid "Suggestions"+msgstr "Vorschläge"+msgid "Support Required"msgstr "Unterstützung erforderlich"msgid "Switch Operator"msgstr "Werker wechseln"+msgid "Synced"+msgstr "Synchronisiert"+msgid "System"msgstr "System"@@ -1778,6 +1978,9 @@ msgstr "Diese Artikel haben noch Material zum Picken. Ein Abschluss jetzt markiemsgid "This batch has no work instructions."msgstr "Dieses Los hat keine Arbeitsanweisung."+msgid "This information will be visible to all users, so be careful what you share."+msgstr "Diese Informationen sind für alle Benutzer sichtbar, seien Sie also vorsichtig, was Sie teilen."+msgid "This lot is expired and can't be picked."msgstr "Dieses Los ist abgelaufen und kann nicht entnommen werden."@@ -1836,6 +2039,12 @@ msgstr "Werkzeuge"msgid "Top to Bottom"msgstr "Von oben nach unten"+msgid "Topic"+msgstr "Thema"++msgid "Topics"+msgstr "Themen"+msgid "Total"msgstr "Gesamtbetrag"@@ -1859,9 +2068,21 @@ msgstr "nachverfolgten Positionen"msgid "Tracking"msgstr "Verfolgung"+msgid "Training"+msgstr "Schulung"+msgid "Two-factor authentication"msgstr "Zwei-Faktor-Authentifizierung"+msgid "Two-factor authentication disabled"+msgstr "Zwei-Faktor-Authentifizierung deaktiviert"++msgid "Two-factor authentication enabled"+msgstr "Zwei-Faktor-Authentifizierung aktiviert"++msgid "Two-factor authentication is not enabled."+msgstr "Zwei-Faktor-Authentifizierung ist nicht aktiviert."+msgid "Two-factor authentication required"msgstr "Zwei-Faktor-Authentifizierung erforderlich"@@ -1919,10 +2140,17 @@ msgstr "Aktualisiert {0}"msgid "Updated successfully"msgstr "Erfolgreich aktualisiert"+msgid "Upload"+msgstr "Hochladen"++msgid "Upload completed but no file path returned"+msgstr "Upload abgeschlossen, aber kein Dateipfad zurückgegeben"+#. placeholder {0}: fileUpload.namemsgid "Uploaded: {0}"msgstr "Hochgeladen: {0}"+#. placeholder {0}: avatarFile.name#. placeholder {0}: fileUpload.namemsgid "Uploading {0}"msgstr "{0} wird hochgeladen"@@ -1941,6 +2169,9 @@ msgstr "Verwendet {0} · {1}"msgid "Value"msgstr "Wert"+msgid "Verification failed"+msgstr "Verifizierung fehlgeschlagen"+msgid "Verify"msgstr "Bestätigen"@@ -1986,6 +2217,9 @@ msgstr "Ihr Konto ist noch nicht Teil eines Unternehmens. Schließen Sie das Onbmsgid "Your organization requires an authenticator app. Set it up in Carbon, then come back here."msgstr "Ihre Organisation erfordert eine Authentifizierungs-App. Richten Sie sie in Carbon ein und kommen Sie dann hierher zurück."+msgid "Your profile could not be loaded."+msgstr "Ihr Profil konnte nicht geladen werden."+msgid "Your session was locked after inactivity."msgstr "Ihre Sitzung wurde nach Inaktivität gesperrt."diff --git a/packages/locale/locales/en/erp.po b/packages/locale/locales/en/erp.poindex 422d334158..f8d13be5f8 100644--- a/packages/locale/locales/en/erp.po+++ b/packages/locale/locales/en/erp.po@@ -604,6 +604,9 @@ msgstr "{unitCount} units"msgid "{unmappedRequiredCount, plural, one {Map the # remaining required account first.} other {Map the # remaining required accounts first.}}"msgstr "{unmappedRequiredCount, plural, one {Map the # remaining required account first.} other {Map the # remaining required accounts first.}}"+msgid "{unread} unread"+msgstr "{unread} unread"+msgid "{unschedulableCount} can't be scheduled"msgstr "{unschedulableCount} can't be scheduled"@@ -1485,6 +1488,9 @@ msgstr "Account Name"msgid "Account Number"msgstr "Account Number"+msgid "Account settings"+msgstr "Account settings"+msgid "Account Settings"msgstr "Account Settings"@@ -2205,6 +2211,9 @@ msgstr "all make {0}"msgid "All members of selected groups and selected individuals will be able to approve requests"msgstr "All members of selected groups and selected individuals will be able to approve requests"+msgid "All modules"+msgstr "All modules"+msgid "All open jobs"msgstr "All open jobs"@@ -3547,6 +3556,9 @@ msgstr "Awaiting approval"msgid "Back"msgstr "Back"+msgid "Back to menu"+msgstr "Back to menu"+msgid "Back to traceability"msgstr "Back to traceability"@@ -4558,6 +4570,9 @@ msgstr "Choose another file"msgid "Choose avatar"msgstr "Choose avatar"+msgid "Choose how Carbon reaches you."+msgstr "Choose how Carbon reaches you."+msgid "Choose how to add lines to this return."msgstr "Choose how to add lines to this return."@@ -4687,6 +4702,9 @@ msgstr "Close date"msgid "Close Date"msgstr "Close Date"+msgid "Close menu"+msgstr "Close menu"+msgid "Close Period"msgstr "Close Period"@@ -9581,6 +9599,12 @@ msgstr "Financial Statements"msgid "Financing"msgstr "Financing"+msgid "Find company…"+msgstr "Find company…"++msgid "Find module…"+msgstr "Find module…"+msgid "finish"msgstr "finish"@@ -12297,6 +12321,9 @@ msgstr "Manage authentication and sign-in requirements for your company."msgid "Manage how shelf life is tracked, computed, and enforced across inventory."msgstr "Manage how shelf life is tracked, computed, and enforced across inventory."+msgid "Manage how you sign in to Carbon."+msgstr "Manage how you sign in to Carbon."+msgid "Manage Ownership"msgstr "Manage Ownership"@@ -12619,6 +12646,9 @@ msgstr "Memo Date"msgid "Memo ID"msgstr "Memo ID"+msgid "Menu"+msgstr "Menu"+msgid "Merchant"msgstr "Merchant"@@ -13598,6 +13628,9 @@ msgstr "No collision-free path"msgid "No comments yet. Be the first to add a comment."msgstr "No comments yet. Be the first to add a comment."+msgid "No companies found"+msgstr "No companies found"+msgid "No companies match \"{query}\""msgstr "No companies match \"{query}\""@@ -13841,6 +13874,9 @@ msgstr "No materials"msgid "No materials yet"msgstr "No materials yet"+msgid "No modules found"+msgstr "No modules found"+msgid "No new notifications"msgstr "No new notifications"@@ -20104,6 +20140,9 @@ msgstr "Stock movement corrected"msgid "Stock size — e.g. sheet thickness or bar diameter"msgstr "Stock size — e.g. sheet thickness or bar diameter"+msgid "Stock Transfer"+msgstr "Stock Transfer"+msgid "Stock Transfer ID"msgstr "Stock Transfer ID"@@ -20614,6 +20653,9 @@ msgstr "Switch a module off to remove it everywhere: Requirements, Data, Traininmsgid "Switch company"msgstr "Switch company"+msgid "Switch module"+msgstr "Switch module"+msgid "Switch to pan mode"msgstr "Switch to pan mode"@@ -22044,6 +22086,9 @@ msgstr "This has no effect until an email domain is verified below."msgid "This information will be used on document headers"msgstr "This information will be used on document headers"+msgid "This information will be visible to all users, so be careful what you share."+msgstr "This information will be visible to all users, so be careful what you share."+msgid "this inspection plan"msgstr "this inspection plan"@@ -22560,6 +22605,9 @@ msgstr "Top-level classification (asset / liability / equity / revenue / expensemsgid "Topic"msgstr "Topic"+msgid "Topics"+msgstr "Topics"+msgid "Total"msgstr "Total"@@ -24715,6 +24763,9 @@ msgstr "Your part numbers"msgid "Your part numbers and the item master behind them"msgstr "Your part numbers and the item master behind them"+msgid "Your profile could not be loaded."+msgstr "Your profile could not be loaded."+msgid "Your project end to end: the plan, the gates, and go-live"msgstr "Your project end to end: the plan, the gates, and go-live"diff --git a/packages/locale/locales/en/mes.po b/packages/locale/locales/en/mes.poindex 6542b241d6..c4b19918b9 100644--- a/packages/locale/locales/en/mes.po+++ b/packages/locale/locales/en/mes.po@@ -67,6 +67,10 @@ msgstr "{0} of {1} completed"msgid "{0} queued"msgstr "{0} queued"+#. placeholder {0}: result.credentialName ?? "Passkey"+msgid "{0} registered"+msgstr "{0} registered"+#. placeholder {0}: activeWork.lengthmsgid "{0} running"msgstr "{0} running"@@ -89,6 +93,9 @@ msgstr "{completions} passed unit(s) will be completed."msgid "{fails} sampled failure(s) are recorded and will NOT be completed — resolve them from the actions menu."msgstr "{fails} sampled failure(s) are recorded and will NOT be completed — resolve them from the actions menu."+msgid "{maxSizeMB}MB limit"+msgstr "{maxSizeMB}MB limit"+#. placeholder {0}: step.perMember.lengthmsgid "{recorded}/{0} jobs"msgstr "{recorded}/{0} jobs"@@ -111,6 +118,12 @@ msgstr "Accept Lot"msgid "Accept lot?"msgstr "Accept lot?"+msgid "Account"+msgstr "Account"++msgid "Account settings"+msgstr "Account settings"+msgid "Account Settings"msgstr "Account Settings"@@ -136,15 +149,24 @@ msgstr "Add & Issue"msgid "Add a printer in the printing settings to print labels directly."msgstr "Add a printer in the printing settings to print labels directly."+msgid "Add Authenticator App"+msgstr "Add Authenticator App"+msgid "Add Inventory"msgstr "Add Inventory"+msgid "Add Passkey"+msgstr "Add Passkey"+msgid "Add Sample"msgstr "Add Sample"msgid "Add Spare Part"msgstr "Add Spare Part"+msgid "Added"+msgstr "Added"+msgid "All"msgstr "All"@@ -179,6 +201,12 @@ msgstr "Allocate units"msgid "Appearance"msgstr "Appearance"+msgid "Approvals"+msgstr "Approvals"++msgid "Are you sure you want to delete this passkey? You won't be able to use it to sign in anymore."+msgstr "Are you sure you want to delete this passkey? You won't be able to use it to sign in anymore."+msgid "Are you sure you want to delete this step?"msgstr "Are you sure you want to delete this step?"@@ -209,18 +237,40 @@ msgstr "Assignee"msgid "Authentication Error"msgstr "Authentication Error"+msgid "Authenticator app"+msgstr "Authenticator app"++msgid "Authenticator QR code"+msgstr "Authenticator QR code"+msgid "available"msgstr "available"msgid "Available"msgstr "Available"+#. placeholder {0}: index + 1+msgid "Avatar option {0}"+msgstr "Avatar option {0}"++msgid "Avatar style"+msgstr "Avatar style"++#. placeholder {0}: info.source.name+#. placeholder {1}: info.creator+#. placeholder {2}: info.license.name+msgid "Avatars from <0>{0}</0> by {1}, licensed under <1>{2}</1>."+msgstr "Avatars from <0>{0}</0> by {1}, licensed under <1>{2}</1>."+msgid "Back"msgstr "Back"msgid "Back to batch"msgstr "Back to batch"+msgid "Background"+msgstr "Background"+msgid "Batch"msgstr "Batch"@@ -283,6 +333,12 @@ msgstr "Carbon Logo"msgid "Cards"msgstr "Cards"+msgid "Change"+msgstr "Change"++msgid "Changelog newsletter"+msgstr "Changelog newsletter"+msgid "Characteristic"msgstr "Characteristic"@@ -301,6 +357,12 @@ msgstr "Choose a job"msgid "Choose an option"msgstr "Choose an option"+msgid "Choose avatar"+msgstr "Choose avatar"++msgid "Choose how Carbon reaches you."+msgstr "Choose how Carbon reaches you."+msgid "Clear"msgstr "Clear"@@ -453,6 +515,12 @@ msgstr "Default Storage Unit"msgid "Delete"msgstr "Delete"+msgid "Delete passkey"+msgstr "Delete passkey"++msgid "Delete Passkey"+msgstr "Delete Passkey"+msgid "Delete Step"msgstr "Delete Step"@@ -552,12 +620,24 @@ msgstr "Each job's output is its own lot — keep each job's parts apart."msgid "Edit"msgstr "Edit"+msgid "Edit Passkey"+msgstr "Edit Passkey"+msgid "Elapsed"msgstr "Elapsed"+msgid "email"+msgstr "email"++msgid "Email"+msgstr "Email"+msgid "Email Address"msgstr "Email Address"+msgid "Email notifications are not included in your company's current plan; email preferences will apply if they are enabled."+msgstr "Email notifications are not included in your company's current plan; email preferences will apply if they are enabled."+msgid "Empty work centers"msgstr "Empty work centers"@@ -629,9 +709,15 @@ msgstr "Failed to fetch active operations"msgid "Failed to fetch storageUnits"msgstr "Failed to fetch storageUnits"+msgid "Failed to get options"+msgstr "Failed to get options"+msgid "Failed to record gauge"msgstr "Failed to record gauge"+msgid "Failed to register passkey"+msgstr "Failed to register passkey"+msgid "Failed to save measurement"msgstr "Failed to save measurement"@@ -677,6 +763,9 @@ msgstr "Finish with material unpicked?"msgid "First due {0}"msgstr "First due {0}"+msgid "First Name"+msgstr "First Name"+msgid "Fit"msgstr "Fit"@@ -741,6 +830,12 @@ msgstr "In an open menu"msgid "In Progress"msgstr "In Progress"+msgid "In-app notifications are always delivered. Choose which topics also reach you by email or Slack."+msgstr "In-app notifications are always delivered. Choose which topics also reach you by email or Slack."++msgid "In-app notifications are always delivered. Choose which topics also reach you by email."+msgstr "In-app notifications are always delivered. Choose which topics also reach you by email."+msgid "Inspect Item"msgstr "Inspect Item"@@ -753,6 +848,9 @@ msgstr "Instructions"msgid "Insufficient quantity"msgstr "Insufficient quantity"+msgid "Inventory"+msgstr "Inventory"+msgid "Inventory adjustment completed"msgstr "Inventory adjustment completed"@@ -789,6 +887,9 @@ msgstr "Item"msgid "Item Master"msgstr "Item Master"+msgid "Items"+msgstr "Items"+msgid "Job"msgstr "Job"@@ -816,6 +917,12 @@ msgstr "Labor"msgid "Last completed"msgstr "Last completed"+msgid "Last Name"+msgstr "Last Name"++msgid "Last used"+msgstr "Last used"+msgid "Learn more"msgstr "Learn more"@@ -912,6 +1019,9 @@ msgstr "Maintenance overdue"msgid "Make a replacement"msgstr "Make a replacement"+msgid "Manage how you sign in to Carbon."+msgstr "Manage how you sign in to Carbon."+msgid "Manually add items to inventory"msgstr "Manually add items to inventory"@@ -1070,6 +1180,9 @@ msgstr "No option found."msgid "No options found."msgstr "No options found."+msgid "No passkeys registered yet."+msgstr "No passkeys registered yet."+msgid "No picking lists assigned"msgstr "No picking lists assigned"@@ -1142,6 +1255,9 @@ msgstr "Nothing scheduled at this work center"msgid "Nothing to scrap"msgstr "Nothing to scrap"+msgid "Notifications"+msgstr "Notifications"+msgid "OEE Impact"msgstr "OEE Impact"@@ -1217,6 +1333,9 @@ msgstr "Options"msgid "or"msgstr "or"+msgid "Or enter this secret manually:"+msgstr "Or enter this secret manually:"+msgid "Out of calibration"msgstr "Out of calibration"@@ -1247,15 +1366,30 @@ msgstr "Passed inspection"msgid "Passed Inspection"msgstr "Passed Inspection"+msgid "Passkey name"+msgstr "Passkey name"+msgid "Passkey unlock failed"msgstr "Passkey unlock failed"+msgid "Passkeys"+msgstr "Passkeys"++msgid "Passkeys are disabled"+msgstr "Passkeys are disabled"+msgid "Pause"msgstr "Pause"msgid "Pause timer"msgstr "Pause timer"+msgid "Phone"+msgstr "Phone"++msgid "Photo uploaded successfully"+msgstr "Photo uploaded successfully"+msgid "Pick"msgstr "Pick"@@ -1263,6 +1397,9 @@ msgstr "Pick"msgid "Pick {0}"msgstr "Pick {0}"+msgid "Pick a style and an avatar, or shuffle for new ones."+msgstr "Pick a style and an avatar, or shuffle for new ones."+msgid "Pick tracked item"msgstr "Pick tracked item"@@ -1350,9 +1487,18 @@ msgstr "Process Parameters"msgid "Processes"msgstr "Processes"+msgid "Profile"+msgstr "Profile"+msgid "Progress"msgstr "Progress"+msgid "Purchasing"+msgstr "Purchasing"++msgid "Quality"+msgstr "Quality"+msgid "Quality Issue"msgstr "Quality Issue"@@ -1368,6 +1514,9 @@ msgstr "Quantity must be greater than 0"msgid "Queue empty"msgstr "Queue empty"+msgid "Quotes"+msgstr "Quotes"+msgid "Reason for rework"msgstr "Reason for rework"@@ -1397,6 +1546,9 @@ msgstr "Record Partial"msgid "Recorded"msgstr "Recorded"+msgid "Registration failed"+msgstr "Registration failed"+msgid "Reject"msgstr "Reject"@@ -1409,6 +1561,9 @@ msgstr "Released"msgid "Remove"msgstr "Remove"+msgid "Remove authenticator app"+msgstr "Remove authenticator app"+msgid "Remove filter"msgstr "Remove filter"@@ -1418,15 +1573,24 @@ msgstr "Remove Inventory"msgid "Remove part"msgstr "Remove part"+msgid "Remove two-factor authentication"+msgstr "Remove two-factor authentication"+msgid "Rename"msgstr "Rename"msgid "Reopen the subassembly and create a replacement unit"msgstr "Reopen the subassembly and create a replacement unit"+msgid "Require a 6-digit code from an authenticator app when signing in."+msgstr "Require a 6-digit code from an authenticator app when signing in."+msgid "Required"msgstr "Required"+msgid "Reset"+msgstr "Reset"+msgid "Result"msgstr "Result"@@ -1445,6 +1609,9 @@ msgstr "Rework quantity"msgid "Running"msgstr "Running"+msgid "Sales"+msgstr "Sales"+msgid "Sales Order"msgstr "Sales Order"@@ -1478,6 +1645,9 @@ msgstr "Scan or search serial number..."msgid "Scan or select a tracked entity from this lot to add it as a sample column, then record its result in the grid."msgstr "Scan or select a tracked entity from this lot to add it as a sample column, then record its result in the grid."+msgid "Scan this QR code with your authenticator app (e.g. Google Authenticator or 1Password), then enter the 6-digit code it shows."+msgstr "Scan this QR code with your authenticator app (e.g. Google Authenticator or 1Password), then enter the 6-digit code it shows."+msgid "Schedule"msgstr "Schedule"@@ -1526,6 +1696,12 @@ msgstr "Search operators..."msgid "Search..."msgstr "Search..."+msgid "Secret copied to clipboard"+msgstr "Secret copied to clipboard"++msgid "Security"+msgstr "Security"+msgid "Select"msgstr "Select"@@ -1616,6 +1792,9 @@ msgstr "Set the time you stopped working, or acknowledge that you're still workimsgid "Set up in Carbon"msgstr "Set up in Carbon"+msgid "Set up two-factor authentication"+msgstr "Set up two-factor authentication"+msgid "Set when the batch was planned."msgstr "Set when the batch was planned."@@ -1637,6 +1816,12 @@ msgstr "Show description"msgid "Show keyboard shortcuts"msgstr "Show keyboard shortcuts"+msgid "Shuffle"+msgstr "Shuffle"++msgid "Sign in with biometrics instead of a magic link. Passkeys are secured by Face ID, Touch ID, or your device PIN."+msgstr "Sign in with biometrics instead of a magic link. Passkeys are secured by Face ID, Touch ID, or your device PIN."+msgid "Sign in with Google"msgstr "Sign in with Google"@@ -1658,9 +1843,15 @@ msgstr "Sign out instead"msgid "Signed in as {stationName}"msgstr "Signed in as {stationName}"+msgid "Signing in will no longer require a code. Enter the current 6-digit code from your authenticator app to confirm."+msgstr "Signing in will no longer require a code. Enter the current 6-digit code from your authenticator app to confirm."+msgid "Size"msgstr "Size"+msgid "Slack"+msgstr "Slack"+msgid "Source"msgstr "Source"@@ -1711,6 +1902,9 @@ msgstr "Steps are missing"msgid "Storage Unit"msgstr "Storage Unit"+msgid "Style default"+msgstr "Style default"+msgid "Sub-Assembly"msgstr "Sub-Assembly"@@ -1732,12 +1926,18 @@ msgstr "Submit anonymously"msgid "Suggestion"msgstr "Suggestion"+msgid "Suggestions"+msgstr "Suggestions"+msgid "Support Required"msgstr "Support Required"msgid "Switch Operator"msgstr "Switch Operator"+msgid "Synced"+msgstr "Synced"+msgid "System"msgstr "System"@@ -1778,6 +1978,9 @@ msgstr "These items still have material to pick. Finishing now marks the list Pamsgid "This batch has no work instructions."msgstr "This batch has no work instructions."+msgid "This information will be visible to all users, so be careful what you share."+msgstr "This information will be visible to all users, so be careful what you share."+msgid "This lot is expired and can't be picked."msgstr "This lot is expired and can't be picked."@@ -1836,6 +2039,12 @@ msgstr "Tools"msgid "Top to Bottom"msgstr "Top to Bottom"+msgid "Topic"+msgstr "Topic"++msgid "Topics"+msgstr "Topics"+msgid "Total"msgstr "Total"@@ -1859,9 +2068,21 @@ msgstr "tracked lines"msgid "Tracking"msgstr "Tracking"+msgid "Training"+msgstr "Training"+msgid "Two-factor authentication"msgstr "Two-factor authentication"+msgid "Two-factor authentication disabled"+msgstr "Two-factor authentication disabled"++msgid "Two-factor authentication enabled"+msgstr "Two-factor authentication enabled"++msgid "Two-factor authentication is not enabled."+msgstr "Two-factor authentication is not enabled."+msgid "Two-factor authentication required"msgstr "Two-factor authentication required"@@ -1919,10 +2140,17 @@ msgstr "Updated {0}"msgid "Updated successfully"msgstr "Updated successfully"+msgid "Upload"+msgstr "Upload"++msgid "Upload completed but no file path returned"+msgstr "Upload completed but no file path returned"+#. placeholder {0}: fileUpload.namemsgid "Uploaded: {0}"msgstr "Uploaded: {0}"+#. placeholder {0}: avatarFile.name#. placeholder {0}: fileUpload.namemsgid "Uploading {0}"msgstr "Uploading {0}"@@ -1941,6 +2169,9 @@ msgstr "Uses {0} · {1}"msgid "Value"msgstr "Value"+msgid "Verification failed"+msgstr "Verification failed"+msgid "Verify"msgstr "Verify"@@ -1986,6 +2217,9 @@ msgstr "Your account isn't part of a company yet. Complete onboarding in the Carmsgid "Your organization requires an authenticator app. Set it up in Carbon, then come back here."msgstr "Your organization requires an authenticator app. Set it up in Carbon, then come back here."+msgid "Your profile could not be loaded."+msgstr "Your profile could not be loaded."+msgid "Your session was locked after inactivity."msgstr "Your session was locked after inactivity."diff --git a/packages/locale/locales/es/erp.po b/packages/locale/locales/es/erp.poindex 2720e13071..6dd5ae47f2 100644--- a/packages/locale/locales/es/erp.po+++ b/packages/locale/locales/es/erp.po@@ -604,6 +604,9 @@ msgstr "{unitCount} unidades"msgid "{unmappedRequiredCount, plural, one {Map the # remaining required account first.} other {Map the # remaining required accounts first.}}"msgstr "{unmappedRequiredCount, plural, one {Asigna primero la # cuenta requerida restante.} other {Asigna primero las # cuentas requeridas restantes.}}"+msgid "{unread} unread"+msgstr "{unread} sin leer"+msgid "{unschedulableCount} can't be scheduled"msgstr "{unschedulableCount} no puede ser programado"@@ -1485,6 +1488,9 @@ msgstr "Nombre de cuenta"msgid "Account Number"msgstr "Número de Cuenta"+msgid "Account settings"+msgstr "Configuración de cuenta"+msgid "Account Settings"msgstr "Configuración de Cuenta"@@ -2205,6 +2211,9 @@ msgstr "todos fabricados {0}"msgid "All members of selected groups and selected individuals will be able to approve requests"msgstr "Todos los miembros de los grupos seleccionados e individuos seleccionados podrán aprobar solicitudes"+msgid "All modules"+msgstr "Todos los módulos"+msgid "All open jobs"msgstr "Todas las órdenes de trabajo abiertas"@@ -3547,6 +3556,9 @@ msgstr "A la espera de aprobación"msgid "Back"msgstr "Atrás"+msgid "Back to menu"+msgstr "Volver al menú"+msgid "Back to traceability"msgstr "Volver a trazabilidad"@@ -4558,6 +4570,9 @@ msgstr "Elegir otro archivo"msgid "Choose avatar"msgstr "Elegir avatar"+msgid "Choose how Carbon reaches you."+msgstr "Elige cómo Carbon te contacta."+msgid "Choose how to add lines to this return."msgstr "Elija cómo agregar líneas a esta devolución."@@ -4687,6 +4702,9 @@ msgstr "Fecha de cierre"msgid "Close Date"msgstr "Fecha de Cierre"+msgid "Close menu"+msgstr "Cerrar menú"+msgid "Close Period"msgstr "Cerrar Período"@@ -9581,6 +9599,12 @@ msgstr "Estados Financieros"msgid "Financing"msgstr "Financiamiento"+msgid "Find company…"+msgstr "Buscar empresa…"++msgid "Find module…"+msgstr "Buscar módulo…"+msgid "finish"msgstr "Productos terminados"@@ -12297,6 +12321,9 @@ msgstr "Administra los requisitos de autenticación e inicio de sesión para tumsgid "Manage how shelf life is tracked, computed, and enforced across inventory."msgstr "Administre cómo se rastrea, se calcula y se aplica la vida de anaquel en todo el inventario."+msgid "Manage how you sign in to Carbon."+msgstr "Administra cómo inicias sesión en Carbon."+msgid "Manage Ownership"msgstr "Gestionar Propiedad"@@ -12619,6 +12646,9 @@ msgstr "Fecha del Memorándum"msgid "Memo ID"msgstr "ID de Memorándum"+msgid "Menu"+msgstr "Menú"+msgid "Merchant"msgstr "Comerciante"@@ -13598,6 +13628,9 @@ msgstr "Sin ruta libre de colisiones"msgid "No comments yet. Be the first to add a comment."msgstr "No hay comentarios aún. Sé el primero en agregar un comentario."+msgid "No companies found"+msgstr "No se encontraron empresas"+msgid "No companies match \"{query}\""msgstr "Ninguna empresa coincide con «{query}»"@@ -13841,6 +13874,9 @@ msgstr "Sin materiales"msgid "No materials yet"msgstr "Sin materiales aún"+msgid "No modules found"+msgstr "No se encontraron módulos"+msgid "No new notifications"msgstr "Sin notificaciones nuevas"@@ -20104,6 +20140,9 @@ msgstr "Movimiento de stock corregido"msgid "Stock size — e.g. sheet thickness or bar diameter"msgstr "Tamaño de existencias — por ej. espesor de lámina o diámetro de barra"+msgid "Stock Transfer"+msgstr "Transferencia de Existencias"+msgid "Stock Transfer ID"msgstr "ID de Transferencia de Inventario"@@ -20614,6 +20653,9 @@ msgstr "Desactiva un módulo para eliminarlo en todas partes: Requisitos, Datos,msgid "Switch company"msgstr "Cambiar empresa"+msgid "Switch module"+msgstr "Cambiar módulo"+msgid "Switch to pan mode"msgstr "Cambiar a modo panorámico"@@ -22044,6 +22086,9 @@ msgstr "Esto no tiene efecto hasta que se verifique un dominio de correo electrmsgid "This information will be used on document headers"msgstr "Esta información se utilizará en los encabezados de documentos"+msgid "This information will be visible to all users, so be careful what you share."+msgstr "Esta información será visible para todos los usuarios, así que ten cuidado con lo que compartes."+msgid "this inspection plan"msgstr "este plan de inspección"@@ -22560,6 +22605,9 @@ msgstr "Clasificación de nivel superior (activo / pasivo / patrimonio / ingresomsgid "Topic"msgstr "Tema"+msgid "Topics"+msgstr "Temas"+msgid "Total"msgstr "Total"@@ -24712,6 +24760,9 @@ msgstr "Tus números de parte"msgid "Your part numbers and the item master behind them"msgstr "Tus números de parte y el maestro de artículos detrás de ellos"+msgid "Your profile could not be loaded."+msgstr "Tu perfil no se pudo cargar."+msgid "Your project end to end: the plan, the gates, and go-live"msgstr "Tu proyecto de principio a fin: el plan, los gates y el go-live"diff --git a/packages/locale/locales/es/mes.po b/packages/locale/locales/es/mes.poindex 84ffd8f6ed..f136f7ec91 100644--- a/packages/locale/locales/es/mes.po+++ b/packages/locale/locales/es/mes.po@@ -67,6 +67,10 @@ msgstr "{0} de {1} completados"msgid "{0} queued"msgstr "{0} en cola"+#. placeholder {0}: result.credentialName ?? "Passkey"+msgid "{0} registered"+msgstr "{0} registrado"+#. placeholder {0}: activeWork.lengthmsgid "{0} running"msgstr "{0} en ejecución"@@ -89,6 +93,9 @@ msgstr "{completions} unidades superadas se completarán."msgid "{fails} sampled failure(s) are recorded and will NOT be completed — resolve them from the actions menu."msgstr "{fails} fallo(s) muestreado(s) registrado(s) y NO serán completado(s) — resuélvalo(s) desde el menú de acciones."+msgid "{maxSizeMB}MB limit"+msgstr "Límite de {maxSizeMB}MB"+#. placeholder {0}: step.perMember.lengthmsgid "{recorded}/{0} jobs"msgstr "{recorded}/{0} órdenes de trabajo"@@ -111,6 +118,12 @@ msgstr "Aceptar lote"msgid "Accept lot?"msgstr "¿Aceptar lote?"+msgid "Account"+msgstr "Cuenta"++msgid "Account settings"+msgstr "Configuración de la cuenta"+msgid "Account Settings"msgstr "Configuración de cuenta"@@ -136,15 +149,24 @@ msgstr "Agregar y emitir"msgid "Add a printer in the printing settings to print labels directly."msgstr "Agregue una impresora en la configuración de impresión para imprimir etiquetas directamente."+msgid "Add Authenticator App"+msgstr "Agregar aplicación autenticadora"+msgid "Add Inventory"msgstr "Agregar inventario"+msgid "Add Passkey"+msgstr "Agregar llave de acceso"+msgid "Add Sample"msgstr "Agregar muestra"msgid "Add Spare Part"msgstr "Agregar repuesto"+msgid "Added"+msgstr "Agregado"+msgid "All"msgstr "Todos"@@ -179,6 +201,12 @@ msgstr "Asignar unidades"msgid "Appearance"msgstr "Apariencia"+msgid "Approvals"+msgstr "Aprobaciones"++msgid "Are you sure you want to delete this passkey? You won't be able to use it to sign in anymore."+msgstr "¿Está seguro de que desea eliminar esta llave de acceso? No podrá usarla para iniciar sesión."+msgid "Are you sure you want to delete this step?"msgstr "¿Está seguro de que desea eliminar este paso?"@@ -209,18 +237,40 @@ msgstr "Asignado"msgid "Authentication Error"msgstr "Error de autenticación"+msgid "Authenticator app"+msgstr "Aplicación autenticadora"++msgid "Authenticator QR code"+msgstr "Código QR autenticador"+msgid "available"msgstr "disponible"msgid "Available"msgstr "Disponible"+#. placeholder {0}: index + 1+msgid "Avatar option {0}"+msgstr "Opción de avatar {0}"++msgid "Avatar style"+msgstr "Estilo de avatar"++#. placeholder {0}: info.source.name+#. placeholder {1}: info.creator+#. placeholder {2}: info.license.name+msgid "Avatars from <0>{0}</0> by {1}, licensed under <1>{2}</1>."+msgstr "Avatares de <0>{0}</0> de {1}, licenciados bajo <1>{2}</1>."+msgid "Back"msgstr "Atrás"msgid "Back to batch"msgstr "Volver al lote de producción"+msgid "Background"+msgstr "Fondo"+msgid "Batch"msgstr "Lote"@@ -283,6 +333,12 @@ msgstr "Logotipo de Carbon"msgid "Cards"msgstr "Tarjetas"+msgid "Change"+msgstr "Cambiar"++msgid "Changelog newsletter"+msgstr "Boletín de cambios"+msgid "Characteristic"msgstr "Característica"@@ -301,6 +357,12 @@ msgstr "Elegir una orden de trabajo"msgid "Choose an option"msgstr "Elegir una opción"+msgid "Choose avatar"+msgstr "Elegir avatar"++msgid "Choose how Carbon reaches you."+msgstr "Elija cómo Carbon se comunica con usted."+msgid "Clear"msgstr "Limpiar"@@ -453,6 +515,12 @@ msgstr "Unidad de Almacenamiento Predeterminada"msgid "Delete"msgstr "Eliminar"+msgid "Delete passkey"+msgstr "Eliminar llave de acceso"++msgid "Delete Passkey"+msgstr "Eliminar llave de acceso"+msgid "Delete Step"msgstr "Eliminar paso"@@ -552,12 +620,24 @@ msgstr "La salida de cada orden de trabajo es su propio lote: mantén las piezasmsgid "Edit"msgstr "Editar"+msgid "Edit Passkey"+msgstr "Editar llave de acceso"+msgid "Elapsed"msgstr "Tiempo transcurrido"+msgid "email"+msgstr "correo electrónico"++msgid "Email"+msgstr "Correo electrónico"+msgid "Email Address"msgstr "Dirección de correo electrónico"+msgid "Email notifications are not included in your company's current plan; email preferences will apply if they are enabled."+msgstr "Las notificaciones por correo electrónico no están incluidas en el plan actual de su empresa; las preferencias de correo electrónico se aplicarán si están habilitadas."+msgid "Empty work centers"msgstr "Centros de trabajo vacíos"@@ -629,9 +709,15 @@ msgstr "Error al obtener las operaciones activas"msgid "Failed to fetch storageUnits"msgstr "Error al obtener unidades de almacenamiento"+msgid "Failed to get options"+msgstr "Error al obtener opciones"+msgid "Failed to record gauge"msgstr "Error al registrar el instrumento de medición"+msgid "Failed to register passkey"+msgstr "Error al registrar llave de acceso"+msgid "Failed to save measurement"msgstr "Error al guardar la medición"@@ -677,6 +763,9 @@ msgstr "¿Finalizar con material sin recoger?"msgid "First due {0}"msgstr "Primer vencimiento {0}"+msgid "First Name"+msgstr "Nombre"+msgid "Fit"msgstr "Ajustar"@@ -741,6 +830,12 @@ msgstr "En un menú abierto"msgid "In Progress"msgstr "En curso"+msgid "In-app notifications are always delivered. Choose which topics also reach you by email or Slack."+msgstr "Las notificaciones en la aplicación siempre se entregan. Elija qué temas también le llegan por correo electrónico o Slack."++msgid "In-app notifications are always delivered. Choose which topics also reach you by email."+msgstr "Las notificaciones en la aplicación siempre se entregan. Elija qué temas también le llegan por correo electrónico."+msgid "Inspect Item"msgstr "Inspeccionar artículo"@@ -753,6 +848,9 @@ msgstr "Instrucciones"msgid "Insufficient quantity"msgstr "Cantidad insuficiente"+msgid "Inventory"+msgstr "Inventario"+msgid "Inventory adjustment completed"msgstr "Ajuste de inventario completado"@@ -789,6 +887,9 @@ msgstr "Artículo"msgid "Item Master"msgstr "Maestro de artículos"+msgid "Items"+msgstr "Artículos"+msgid "Job"msgstr "Trabajo"@@ -816,6 +917,12 @@ msgstr "Mano de obra"msgid "Last completed"msgstr "Última finalización"+msgid "Last Name"+msgstr "Apellido"++msgid "Last used"+msgstr "Último uso"+msgid "Learn more"msgstr "Aprende más"@@ -912,6 +1019,9 @@ msgstr "Mantenimiento atrasado"msgid "Make a replacement"msgstr "Hacer un reemplazo"+msgid "Manage how you sign in to Carbon."+msgstr "Administre cómo inicia sesión en Carbon."+msgid "Manually add items to inventory"msgstr "Agregar artículos al inventario manualmente"@@ -1070,6 +1180,9 @@ msgstr "No se encontró ninguna opción."msgid "No options found."msgstr "No se encontraron opciones."+msgid "No passkeys registered yet."+msgstr "No hay llaves de acceso registradas aún."+msgid "No picking lists assigned"msgstr "Sin listas de picking asignadas"@@ -1142,6 +1255,9 @@ msgstr "Nada programado en este centro de trabajo"msgid "Nothing to scrap"msgstr "Nada que enviar a desperdicio"+msgid "Notifications"+msgstr "Notificaciones"+msgid "OEE Impact"msgstr "Impacto OEE"@@ -1217,6 +1333,9 @@ msgstr "Opciones"msgid "or"msgstr "o"+msgid "Or enter this secret manually:"+msgstr "O ingrese este secreto manualmente:"+msgid "Out of calibration"msgstr "Fuera de calibración"@@ -1247,15 +1366,30 @@ msgstr "Superó la inspección"msgid "Passed Inspection"msgstr "Inspección superada"+msgid "Passkey name"+msgstr "Nombre de la llave de acceso"+msgid "Passkey unlock failed"msgstr "Desbloqueo con llave de acceso fallido"+msgid "Passkeys"+msgstr "Llaves de acceso"++msgid "Passkeys are disabled"+msgstr "Las llaves de acceso están deshabilitadas"+msgid "Pause"msgstr "Pausar"msgid "Pause timer"msgstr "Pausar temporizador"+msgid "Phone"+msgstr "Teléfono"++msgid "Photo uploaded successfully"+msgstr "Foto cargada con éxito"+msgid "Pick"msgstr "Recoger"@@ -1263,6 +1397,9 @@ msgstr "Recoger"msgid "Pick {0}"msgstr "Picking {0}"+msgid "Pick a style and an avatar, or shuffle for new ones."+msgstr "Selecciona un estilo y un avatar, o mezcla para obtener nuevos."+msgid "Pick tracked item"msgstr "Seleccionar artículo rastreado"@@ -1350,9 +1487,18 @@ msgstr "Parámetros del proceso"msgid "Processes"msgstr "Procesos"+msgid "Profile"+msgstr "Perfil"+msgid "Progress"msgstr "Progreso"+msgid "Purchasing"+msgstr "Compras"++msgid "Quality"+msgstr "Calidad"+msgid "Quality Issue"msgstr "Problema de Calidad"@@ -1368,6 +1514,9 @@ msgstr "La cantidad debe ser mayor que 0"msgid "Queue empty"msgstr "Cola vacía"+msgid "Quotes"+msgstr "Cotizaciones"+msgid "Reason for rework"msgstr "Motivo del retrabajo"@@ -1397,6 +1546,9 @@ msgstr "Registrar Parcial"msgid "Recorded"msgstr "Registrado"+msgid "Registration failed"+msgstr "Falló el registro"+msgid "Reject"msgstr "Rechazar"@@ -1409,6 +1561,9 @@ msgstr "Liberado"msgid "Remove"msgstr "Quitar"+msgid "Remove authenticator app"+msgstr "Quitar la aplicación autenticadora"+msgid "Remove filter"msgstr "Quitar filtro"@@ -1418,15 +1573,24 @@ msgstr "Quitar inventario"msgid "Remove part"msgstr "Quitar pieza"+msgid "Remove two-factor authentication"+msgstr "Quitar la autenticación de dos factores"+msgid "Rename"msgstr "Renombrar"msgid "Reopen the subassembly and create a replacement unit"msgstr "Reabrir el subensamble y crear una unidad de reemplazo"+msgid "Require a 6-digit code from an authenticator app when signing in."+msgstr "Requiere un código de 6 dígitos de una aplicación autenticadora al iniciar sesión."+msgid "Required"msgstr "Requerido"+msgid "Reset"+msgstr "Restablecer"+msgid "Result"msgstr "Resultado"@@ -1445,6 +1609,9 @@ msgstr "Cantidad de retrabajo"msgid "Running"msgstr "En ejecución"+msgid "Sales"+msgstr "Ventas"+msgid "Sales Order"msgstr "Pedido de venta"@@ -1478,6 +1645,9 @@ msgstr "Escanear o buscar número de serie..."msgid "Scan or select a tracked entity from this lot to add it as a sample column, then record its result in the grid."msgstr "Escanee o seleccione una entidad rastreada de este lote para agregarla como columna de muestra, luego registre su resultado en la cuadrícula."+msgid "Scan this QR code with your authenticator app (e.g. Google Authenticator or 1Password), then enter the 6-digit code it shows."+msgstr "Escanea este código QR con tu aplicación autenticadora (p. ej. Google Authenticator o 1Password), luego ingresa el código de 6 dígitos que muestra."+msgid "Schedule"msgstr "Programación"@@ -1526,6 +1696,12 @@ msgstr "Buscar operadores..."msgid "Search..."msgstr "Buscar..."+msgid "Secret copied to clipboard"+msgstr "Secreto copiado al portapapeles"++msgid "Security"+msgstr "Seguridad"+msgid "Select"msgstr "Seleccionar"@@ -1616,6 +1792,9 @@ msgstr "Establece la hora en que dejaste de trabajar o confirma que aún estásmsgid "Set up in Carbon"msgstr "Configurar en Carbon"+msgid "Set up two-factor authentication"+msgstr "Configurar la autenticación de dos factores"+msgid "Set when the batch was planned."msgstr "Se establece cuando el lote de producción fue planificado."@@ -1637,6 +1816,12 @@ msgstr "Mostrar descripción"msgid "Show keyboard shortcuts"msgstr "Mostrar atajos de teclado"+msgid "Shuffle"+msgstr "Mezclar"++msgid "Sign in with biometrics instead of a magic link. Passkeys are secured by Face ID, Touch ID, or your device PIN."+msgstr "Inicia sesión con biometría en lugar de un enlace mágico. Las llaves de acceso están protegidas por Face ID, Touch ID o tu PIN del dispositivo."+msgid "Sign in with Google"msgstr "Iniciar sesión con Google"@@ -1658,9 +1843,15 @@ msgstr "Cerrar sesión en su lugar"msgid "Signed in as {stationName}"msgstr "Conectado como {stationName}"+msgid "Signing in will no longer require a code. Enter the current 6-digit code from your authenticator app to confirm."+msgstr "Iniciar sesión ya no requerirá un código. Ingresa el código de 6 dígitos actual de tu aplicación autenticadora para confirmar."+msgid "Size"msgstr "Tamaño"+msgid "Slack"+msgstr "Slack"+msgid "Source"msgstr "Origen"@@ -1711,6 +1902,9 @@ msgstr "Faltan pasos"msgid "Storage Unit"msgstr "Unidad de Almacenamiento"+msgid "Style default"+msgstr "Estilo predeterminado"+msgid "Sub-Assembly"msgstr "Subconjunto"@@ -1732,12 +1926,18 @@ msgstr "Enviar de forma anónima"msgid "Suggestion"msgstr "Sugerencia"+msgid "Suggestions"+msgstr "Sugerencias"+msgid "Support Required"msgstr "Requiere soporte"msgid "Switch Operator"msgstr "Cambiar operador"+msgid "Synced"+msgstr "Sincronizado"+msgid "System"msgstr "Sistema"@@ -1778,6 +1978,9 @@ msgstr "Estos elementos aún tienen material para recoger. Finalizar ahora marcamsgid "This batch has no work instructions."msgstr "Este lote de producción no tiene instrucciones de trabajo."+msgid "This information will be visible to all users, so be careful what you share."+msgstr "Esta información será visible para todos los usuarios, así que ten cuidado con lo que compartes."+msgid "This lot is expired and can't be picked."msgstr "Este lote está vencido y no puede ser preparado."@@ -1836,6 +2039,12 @@ msgstr "Herramientas"msgid "Top to Bottom"msgstr "De arriba a abajo"+msgid "Topic"+msgstr "Tema"++msgid "Topics"+msgstr "Temas"+msgid "Total"msgstr "Total"@@ -1859,9 +2068,21 @@ msgstr "líneas rastreadas"msgid "Tracking"msgstr "Seguimiento"+msgid "Training"+msgstr "Capacitación"+msgid "Two-factor authentication"msgstr "Autenticación de dos factores"+msgid "Two-factor authentication disabled"+msgstr "Autenticación de dos factores deshabilitada"++msgid "Two-factor authentication enabled"+msgstr "Autenticación de dos factores habilitada"++msgid "Two-factor authentication is not enabled."+msgstr "La autenticación de dos factores no está habilitada."+msgid "Two-factor authentication required"msgstr "Se requiere autenticación de dos factores"@@ -1919,10 +2140,17 @@ msgstr "Actualizado {0}"msgid "Updated successfully"msgstr "Actualizado correctamente"+msgid "Upload"+msgstr "Subir"++msgid "Upload completed but no file path returned"+msgstr "Carga completada pero no se devolvió ninguna ruta de archivo"+#. placeholder {0}: fileUpload.namemsgid "Uploaded: {0}"msgstr "Subido: {0}"+#. placeholder {0}: avatarFile.name#. placeholder {0}: fileUpload.namemsgid "Uploading {0}"msgstr "Subiendo {0}"@@ -1941,6 +2169,9 @@ msgstr "Utiliza {0} · {1}"msgid "Value"msgstr "Valor"+msgid "Verification failed"+msgstr "Falló la verificación"+msgid "Verify"msgstr "Verificar"@@ -1986,6 +2217,9 @@ msgstr "Tu cuenta aún no forma parte de una empresa. Completa la incorporaciónmsgid "Your organization requires an authenticator app. Set it up in Carbon, then come back here."msgstr "Tu organización requiere una aplicación de autenticación. Configúrala en Carbon y luego vuelve aquí."+msgid "Your profile could not be loaded."+msgstr "Tu perfil no se pudo cargar."+msgid "Your session was locked after inactivity."msgstr "Su sesión fue bloqueada después de la inactividad."diff --git a/packages/locale/locales/fr/erp.po b/packages/locale/locales/fr/erp.poindex 0c069bcc85..f94173a894 100644--- a/packages/locale/locales/fr/erp.po+++ b/packages/locale/locales/fr/erp.po@@ -604,6 +604,9 @@ msgstr "{unitCount} unités"msgid "{unmappedRequiredCount, plural, one {Map the # remaining required account first.} other {Map the # remaining required accounts first.}}"msgstr "{unmappedRequiredCount, plural, one {Mapper d'abord le # compte requis restant.} other {Mapper d'abord les # comptes requis restants.}}"+msgid "{unread} unread"+msgstr "{unread} non lu"+msgid "{unschedulableCount} can't be scheduled"msgstr "{unschedulableCount} ne peuvent pas être planifiés"@@ -1485,6 +1488,9 @@ msgstr "Nom du compte"msgid "Account Number"msgstr "Numéro de compte"+msgid "Account settings"+msgstr "Paramètres du compte"+msgid "Account Settings"msgstr "Paramètres du compte"@@ -2205,6 +2211,9 @@ msgstr "Tous font {0}"msgid "All members of selected groups and selected individuals will be able to approve requests"msgstr "Tous les membres des groupes sélectionnés et les individus sélectionnés pourront approuver les demandes"+msgid "All modules"+msgstr "Tous les modules"+msgid "All open jobs"msgstr "Toutes les ordres de fabrication ouvertes"@@ -3547,6 +3556,9 @@ msgstr "En attente d'approbation"msgid "Back"msgstr "Retour"+msgid "Back to menu"+msgstr "Retour au menu"+msgid "Back to traceability"msgstr "Retour à la traçabilité"@@ -4558,6 +4570,9 @@ msgstr "Choisir un autre fichier"msgid "Choose avatar"msgstr "Choisir un avatar"+msgid "Choose how Carbon reaches you."+msgstr "Choisissez comment Carbon vous contacte."+msgid "Choose how to add lines to this return."msgstr "Choisissez comment ajouter des lignes à ce retour."@@ -4687,6 +4702,9 @@ msgstr "Date de fermeture"msgid "Close Date"msgstr "Date de fermeture"+msgid "Close menu"+msgstr "Fermer le menu"+msgid "Close Period"msgstr "Fermer la période"@@ -9581,6 +9599,12 @@ msgstr "États financiers"msgid "Financing"msgstr "Financement"+msgid "Find company…"+msgstr "Trouver une société…"++msgid "Find module…"+msgstr "Trouver un module…"+msgid "finish"msgstr "Produits finis"@@ -12297,6 +12321,9 @@ msgstr "Gérer l'authentification et les conditions d'authentification pour votrmsgid "Manage how shelf life is tracked, computed, and enforced across inventory."msgstr "Gérez le suivi, le calcul et l'application de la durée de conservation dans l'inventaire."+msgid "Manage how you sign in to Carbon."+msgstr "Gérez comment vous vous connectez à Carbon."+msgid "Manage Ownership"msgstr "Gérer la propriété"@@ -12619,6 +12646,9 @@ msgstr "Date du mémo"msgid "Memo ID"msgstr "ID du mémo"+msgid "Menu"+msgstr "Menu"+msgid "Merchant"msgstr "Commerçant"@@ -13598,6 +13628,9 @@ msgstr "Pas de chemin sans collision"msgid "No comments yet. Be the first to add a comment."msgstr "Aucun commentaire pour le moment. Soyez le premier à ajouter un commentaire."+msgid "No companies found"+msgstr "Aucune société trouvée"+msgid "No companies match \"{query}\""msgstr "Aucune société ne correspond à « {query} »"@@ -13841,6 +13874,9 @@ msgstr "Aucun matériau"msgid "No materials yet"msgstr "Aucune matière pour le moment"+msgid "No modules found"+msgstr "Aucun module trouvé"+msgid "No new notifications"msgstr "Aucune nouvelle notification"@@ -20104,6 +20140,9 @@ msgstr "Mouvement de stock corrigé"msgid "Stock size — e.g. sheet thickness or bar diameter"msgstr "Taille du stock — p. ex. épaisseur de tôle ou diamètre de barre"+msgid "Stock Transfer"+msgstr "Transfert de stock"+msgid "Stock Transfer ID"msgstr "ID de transfert de stock"@@ -20614,6 +20653,9 @@ msgstr "Désactiver un module le supprime partout : Exigences, Données, Formatimsgid "Switch company"msgstr "Changer de société"+msgid "Switch module"+msgstr "Changer de module"+msgid "Switch to pan mode"msgstr "Passer en mode panoramique"@@ -22044,6 +22086,9 @@ msgstr "Cela n'aura aucun effet jusqu'à ce qu'un domaine de messagerie soit vémsgid "This information will be used on document headers"msgstr "Ces informations seront utilisées dans les en-têtes de document"+msgid "This information will be visible to all users, so be careful what you share."+msgstr "Ces informations seront visibles à tous les utilisateurs, soyez prudent avec ce que vous partagez."+msgid "this inspection plan"msgstr "ce plan de contrôle"@@ -22560,6 +22605,9 @@ msgstr "Classification de haut niveau (actif / passif / capitaux propres / revenmsgid "Topic"msgstr "Sujet"+msgid "Topics"+msgstr "Sujets"+msgid "Total"msgstr "Total"@@ -24712,6 +24760,9 @@ msgstr "Vos numéros de pièce"msgid "Your part numbers and the item master behind them"msgstr "Vos numéros de pièce et la base de données articles qui les soutient"+msgid "Your profile could not be loaded."+msgstr "Votre profil n'a pas pu être chargé."+msgid "Your project end to end: the plan, the gates, and go-live"msgstr "Votre projet de bout en bout : le plan, les jalons et la mise en production"diff --git a/packages/locale/locales/fr/mes.po b/packages/locale/locales/fr/mes.poindex f62104e0f7..7dbe6d655d 100644--- a/packages/locale/locales/fr/mes.po+++ b/packages/locale/locales/fr/mes.po@@ -67,6 +67,10 @@ msgstr "{0} sur {1} terminé(s)"msgid "{0} queued"msgstr "{0} en file d'attente"+#. placeholder {0}: result.credentialName ?? "Passkey"+msgid "{0} registered"+msgstr "{0} enregistrée"+#. placeholder {0}: activeWork.lengthmsgid "{0} running"msgstr "{0} en cours"@@ -89,6 +93,9 @@ msgstr "{completions} unité(s) réussie(s) seront terminées."msgid "{fails} sampled failure(s) are recorded and will NOT be completed — resolve them from the actions menu."msgstr "{fails} défaut(s) échantillonné(s) enregistré(s) et ne seront PAS complété(s) — résolvez-les à partir du menu des actions."+msgid "{maxSizeMB}MB limit"+msgstr "Limite de {maxSizeMB}MB"+#. placeholder {0}: step.perMember.lengthmsgid "{recorded}/{0} jobs"msgstr "{recorded}/{0} ordres de fabrication"@@ -111,6 +118,12 @@ msgstr "Accepter lot"msgid "Accept lot?"msgstr "Accepter lot ?"+msgid "Account"+msgstr "Compte"++msgid "Account settings"+msgstr "Paramètres du compte"+msgid "Account Settings"msgstr "Paramètres du compte"@@ -136,15 +149,24 @@ msgstr "Ajouter et distribuer"msgid "Add a printer in the printing settings to print labels directly."msgstr "Ajoutez une imprimante dans les paramètres d'impression pour imprimer les étiquettes directement."+msgid "Add Authenticator App"+msgstr "Ajouter une application Authenticator"+msgid "Add Inventory"msgstr "Ajouter au stock"+msgid "Add Passkey"+msgstr "Ajouter une clé d'accès"+msgid "Add Sample"msgstr "Ajouter échantillon"msgid "Add Spare Part"msgstr "Ajouter une pièce de rechange"+msgid "Added"+msgstr "Ajoutée"+msgid "All"msgstr "Tout"@@ -179,6 +201,12 @@ msgstr "Allouer les unités"msgid "Appearance"msgstr "Apparence"+msgid "Approvals"+msgstr "Approbations"++msgid "Are you sure you want to delete this passkey? You won't be able to use it to sign in anymore."+msgstr "Êtes-vous sûr de vouloir supprimer cette clé d'accès ? Vous ne pourrez plus l'utiliser pour vous connecter."+msgid "Are you sure you want to delete this step?"msgstr "Êtes-vous sûr de vouloir supprimer cette étape ?"@@ -209,18 +237,40 @@ msgstr "Assigné à"msgid "Authentication Error"msgstr "Erreur d'authentification"+msgid "Authenticator app"+msgstr "Application Authenticator"++msgid "Authenticator QR code"+msgstr "Code QR Authenticator"+msgid "available"msgstr "disponible"msgid "Available"msgstr "Disponible"+#. placeholder {0}: index + 1+msgid "Avatar option {0}"+msgstr "Option d'avatar {0}"++msgid "Avatar style"+msgstr "Style d'avatar"++#. placeholder {0}: info.source.name+#. placeholder {1}: info.creator+#. placeholder {2}: info.license.name+msgid "Avatars from <0>{0}</0> by {1}, licensed under <1>{2}</1>."+msgstr "Avatars de <0>{0}</0> par {1}, sous licence <1>{2}</1>."+msgid "Back"msgstr "Retour"msgid "Back to batch"msgstr "Retour au lot de production"+msgid "Background"+msgstr "Arrière-plan"+msgid "Batch"msgstr "Lot"@@ -283,6 +333,12 @@ msgstr "Logo Carbon"msgid "Cards"msgstr "Cartes"+msgid "Change"+msgstr "Modifier"++msgid "Changelog newsletter"+msgstr "Bulletin d'information des modifications"+msgid "Characteristic"msgstr "Caractéristique"@@ -301,6 +357,12 @@ msgstr "Choisir un ordre de fabrication"msgid "Choose an option"msgstr "Choisir une option"+msgid "Choose avatar"+msgstr "Choisir un avatar"++msgid "Choose how Carbon reaches you."+msgstr "Choisissez comment Carbon vous contacte."+msgid "Clear"msgstr "Effacer"@@ -453,6 +515,12 @@ msgstr "Unité de stockage par défaut"msgid "Delete"msgstr "Supprimer"+msgid "Delete passkey"+msgstr "Supprimer la clé d'accès"++msgid "Delete Passkey"+msgstr "Supprimer la clé d'accès"+msgid "Delete Step"msgstr "Supprimer l'étape"@@ -552,12 +620,24 @@ msgstr "La production de chaque ordre de fabrication est son propre lot — gardmsgid "Edit"msgstr "Modifier"+msgid "Edit Passkey"+msgstr "Modifier la clé d'accès"+msgid "Elapsed"msgstr "Durée écoulée"+msgid "email"+msgstr "adresse e-mail"++msgid "Email"+msgstr "Adresse e-mail"+msgid "Email Address"msgstr "Adresse e-mail"+msgid "Email notifications are not included in your company's current plan; email preferences will apply if they are enabled."+msgstr "Les notifications par e-mail ne sont pas incluses dans le forfait actuel de votre société ; les préférences d'e-mail s'appliqueront si elles sont activées."+msgid "Empty work centers"msgstr "Postes de travail vides"@@ -629,9 +709,15 @@ msgstr "Échec de la récupération des opérations actives"msgid "Failed to fetch storageUnits"msgstr "Échec de la récupération des unités de stockage"+msgid "Failed to get options"+msgstr "Impossible d'obtenir les options"+msgid "Failed to record gauge"msgstr "Échec de l'enregistrement de l'instrument de mesure"+msgid "Failed to register passkey"+msgstr "Impossible d'enregistrer la clé d'accès"+msgid "Failed to save measurement"msgstr "Échec de l'enregistrement de la mesure"@@ -677,6 +763,9 @@ msgstr "Terminer avec du matériel non prélevé?"msgid "First due {0}"msgstr "Première échéance {0}"+msgid "First Name"+msgstr "Prénom"+msgid "Fit"msgstr "Adapter"@@ -741,6 +830,12 @@ msgstr "Dans un menu déroulant"msgid "In Progress"msgstr "En cours"+msgid "In-app notifications are always delivered. Choose which topics also reach you by email or Slack."+msgstr "Les notifications dans l'application sont toujours remises. Choisissez les sujets qui vous atteignent également par e-mail ou Slack."++msgid "In-app notifications are always delivered. Choose which topics also reach you by email."+msgstr "Les notifications dans l'application sont toujours remises. Choisissez les sujets qui vous atteignent également par e-mail."+msgid "Inspect Item"msgstr "Inspecter l'article"@@ -753,6 +848,9 @@ msgstr "Instructions"msgid "Insufficient quantity"msgstr "Quantité insuffisante"+msgid "Inventory"+msgstr "Stocks"+msgid "Inventory adjustment completed"msgstr "Ajustement de stock terminé"@@ -789,6 +887,9 @@ msgstr "Article"msgid "Item Master"msgstr "Fiche article"+msgid "Items"+msgstr "Articles"+msgid "Job"msgstr "Ordre de fabrication"@@ -816,6 +917,12 @@ msgstr "Main-d'œuvre"msgid "Last completed"msgstr "Dernier complété"+msgid "Last Name"+msgstr "Nom"++msgid "Last used"+msgstr "Dernière utilisation"+msgid "Learn more"msgstr "En savoir plus"@@ -912,6 +1019,9 @@ msgstr "Maintenance en retard"msgid "Make a replacement"msgstr "Effectuer un remplacement"+msgid "Manage how you sign in to Carbon."+msgstr "Gérez comment vous vous connectez à Carbon."+msgid "Manually add items to inventory"msgstr "Ajouter manuellement des articles au stock"@@ -1070,6 +1180,9 @@ msgstr "Aucune option trouvée."msgid "No options found."msgstr "Aucune option trouvée."+msgid "No passkeys registered yet."+msgstr "Aucune clé d'accès enregistrée pour l'instant."+msgid "No picking lists assigned"msgstr "Aucune liste de prélèvement assignée"@@ -1142,6 +1255,9 @@ msgstr "Rien de programmé à ce poste de travail"msgid "Nothing to scrap"msgstr "Rien à rebuter"+msgid "Notifications"+msgstr "Notifications"+msgid "OEE Impact"msgstr "Impact TRS"@@ -1217,6 +1333,9 @@ msgstr "Options"msgid "or"msgstr "ou"+msgid "Or enter this secret manually:"+msgstr "Ou entrez ce secret manuellement :"+msgid "Out of calibration"msgstr "Hors d'étalonnage"@@ -1247,15 +1366,30 @@ msgstr "Contrôle réussi"msgid "Passed Inspection"msgstr "Contrôle réussi"+msgid "Passkey name"+msgstr "Nom de la clé d'accès"+msgid "Passkey unlock failed"msgstr "Le déverrouillage par clé d'accès a échoué"+msgid "Passkeys"+msgstr "Clés d'accès"++msgid "Passkeys are disabled"+msgstr "Les clés d'accès sont désactivées"+msgid "Pause"msgstr "Mettre en pause"msgid "Pause timer"msgstr "Mettre en pause le chronomètre"+msgid "Phone"+msgstr "Téléphone"++msgid "Photo uploaded successfully"+msgstr "Photo téléversée avec succès"+msgid "Pick"msgstr "Prélever"@@ -1263,6 +1397,9 @@ msgstr "Prélever"msgid "Pick {0}"msgstr "Prélever {0}"+msgid "Pick a style and an avatar, or shuffle for new ones."+msgstr "Choisissez un style et un avatar, ou mélangez pour en obtenir de nouveaux."+msgid "Pick tracked item"msgstr "Sélectionner un article suivi"@@ -1350,9 +1487,18 @@ msgstr "Paramètres de processus"msgid "Processes"msgstr "Processus"+msgid "Profile"+msgstr "Profil"+msgid "Progress"msgstr "Progression"+msgid "Purchasing"+msgstr "Achats"++msgid "Quality"+msgstr "Qualité"+msgid "Quality Issue"msgstr "Problème de qualité"@@ -1368,6 +1514,9 @@ msgstr "La quantité doit être supérieure à 0"msgid "Queue empty"msgstr "File d'attente vide"+msgid "Quotes"+msgstr "Devis"+msgid "Reason for rework"msgstr "Raison de la retouche"@@ -1397,6 +1546,9 @@ msgstr "Enregistrer partiellement"msgid "Recorded"msgstr "Enregistré"+msgid "Registration failed"+msgstr "L'inscription a échoué"+msgid "Reject"msgstr "Rejeter"@@ -1409,6 +1561,9 @@ msgstr "Lancé"msgid "Remove"msgstr "Retirer"+msgid "Remove authenticator app"+msgstr "Retirer l'application d'authentification"+msgid "Remove filter"msgstr "Retirer le filtre"@@ -1418,15 +1573,24 @@ msgstr "Retirer du stock"msgid "Remove part"msgstr "Retirer la pièce"+msgid "Remove two-factor authentication"+msgstr "Retirer l'authentification à deux facteurs"+msgid "Rename"msgstr "Renommer"msgid "Reopen the subassembly and create a replacement unit"msgstr "Rouvrir le sous-ensemble et créer une unité de remplacement"+msgid "Require a 6-digit code from an authenticator app when signing in."+msgstr "Exiger un code à 6 chiffres d'une application d'authentification lors de la connexion."+msgid "Required"msgstr "Obligatoire"+msgid "Reset"+msgstr "Réinitialiser"+msgid "Result"msgstr "Résultat"@@ -1445,6 +1609,9 @@ msgstr "Quantité de retouche"msgid "Running"msgstr "En cours"+msgid "Sales"+msgstr "Ventes"+msgid "Sales Order"msgstr "Commande client"@@ -1478,6 +1645,9 @@ msgstr "Scannez ou recherchez un numéro de série..."msgid "Scan or select a tracked entity from this lot to add it as a sample column, then record its result in the grid."msgstr "Scannez ou sélectionnez une entité suivie de ce lot pour l'ajouter en tant que colonne d'échantillon, puis enregistrez son résultat dans la grille."+msgid "Scan this QR code with your authenticator app (e.g. Google Authenticator or 1Password), then enter the 6-digit code it shows."+msgstr "Scanner ce code QR avec votre application d'authentification (p. ex. Google Authenticator ou 1Password), puis entrez le code à 6 chiffres qu'il affiche."+msgid "Schedule"msgstr "Planification"@@ -1526,6 +1696,12 @@ msgstr "Rechercher des opérateurs..."msgid "Search..."msgstr "Rechercher..."+msgid "Secret copied to clipboard"+msgstr "Secret copié dans le presse-papiers"++msgid "Security"+msgstr "Sécurité"+msgid "Select"msgstr "Sélectionner"@@ -1616,6 +1792,9 @@ msgstr "Enregistrez l'heure à laquelle vous avez cessé de travailler, ou confimsgid "Set up in Carbon"msgstr "Configurer dans Carbon"+msgid "Set up two-factor authentication"+msgstr "Configurer l'authentification à deux facteurs"+msgid "Set when the batch was planned."msgstr "Défini lors de la planification du lot de production."@@ -1637,6 +1816,12 @@ msgstr "Afficher la description"msgid "Show keyboard shortcuts"msgstr "Afficher les raccourcis clavier"+msgid "Shuffle"+msgstr "Mélanger"++msgid "Sign in with biometrics instead of a magic link. Passkeys are secured by Face ID, Touch ID, or your device PIN."+msgstr "Connectez-vous avec la biométrie au lieu d'un lien magique. Les clés d'accès sont sécurisées par Face ID, Touch ID ou votre code PIN d'appareil."+msgid "Sign in with Google"msgstr "Se connecter avec Google"@@ -1658,9 +1843,15 @@ msgstr "Se déconnecter plutôt"msgid "Signed in as {stationName}"msgstr "Connecté en tant que {stationName}"+msgid "Signing in will no longer require a code. Enter the current 6-digit code from your authenticator app to confirm."+msgstr "La connexion ne nécessitera plus de code. Entrez le code à 6 chiffres actuel de votre application d'authentification pour confirmer."+msgid "Size"msgstr "Taille"+msgid "Slack"+msgstr "Slack"+msgid "Source"msgstr "Source"@@ -1711,6 +1902,9 @@ msgstr "Des étapes sont manquantes"msgid "Storage Unit"msgstr "Unité de stockage"+msgid "Style default"+msgstr "Style par défaut"+msgid "Sub-Assembly"msgstr "Sous-ensemble"@@ -1732,12 +1926,18 @@ msgstr "Soumettre anonymement"msgid "Suggestion"msgstr "Suggestion"+msgid "Suggestions"+msgstr "Suggestions"+msgid "Support Required"msgstr "Support requis"msgid "Switch Operator"msgstr "Changer d'opérateur"+msgid "Synced"+msgstr "Synchronisé"+msgid "System"msgstr "Système"@@ -1778,6 +1978,9 @@ msgstr "Ces articles ont encore du matériel à prélever. L'arrêt maintenant mmsgid "This batch has no work instructions."msgstr "Ce lot de production n'a pas de modes opératoires."+msgid "This information will be visible to all users, so be careful what you share."+msgstr "Ces informations seront visibles par tous les utilisateurs, soyez prudent quant à ce que vous partagez."+msgid "This lot is expired and can't be picked."msgstr "Ce lot est expiré et ne peut pas être prélevé."@@ -1836,6 +2039,12 @@ msgstr "Outils"msgid "Top to Bottom"msgstr "De haut en bas"+msgid "Topic"+msgstr "Sujet"++msgid "Topics"+msgstr "Sujets"+msgid "Total"msgstr "Total"@@ -1859,9 +2068,21 @@ msgstr "lignes suivies"msgid "Tracking"msgstr "Suivi"+msgid "Training"+msgstr "Formation"+msgid "Two-factor authentication"msgstr "Authentification à deux facteurs"+msgid "Two-factor authentication disabled"+msgstr "Authentification à deux facteurs désactivée"++msgid "Two-factor authentication enabled"+msgstr "Authentification à deux facteurs activée"++msgid "Two-factor authentication is not enabled."+msgstr "L'authentification à deux facteurs n'est pas activée."+msgid "Two-factor authentication required"msgstr "Authentification à deux facteurs requise"@@ -1919,10 +2140,17 @@ msgstr "Mis à jour {0}"msgid "Updated successfully"msgstr "Mis à jour avec succès"+msgid "Upload"+msgstr "Téléverser"++msgid "Upload completed but no file path returned"+msgstr "Téléversement terminé, mais aucun chemin de fichier n'a été renvoyé"+#. placeholder {0}: fileUpload.namemsgid "Uploaded: {0}"msgstr "Téléversé : {0}"+#. placeholder {0}: avatarFile.name#. placeholder {0}: fileUpload.namemsgid "Uploading {0}"msgstr "Téléversement de {0}"@@ -1941,6 +2169,9 @@ msgstr "Utilise {0} · {1}"msgid "Value"msgstr "Valeur"+msgid "Verification failed"+msgstr "La vérification a échoué"+msgid "Verify"msgstr "Vérifier"@@ -1986,6 +2217,9 @@ msgstr "Votre compte ne fait pas encore partie d'une société. Terminez l'onboamsgid "Your organization requires an authenticator app. Set it up in Carbon, then come back here."msgstr "Votre organisation nécessite une application d'authentification. Configurez-la dans Carbon, puis revenez ici."+msgid "Your profile could not be loaded."+msgstr "Votre profil n'a pas pu être chargé."+msgid "Your session was locked after inactivity."msgstr "Votre session a été verrouillée après inactivité."diff --git a/packages/locale/locales/hi/erp.po b/packages/locale/locales/hi/erp.poindex 1a4f2bd04c..c86687b99c 100644--- a/packages/locale/locales/hi/erp.po+++ b/packages/locale/locales/hi/erp.po@@ -604,6 +604,9 @@ msgstr "{unitCount} इकाई"msgid "{unmappedRequiredCount, plural, one {Map the # remaining required account first.} other {Map the # remaining required accounts first.}}"msgstr "{unmappedRequiredCount, plural, one {पहले # शेष आवश्यक खाता मैप करें।} other {पहले # शेष आवश्यक खातों को मैप करें।}}"+msgid "{unread} unread"+msgstr "{unread} अपठित"+msgid "{unschedulableCount} can't be scheduled"msgstr "{unschedulableCount} को शेड्यूल नहीं किया जा सकता"@@ -1485,6 +1488,9 @@ msgstr "खाता नाम"msgid "Account Number"msgstr "खाता संख्या"+msgid "Account settings"+msgstr "खाता सेटिंग्स"+msgid "Account Settings"msgstr "खाता सेटिंग्स"@@ -2205,6 +2211,9 @@ msgstr "सभी निर्माण {0}"msgid "All members of selected groups and selected individuals will be able to approve requests"msgstr "चयनित समूहों के सभी सदस्य और चयनित व्यक्ति अनुरोधों को अनुमोदित करने में सक्षम होंगे"+msgid "All modules"+msgstr "सभी मॉड्यूल"+msgid "All open jobs"msgstr "सभी खुले जॉब"@@ -3547,6 +3556,9 @@ msgstr "अनुमोदन की प्रतीक्षा में"msgid "Back"msgstr "वापस"+msgid "Back to menu"+msgstr "मेनू में वापस जाएं"+msgid "Back to traceability"msgstr "ट्रेसेबिलिटी पर वापस जाएं"@@ -4558,6 +4570,9 @@ msgstr "दूसरी फ़ाइल चुनें"msgid "Choose avatar"msgstr "अवतार चुनें"+msgid "Choose how Carbon reaches you."+msgstr "चुनें कि Carbon आपसे कैसे संपर्क करे।"+msgid "Choose how to add lines to this return."msgstr "इस रिटर्न में पंक्तियाँ कैसे जोड़ें, यह चुनें।"@@ -4687,6 +4702,9 @@ msgstr "समापन तारीख"msgid "Close Date"msgstr "बंद करने की तारीख"+msgid "Close menu"+msgstr "मेनू बंद करें"+msgid "Close Period"msgstr "अवधि बंद करें"@@ -9581,6 +9599,12 @@ msgstr "वित्तीय विवरण"msgid "Financing"msgstr "वित्तपोषण"+msgid "Find company…"+msgstr "कंपनी खोजें…"++msgid "Find module…"+msgstr "मॉड्यूल खोजें…"+msgid "finish"msgstr "तैयार माल"@@ -12297,6 +12321,9 @@ msgstr "अपनी कंपनी के लिए प्रमाणीकmsgid "Manage how shelf life is tracked, computed, and enforced across inventory."msgstr "शेल्फ लाइफ को कैसे ट्रैक किया जाता है, गणना की जाती है, और इन्वेंटरी में लागू किया जाता है, इसे प्रबंधित करें।"+msgid "Manage how you sign in to Carbon."+msgstr "प्रबंधित करें कि आप Carbon में कैसे साइन इन करते हैं।"+msgid "Manage Ownership"msgstr "स्वामित्व प्रबंधित करें"@@ -12619,6 +12646,9 @@ msgstr "मेमो तारीख"msgid "Memo ID"msgstr "मेमो आईडी"+msgid "Menu"+msgstr "मेनू"+msgid "Merchant"msgstr "व्यापारी"@@ -13598,6 +13628,9 @@ msgstr "कोई टकराव-मुक्त पथ नहीं"msgid "No comments yet. Be the first to add a comment."msgstr "अभी कोई टिप्पणी नहीं है। पहली टिप्पणी जोड़ने वाले बनें।"+msgid "No companies found"+msgstr "कोई कंपनी नहीं मिली"+msgid "No companies match \"{query}\""msgstr "कोई कंपनी \"{query}\" से मेल नहीं खाती"@@ -13841,6 +13874,9 @@ msgstr "कोई सामग्री नहीं"msgid "No materials yet"msgstr "अभी कोई वस्तुएं नहीं हैं"+msgid "No modules found"+msgstr "कोई मॉड्यूल नहीं मिला"+msgid "No new notifications"msgstr "कोई नई सूचनाएं नहीं"@@ -20104,6 +20140,9 @@ msgstr "स्टॉक आंदोलन सही किया गया"msgid "Stock size — e.g. sheet thickness or bar diameter"msgstr "स्टॉक आकार — उदा. शीट मोटाई या बार व्यास"+msgid "Stock Transfer"+msgstr "स्टॉक स्थानांतरण"+msgid "Stock Transfer ID"msgstr "स्टॉक ट्रांसफर आईडी"@@ -20614,6 +20653,9 @@ msgstr "मॉड्यूल को बंद करने से यह हरmsgid "Switch company"msgstr "कंपनी स्विच करें"+msgid "Switch module"+msgstr "मॉड्यूल स्विच करें"+msgid "Switch to pan mode"msgstr "पैन मोड में स्विच करें"@@ -22044,6 +22086,9 @@ msgstr "जब तक नीचे एक ईमेल डोमेन सत्msgid "This information will be used on document headers"msgstr "यह जानकारी दस्तावेज़ शीर्षलेख पर उपयोग की जाएगी"+msgid "This information will be visible to all users, so be careful what you share."+msgstr "यह जानकारी सभी उपयोगकर्ताओं को दिखाई देगी, इसलिए ध्यान रखें कि आप क्या साझा करते हैं।"+msgid "this inspection plan"msgstr "इस निरीक्षण योजना"@@ -22560,6 +22605,9 @@ msgstr "शीर्ष-स्तर वर्गीकरण (संपत्msgid "Topic"msgstr "विषय"+msgid "Topics"+msgstr "विषय"+msgid "Total"msgstr "कुल"@@ -24715,6 +24763,9 @@ msgstr "आपकी पार्ट संख्याएं"msgid "Your part numbers and the item master behind them"msgstr "आपकी भाग संख्याएं और उनके पीछे की आइटम मास्टर"+msgid "Your profile could not be loaded."+msgstr "आपकी प्रोफ़ाइल लोड नहीं की जा सकी।"+msgid "Your project end to end: the plan, the gates, and go-live"msgstr "आपकी परियोजना शुरू से अंत तक: योजना, गेट्स, और गो-लाइव"diff --git a/packages/locale/locales/hi/mes.po b/packages/locale/locales/hi/mes.poindex f166c103ad..02f3afd245 100644--- a/packages/locale/locales/hi/mes.po+++ b/packages/locale/locales/hi/mes.po@@ -67,6 +67,10 @@ msgstr "{0} में से {1} पूर्ण"msgid "{0} queued"msgstr "{0} कतार में"+#. placeholder {0}: result.credentialName ?? "Passkey"+msgid "{0} registered"+msgstr "{0} पंजीकृत"+#. placeholder {0}: activeWork.lengthmsgid "{0} running"msgstr "{0} चल रहा है"@@ -89,6 +93,9 @@ msgstr "{completions} उत्तीर्ण इकाई(यों) कोmsgid "{fails} sampled failure(s) are recorded and will NOT be completed — resolve them from the actions menu."msgstr "{fails} नमूना विफलता(एं) दर्ज की गई है और पूर्ण नहीं की जाएगी — उन्हें क्रियाएं मेनू से हल करें।"+msgid "{maxSizeMB}MB limit"+msgstr "{maxSizeMB}MB सीमा"+#. placeholder {0}: step.perMember.lengthmsgid "{recorded}/{0} jobs"msgstr "{recorded}/{0} जॉब्स"@@ -111,6 +118,12 @@ msgstr "लॉट स्वीकार करें"msgid "Accept lot?"msgstr "लॉट स्वीकार करें?"+msgid "Account"+msgstr "खाता"++msgid "Account settings"+msgstr "खाता सेटिंग्स"+msgid "Account Settings"msgstr "खाता सेटिंग्स"@@ -136,15 +149,24 @@ msgstr "जोड़ें और जारी करें"msgid "Add a printer in the printing settings to print labels directly."msgstr "प्रिंटिंग सेटिंग्स में एक प्रिंटर जोड़ें ताकि आप सीधे लेबल प्रिंट कर सकें।"+msgid "Add Authenticator App"+msgstr "ऑथेंटिकेटर ऐप जोड़ें"+msgid "Add Inventory"msgstr "इन्वेंटरी जोड़ें"+msgid "Add Passkey"+msgstr "पासकी जोड़ें"+msgid "Add Sample"msgstr "नमूना जोड़ें"msgid "Add Spare Part"msgstr "स्पेयर पार्ट जोड़ें"+msgid "Added"+msgstr "जोड़ा गया"+msgid "All"msgstr "सभी"@@ -179,6 +201,12 @@ msgstr "इकाइयों को आवंटित करें"msgid "Appearance"msgstr "दिखावट"+msgid "Approvals"+msgstr "अनुमोदन"++msgid "Are you sure you want to delete this passkey? You won't be able to use it to sign in anymore."+msgstr "क्या आप निश्चित हैं कि आप इस पासकी को हटाना चाहते हैं? आप इसे साइन इन करने के लिए उपयोग नहीं कर पाएंगे।"+msgid "Are you sure you want to delete this step?"msgstr "क्या आप वाकई इस चरण को हटाना चाहते हैं?"@@ -209,18 +237,40 @@ msgstr "असाइनी"msgid "Authentication Error"msgstr "प्रमाणीकरण त्रुटि"+msgid "Authenticator app"+msgstr "ऑथेंटिकेटर ऐप"++msgid "Authenticator QR code"+msgstr "ऑथेंटिकेटर QR कोड"+msgid "available"msgstr "उपलब्ध"msgid "Available"msgstr "उपलब्ध"+#. placeholder {0}: index + 1+msgid "Avatar option {0}"+msgstr "अवतार विकल्प {0}"++msgid "Avatar style"+msgstr "अवतार शैली"++#. placeholder {0}: info.source.name+#. placeholder {1}: info.creator+#. placeholder {2}: info.license.name+msgid "Avatars from <0>{0}</0> by {1}, licensed under <1>{2}</1>."+msgstr "<0>{0}</0> से अवतार {1} द्वारा, <1>{2}</1> के अंतर्गत लाइसेंस प्राप्त।"+msgid "Back"msgstr "वापस"msgid "Back to batch"msgstr "बैच पर वापस"+msgid "Background"+msgstr "पृष्ठभूमि"+msgid "Batch"msgstr "बैच"@@ -283,6 +333,12 @@ msgstr "कार्बन लोगो"msgid "Cards"msgstr "कार्ड"+msgid "Change"+msgstr "बदलें"++msgid "Changelog newsletter"+msgstr "परिवर्तनलॉग समाचारपत्र"+msgid "Characteristic"msgstr "विशेषता"@@ -301,6 +357,12 @@ msgstr "एक जॉब चुनें"msgid "Choose an option"msgstr "एक विकल्प चुनें"+msgid "Choose avatar"+msgstr "अवतार चुनें"++msgid "Choose how Carbon reaches you."+msgstr "चुनें कि Carbon आपको कैसे पहुंचता है।"+msgid "Clear"msgstr "साफ़ करें"@@ -453,6 +515,12 @@ msgstr "डिफ़ॉल्ट भंडारण इकाई"msgid "Delete"msgstr "हटाएं"+msgid "Delete passkey"+msgstr "पासकी हटाएँ"++msgid "Delete Passkey"+msgstr "पासकी हटाएँ"+msgid "Delete Step"msgstr "चरण हटाएं"@@ -552,12 +620,24 @@ msgstr "प्रत्येक जॉब का आउटपुट इसकmsgid "Edit"msgstr "संपादित करें"+msgid "Edit Passkey"+msgstr "पासकी संपादित करें"+msgid "Elapsed"msgstr "बीता हुआ"+msgid "email"+msgstr "ईमेल"++msgid "Email"+msgstr "ईमेल"+msgid "Email Address"msgstr "ईमेल पता"+msgid "Email notifications are not included in your company's current plan; email preferences will apply if they are enabled."+msgstr "ईमेल सूचनाएं आपकी कंपनी की वर्तमान योजना में शामिल नहीं हैं; ईमेल प्राथमिकताएं लागू होंगी यदि वे सक्षम हैं।"+msgid "Empty work centers"msgstr "खाली वर्क सेंटर"@@ -629,9 +709,15 @@ msgstr "चल रहे ऑपरेशन प्राप्त करनेmsgid "Failed to fetch storageUnits"msgstr "storageUnits को प्राप्त करने में विफल"+msgid "Failed to get options"+msgstr "विकल्प प्राप्त करने में विफल"+msgid "Failed to record gauge"msgstr "गेज रिकॉर्ड करने में विफल"+msgid "Failed to register passkey"+msgstr "पासकी पंजीकृत करने में विफल"+msgid "Failed to save measurement"msgstr "माप को सहेजने में विफल"@@ -677,6 +763,9 @@ msgstr "सामग्री बिना चुने समाप्त कmsgid "First due {0}"msgstr "पहली देय {0}"+msgid "First Name"+msgstr "पहला नाम"+msgid "Fit"msgstr "फिट करें"@@ -741,6 +830,12 @@ msgstr "खुले मेनू में"msgid "In Progress"msgstr "प्रगति में"+msgid "In-app notifications are always delivered. Choose which topics also reach you by email or Slack."+msgstr "इन-ऐप सूचनाएं हमेशा वितरित की जाती हैं। चुनें कि कौन से विषय आपको ईमेल या Slack द्वारा भी पहुंचते हैं।"++msgid "In-app notifications are always delivered. Choose which topics also reach you by email."+msgstr "इन-ऐप सूचनाएं हमेशा वितरित की जाती हैं। चुनें कि कौन से विषय आपको ईमेल द्वारा भी पहुंचते हैं।"+msgid "Inspect Item"msgstr "आइटम का निरीक्षण करें"@@ -753,6 +848,9 @@ msgstr "निर्देश"msgid "Insufficient quantity"msgstr "अपर्याप्त मात्रा"+msgid "Inventory"+msgstr "इन्वेंटरी"+msgid "Inventory adjustment completed"msgstr "इन्वेंटरी समायोजन पूर्ण हुआ"@@ -789,6 +887,9 @@ msgstr "वस्तु"msgid "Item Master"msgstr "आइटम मास्टर"+msgid "Items"+msgstr "आइटम"+msgid "Job"msgstr "नौकरी"@@ -816,6 +917,12 @@ msgstr "श्रम"msgid "Last completed"msgstr "अंतिम पूर्ण"+msgid "Last Name"+msgstr "अंतिम नाम"++msgid "Last used"+msgstr "अंतिम उपयोग"+msgid "Learn more"msgstr "अधिक जानें"@@ -912,6 +1019,9 @@ msgstr "रखरखाव अतिदेय"msgid "Make a replacement"msgstr "एक प्रतिस्थापन बनाएं"+msgid "Manage how you sign in to Carbon."+msgstr "प्रबंधित करें कि आप Carbon में कैसे साइन इन करते हैं।"+msgid "Manually add items to inventory"msgstr "इन्वेंटरी में आइटम मैन्युअली जोड़ें"@@ -1070,6 +1180,9 @@ msgstr "कोई विकल्प नहीं मिला।"msgid "No options found."msgstr "कोई विकल्प नहीं मिला।"+msgid "No passkeys registered yet."+msgstr "अभी तक कोई पासकी पंजीकृत नहीं है।"+msgid "No picking lists assigned"msgstr "कोई पिकिंग सूची असाइन नहीं की गई"@@ -1142,6 +1255,9 @@ msgstr "इस वर्क सेंटर पर कुछ भी शेड्msgid "Nothing to scrap"msgstr "स्क्रैप करने के लिए कुछ नहीं"+msgid "Notifications"+msgstr "सूचनाएं"+msgid "OEE Impact"msgstr "OEE प्रभाव"@@ -1217,6 +1333,9 @@ msgstr "विकल्प"msgid "or"msgstr "या"+msgid "Or enter this secret manually:"+msgstr "या इस गुप्त को मैन्युअल रूप से दर्ज करें:"+msgid "Out of calibration"msgstr "अंशांकन से बाहर"@@ -1247,15 +1366,30 @@ msgstr "निरीक्षण उत्तीर्ण"msgid "Passed Inspection"msgstr "निरीक्षण उत्तीर्ण"+msgid "Passkey name"+msgstr "पासकी नाम"+msgid "Passkey unlock failed"msgstr "पासकी अनलॉक विफल"+msgid "Passkeys"+msgstr "पासकीज़"++msgid "Passkeys are disabled"+msgstr "पासकी अक्षम हैं"+msgid "Pause"msgstr "रोकें"msgid "Pause timer"msgstr "टाइमर रोकें"+msgid "Phone"+msgstr "फोन"++msgid "Photo uploaded successfully"+msgstr "फोटो सफलतापूर्वक अपलोड हुई"+msgid "Pick"msgstr "चुनें"@@ -1263,6 +1397,9 @@ msgstr "चुनें"msgid "Pick {0}"msgstr "पिकिंग {0}"+msgid "Pick a style and an avatar, or shuffle for new ones."+msgstr "एक शैली और अवतार चुनें, या नए के लिए शफल करें।"+msgid "Pick tracked item"msgstr "ट्रैक किए गए आइटम को चुनें"@@ -1350,9 +1487,18 @@ msgstr "प्रक्रिया पैरामीटर"msgid "Processes"msgstr "प्रक्रियाएं"+msgid "Profile"+msgstr "प्रोफाइल"+msgid "Progress"msgstr "प्रगति"+msgid "Purchasing"+msgstr "क्रय"++msgid "Quality"+msgstr "गुणवत्ता"+msgid "Quality Issue"msgstr "गुणवत्ता समस्या"@@ -1368,6 +1514,9 @@ msgstr "मात्रा 0 से अधिक होनी चाहिए"msgid "Queue empty"msgstr "कतार खाली"+msgid "Quotes"+msgstr "कोटेशन"+msgid "Reason for rework"msgstr "पुनः कार्य का कारण"@@ -1397,6 +1546,9 @@ msgstr "आंशिक रिकॉर्ड करें"msgid "Recorded"msgstr "रिकॉर्ड किया गया"+msgid "Registration failed"+msgstr "पंजीकरण विफल"+msgid "Reject"msgstr "अस्वीकार करें"@@ -1409,6 +1561,9 @@ msgstr "जारी"msgid "Remove"msgstr "निकालें"+msgid "Remove authenticator app"+msgstr "प्रमाणकर्ता ऐप्लिकेशन निकालें"+msgid "Remove filter"msgstr "फ़िल्टर निकालें"@@ -1418,15 +1573,24 @@ msgstr "इन्वेंटरी निकालें"msgid "Remove part"msgstr "पार्ट निकालें"+msgid "Remove two-factor authentication"+msgstr "दो-कारक प्रमाणीकरण निकालें"+msgid "Rename"msgstr "नाम बदलें"msgid "Reopen the subassembly and create a replacement unit"msgstr "सब-असेंबली को फिर से खोलें और एक रिप्लेसमेंट इकाई बनाएँ"+msgid "Require a 6-digit code from an authenticator app when signing in."+msgstr "साइन इन करते समय प्रमाणकर्ता ऐप्लिकेशन से 6-अंकीय कोड की आवश्यकता है।"+msgid "Required"msgstr "आवश्यक"+msgid "Reset"+msgstr "रीसेट करें"+msgid "Result"msgstr "परिणाम"@@ -1445,6 +1609,9 @@ msgstr "पुनः कार्य की मात्रा"msgid "Running"msgstr "चल रहा है"+msgid "Sales"+msgstr "बिक्री"+msgid "Sales Order"msgstr "विक्रय आदेश"@@ -1478,6 +1645,9 @@ msgstr "सीरियल नंबर स्कैन करें या खmsgid "Scan or select a tracked entity from this lot to add it as a sample column, then record its result in the grid."msgstr "इस लॉट से एक ट्रैक की गई इकाई को स्कैन या चुनें, इसे नमूना कॉलम के रूप में जोड़ें, और फिर ग्रिड में इसका परिणाम रिकॉर्ड करें।"+msgid "Scan this QR code with your authenticator app (e.g. Google Authenticator or 1Password), then enter the 6-digit code it shows."+msgstr "इस QR कोड को अपने प्रमाणकर्ता ऐप्लिकेशन (जैसे Google Authenticator या 1Password) के साथ स्कैन करें, फिर इसके द्वारा दिया गया 6-अंकीय कोड दर्ज करें।"+msgid "Schedule"msgstr "शेड्यूल"@@ -1526,6 +1696,12 @@ msgstr "ऑपरेटर खोजें..."msgid "Search..."msgstr "खोजें..."+msgid "Secret copied to clipboard"+msgstr "गोपनीय को क्लिपबोर्ड पर कॉपी किया गया"++msgid "Security"+msgstr "सुरक्षा"+msgid "Select"msgstr "चुनें"@@ -1616,6 +1792,9 @@ msgstr "वह समय निर्धारित करें जब आपmsgid "Set up in Carbon"msgstr "Carbon में सेट अप करें"+msgid "Set up two-factor authentication"+msgstr "दो-कारक प्रमाणीकरण सेट अप करें"+msgid "Set when the batch was planned."msgstr "जब बैच की योजना बनाई गई थी तब सेट करें।"@@ -1637,6 +1816,12 @@ msgstr "विवरण दिखाएं"msgid "Show keyboard shortcuts"msgstr "कीबोर्ड शॉर्टकट दिखाएं"+msgid "Shuffle"+msgstr "शफल करें"++msgid "Sign in with biometrics instead of a magic link. Passkeys are secured by Face ID, Touch ID, or your device PIN."+msgstr "जादुई लिंक के बजाय बायोमेट्रिक्स से साइन इन करें। पासकी को Face ID, Touch ID, या आपकी डिवाइस PIN द्वारा सुरक्षित किया जाता है।"+msgid "Sign in with Google"msgstr "Google के साथ साइन इन करें"@@ -1658,9 +1843,15 @@ msgstr "इसके बजाय साइन आउट करें"msgid "Signed in as {stationName}"msgstr "के रूप में साइन इन किया गया {stationName}"+msgid "Signing in will no longer require a code. Enter the current 6-digit code from your authenticator app to confirm."+msgstr "साइन इन करने के लिए अब कोड की आवश्यकता नहीं होगी। पुष्टि करने के लिए अपने प्रमाणकर्ता ऐप्लिकेशन से वर्तमान 6-अंकीय कोड दर्ज करें।"+msgid "Size"msgstr "आकार"+msgid "Slack"+msgstr "Slack"+msgid "Source"msgstr "स्रोत"@@ -1711,6 +1902,9 @@ msgstr "चरण गायब हैं"msgid "Storage Unit"msgstr "भंडारण इकाई"+msgid "Style default"+msgstr "शैली डिफ़ॉल्ट"+msgid "Sub-Assembly"msgstr "सब-असेंबली"@@ -1732,12 +1926,18 @@ msgstr "गुमनाम रूप से सबमिट करें"msgid "Suggestion"msgstr "सुझाव"+msgid "Suggestions"+msgstr "सुझाव"+msgid "Support Required"msgstr "समर्थन आवश्यक"msgid "Switch Operator"msgstr "ऑपरेटर स्विच करें"+msgid "Synced"+msgstr "सिंक किया गया"+msgid "System"msgstr "सिस्टम"@@ -1778,6 +1978,9 @@ msgstr "इन आइटम के पास अभी भी चुननेmsgid "This batch has no work instructions."msgstr "इस बैच के पास कोई कार्य निर्देश नहीं है।"+msgid "This information will be visible to all users, so be careful what you share."+msgstr "यह जानकारी सभी उपयोगकर्ताओं के लिए दृश्यमान होगी, इसलिए सावधान रहें कि आप क्या साझा करते हैं।"+msgid "This lot is expired and can't be picked."msgstr "यह लॉट समाप्त हो गया है और इसे चुना नहीं जा सकता।"@@ -1836,6 +2039,12 @@ msgstr "उपकरण"msgid "Top to Bottom"msgstr "ऊपर से नीचे"+msgid "Topic"+msgstr "विषय"++msgid "Topics"+msgstr "विषय"+msgid "Total"msgstr "कुल"@@ -1859,9 +2068,21 @@ msgstr "ट्रैक की गई पंक्तियां"msgid "Tracking"msgstr "ट्रैकिंग"+msgid "Training"+msgstr "प्रशिक्षण"+msgid "Two-factor authentication"msgstr "दो-कारक प्रमाणीकरण"+msgid "Two-factor authentication disabled"+msgstr "दो-कारक प्रमाणीकरण अक्षम किया गया"++msgid "Two-factor authentication enabled"+msgstr "दो-कारक प्रमाणीकरण सक्षम किया गया"++msgid "Two-factor authentication is not enabled."+msgstr "दो-कारक प्रमाणीकरण सक्षम नहीं है।"+msgid "Two-factor authentication required"msgstr "दो-कारक प्रमाणीकरण आवश्यक है"@@ -1919,10 +2140,17 @@ msgstr "अपडेट किया गया {0}"msgid "Updated successfully"msgstr "सफलतापूर्वक अपडेट किया गया"+msgid "Upload"+msgstr "अपलोड करें"++msgid "Upload completed but no file path returned"+msgstr "अपलोड पूर्ण लेकिन कोई फाइल पथ नहीं दिया गया"+#. placeholder {0}: fileUpload.namemsgid "Uploaded: {0}"msgstr "अपलोड किया गया: {0}"+#. placeholder {0}: avatarFile.name#. placeholder {0}: fileUpload.namemsgid "Uploading {0}"msgstr "अपलोड किया जा रहा है {0}"@@ -1941,6 +2169,9 @@ msgstr "{0} · {1} का उपयोग करता है"msgid "Value"msgstr "मान"+msgid "Verification failed"+msgstr "सत्यापन विफल"+msgid "Verify"msgstr "सत्यापित करें"@@ -1986,6 +2217,9 @@ msgstr "आपका खाता अभी तक किसी कंपनीmsgid "Your organization requires an authenticator app. Set it up in Carbon, then come back here."msgstr "आपके संगठन को एक ऑथेंटिकेटर ऐप की आवश्यकता है। इसे Carbon में सेट अप करें, फिर यहाँ वापस आएं।"+msgid "Your profile could not be loaded."+msgstr "आपकी प्रोफाइल को लोड नहीं किया जा सका।"+msgid "Your session was locked after inactivity."msgstr "आपका सत्र निष्क्रियता के बाद लॉक किया गया था।"diff --git a/packages/locale/locales/it/erp.po b/packages/locale/locales/it/erp.poindex dcc1ac3657..de5ede297f 100644--- a/packages/locale/locales/it/erp.po+++ b/packages/locale/locales/it/erp.po@@ -604,6 +604,9 @@ msgstr "{unitCount} unità"msgid "{unmappedRequiredCount, plural, one {Map the # remaining required account first.} other {Map the # remaining required accounts first.}}"msgstr "{unmappedRequiredCount, plural, one {Mappa prima il # account richiesto rimanente.} other {Mappa prima i # account richiesti rimanenti.}}"+msgid "{unread} unread"+msgstr "{unread} non letti"+msgid "{unschedulableCount} can't be scheduled"msgstr "{unschedulableCount} non può essere programmato"@@ -1485,6 +1488,9 @@ msgstr "Nome conto"msgid "Account Number"msgstr "Numero di Conto"+msgid "Account settings"+msgstr "Impostazioni account"+msgid "Account Settings"msgstr "Impostazioni Account"@@ -2205,6 +2211,9 @@ msgstr "Produzione di {0}"msgid "All members of selected groups and selected individuals will be able to approve requests"msgstr "Tutti i membri dei gruppi selezionati e gli individui selezionati potranno approvare le richieste"+msgid "All modules"+msgstr "Tutti i moduli"+msgid "All open jobs"msgstr "Tutti gli ordini di produzione aperti"@@ -3547,6 +3556,9 @@ msgstr "In attesa di approvazione"msgid "Back"msgstr "Indietro"+msgid "Back to menu"+msgstr "Torna al menu"+msgid "Back to traceability"msgstr "Torna alla tracciabilità"@@ -4558,6 +4570,9 @@ msgstr "Scegli un altro file"msgid "Choose avatar"msgstr "Scegli avatar"+msgid "Choose how Carbon reaches you."+msgstr "Scegli come Carbon ti contatta."+msgid "Choose how to add lines to this return."msgstr "Scegli come aggiungere righe a questo reso."@@ -4687,6 +4702,9 @@ msgstr "Data di chiusura"msgid "Close Date"msgstr "Data di chiusura"+msgid "Close menu"+msgstr "Chiudi menu"+msgid "Close Period"msgstr "Chiudi Periodo"@@ -9581,6 +9599,12 @@ msgstr "Rendiconti Finanziari"msgid "Financing"msgstr "Finanziamento"+msgid "Find company…"+msgstr "Trova azienda…"++msgid "Find module…"+msgstr "Trova modulo…"+msgid "finish"msgstr "Prodotti finiti"@@ -12297,6 +12321,9 @@ msgstr "Gestisci i requisiti di autenticazione e accesso per la tua azienda."msgid "Manage how shelf life is tracked, computed, and enforced across inventory."msgstr "Gestisci come la durata di conservazione viene tracciata, calcolata e applicata nell'inventario."+msgid "Manage how you sign in to Carbon."+msgstr "Gestisci come accedi a Carbon."+msgid "Manage Ownership"msgstr "Gestisci Proprietà"@@ -12619,6 +12646,9 @@ msgstr "Data Memo"msgid "Memo ID"msgstr "ID Memo"+msgid "Menu"+msgstr "Menu"+msgid "Merchant"msgstr "Esercente"@@ -13598,6 +13628,9 @@ msgstr "Nessun percorso libero da collisioni"msgid "No comments yet. Be the first to add a comment."msgstr "Nessun commento ancora. Sii il primo ad aggiungere un commento."+msgid "No companies found"+msgstr "Nessuna azienda trovata"+msgid "No companies match \"{query}\""msgstr "Nessuna azienda corrisponde a \"{query}\""@@ -13841,6 +13874,9 @@ msgstr "Nessun materiale"msgid "No materials yet"msgstr "Nessun materiale ancora"+msgid "No modules found"+msgstr "Nessun modulo trovato"+msgid "No new notifications"msgstr "Nessuna nuova notifica"@@ -20104,6 +20140,9 @@ msgstr "Movimento di magazzino corretto"msgid "Stock size — e.g. sheet thickness or bar diameter"msgstr "Dimensione delle giacenze — ad es. spessore della lamina o diametro della barra"+msgid "Stock Transfer"+msgstr "Trasferimento giacenza"+msgid "Stock Transfer ID"msgstr "ID Trasferimento Magazzino"@@ -20614,6 +20653,9 @@ msgstr "Disattiva un modulo per rimuoverlo ovunque: Requisiti, Dati, Formazione,msgid "Switch company"msgstr "Cambia azienda"+msgid "Switch module"+msgstr "Cambia modulo"+msgid "Switch to pan mode"msgstr "Passa alla modalità panorama"@@ -22044,6 +22086,9 @@ msgstr "Questa opzione non ha effetto fino a quando un dominio di posta elettronmsgid "This information will be used on document headers"msgstr "Queste informazioni verranno utilizzate nelle intestazioni dei documenti"+msgid "This information will be visible to all users, so be careful what you share."+msgstr "Queste informazioni saranno visibili a tutti gli utenti, quindi fai attenzione a cosa condividi."+msgid "this inspection plan"msgstr "questo piano di controllo"@@ -22560,6 +22605,9 @@ msgstr "Classificazione di primo livello (attivo/passivo/patrimonio netto/ricavimsgid "Topic"msgstr "Argomento"+msgid "Topics"+msgstr "Argomenti"+msgid "Total"msgstr "Totale"@@ -24712,6 +24760,9 @@ msgstr "I tuoi numeri di parte"msgid "Your part numbers and the item master behind them"msgstr "I tuoi numeri di parte e il master articoli dietro di essi"+msgid "Your profile could not be loaded."+msgstr "Non è stato possibile caricare il tuo profilo."+msgid "Your project end to end: the plan, the gates, and go-live"msgstr "Il tuo progetto da inizio a fine: il piano, i gate e il go-live"diff --git a/packages/locale/locales/it/mes.po b/packages/locale/locales/it/mes.poindex d2d185e1cc..fbb8d6e45c 100644--- a/packages/locale/locales/it/mes.po+++ b/packages/locale/locales/it/mes.po@@ -67,6 +67,10 @@ msgstr "{0} di {1} completati"msgid "{0} queued"msgstr "{0} in coda"+#. placeholder {0}: result.credentialName ?? "Passkey"+msgid "{0} registered"+msgstr "{0} Registrato"+#. placeholder {0}: activeWork.lengthmsgid "{0} running"msgstr "{0} in esecuzione"@@ -89,6 +93,9 @@ msgstr "{completions} unità superate verranno completate."msgid "{fails} sampled failure(s) are recorded and will NOT be completed — resolve them from the actions menu."msgstr "{fails} errore(i) campionato(i) registrato(i) e NON sarà(sarranno) completato(i) — risolvere(li) dal menu azioni."+msgid "{maxSizeMB}MB limit"+msgstr "{maxSizeMB}MB limite"+#. placeholder {0}: step.perMember.lengthmsgid "{recorded}/{0} jobs"msgstr "Registrato/{0} ordini di produzione"@@ -111,6 +118,12 @@ msgstr "Accetta Lotto"msgid "Accept lot?"msgstr "Accettare il lotto?"+msgid "Account"+msgstr "Account"++msgid "Account settings"+msgstr "Impostazioni Account"+msgid "Account Settings"msgstr "Impostazioni Account"@@ -136,15 +149,24 @@ msgstr "Aggiungi e Preleva"msgid "Add a printer in the printing settings to print labels directly."msgstr "Aggiungi una stampante nelle impostazioni di stampa per stampare le etichette direttamente."+msgid "Add Authenticator App"+msgstr "Aggiungi App Autenticatore"+msgid "Add Inventory"msgstr "Aggiungi Inventario"+msgid "Add Passkey"+msgstr "Aggiungi Passkey"+msgid "Add Sample"msgstr "Aggiungi Campione"msgid "Add Spare Part"msgstr "Aggiungi Ricambio"+msgid "Added"+msgstr "Aggiunto"+msgid "All"msgstr "Tutti"@@ -179,6 +201,12 @@ msgstr "Assegna unità"msgid "Appearance"msgstr "Aspetto"+msgid "Approvals"+msgstr "Approvazioni"++msgid "Are you sure you want to delete this passkey? You won't be able to use it to sign in anymore."+msgstr "Sei sicuro di voler eliminare questo Passkey? Non potrai più usarlo per accedere."+msgid "Are you sure you want to delete this step?"msgstr "Sei sicuro di voler eliminare questo passo?"@@ -209,18 +237,40 @@ msgstr "Assegnatario"msgid "Authentication Error"msgstr "Errore di Autenticazione"+msgid "Authenticator app"+msgstr "App Autenticatore"++msgid "Authenticator QR code"+msgstr "Codice QR Autenticatore"+msgid "available"msgstr "disponibile"msgid "Available"msgstr "Disponibile"+#. placeholder {0}: index + 1+msgid "Avatar option {0}"+msgstr "Opzione Avatar {0}"++msgid "Avatar style"+msgstr "Stile Avatar"++#. placeholder {0}: info.source.name+#. placeholder {1}: info.creator+#. placeholder {2}: info.license.name+msgid "Avatars from <0>{0}</0> by {1}, licensed under <1>{2}</1>."+msgstr "Avatar da <0>{0}</0> di {1}, concesso in licenza secondo <1>{2}</1>."+msgid "Back"msgstr "Indietro"msgid "Back to batch"msgstr "Torna al lotto di produzione"+msgid "Background"+msgstr "Sfondo"+msgid "Batch"msgstr "Lotto"@@ -283,6 +333,12 @@ msgstr "Logo Carbon"msgid "Cards"msgstr "Schede"+msgid "Change"+msgstr "Cambia"++msgid "Changelog newsletter"+msgstr "Newsletter Changelog"+msgid "Characteristic"msgstr "Caratteristica"@@ -301,6 +357,12 @@ msgstr "Scegli un ordine di produzione"msgid "Choose an option"msgstr "Scegli un'opzione"+msgid "Choose avatar"+msgstr "Scegli Avatar"++msgid "Choose how Carbon reaches you."+msgstr "Scegli come Carbon ti raggiunge."+msgid "Clear"msgstr "Cancella"@@ -453,6 +515,12 @@ msgstr "Unità di stoccaggio predefinita"msgid "Delete"msgstr "Elimina"+msgid "Delete passkey"+msgstr "Elimina Passkey"++msgid "Delete Passkey"+msgstr "Elimina Passkey"+msgid "Delete Step"msgstr "Elimina passo"@@ -552,12 +620,24 @@ msgstr "L'output di ogni ordine di produzione è un suo lotto — tieni i componmsgid "Edit"msgstr "Modifica"+msgid "Edit Passkey"+msgstr "Modifica Passkey"+msgid "Elapsed"msgstr "Trascorso"+msgid "email"+msgstr "email"++msgid "Email"+msgstr "Email"+msgid "Email Address"msgstr "Indirizzo Email"+msgid "Email notifications are not included in your company's current plan; email preferences will apply if they are enabled."+msgstr "Le notifiche tramite email non sono incluse nel piano attuale della tua Azienda; le preferenze di email verranno applicate se abilitate."+msgid "Empty work centers"msgstr "Centri di lavoro vuoti"@@ -629,9 +709,15 @@ msgstr "Impossibile recuperare le operazioni attive"msgid "Failed to fetch storageUnits"msgstr "Impossibile recuperare le unità di archiviazione"+msgid "Failed to get options"+msgstr "Impossibile ottenere le opzioni"+msgid "Failed to record gauge"msgstr "Impossibile registrare lo strumento di misura"+msgid "Failed to register passkey"+msgstr "Impossibile registrare il Passkey"+msgid "Failed to save measurement"msgstr "Errore durante il salvataggio della misurazione"@@ -677,6 +763,9 @@ msgstr "Terminare con il materiale non prelevato?"msgid "First due {0}"msgstr "Prima scadenza {0}"+msgid "First Name"+msgstr "Nome"+msgid "Fit"msgstr "Adatta"@@ -741,6 +830,12 @@ msgstr "In un menu aperto"msgid "In Progress"msgstr "In Corso"+msgid "In-app notifications are always delivered. Choose which topics also reach you by email or Slack."+msgstr "Le notifiche in-app vengono sempre consegnate. Scegli quali argomenti desideri ricevere anche per email o Slack."++msgid "In-app notifications are always delivered. Choose which topics also reach you by email."+msgstr "Le notifiche in-app vengono sempre consegnate. Scegli quali argomenti desideri ricevere anche per email."+msgid "Inspect Item"msgstr "Ispeziona Articolo"@@ -753,6 +848,9 @@ msgstr "Istruzioni"msgid "Insufficient quantity"msgstr "Quantità insufficiente"+msgid "Inventory"+msgstr "Magazzino"+msgid "Inventory adjustment completed"msgstr "Rettifica di magazzino completata"@@ -789,6 +887,9 @@ msgstr "Articolo"msgid "Item Master"msgstr "Anagrafica Articolo"+msgid "Items"+msgstr "Articoli"+msgid "Job"msgstr "Commessa"@@ -816,6 +917,12 @@ msgstr "Manodopera"msgid "Last completed"msgstr "Ultimo completato"+msgid "Last Name"+msgstr "Cognome"++msgid "Last used"+msgstr "Ultimo utilizzo"+msgid "Learn more"msgstr "Per saperne di più"@@ -912,6 +1019,9 @@ msgstr "Manutenzione in ritardo"msgid "Make a replacement"msgstr "Crea una sostituzione"+msgid "Manage how you sign in to Carbon."+msgstr "Gestisci come accedi a Carbon."+msgid "Manually add items to inventory"msgstr "Aggiungi manualmente articoli all'inventario"@@ -1070,6 +1180,9 @@ msgstr "Nessuna opzione trovata."msgid "No options found."msgstr "Nessuna opzione trovata."+msgid "No passkeys registered yet."+msgstr "Nessun Passkey registrato ancora."+msgid "No picking lists assigned"msgstr "Nessuna lista di prelievo assegnata"@@ -1142,6 +1255,9 @@ msgstr "Niente pianificato in questo centro di lavoro"msgid "Nothing to scrap"msgstr "Nulla da scartare"+msgid "Notifications"+msgstr "Notifiche"+msgid "OEE Impact"msgstr "Impatto OEE"@@ -1217,6 +1333,9 @@ msgstr "Opzioni"msgid "or"msgstr "o"+msgid "Or enter this secret manually:"+msgstr "O inserisci questo segreto manualmente:"+msgid "Out of calibration"msgstr "Fuori dalla taratura"@@ -1247,15 +1366,30 @@ msgstr "Superato il controllo"msgid "Passed Inspection"msgstr "Controllo superato"+msgid "Passkey name"+msgstr "Nome Passkey"+msgid "Passkey unlock failed"msgstr "Sblocco con passkey non riuscito"+msgid "Passkeys"+msgstr "Passkeys"++msgid "Passkeys are disabled"+msgstr "Passkey disabilitati"+msgid "Pause"msgstr "Sospendi"msgid "Pause timer"msgstr "Sospendi cronometro"+msgid "Phone"+msgstr "Telefono"++msgid "Photo uploaded successfully"+msgstr "Foto caricata con successo"+msgid "Pick"msgstr "Preleva"@@ -1263,6 +1397,9 @@ msgstr "Preleva"msgid "Pick {0}"msgstr "Prelievo {0}"+msgid "Pick a style and an avatar, or shuffle for new ones."+msgstr "Scegli uno stile e un avatar, o mescola per ottenere quelli nuovi."+msgid "Pick tracked item"msgstr "Seleziona articolo tracciato"@@ -1350,9 +1487,18 @@ msgstr "Parametri di Processo"msgid "Processes"msgstr "Processi"+msgid "Profile"+msgstr "Profilo"+msgid "Progress"msgstr "Avanzamento"+msgid "Purchasing"+msgstr "Acquisti"++msgid "Quality"+msgstr "Qualità"+msgid "Quality Issue"msgstr "Problema di qualità"@@ -1368,6 +1514,9 @@ msgstr "La quantità deve essere maggiore di 0"msgid "Queue empty"msgstr "Coda vuota"+msgid "Quotes"+msgstr "Offerte"+msgid "Reason for rework"msgstr "Motivo della rilavorazione"@@ -1397,6 +1546,9 @@ msgstr "Registra Parziale"msgid "Recorded"msgstr "Registrato"+msgid "Registration failed"+msgstr "Registrazione fallita"+msgid "Reject"msgstr "Rifiuta"@@ -1409,6 +1561,9 @@ msgstr "Rilasciato"msgid "Remove"msgstr "Rimuovi"+msgid "Remove authenticator app"+msgstr "Rimuovi app autenticatore"+msgid "Remove filter"msgstr "Rimuovi filtro"@@ -1418,15 +1573,24 @@ msgstr "Rimuovi Inventario"msgid "Remove part"msgstr "Rimuovi componente"+msgid "Remove two-factor authentication"+msgstr "Rimuovi autenticazione a due fattori"+msgid "Rename"msgstr "Rinomina"msgid "Reopen the subassembly and create a replacement unit"msgstr "Riaprire il sottoassieme e creare un'unità di ricambio"+msgid "Require a 6-digit code from an authenticator app when signing in."+msgstr "Richiedi un codice a 6 cifre da un'app autenticatore quando accedi."+msgid "Required"msgstr "Obbligatorio"+msgid "Reset"+msgstr "Reimposta"+msgid "Result"msgstr "Risultato"@@ -1445,6 +1609,9 @@ msgstr "Quantità di rilavorazione"msgid "Running"msgstr "In esecuzione"+msgid "Sales"+msgstr "Vendite"+msgid "Sales Order"msgstr "Ordine di Vendita"@@ -1478,6 +1645,9 @@ msgstr "Scansiona o cerca numero di serie..."msgid "Scan or select a tracked entity from this lot to add it as a sample column, then record its result in the grid."msgstr "Scansiona o seleziona un'entità tracciata da questo lotto per aggiungerla come colonna campione, quindi registra il suo risultato nella griglia."+msgid "Scan this QR code with your authenticator app (e.g. Google Authenticator or 1Password), then enter the 6-digit code it shows."+msgstr "Scansiona questo codice QR con la tua app autenticatore (ad esempio Google Authenticator o 1Password), quindi inserisci il codice a 6 cifre che mostra."+msgid "Schedule"msgstr "Pianificazione"@@ -1526,6 +1696,12 @@ msgstr "Cerca operatori..."msgid "Search..."msgstr "Cerca..."+msgid "Secret copied to clipboard"+msgstr "Segreto copiato negli appunti"++msgid "Security"+msgstr "Sicurezza"+msgid "Select"msgstr "Seleziona"@@ -1616,6 +1792,9 @@ msgstr "Imposta l'ora in cui hai smesso di lavorare, o conferma che stai ancoramsgid "Set up in Carbon"msgstr "Configura in Carbon"+msgid "Set up two-factor authentication"+msgstr "Configura autenticazione a due fattori"+msgid "Set when the batch was planned."msgstr "Impostato quando il Lotto di produzione è stato pianificato."@@ -1637,6 +1816,12 @@ msgstr "Mostra descrizione"msgid "Show keyboard shortcuts"msgstr "Mostra i tasti di scelta rapida"+msgid "Shuffle"+msgstr "Mescola"++msgid "Sign in with biometrics instead of a magic link. Passkeys are secured by Face ID, Touch ID, or your device PIN."+msgstr "Accedi con dati biometrici invece di un link magico. I Passkey sono protetti da Face ID, Touch ID o dal PIN del tuo dispositivo."+msgid "Sign in with Google"msgstr "Accedi con Google"@@ -1658,9 +1843,15 @@ msgstr "Esci invece"msgid "Signed in as {stationName}"msgstr "Connesso come {stationName}"+msgid "Signing in will no longer require a code. Enter the current 6-digit code from your authenticator app to confirm."+msgstr "L'accesso non richiederà più un codice. Inserisci il codice a 6 cifre corrente dalla tua app autenticatore per confermare."+msgid "Size"msgstr "Dimensione"+msgid "Slack"+msgstr "Slack"+msgid "Source"msgstr "Origine"@@ -1711,6 +1902,9 @@ msgstr "Passi mancanti"msgid "Storage Unit"msgstr "Unità di Stoccaggio"+msgid "Style default"+msgstr "Stile predefinito"+msgid "Sub-Assembly"msgstr "Sottoassieme"@@ -1732,12 +1926,18 @@ msgstr "Invia in forma anonima"msgid "Suggestion"msgstr "Proposta"+msgid "Suggestions"+msgstr "Proposte"+msgid "Support Required"msgstr "Supporto Richiesto"msgid "Switch Operator"msgstr "Cambia Operatore"+msgid "Synced"+msgstr "Sincronizzato"+msgid "System"msgstr "Sistema"@@ -1778,6 +1978,9 @@ msgstr "Questi articoli hanno ancora materiale da prelevare. Il completamento ormsgid "This batch has no work instructions."msgstr "Questo lotto di produzione non ha istruzioni di lavoro."+msgid "This information will be visible to all users, so be careful what you share."+msgstr "Questa informazione sarà visibile a tutti gli utenti, quindi fai attenzione a quello che condividi."+msgid "This lot is expired and can't be picked."msgstr "Questo lotto è scaduto e non può essere prelevato."@@ -1836,6 +2039,12 @@ msgstr "Utensili"msgid "Top to Bottom"msgstr "Da Alto a Basso"+msgid "Topic"+msgstr "Argomento"++msgid "Topics"+msgstr "Argomenti"+msgid "Total"msgstr "Totale"@@ -1859,9 +2068,21 @@ msgstr "Righe tracciate"msgid "Tracking"msgstr "Tracciamento"+msgid "Training"+msgstr "Formazione"+msgid "Two-factor authentication"msgstr "Autenticazione a due fattori"+msgid "Two-factor authentication disabled"+msgstr "Autenticazione a due fattori disabilitata"++msgid "Two-factor authentication enabled"+msgstr "Autenticazione a due fattori abilitata"++msgid "Two-factor authentication is not enabled."+msgstr "L'autenticazione a due fattori non è abilitata."+msgid "Two-factor authentication required"msgstr "Autenticazione a due fattori richiesta"@@ -1919,10 +2140,17 @@ msgstr "Aggiornato {0}"msgid "Updated successfully"msgstr "Aggiornato con successo"+msgid "Upload"+msgstr "Carica"++msgid "Upload completed but no file path returned"+msgstr "Caricamento completato ma nessun percorso file restituito"+#. placeholder {0}: fileUpload.namemsgid "Uploaded: {0}"msgstr "Caricato: {0}"+#. placeholder {0}: avatarFile.name#. placeholder {0}: fileUpload.namemsgid "Uploading {0}"msgstr "Caricamento di {0}"@@ -1941,6 +2169,9 @@ msgstr "Usa {0} · {1}"msgid "Value"msgstr "Valore"+msgid "Verification failed"+msgstr "Verifica fallita"+msgid "Verify"msgstr "Verifica"@@ -1986,6 +2217,9 @@ msgstr "Il tuo account non è ancora parte di un'azienda. Completa l'onboardingmsgid "Your organization requires an authenticator app. Set it up in Carbon, then come back here."msgstr "La tua organizzazione richiede un'app di autenticazione. Configurala in Carbon, quindi torna qui."+msgid "Your profile could not be loaded."+msgstr "Il tuo profilo non ha potuto essere caricato."+msgid "Your session was locked after inactivity."msgstr "La tua sessione è stata bloccata a causa dell'inattività."diff --git a/packages/locale/locales/ja/erp.po b/packages/locale/locales/ja/erp.poindex ccb415c7ef..81f6506b42 100644--- a/packages/locale/locales/ja/erp.po+++ b/packages/locale/locales/ja/erp.po@@ -604,6 +604,9 @@ msgstr "{unitCount}個"msgid "{unmappedRequiredCount, plural, one {Map the # remaining required account first.} other {Map the # remaining required accounts first.}}"msgstr "{unmappedRequiredCount, plural, one {残りの # 個の必須勘定科目をまずマップしてください。} other {残りの # 個の必須勘定科目をまずマップしてください。}}"+msgid "{unread} unread"+msgstr "{unread}件未読"+msgid "{unschedulableCount} can't be scheduled"msgstr "{unschedulableCount}はスケジュール化できません"@@ -1485,6 +1488,9 @@ msgstr "勘定科目名"msgid "Account Number"msgstr "勘定番号"+msgid "Account settings"+msgstr "アカウント設定"+msgid "Account Settings"msgstr "アカウント設定"@@ -2205,6 +2211,9 @@ msgstr "すべて内製 {0}"msgid "All members of selected groups and selected individuals will be able to approve requests"msgstr "選択されたグループのすべてのメンバーと選択された個人が承認リクエストを承認できます"+msgid "All modules"+msgstr "すべてのモジュール"+msgid "All open jobs"msgstr "すべてのオープン製造指図"@@ -3547,6 +3556,9 @@ msgstr "承認待ち"msgid "Back"msgstr "戻る"+msgid "Back to menu"+msgstr "メニューに戻る"+msgid "Back to traceability"msgstr "トレーサビリティに戻る"@@ -4558,6 +4570,9 @@ msgstr "別のファイルを選択"msgid "Choose avatar"msgstr "アバターを選択"+msgid "Choose how Carbon reaches you."+msgstr "Carbon があなたに連絡する方法を選択してください。"+msgid "Choose how to add lines to this return."msgstr "この返品に明細を追加する方法を選択してください。"@@ -4687,6 +4702,9 @@ msgstr "完了日"msgid "Close Date"msgstr "終了日"+msgid "Close menu"+msgstr "メニューを閉じる"+msgid "Close Period"msgstr "期間を閉じる"@@ -9581,6 +9599,12 @@ msgstr "財務諸表"msgid "Financing"msgstr "ファイナンシング"+msgid "Find company…"+msgstr "会社を検索…"++msgid "Find module…"+msgstr "モジュールを検索…"+msgid "finish"msgstr "完成品"@@ -12297,6 +12321,9 @@ msgstr "会社の認証およびサインイン要件を管理してくださいmsgid "Manage how shelf life is tracked, computed, and enforced across inventory."msgstr "保存期間が在庫全体で追跡、計算、および適用される方法を管理します。"+msgid "Manage how you sign in to Carbon."+msgstr "Carbon へのサインイン方法を管理します。"+msgid "Manage Ownership"msgstr "所有権を管理"@@ -12619,6 +12646,9 @@ msgstr "メモ日付"msgid "Memo ID"msgstr "メモID"+msgid "Menu"+msgstr "メニュー"+msgid "Merchant"msgstr "マーチャント"@@ -13598,6 +13628,9 @@ msgstr "衝突のない経路がない"msgid "No comments yet. Be the first to add a comment."msgstr "まだコメントがありません。最初のコメントを追加してください。"+msgid "No companies found"+msgstr "会社が見つかりません"+msgid "No companies match \"{query}\""msgstr "「{query}」に一致する会社がありません"@@ -13841,6 +13874,9 @@ msgstr "物料がありません"msgid "No materials yet"msgstr "品目はまだありません"+msgid "No modules found"+msgstr "モジュールが見つかりません"+msgid "No new notifications"msgstr "新しい通知はありません"@@ -20104,6 +20140,9 @@ msgstr "在庫移動が訂正されました"msgid "Stock size — e.g. sheet thickness or bar diameter"msgstr "在庫サイズ — 例:シート厚さまたはバー直径"+msgid "Stock Transfer"+msgstr "在庫転送"+msgid "Stock Transfer ID"msgstr "在庫移動ID"@@ -20614,6 +20653,9 @@ msgstr "モジュールをオフにするとすべての場所から削除されmsgid "Switch company"msgstr "会社を切り替える"+msgid "Switch module"+msgstr "モジュールを切り替える"+msgid "Switch to pan mode"msgstr "パンモードに切り替え"@@ -22044,6 +22086,9 @@ msgstr "メールドメインが下で検証されるまで、これは効果がmsgid "This information will be used on document headers"msgstr "この情報は文書ヘッダーで使用されます"+msgid "This information will be visible to all users, so be careful what you share."+msgstr "この情報はすべてのユーザーに表示されるため、共有内容に注意してください。"+msgid "this inspection plan"msgstr "この検査計画"@@ -22560,6 +22605,9 @@ msgstr "トップレベルの分類(資産/負債/純資産/売上高/費用msgid "Topic"msgstr "トピック"+msgid "Topics"+msgstr "トピック"+msgid "Total"msgstr "合計"@@ -24712,6 +24760,9 @@ msgstr "あなたの部品番号"msgid "Your part numbers and the item master behind them"msgstr "あなたの部品番号とそれらの背後にあるアイテムマスター"+msgid "Your profile could not be loaded."+msgstr "プロファイルを読み込めませんでした。"+msgid "Your project end to end: the plan, the gates, and go-live"msgstr "プロジェクト全体:計画、ゲート、本番稼働"diff --git a/packages/locale/locales/ja/mes.po b/packages/locale/locales/ja/mes.poindex a6cd0cf34f..01319ec27b 100644--- a/packages/locale/locales/ja/mes.po+++ b/packages/locale/locales/ja/mes.po@@ -67,6 +67,10 @@ msgstr "{0} / {1} 完了済み"msgid "{0} queued"msgstr "{0}件がキュー待ちです"+#. placeholder {0}: result.credentialName ?? "Passkey"+msgid "{0} registered"+msgstr "{0} 登録済"+#. placeholder {0}: activeWork.lengthmsgid "{0} running"msgstr "{0} 実行中"@@ -89,6 +93,9 @@ msgstr "{completions}個の合格ユニットが完了します。"msgid "{fails} sampled failure(s) are recorded and will NOT be completed — resolve them from the actions menu."msgstr "{fails}件のサンプル不良が記録されており、完了されません — アクションメニューから対応してください。"+msgid "{maxSizeMB}MB limit"+msgstr "{maxSizeMB}MB の制限"+#. placeholder {0}: step.perMember.lengthmsgid "{recorded}/{0} jobs"msgstr "{recorded}/{0}件の製造指図"@@ -111,6 +118,12 @@ msgstr "ロット承諾"msgid "Accept lot?"msgstr "ロットを承諾しますか?"+msgid "Account"+msgstr "アカウント"++msgid "Account settings"+msgstr "アカウント設定"+msgid "Account Settings"msgstr "アカウント設定"@@ -136,15 +149,24 @@ msgstr "追加して払出"msgid "Add a printer in the printing settings to print labels directly."msgstr "印刷設定でプリンターを追加して、ラベルを直接印刷します。"+msgid "Add Authenticator App"+msgstr "認証アプリを追加"+msgid "Add Inventory"msgstr "在庫追加"+msgid "Add Passkey"+msgstr "パスキーを追加"+msgid "Add Sample"msgstr "サンプルを追加"msgid "Add Spare Part"msgstr "予備品を追加"+msgid "Added"+msgstr "追加完了"+msgid "All"msgstr "すべて"@@ -179,6 +201,12 @@ msgstr "ユニットを割り当てる"msgid "Appearance"msgstr "外観"+msgid "Approvals"+msgstr "承認"++msgid "Are you sure you want to delete this passkey? You won't be able to use it to sign in anymore."+msgstr "このパスキーを削除してもよろしいですか?削除後、このパスキーを使ってサインインできなくなります。"+msgid "Are you sure you want to delete this step?"msgstr "このステップを削除してもよろしいですか?"@@ -209,18 +237,40 @@ msgstr "担当者"msgid "Authentication Error"msgstr "認証エラー"+msgid "Authenticator app"+msgstr "認証アプリ"++msgid "Authenticator QR code"+msgstr "認証アプリの QR コード"+msgid "available"msgstr "利用可能"msgid "Available"msgstr "利用可能"+#. placeholder {0}: index + 1+msgid "Avatar option {0}"+msgstr "アバターオプション {0}"++msgid "Avatar style"+msgstr "アバタースタイル"++#. placeholder {0}: info.source.name+#. placeholder {1}: info.creator+#. placeholder {2}: info.license.name+msgid "Avatars from <0>{0}</0> by {1}, licensed under <1>{2}</1>."+msgstr "アバターは <0>{0}</0> から {1} による提供で、<1>{2}</1> ライセンスの下で使用されています。"+msgid "Back"msgstr "戻る"msgid "Back to batch"msgstr "バッチへ戻る"+msgid "Background"+msgstr "背景"+msgid "Batch"msgstr "バッチ"@@ -283,6 +333,12 @@ msgstr "Carbonロゴ"msgid "Cards"msgstr "カード"+msgid "Change"+msgstr "変更"++msgid "Changelog newsletter"+msgstr "チェンジログニュースレター"+msgid "Characteristic"msgstr "特性"@@ -301,6 +357,12 @@ msgstr "製造指図を選択"msgid "Choose an option"msgstr "オプションを選択"+msgid "Choose avatar"+msgstr "アバターを選択"++msgid "Choose how Carbon reaches you."+msgstr "Carbon があなたに連絡する方法を選択します。"+msgid "Clear"msgstr "クリア"@@ -453,6 +515,12 @@ msgstr "デフォルト保管ユニット"msgid "Delete"msgstr "削除"+msgid "Delete passkey"+msgstr "パスキーを削除"++msgid "Delete Passkey"+msgstr "パスキーを削除"+msgid "Delete Step"msgstr "ステップを削除"@@ -552,12 +620,24 @@ msgstr "各製造指図の出力はそれぞれのロット — 各製造指図msgid "Edit"msgstr "編集"+msgid "Edit Passkey"+msgstr "パスキーを編集"+msgid "Elapsed"msgstr "経過時間"+msgid "email"+msgstr "メール"++msgid "Email"+msgstr "メール"+msgid "Email Address"msgstr "メール住所"+msgid "Email notifications are not included in your company's current plan; email preferences will apply if they are enabled."+msgstr "メール通知は会社の現在のプランに含まれていません。有効にすると、メール設定が適用されます。"+msgid "Empty work centers"msgstr "作業区が空です"@@ -629,9 +709,15 @@ msgstr "アクティブな工程の取得に失敗しました"msgid "Failed to fetch storageUnits"msgstr "storageUnitsの取得に失敗しました"+msgid "Failed to get options"+msgstr "オプションの取得に失敗しました"+msgid "Failed to record gauge"msgstr "測定器の記録に失敗しました"+msgid "Failed to register passkey"+msgstr "パスキーの登録に失敗しました"+msgid "Failed to save measurement"msgstr "測定の保存に失敗しました"@@ -677,6 +763,9 @@ msgstr "材料がピッキングされていない状態で終了しますか?"msgid "First due {0}"msgstr "最初の期日 {0}"+msgid "First Name"+msgstr "名"+msgid "Fit"msgstr "フィット"@@ -741,6 +830,12 @@ msgstr "開いているメニュー内"msgid "In Progress"msgstr "進行中"+msgid "In-app notifications are always delivered. Choose which topics also reach you by email or Slack."+msgstr "アプリ内通知は常に配信されます。メールと Slack でも受け取るトピックを選択してください。"++msgid "In-app notifications are always delivered. Choose which topics also reach you by email."+msgstr "アプリ内通知は常に配信されます。メールでも受け取るトピックを選択してください。"+msgid "Inspect Item"msgstr "アイテムを検査"@@ -753,6 +848,9 @@ msgstr "作業手順"msgid "Insufficient quantity"msgstr "数量が不足しています"+msgid "Inventory"+msgstr "在庫管理"+msgid "Inventory adjustment completed"msgstr "在庫調整が完了しました"@@ -789,6 +887,9 @@ msgstr "品目"msgid "Item Master"msgstr "品目マスター"+msgid "Items"+msgstr "品目"+msgid "Job"msgstr "ジョブ"@@ -816,6 +917,12 @@ msgstr "労務"msgid "Last completed"msgstr "最後に完了"+msgid "Last Name"+msgstr "姓"++msgid "Last used"+msgstr "最後に使用"+msgid "Learn more"msgstr "詳細情報"@@ -912,6 +1019,9 @@ msgstr "保全が期限超過"msgid "Make a replacement"msgstr "代替品を作成"+msgid "Manage how you sign in to Carbon."+msgstr "Carbon へのサインイン方法を管理します。"+msgid "Manually add items to inventory"msgstr "手動で在庫に品目を追加"@@ -1070,6 +1180,9 @@ msgstr "オプションが見つかりません。"msgid "No options found."msgstr "オプションが見つかりません。"+msgid "No passkeys registered yet."+msgstr "登録済のパスキーはまだありません。"+msgid "No picking lists assigned"msgstr "ピッキングリストが割り当てられていません"@@ -1142,6 +1255,9 @@ msgstr "この作業区には予定がありません。"msgid "Nothing to scrap"msgstr "スクラップするものがない"+msgid "Notifications"+msgstr "通知"+msgid "OEE Impact"msgstr "OEE影響度"@@ -1217,6 +1333,9 @@ msgstr "オプション"msgid "or"msgstr "または"+msgid "Or enter this secret manually:"+msgstr "またはこのシークレットを手動で入力してください:"+msgid "Out of calibration"msgstr "校正対象外"@@ -1247,15 +1366,30 @@ msgstr "検査合格"msgid "Passed Inspection"msgstr "検査合格"+msgid "Passkey name"+msgstr "パスキー名"+msgid "Passkey unlock failed"msgstr "パスキーのロック解除に失敗しました"+msgid "Passkeys"+msgstr "パスキー"++msgid "Passkeys are disabled"+msgstr "パスキーが無効です"+msgid "Pause"msgstr "一時停止"msgid "Pause timer"msgstr "タイマーを一時停止"+msgid "Phone"+msgstr "電話"++msgid "Photo uploaded successfully"+msgstr "写真がアップロードされました"+msgid "Pick"msgstr "ピック"@@ -1263,6 +1397,9 @@ msgstr "ピック"msgid "Pick {0}"msgstr "ピッキング {0}"+msgid "Pick a style and an avatar, or shuffle for new ones."+msgstr "スタイルとアバターを選択するか、新しいものにシャッフルしてください。"+msgid "Pick tracked item"msgstr "追跡品目をピック"@@ -1350,9 +1487,18 @@ msgstr "プロセスパラメーター"msgid "Processes"msgstr "プロセス一覧"+msgid "Profile"+msgstr "プロフィール"+msgid "Progress"msgstr "進捗"+msgid "Purchasing"+msgstr "購買"++msgid "Quality"+msgstr "品質"+msgid "Quality Issue"msgstr "品質問題"@@ -1368,6 +1514,9 @@ msgstr "数量は0より大きい値を入力してください"msgid "Queue empty"msgstr "キューが空です"+msgid "Quotes"+msgstr "見積"+msgid "Reason for rework"msgstr "手直しの理由"@@ -1397,6 +1546,9 @@ msgstr "一部を記録"msgid "Recorded"msgstr "記録済"+msgid "Registration failed"+msgstr "登録に失敗しました"+msgid "Reject"msgstr "却下"@@ -1409,6 +1561,9 @@ msgstr "リリース済"msgid "Remove"msgstr "除去"+msgid "Remove authenticator app"+msgstr "認証器アプリを除去"+msgid "Remove filter"msgstr "絞り込みを除去"@@ -1418,15 +1573,24 @@ msgstr "在庫を除去"msgid "Remove part"msgstr "部品を除去"+msgid "Remove two-factor authentication"+msgstr "二要素認証を除去"+msgid "Rename"msgstr "名前変更"msgid "Reopen the subassembly and create a replacement unit"msgstr "サブアセンブリを再オープンし、代替品を作成"+msgid "Require a 6-digit code from an authenticator app when signing in."+msgstr "サインイン時に認証器アプリからの6桁コードが必要です。"+msgid "Required"msgstr "必須"+msgid "Reset"+msgstr "リセット"+msgid "Result"msgstr "結果"@@ -1445,6 +1609,9 @@ msgstr "手直し数量"msgid "Running"msgstr "実行中"+msgid "Sales"+msgstr "販売"+msgid "Sales Order"msgstr "受注"@@ -1478,6 +1645,9 @@ msgstr "シリアル番号をスキャンまたは検索..."msgid "Scan or select a tracked entity from this lot to add it as a sample column, then record its result in the grid."msgstr "このロットから追跡対象をスキャンまたは選択してサンプル列として追加し、グリッドに結果を記録します。"+msgid "Scan this QR code with your authenticator app (e.g. Google Authenticator or 1Password), then enter the 6-digit code it shows."+msgstr "このQRコードをスキャンしてください(例:Google AuthenticatorまたはOnePassword)、その後に表示される6桁のコードを入力してください。"+msgid "Schedule"msgstr "スケジュール"@@ -1526,6 +1696,12 @@ msgstr "作業者を検索..."msgid "Search..."msgstr "検索..."+msgid "Secret copied to clipboard"+msgstr "シークレットがクリップボードにコピーされました"++msgid "Security"+msgstr "セキュリティ"+msgid "Select"msgstr "選択"@@ -1616,6 +1792,9 @@ msgstr "作業を停止した時刻を設定するか、まだ作業中であるmsgid "Set up in Carbon"msgstr "Carbonで設定"+msgid "Set up two-factor authentication"+msgstr "二要素認証を設定"+msgid "Set when the batch was planned."msgstr "バッチが計画されたときに設定します。"@@ -1637,6 +1816,12 @@ msgstr "説明を表示"msgid "Show keyboard shortcuts"msgstr "キーボードショートカットを表示"+msgid "Shuffle"+msgstr "シャッフル"++msgid "Sign in with biometrics instead of a magic link. Passkeys are secured by Face ID, Touch ID, or your device PIN."+msgstr "マジックリンクの代わりに生体認証でサインインしてください。パスキーはFace ID、Touch ID、またはデバイスPINで保護されています。"+msgid "Sign in with Google"msgstr "Googleでサインイン"@@ -1658,9 +1843,15 @@ msgstr "代わりにサインアウト"msgid "Signed in as {stationName}"msgstr "{stationName} としてサインイン中"+msgid "Signing in will no longer require a code. Enter the current 6-digit code from your authenticator app to confirm."+msgstr "サインインにコードが不要になります。確認するために認証器アプリの現在の6桁コードを入力してください。"+msgid "Size"msgstr "サイズ"+msgid "Slack"+msgstr "Slack"+msgid "Source"msgstr "ソース"@@ -1711,6 +1902,9 @@ msgstr "ステップが未記録です"msgid "Storage Unit"msgstr "保管ユニット"+msgid "Style default"+msgstr "スタイルデフォルト"+msgid "Sub-Assembly"msgstr "サブアセンブリ"@@ -1732,12 +1926,18 @@ msgstr "匿名で提出"msgid "Suggestion"msgstr "提案"+msgid "Suggestions"+msgstr "提案"+msgid "Support Required"msgstr "サポート必要"msgid "Switch Operator"msgstr "作業者を切り替える"+msgid "Synced"+msgstr "同期済み"+msgid "System"msgstr "システム"@@ -1778,6 +1978,9 @@ msgstr "これらの品目にはまだピッキングする材料がありますmsgid "This batch has no work instructions."msgstr "このバッチには作業手順書がありません。"+msgid "This information will be visible to all users, so be careful what you share."+msgstr "この情報はすべてのユーザーに表示されるため、共有内容に注意してください。"+msgid "This lot is expired and can't be picked."msgstr "このロットは期限切れであり、ピックできません。"@@ -1836,6 +2039,12 @@ msgstr "工具"msgid "Top to Bottom"msgstr "上から下へ"+msgid "Topic"+msgstr "トピック"++msgid "Topics"+msgstr "トピック"+msgid "Total"msgstr "合計"@@ -1859,9 +2068,21 @@ msgstr "追跡対象の明細"msgid "Tracking"msgstr "追跡"+msgid "Training"+msgstr "教育訓練"+msgid "Two-factor authentication"msgstr "二要素認証"+msgid "Two-factor authentication disabled"+msgstr "二要素認証が無効です"++msgid "Two-factor authentication enabled"+msgstr "二要素認証が有効です"++msgid "Two-factor authentication is not enabled."+msgstr "二要素認証は有効になっていません。"+msgid "Two-factor authentication required"msgstr "二要素認証が必要です"@@ -1919,10 +2140,17 @@ msgstr "{0} に更新"msgid "Updated successfully"msgstr "正常に更新されました"+msgid "Upload"+msgstr "アップロード"++msgid "Upload completed but no file path returned"+msgstr "アップロードが完了しましたがファイルパスが返されません"+#. placeholder {0}: fileUpload.namemsgid "Uploaded: {0}"msgstr "アップロード完了: {0}"+#. placeholder {0}: avatarFile.name#. placeholder {0}: fileUpload.namemsgid "Uploading {0}"msgstr "{0} をアップロード中"@@ -1941,6 +2169,9 @@ msgstr "{0} · {1} を使用"msgid "Value"msgstr "値"+msgid "Verification failed"+msgstr "検証に失敗しました"+msgid "Verify"msgstr "確認"@@ -1986,6 +2217,9 @@ msgstr "あなたのアカウントはまだ会社に属していません。継msgid "Your organization requires an authenticator app. Set it up in Carbon, then come back here."msgstr "あなたの組織は認証器アプリが必要です。Carbonで設定してから、ここに戻ってください。"+msgid "Your profile could not be loaded."+msgstr "プロフィールを読み込めませんでした。"+msgid "Your session was locked after inactivity."msgstr "非アクティビティ後、セッションはロック中になりました。"diff --git a/packages/locale/locales/ko/erp.po b/packages/locale/locales/ko/erp.poindex 95ed800d91..87c9b14c1a 100644--- a/packages/locale/locales/ko/erp.po+++ b/packages/locale/locales/ko/erp.po@@ -604,6 +604,9 @@ msgstr "{unitCount}개"msgid "{unmappedRequiredCount, plural, one {Map the # remaining required account first.} other {Map the # remaining required accounts first.}}"msgstr "{unmappedRequiredCount, plural, one {먼저 # 남은 필수 계정을 매핑하세요.} other {먼저 # 남은 필수 계정을 매핑하세요.}}"+msgid "{unread} unread"+msgstr "{unread} 미읽음"+msgid "{unschedulableCount} can't be scheduled"msgstr "{unschedulableCount}개는 일정을 짤 수 없습니다"@@ -1485,6 +1488,9 @@ msgstr "계정명"msgid "Account Number"msgstr "계좌번호"+msgid "Account settings"+msgstr "계정 설정"+msgid "Account Settings"msgstr "계정 설정"@@ -2205,6 +2211,9 @@ msgstr "모두 사내 생산 {0}"msgid "All members of selected groups and selected individuals will be able to approve requests"msgstr "선택한 그룹의 모든 구성원과 선택한 개인이 요청을 승인할 수 있습니다"+msgid "All modules"+msgstr "모든 모듈"+msgid "All open jobs"msgstr "모든 미결 작업 지시"@@ -3547,6 +3556,9 @@ msgstr "승인 대기 중"msgid "Back"msgstr "뒤로"+msgid "Back to menu"+msgstr "메뉴로 돌아가기"+msgid "Back to traceability"msgstr "추적성으로 돌아가기"@@ -4558,6 +4570,9 @@ msgstr "다른 파일을 선택하세요"msgid "Choose avatar"msgstr "아바타 선택"+msgid "Choose how Carbon reaches you."+msgstr "Carbon이 어떻게 연락하는지 선택하세요."+msgid "Choose how to add lines to this return."msgstr "이 반품에 라인을 추가하는 방법을 선택하세요."@@ -4687,6 +4702,9 @@ msgstr "마감일"msgid "Close Date"msgstr "마감일"+msgid "Close menu"+msgstr "메뉴 닫기"+msgid "Close Period"msgstr "기간 종료"@@ -9581,6 +9599,12 @@ msgstr "재무제표"msgid "Financing"msgstr "금융"+msgid "Find company…"+msgstr "회사 찾기…"++msgid "Find module…"+msgstr "모듈 찾기…"+msgid "finish"msgstr "마감"@@ -12297,6 +12321,9 @@ msgstr "회사의 인증 및 로그인 요구사항을 관리합니다."msgid "Manage how shelf life is tracked, computed, and enforced across inventory."msgstr "보존 기간이 재고 전체에서 어떻게 추적, 계산 및 적용되는지 관리합니다."+msgid "Manage how you sign in to Carbon."+msgstr "Carbon에 로그인하는 방식을 관리하세요."+msgid "Manage Ownership"msgstr "소유권 관리"@@ -12619,6 +12646,9 @@ msgstr "메모 날짜"msgid "Memo ID"msgstr "메모 ID"+msgid "Menu"+msgstr "메뉴"+msgid "Merchant"msgstr "가맹점"@@ -13598,6 +13628,9 @@ msgstr "충돌 없는 경로 없음"msgid "No comments yet. Be the first to add a comment."msgstr "아직 댓글이 없습니다. 첫 번째 댓글을 추가하세요."+msgid "No companies found"+msgstr "회사가 없습니다"+msgid "No companies match \"{query}\""msgstr "일치하는 회사가 없습니다 「{query}」"@@ -13841,6 +13874,9 @@ msgstr "자재 없음"msgid "No materials yet"msgstr "아직 자재가 없습니다."+msgid "No modules found"+msgstr "모듈이 없습니다"+msgid "No new notifications"msgstr "새 알림이 없습니다"@@ -20104,6 +20140,9 @@ msgstr "재고 이동 수정됨"msgid "Stock size — e.g. sheet thickness or bar diameter"msgstr "재고 크기 — 예: 시트 두께 또는 막대 지름"+msgid "Stock Transfer"+msgstr "재고 이송"+msgid "Stock Transfer ID"msgstr "재고 이동 ID"@@ -20614,6 +20653,9 @@ msgstr "모듈을 끄면 요구사항, 데이터, 교육, 범위 등 모든 곳msgid "Switch company"msgstr "회사 전환"+msgid "Switch module"+msgstr "모듈 전환"+msgid "Switch to pan mode"msgstr "팬 모드로 전환"@@ -22044,6 +22086,9 @@ msgstr "이메일 도메인이 아래에서 확인될 때까지 이는 효과가msgid "This information will be used on document headers"msgstr "이 정보는 문서 헤더에 사용됩니다"+msgid "This information will be visible to all users, so be careful what you share."+msgstr "이 정보는 모든 사용자에게 표시되므로 공유할 내용을 신중하게 선택하세요."+msgid "this inspection plan"msgstr "이 검사 계획"@@ -22560,6 +22605,9 @@ msgstr "최상위 분류 (자산 / 부채 / 자본 / 매출 / 비용); 루트msgid "Topic"msgstr "주제"+msgid "Topics"+msgstr "주제"+msgid "Total"msgstr "합계"@@ -24712,6 +24760,9 @@ msgstr "품번"msgid "Your part numbers and the item master behind them"msgstr "품번과 그 기반이 되는 품목 마스터"+msgid "Your profile could not be loaded."+msgstr "프로필을 로드할 수 없습니다."+msgid "Your project end to end: the plan, the gates, and go-live"msgstr "프로젝트 전체: 계획, 단계별 게이트, 도입"diff --git a/packages/locale/locales/ko/mes.po b/packages/locale/locales/ko/mes.poindex 773c1aba81..353ed1bcc5 100644--- a/packages/locale/locales/ko/mes.po+++ b/packages/locale/locales/ko/mes.po@@ -67,6 +67,10 @@ msgstr "{1} 중 {0} 완료됨"msgid "{0} queued"msgstr "{0} 대기열"+#. placeholder {0}: result.credentialName ?? "Passkey"+msgid "{0} registered"+msgstr "{0} 등록됨"+#. placeholder {0}: activeWork.lengthmsgid "{0} running"msgstr "{0} 실행 중"@@ -89,6 +93,9 @@ msgstr "{completions}개의 통과 단위가 완료 처리될 예정입니다."msgid "{fails} sampled failure(s) are recorded and will NOT be completed — resolve them from the actions menu."msgstr "{fails}개의 샘플 불량이 기록되었으며 완료되지 않습니다 — 작업 메뉴에서 해결하세요."+msgid "{maxSizeMB}MB limit"+msgstr "{maxSizeMB}MB 제한"+#. placeholder {0}: step.perMember.lengthmsgid "{recorded}/{0} jobs"msgstr "{recorded}/{0} 작업 지시"@@ -111,6 +118,12 @@ msgstr "로트 수락"msgid "Accept lot?"msgstr "로트를 수락하시겠습니까?"+msgid "Account"+msgstr "계정"++msgid "Account settings"+msgstr "계정 설정"+msgid "Account Settings"msgstr "계정 설정"@@ -136,15 +149,24 @@ msgstr "추가 및 출고"msgid "Add a printer in the printing settings to print labels directly."msgstr "라벨을 직접 출력하려면 인쇄 설정에서 프린터를 추가하세요."+msgid "Add Authenticator App"+msgstr "인증 앱 추가"+msgid "Add Inventory"msgstr "재고 추가"+msgid "Add Passkey"+msgstr "패스키 추가"+msgid "Add Sample"msgstr "샘플 추가"msgid "Add Spare Part"msgstr "예비 부품 추가"+msgid "Added"+msgstr "추가됨"+msgid "All"msgstr "전체"@@ -179,6 +201,12 @@ msgstr "단위 할당"msgid "Appearance"msgstr "모양"+msgid "Approvals"+msgstr "승인"++msgid "Are you sure you want to delete this passkey? You won't be able to use it to sign in anymore."+msgstr "이 패스키를 삭제하시겠습니까? 더 이상 이 패스키로 로그인할 수 없습니다."+msgid "Are you sure you want to delete this step?"msgstr "이 단계를 삭제하시겠습니까?"@@ -209,18 +237,40 @@ msgstr "담당자"msgid "Authentication Error"msgstr "인증 오류"+msgid "Authenticator app"+msgstr "인증 앱"++msgid "Authenticator QR code"+msgstr "인증 QR 코드"+msgid "available"msgstr "가용"msgid "Available"msgstr "가용"+#. placeholder {0}: index + 1+msgid "Avatar option {0}"+msgstr "아바타 옵션 {0}"++msgid "Avatar style"+msgstr "아바타 스타일"++#. placeholder {0}: info.source.name+#. placeholder {1}: info.creator+#. placeholder {2}: info.license.name+msgid "Avatars from <0>{0}</0> by {1}, licensed under <1>{2}</1>."+msgstr "<0>{0}</0>의 아바타는 {1}이 만들었으며 <1>{2}</1> 라이선스로 제공됩니다."+msgid "Back"msgstr "뒤로"msgid "Back to batch"msgstr "배치로 돌아가기"+msgid "Background"+msgstr "배경"+msgid "Batch"msgstr "배치"@@ -283,6 +333,12 @@ msgstr "Carbon 로고"msgid "Cards"msgstr "카드"+msgid "Change"+msgstr "변경"++msgid "Changelog newsletter"+msgstr "변경 로그 뉴스레터"+msgid "Characteristic"msgstr "특성"@@ -301,6 +357,12 @@ msgstr "작업 지시 선택"msgid "Choose an option"msgstr "옵션을 선택하세요"+msgid "Choose avatar"+msgstr "아바타 선택"++msgid "Choose how Carbon reaches you."+msgstr "Carbon과의 소통 방식을 선택하세요."+msgid "Clear"msgstr "지우기"@@ -453,6 +515,12 @@ msgstr "기본 보관 단위"msgid "Delete"msgstr "삭제"+msgid "Delete passkey"+msgstr "패스키 삭제"++msgid "Delete Passkey"+msgstr "패스키 삭제"+msgid "Delete Step"msgstr "단계 삭제"@@ -552,12 +620,24 @@ msgstr "각 작업 지시의 산출물은 각자의 로트입니다 — 각 작msgid "Edit"msgstr "편집"+msgid "Edit Passkey"+msgstr "패스키 편집"+msgid "Elapsed"msgstr "경과 시간"+msgid "email"+msgstr "이메일"++msgid "Email"+msgstr "이메일"+msgid "Email Address"msgstr "이메일 주소"+msgid "Email notifications are not included in your company's current plan; email preferences will apply if they are enabled."+msgstr "이메일 알림은 회사의 현재 요금제에 포함되지 않습니다. 활성화되면 이메일 기본 설정이 적용됩니다."+msgid "Empty work centers"msgstr "빈 작업장"@@ -629,9 +709,15 @@ msgstr "진행 중인 공정작업을 불러오지 못했습니다"msgid "Failed to fetch storageUnits"msgstr "저장 단위를 불러오지 못했습니다"+msgid "Failed to get options"+msgstr "옵션을 불러올 수 없습니다."+msgid "Failed to record gauge"msgstr "계측기 기록 실패"+msgid "Failed to register passkey"+msgstr "패스키 등록에 실패했습니다."+msgid "Failed to save measurement"msgstr "측정값 저장 실패"@@ -677,6 +763,9 @@ msgstr "미선택 재료가 있는 상태로 완료하시겠습니까?"msgid "First due {0}"msgstr "첫 번째 기한 {0}"+msgid "First Name"+msgstr "이름"+msgid "Fit"msgstr "맞추기"@@ -741,6 +830,12 @@ msgstr "열린 메뉴에서"msgid "In Progress"msgstr "진행 중"+msgid "In-app notifications are always delivered. Choose which topics also reach you by email or Slack."+msgstr "앱 내 알림은 항상 전달됩니다. 이메일이나 Slack으로도 받을 주제를 선택하세요."++msgid "In-app notifications are always delivered. Choose which topics also reach you by email."+msgstr "앱 내 알림은 항상 전달됩니다. 이메일로도 받을 주제를 선택하세요."+msgid "Inspect Item"msgstr "항목 검사"@@ -753,6 +848,9 @@ msgstr "작업 지침"msgid "Insufficient quantity"msgstr "수량 부족"+msgid "Inventory"+msgstr "재고 관리"+msgid "Inventory adjustment completed"msgstr "재고 조정이 완료되었습니다"@@ -789,6 +887,9 @@ msgstr "품목"msgid "Item Master"msgstr "품목 마스터"+msgid "Items"+msgstr "품목"+msgid "Job"msgstr "작업"@@ -816,6 +917,12 @@ msgstr "노무"msgid "Last completed"msgstr "마지막 완료"+msgid "Last Name"+msgstr "성"++msgid "Last used"+msgstr "마지막 사용"+msgid "Learn more"msgstr "자세히 알아보기"@@ -912,6 +1019,9 @@ msgstr "유지보수 기한 초과"msgid "Make a replacement"msgstr "교체품 만들기"+msgid "Manage how you sign in to Carbon."+msgstr "Carbon 로그인 방식을 관리하세요."+msgid "Manually add items to inventory"msgstr "재고에 품목을 수동으로 추가"@@ -1070,6 +1180,9 @@ msgstr "옵션이 없습니다."msgid "No options found."msgstr "옵션이 없습니다."+msgid "No passkeys registered yet."+msgstr "등록된 패스키가 없습니다."+msgid "No picking lists assigned"msgstr "할당된 피킹 리스트가 없습니다"@@ -1142,6 +1255,9 @@ msgstr "이 작업장에 예정된 작업이 없습니다"msgid "Nothing to scrap"msgstr "스크랩할 것이 없습니다"+msgid "Notifications"+msgstr "알림"+msgid "OEE Impact"msgstr "OEE 영향"@@ -1217,6 +1333,9 @@ msgstr "옵션"msgid "or"msgstr "또는"+msgid "Or enter this secret manually:"+msgstr "또는 이 비밀을 수동으로 입력하세요:"+msgid "Out of calibration"msgstr "교정 기한 만료"@@ -1247,15 +1366,30 @@ msgstr "검사 통과"msgid "Passed Inspection"msgstr "검사 통과"+msgid "Passkey name"+msgstr "패스키 이름"+msgid "Passkey unlock failed"msgstr "패스키 잠금 해제 실패"+msgid "Passkeys"+msgstr "패스키"++msgid "Passkeys are disabled"+msgstr "패스키가 비활성화됨"+msgid "Pause"msgstr "일시 중지"msgid "Pause timer"msgstr "타이머 일시 중지"+msgid "Phone"+msgstr "전화"++msgid "Photo uploaded successfully"+msgstr "사진이 성공적으로 업로드됨"+msgid "Pick"msgstr "피킹"@@ -1263,6 +1397,9 @@ msgstr "피킹"msgid "Pick {0}"msgstr "피킹 {0}"+msgid "Pick a style and an avatar, or shuffle for new ones."+msgstr "스타일과 아바타를 선택하거나 새로운 것으로 섞으세요."+msgid "Pick tracked item"msgstr "추적 품목 선택"@@ -1350,9 +1487,18 @@ msgstr "공정 파라미터"msgid "Processes"msgstr "공정"+msgid "Profile"+msgstr "프로필"+msgid "Progress"msgstr "진행 상황"+msgid "Purchasing"+msgstr "구매"++msgid "Quality"+msgstr "품질"+msgid "Quality Issue"msgstr "품질 이슈"@@ -1368,6 +1514,9 @@ msgstr "수량은 0보다 커야 합니다"msgid "Queue empty"msgstr "대기열 비었음"+msgid "Quotes"+msgstr "견적서"+msgid "Reason for rework"msgstr "재작업 사유"@@ -1397,6 +1546,9 @@ msgstr "부분 기록"msgid "Recorded"msgstr "기록됨"+msgid "Registration failed"+msgstr "등록 실패"+msgid "Reject"msgstr "거부"@@ -1409,6 +1561,9 @@ msgstr "릴리스됨"msgid "Remove"msgstr "제거"+msgid "Remove authenticator app"+msgstr "인증 앱 제거"+msgid "Remove filter"msgstr "필터 제거"@@ -1418,15 +1573,24 @@ msgstr "재고 제거"msgid "Remove part"msgstr "품목 제거"+msgid "Remove two-factor authentication"+msgstr "2단계 인증 제거"+msgid "Rename"msgstr "이름 바꾸기"msgid "Reopen the subassembly and create a replacement unit"msgstr "서브어셈블리를 다시 열고 대체 부품을 생성하세요"+msgid "Require a 6-digit code from an authenticator app when signing in."+msgstr "로그인할 때 인증 앱에서 6자리 코드를 요구합니다."+msgid "Required"msgstr "필수"+msgid "Reset"+msgstr "재설정"+msgid "Result"msgstr "결과"@@ -1445,6 +1609,9 @@ msgstr "재작업 수량"msgid "Running"msgstr "실행 중"+msgid "Sales"+msgstr "영업"+msgid "Sales Order"msgstr "수주"@@ -1478,6 +1645,9 @@ msgstr "시리얼 번호를 스캔하거나 검색하세요..."msgid "Scan or select a tracked entity from this lot to add it as a sample column, then record its result in the grid."msgstr "이 로트에서 추적 대상을 스캔하거나 선택하여 샘플 열로 추가한 다음 그리드에 결과를 기록하세요."+msgid "Scan this QR code with your authenticator app (e.g. Google Authenticator or 1Password), then enter the 6-digit code it shows."+msgstr "인증 앱(예: Google Authenticator 또는 1Password)으로 이 QR 코드를 스캔한 후 표시되는 6자리 코드를 입력하십시오."+msgid "Schedule"msgstr "일정"@@ -1526,6 +1696,12 @@ msgstr "작업자 검색..."msgid "Search..."msgstr "검색..."+msgid "Secret copied to clipboard"+msgstr "비밀이 클립보드에 복사됨"++msgid "Security"+msgstr "보안"+msgid "Select"msgstr "선택"@@ -1616,6 +1792,9 @@ msgstr "작업을 중단한 시간을 설정하거나 계속 작업 중임을msgid "Set up in Carbon"msgstr "Carbon에서 설정하기"+msgid "Set up two-factor authentication"+msgstr "2단계 인증 설정"+msgid "Set when the batch was planned."msgstr "배치가 계획되었을 때 설정됩니다."@@ -1637,6 +1816,12 @@ msgstr "설명 표시"msgid "Show keyboard shortcuts"msgstr "키보드 바로가기 표시"+msgid "Shuffle"+msgstr "섞기"++msgid "Sign in with biometrics instead of a magic link. Passkeys are secured by Face ID, Touch ID, or your device PIN."+msgstr "매직 링크 대신 생체 인식으로 로그인하십시오. 패스키는 Face ID, Touch ID 또는 기기 PIN으로 보호됩니다."+msgid "Sign in with Google"msgstr "Google로 로그인"@@ -1658,9 +1843,15 @@ msgstr "대신 로그아웃"msgid "Signed in as {stationName}"msgstr "{stationName}(으)로 로그인됨"+msgid "Signing in will no longer require a code. Enter the current 6-digit code from your authenticator app to confirm."+msgstr "로그인 시 더 이상 코드가 필요하지 않습니다. 확인하려면 인증 앱에서 현재 6자리 코드를 입력하십시오."+msgid "Size"msgstr "사이즈"+msgid "Slack"+msgstr "Slack"+msgid "Source"msgstr "소스"@@ -1711,6 +1902,9 @@ msgstr "단계가 누락되었습니다"msgid "Storage Unit"msgstr "보관 단위"+msgid "Style default"+msgstr "기본 스타일"+msgid "Sub-Assembly"msgstr "하위 조립체"@@ -1732,12 +1926,18 @@ msgstr "익명으로 제출"msgid "Suggestion"msgstr "제안"+msgid "Suggestions"+msgstr "제안"+msgid "Support Required"msgstr "지원 필요"msgid "Switch Operator"msgstr "작업자 전환"+msgid "Synced"+msgstr "동기화됨"+msgid "System"msgstr "시스템"@@ -1778,6 +1978,9 @@ msgstr "이 항목들은 아직 선택할 재료가 있습니다. 지금 완료msgid "This batch has no work instructions."msgstr "이 배치는 작업 표준서가 없습니다."+msgid "This information will be visible to all users, so be careful what you share."+msgstr "이 정보는 모든 사용자에게 표시되므로 공유 내용을 주의하십시오."+msgid "This lot is expired and can't be picked."msgstr "로트가 만료되었으며 피킹할 수 없습니다."@@ -1836,6 +2039,12 @@ msgstr "공구"msgid "Top to Bottom"msgstr "위에서 아래로"+msgid "Topic"+msgstr "주제"++msgid "Topics"+msgstr "주제"+msgid "Total"msgstr "총계"@@ -1859,9 +2068,21 @@ msgstr "추적된 라인"msgid "Tracking"msgstr "추적"+msgid "Training"+msgstr "교육"+msgid "Two-factor authentication"msgstr "2단계 인증"+msgid "Two-factor authentication disabled"+msgstr "2단계 인증 비활성화됨"++msgid "Two-factor authentication enabled"+msgstr "2단계 인증 활성화됨"++msgid "Two-factor authentication is not enabled."+msgstr "2단계 인증이 활성화되지 않았습니다."+msgid "Two-factor authentication required"msgstr "2단계 인증 필수"@@ -1919,10 +2140,17 @@ msgstr "업데이트됨 {0}"msgid "Updated successfully"msgstr "성공적으로 업데이트되었습니다"+msgid "Upload"+msgstr "업로드"++msgid "Upload completed but no file path returned"+msgstr "업로드가 완료되었지만 파일 경로가 반환되지 않았습니다."+#. placeholder {0}: fileUpload.namemsgid "Uploaded: {0}"msgstr "업로드됨: {0}"+#. placeholder {0}: avatarFile.name#. placeholder {0}: fileUpload.namemsgid "Uploading {0}"msgstr "{0} 업로드 중"@@ -1941,6 +2169,9 @@ msgstr "사용 {0} · {1}"msgid "Value"msgstr "값"+msgid "Verification failed"+msgstr "검증 실패"+msgid "Verify"msgstr "확인"@@ -1986,6 +2217,9 @@ msgstr "아직 회사에 속하지 않은 계정입니다. Carbon ERP에서 온msgid "Your organization requires an authenticator app. Set it up in Carbon, then come back here."msgstr "조직에서 인증 앱을 요구하고 있습니다. Carbon에서 설정한 후 여기로 돌아오세요."+msgid "Your profile could not be loaded."+msgstr "프로필을 로드할 수 없었습니다."+msgid "Your session was locked after inactivity."msgstr "비활성 후 세션이 잠겼습니다."diff --git a/packages/locale/locales/pl/erp.po b/packages/locale/locales/pl/erp.poindex ec8302aa7d..7190e61ff3 100644--- a/packages/locale/locales/pl/erp.po+++ b/packages/locale/locales/pl/erp.po@@ -604,6 +604,9 @@ msgstr "{unitCount} sztuk"msgid "{unmappedRequiredCount, plural, one {Map the # remaining required account first.} other {Map the # remaining required accounts first.}}"msgstr "{unmappedRequiredCount, plural, one {Najpierw zmapuj # pozostałe wymagane konto.} other {Najpierw zmapuj # pozostałych wymaganych kont.}}"+msgid "{unread} unread"+msgstr "{unread} nieprzeczytane"+msgid "{unschedulableCount} can't be scheduled"msgstr "Nie można zaplanować {unschedulableCount}"@@ -1485,6 +1488,9 @@ msgstr "Nazwa konta"msgid "Account Number"msgstr "Numer konta"+msgid "Account settings"+msgstr "Ustawienia konta"+msgid "Account Settings"msgstr "Ustawienia konta"@@ -2205,6 +2211,9 @@ msgstr "całość produkcji {0}"msgid "All members of selected groups and selected individuals will be able to approve requests"msgstr "Wszyscy członkowie wybranych grup i wybrane osoby będą mogły zatwierdzać żądania"+msgid "All modules"+msgstr "Wszystkie moduły"+msgid "All open jobs"msgstr "Wszystkie otwarte zlecenia produkcyjne"@@ -3547,6 +3556,9 @@ msgstr "Oczekuje na zatwierdzenie"msgid "Back"msgstr "Wstecz"+msgid "Back to menu"+msgstr "Wróć do menu"+msgid "Back to traceability"msgstr "Powrót do identyfikowalności"@@ -4558,6 +4570,9 @@ msgstr "Wybierz inny plik"msgid "Choose avatar"msgstr "Wybierz awatar"+msgid "Choose how Carbon reaches you."+msgstr "Wybierz, jak Carbon Cię osiąga."+msgid "Choose how to add lines to this return."msgstr "Wybierz sposób dodania pozycji do tego zwrotu."@@ -4687,6 +4702,9 @@ msgstr "Data zamknięcia"msgid "Close Date"msgstr "Data zamknięcia"+msgid "Close menu"+msgstr "Zamknij menu"+msgid "Close Period"msgstr "Zamknij Okres"@@ -9581,6 +9599,12 @@ msgstr "Sprawozdania finansowe"msgid "Financing"msgstr "Finansowanie"+msgid "Find company…"+msgstr "Znajdź firmę…"++msgid "Find module…"+msgstr "Znajdź moduł…"+msgid "finish"msgstr "Wyroby gotowe"@@ -12297,6 +12321,9 @@ msgstr "Zarządzaj wymaganiami uwierzytelniania i logowania dla twojej firmy."msgid "Manage how shelf life is tracked, computed, and enforced across inventory."msgstr "Zarządzaj sposobem śledzenia, obliczania i egzekwowania okresu przydatności w całym magazynie."+msgid "Manage how you sign in to Carbon."+msgstr "Zarządzaj sposobem logowania do Carbon."+msgid "Manage Ownership"msgstr "Zarządzaj własnością"@@ -12619,6 +12646,9 @@ msgstr "Data memorandum"msgid "Memo ID"msgstr "ID Notatki"+msgid "Menu"+msgstr "Menu"+msgid "Merchant"msgstr "Handlowiec"@@ -13598,6 +13628,9 @@ msgstr "Brak ścieżki wolnej od kolizji"msgid "No comments yet. Be the first to add a comment."msgstr "Brak komentarzy. Bądź pierwszy i dodaj komentarz."+msgid "No companies found"+msgstr "Nie znaleziono firm"+msgid "No companies match \"{query}\""msgstr "Brak firm pasujących do \"{query}\""@@ -13841,6 +13874,9 @@ msgstr "Brak materiałów"msgid "No materials yet"msgstr "Brak materiałów na razie"+msgid "No modules found"+msgstr "Nie znaleziono modułów"+msgid "No new notifications"msgstr "Brak nowych powiadomień"@@ -20104,6 +20140,9 @@ msgstr "Ruch zapasów poprawiony"msgid "Stock size — e.g. sheet thickness or bar diameter"msgstr "Wymiar zapasu — np. grubość arkusza lub średnica pręta"+msgid "Stock Transfer"+msgstr "Przesunięcie zapasu"+msgid "Stock Transfer ID"msgstr "Identyfikator Transferu Zapasów"@@ -20614,6 +20653,9 @@ msgstr "Wyłącz moduł, aby go usunąć wszędzie: Wymagania, Dane, Szkolenie,msgid "Switch company"msgstr "Zmień firmę"+msgid "Switch module"+msgstr "Zmień moduł"+msgid "Switch to pan mode"msgstr "Przełącz na tryb panoramy"@@ -22044,6 +22086,9 @@ msgstr "To nie ma żadnego wpływu do momentu weryfikacji domeny e-mail poniżejmsgid "This information will be used on document headers"msgstr "Te informacje będą używane w nagłówkach dokumentów"+msgid "This information will be visible to all users, so be careful what you share."+msgstr "Te informacje będą widoczne dla wszystkich użytkowników, więc uważaj co udostępniasz."+msgid "this inspection plan"msgstr "ten plan kontroli"@@ -22560,6 +22605,9 @@ msgstr "Klasyfikacja najwyższego poziomu (aktywa / pasywa / kapitał własny /msgid "Topic"msgstr "Temat"+msgid "Topics"+msgstr "Tematy"+msgid "Total"msgstr "Razem"@@ -24712,6 +24760,9 @@ msgstr "Twoje numery części"msgid "Your part numbers and the item master behind them"msgstr "Twoje numery części i główny katalog pozycji za nimi"+msgid "Your profile could not be loaded."+msgstr "Nie udało się załadować profilu."+msgid "Your project end to end: the plan, the gates, and go-live"msgstr "Twój projekt od początku do końca: plan, bramy i wdrożenie"diff --git a/packages/locale/locales/pl/mes.po b/packages/locale/locales/pl/mes.poindex 15ef77e304..6c73a41402 100644--- a/packages/locale/locales/pl/mes.po+++ b/packages/locale/locales/pl/mes.po@@ -67,6 +67,10 @@ msgstr "{0} z {1} ukończonych"msgid "{0} queued"msgstr "{0} w kolejce"+#. placeholder {0}: result.credentialName ?? "Passkey"+msgid "{0} registered"+msgstr "{0} zarejestrowano"+#. placeholder {0}: activeWork.lengthmsgid "{0} running"msgstr "{0} w trakcie"@@ -89,6 +93,9 @@ msgstr "{completions} zaliczonych sztuk będzie zakończone."msgid "{fails} sampled failure(s) are recorded and will NOT be completed — resolve them from the actions menu."msgstr "{fails} zarejestrowanych niepowodzeń będzie NIEUKOŃCZONYCH — rozwiąż je z menu akcji."+msgid "{maxSizeMB}MB limit"+msgstr "limit {maxSizeMB}MB"+#. placeholder {0}: step.perMember.lengthmsgid "{recorded}/{0} jobs"msgstr "{recorded}/{0} zleceń produkcyjnych"@@ -111,6 +118,12 @@ msgstr "Zaakceptuj partię"msgid "Accept lot?"msgstr "Zaakceptuj partię?"+msgid "Account"+msgstr "Konto"++msgid "Account settings"+msgstr "Ustawienia konta"+msgid "Account Settings"msgstr "Ustawienia konta"@@ -136,15 +149,24 @@ msgstr "Dodaj i wydaj"msgid "Add a printer in the printing settings to print labels directly."msgstr "Dodaj drukarkę w ustawieniach drukowania, aby drukować etykiety bezpośrednio."+msgid "Add Authenticator App"+msgstr "Dodaj aplikację uwierzytelniającą"+msgid "Add Inventory"msgstr "Dodaj zapasy"+msgid "Add Passkey"+msgstr "Dodaj klucz dostępu"+msgid "Add Sample"msgstr "Dodaj próbkę"msgid "Add Spare Part"msgstr "Dodaj część zamienną"+msgid "Added"+msgstr "Dodano"+msgid "All"msgstr "Wszystkie"@@ -179,6 +201,12 @@ msgstr "Przydziel jednostki"msgid "Appearance"msgstr "Wygląd"+msgid "Approvals"+msgstr "Zatwierdzenia"++msgid "Are you sure you want to delete this passkey? You won't be able to use it to sign in anymore."+msgstr "Czy na pewno chcesz usunąć ten klucz dostępu? Nie będziesz już mógł go używać do logowania."+msgid "Are you sure you want to delete this step?"msgstr "Czy na pewno chcesz usunąć ten krok?"@@ -209,18 +237,40 @@ msgstr "Osoba przypisana"msgid "Authentication Error"msgstr "Błąd uwierzytelniania"+msgid "Authenticator app"+msgstr "Aplikacja uwierzytelniająca"++msgid "Authenticator QR code"+msgstr "Kod QR uwierzytelniającego"+msgid "available"msgstr "dostępne"msgid "Available"msgstr "Dostępne"+#. placeholder {0}: index + 1+msgid "Avatar option {0}"+msgstr "Opcja awatara {0}"++msgid "Avatar style"+msgstr "Styl awatara"++#. placeholder {0}: info.source.name+#. placeholder {1}: info.creator+#. placeholder {2}: info.license.name+msgid "Avatars from <0>{0}</0> by {1}, licensed under <1>{2}</1>."+msgstr "Awatary z <0>{0}</0> autorstwa {1}, licencjonowane na warunkach <1>{2}</1>."+msgid "Back"msgstr "Wstecz"msgid "Back to batch"msgstr "Powrót do partii produkcyjnej"+msgid "Background"+msgstr "Tło"+msgid "Batch"msgstr "Partia"@@ -283,6 +333,12 @@ msgstr "Logo Carbon"msgid "Cards"msgstr "Karty"+msgid "Change"+msgstr "Zmień"++msgid "Changelog newsletter"+msgstr "Newsletter zmian"+msgid "Characteristic"msgstr "Cecha"@@ -301,6 +357,12 @@ msgstr "Wybierz zlecenie produkcyjne"msgid "Choose an option"msgstr "Wybierz opcję"+msgid "Choose avatar"+msgstr "Wybierz awatara"++msgid "Choose how Carbon reaches you."+msgstr "Wybierz, jak Carbon się z tobą komunikuje."+msgid "Clear"msgstr "Wyczyść"@@ -453,6 +515,12 @@ msgstr "Domyślna jednostka magazynowa"msgid "Delete"msgstr "Usuń"+msgid "Delete passkey"+msgstr "Usuń klucz dostępu"++msgid "Delete Passkey"+msgstr "Usuń klucz dostępu"+msgid "Delete Step"msgstr "Usuń krok"@@ -552,12 +620,24 @@ msgstr "Wynik każdego zlecenia produkcyjnego to jego własna partia — trzymajmsgid "Edit"msgstr "Edytuj"+msgid "Edit Passkey"+msgstr "Edytuj klucz dostępu"+msgid "Elapsed"msgstr "Minęło"+msgid "email"+msgstr "e-mail"++msgid "Email"+msgstr "E-mail"+msgid "Email Address"msgstr "Adres e-mail"+msgid "Email notifications are not included in your company's current plan; email preferences will apply if they are enabled."+msgstr "Powiadomienia e-mail nie są dostępne w obecnym planie Twojej firmy. Preferencje e-mail będą stosowane, jeśli będą włączone."+msgid "Empty work centers"msgstr "Puste stanowiska robocze"@@ -629,9 +709,15 @@ msgstr "Nie udało się pobrać aktywnych operacji"msgid "Failed to fetch storageUnits"msgstr "Nie udało się pobrać jednostek magazynowych"+msgid "Failed to get options"+msgstr "Nie udało się pobrać opcji"+msgid "Failed to record gauge"msgstr "Nie udało się zarejestrować przyrządu pomiarowego"+msgid "Failed to register passkey"+msgstr "Nie udało się zarejestrować klucza dostępu"+msgid "Failed to save measurement"msgstr "Nie udało się zapisać pomiaru"@@ -677,6 +763,9 @@ msgstr "Zakończyć bez wybranego materiału?"msgid "First due {0}"msgstr "Pierwszy termin {0}"+msgid "First Name"+msgstr "Imię"+msgid "Fit"msgstr "Dopasuj"@@ -741,6 +830,12 @@ msgstr "W otwartym menu"msgid "In Progress"msgstr "W toku"+msgid "In-app notifications are always delivered. Choose which topics also reach you by email or Slack."+msgstr "Powiadomienia w aplikacji są zawsze dostarczone. Wybierz, które tematy będą również wysyłane pocztą e-mail lub Slack."++msgid "In-app notifications are always delivered. Choose which topics also reach you by email."+msgstr "Powiadomienia w aplikacji są zawsze dostarczone. Wybierz, które tematy będą również wysyłane pocztą e-mail."+msgid "Inspect Item"msgstr "Zbadaj artykuł"@@ -753,6 +848,9 @@ msgstr "Instrukcje"msgid "Insufficient quantity"msgstr "Niewystarczająca ilość"+msgid "Inventory"+msgstr "Zapasy"+msgid "Inventory adjustment completed"msgstr "Korekta zapasów zakończona"@@ -789,6 +887,9 @@ msgstr "Pozycja"msgid "Item Master"msgstr "Kartoteka pozycji"+msgid "Items"+msgstr "Artykuły"+msgid "Job"msgstr "Zlecenie"@@ -816,6 +917,12 @@ msgstr "Robocizna"msgid "Last completed"msgstr "Ostatnio ukończono"+msgid "Last Name"+msgstr "Nazwisko"++msgid "Last used"+msgstr "Ostatnio użyte"+msgid "Learn more"msgstr "Dowiedz się więcej"@@ -912,6 +1019,9 @@ msgstr "Utrzymanie ruchu po terminie"msgid "Make a replacement"msgstr "Utwórz zamiennik"+msgid "Manage how you sign in to Carbon."+msgstr "Zarządzaj sposobem logowania się do Carbon."+msgid "Manually add items to inventory"msgstr "Ręcznie dodaj pozycje do zapasów"@@ -1070,6 +1180,9 @@ msgstr "Nie znaleziono opcji."msgid "No options found."msgstr "Nie znaleziono opcji."+msgid "No passkeys registered yet."+msgstr "Nie zarejestrowano żadnych kluczy dostępu jeszcze."+msgid "No picking lists assigned"msgstr "Brak przydzielonych list kompletacyjnych"@@ -1142,6 +1255,9 @@ msgstr "Nic nie zaplanowano na tym stanowisku roboczym"msgid "Nothing to scrap"msgstr "Nic do braków"+msgid "Notifications"+msgstr "Powiadomienia"+msgid "OEE Impact"msgstr "Wpływ na OEE"@@ -1217,6 +1333,9 @@ msgstr "Opcje"msgid "or"msgstr "lub"+msgid "Or enter this secret manually:"+msgstr "Lub wpisz ten sekret ręcznie:"+msgid "Out of calibration"msgstr "Poza wzorcowaniem"@@ -1247,15 +1366,30 @@ msgstr "Zaliczono kontrolę"msgid "Passed Inspection"msgstr "Zaliczona kontrola"+msgid "Passkey name"+msgstr "Nazwa klucza dostępu"+msgid "Passkey unlock failed"msgstr "Nieudane odblokowanie klucza dostępu"+msgid "Passkeys"+msgstr "Klucze dostępu"++msgid "Passkeys are disabled"+msgstr "Klucze dostępu są wyłączone"+msgid "Pause"msgstr "Wstrzymaj"msgid "Pause timer"msgstr "Wstrzymaj minutnik"+msgid "Phone"+msgstr "Telefon"++msgid "Photo uploaded successfully"+msgstr "Zdjęcie przesłane pomyślnie"+msgid "Pick"msgstr "Pobierz"@@ -1263,6 +1397,9 @@ msgstr "Pobierz"msgid "Pick {0}"msgstr "Pobierz {0}"+msgid "Pick a style and an avatar, or shuffle for new ones."+msgstr "Wybierz styl i awatar, lub tasuj, aby otrzymać nowe."+msgid "Pick tracked item"msgstr "Wybierz śledzony element"@@ -1350,9 +1487,18 @@ msgstr "Parametry procesu"msgid "Processes"msgstr "Procesy"+msgid "Profile"+msgstr "Profil"+msgid "Progress"msgstr "Postęp"+msgid "Purchasing"+msgstr "Zakupy"++msgid "Quality"+msgstr "Jakość"+msgid "Quality Issue"msgstr "Problem z jakością"@@ -1368,6 +1514,9 @@ msgstr "Ilość musi być większa od 0"msgid "Queue empty"msgstr "Kolejka pusta"+msgid "Quotes"+msgstr "Oferty"+msgid "Reason for rework"msgstr "Przyczyna poprawki"@@ -1397,6 +1546,9 @@ msgstr "Zapisz częściowo"msgid "Recorded"msgstr "Zaraportowano"+msgid "Registration failed"+msgstr "Rejestracja nie powiodła się"+msgid "Reject"msgstr "Odrzuć"@@ -1409,6 +1561,9 @@ msgstr "Zwolniono"msgid "Remove"msgstr "Usuń"+msgid "Remove authenticator app"+msgstr "Usuń aplikację uwierzytelniającą"+msgid "Remove filter"msgstr "Usuń filtr"@@ -1418,15 +1573,24 @@ msgstr "Usuń zapasy"msgid "Remove part"msgstr "Usuń część"+msgid "Remove two-factor authentication"+msgstr "Usuń uwierzytelnianie dwuskładnikowe"+msgid "Rename"msgstr "Zmień nazwę"msgid "Reopen the subassembly and create a replacement unit"msgstr "Ponownie otwórz podzespół i utwórz zastępczą jednostkę"+msgid "Require a 6-digit code from an authenticator app when signing in."+msgstr "Wymaga 6-cyfrowego kodu z aplikacji uwierzytelniającej podczas logowania."+msgid "Required"msgstr "Wymagane"+msgid "Reset"+msgstr "Zresetuj"+msgid "Result"msgstr "Wynik"@@ -1445,6 +1609,9 @@ msgstr "Ilość do poprawki"msgid "Running"msgstr "W trakcie"+msgid "Sales"+msgstr "Sprzedaż"+msgid "Sales Order"msgstr "Zamówienie sprzedaży"@@ -1478,6 +1645,9 @@ msgstr "Skanuj lub wyszukaj numer seryjny..."msgid "Scan or select a tracked entity from this lot to add it as a sample column, then record its result in the grid."msgstr "Skanuj lub wybierz jednostkę śledzoną z tej partii, aby dodać ją jako kolumnę próby, a następnie zapisz jej wynik w siatce."+msgid "Scan this QR code with your authenticator app (e.g. Google Authenticator or 1Password), then enter the 6-digit code it shows."+msgstr "Skanuj ten kod QR aplikacją uwierzytelniającą (np. Google Authenticator lub 1Password), a następnie wprowadź 6-cyfrowy kod, który wyświetla."+msgid "Schedule"msgstr "Harmonogram"@@ -1526,6 +1696,12 @@ msgstr "Szukaj operatorów..."msgid "Search..."msgstr "Szukaj..."+msgid "Secret copied to clipboard"+msgstr "Sekret skopiowany do schowka"++msgid "Security"+msgstr "Bezpieczeństwo"+msgid "Select"msgstr "Wybierz"@@ -1616,6 +1792,9 @@ msgstr "Ustaw czas, w którym przestałeś pracować, lub potwierdź, że nadalmsgid "Set up in Carbon"msgstr "Skonfiguruj w aplikacji Carbon"+msgid "Set up two-factor authentication"+msgstr "Skonfiguruj uwierzytelnianie dwuskładnikowe"+msgid "Set when the batch was planned."msgstr "Ustawiono, gdy partia produkcyjna została zaplanowana."@@ -1637,6 +1816,12 @@ msgstr "Pokaż opis"msgid "Show keyboard shortcuts"msgstr "Pokaż skróty klawiaturowe"+msgid "Shuffle"+msgstr "Tasuj"++msgid "Sign in with biometrics instead of a magic link. Passkeys are secured by Face ID, Touch ID, or your device PIN."+msgstr "Zaloguj się za pomocą biometrii zamiast magicznego linku. Klucze dostępu są chronione za pomocą Face ID, Touch ID lub PIN urządzenia."+msgid "Sign in with Google"msgstr "Zaloguj się przez Google"@@ -1658,9 +1843,15 @@ msgstr "Zamiast tego wyloguj się"msgid "Signed in as {stationName}"msgstr "Zalogowany jako {stationName}"+msgid "Signing in will no longer require a code. Enter the current 6-digit code from your authenticator app to confirm."+msgstr "Logowanie nie będzie już wymagać kodu. Wprowadź aktualny 6-cyfrowy kod z aplikacji uwierzytelniającej, aby potwierdzić."+msgid "Size"msgstr "Rozmiar"+msgid "Slack"+msgstr "Slack"+msgid "Source"msgstr "Źródło"@@ -1711,6 +1902,9 @@ msgstr "Brakuje kroków"msgid "Storage Unit"msgstr "Jednostka magazynowa"+msgid "Style default"+msgstr "Domyślny styl"+msgid "Sub-Assembly"msgstr "Podzestawienie"@@ -1732,12 +1926,18 @@ msgstr "Prześlij anonimowo"msgid "Suggestion"msgstr "Propozycja"+msgid "Suggestions"+msgstr "Propozycje"+msgid "Support Required"msgstr "Wymagane wsparcie"msgid "Switch Operator"msgstr "Zmień operatora"+msgid "Synced"+msgstr "Zsynchronizowano"+msgid "System"msgstr "System"@@ -1778,6 +1978,9 @@ msgstr "Te pozycje mają jeszcze materiał do wybrania. Zakończenie teraz oznacmsgid "This batch has no work instructions."msgstr "Ta partia produkcyjna nie ma instrukcji roboczych."+msgid "This information will be visible to all users, so be careful what you share."+msgstr "Te informacje będą widoczne dla wszystkich użytkowników, więc uważaj, co udostępniasz."+msgid "This lot is expired and can't be picked."msgstr "Ta partia wygasła i nie można jej pobrać."@@ -1836,6 +2039,12 @@ msgstr "Narzędzia"msgid "Top to Bottom"msgstr "Od góry do dołu"+msgid "Topic"+msgstr "Temat"++msgid "Topics"+msgstr "Tematy"+msgid "Total"msgstr "Suma"@@ -1859,9 +2068,21 @@ msgstr "śledzone pozycje"msgid "Tracking"msgstr "Śledzenie"+msgid "Training"+msgstr "Szkolenie"+msgid "Two-factor authentication"msgstr "Uwierzytelnianie dwuskładnikowe"+msgid "Two-factor authentication disabled"+msgstr "Uwierzytelnianie dwuskładnikowe wyłączone"++msgid "Two-factor authentication enabled"+msgstr "Uwierzytelnianie dwuskładnikowe włączone"++msgid "Two-factor authentication is not enabled."+msgstr "Uwierzytelnianie dwuskładnikowe nie jest włączone."+msgid "Two-factor authentication required"msgstr "Wymagane uwierzytelnianie dwuskładnikowe"@@ -1919,10 +2140,17 @@ msgstr "Zaktualizowano {0}"msgid "Updated successfully"msgstr "Zaktualizowano pomyślnie"+msgid "Upload"+msgstr "Prześlij plik"++msgid "Upload completed but no file path returned"+msgstr "Przesłanie zakończone, ale nie zwrócona ścieżka pliku"+#. placeholder {0}: fileUpload.namemsgid "Uploaded: {0}"msgstr "Przesłano: {0}"+#. placeholder {0}: avatarFile.name#. placeholder {0}: fileUpload.namemsgid "Uploading {0}"msgstr "Przesyłanie {0}"@@ -1941,6 +2169,9 @@ msgstr "Używa {0} · {1}"msgid "Value"msgstr "Wartość"+msgid "Verification failed"+msgstr "Weryfikacja nie powiodła się"+msgid "Verify"msgstr "Zweryfikuj"@@ -1986,6 +2217,9 @@ msgstr "Twoje konto nie należy jeszcze do żadnej firmy. Ukończ wdrażanie w Cmsgid "Your organization requires an authenticator app. Set it up in Carbon, then come back here."msgstr "Twoja organizacja wymaga aplikacji uwierzytelniającej. Skonfiguruj ją w aplikacji Carbon, a następnie wróć tutaj."+msgid "Your profile could not be loaded."+msgstr "Twój profil nie mógł zostać załadowany."+msgid "Your session was locked after inactivity."msgstr "Twoja sesja została zablokowana z powodu nieaktywności."diff --git a/packages/locale/locales/pt/erp.po b/packages/locale/locales/pt/erp.poindex e8d1d07d2a..acbf018188 100644--- a/packages/locale/locales/pt/erp.po+++ b/packages/locale/locales/pt/erp.po@@ -604,6 +604,9 @@ msgstr "{unitCount} unidades"msgid "{unmappedRequiredCount, plural, one {Map the # remaining required account first.} other {Map the # remaining required accounts first.}}"msgstr "{unmappedRequiredCount, plural, one {Mapeie primeiro a # conta obrigatória restante.} other {Mapeie primeiro as # contas obrigatórias restantes.}}"+msgid "{unread} unread"+msgstr "{unread} não lido"+msgid "{unschedulableCount} can't be scheduled"msgstr "{unschedulableCount} não podem ser programadas"@@ -1485,6 +1488,9 @@ msgstr "Nome da Conta"msgid "Account Number"msgstr "Número da Conta"+msgid "Account settings"+msgstr "Configurações de Conta"+msgid "Account Settings"msgstr "Configurações da Conta"@@ -2205,6 +2211,9 @@ msgstr "toda Fabricação {0}"msgid "All members of selected groups and selected individuals will be able to approve requests"msgstr "Todos os membros dos grupos selecionados e indivíduos selecionados poderão aprovar solicitações"+msgid "All modules"+msgstr "Todos os módulos"+msgid "All open jobs"msgstr "Todas as Ordens de produção abertas"@@ -3547,6 +3556,9 @@ msgstr "Aguardando aprovação"msgid "Back"msgstr "Voltar"+msgid "Back to menu"+msgstr "Voltar ao menu"+msgid "Back to traceability"msgstr "Voltar para rastreabilidade"@@ -4558,6 +4570,9 @@ msgstr "Escolher outro arquivo"msgid "Choose avatar"msgstr "Escolher avatar"+msgid "Choose how Carbon reaches you."+msgstr "Escolha como o Carbon entra em contato com você."+msgid "Choose how to add lines to this return."msgstr "Escolha como adicionar linhas a esta devolução."@@ -4687,6 +4702,9 @@ msgstr "Data de fechamento"msgid "Close Date"msgstr "Data de Encerramento"+msgid "Close menu"+msgstr "Fechar menu"+msgid "Close Period"msgstr "Fechar Período"@@ -9581,6 +9599,12 @@ msgstr "Demonstrações Financeiras"msgid "Financing"msgstr "Financiamento"+msgid "Find company…"+msgstr "Encontrar empresa…"++msgid "Find module…"+msgstr "Encontrar módulo…"+msgid "finish"msgstr "Produtos acabados"@@ -12297,6 +12321,9 @@ msgstr "Gerencie autenticação e requisitos de login para sua empresa."msgid "Manage how shelf life is tracked, computed, and enforced across inventory."msgstr "Gerenciar como a vida de prateleira é rastreada, calculada e aplicada no inventário."+msgid "Manage how you sign in to Carbon."+msgstr "Gerencie como você entra no Carbon."+msgid "Manage Ownership"msgstr "Gerenciar Propriedade"@@ -12619,6 +12646,9 @@ msgstr "Data do Memorando"msgid "Memo ID"msgstr "ID do Memorando"+msgid "Menu"+msgstr "Menu"+msgid "Merchant"msgstr "Comerciante"@@ -13598,6 +13628,9 @@ msgstr "Nenhum caminho livre de colisão"msgid "No comments yet. Be the first to add a comment."msgstr "Sem comentários ainda. Seja o primeiro a adicionar um comentário."+msgid "No companies found"+msgstr "Nenhuma empresa encontrada"+msgid "No companies match \"{query}\""msgstr "Nenhuma empresa corresponde a \"{query}\""@@ -13841,6 +13874,9 @@ msgstr "Sem materiais"msgid "No materials yet"msgstr "Sem materiais ainda"+msgid "No modules found"+msgstr "Nenhum módulo encontrado"+msgid "No new notifications"msgstr "Sem notificações novas"@@ -20104,6 +20140,9 @@ msgstr "Movimento de estoque corrigido"msgid "Stock size — e.g. sheet thickness or bar diameter"msgstr "Tamanho do estoque — ex. espessura da chapa ou diâmetro da barra"+msgid "Stock Transfer"+msgstr "Transferência de Estoque"+msgid "Stock Transfer ID"msgstr "ID de Transferência de Estoque"@@ -20614,6 +20653,9 @@ msgstr "Desative um módulo para removê-lo em todos os lugares: Requisitos, Dadmsgid "Switch company"msgstr "Mudar empresa"+msgid "Switch module"+msgstr "Mudar de módulo"+msgid "Switch to pan mode"msgstr "Mudar para modo pan"@@ -22044,6 +22086,9 @@ msgstr "Isto não tem efeito até que um domínio de email seja verificado abaixmsgid "This information will be used on document headers"msgstr "Esta informação será usada nos cabeçalhos de documentos"+msgid "This information will be visible to all users, so be careful what you share."+msgstr "Estas informações serão visíveis para todos os usuários, portanto, tenha cuidado com o que você compartilha."+msgid "this inspection plan"msgstr "este plano de inspeção"@@ -22560,6 +22605,9 @@ msgstr "Classificação de nível superior (ativo / passivo / patrimônio líquimsgid "Topic"msgstr "Tópico"+msgid "Topics"+msgstr "Tópicos"+msgid "Total"msgstr "Total"@@ -24712,6 +24760,9 @@ msgstr "Os seus números de peça"msgid "Your part numbers and the item master behind them"msgstr "Seus números de peça e o mestre de itens por trás deles"+msgid "Your profile could not be loaded."+msgstr "Não foi possível carregar seu perfil."+msgid "Your project end to end: the plan, the gates, and go-live"msgstr "Seu projeto do início ao fim: o plano, os gates e o go-live"diff --git a/packages/locale/locales/pt/mes.po b/packages/locale/locales/pt/mes.poindex d99836f1ce..034905b0bc 100644--- a/packages/locale/locales/pt/mes.po+++ b/packages/locale/locales/pt/mes.po@@ -67,6 +67,10 @@ msgstr "{0} de {1} concluído(s)"msgid "{0} queued"msgstr "{0} na fila"+#. placeholder {0}: result.credentialName ?? "Passkey"+msgid "{0} registered"+msgstr "{0} registrado"+#. placeholder {0}: activeWork.lengthmsgid "{0} running"msgstr "{0} em execução"@@ -89,6 +93,9 @@ msgstr "{completions} unidade(s) aprovada(s) será(ão) concluída(s)."msgid "{fails} sampled failure(s) are recorded and will NOT be completed — resolve them from the actions menu."msgstr "{fails} falha(s) amostrada(s) registrada(s) e NÃO será(ão) concluída(s) — resolva-as no menu de ações."+msgid "{maxSizeMB}MB limit"+msgstr "limite de {maxSizeMB}MB"+#. placeholder {0}: step.perMember.lengthmsgid "{recorded}/{0} jobs"msgstr "{recorded}/{0} ordens de produção"@@ -111,6 +118,12 @@ msgstr "Aceitar Lote"msgid "Accept lot?"msgstr "Aceitar lote?"+msgid "Account"+msgstr "Conta"++msgid "Account settings"+msgstr "Configurações da conta"+msgid "Account Settings"msgstr "Configurações da Conta"@@ -136,15 +149,24 @@ msgstr "Adicionar e Emitir"msgid "Add a printer in the printing settings to print labels directly."msgstr "Adicione uma impressora nas configurações de impressão para imprimir etiquetas diretamente."+msgid "Add Authenticator App"+msgstr "Adicionar aplicativo autenticador"+msgid "Add Inventory"msgstr "Adicionar Estoque"+msgid "Add Passkey"+msgstr "Adicionar chave de acesso"+msgid "Add Sample"msgstr "Adicionar Amostra"msgid "Add Spare Part"msgstr "Adicionar peça de reposição"+msgid "Added"+msgstr "Adicionado"+msgid "All"msgstr "Todos"@@ -179,6 +201,12 @@ msgstr "Alocar unidades"msgid "Appearance"msgstr "Aparência"+msgid "Approvals"+msgstr "Aprovações"++msgid "Are you sure you want to delete this passkey? You won't be able to use it to sign in anymore."+msgstr "Tem certeza que deseja excluir esta chave de acesso? Você não conseguirá usá-la para entrar mais."+msgid "Are you sure you want to delete this step?"msgstr "Tem certeza de que deseja excluir esta etapa?"@@ -209,18 +237,40 @@ msgstr "Designado"msgid "Authentication Error"msgstr "Erro de Autenticação"+msgid "Authenticator app"+msgstr "Aplicativo autenticador"++msgid "Authenticator QR code"+msgstr "Código QR autenticador"+msgid "available"msgstr "disponível"msgid "Available"msgstr "Disponível"+#. placeholder {0}: index + 1+msgid "Avatar option {0}"+msgstr "Opção de avatar {0}"++msgid "Avatar style"+msgstr "Estilo de avatar"++#. placeholder {0}: info.source.name+#. placeholder {1}: info.creator+#. placeholder {2}: info.license.name+msgid "Avatars from <0>{0}</0> by {1}, licensed under <1>{2}</1>."+msgstr "Avatares de <0>{0}</0> por {1}, licenciados sob <1>{2}</1>."+msgid "Back"msgstr "Voltar"msgid "Back to batch"msgstr "Voltar ao lote de produção"+msgid "Background"+msgstr "Fundo"+msgid "Batch"msgstr "Lote"@@ -283,6 +333,12 @@ msgstr "Logo Carbon"msgid "Cards"msgstr "Cartões"+msgid "Change"+msgstr "Alterar"++msgid "Changelog newsletter"+msgstr "Newsletter de alterações"+msgid "Characteristic"msgstr "Característica"@@ -301,6 +357,12 @@ msgstr "Escolha uma ordem de produção"msgid "Choose an option"msgstr "Escolha uma opção"+msgid "Choose avatar"+msgstr "Escolher avatar"++msgid "Choose how Carbon reaches you."+msgstr "Escolha como o Carbon se comunica com você."+msgid "Clear"msgstr "Limpar"@@ -453,6 +515,12 @@ msgstr "Unidade de Armazenamento Padrão"msgid "Delete"msgstr "Excluir"+msgid "Delete passkey"+msgstr "Excluir chave de acesso"++msgid "Delete Passkey"+msgstr "Excluir Chave de Acesso"+msgid "Delete Step"msgstr "Excluir Etapa"@@ -552,12 +620,24 @@ msgstr "A saída de cada ordem de produção é seu próprio lote — mantenha amsgid "Edit"msgstr "Editar"+msgid "Edit Passkey"+msgstr "Editar Chave de Acesso"+msgid "Elapsed"msgstr "Decorrido"+msgid "email"+msgstr "email"++msgid "Email"+msgstr "Email"+msgid "Email Address"msgstr "Endereço de E-mail"+msgid "Email notifications are not included in your company's current plan; email preferences will apply if they are enabled."+msgstr "As notificações por email não estão incluídas no plano atual da sua empresa; as preferências de email serão aplicadas se forem ativadas."+msgid "Empty work centers"msgstr "Centros de trabalho vazios"@@ -629,9 +709,15 @@ msgstr "Falha ao buscar operações ativas"msgid "Failed to fetch storageUnits"msgstr "Falha ao buscar unidades de armazenamento"+msgid "Failed to get options"+msgstr "Falha ao obter opções"+msgid "Failed to record gauge"msgstr "Falha ao registar instrumento de medição"+msgid "Failed to register passkey"+msgstr "Falha ao registrar chave de acesso"+msgid "Failed to save measurement"msgstr "Falha ao salvar medição"@@ -677,6 +763,9 @@ msgstr "Finalizar com material não selecionado?"msgid "First due {0}"msgstr "Primeiro prazo {0}"+msgid "First Name"+msgstr "Primeiro Nome"+msgid "Fit"msgstr "Encaixar"@@ -741,6 +830,12 @@ msgstr "Em um menu aberto"msgid "In Progress"msgstr "Em Andamento"+msgid "In-app notifications are always delivered. Choose which topics also reach you by email or Slack."+msgstr "As notificações no aplicativo são sempre entregues. Escolha quais tópicos também o alcançam por email ou Slack."++msgid "In-app notifications are always delivered. Choose which topics also reach you by email."+msgstr "As notificações no aplicativo são sempre entregues. Escolha quais tópicos também o alcançam por email."+msgid "Inspect Item"msgstr "Inspecionar Item"@@ -753,6 +848,9 @@ msgstr "Instruções"msgid "Insufficient quantity"msgstr "Quantidade insuficiente"+msgid "Inventory"+msgstr "Inventário"+msgid "Inventory adjustment completed"msgstr "Ajuste de estoque concluído"@@ -789,6 +887,9 @@ msgstr "Item"msgid "Item Master"msgstr "Cadastro de Item"+msgid "Items"+msgstr "Itens"+msgid "Job"msgstr "Ordem"@@ -816,6 +917,12 @@ msgstr "Mão de Obra"msgid "Last completed"msgstr "Última conclusão"+msgid "Last Name"+msgstr "Sobrenome"++msgid "Last used"+msgstr "Último uso"+msgid "Learn more"msgstr "Saiba mais"@@ -912,6 +1019,9 @@ msgstr "Manutenção atrasada"msgid "Make a replacement"msgstr "Fazer uma substituição"+msgid "Manage how you sign in to Carbon."+msgstr "Gerencie como você entra no Carbon."+msgid "Manually add items to inventory"msgstr "Adicionar itens ao estoque manualmente"@@ -1070,6 +1180,9 @@ msgstr "Nenhuma opção encontrada."msgid "No options found."msgstr "Nenhuma opção encontrada."+msgid "No passkeys registered yet."+msgstr "Nenhuma chave de acesso registrada ainda."+msgid "No picking lists assigned"msgstr "Nenhuma lista de separação atribuída"@@ -1142,6 +1255,9 @@ msgstr "Nada agendado neste centro de trabalho"msgid "Nothing to scrap"msgstr "Nada para refugar"+msgid "Notifications"+msgstr "Notificações"+msgid "OEE Impact"msgstr "Impacto OEE"@@ -1217,6 +1333,9 @@ msgstr "Opções"msgid "or"msgstr "ou"+msgid "Or enter this secret manually:"+msgstr "Ou digite este segredo manualmente:"+msgid "Out of calibration"msgstr "Fora de calibração"@@ -1247,15 +1366,30 @@ msgstr "Aprovado na inspeção"msgid "Passed Inspection"msgstr "Aprovado na Inspeção"+msgid "Passkey name"+msgstr "Nome da chave de acesso"+msgid "Passkey unlock failed"msgstr "Falha ao desbloquear com chave de acesso"+msgid "Passkeys"+msgstr "Chaves de acesso"++msgid "Passkeys are disabled"+msgstr "Chaves de acesso desativadas"+msgid "Pause"msgstr "Pausar"msgid "Pause timer"msgstr "Pausar cronômetro"+msgid "Phone"+msgstr "Telefone"++msgid "Photo uploaded successfully"+msgstr "Foto enviada com sucesso"+msgid "Pick"msgstr "Apanhar"@@ -1263,6 +1397,9 @@ msgstr "Apanhar"msgid "Pick {0}"msgstr "Separar {0}"+msgid "Pick a style and an avatar, or shuffle for new ones."+msgstr "Escolha um estilo e um avatar, ou embaralhe para novos."+msgid "Pick tracked item"msgstr "Selecionar item rastreado"@@ -1350,9 +1487,18 @@ msgstr "Parâmetros do Processo"msgid "Processes"msgstr "Processos"+msgid "Profile"+msgstr "Perfil"+msgid "Progress"msgstr "Progresso"+msgid "Purchasing"+msgstr "Compras"++msgid "Quality"+msgstr "Qualidade"+msgid "Quality Issue"msgstr "Problema de Qualidade"@@ -1368,6 +1514,9 @@ msgstr "Quantidade deve ser maior que 0"msgid "Queue empty"msgstr "Fila vazia"+msgid "Quotes"+msgstr "Orçamentos"+msgid "Reason for rework"msgstr "Motivo da retrabalhação"@@ -1397,6 +1546,9 @@ msgstr "Registrar Parcial"msgid "Recorded"msgstr "Registrado"+msgid "Registration failed"+msgstr "Falha no registro"+msgid "Reject"msgstr "Rejeitar"@@ -1409,6 +1561,9 @@ msgstr "Liberado"msgid "Remove"msgstr "Remover"+msgid "Remove authenticator app"+msgstr "Remover aplicativo autenticador"+msgid "Remove filter"msgstr "Remover filtro"@@ -1418,15 +1573,24 @@ msgstr "Remover Estoque"msgid "Remove part"msgstr "Remover peça"+msgid "Remove two-factor authentication"+msgstr "Remover autenticação de dois fatores"+msgid "Rename"msgstr "Renomear"msgid "Reopen the subassembly and create a replacement unit"msgstr "Reabrir o subconjunto e criar uma unidade de substituição"+msgid "Require a 6-digit code from an authenticator app when signing in."+msgstr "Exigir um código de 6 dígitos de um aplicativo autenticador ao fazer login."+msgid "Required"msgstr "Obrigatório"+msgid "Reset"+msgstr "Redefinir"+msgid "Result"msgstr "Resultado"@@ -1445,6 +1609,9 @@ msgstr "Quantidade de retrabalho"msgid "Running"msgstr "Em execução"+msgid "Sales"+msgstr "Vendas"+msgid "Sales Order"msgstr "Pedido de Venda"@@ -1478,6 +1645,9 @@ msgstr "Escanear ou pesquisar número de série..."msgid "Scan or select a tracked entity from this lot to add it as a sample column, then record its result in the grid."msgstr "Escanear ou selecionar uma entidade rastreada deste lote para adicioná-la como coluna de amostra, depois registrar seu resultado na grade."+msgid "Scan this QR code with your authenticator app (e.g. Google Authenticator or 1Password), then enter the 6-digit code it shows."+msgstr "Escaneie este código QR com seu aplicativo autenticador (por exemplo, Google Authenticator ou 1Password) e digite o código de 6 dígitos que ele exibe."+msgid "Schedule"msgstr "Cronograma"@@ -1526,6 +1696,12 @@ msgstr "Pesquisar operadores..."msgid "Search..."msgstr "Pesquisar..."+msgid "Secret copied to clipboard"+msgstr "Segredo copiado para a área de transferência"++msgid "Security"+msgstr "Segurança"+msgid "Select"msgstr "Selecionar"@@ -1616,6 +1792,9 @@ msgstr "Defina a hora em que parou de trabalhar ou confirme que ainda está trabmsgid "Set up in Carbon"msgstr "Configurar no Carbon"+msgid "Set up two-factor authentication"+msgstr "Configurar autenticação de dois fatores"+msgid "Set when the batch was planned."msgstr "Definido quando o lote de produção é planejado."@@ -1637,6 +1816,12 @@ msgstr "Mostrar descrição"msgid "Show keyboard shortcuts"msgstr "Mostrar atalhos de teclado"+msgid "Shuffle"+msgstr "Embaralhar"++msgid "Sign in with biometrics instead of a magic link. Passkeys are secured by Face ID, Touch ID, or your device PIN."+msgstr "Faça login com dados biométricos em vez de um link mágico. Chaves de acesso são protegidas por Face ID, Touch ID ou seu PIN do dispositivo."+msgid "Sign in with Google"msgstr "Entrar com Google"@@ -1658,9 +1843,15 @@ msgstr "Sair da sessão em vez disso"msgid "Signed in as {stationName}"msgstr "Conectado como {stationName}"+msgid "Signing in will no longer require a code. Enter the current 6-digit code from your authenticator app to confirm."+msgstr "O login não exigirá mais um código. Digite o código de 6 dígitos atual do seu aplicativo autenticador para confirmar."+msgid "Size"msgstr "Tamanho"+msgid "Slack"+msgstr "Slack"+msgid "Source"msgstr "Origem"@@ -1711,6 +1902,9 @@ msgstr "Etapas ausentes"msgid "Storage Unit"msgstr "Unidade de Armazenamento"+msgid "Style default"+msgstr "Estilo padrão"+msgid "Sub-Assembly"msgstr "Sub-montagem"@@ -1732,12 +1926,18 @@ msgstr "Enviar anonimamente"msgid "Suggestion"msgstr "Sugestão"+msgid "Suggestions"+msgstr "Sugestões"+msgid "Support Required"msgstr "Suporte Necessário"msgid "Switch Operator"msgstr "Trocar Operador"+msgid "Synced"+msgstr "Sincronizado"+msgid "System"msgstr "Sistema"@@ -1778,6 +1978,9 @@ msgstr "Estes itens ainda têm material para selecionar. Finalizar agora marca amsgid "This batch has no work instructions."msgstr "Este lote de produção não possui instruções de trabalho."+msgid "This information will be visible to all users, so be careful what you share."+msgstr "Essas informações serão visíveis para todos os usuários, portanto, tenha cuidado com o que você compartilha."+msgid "This lot is expired and can't be picked."msgstr "Este lote está vencido e não pode ser separado."@@ -1836,6 +2039,12 @@ msgstr "Ferramentas"msgid "Top to Bottom"msgstr "De Cima para Baixo"+msgid "Topic"+msgstr "Tópico"++msgid "Topics"+msgstr "Tópicos"+msgid "Total"msgstr "Total"@@ -1859,9 +2068,21 @@ msgstr "linhas rastreadas"msgid "Tracking"msgstr "Rastreamento"+msgid "Training"+msgstr "Treinamento"+msgid "Two-factor authentication"msgstr "Autenticação de dois fatores"+msgid "Two-factor authentication disabled"+msgstr "Autenticação de dois fatores desativada"++msgid "Two-factor authentication enabled"+msgstr "Autenticação de dois fatores ativada"++msgid "Two-factor authentication is not enabled."+msgstr "A autenticação de dois fatores não está ativada."+msgid "Two-factor authentication required"msgstr "Autenticação de dois fatores obrigatória"@@ -1919,10 +2140,17 @@ msgstr "Atualizado {0}"msgid "Updated successfully"msgstr "Atualizado com sucesso"+msgid "Upload"+msgstr "Enviar arquivo"++msgid "Upload completed but no file path returned"+msgstr "Envio de arquivo concluído, mas nenhum caminho de arquivo foi retornado"+#. placeholder {0}: fileUpload.namemsgid "Uploaded: {0}"msgstr "Enviado: {0}"+#. placeholder {0}: avatarFile.name#. placeholder {0}: fileUpload.namemsgid "Uploading {0}"msgstr "Enviando {0}"@@ -1941,6 +2169,9 @@ msgstr "Usa {0} · {1}"msgid "Value"msgstr "Valor"+msgid "Verification failed"+msgstr "Falha na verificação"+msgid "Verify"msgstr "Verificar"@@ -1986,6 +2217,9 @@ msgstr "Sua conta ainda não faz parte de uma empresa. Conclua o onboarding no Cmsgid "Your organization requires an authenticator app. Set it up in Carbon, then come back here."msgstr "Sua organização requer um aplicativo autenticador. Configure-o no Carbon e retorne aqui."+msgid "Your profile could not be loaded."+msgstr "Seu perfil não pôde ser carregado."+msgid "Your session was locked after inactivity."msgstr "Sua sessão foi bloqueada após inatividade."diff --git a/packages/locale/locales/ru/erp.po b/packages/locale/locales/ru/erp.poindex fe5ba1b137..1a50a8d5e6 100644--- a/packages/locale/locales/ru/erp.po+++ b/packages/locale/locales/ru/erp.po@@ -604,6 +604,9 @@ msgstr "{unitCount} единиц"msgid "{unmappedRequiredCount, plural, one {Map the # remaining required account first.} other {Map the # remaining required accounts first.}}"msgstr "{unmappedRequiredCount, plural, one {Сначала сопоставьте # оставшийся требуемый счет.} other {Сначала сопоставьте # оставшиеся требуемые счета.}}"+msgid "{unread} unread"+msgstr "{unread} непрочитанных"+msgid "{unschedulableCount} can't be scheduled"msgstr "{unschedulableCount} не может быть спланировано"@@ -1485,6 +1488,9 @@ msgstr "Название счета"msgid "Account Number"msgstr "Номер счета"+msgid "Account settings"+msgstr "Настройки учётной записи"+msgid "Account Settings"msgstr "Настройки учёта"@@ -2205,6 +2211,9 @@ msgstr "все производят {0}"msgid "All members of selected groups and selected individuals will be able to approve requests"msgstr "Все члены выбранных групп и выбранные лица смогут утвердить запросы"+msgid "All modules"+msgstr "Все модули"+msgid "All open jobs"msgstr "Все открытые производственные заказы"@@ -3547,6 +3556,9 @@ msgstr "Ожидает утверждения"msgid "Back"msgstr "Назад"+msgid "Back to menu"+msgstr "Вернуться в меню"+msgid "Back to traceability"msgstr "Вернуться к прослеживаемости"@@ -4558,6 +4570,9 @@ msgstr "Выбрать другой файл"msgid "Choose avatar"msgstr "Выбрать аватар"+msgid "Choose how Carbon reaches you."+msgstr "Выберите способ, как Carbon связывается с вами."+msgid "Choose how to add lines to this return."msgstr "Выберите, как добавить строки в этот возврат."@@ -4687,6 +4702,9 @@ msgstr "Дата закрытия"msgid "Close Date"msgstr "Дата закрытия"+msgid "Close menu"+msgstr "Закрыть меню"+msgid "Close Period"msgstr "Закрыть период"@@ -9581,6 +9599,12 @@ msgstr "Финансовые отчеты"msgid "Financing"msgstr "Финансирование"+msgid "Find company…"+msgstr "Найти организацию…"++msgid "Find module…"+msgstr "Найти модуль…"+msgid "finish"msgstr "Готовая продукция"@@ -12297,6 +12321,9 @@ msgstr "Управление требованиями аутентификациmsgid "Manage how shelf life is tracked, computed, and enforced across inventory."msgstr "Управление отслеживанием, вычислением и применением срока хранения в запасах."+msgid "Manage how you sign in to Carbon."+msgstr "Управляйте тем, как вы входите в Carbon."+msgid "Manage Ownership"msgstr "Управление правами собственности"@@ -12619,6 +12646,9 @@ msgstr "Дата меморандума"msgid "Memo ID"msgstr "ID Памятки"+msgid "Menu"+msgstr "Меню"+msgid "Merchant"msgstr "Продавец"@@ -13598,6 +13628,9 @@ msgstr "Нет пути без столкновений"msgid "No comments yet. Be the first to add a comment."msgstr "Нет комментариев. Будьте первым, кто добавит комментарий."+msgid "No companies found"+msgstr "Организации не найдены"+msgid "No companies match \"{query}\""msgstr "Нет организаций, соответствующих запросу «{query}»"@@ -13841,6 +13874,9 @@ msgstr "Нет материалов"msgid "No materials yet"msgstr "Нет материалов ещё"+msgid "No modules found"+msgstr "Модули не найдены"+msgid "No new notifications"msgstr "Нет новых уведомлений"@@ -20104,6 +20140,9 @@ msgstr "Движение запаса исправлено"msgid "Stock size — e.g. sheet thickness or bar diameter"msgstr "Размер запаса — например, толщина листа или диаметр прутка"+msgid "Stock Transfer"+msgstr "Перемещение запасов"+msgid "Stock Transfer ID"msgstr "ID передачи запасов"@@ -20614,6 +20653,9 @@ msgstr "Отключите модуль, чтобы удалить его везmsgid "Switch company"msgstr "Переключить организацию"+msgid "Switch module"+msgstr "Переключить модуль"+msgid "Switch to pan mode"msgstr "Переключиться в режим панорамы"@@ -22044,6 +22086,9 @@ msgstr "Это не вступит в силу до проверки доменmsgid "This information will be used on document headers"msgstr "Эта информация будет использована в заголовках документов"+msgid "This information will be visible to all users, so be careful what you share."+msgstr "Эта информация будет видна всем пользователям, поэтому будьте осторожны в её распространении."+msgid "this inspection plan"msgstr "этот план контроля"@@ -22560,6 +22605,9 @@ msgstr "Верхнеуровневая классификация (активы/msgid "Topic"msgstr "Тема"+msgid "Topics"+msgstr "Темы"+msgid "Total"msgstr "Итого"@@ -24712,6 +24760,9 @@ msgstr "Ваши номера деталей"msgid "Your part numbers and the item master behind them"msgstr "Ваши номера деталей и основной справочник товаров"+msgid "Your profile could not be loaded."+msgstr "Не удалось загрузить ваш профиль."+msgid "Your project end to end: the plan, the gates, and go-live"msgstr "Ваш проект от начала до конца: план, этапы и запуск"diff --git a/packages/locale/locales/ru/mes.po b/packages/locale/locales/ru/mes.poindex 145e4964ed..f455b57e83 100644--- a/packages/locale/locales/ru/mes.po+++ b/packages/locale/locales/ru/mes.po@@ -67,6 +67,10 @@ msgstr "{0} из {1} завершено"msgid "{0} queued"msgstr "{0} в очереди"+#. placeholder {0}: result.credentialName ?? "Passkey"+msgid "{0} registered"+msgstr "{0} зарегистрировано"+#. placeholder {0}: activeWork.lengthmsgid "{0} running"msgstr "{0} выполняется"@@ -89,6 +93,9 @@ msgstr "{completions} пройденных единиц будут завершmsgid "{fails} sampled failure(s) are recorded and will NOT be completed — resolve them from the actions menu."msgstr "{fails} записанных отказов будут НЕ завершены — разрешите их из меню действий."+msgid "{maxSizeMB}MB limit"+msgstr "Ограничение {maxSizeMB}МБ"+#. placeholder {0}: step.perMember.lengthmsgid "{recorded}/{0} jobs"msgstr "{recorded}/{0} производственных заказов"@@ -111,6 +118,12 @@ msgstr "Принять партию"msgid "Accept lot?"msgstr "Принять партию?"+msgid "Account"+msgstr "Учетная запись"++msgid "Account settings"+msgstr "Настройки учетной записи"+msgid "Account Settings"msgstr "Настройки аккаунта"@@ -136,15 +149,24 @@ msgstr "Добавить и выдать"msgid "Add a printer in the printing settings to print labels directly."msgstr "Добавьте принтер в настройки печати, чтобы печатать наклейки непосредственно."+msgid "Add Authenticator App"+msgstr "Добавить приложение аутентификатора"+msgid "Add Inventory"msgstr "Добавить запас"+msgid "Add Passkey"+msgstr "Добавить ключ доступа"+msgid "Add Sample"msgstr "Добавить образец"msgid "Add Spare Part"msgstr "Добавить запасную часть"+msgid "Added"+msgstr "Добавлено"+msgid "All"msgstr "Все"@@ -179,6 +201,12 @@ msgstr "Распределить единицы"msgid "Appearance"msgstr "Внешний вид"+msgid "Approvals"+msgstr "Утверждения"++msgid "Are you sure you want to delete this passkey? You won't be able to use it to sign in anymore."+msgstr "Вы уверены, что хотите удалить этот ключ доступа? Вы больше не сможете использовать его для входа."+msgid "Are you sure you want to delete this step?"msgstr "Вы уверены, что хотите удалить этот шаг?"@@ -209,18 +237,40 @@ msgstr "Исполнитель"msgid "Authentication Error"msgstr "Ошибка аутентификации"+msgid "Authenticator app"+msgstr "Приложение аутентификатора"++msgid "Authenticator QR code"+msgstr "QR-код аутентификатора"+msgid "available"msgstr "доступно"msgid "Available"msgstr "Доступно"+#. placeholder {0}: index + 1+msgid "Avatar option {0}"+msgstr "Вариант аватара {0}"++msgid "Avatar style"+msgstr "Стиль аватара"++#. placeholder {0}: info.source.name+#. placeholder {1}: info.creator+#. placeholder {2}: info.license.name+msgid "Avatars from <0>{0}</0> by {1}, licensed under <1>{2}</1>."+msgstr "Аватары из <0>{0}</0> от {1}, лицензировано под <1>{2}</1>."+msgid "Back"msgstr "Назад"msgid "Back to batch"msgstr "Вернуться к серии"+msgid "Background"+msgstr "Фон"+msgid "Batch"msgstr "Партия"@@ -283,6 +333,12 @@ msgstr "Логотип Carbon"msgid "Cards"msgstr "Карточки"+msgid "Change"+msgstr "Изменить"++msgid "Changelog newsletter"+msgstr "Рассылка журнала изменений"+msgid "Characteristic"msgstr "Характеристика"@@ -301,6 +357,12 @@ msgstr "Выбрать производственный заказ"msgid "Choose an option"msgstr "Выберите вариант"+msgid "Choose avatar"+msgstr "Выбрать аватар"++msgid "Choose how Carbon reaches you."+msgstr "Выберите, как Carbon будет вас уведомлять."+msgid "Clear"msgstr "Очистить"@@ -453,6 +515,12 @@ msgstr "Единица хранения по умолчанию"msgid "Delete"msgstr "Удалить"+msgid "Delete passkey"+msgstr "Удалить ключ доступа"++msgid "Delete Passkey"+msgstr "Удалить ключ доступа"+msgid "Delete Step"msgstr "Удалить шаг"@@ -552,12 +620,24 @@ msgstr "Выход каждого производственного заказmsgid "Edit"msgstr "Изменить"+msgid "Edit Passkey"+msgstr "Изменить ключ доступа"+msgid "Elapsed"msgstr "Прошедшее время"+msgid "email"+msgstr "электронная почта"++msgid "Email"+msgstr "Электронная почта"+msgid "Email Address"msgstr "Адрес электронной почты"+msgid "Email notifications are not included in your company's current plan; email preferences will apply if they are enabled."+msgstr "Уведомления по электронной почте не включены в текущий план вашей организации; предпочтения электронной почты будут применены, если они включены."+msgid "Empty work centers"msgstr "Пустые рабочие центры"@@ -629,9 +709,15 @@ msgstr "Не удалось загрузить активные операцииmsgid "Failed to fetch storageUnits"msgstr "Не удалось получить единицы хранения"+msgid "Failed to get options"+msgstr "Не удалось получить параметры"+msgid "Failed to record gauge"msgstr "Не удалось записать средство измерения"+msgid "Failed to register passkey"+msgstr "Не удалось зарегистрировать ключ доступа"+msgid "Failed to save measurement"msgstr "Не удалось сохранить измерение"@@ -677,6 +763,9 @@ msgstr "Завершить с неподобранным материалом?"msgid "First due {0}"msgstr "Первый срок {0}"+msgid "First Name"+msgstr "Имя"+msgid "Fit"msgstr "По размеру"@@ -741,6 +830,12 @@ msgstr "В открытом меню"msgid "In Progress"msgstr "В работе"+msgid "In-app notifications are always delivered. Choose which topics also reach you by email or Slack."+msgstr "Уведомления в приложении всегда доставляются. Выберите, какие темы также должны поступать вам по электронной почте или Slack."++msgid "In-app notifications are always delivered. Choose which topics also reach you by email."+msgstr "Уведомления в приложении всегда доставляются. Выберите, какие темы также должны поступать вам по электронной почте."+msgid "Inspect Item"msgstr "Проверить элемент"@@ -753,6 +848,9 @@ msgstr "Инструкции"msgid "Insufficient quantity"msgstr "Недостаточное количество"+msgid "Inventory"+msgstr "Запасы"+msgid "Inventory adjustment completed"msgstr "Корректировка запасов выполнена"@@ -789,6 +887,9 @@ msgstr "Номенклатура"msgid "Item Master"msgstr "Карточка номенклатуры"+msgid "Items"+msgstr "Номенклатура"+msgid "Job"msgstr "Задание"@@ -816,6 +917,12 @@ msgstr "Трудозатраты"msgid "Last completed"msgstr "Последнее завершено"+msgid "Last Name"+msgstr "Фамилия"++msgid "Last used"+msgstr "Последнее использование"+msgid "Learn more"msgstr "Узнать больше"@@ -912,6 +1019,9 @@ msgstr "Техобслуживание просрочено"msgid "Make a replacement"msgstr "Создать замену"+msgid "Manage how you sign in to Carbon."+msgstr "Управляйте способом входа в Carbon."+msgid "Manually add items to inventory"msgstr "Добавить номенклатуру на склад вручную"@@ -1070,6 +1180,9 @@ msgstr "Опция не найдена."msgid "No options found."msgstr "Варианты не найдены."+msgid "No passkeys registered yet."+msgstr "Пока нет зарегистрированных ключей доступа."+msgid "No picking lists assigned"msgstr "Листы отбора не назначены"@@ -1142,6 +1255,9 @@ msgstr "Ничего не запланировано на этом рабочеmsgid "Nothing to scrap"msgstr "Нечего браковать"+msgid "Notifications"+msgstr "Уведомления"+msgid "OEE Impact"msgstr "Влияние на OEE"@@ -1217,6 +1333,9 @@ msgstr "Параметры"msgid "or"msgstr "или"+msgid "Or enter this secret manually:"+msgstr "Или введите этот секрет вручную:"+msgid "Out of calibration"msgstr "Вне калибровки"@@ -1247,15 +1366,30 @@ msgstr "Прошла контроль"msgid "Passed Inspection"msgstr "Контроль пройден"+msgid "Passkey name"+msgstr "Название ключа доступа"+msgid "Passkey unlock failed"msgstr "Не удалось разблокировать ключ доступа"+msgid "Passkeys"+msgstr "Ключи доступа"++msgid "Passkeys are disabled"+msgstr "Ключи доступа отключены"+msgid "Pause"msgstr "Приостановить"msgid "Pause timer"msgstr "Приостановить таймер"+msgid "Phone"+msgstr "Телефон"++msgid "Photo uploaded successfully"+msgstr "Фото успешно загружено"+msgid "Pick"msgstr "Выбрать"@@ -1263,6 +1397,9 @@ msgstr "Выбрать"msgid "Pick {0}"msgstr "Отобрать {0}"+msgid "Pick a style and an avatar, or shuffle for new ones."+msgstr "Выберите стиль и аватар или перемешайте для новых."+msgid "Pick tracked item"msgstr "Выбрать отслеживаемый товар"@@ -1350,9 +1487,18 @@ msgstr "Параметры процесса"msgid "Processes"msgstr "Процессы"+msgid "Profile"+msgstr "Профиль"+msgid "Progress"msgstr "Прогресс"+msgid "Purchasing"+msgstr "Закупки"++msgid "Quality"+msgstr "Качество"+msgid "Quality Issue"msgstr "Проблема качества"@@ -1368,6 +1514,9 @@ msgstr "Количество должно быть больше 0"msgid "Queue empty"msgstr "Очередь пуста"+msgid "Quotes"+msgstr "Коммерческие предложения"+msgid "Reason for rework"msgstr "Причина доработки"@@ -1397,6 +1546,9 @@ msgstr "Записать частичный результат"msgid "Recorded"msgstr "Записано"+msgid "Registration failed"+msgstr "Регистрация не удалась"+msgid "Reject"msgstr "Отклонить"@@ -1409,6 +1561,9 @@ msgstr "Запущено"msgid "Remove"msgstr "Убрать"+msgid "Remove authenticator app"+msgstr "Убрать приложение аутентификации"+msgid "Remove filter"msgstr "Убрать фильтр"@@ -1418,15 +1573,24 @@ msgstr "Убрать запасы"msgid "Remove part"msgstr "Убрать деталь"+msgid "Remove two-factor authentication"+msgstr "Убрать двухфакторную аутентификацию"+msgid "Rename"msgstr "Переименовать"msgid "Reopen the subassembly and create a replacement unit"msgstr "Открыть заново узел и создать единицу для замены"+msgid "Require a 6-digit code from an authenticator app when signing in."+msgstr "Требуется 6-значный код из приложения аутентификации при входе."+msgid "Required"msgstr "Требуется"+msgid "Reset"+msgstr "Сбросить"+msgid "Result"msgstr "Результат"@@ -1445,6 +1609,9 @@ msgstr "Количество для доработки"msgid "Running"msgstr "Работает"+msgid "Sales"+msgstr "Продажи"+msgid "Sales Order"msgstr "Заказ покупателя"@@ -1478,6 +1645,9 @@ msgstr "Сканировать или найти серийный номер..."msgid "Scan or select a tracked entity from this lot to add it as a sample column, then record its result in the grid."msgstr "Сканировать или выбрать отслеживаемый объект из этой партии, чтобы добавить его как столбец образца, затем записать его результат в таблицу."+msgid "Scan this QR code with your authenticator app (e.g. Google Authenticator or 1Password), then enter the 6-digit code it shows."+msgstr "Отсканируйте этот QR код с помощью приложения аутентификации (например, Google Authenticator или 1Password), затем введите 6-значный код, который оно покажет."+msgid "Schedule"msgstr "Расписание"@@ -1526,6 +1696,12 @@ msgstr "Поиск операторов..."msgid "Search..."msgstr "Поиск..."+msgid "Secret copied to clipboard"+msgstr "Секрет скопирован в буфер обмена"++msgid "Security"+msgstr "Безопасность"+msgid "Select"msgstr "Выбрать"@@ -1616,6 +1792,9 @@ msgstr "Установите время окончания работы илиmsgid "Set up in Carbon"msgstr "Настроить в Carbon"+msgid "Set up two-factor authentication"+msgstr "Настроить двухфакторную аутентификацию"+msgid "Set when the batch was planned."msgstr "Установлено при планировании серии."@@ -1637,6 +1816,12 @@ msgstr "Показать описание"msgid "Show keyboard shortcuts"msgstr "Показать горячие клавиши"+msgid "Shuffle"+msgstr "Перемешать"++msgid "Sign in with biometrics instead of a magic link. Passkeys are secured by Face ID, Touch ID, or your device PIN."+msgstr "Войдите с помощью биометрии вместо волшебной ссылки. Ключи доступа защищены с помощью Face ID, Touch ID или PIN вашего устройства."+msgid "Sign in with Google"msgstr "Войти через Google"@@ -1658,9 +1843,15 @@ msgstr "Вместо этого выйдите"msgid "Signed in as {stationName}"msgstr "Вход выполнен как {stationName}"+msgid "Signing in will no longer require a code. Enter the current 6-digit code from your authenticator app to confirm."+msgstr "Вход больше не будет требовать код. Введите текущий 6-значный код из приложения аутентификации для подтверждения."+msgid "Size"msgstr "Размер"+msgid "Slack"+msgstr "Slack"+msgid "Source"msgstr "Источник"@@ -1711,6 +1902,9 @@ msgstr "Шаги не заполнены"msgid "Storage Unit"msgstr "Единица хранения"+msgid "Style default"+msgstr "Стиль по умолчанию"+msgid "Sub-Assembly"msgstr "Под-узел"@@ -1732,12 +1926,18 @@ msgstr "Отправить анонимно"msgid "Suggestion"msgstr "Предложение"+msgid "Suggestions"+msgstr "Предложения"+msgid "Support Required"msgstr "Требуется поддержка"msgid "Switch Operator"msgstr "Сменить оператора"+msgid "Synced"+msgstr "Синхронизировано"+msgid "System"msgstr "Система"@@ -1778,6 +1978,9 @@ msgstr "Эти позиции еще содержат материал для оmsgid "This batch has no work instructions."msgstr "Эта серия не имеет рабочих инструкций."+msgid "This information will be visible to all users, so be careful what you share."+msgstr "Эта информация будет видна всем пользователям, поэтому будьте осторожны с тем, что вы делитесь."+msgid "This lot is expired and can't be picked."msgstr "Срок этой партии истек, и она не может быть отобрана."@@ -1836,6 +2039,12 @@ msgstr "Инструменты"msgid "Top to Bottom"msgstr "Сверху вниз"+msgid "Topic"+msgstr "Тема"++msgid "Topics"+msgstr "Темы"+msgid "Total"msgstr "Итого"@@ -1859,9 +2068,21 @@ msgstr "отслеживаемые строки"msgid "Tracking"msgstr "Отслеживание"+msgid "Training"+msgstr "Обучение"+msgid "Two-factor authentication"msgstr "Двухфакторная аутентификация"+msgid "Two-factor authentication disabled"+msgstr "Двухфакторная аутентификация отключена"++msgid "Two-factor authentication enabled"+msgstr "Двухфакторная аутентификация включена"++msgid "Two-factor authentication is not enabled."+msgstr "Двухфакторная аутентификация не включена."+msgid "Two-factor authentication required"msgstr "Требуется двухфакторная аутентификация"@@ -1919,10 +2140,17 @@ msgstr "Обновлено {0}"msgid "Updated successfully"msgstr "Успешно обновлено"+msgid "Upload"+msgstr "Загрузить"++msgid "Upload completed but no file path returned"+msgstr "Загрузка завершена, но путь файла не возвращен"+#. placeholder {0}: fileUpload.namemsgid "Uploaded: {0}"msgstr "Загружено: {0}"+#. placeholder {0}: avatarFile.name#. placeholder {0}: fileUpload.namemsgid "Uploading {0}"msgstr "Загрузка {0}"@@ -1941,6 +2169,9 @@ msgstr "Использует {0} · {1}"msgid "Value"msgstr "Значение"+msgid "Verification failed"+msgstr "Проверка не удалась"+msgid "Verify"msgstr "Подтвердить"@@ -1986,6 +2217,9 @@ msgstr "Ваша учетная запись еще не входит ни в оmsgid "Your organization requires an authenticator app. Set it up in Carbon, then come back here."msgstr "Ваша организация требует приложения аутентификатора. Настройте его в Carbon, а затем вернитесь сюда."+msgid "Your profile could not be loaded."+msgstr "Не удалось загрузить ваш профиль."+msgid "Your session was locked after inactivity."msgstr "Ваш сеанс был заблокирован после неактивности."diff --git a/packages/locale/locales/tr/erp.po b/packages/locale/locales/tr/erp.poindex 96d9ab639a..cbae2c8dd3 100644--- a/packages/locale/locales/tr/erp.po+++ b/packages/locale/locales/tr/erp.po@@ -604,6 +604,9 @@ msgstr "{unitCount} adet"msgid "{unmappedRequiredCount, plural, one {Map the # remaining required account first.} other {Map the # remaining required accounts first.}}"msgstr "{unmappedRequiredCount, plural, one {Önce kalan # gerekli hesabı eşleyin.} other {Önce kalan # gerekli hesabı eşleyin.}}"+msgid "{unread} unread"+msgstr "{unread} okunmamış"+msgid "{unschedulableCount} can't be scheduled"msgstr "{unschedulableCount} planlanmıyor"@@ -1485,6 +1488,9 @@ msgstr "Hesap Adı"msgid "Account Number"msgstr "Hesap Numarası"+msgid "Account settings"+msgstr "Hesap ayarları"+msgid "Account Settings"msgstr "Hesap Ayarları"@@ -2205,6 +2211,9 @@ msgstr "tümü {0} üretim"msgid "All members of selected groups and selected individuals will be able to approve requests"msgstr "Seçilen gruplardaki ve bireylerdeki tüm üyeler talepleri onaylayabilecektir"+msgid "All modules"+msgstr "Tüm modüller"+msgid "All open jobs"msgstr "Tüm açık iş emirleri"@@ -3547,6 +3556,9 @@ msgstr "Onay bekliyor"msgid "Back"msgstr "Geri"+msgid "Back to menu"+msgstr "Menüye geri dön"+msgid "Back to traceability"msgstr "İzlenebilirliğe geri dön"@@ -4558,6 +4570,9 @@ msgstr "Başka bir dosya seç"msgid "Choose avatar"msgstr "Avatar seç"+msgid "Choose how Carbon reaches you."+msgstr "Carbon'un sizi nasıl bulacağını seçin."+msgid "Choose how to add lines to this return."msgstr "Bu iade için satırları nasıl ekleyeceğinizi seçin."@@ -4687,6 +4702,9 @@ msgstr "Kapanış tarihi"msgid "Close Date"msgstr "Kapatma Tarihi"+msgid "Close menu"+msgstr "Menüyü kapat"+msgid "Close Period"msgstr "Dönemi Kapat"@@ -9581,6 +9599,12 @@ msgstr "Mali Tablolar"msgid "Financing"msgstr "Finansman"+msgid "Find company…"+msgstr "Şirket ara…"++msgid "Find module…"+msgstr "Modül ara…"+msgid "finish"msgstr "Bitmiş ürünler"@@ -12297,6 +12321,9 @@ msgstr "Şirketiniz için kimlik doğrulama ve oturum açma gereksinimlerini yömsgid "Manage how shelf life is tracked, computed, and enforced across inventory."msgstr "Envanterdeki raf ömrünün nasıl izlendiğini, hesaplandığını ve uygulandığını yönetin."+msgid "Manage how you sign in to Carbon."+msgstr "Carbon'a nasıl giriş yapacağınızı yönetin."+msgid "Manage Ownership"msgstr "Sahipliği Yönet"@@ -12619,6 +12646,9 @@ msgstr "Muhasebe Tarihi"msgid "Memo ID"msgstr "Muhasebe Belgesi Kimliği"+msgid "Menu"+msgstr "Menü"+msgid "Merchant"msgstr "Satıcı"@@ -13598,6 +13628,9 @@ msgstr "Çarpışmasız bir yol yok"msgid "No comments yet. Be the first to add a comment."msgstr "Henüz yorum yok. İlk yorumu ekleyin."+msgid "No companies found"+msgstr "Şirket bulunamadı"+msgid "No companies match \"{query}\""msgstr "Hiçbir şirket \"{query}\" ile eşleşmiyor"@@ -13841,6 +13874,9 @@ msgstr "Malzeme yok"msgid "No materials yet"msgstr "Henüz malzeme yok"+msgid "No modules found"+msgstr "Modül bulunamadı"+msgid "No new notifications"msgstr "Yeni bildirim yok"@@ -20104,6 +20140,9 @@ msgstr "Stok hareketi düzeltildi"msgid "Stock size — e.g. sheet thickness or bar diameter"msgstr "Stok boyutu — örn. levha kalınlığı veya çubuk çapı"+msgid "Stock Transfer"+msgstr "Stok Transfer"+msgid "Stock Transfer ID"msgstr "Stok Transfer Kimliği"@@ -20614,6 +20653,9 @@ msgstr "Bir modülü kapatarak her yerden kaldırın: Gereklilikler, Veriler, Emsgid "Switch company"msgstr "Şirketi değiştir"+msgid "Switch module"+msgstr "Modülü değiştir"+msgid "Switch to pan mode"msgstr "Pan moduna geç"@@ -22044,6 +22086,9 @@ msgstr "Bu, aşağıda bir e-posta etki alanı doğrulanana kadar hiçbir etkisimsgid "This information will be used on document headers"msgstr "Bu bilgiler belge başlıklarında kullanılacaktır"+msgid "This information will be visible to all users, so be careful what you share."+msgstr "Bu bilgi tüm kullanıcılara görünür olacak, bu nedenle paylaştığınız şeylere dikkat edin."+msgid "this inspection plan"msgstr "bu kontrol planı"@@ -22560,6 +22605,9 @@ msgstr "Üst düzey sınıflandırma (varlık / yükümlülük / özkaynak / hasmsgid "Topic"msgstr "Konu"+msgid "Topics"+msgstr "Konular"+msgid "Total"msgstr "Toplam"@@ -24712,6 +24760,9 @@ msgstr "Parça numaralarınız"msgid "Your part numbers and the item master behind them"msgstr "Parça numaralarınız ve bunların arkasındaki madde ana kaydı"+msgid "Your profile could not be loaded."+msgstr "Profiliniz yüklenemedi."+msgid "Your project end to end: the plan, the gates, and go-live"msgstr "Projeniz baştan sona: plan, kapılar ve canlı yayına geçiş"diff --git a/packages/locale/locales/tr/mes.po b/packages/locale/locales/tr/mes.poindex 0cca6bdcf2..46875af417 100644--- a/packages/locale/locales/tr/mes.po+++ b/packages/locale/locales/tr/mes.po@@ -67,6 +67,10 @@ msgstr "{0} adet tamamlandı"msgid "{0} queued"msgstr "{0} kuyrukta"+#. placeholder {0}: result.credentialName ?? "Passkey"+msgid "{0} registered"+msgstr "{0} kaydedildi"+#. placeholder {0}: activeWork.lengthmsgid "{0} running"msgstr "{0} çalışıyor"@@ -89,6 +93,9 @@ msgstr "{completions} geçti birim(ler) tamamlanacak."msgid "{fails} sampled failure(s) are recorded and will NOT be completed — resolve them from the actions menu."msgstr "{fails} örnek hata(ları) kaydedildi ve tamamlanmayacak — bunları işlemler menüsünden çözün."+msgid "{maxSizeMB}MB limit"+msgstr "{maxSizeMB}MB sınırı"+#. placeholder {0}: step.perMember.lengthmsgid "{recorded}/{0} jobs"msgstr "{recorded}/{0} iş emirleri"@@ -111,6 +118,12 @@ msgstr "Lotu Kabul Et"msgid "Accept lot?"msgstr "Lotu kabul et?"+msgid "Account"+msgstr "Hesap"++msgid "Account settings"+msgstr "Hesap ayarları"+msgid "Account Settings"msgstr "Hesap Ayarları"@@ -136,15 +149,24 @@ msgstr "Ekle ve Çıkış Yap"msgid "Add a printer in the printing settings to print labels directly."msgstr "Etiketleri doğrudan yazdırmak için yazdırma ayarlarında bir yazıcı ekleyin."+msgid "Add Authenticator App"+msgstr "Doğrulayıcı Uygulaması Ekle"+msgid "Add Inventory"msgstr "Envantere Ekle"+msgid "Add Passkey"+msgstr "Geçiş Anahtarı Ekle"+msgid "Add Sample"msgstr "Örnek Ekle"msgid "Add Spare Part"msgstr "Yedek Parça Ekle"+msgid "Added"+msgstr "Eklendi"+msgid "All"msgstr "Tümü"@@ -179,6 +201,12 @@ msgstr "Birimleri tahsis et"msgid "Appearance"msgstr "Görünüm"+msgid "Approvals"+msgstr "Onaylar"++msgid "Are you sure you want to delete this passkey? You won't be able to use it to sign in anymore."+msgstr "Bu geçiş anahtarını silmek istediğinizden emin misiniz? Artık bununla oturum açamayacaksınız."+msgid "Are you sure you want to delete this step?"msgstr "Bu adımı silmek istediğinizden emin misiniz?"@@ -209,18 +237,40 @@ msgstr "Atanan"msgid "Authentication Error"msgstr "Kimlik Doğrulama Hatası"+msgid "Authenticator app"+msgstr "Doğrulayıcı uygulaması"++msgid "Authenticator QR code"+msgstr "Doğrulayıcı QR kodu"+msgid "available"msgstr "kullanılabilir"msgid "Available"msgstr "Kullanılabilir"+#. placeholder {0}: index + 1+msgid "Avatar option {0}"+msgstr "Avatar seçeneği {0}"++msgid "Avatar style"+msgstr "Avatar stili"++#. placeholder {0}: info.source.name+#. placeholder {1}: info.creator+#. placeholder {2}: info.license.name+msgid "Avatars from <0>{0}</0> by {1}, licensed under <1>{2}</1>."+msgstr "Avatarlar <0>{0}</0> kaynağından {1} tarafından, <1>{2}</1> lisansı altında."+msgid "Back"msgstr "Geri"msgid "Back to batch"msgstr "Partiye geri dön"+msgid "Background"+msgstr "Arka plan"+msgid "Batch"msgstr "Parti"@@ -283,6 +333,12 @@ msgstr "Carbon Logosu"msgid "Cards"msgstr "Kartlar"+msgid "Change"+msgstr "Değiştir"++msgid "Changelog newsletter"+msgstr "Değişiklik günlüğü bülteni"+msgid "Characteristic"msgstr "Özellik"@@ -301,6 +357,12 @@ msgstr "İş emri seç"msgid "Choose an option"msgstr "Bir seçenek seçin"+msgid "Choose avatar"+msgstr "Avatar seç"++msgid "Choose how Carbon reaches you."+msgstr "Carbon'un sizi nasıl ulaştığını seçin."+msgid "Clear"msgstr "Temizle"@@ -453,6 +515,12 @@ msgstr "Varsayılan Depolama Birimi"msgid "Delete"msgstr "Sil"+msgid "Delete passkey"+msgstr "Geçiş anahtarını sil"++msgid "Delete Passkey"+msgstr "Geçiş Anahtarını Sil"+msgid "Delete Step"msgstr "Adımı Sil"@@ -552,12 +620,24 @@ msgstr "Her iş emrinin çıktısı kendi Lotu — her iş emrinin parçalarınmsgid "Edit"msgstr "Düzenle"+msgid "Edit Passkey"+msgstr "Geçiş Anahtarını Düzenle"+msgid "Elapsed"msgstr "Geçen süre"+msgid "email"+msgstr "e-posta"++msgid "Email"+msgstr "E-posta"+msgid "Email Address"msgstr "E-posta Adresi"+msgid "Email notifications are not included in your company's current plan; email preferences will apply if they are enabled."+msgstr "E-posta bildirimleri şirketinizin mevcut planına dahil değildir; e-posta tercihleri etkinleştirilirse uygulanacaktır."+msgid "Empty work centers"msgstr "Boş iş merkezleri"@@ -629,9 +709,15 @@ msgstr "Aktif operasyonlar alınamadı"msgid "Failed to fetch storageUnits"msgstr "Depolama birimlerini almak başarısız oldu"+msgid "Failed to get options"+msgstr "Seçenekler alınamadı"+msgid "Failed to record gauge"msgstr "Ölçüm aleti kaydedilemedi"+msgid "Failed to register passkey"+msgstr "Geçiş anahtarı kaydedilemedi"+msgid "Failed to save measurement"msgstr "Ölçüm kaydedilemedi"@@ -677,6 +763,9 @@ msgstr "Malzeme seçilmeden bitir?"msgid "First due {0}"msgstr "İlk vade {0}"+msgid "First Name"+msgstr "Ad"+msgid "Fit"msgstr "Uydu"@@ -741,6 +830,12 @@ msgstr "Açık bir menüde"msgid "In Progress"msgstr "Devam Ediyor"+msgid "In-app notifications are always delivered. Choose which topics also reach you by email or Slack."+msgstr "Uygulama içi bildirimler her zaman teslim edilir. Hangi konuların size e-posta veya Slack aracılığıyla ulaşacağını seçin."++msgid "In-app notifications are always delivered. Choose which topics also reach you by email."+msgstr "Uygulama içi bildirimler her zaman teslim edilir. Hangi konuların size e-posta aracılığıyla ulaşacağını seçin."+msgid "Inspect Item"msgstr "Ürünü İncele"@@ -753,6 +848,9 @@ msgstr "Talimatlar"msgid "Insufficient quantity"msgstr "Yetersiz miktar"+msgid "Inventory"+msgstr "Envanter"+msgid "Inventory adjustment completed"msgstr "Stok düzeltme tamamlandı"@@ -789,6 +887,9 @@ msgstr "Ürün"msgid "Item Master"msgstr "Ürün Ana Veri"+msgid "Items"+msgstr "Stok kartları"+msgid "Job"msgstr "İş Emri"@@ -816,6 +917,12 @@ msgstr "İşçilik"msgid "Last completed"msgstr "Son olarak tamamlanan"+msgid "Last Name"+msgstr "Soyadı"++msgid "Last used"+msgstr "Son kullanılmış"+msgid "Learn more"msgstr "Daha fazla bilgi edinin"@@ -912,6 +1019,9 @@ msgstr "Bakım gecikmiş"msgid "Make a replacement"msgstr "Bir yedek oluştur"+msgid "Manage how you sign in to Carbon."+msgstr "Carbon'a nasıl oturum açacağınızı yönetin."+msgid "Manually add items to inventory"msgstr "Envantere öğeler eklemek için manuel olarak"@@ -1070,6 +1180,9 @@ msgstr "Hiç seçenek bulunamadı."msgid "No options found."msgstr "Seçenek bulunamadı."+msgid "No passkeys registered yet."+msgstr "Henüz hiçbir geçiş anahtarı kaydedilmedi."+msgid "No picking lists assigned"msgstr "Atanmış toplama listesi yok"@@ -1142,6 +1255,9 @@ msgstr "Bu iş merkezinde hiçbir şey planlanmadı"msgid "Nothing to scrap"msgstr "Fire edilecek birşey yok"+msgid "Notifications"+msgstr "Bildirimler"+msgid "OEE Impact"msgstr "OEE Etkisi"@@ -1217,6 +1333,9 @@ msgstr "Seçenekler"msgid "or"msgstr "veya"+msgid "Or enter this secret manually:"+msgstr "Ya da bu sırrı manuel olarak girin:"+msgid "Out of calibration"msgstr "Kalibrasyon dışı"@@ -1247,15 +1366,30 @@ msgstr "Muayeneden geçti"msgid "Passed Inspection"msgstr "Muayenede Geçti"+msgid "Passkey name"+msgstr "Geçiş anahtarı adı"+msgid "Passkey unlock failed"msgstr "Geçiş anahtarı ile açma başarısız"+msgid "Passkeys"+msgstr "Geçiş anahtarları"++msgid "Passkeys are disabled"+msgstr "Geçiş anahtarları devre dışı"+msgid "Pause"msgstr "Duraklat"msgid "Pause timer"msgstr "Zamanlayıcıyı Duraklat"+msgid "Phone"+msgstr "Telefon"++msgid "Photo uploaded successfully"+msgstr "Fotoğraf başarıyla yüklendi"+msgid "Pick"msgstr "Topla"@@ -1263,6 +1397,9 @@ msgstr "Topla"msgid "Pick {0}"msgstr "Toplama {0}"+msgid "Pick a style and an avatar, or shuffle for new ones."+msgstr "Bir stil ve avatar seçin, veya yenileri için karıştırın."+msgid "Pick tracked item"msgstr "Takip edilen öğeyi seç"@@ -1350,9 +1487,18 @@ msgstr "İşlem Parametreleri"msgid "Processes"msgstr "Süreçler"+msgid "Profile"+msgstr "Profil"+msgid "Progress"msgstr "İlerleme"+msgid "Purchasing"+msgstr "Satın alma"++msgid "Quality"+msgstr "Kalite"+msgid "Quality Issue"msgstr "Kalite Sorunu"@@ -1368,6 +1514,9 @@ msgstr "Miktar 0'dan büyük olmalıdır"msgid "Queue empty"msgstr "Kuyruk boş"+msgid "Quotes"+msgstr "Teklifler"+msgid "Reason for rework"msgstr "Yeniden işleme nedeni"@@ -1397,6 +1546,9 @@ msgstr "Kısmi Kaydı"msgid "Recorded"msgstr "Kaydedildi"+msgid "Registration failed"+msgstr "Kayıt başarısız"+msgid "Reject"msgstr "Reddet"@@ -1409,6 +1561,9 @@ msgstr "Serbest bırakıldı"msgid "Remove"msgstr "Kaldır"+msgid "Remove authenticator app"+msgstr "Kimlik doğrulayıcı uygulamayı kaldır"+msgid "Remove filter"msgstr "Filtreyi kaldır"@@ -1418,15 +1573,24 @@ msgstr "Envanter Kaldır"msgid "Remove part"msgstr "Parçayı kaldır"+msgid "Remove two-factor authentication"+msgstr "İki faktörlü kimlik doğrulamayı kaldır"+msgid "Rename"msgstr "Yeniden adlandır"msgid "Reopen the subassembly and create a replacement unit"msgstr "Alt montajı yeniden aç ve bir yedek birim oluştur"+msgid "Require a 6-digit code from an authenticator app when signing in."+msgstr "Oturum açarken bir kimlik doğrulayıcı uygulamadan 6 haneli bir kod iste."+msgid "Required"msgstr "Gerekli"+msgid "Reset"+msgstr "Sıfırla"+msgid "Result"msgstr "Sonuç"@@ -1445,6 +1609,9 @@ msgstr "Yeniden işleme miktarı"msgid "Running"msgstr "Çalışıyor"+msgid "Sales"+msgstr "Satış"+msgid "Sales Order"msgstr "Satış Siparişi"@@ -1478,6 +1645,9 @@ msgstr "Seri numaras tarayın veya arayın..."msgid "Scan or select a tracked entity from this lot to add it as a sample column, then record its result in the grid."msgstr "Bu lottan izlenen bir varlığı tarayın veya seçin, onu bir örnek sütunu olarak ekleyin ve sonucunu ızgarada kaydedin."+msgid "Scan this QR code with your authenticator app (e.g. Google Authenticator or 1Password), then enter the 6-digit code it shows."+msgstr "Bu QR kodunu kimlik doğrulayıcı uygulamanızla tarayın (örn. Google Authenticator veya 1Password), ardından gösterdiği 6 haneli kodu girin."+msgid "Schedule"msgstr "Planlama"@@ -1526,6 +1696,12 @@ msgstr "Operatörleri ara..."msgid "Search..."msgstr "Ara..."+msgid "Secret copied to clipboard"+msgstr "Gizli dizi panoya kopyalandı"++msgid "Security"+msgstr "Güvenlik"+msgid "Select"msgstr "Seç"@@ -1616,6 +1792,9 @@ msgstr "Çalışmayı bitirdiğiniz zamanı ayarlayın veya hala çalışmakta omsgid "Set up in Carbon"msgstr "Carbon'da ayarla"+msgid "Set up two-factor authentication"+msgstr "İki faktörlü kimlik doğrulamayı ayarla"+msgid "Set when the batch was planned."msgstr "Parti planlandığında ayarlandı."@@ -1637,6 +1816,12 @@ msgstr "Açıklamayı göster"msgid "Show keyboard shortcuts"msgstr "Klavye kısayollarını göster"+msgid "Shuffle"+msgstr "Karıştır"++msgid "Sign in with biometrics instead of a magic link. Passkeys are secured by Face ID, Touch ID, or your device PIN."+msgstr "Sihirli bir bağlantı yerine biyometrik veriler ile oturum açın. Geçiş anahtarları Face ID, Touch ID veya cihaz PIN'iniz tarafından korunur."+msgid "Sign in with Google"msgstr "Google ile giriş yap"@@ -1658,9 +1843,15 @@ msgstr "Bunun yerine oturumu kapat"msgid "Signed in as {stationName}"msgstr "Oturum açıldı olarak {stationName}"+msgid "Signing in will no longer require a code. Enter the current 6-digit code from your authenticator app to confirm."+msgstr "Oturum açma artık bir kod gerektirmeyecek. Onaylamak için kimlik doğrulayıcı uygulamanızdan geçerli 6 haneli kodu girin."+msgid "Size"msgstr "Boyut"+msgid "Slack"+msgstr "Slack"+msgid "Source"msgstr "Kaynak"@@ -1711,6 +1902,9 @@ msgstr "Adımlar eksik"msgid "Storage Unit"msgstr "Depolama Birimi"+msgid "Style default"+msgstr "Varsayılan stil"+msgid "Sub-Assembly"msgstr "Alt derleme"@@ -1732,12 +1926,18 @@ msgstr "Anonim olarak gönder"msgid "Suggestion"msgstr "Öneri"+msgid "Suggestions"+msgstr "Öneriler"+msgid "Support Required"msgstr "Destek Gerekli"msgid "Switch Operator"msgstr "Operatörü Değiştir"+msgid "Synced"+msgstr "Senkronize edildi"+msgid "System"msgstr "Sistem"@@ -1778,6 +1978,9 @@ msgstr "Bu öğelerin hala seçilecek malzemesi var. Şimdi bitirmek listeyi Kımsgid "This batch has no work instructions."msgstr "Bu partinin iş talimatı yok."+msgid "This information will be visible to all users, so be careful what you share."+msgstr "Bu bilgiler tüm kullanıcılara görünür olacak, bu nedenle paylaştığınız şeylere dikkat edin."+msgid "This lot is expired and can't be picked."msgstr "Bu lot'un süresi doldu ve toplanamaz."@@ -1836,6 +2039,12 @@ msgstr "Araçlar"msgid "Top to Bottom"msgstr "Yukarıdan Aşağıya"+msgid "Topic"+msgstr "Konu"++msgid "Topics"+msgstr "Konular"+msgid "Total"msgstr "Toplam"@@ -1859,9 +2068,21 @@ msgstr "izlenen Satırlar"msgid "Tracking"msgstr "Takip"+msgid "Training"+msgstr "Eğitim"+msgid "Two-factor authentication"msgstr "İki faktörlü kimlik doğrulama"+msgid "Two-factor authentication disabled"+msgstr "İki faktörlü kimlik doğrulama devre dışı"++msgid "Two-factor authentication enabled"+msgstr "İki faktörlü kimlik doğrulama etkinleştirildi"++msgid "Two-factor authentication is not enabled."+msgstr "İki faktörlü kimlik doğrulama etkinleştirilmedi."+msgid "Two-factor authentication required"msgstr "İki faktörlü kimlik doğrulama gerekli"@@ -1919,10 +2140,17 @@ msgstr "{0} tarihinde güncellendi"msgid "Updated successfully"msgstr "Başarıyla güncellendi"+msgid "Upload"+msgstr "Yükle"++msgid "Upload completed but no file path returned"+msgstr "Yükleme tamamlandı ancak dosya yolu döndürülmedi"+#. placeholder {0}: fileUpload.namemsgid "Uploaded: {0}"msgstr "Yüklendi: {0}"+#. placeholder {0}: avatarFile.name#. placeholder {0}: fileUpload.namemsgid "Uploading {0}"msgstr "Yükleniyor {0}"@@ -1941,6 +2169,9 @@ msgstr "Kullanan {0} · {1}"msgid "Value"msgstr "Değer"+msgid "Verification failed"+msgstr "Doğrulama başarısız"+msgid "Verify"msgstr "Doğrula"@@ -1986,6 +2217,9 @@ msgstr "Hesabınız henüz bir şirkete ait değildir. Devam etmek için Carbonmsgid "Your organization requires an authenticator app. Set it up in Carbon, then come back here."msgstr "Kuruluşunuz bir kimlik doğrulama uygulaması gerektirir. Bunu Carbon'da ayarlayın, ardından buraya geri dönün."+msgid "Your profile could not be loaded."+msgstr "Profiliniz yüklenemedi."+msgid "Your session was locked after inactivity."msgstr "Oturumunuz hareketsizlik nedeniyle kilitlendi."diff --git a/packages/locale/locales/zh/erp.po b/packages/locale/locales/zh/erp.poindex aa7f9dd649..9c43380a3e 100644--- a/packages/locale/locales/zh/erp.po+++ b/packages/locale/locales/zh/erp.po@@ -604,6 +604,9 @@ msgstr "{unitCount}件"msgid "{unmappedRequiredCount, plural, one {Map the # remaining required account first.} other {Map the # remaining required accounts first.}}"msgstr "{unmappedRequiredCount, plural, one {先映射剩余的 # 个必需账户。} other {先映射剩余的 # 个必需账户。}}"+msgid "{unread} unread"+msgstr "{unread} 条未读"+msgid "{unschedulableCount} can't be scheduled"msgstr "{unschedulableCount}无法排程"@@ -1485,6 +1488,9 @@ msgstr "账户名称"msgid "Account Number"msgstr "账户编号"+msgid "Account settings"+msgstr "账户设置"+msgid "Account Settings"msgstr "账户设置"@@ -2205,6 +2211,9 @@ msgstr "全部自制 {0}"msgid "All members of selected groups and selected individuals will be able to approve requests"msgstr "所选组的所有成员和所选个人都将能够审批请求"+msgid "All modules"+msgstr "所有模块"+msgid "All open jobs"msgstr "所有未结工单"@@ -3547,6 +3556,9 @@ msgstr "等待审批"msgid "Back"msgstr "返回"+msgid "Back to menu"+msgstr "返回菜单"+msgid "Back to traceability"msgstr "返回可追溯性"@@ -4558,6 +4570,9 @@ msgstr "选择另一个文件"msgid "Choose avatar"msgstr "选择头像"+msgid "Choose how Carbon reaches you."+msgstr "选择 Carbon 联系您的方式。"+msgid "Choose how to add lines to this return."msgstr "选择如何向此退货添加行。"@@ -4687,6 +4702,9 @@ msgstr "关闭日期"msgid "Close Date"msgstr "关闭日期"+msgid "Close menu"+msgstr "关闭菜单"+msgid "Close Period"msgstr "关闭期间"@@ -9581,6 +9599,12 @@ msgstr "财务报表"msgid "Financing"msgstr "融资"+msgid "Find company…"+msgstr "查找公司…"++msgid "Find module…"+msgstr "查找模块…"+msgid "finish"msgstr "成品"@@ -12297,6 +12321,9 @@ msgstr "管理您公司的身份验证和登录要求。"msgid "Manage how shelf life is tracked, computed, and enforced across inventory."msgstr "管理保质期在库存管理中的跟踪、计算和执行方式。"+msgid "Manage how you sign in to Carbon."+msgstr "管理您登录 Carbon 的方式。"+msgid "Manage Ownership"msgstr "管理所有权"@@ -12619,6 +12646,9 @@ msgstr "备忘录日期"msgid "Memo ID"msgstr "备忘录 ID"+msgid "Menu"+msgstr "菜单"+msgid "Merchant"msgstr "商家"@@ -13598,6 +13628,9 @@ msgstr "没有无碰撞路径"msgid "No comments yet. Be the first to add a comment."msgstr "还没有评论。成为第一个添加评论的人。"+msgid "No companies found"+msgstr "未找到公司"+msgid "No companies match \"{query}\""msgstr "没有公司与 \"{query}\" 匹配"@@ -13841,6 +13874,9 @@ msgstr "无物料"msgid "No materials yet"msgstr "暂无原材料"+msgid "No modules found"+msgstr "未找到模块"+msgid "No new notifications"msgstr "没有新通知"@@ -20104,6 +20140,9 @@ msgstr "库存移动已修正"msgid "Stock size — e.g. sheet thickness or bar diameter"msgstr "库存尺寸 — 例如 板材厚度或棒材直径"+msgid "Stock Transfer"+msgstr "库存调拨"+msgid "Stock Transfer ID"msgstr "库存转移ID"@@ -20614,6 +20653,9 @@ msgstr "关闭一个模块以从所有位置移除它:要求、数据、培训msgid "Switch company"msgstr "切换公司"+msgid "Switch module"+msgstr "切换模块"+msgid "Switch to pan mode"msgstr "切换到平移模式"@@ -22044,6 +22086,9 @@ msgstr "在下面验证电子邮件域之前,这不会产生任何影响。"msgid "This information will be used on document headers"msgstr "此信息将用于文件标题"+msgid "This information will be visible to all users, so be careful what you share."+msgstr "此信息将对所有用户可见,请谨慎分享。"+msgid "this inspection plan"msgstr "这个检验计划"@@ -22560,6 +22605,9 @@ msgstr "顶级分类(资产/负债/所有者权益/收入/费用);仅在msgid "Topic"msgstr "主题"+msgid "Topics"+msgstr "主题"+msgid "Total"msgstr "总计"@@ -24715,6 +24763,9 @@ msgstr "您的零件编号"msgid "Your part numbers and the item master behind them"msgstr "您的零件编号和背后的物料主数据"+msgid "Your profile could not be loaded."+msgstr "无法加载您的个人资料。"+msgid "Your project end to end: the plan, the gates, and go-live"msgstr "您的项目端到端:计划、关卡和上线"diff --git a/packages/locale/locales/zh/mes.po b/packages/locale/locales/zh/mes.poindex 09fba974da..c60e69e702 100644--- a/packages/locale/locales/zh/mes.po+++ b/packages/locale/locales/zh/mes.po@@ -67,6 +67,10 @@ msgstr "{0} / {1} 已完成"msgid "{0} queued"msgstr "{0} 排队中"+#. placeholder {0}: result.credentialName ?? "Passkey"+msgid "{0} registered"+msgstr "{0} 已登记"+#. placeholder {0}: activeWork.lengthmsgid "{0} running"msgstr "运行中 {0} 个"@@ -89,6 +93,9 @@ msgstr "{completions} 个已通过的件将被完成。"msgid "{fails} sampled failure(s) are recorded and will NOT be completed — resolve them from the actions menu."msgstr "{fails} 个抽样不合格已被记录,将不会被完成 — 从操作菜单解决它们。"+msgid "{maxSizeMB}MB limit"+msgstr "{maxSizeMB}MB 限制"+#. placeholder {0}: step.perMember.lengthmsgid "{recorded}/{0} jobs"msgstr "{recorded}/{0} 个工单"@@ -111,6 +118,12 @@ msgstr "接受批次"msgid "Accept lot?"msgstr "接受批次?"+msgid "Account"+msgstr "账户"++msgid "Account settings"+msgstr "账户设置"+msgid "Account Settings"msgstr "账户设置"@@ -136,15 +149,24 @@ msgstr "添加并发放"msgid "Add a printer in the printing settings to print labels directly."msgstr "在打印设置中添加打印机以直接打印标签。"+msgid "Add Authenticator App"+msgstr "添加身份验证应用"+msgid "Add Inventory"msgstr "添加库存管理"+msgid "Add Passkey"+msgstr "添加通行密钥"+msgid "Add Sample"msgstr "添加样本"msgid "Add Spare Part"msgstr "添加备件"+msgid "Added"+msgstr "已添加"+msgid "All"msgstr "全部"@@ -179,6 +201,12 @@ msgstr "分配单位"msgid "Appearance"msgstr "外观"+msgid "Approvals"+msgstr "审批"++msgid "Are you sure you want to delete this passkey? You won't be able to use it to sign in anymore."+msgstr "您确定要删除此通行密钥吗?删除后您将无法使用它登录。"+msgid "Are you sure you want to delete this step?"msgstr "确定要删除此步骤吗?"@@ -209,18 +237,40 @@ msgstr "经办人"msgid "Authentication Error"msgstr "认证错误"+msgid "Authenticator app"+msgstr "身份验证应用"++msgid "Authenticator QR code"+msgstr "身份验证 QR 码"+msgid "available"msgstr "可用"msgid "Available"msgstr "可用"+#. placeholder {0}: index + 1+msgid "Avatar option {0}"+msgstr "头像选项 {0}"++msgid "Avatar style"+msgstr "头像样式"++#. placeholder {0}: info.source.name+#. placeholder {1}: info.creator+#. placeholder {2}: info.license.name+msgid "Avatars from <0>{0}</0> by {1}, licensed under <1>{2}</1>."+msgstr "头像来自 <0>{0}</0>,由 {1} 创建,许可证为 <1>{2}</1>。"+msgid "Back"msgstr "返回"msgid "Back to batch"msgstr "返回生产批次"+msgid "Background"+msgstr "背景"+msgid "Batch"msgstr "批次"@@ -283,6 +333,12 @@ msgstr "Carbon 标志"msgid "Cards"msgstr "卡片"+msgid "Change"+msgstr "更改"++msgid "Changelog newsletter"+msgstr "更新日志通讯"+msgid "Characteristic"msgstr "特性"@@ -301,6 +357,12 @@ msgstr "选择工单"msgid "Choose an option"msgstr "选择一个选项"+msgid "Choose avatar"+msgstr "选择头像"++msgid "Choose how Carbon reaches you."+msgstr "选择 Carbon 如何与您联系。"+msgid "Clear"msgstr "清除"@@ -453,6 +515,12 @@ msgstr "默认存储单元"msgid "Delete"msgstr "删除"+msgid "Delete passkey"+msgstr "删除通行密钥"++msgid "Delete Passkey"+msgstr "删除通行密钥"+msgid "Delete Step"msgstr "删除步骤"@@ -552,12 +620,24 @@ msgstr "每个工单的产出是其自己的批次 — 保持每个工单的零msgid "Edit"msgstr "编辑"+msgid "Edit Passkey"+msgstr "编辑通行密钥"+msgid "Elapsed"msgstr "已用时长"+msgid "email"+msgstr "电子邮件"++msgid "Email"+msgstr "电子邮件"+msgid "Email Address"msgstr "电子邮件地址"+msgid "Email notifications are not included in your company's current plan; email preferences will apply if they are enabled."+msgstr "电子邮件通知不包括在您公司的当前计划中;如果启用,电子邮件偏好设置将适用。"+msgid "Empty work centers"msgstr "空的工作中心"@@ -629,9 +709,15 @@ msgstr "获取活跃工序失败"msgid "Failed to fetch storageUnits"msgstr "获取存储单位失败"+msgid "Failed to get options"+msgstr "获取选项失败"+msgid "Failed to record gauge"msgstr "无法记录量具"+msgid "Failed to register passkey"+msgstr "注册通行密钥失败"+msgid "Failed to save measurement"msgstr "无法保存测量"@@ -677,6 +763,9 @@ msgstr "物料未拣货的情况下要完成吗?"msgid "First due {0}"msgstr "最早应交期 {0}"+msgid "First Name"+msgstr "名字"+msgid "Fit"msgstr "自适应"@@ -741,6 +830,12 @@ msgstr "在打开的菜单中"msgid "In Progress"msgstr "进行中"+msgid "In-app notifications are always delivered. Choose which topics also reach you by email or Slack."+msgstr "应用内通知始终会发送。选择哪些主题还会通过电子邮件或 Slack 发送给您。"++msgid "In-app notifications are always delivered. Choose which topics also reach you by email."+msgstr "应用内通知始终会发送。选择哪些主题还会通过电子邮件发送给您。"+msgid "Inspect Item"msgstr "检验物品"@@ -753,6 +848,9 @@ msgstr "作业指导"msgid "Insufficient quantity"msgstr "数量不足"+msgid "Inventory"+msgstr "库存管理"+msgid "Inventory adjustment completed"msgstr "库存调整已完成"@@ -789,6 +887,9 @@ msgstr "物料"msgid "Item Master"msgstr "物料主数据"+msgid "Items"+msgstr "物料"+msgid "Job"msgstr "工单"@@ -816,6 +917,12 @@ msgstr "人工"msgid "Last completed"msgstr "最后完成"+msgid "Last Name"+msgstr "姓氏"++msgid "Last used"+msgstr "最后使用"+msgid "Learn more"msgstr "了解更多"@@ -912,6 +1019,9 @@ msgstr "维护已逾期"msgid "Make a replacement"msgstr "制作替换件"+msgid "Manage how you sign in to Carbon."+msgstr "管理您如何登录 Carbon。"+msgid "Manually add items to inventory"msgstr "手动添加物料至库存管理"@@ -1070,6 +1180,9 @@ msgstr "未找到选项。"msgid "No options found."msgstr "未找到选项。"+msgid "No passkeys registered yet."+msgstr "还未注册任何通行密钥。"+msgid "No picking lists assigned"msgstr "没有分配的拣货单"@@ -1142,6 +1255,9 @@ msgstr "该工作中心没有计划任务"msgid "Nothing to scrap"msgstr "没有需要报废的"+msgid "Notifications"+msgstr "通知"+msgid "OEE Impact"msgstr "OEE 影响"@@ -1217,6 +1333,9 @@ msgstr "选项"msgid "or"msgstr "或"+msgid "Or enter this secret manually:"+msgstr "或手动输入此密钥:"+msgid "Out of calibration"msgstr "需要校准"@@ -1247,15 +1366,30 @@ msgstr "已通过检验"msgid "Passed Inspection"msgstr "已通过检验"+msgid "Passkey name"+msgstr "通行密钥名称"+msgid "Passkey unlock failed"msgstr "通行密钥解锁失败"+msgid "Passkeys"+msgstr "通行密钥"++msgid "Passkeys are disabled"+msgstr "通行密钥已禁用"+msgid "Pause"msgstr "暂停"msgid "Pause timer"msgstr "暂停计时器"+msgid "Phone"+msgstr "电话"++msgid "Photo uploaded successfully"+msgstr "照片上传成功"+msgid "Pick"msgstr "拣货"@@ -1263,6 +1397,9 @@ msgstr "拣货"msgid "Pick {0}"msgstr "拣货 {0}"+msgid "Pick a style and an avatar, or shuffle for new ones."+msgstr "选择一个风格和头像,或者随机生成新的。"+msgid "Pick tracked item"msgstr "拣货追踪物料"@@ -1350,9 +1487,18 @@ msgstr "工艺参数"msgid "Processes"msgstr "工艺"+msgid "Profile"+msgstr "个人资料"+msgid "Progress"msgstr "进度"+msgid "Purchasing"+msgstr "采购"++msgid "Quality"+msgstr "质量"+msgid "Quality Issue"msgstr "质量问题"@@ -1368,6 +1514,9 @@ msgstr "数量必须大于 0"msgid "Queue empty"msgstr "队列为空"+msgid "Quotes"+msgstr "报价单"+msgid "Reason for rework"msgstr "返工原因"@@ -1397,6 +1546,9 @@ msgstr "记录部分"msgid "Recorded"msgstr "已记录"+msgid "Registration failed"+msgstr "注册失败"+msgid "Reject"msgstr "拒绝"@@ -1409,6 +1561,9 @@ msgstr "已下达"msgid "Remove"msgstr "移除"+msgid "Remove authenticator app"+msgstr "移除身份验证应用"+msgid "Remove filter"msgstr "移除筛选"@@ -1418,15 +1573,24 @@ msgstr "移除库存管理"msgid "Remove part"msgstr "移除零件"+msgid "Remove two-factor authentication"+msgstr "移除双因素认证"+msgid "Rename"msgstr "重命名"msgid "Reopen the subassembly and create a replacement unit"msgstr "重新打开子装配件并创建替代件"+msgid "Require a 6-digit code from an authenticator app when signing in."+msgstr "登录时需要输入身份验证应用中的6位数代码。"+msgid "Required"msgstr "必填"+msgid "Reset"+msgstr "重置"+msgid "Result"msgstr "结果"@@ -1445,6 +1609,9 @@ msgstr "返工数量"msgid "Running"msgstr "运行中"+msgid "Sales"+msgstr "销售"+msgid "Sales Order"msgstr "销售订单"@@ -1478,6 +1645,9 @@ msgstr "扫码或搜索序列号..."msgid "Scan or select a tracked entity from this lot to add it as a sample column, then record its result in the grid."msgstr "从此批次中扫码或选择追踪实体并将其添加为样本列,然后在网格中记录其结果。"+msgid "Scan this QR code with your authenticator app (e.g. Google Authenticator or 1Password), then enter the 6-digit code it shows."+msgstr "使用身份验证应用(如 Google Authenticator 或 1Password)扫码此 QR 代码,然后输入它显示的6位数代码。"+msgid "Schedule"msgstr "排程"@@ -1526,6 +1696,12 @@ msgstr "搜索操作员..."msgid "Search..."msgstr "搜索..."+msgid "Secret copied to clipboard"+msgstr "密钥已复制到剪贴板"++msgid "Security"+msgstr "安全"+msgid "Select"msgstr "选择"@@ -1616,6 +1792,9 @@ msgstr "设置您停止工作的时间,或确认您仍在工作。"msgid "Set up in Carbon"msgstr "在 Carbon 中设置"+msgid "Set up two-factor authentication"+msgstr "设置双因素认证"+msgid "Set when the batch was planned."msgstr "在规划生产批次时设置。"@@ -1637,6 +1816,12 @@ msgstr "显示描述"msgid "Show keyboard shortcuts"msgstr "显示键盘快捷键"+msgid "Shuffle"+msgstr "随机生成"++msgid "Sign in with biometrics instead of a magic link. Passkeys are secured by Face ID, Touch ID, or your device PIN."+msgstr "使用生物识别功能而非魔法链接登录。通行密钥由 Face ID、Touch ID 或设备 PIN 保护。"+msgid "Sign in with Google"msgstr "使用 Google 登录"@@ -1658,9 +1843,15 @@ msgstr "改为登出"msgid "Signed in as {stationName}"msgstr "已登录为 {stationName}"+msgid "Signing in will no longer require a code. Enter the current 6-digit code from your authenticator app to confirm."+msgstr "登录将不再需要代码。输入身份验证应用中的当前6位数代码以确认。"+msgid "Size"msgstr "大小"+msgid "Slack"+msgstr "Slack"+msgid "Source"msgstr "来源"@@ -1711,6 +1902,9 @@ msgstr "缺少步骤"msgid "Storage Unit"msgstr "存储单元"+msgid "Style default"+msgstr "默认风格"+msgid "Sub-Assembly"msgstr "子装配体"@@ -1732,12 +1926,18 @@ msgstr "匿名提交"msgid "Suggestion"msgstr "建议"+msgid "Suggestions"+msgstr "建议"+msgid "Support Required"msgstr "需要支持"msgid "Switch Operator"msgstr "切换操作员"+msgid "Synced"+msgstr "已同步"+msgid "System"msgstr "系统"@@ -1778,6 +1978,9 @@ msgstr "这些物料仍有原材料需要拣货。现在完成将标记列表为msgid "This batch has no work instructions."msgstr "此生产批次没有作业指导书。"+msgid "This information will be visible to all users, so be careful what you share."+msgstr "此信息将对所有用户可见,请谨慎分享。"+msgid "This lot is expired and can't be picked."msgstr "此批次已过期,无法拣货。"@@ -1836,6 +2039,12 @@ msgstr "工具"msgid "Top to Bottom"msgstr "从上到下"+msgid "Topic"+msgstr "话题"++msgid "Topics"+msgstr "话题"+msgid "Total"msgstr "总计"@@ -1859,9 +2068,21 @@ msgstr "已跟踪行"msgid "Tracking"msgstr "追踪"+msgid "Training"+msgstr "培训"+msgid "Two-factor authentication"msgstr "双因素认证"+msgid "Two-factor authentication disabled"+msgstr "双因素认证已禁用"++msgid "Two-factor authentication enabled"+msgstr "双因素认证已启用"++msgid "Two-factor authentication is not enabled."+msgstr "双因素认证未启用。"+msgid "Two-factor authentication required"msgstr "需要双因素认证"@@ -1919,10 +2140,17 @@ msgstr "更新于 {0}"msgid "Updated successfully"msgstr "更新成功"+msgid "Upload"+msgstr "上传"++msgid "Upload completed but no file path returned"+msgstr "上传完成但未返回文件路径"+#. placeholder {0}: fileUpload.namemsgid "Uploaded: {0}"msgstr "已上传:{0}"+#. placeholder {0}: avatarFile.name#. placeholder {0}: fileUpload.namemsgid "Uploading {0}"msgstr "正在上传 {0}"@@ -1941,6 +2169,9 @@ msgstr "使用 {0} · {1}"msgid "Value"msgstr "值"+msgid "Verification failed"+msgstr "验证失败"+msgid "Verify"msgstr "验证"@@ -1986,6 +2217,9 @@ msgstr "您的账户尚未属于任何公司。完成 Carbon ERP 入职流程以msgid "Your organization requires an authenticator app. Set it up in Carbon, then come back here."msgstr "您的组织需要身份验证器应用。在 Carbon 中设置,然后返回此处。"+msgid "Your profile could not be loaded."+msgstr "无法加载您的资料。"+msgid "Your session was locked after inactivity."msgstr "您的会话因不活动而被锁定。"diff --git a/packages/query/src/index.ts b/packages/query/src/index.tsindex 1deba5044d..060025afb7 100644--- a/packages/query/src/index.ts+++ b/packages/query/src/index.ts@@ -10,6 +10,7 @@ export type { ChangedRows } from "./useChangedRows";export { useChangedRows } from "./useChangedRows";export type { LiveList, LiveListStorage } from "./useLiveList";export { LiveLists, liveListKey, useLiveList } from "./useLiveList";+export type { LoaderData } from "./useLoaderQuery";export { useLoaderQuery } from "./useLoaderQuery";export type { BroadcastChange } from "./useRealtime";export {diff --git a/packages/react/src/Button.tsx b/packages/react/src/Button.tsxindex a0bde8a7cc..2517df03a5 100644--- a/packages/react/src/Button.tsx+++ b/packages/react/src/Button.tsx@@ -37,9 +37,8 @@ export const buttonVariants = cva(active:"bg-active text-active-foreground hover:bg-active/90 hover:text-active-foreground dark:shadow-button-base before:hidden",secondary:- "bg-background hover:bg-accent hover:text-accent-foreground dark:bg-input/30 dark:border-input dark:hover:bg-input/50 shadow-button-base",- solid:- "bg-accent text-accent-foreground hover:bg-accent/90 shadow-button-base",+ "bg-background hover:bg-accent hover:text-accent-foreground dark:bg-input/30 dark:border-input dark:hover:bg-input/50",+ solid: "bg-accent text-accent-foreground hover:bg-accent/90",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90 shadow-[inset_0px_0.5px_0px_rgb(255_255_255_/_0.32)] before:pointer-events-none before:bg-gradient-to-b before:transition-opacity before:duration-100 before:ease before:from-white/[0.12] before:absolute before:inset-0 before:z-[1] before:rounded before:opacity-0 hover:before:opacity-100 active:before:opacity-0",ghost:diff --git a/packages/react/src/ColorPicker.tsx b/packages/react/src/ColorPicker.tsxnew file mode 100644index 0000000000..b01189d85b--- /dev/null+++ b/packages/react/src/ColorPicker.tsx@@ -0,0 +1,105 @@+// 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 { HexColorInput, HexColorPicker } from "react-colorful";+import { Popover, PopoverContent, PopoverTrigger } from "./Popover";+import { cn } from "./utils/cn";++/** Preset swatches shown under the picker, Mantine ColorInput style. */+const SWATCHES = [+ "#1f2937",+ "#111827",+ "#374151",+ "#0f172a",+ "#000000",+ "#ffffff",+ "#1e3a8a",+ "#1d4ed8",+ "#2563eb",+ "#0891b2",+ "#059669",+ "#16a34a",+ "#ca8a04",+ "#ea580c",+ "#dc2626",+ "#db2777",+ "#7c3aed",+ "#475569"+];++export function ColorPicker({+ value,+ onChange,+ placeholder+}: {+ /** A hex color, or `""` for no color (pass `placeholder` to label it). */+ value: string;+ onChange: (value: string) => void;+ placeholder?: string;+}) {+ const isEmpty = value === "";+ return (+ <Popover>+ <PopoverTrigger asChild>+ <button+ type="button"+ className="flex h-9 w-full items-center gap-2 rounded-md border border-input bg-background px-2 text-sm outline-none transition-colors focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50"+ >+ <span+ className={cn(+ "size-5 shrink-0 rounded ring-1 ring-inset ring-black/10",+ isEmpty && "bg-muted"+ )}+ style={isEmpty ? undefined : { backgroundColor: value }}+ />+ {isEmpty ? (+ <span className="text-xs text-muted-foreground">{placeholder}</span>+ ) : (+ <span className="font-mono text-xs uppercase text-foreground">+ {value}+ </span>+ )}+ </button>+ </PopoverTrigger>+ <PopoverContent align="start" className="w-[232px] p-3">+ <div className="flex flex-col gap-3">+ <HexColorPicker+ color={isEmpty ? "#ffffff" : value}+ onChange={onChange}+ style={{ width: "100%", height: 150 }}+ />++ <div className="flex items-center gap-2">+ <span+ className="size-5 shrink-0 rounded ring-1 ring-inset ring-black/10"+ style={{ backgroundColor: value }}+ />+ <HexColorInput+ prefixed+ color={value}+ onChange={onChange}+ className="h-8 w-full rounded-md border border-input bg-background px-2 font-mono text-xs uppercase outline-none focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50"+ />+ </div>++ <div className="grid grid-cols-9 gap-1.5">+ {SWATCHES.map((swatch) => (+ <button+ key={swatch}+ type="button"+ aria-label={swatch}+ onClick={() => onChange(swatch)}+ className={cn(+ "size-5 rounded ring-1 ring-inset ring-black/10 transition-transform hover:scale-110",+ value.toLowerCase() === swatch && "ring-2 ring-primary"+ )}+ style={{ backgroundColor: swatch }}+ />+ ))}+ </div>+ </div>+ </PopoverContent>+ </Popover>+ );+}diff --git a/packages/react/src/Dock.tsx b/packages/react/src/Dock.tsxnew file mode 100644index 0000000000..36596927c8--- /dev/null+++ b/packages/react/src/Dock.tsx@@ -0,0 +1,388 @@+// 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.++"use client";++import * as DialogPrimitive from "@radix-ui/react-dialog";+import { Command as CommandPrimitive } from "cmdk";+import type {+ ButtonHTMLAttributes,+ ComponentPropsWithoutRef,+ ElementRef,+ HTMLAttributes,+ ReactNode+} from "react";+import { forwardRef } from "react";+import { LuCheck, LuChevronsUpDown } from "react-icons/lu";++import { ClientOnly } from "./ClientOnly";+import {+ Command,+ CommandEmpty,+ CommandGroup,+ CommandItem,+ CommandList,+ CommandSeparator+} from "./Command";+import { DialogRoot } from "./Modal";+import { cn } from "./utils/cn";+import { usePhoneOpenAutoFocus } from "./Viewport";++/**+ * The phone's floating navigation pill and the menu it opens. The pill sits+ * centred in a borderless band at the bottom of the screen; the menu rises+ * above it as an inset card and draws the pill again over its overlay, so the+ * pill stays lit and its menu button turns into the close button. Hidden at+ * md and up.+ */+const dockPositionClassName =+ "flex shrink-0 justify-center px-4 pt-2 pb-[calc(env(safe-area-inset-bottom)+0.75rem)]";++/** The pill itself. `Dock` places it; `DockMenuContent` redraws it. */+function DockBar({+ className,+ children,+ ...props+}: HTMLAttributes<HTMLElement>) {+ return (+ <nav+ className={cn(+ "flex h-12 items-center gap-0.5 rounded-full border border-border bg-popover/95 p-1 shadow-lg backdrop-blur",+ className+ )}+ {...props}+ >+ {children}+ </nav>+ );+}++/**+ * The pill in the shell's bottom band, in flow so pages end above it.+ * `className` styles the band (e.g. `hidden`); the rest go to the pill.+ */+function Dock({ className, ...props }: HTMLAttributes<HTMLElement>) {+ return (+ <div className={cn("md:hidden", dockPositionClassName, className)}>+ <DockBar {...props} />+ </div>+ );+}++type DockItemProps = ButtonHTMLAttributes<HTMLButtonElement> & {+ icon: ReactNode;+ /** A visible label beside the icon; icon-only items need `aria-label`. */+ label?: ReactNode;+};++/** One control in the pill: an icon, with a label for the widest item. */+const DockItem = forwardRef<HTMLButtonElement, DockItemProps>(+ ({ icon, label, className, ...props }, ref) => (+ <button+ ref={ref}+ type="button"+ className={cn(+ "flex h-10 shrink-0 items-center justify-center gap-2 rounded-full text-[15px] text-muted-foreground outline-none transition-colors active:bg-accent focus-visible:ring-[3px] focus-visible:ring-ring/50 data-[state=open]:bg-accent data-[state=open]:text-foreground [&_svg]:size-5",+ label ? "pl-3 pr-4" : "w-11",+ className+ )}+ {...props}+ >+ {icon}+ {label ? <span className="truncate">{label}</span> : null}+ </button>+ )+);+DockItem.displayName = "DockItem";++/** The hairline between groups of pill controls. */+function DockSeparator() {+ return <span aria-hidden className="mx-0.5 h-6 w-px shrink-0 bg-border" />;+}++/** Opens and closes the dock menu; controlled by the shell. */+const DockMenu = DialogRoot;++type DockMenuContentProps = ComponentPropsWithoutRef<+ typeof DialogPrimitive.Content+> & {+ /** Names the menu for screen readers. */+ label: string;+ /** The pill, drawn over the overlay in the same place as the shell's. */+ dock: ReactNode;+ /**+ * A `DockFinder` that takes the whole screen in place of the menu while a+ * switcher's ⇕ is open. Escape should close it, not the menu+ * (`onEscapeKeyDown`).+ */+ finder?: ReactNode;+};++/**+ * The menu above the pill. Children stack bottom-up against the pill —+ * typically a row of switchers over a `DockMenuPanel`. A tap on the dimmed+ * space around them closes the menu.+ */+const DockMenuContent = forwardRef<+ ElementRef<typeof DialogPrimitive.Content>,+ DockMenuContentProps+>(({ className, children, label, dock, finder, ...props }, ref) => {+ const onOpenAutoFocus = usePhoneOpenAutoFocus(props.onOpenAutoFocus);+ return (+ <ClientOnly fallback={null}>+ {() => (+ <DialogPrimitive.Portal>+ <DialogPrimitive.Overlay className="fixed inset-0 z-[70] bg-black/50 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0" />+ {/* The content spans the screen's width, but only its parts take+ touches: a tap in the gaps between them lands on the overlay,+ which closes the menu like any tap outside. */}+ <DialogPrimitive.Content+ ref={ref}+ aria-describedby={undefined}+ className={cn(+ "group pointer-events-none fixed inset-x-0 bottom-0 z-[70] flex max-h-[100dvh] flex-col pt-[calc(env(safe-area-inset-top)+2.5rem)] outline-none md:hidden",+ "data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:duration-150",+ className+ )}+ {...props}+ onOpenAutoFocus={onOpenAutoFocus}+ >+ <DialogPrimitive.Title className="sr-only">+ {label}+ </DialogPrimitive.Title>+ {finder ?? (+ <>+ <div className="flex min-h-0 flex-col gap-2 px-3 [&>*]:pointer-events-auto group-data-[state=open]:animate-in group-data-[state=open]:fade-in-0 group-data-[state=open]:slide-in-from-bottom-4 group-data-[state=open]:duration-300 group-data-[state=open]:ease-[cubic-bezier(0.32,0.72,0,1)]">+ {children}+ </div>+ <div+ className={cn(+ dockPositionClassName,+ "[&>*]:pointer-events-auto"+ )}+ >+ {dock}+ </div>+ </>+ )}+ </DialogPrimitive.Content>+ </DialogPrimitive.Portal>+ )}+ </ClientOnly>+ );+});+DockMenuContent.displayName = "DockMenuContent";++/** The menu's card: one scrolling surface of rows and sections. */+function DockMenuPanel({+ className,+ ...props+}: HTMLAttributes<HTMLDivElement>) {+ return (+ <div+ className={cn(+ "flex min-h-0 flex-col overflow-y-auto overscroll-contain rounded-2xl border border-border bg-popover shadow-xl",+ className+ )}+ {...props}+ />+ );+}++/** A section of the panel; every section but the first opens with a hairline. */+function DockMenuSection({+ className,+ ...props+}: HTMLAttributes<HTMLDivElement>) {+ return (+ <div+ className={cn(+ "flex flex-col border-t border-border p-1.5 first:border-t-0",+ className+ )}+ {...props}+ />+ );+}++/**+ * One row of the panel. The current page (`aria-current="page"`, or "true"+ * for a current choice) is lit; the rest stay muted until touched.+ */+const dockMenuRowClassName =+ "relative flex min-h-11 w-full select-none items-center gap-3 rounded-lg px-3 text-left text-[15px] text-muted-foreground outline-none transition-colors hover:bg-accent hover:text-foreground focus-visible:bg-accent focus-visible:text-foreground active:bg-accent aria-[current=page]:bg-accent aria-[current=page]:text-foreground aria-[current=true]:bg-accent aria-[current=true]:text-foreground disabled:pointer-events-none disabled:opacity-50 [&_svg]:shrink-0";++/**+ * A switcher above the panel: icon, name, and ⇕ after a hairline. A tap+ * anywhere on it opens its `DockFinder`. Without `onSwitch` there is nothing+ * to switch to: it stays as a label, disabled, with no ⇕.+ */+function DockSwitcher({+ icon,+ label,+ onSwitch,+ switchLabel,+ className+}: {+ icon: ReactNode;+ label: ReactNode;+ onSwitch?: () => void;+ /**+ * What a tap does, e.g. "Switch company". Read after the visible name+ * ("Sales, Switch module"), so the name a screen reader announces starts+ * with the words on screen and still says what is selected.+ */+ switchLabel: string;+ className?: string;+}) {+ return (+ <button+ type="button"+ disabled={!onSwitch}+ onClick={onSwitch}+ className={cn(+ "flex h-10 min-w-0 shrink items-center gap-2 rounded-full border border-border bg-popover pl-2 text-[15px] font-medium text-foreground shadow-lg outline-none transition-colors active:bg-accent focus-visible:ring-[3px] focus-visible:ring-ring/50 disabled:opacity-100",+ onSwitch ? "pr-3" : "pr-3.5",+ className+ )}+ >+ <span className="flex size-6 shrink-0 items-center justify-center [&_svg]:size-[18px]">+ {icon}+ </span>+ <span className="min-w-0 truncate">{label}</span>+ {onSwitch ? (+ <>+ <span className="sr-only">, {switchLabel}</span>+ <span aria-hidden className="h-5 w-px shrink-0 bg-border" />+ <LuChevronsUpDown className="size-4 shrink-0 text-muted-foreground" />+ </>+ ) : null}+ </button>+ );+}++/**+ * A switcher's finder: the whole screen, a search field with Esc over a flat+ * list of `DockFinderItem`s. Typing filters the list; Esc returns to the menu.+ */+function DockFinder({+ placeholder,+ closeLabel,+ emptyLabel,+ onClose,+ children+}: {+ placeholder: string;+ /** Names the Esc button for screen readers. */+ closeLabel: string;+ /** Shown when nothing matches the search. */+ emptyLabel: ReactNode;+ onClose: () => void;+ children: ReactNode;+}) {+ return (+ <Command+ loop+ className="pointer-events-auto fixed inset-0 rounded-none bg-background pt-safe animate-in fade-in-0 duration-150"+ >+ <div className="flex h-14 shrink-0 items-center gap-3 border-b border-border pr-3 pl-4">+ <CommandPrimitive.Input+ autoFocus+ placeholder={placeholder}+ className="h-full min-w-0 flex-1 bg-transparent text-[16px] text-foreground outline-none placeholder:text-muted-foreground"+ />+ <button+ type="button"+ aria-label={closeLabel}+ onClick={onClose}+ className="flex h-7 shrink-0 items-center rounded-md border border-border px-2 text-xs font-medium text-muted-foreground outline-none active:bg-accent focus-visible:ring-[3px] focus-visible:ring-ring/50"+ >+ Esc+ </button>+ </div>+ <CommandList className="max-h-none flex-1 overscroll-contain p-1.5 pb-safe">+ <CommandEmpty className="py-8 text-center text-sm text-muted-foreground">+ {emptyLabel}+ </CommandEmpty>+ {children}+ </CommandList>+ </Command>+ );+}++/** A titled run of finder rows; the title shows only when given. */+function DockFinderGroup({+ heading,+ children+}: {+ heading?: ReactNode;+ children: ReactNode;+}) {+ return (+ <CommandGroup heading={heading} className="p-0">+ {children}+ </CommandGroup>+ );+}++/** The hairline before a finder's actions (Add Company). */+function DockFinderSeparator() {+ return <CommandSeparator className="mx-0 my-1.5" />;+}++/**+ * One finder row: icon, name, an optional badge, and ✓ on the current one.+ * `value` is what the search matches.+ */+function DockFinderItem({+ value,+ icon,+ label,+ badge,+ isCurrent = false,+ onSelect+}: {+ value: string;+ icon?: ReactNode;+ label: ReactNode;+ badge?: ReactNode;+ isCurrent?: boolean;+ onSelect: () => void;+}) {+ return (+ <CommandItem+ value={value}+ onSelect={onSelect}+ aria-current={isCurrent ? "true" : undefined}+ className="min-h-11 gap-3 rounded-lg px-3 py-0 text-[15px] text-foreground aria-selected:bg-accent"+ >+ {icon ? (+ <span className="flex size-6 shrink-0 items-center justify-center [&>svg]:size-[18px]">+ {icon}+ </span>+ ) : null}+ <span className="min-w-0 truncate">{label}</span>+ {badge ? <span className="shrink-0">{badge}</span> : null}+ <span className="flex-1" />+ {isCurrent ? <LuCheck className="size-5 shrink-0" /> : null}+ </CommandItem>+ );+}++export {+ Dock,+ DockBar,+ DockFinder,+ DockFinderGroup,+ DockFinderItem,+ DockFinderSeparator,+ DockItem,+ DockMenu,+ DockMenuContent,+ DockMenuPanel,+ DockMenuSection,+ DockSeparator,+ DockSwitcher,+ dockMenuRowClassName+};diff --git a/packages/react/src/index.tsx b/packages/react/src/index.tsxindex df05585a71..8d82c82a64 100644--- a/packages/react/src/index.tsx+++ b/packages/react/src/index.tsx@@ -126,6 +126,22 @@ import {import type { DateTimeProps } from "./DateTime";import { DateTime } from "./DateTime";import { DisabledReason, getDisabledReason } from "./DisabledReason";+import {+ Dock,+ DockBar,+ DockFinder,+ DockFinderGroup,+ DockFinderItem,+ DockFinderSeparator,+ DockItem,+ DockMenu,+ DockMenuContent,+ DockMenuPanel,+ DockMenuSection,+ DockSeparator,+ DockSwitcher,+ dockMenuRowClassName+} from "./Dock";import {Drawer,DrawerBody,@@ -387,6 +403,7 @@ import { useViewport, ViewportProvider } from "./Viewport";import { VStack } from "./VStack";export * from "./Acknowledge";+export * from "./ColorPicker";export * from "./hooks";export * from "./RecordOutlet";export {@@ -483,6 +500,20 @@ export {DateTime,DateTimePicker,DisabledReason,+ Dock,+ DockBar,+ DockFinder,+ DockFinderGroup,+ DockFinderItem,+ DockFinderSeparator,+ DockItem,+ DockMenu,+ DockMenuContent,+ DockMenuPanel,+ DockMenuSection,+ DockSeparator,+ DockSwitcher,+ dockMenuRowClassName,Drawer,DrawerBody,DrawerContent,diff --git a/pnpm-lock.yaml b/pnpm-lock.yamlindex 910c0c1a04..3d85e3ebe3 100644--- a/pnpm-lock.yaml+++ b/pnpm-lock.yaml@@ -678,6 +678,9 @@ importers:'@base-ui-components/react':specifier: 1.0.0-rc.0version: 1.0.0-rc.0(@types/[email protected])([email protected]([email protected]))([email protected])+ '@carbon/account':+ specifier: workspace:*+ version: link:../../packages/account'@carbon/api':specifier: workspace:*version: link:../../packages/api@@ -1168,6 +1171,9 @@ importers:apps/mes:dependencies:+ '@carbon/account':+ specifier: workspace:*+ version: link:../../packages/account'@carbon/auth':specifier: workspace:*version: link:../../packages/auth@@ -1490,6 +1496,9 @@ importers:apps/starter:dependencies:+ '@carbon/account':+ specifier: workspace:*+ version: link:../../packages/account'@carbon/auth':specifier: workspace:*version: link:../../packages/auth@@ -1505,9 +1514,15 @@ importers:'@carbon/kv':specifier: workspace:*version: link:../../packages/kv+ '@carbon/locale':+ specifier: workspace:*+ version: link:../../packages/locale'@carbon/logger':specifier: workspace:*version: link:../../packages/logger+ '@carbon/query':+ specifier: workspace:*+ version: link:../../packages/query'@carbon/react':specifier: workspace:*version: link:../../packages/react@@ -1517,6 +1532,12 @@ importers:'@internationalized/date':specifier: 'catalog:'version: 3.12.0+ '@lingui/core':+ specifier: 'catalog:'+ version: 6.9.0(@babel/[email protected])([email protected])+ '@lingui/react':+ specifier: 'catalog:''@react-aria/i18n':specifier: 'catalog:'@@ -1538,6 +1559,9 @@ importers:'@tailwindcss/vite':specifier: 'catalog:'version: 4.3.0([email protected])+ '@tanstack/react-query':+ specifier: 'catalog:'+ version: 5.104.0([email protected])'@vercel/analytics':specifier: 'catalog:'version: 1.6.1([email protected](@babel/[email protected])(@opentelemetry/[email protected])([email protected])([email protected]([email protected]))([email protected]))([email protected])@@ -1938,6 +1962,76 @@ importers:specifier: 'catalog:'+ packages/account:+ dependencies:+ '@carbon/auth':+ specifier: workspace:*+ version: link:../auth+ '@carbon/database':+ specifier: workspace:*+ version: link:../database+ '@carbon/files':+ specifier: workspace:*+ version: link:../files+ '@carbon/form':+ specifier: workspace:*+ version: link:../form+ '@carbon/logger':+ specifier: workspace:*+ version: link:../logger+ '@carbon/notifications':+ specifier: workspace:*+ version: link:../notifications+ '@carbon/query':+ specifier: workspace:*+ version: link:../query+ '@carbon/react':+ specifier: workspace:*+ version: link:../react+ '@carbon/utils':+ specifier: workspace:*+ version: link:../utils+ '@lingui/core':+ specifier: 'catalog:'+ version: 6.9.0(@babel/[email protected])([email protected])+ '@lingui/react':+ specifier: 'catalog:'+ '@simplewebauthn/browser':+ specifier: ^13.3.0+ version: 13.3.0+ react:+ specifier: 18.3.1+ version: 18.3.1+ react-icons:+ specifier: 'catalog:'+ version: 5.6.0([email protected])+ react-router:+ specifier: 'catalog:'+ zod:+ specifier: 'catalog:'+ version: 4.5.4+ zod-form-data:+ specifier: 'catalog:'+ version: 3.0.3([email protected])+ zustand:+ specifier: 'catalog:'+ version: 5.0.12(@types/[email protected])([email protected])([email protected])([email protected]([email protected]))+ devDependencies:+ '@carbon/config':+ specifier: workspace:*+ version: link:../config+ '@types/react':+ specifier: 18.3.28+ version: 18.3.28+ rimraf:+ specifier: 'catalog:'+ version: 5.0.10+ typescript:+ specifier: 'catalog:'+ version: 5.8.3+packages/api:dependencies:'@orpc/client':diff --git a/scripts/git-hooks/pre-commit b/scripts/git-hooks/pre-commitindex e4b9e98e6b..998c4b09f9 100755--- a/scripts/git-hooks/pre-commit+++ b/scripts/git-hooks/pre-commit@@ -67,7 +67,7 @@ fi# worse than none, since it reads as "nothing changed". The file set is the# //#generate:mcp inputs in turbo.json; keep the two in step.# Set CARBON_SKIP_MANIFEST_CHECK=1 to skip.-if [ -z "$CARBON_SKIP_MANIFEST_CHECK" ] && git diff --cached --name-only | grep -qE '^(apps/erp/app/modules/.*\.ts|apps/erp/app/(types|utils)/.*|apps/erp/app/routes/api\+/mcp\+/lib/mcp-(blocked-tools|exposure)\.ts|packages/(api|database|documents|files|locale|logger|notifications|printing|utils)/src/.*|packages/database/supabase/functions/shared/.*|packages/database/supabase/migrations/.*|scripts/(generate-mcp|lib/.*)\.ts)$'; then+if [ -z "$CARBON_SKIP_MANIFEST_CHECK" ] && git diff --cached --name-only | grep -qE '^(apps/erp/app/modules/.*\.ts|apps/erp/app/(types|utils)/.*|apps/erp/app/routes/api\+/mcp\+/lib/mcp-(blocked-tools|exposure)\.ts|packages/(account|api|database|documents|files|locale|logger|notifications|printing|utils)/src/.*|packages/database/supabase/functions/shared/.*|packages/database/supabase/migrations/.*|scripts/(generate-mcp|lib/.*)\.ts)$'; thenecho "Checking the API operation manifest digest..."if ! pnpm --silent check:manifest; thenecho ""diff --git a/turbo.json b/turbo.jsonindex 2a19746697..0b3c2fbf6a 100644--- a/turbo.json+++ b/turbo.json@@ -85,7 +85,7 @@"apps/erp/app/routes/api+/mcp+/lib/mcp-blocked-tools.ts","apps/erp/app/routes/api+/mcp+/lib/mcp-exposure.ts","apps/erp/tsconfig.json",- "packages/{api,database,documents,files,locale,logger,notifications,printing,server-functions,utils}/src/**",+ "packages/{account,api,database,documents,files,locale,logger,notifications,printing,server-functions,utils}/src/**","packages/database/supabase/migrations/**","scripts/generate-mcp.ts","scripts/lib/**"