Skip to content

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

fix(steps): word one-sided Measurement limits as inclusive

Rauld9884e37f74b
diff --git a/apps/erp/app/components/MeasurementLimits.tsx b/apps/erp/app/components/MeasurementLimits.tsx
new file mode 100644
index 0000000000..b4c710d469
--- /dev/null
+++ b/apps/erp/app/components/MeasurementLimits.tsx
@@ -0,0 +1,26 @@
+// 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";
+
+// The limits a Measurement step's value must fall within. Both limits are
+// inclusive: a value equal to either one passes.
+export function MeasurementLimits({
+ minValue,
+ maxValue,
+ unit
+}: {
+ minValue?: number | null;
+ maxValue?: number | null;
+ unit?: string;
+}) {
+ const { t } = useLingui();
+ const unitLabel = unit ?? "";
+ if (minValue != null && maxValue != null) {
+ return t`Must be between ${minValue} and ${maxValue} ${unitLabel}`;
+ }
+ if (minValue != null) return t`Must be at least ${minValue} ${unitLabel}`;
+ if (maxValue != null) return t`Must be at most ${maxValue} ${unitLabel}`;
+ return null;
+}
diff --git a/apps/erp/app/modules/items/ui/Item/BillOfProcess.tsx b/apps/erp/app/modules/items/ui/Item/BillOfProcess.tsx
index 5fee4dc735..59cf571404 100644
--- a/apps/erp/app/modules/items/ui/Item/BillOfProcess.tsx
+++ b/apps/erp/app/modules/items/ui/Item/BillOfProcess.tsx
@@ -111,6 +111,7 @@ import Procedure from "~/components/Form/Procedure";
import { getUnitHint } from "~/components/Form/UnitHint";
import { useUnitOfMeasure } from "~/components/Form/UnitOfMeasure";
import { OperationTypeIcon, ProcedureStepTypeIcon } from "~/components/Icons";
+import { MeasurementLimits } from "~/components/MeasurementLimits";
import { ConfirmDelete } from "~/components/Modals";
import {
SlidePinOverlay,
@@ -2824,27 +2825,15 @@ function AttributesListItem({
</HStack>
{attribute.type === "Measurement" && (
<span className="text-xs text-muted-foreground">
- {attribute.minValue !== null && attribute.maxValue !== null
- ? `Must be between ${attribute.minValue} and ${
- attribute.maxValue
- } ${
- unitOfMeasures.find(
- (u) => u.value === unitOfMeasureCode
- )?.label
- }`
- : attribute.minValue !== null
- ? `Must be > ${attribute.minValue} ${
- unitOfMeasures.find(
- (u) => u.value === unitOfMeasureCode
- )?.label
- }`
- : attribute.maxValue !== null
- ? `Must be < ${attribute.maxValue} ${
- unitOfMeasures.find(
- (u) => u.value === unitOfMeasureCode
- )?.label
- }`
- : null}
+ <MeasurementLimits
+ minValue={attribute.minValue}
+ maxValue={attribute.maxValue}
+ unit={
+ unitOfMeasures.find(
+ (u) => u.value === unitOfMeasureCode
+ )?.label
+ }
+ />
</span>
)}
</VStack>
diff --git a/apps/erp/app/modules/production/ui/Jobs/JobBillOfProcess.tsx b/apps/erp/app/modules/production/ui/Jobs/JobBillOfProcess.tsx
index 6678bb71f7..28acb72776 100644
--- a/apps/erp/app/modules/production/ui/Jobs/JobBillOfProcess.tsx
+++ b/apps/erp/app/modules/production/ui/Jobs/JobBillOfProcess.tsx
@@ -129,6 +129,7 @@ import UnitOfMeasure, {
} from "~/components/Form/UnitOfMeasure";
import { OperationTypeIcon, ProcedureStepTypeIcon } from "~/components/Icons";
import InfiniteScroll from "~/components/InfiniteScroll";
+import { MeasurementLimits } from "~/components/MeasurementLimits";
import { ConfirmDelete } from "~/components/Modals";
import { SlidesEditor, uploadStepSlideModel } from "~/components/SlidesEditor";
import type { Item, SortableItemRenderProps } from "~/components/SortableList";
@@ -2331,28 +2332,15 @@ function StepsListItem({
</HStack>
{attribute.type === "Measurement" && (
<span className="text-xs text-muted-foreground">
- {attribute.minValue !== null &&
- attribute.maxValue !== null
- ? `Must be between ${attribute.minValue} and ${
- attribute.maxValue
- } ${
- unitOfMeasures.find(
- (u) => u.value === unitOfMeasureCode
- )?.label
- }`
- : attribute.minValue !== null
- ? `Must be > ${attribute.minValue} ${
- unitOfMeasures.find(
- (u) => u.value === unitOfMeasureCode
- )?.label
- }`
- : attribute.maxValue !== null
- ? `Must be < ${attribute.maxValue} ${
- unitOfMeasures.find(
- (u) => u.value === unitOfMeasureCode
- )?.label
- }`
- : null}
+ <MeasurementLimits
+ minValue={attribute.minValue}
+ maxValue={attribute.maxValue}
+ unit={
+ unitOfMeasures.find(
+ (u) => u.value === unitOfMeasureCode
+ )?.label
+ }
+ />
</span>
)}
</VStack>
diff --git a/apps/erp/app/modules/production/ui/Procedures/ProcedureExplorer.tsx b/apps/erp/app/modules/production/ui/Procedures/ProcedureExplorer.tsx
index d57c2d5227..e9a79a9d37 100644
--- a/apps/erp/app/modules/production/ui/Procedures/ProcedureExplorer.tsx
+++ b/apps/erp/app/modules/production/ui/Procedures/ProcedureExplorer.tsx
@@ -68,6 +68,7 @@ import type { z } from "zod";
import { Empty } from "~/components";
import { UnitOfMeasure } from "~/components/Form";
import { ProcedureStepTypeIcon } from "~/components/Icons";
+import { MeasurementLimits } from "~/components/MeasurementLimits";
import { ConfirmDelete } from "~/components/Modals";
import { useImageUpload, usePermissions, useRouteData } from "~/hooks";
import { procedureStepType } from "~/modules/shared/shared.models";
@@ -553,13 +554,10 @@ function ProcedureStepItem({
</HStack>
{(attribute.minValue !== null || attribute.maxValue !== null) && (
<p className="text-muted-foreground text-xs">
- {attribute.minValue !== null && attribute.maxValue !== null
- ? `Must be between ${attribute.minValue} and ${attribute.maxValue}`
- : attribute.minValue !== null
- ? `Must be > ${attribute.minValue}`
- : attribute.maxValue !== null
- ? `Must be < ${attribute.maxValue}`
- : null}
+ <MeasurementLimits
+ minValue={attribute.minValue}
+ maxValue={attribute.maxValue}
+ />
</p>
)}
</VStack>
diff --git a/apps/erp/app/modules/sales/ui/Quotes/QuoteBillOfProcess.tsx b/apps/erp/app/modules/sales/ui/Quotes/QuoteBillOfProcess.tsx
index e1dbf1bc92..52d9837189 100644
--- a/apps/erp/app/modules/sales/ui/Quotes/QuoteBillOfProcess.tsx
+++ b/apps/erp/app/modules/sales/ui/Quotes/QuoteBillOfProcess.tsx
@@ -97,6 +97,7 @@ import UnitOfMeasure, {
useUnitOfMeasure
} from "~/components/Form/UnitOfMeasure";
import { ProcedureStepTypeIcon } from "~/components/Icons";
+import { MeasurementLimits } from "~/components/MeasurementLimits";
import { ConfirmDelete } from "~/components/Modals";
import type { Item, SortableItemRenderProps } from "~/components/SortableList";
import {
@@ -1338,27 +1339,15 @@ function AttributesListItem({
</HStack>
{attribute.type === "Measurement" && (
<span className="text-xs text-muted-foreground">
- {attribute.minValue !== null && attribute.maxValue !== null
- ? `Must be between ${attribute.minValue} and ${
- attribute.maxValue
- } ${
- unitOfMeasures.find(
- (u) => u.value === unitOfMeasureCode
- )?.label
- }`
- : attribute.minValue !== null
- ? `Must be > ${attribute.minValue} ${
- unitOfMeasures.find(
- (u) => u.value === unitOfMeasureCode
- )?.label
- }`
- : attribute.maxValue !== null
- ? `Must be < ${attribute.maxValue} ${
- unitOfMeasures.find(
- (u) => u.value === unitOfMeasureCode
- )?.label
- }`
- : null}
+ <MeasurementLimits
+ minValue={attribute.minValue}
+ maxValue={attribute.maxValue}
+ unit={
+ unitOfMeasures.find(
+ (u) => u.value === unitOfMeasureCode
+ )?.label
+ }
+ />
</span>
)}
</VStack>
diff --git a/apps/mes/app/components/JobOperation/components/Step.tsx b/apps/mes/app/components/JobOperation/components/Step.tsx
index 9634e095b9..44b6549bee 100644
--- a/apps/mes/app/components/JobOperation/components/Step.tsx
+++ b/apps/mes/app/components/JobOperation/components/Step.tsx
@@ -101,7 +101,8 @@ export function hasStepDescription(
}
// The limits a Measurement must fall within, in its unit, as the step lists
-// and the record windows state them.
+// and the record windows state them. Both limits are inclusive: a value equal
+// to either one passes.
export function useMeasurementLimits(step: {
minValue: number | null;
maxValue: number | null;
@@ -113,8 +114,10 @@ export function useMeasurementLimits(step: {
if (minValue !== null && maxValue !== null) {
return t`Must be between ${minValue} and ${maxValue} ${unitOfMeasureCode}`;
}
- if (minValue !== null) return t`Must be > ${minValue} ${unitOfMeasureCode}`;
- if (maxValue !== null) return t`Must be < ${maxValue} ${unitOfMeasureCode}`;
+ if (minValue !== null)
+ return t`Must be at least ${minValue} ${unitOfMeasureCode}`;
+ if (maxValue !== null)
+ return t`Must be at most ${maxValue} ${unitOfMeasureCode}`;
return null;
}
diff --git a/packages/locale/locales/de/erp.po b/packages/locale/locales/de/erp.po
index c1cba7fb22..cf257bee77 100644
--- a/packages/locale/locales/de/erp.po
+++ b/packages/locale/locales/de/erp.po
@@ -14034,6 +14034,15 @@ msgstr "MRP schlägt das Umlagern einer bestehenden Bestellung nur vor, wenn ihr
msgid "Multiple jobs can run on this process at the same time — e.g. a laser table, furnace, or plating bath"
msgstr "Mehrere Fertigungsaufträge können auf diesem Verfahren gleichzeitig laufen — z. B. Lasertisch, Ofen oder Galvanikbad."
+msgid "Must be at least {minValue} {unitLabel}"
+msgstr "Muss mindestens {minValue} {unitLabel} sein"
+
+msgid "Must be at most {maxValue} {unitLabel}"
+msgstr "Darf höchstens {maxValue} {unitLabel} sein"
+
+msgid "Must be between {minValue} and {maxValue} {unitLabel}"
+msgstr "Muss zwischen {minValue} und {maxValue} {unitLabel} liegen"
+
msgid "Must be in the same location"
msgstr "Muss sich am selben Ort befinden"
diff --git a/packages/locale/locales/de/mes.po b/packages/locale/locales/de/mes.po
index db330a4e8c..7076762efa 100644
--- a/packages/locale/locales/de/mes.po
+++ b/packages/locale/locales/de/mes.po
@@ -1106,11 +1106,11 @@ msgstr "Weitere Optionen"
msgid "Move column: {0}"
msgstr "Spalte verschieben: {0}"
-msgid "Must be < {maxValue} {unitOfMeasureCode}"
-msgstr "Muss < {maxValue} {unitOfMeasureCode} sein"
+msgid "Must be at least {minValue} {unitOfMeasureCode}"
+msgstr "Muss mindestens {minValue} {unitOfMeasureCode} sein"
-msgid "Must be > {minValue} {unitOfMeasureCode}"
-msgstr "Muss > {minValue} {unitOfMeasureCode} sein"
+msgid "Must be at most {maxValue} {unitOfMeasureCode}"
+msgstr "Darf höchstens {maxValue} {unitOfMeasureCode} sein"
msgid "Must be between {minValue} and {maxValue} {unitOfMeasureCode}"
msgstr "Muss zwischen {minValue} und {maxValue} {unitOfMeasureCode} liegen"
diff --git a/packages/locale/locales/en/erp.po b/packages/locale/locales/en/erp.po
index 39a2f41ebd..7318b449d7 100644
--- a/packages/locale/locales/en/erp.po
+++ b/packages/locale/locales/en/erp.po
@@ -14034,6 +14034,15 @@ msgstr "MRP suggests moving an existing order only when its date is off by more
msgid "Multiple jobs can run on this process at the same time — e.g. a laser table, furnace, or plating bath"
msgstr "Multiple jobs can run on this process at the same time — e.g. a laser table, furnace, or plating bath"
+msgid "Must be at least {minValue} {unitLabel}"
+msgstr "Must be at least {minValue} {unitLabel}"
+
+msgid "Must be at most {maxValue} {unitLabel}"
+msgstr "Must be at most {maxValue} {unitLabel}"
+
+msgid "Must be between {minValue} and {maxValue} {unitLabel}"
+msgstr "Must be between {minValue} and {maxValue} {unitLabel}"
+
msgid "Must be in the same location"
msgstr "Must be in the same location"
diff --git a/packages/locale/locales/en/mes.po b/packages/locale/locales/en/mes.po
index d6bf15cf9c..d439670c66 100644
--- a/packages/locale/locales/en/mes.po
+++ b/packages/locale/locales/en/mes.po
@@ -1106,11 +1106,11 @@ msgstr "More options"
msgid "Move column: {0}"
msgstr "Move column: {0}"
-msgid "Must be < {maxValue} {unitOfMeasureCode}"
-msgstr "Must be < {maxValue} {unitOfMeasureCode}"
+msgid "Must be at least {minValue} {unitOfMeasureCode}"
+msgstr "Must be at least {minValue} {unitOfMeasureCode}"
-msgid "Must be > {minValue} {unitOfMeasureCode}"
-msgstr "Must be > {minValue} {unitOfMeasureCode}"
+msgid "Must be at most {maxValue} {unitOfMeasureCode}"
+msgstr "Must be at most {maxValue} {unitOfMeasureCode}"
msgid "Must be between {minValue} and {maxValue} {unitOfMeasureCode}"
msgstr "Must be between {minValue} and {maxValue} {unitOfMeasureCode}"
diff --git a/packages/locale/locales/es/erp.po b/packages/locale/locales/es/erp.po
index ffb0800c61..1331e57557 100644
--- a/packages/locale/locales/es/erp.po
+++ b/packages/locale/locales/es/erp.po
@@ -14034,6 +14034,15 @@ msgstr "MRP sugiere mover una orden existente solo cuando su fecha está desfasa
msgid "Multiple jobs can run on this process at the same time — e.g. a laser table, furnace, or plating bath"
msgstr "Múltiples Órdenes de trabajo pueden ejecutarse en este Proceso simultáneamente — por ejemplo, una mesa láser, horno o baño de galvanoplastia"
+msgid "Must be at least {minValue} {unitLabel}"
+msgstr "Debe ser al menos {minValue} {unitLabel}"
+
+msgid "Must be at most {maxValue} {unitLabel}"
+msgstr "Debe ser como máximo {maxValue} {unitLabel}"
+
+msgid "Must be between {minValue} and {maxValue} {unitLabel}"
+msgstr "Debe estar entre {minValue} y {maxValue} {unitLabel}"
+
msgid "Must be in the same location"
msgstr "Debe estar en la misma ubicación"
diff --git a/packages/locale/locales/es/mes.po b/packages/locale/locales/es/mes.po
index 266575a2b8..8ea773c95c 100644
--- a/packages/locale/locales/es/mes.po
+++ b/packages/locale/locales/es/mes.po
@@ -1106,11 +1106,11 @@ msgstr "Más opciones"
msgid "Move column: {0}"
msgstr "Mover columna: {0}"
-msgid "Must be < {maxValue} {unitOfMeasureCode}"
-msgstr "Debe ser < {maxValue} {unitOfMeasureCode}"
+msgid "Must be at least {minValue} {unitOfMeasureCode}"
+msgstr "Debe ser al menos {minValue} {unitOfMeasureCode}"
-msgid "Must be > {minValue} {unitOfMeasureCode}"
-msgstr "Debe ser > {minValue} {unitOfMeasureCode}"
+msgid "Must be at most {maxValue} {unitOfMeasureCode}"
+msgstr "Debe ser como máximo {maxValue} {unitOfMeasureCode}"
msgid "Must be between {minValue} and {maxValue} {unitOfMeasureCode}"
msgstr "Debe estar entre {minValue} y {maxValue} {unitOfMeasureCode}"
diff --git a/packages/locale/locales/fr/erp.po b/packages/locale/locales/fr/erp.po
index 1094c1e2c1..e9c264eef5 100644
--- a/packages/locale/locales/fr/erp.po
+++ b/packages/locale/locales/fr/erp.po
@@ -14034,6 +14034,15 @@ msgstr "La planification (MRP) ne propose de déplacer une commande existante qu
msgid "Multiple jobs can run on this process at the same time — e.g. a laser table, furnace, or plating bath"
msgstr "Plusieurs ordres de fabrication peuvent s'exécuter sur ce procédé en même temps — par exemple une table laser, un four ou un bain de galvanoplastie"
+msgid "Must be at least {minValue} {unitLabel}"
+msgstr "Doit être d'au moins {minValue} {unitLabel}"
+
+msgid "Must be at most {maxValue} {unitLabel}"
+msgstr "Doit être d'au plus {maxValue} {unitLabel}"
+
+msgid "Must be between {minValue} and {maxValue} {unitLabel}"
+msgstr "Doit être entre {minValue} et {maxValue} {unitLabel}"
+
msgid "Must be in the same location"
msgstr "Doit être au même endroit"
diff --git a/packages/locale/locales/fr/mes.po b/packages/locale/locales/fr/mes.po
index 7fc88c51a4..4ac4df80f4 100644
--- a/packages/locale/locales/fr/mes.po
+++ b/packages/locale/locales/fr/mes.po
@@ -1106,11 +1106,11 @@ msgstr "Plus d'options"
msgid "Move column: {0}"
msgstr "Déplacer la colonne : {0}"
-msgid "Must be < {maxValue} {unitOfMeasureCode}"
-msgstr "Doit être < {maxValue} {unitOfMeasureCode}"
+msgid "Must be at least {minValue} {unitOfMeasureCode}"
+msgstr "Doit être d'au moins {minValue} {unitOfMeasureCode}"
-msgid "Must be > {minValue} {unitOfMeasureCode}"
-msgstr "Doit être > {minValue} {unitOfMeasureCode}"
+msgid "Must be at most {maxValue} {unitOfMeasureCode}"
+msgstr "Doit être d'au plus {maxValue} {unitOfMeasureCode}"
msgid "Must be between {minValue} and {maxValue} {unitOfMeasureCode}"
msgstr "Doit être entre {minValue} et {maxValue} {unitOfMeasureCode}"
diff --git a/packages/locale/locales/hi/erp.po b/packages/locale/locales/hi/erp.po
index 7cedaecf9a..608350426c 100644
--- a/packages/locale/locales/hi/erp.po
+++ b/packages/locale/locales/hi/erp.po
@@ -14034,6 +14034,15 @@ msgstr "MRP एक मौजूदा आदेश को स्थानां
msgid "Multiple jobs can run on this process at the same time — e.g. a laser table, furnace, or plating bath"
msgstr "एक ही समय में इस प्रक्रिया पर कई जॉब चल सकती हैं — उदाहरण के लिए, एक लेजर टेबल, फर्नेस, या प्लेटिंग बाथ"
+msgid "Must be at least {minValue} {unitLabel}"
+msgstr "कम से कम {minValue} {unitLabel} होना चाहिए"
+
+msgid "Must be at most {maxValue} {unitLabel}"
+msgstr "अधिकतम {maxValue} {unitLabel} होना चाहिए"
+
+msgid "Must be between {minValue} and {maxValue} {unitLabel}"
+msgstr "{minValue} और {maxValue} {unitLabel} के बीच होना चाहिए"
+
msgid "Must be in the same location"
msgstr "एक ही स्थान में होना चाहिए"
diff --git a/packages/locale/locales/hi/mes.po b/packages/locale/locales/hi/mes.po
index c3cae44041..3860d69d63 100644
--- a/packages/locale/locales/hi/mes.po
+++ b/packages/locale/locales/hi/mes.po
@@ -1106,11 +1106,11 @@ msgstr "अधिक विकल्प"
msgid "Move column: {0}"
msgstr "कॉलम को स्थानांतरित करें: {0}"
-msgid "Must be < {maxValue} {unitOfMeasureCode}"
-msgstr "{maxValue} {unitOfMeasureCode} से कम होना चाहिए"
+msgid "Must be at least {minValue} {unitOfMeasureCode}"
+msgstr "कम से कम {minValue} {unitOfMeasureCode} होना चाहिए"
-msgid "Must be > {minValue} {unitOfMeasureCode}"
-msgstr "{minValue} से अधिक होना चाहिए {unitOfMeasureCode}"
+msgid "Must be at most {maxValue} {unitOfMeasureCode}"
+msgstr "अधिकतम {maxValue} {unitOfMeasureCode} होना चाहिए"
msgid "Must be between {minValue} and {maxValue} {unitOfMeasureCode}"
msgstr "{minValue} और {maxValue} के बीच होना चाहिए {unitOfMeasureCode}"
diff --git a/packages/locale/locales/it/erp.po b/packages/locale/locales/it/erp.po
index 59a618a63d..3fe46583a3 100644
--- a/packages/locale/locales/it/erp.po
+++ b/packages/locale/locales/it/erp.po
@@ -14034,6 +14034,15 @@ msgstr "MRP suggerisce di spostare un ordine esistente solo quando la sua data d
msgid "Multiple jobs can run on this process at the same time — e.g. a laser table, furnace, or plating bath"
msgstr "Più ordini di produzione possono essere eseguiti su questo processo contemporaneamente — ad esempio, un tavolo laser, un forno o un bagno di galvanica"
+msgid "Must be at least {minValue} {unitLabel}"
+msgstr "Deve essere almeno {minValue} {unitLabel}"
+
+msgid "Must be at most {maxValue} {unitLabel}"
+msgstr "Deve essere al massimo {maxValue} {unitLabel}"
+
+msgid "Must be between {minValue} and {maxValue} {unitLabel}"
+msgstr "Deve essere compreso tra {minValue} e {maxValue} {unitLabel}"
+
msgid "Must be in the same location"
msgstr "Deve essere nella stessa posizione"
diff --git a/packages/locale/locales/it/mes.po b/packages/locale/locales/it/mes.po
index a0442afb78..635a065b6a 100644
--- a/packages/locale/locales/it/mes.po
+++ b/packages/locale/locales/it/mes.po
@@ -1106,11 +1106,11 @@ msgstr "Altre opzioni"
msgid "Move column: {0}"
msgstr "Sposta colonna: {0}"
-msgid "Must be < {maxValue} {unitOfMeasureCode}"
-msgstr "Deve essere < {maxValue} {unitOfMeasureCode}"
+msgid "Must be at least {minValue} {unitOfMeasureCode}"
+msgstr "Deve essere almeno {minValue} {unitOfMeasureCode}"
-msgid "Must be > {minValue} {unitOfMeasureCode}"
-msgstr "Deve essere > {minValue} {unitOfMeasureCode}"
+msgid "Must be at most {maxValue} {unitOfMeasureCode}"
+msgstr "Deve essere al massimo {maxValue} {unitOfMeasureCode}"
msgid "Must be between {minValue} and {maxValue} {unitOfMeasureCode}"
msgstr "Deve essere compreso tra {minValue} e {maxValue} {unitOfMeasureCode}"
diff --git a/packages/locale/locales/ja/erp.po b/packages/locale/locales/ja/erp.po
index bb7e79bc28..e6616d65aa 100644
--- a/packages/locale/locales/ja/erp.po
+++ b/packages/locale/locales/ja/erp.po
@@ -14034,6 +14034,15 @@ msgstr "MRP は、既存の注文の日付がこの日数以上ずれている
msgid "Multiple jobs can run on this process at the same time — e.g. a laser table, furnace, or plating bath"
msgstr "複数の製造指図がこの工法上で同時に実行できます—例:レーザーテーブル、炉、またはめっき槽"
+msgid "Must be at least {minValue} {unitLabel}"
+msgstr "{minValue} {unitLabel} 以上である必要があります"
+
+msgid "Must be at most {maxValue} {unitLabel}"
+msgstr "{maxValue} {unitLabel} 以下である必要があります"
+
+msgid "Must be between {minValue} and {maxValue} {unitLabel}"
+msgstr "{minValue} から {maxValue} {unitLabel} の間である必要があります"
+
msgid "Must be in the same location"
msgstr "同じ場所にある必要があります"
diff --git a/packages/locale/locales/ja/mes.po b/packages/locale/locales/ja/mes.po
index ee1946a7b1..5b5f92a271 100644
--- a/packages/locale/locales/ja/mes.po
+++ b/packages/locale/locales/ja/mes.po
@@ -1106,11 +1106,11 @@ msgstr "その他のオプション"
msgid "Move column: {0}"
msgstr "カラムを移動: {0}"
-msgid "Must be < {maxValue} {unitOfMeasureCode}"
-msgstr "{maxValue} {unitOfMeasureCode} 未満である必要があります"
+msgid "Must be at least {minValue} {unitOfMeasureCode}"
+msgstr "{minValue} {unitOfMeasureCode} 以上である必要があります"
-msgid "Must be > {minValue} {unitOfMeasureCode}"
-msgstr "{minValue} {unitOfMeasureCode} より大きい必要があります"
+msgid "Must be at most {maxValue} {unitOfMeasureCode}"
+msgstr "{maxValue} {unitOfMeasureCode} 以下である必要があります"
msgid "Must be between {minValue} and {maxValue} {unitOfMeasureCode}"
msgstr "{minValue} から {maxValue} {unitOfMeasureCode} の間である必要があります"
diff --git a/packages/locale/locales/ko/erp.po b/packages/locale/locales/ko/erp.po
index 9618c9532d..7a883f379d 100644
--- a/packages/locale/locales/ko/erp.po
+++ b/packages/locale/locales/ko/erp.po
@@ -14034,6 +14034,15 @@ msgstr "MRP는 주문의 날짜가 이 일수보다 더 차이날 때만 기존
msgid "Multiple jobs can run on this process at the same time — e.g. a laser table, furnace, or plating bath"
msgstr "여러 작업 지시가 이 공법에서 동시에 실행될 수 있습니다 — 예: 레이저 테이블, 용광로 또는 도금 조에"
+msgid "Must be at least {minValue} {unitLabel}"
+msgstr "{minValue} {unitLabel} 이상이어야 합니다"
+
+msgid "Must be at most {maxValue} {unitLabel}"
+msgstr "{maxValue} {unitLabel} 이하여야 합니다"
+
+msgid "Must be between {minValue} and {maxValue} {unitLabel}"
+msgstr "{minValue}에서 {maxValue} {unitLabel} 사이여야 합니다"
+
msgid "Must be in the same location"
msgstr "동일한 위치에 있어야 합니다"
diff --git a/packages/locale/locales/ko/mes.po b/packages/locale/locales/ko/mes.po
index a23b726427..c9c1390477 100644
--- a/packages/locale/locales/ko/mes.po
+++ b/packages/locale/locales/ko/mes.po
@@ -1106,11 +1106,11 @@ msgstr "추가 옵션"
msgid "Move column: {0}"
msgstr "열 이동: {0}"
-msgid "Must be < {maxValue} {unitOfMeasureCode}"
-msgstr "{maxValue} {unitOfMeasureCode} 미만이어야 합니다"
+msgid "Must be at least {minValue} {unitOfMeasureCode}"
+msgstr "{minValue} {unitOfMeasureCode} 이상이어야 합니다"
-msgid "Must be > {minValue} {unitOfMeasureCode}"
-msgstr "{minValue} {unitOfMeasureCode} 초과여야 합니다"
+msgid "Must be at most {maxValue} {unitOfMeasureCode}"
+msgstr "{maxValue} {unitOfMeasureCode} 이하여야 합니다"
msgid "Must be between {minValue} and {maxValue} {unitOfMeasureCode}"
msgstr "{minValue}에서 {maxValue} {unitOfMeasureCode} 사이여야 합니다"
diff --git a/packages/locale/locales/pl/erp.po b/packages/locale/locales/pl/erp.po
index 3860592e05..b50f277537 100644
--- a/packages/locale/locales/pl/erp.po
+++ b/packages/locale/locales/pl/erp.po
@@ -14034,6 +14034,15 @@ msgstr "MRP sugeruje przesunięcie istniejącego zamówienia tylko gdy jego data
msgid "Multiple jobs can run on this process at the same time — e.g. a laser table, furnace, or plating bath"
msgstr "Wiele zleceń produkcyjnych może działać na tym procesie jednocześnie — np. laser, piec lub łaźnia galwaniczna"
+msgid "Must be at least {minValue} {unitLabel}"
+msgstr "Musi wynosić co najmniej {minValue} {unitLabel}"
+
+msgid "Must be at most {maxValue} {unitLabel}"
+msgstr "Musi wynosić co najwyżej {maxValue} {unitLabel}"
+
+msgid "Must be between {minValue} and {maxValue} {unitLabel}"
+msgstr "Musi być pomiędzy {minValue} a {maxValue} {unitLabel}"
+
msgid "Must be in the same location"
msgstr "Musi być w tej samej lokalizacji"
diff --git a/packages/locale/locales/pl/mes.po b/packages/locale/locales/pl/mes.po
index 30e1d7ce69..504a601db7 100644
--- a/packages/locale/locales/pl/mes.po
+++ b/packages/locale/locales/pl/mes.po
@@ -1106,11 +1106,11 @@ msgstr "Więcej opcji"
msgid "Move column: {0}"
msgstr "Przenieś kolumnę: {0}"
-msgid "Must be < {maxValue} {unitOfMeasureCode}"
-msgstr "Musi być < {maxValue} {unitOfMeasureCode}"
+msgid "Must be at least {minValue} {unitOfMeasureCode}"
+msgstr "Musi wynosić co najmniej {minValue} {unitOfMeasureCode}"
-msgid "Must be > {minValue} {unitOfMeasureCode}"
-msgstr "Musi być > {minValue} {unitOfMeasureCode}"
+msgid "Must be at most {maxValue} {unitOfMeasureCode}"
+msgstr "Musi wynosić co najwyżej {maxValue} {unitOfMeasureCode}"
msgid "Must be between {minValue} and {maxValue} {unitOfMeasureCode}"
msgstr "Musi być pomiędzy {minValue} a {maxValue} {unitOfMeasureCode}"
diff --git a/packages/locale/locales/pt/erp.po b/packages/locale/locales/pt/erp.po
index 811a7cc426..50e68a8283 100644
--- a/packages/locale/locales/pt/erp.po
+++ b/packages/locale/locales/pt/erp.po
@@ -14034,6 +14034,15 @@ msgstr "MRP sugere mover um pedido existente apenas quando sua data está fora d
msgid "Multiple jobs can run on this process at the same time — e.g. a laser table, furnace, or plating bath"
msgstr "Múltiplas ordens de produção podem ser executadas neste processo ao mesmo tempo — por exemplo, uma mesa a laser, forno ou banho de galvanização"
+msgid "Must be at least {minValue} {unitLabel}"
+msgstr "Deve ser pelo menos {minValue} {unitLabel}"
+
+msgid "Must be at most {maxValue} {unitLabel}"
+msgstr "Deve ser no máximo {maxValue} {unitLabel}"
+
+msgid "Must be between {minValue} and {maxValue} {unitLabel}"
+msgstr "Deve estar entre {minValue} e {maxValue} {unitLabel}"
+
msgid "Must be in the same location"
msgstr "Deve estar no mesmo local"
diff --git a/packages/locale/locales/pt/mes.po b/packages/locale/locales/pt/mes.po
index 955402a435..353e8f9104 100644
--- a/packages/locale/locales/pt/mes.po
+++ b/packages/locale/locales/pt/mes.po
@@ -1106,11 +1106,11 @@ msgstr "Mais opções"
msgid "Move column: {0}"
msgstr "Mover coluna: {0}"
-msgid "Must be < {maxValue} {unitOfMeasureCode}"
-msgstr "Deve ser < {maxValue} {unitOfMeasureCode}"
+msgid "Must be at least {minValue} {unitOfMeasureCode}"
+msgstr "Deve ser pelo menos {minValue} {unitOfMeasureCode}"
-msgid "Must be > {minValue} {unitOfMeasureCode}"
-msgstr "Deve ser > {minValue} {unitOfMeasureCode}"
+msgid "Must be at most {maxValue} {unitOfMeasureCode}"
+msgstr "Deve ser no máximo {maxValue} {unitOfMeasureCode}"
msgid "Must be between {minValue} and {maxValue} {unitOfMeasureCode}"
msgstr "Deve estar entre {minValue} e {maxValue} {unitOfMeasureCode}"
diff --git a/packages/locale/locales/ru/erp.po b/packages/locale/locales/ru/erp.po
index 7a60c1615e..0694505004 100644
--- a/packages/locale/locales/ru/erp.po
+++ b/packages/locale/locales/ru/erp.po
@@ -14034,6 +14034,15 @@ msgstr "MRP предлагает переместить существующий
msgid "Multiple jobs can run on this process at the same time — e.g. a laser table, furnace, or plating bath"
msgstr "Несколько производственных заказов могут выполняться на этом процессе одновременно — например, лазерный станок, печь или ванна для гальваники"
+msgid "Must be at least {minValue} {unitLabel}"
+msgstr "Должно быть не менее {minValue} {unitLabel}"
+
+msgid "Must be at most {maxValue} {unitLabel}"
+msgstr "Должно быть не более {maxValue} {unitLabel}"
+
+msgid "Must be between {minValue} and {maxValue} {unitLabel}"
+msgstr "Должно быть между {minValue} и {maxValue} {unitLabel}"
+
msgid "Must be in the same location"
msgstr "Должно быть в одном месте"
diff --git a/packages/locale/locales/ru/mes.po b/packages/locale/locales/ru/mes.po
index 2fbbddeb59..669bfa7310 100644
--- a/packages/locale/locales/ru/mes.po
+++ b/packages/locale/locales/ru/mes.po
@@ -1106,11 +1106,11 @@ msgstr "Дополнительные действия"
msgid "Move column: {0}"
msgstr "Переместить столбец: {0}"
-msgid "Must be < {maxValue} {unitOfMeasureCode}"
-msgstr "Должно быть < {maxValue} {unitOfMeasureCode}"
+msgid "Must be at least {minValue} {unitOfMeasureCode}"
+msgstr "Должно быть не менее {minValue} {unitOfMeasureCode}"
-msgid "Must be > {minValue} {unitOfMeasureCode}"
-msgstr "Должно быть > {minValue} {unitOfMeasureCode}"
+msgid "Must be at most {maxValue} {unitOfMeasureCode}"
+msgstr "Должно быть не более {maxValue} {unitOfMeasureCode}"
msgid "Must be between {minValue} and {maxValue} {unitOfMeasureCode}"
msgstr "Должно быть между {minValue} и {maxValue} {unitOfMeasureCode}"
diff --git a/packages/locale/locales/tr/erp.po b/packages/locale/locales/tr/erp.po
index 856bdb257e..806e0eb03a 100644
--- a/packages/locale/locales/tr/erp.po
+++ b/packages/locale/locales/tr/erp.po
@@ -14034,6 +14034,15 @@ msgstr "MRP, mevcut bir siparişi ancak tarihinden bu sayıda günden fazla fark
msgid "Multiple jobs can run on this process at the same time — e.g. a laser table, furnace, or plating bath"
msgstr "Bu Proses üzerinde aynı anda birden fazla İş emri çalışabilir — örneğin bir lazer masası, fırın veya kaplama havuzu"
+msgid "Must be at least {minValue} {unitLabel}"
+msgstr "En az {minValue} {unitLabel} olmalıdır"
+
+msgid "Must be at most {maxValue} {unitLabel}"
+msgstr "En fazla {maxValue} {unitLabel} olmalıdır"
+
+msgid "Must be between {minValue} and {maxValue} {unitLabel}"
+msgstr "{minValue} ile {maxValue} {unitLabel} arasında olmalıdır"
+
msgid "Must be in the same location"
msgstr "Aynı konumda olmalıdır"
diff --git a/packages/locale/locales/tr/mes.po b/packages/locale/locales/tr/mes.po
index e7f115018d..8aba09424d 100644
--- a/packages/locale/locales/tr/mes.po
+++ b/packages/locale/locales/tr/mes.po
@@ -1106,14 +1106,14 @@ msgstr "Daha fazla seçenek"
msgid "Move column: {0}"
msgstr "Sütunu taşı: {0}"
-msgid "Must be < {maxValue} {unitOfMeasureCode}"
-msgstr "Küçük olmalı < {maxValue} {unitOfMeasureCode}"
+msgid "Must be at least {minValue} {unitOfMeasureCode}"
+msgstr "En az {minValue} {unitOfMeasureCode} olmalıdır"
-msgid "Must be > {minValue} {unitOfMeasureCode}"
-msgstr "Küçük olmalı > {minValue} {unitOfMeasureCode}"
+msgid "Must be at most {maxValue} {unitOfMeasureCode}"
+msgstr "En fazla {maxValue} {unitOfMeasureCode} olmalıdır"
msgid "Must be between {minValue} and {maxValue} {unitOfMeasureCode}"
-msgstr "Aralması gereken değer {minValue} ile {maxValue} arasındadır"
+msgstr "{minValue} ile {maxValue} {unitOfMeasureCode} arasında olmalıdır"
msgid "My Hours"
msgstr "Saatlik Çalışmalarım"
diff --git a/packages/locale/locales/zh/erp.po b/packages/locale/locales/zh/erp.po
index f491609909..0b6a2b09ea 100644
--- a/packages/locale/locales/zh/erp.po
+++ b/packages/locale/locales/zh/erp.po
@@ -14034,6 +14034,15 @@ msgstr "MRP 仅在现有订单的日期偏差超过此天数时才建议移动
msgid "Multiple jobs can run on this process at the same time — e.g. a laser table, furnace, or plating bath"
msgstr "多个作业可以同时在此工序上运行 — 例如激光切割机、炉子或电镀槽"
+msgid "Must be at least {minValue} {unitLabel}"
+msgstr "必须不小于 {minValue} {unitLabel}"
+
+msgid "Must be at most {maxValue} {unitLabel}"
+msgstr "必须不大于 {maxValue} {unitLabel}"
+
+msgid "Must be between {minValue} and {maxValue} {unitLabel}"
+msgstr "必须在 {minValue} 到 {maxValue} {unitLabel} 之间"
+
msgid "Must be in the same location"
msgstr "必须在同一位置"
diff --git a/packages/locale/locales/zh/mes.po b/packages/locale/locales/zh/mes.po
index edb79e2040..8f4c7b0bf0 100644
--- a/packages/locale/locales/zh/mes.po
+++ b/packages/locale/locales/zh/mes.po
@@ -1106,11 +1106,11 @@ msgstr "更多选项"
msgid "Move column: {0}"
msgstr "移动列:{0}"
-msgid "Must be < {maxValue} {unitOfMeasureCode}"
-msgstr "必须小于 {maxValue} {unitOfMeasureCode}"
+msgid "Must be at least {minValue} {unitOfMeasureCode}"
+msgstr "必须不小于 {minValue} {unitOfMeasureCode}"
-msgid "Must be > {minValue} {unitOfMeasureCode}"
-msgstr "必须大于 {minValue} {unitOfMeasureCode}"
+msgid "Must be at most {maxValue} {unitOfMeasureCode}"
+msgstr "必须不大于 {maxValue} {unitOfMeasureCode}"
msgid "Must be between {minValue} and {maxValue} {unitOfMeasureCode}"
msgstr "必须在 {minValue} 到 {maxValue} {unitOfMeasureCode} 之间"