@trackunit/translations-machine-type 1.4.38 → 1.4.41

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/index.cjs.js CHANGED
@@ -1065,6 +1065,9 @@ const useMachineTypeTranslations = () => {
1065
1065
  else if (type === undefined) {
1066
1066
  return t("machine.types.UNDEFINED");
1067
1067
  }
1068
+ else if (type === "Unknown") {
1069
+ return t("machine.types.Unknown");
1070
+ }
1068
1071
  else if (isKnownMachineType(type)) {
1069
1072
  return t(`machine.types.${type}`);
1070
1073
  }
package/index.esm.js CHANGED
@@ -1063,6 +1063,9 @@ const useMachineTypeTranslations = () => {
1063
1063
  else if (type === undefined) {
1064
1064
  return t("machine.types.UNDEFINED");
1065
1065
  }
1066
+ else if (type === "Unknown") {
1067
+ return t("machine.types.Unknown");
1068
+ }
1066
1069
  else if (isKnownMachineType(type)) {
1067
1070
  return t(`machine.types.${type}`);
1068
1071
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@trackunit/translations-machine-type",
3
- "version": "1.4.38",
3
+ "version": "1.4.41",
4
4
  "repository": "https://github.com/Trackunit/manager",
5
5
  "license": "SEE LICENSE IN LICENSE.txt",
6
6
  "engines": {
@@ -10,8 +10,8 @@
10
10
  "react": "19.0.0",
11
11
  "jest-fetch-mock": "^3.0.3",
12
12
  "string-ts": "^2.0.0",
13
- "@trackunit/i18n-library-translation": "1.4.36",
14
- "@trackunit/react-test-setup": "1.1.28"
13
+ "@trackunit/i18n-library-translation": "1.4.39",
14
+ "@trackunit/react-test-setup": "1.1.31"
15
15
  },
16
16
  "module": "./index.esm.js",
17
17
  "main": "./index.cjs.js",