fix: add missing i18n strings (#671)
* fix: added required i18n labels to UI * added node i18n * updated tests * updated path to match github action
This commit is contained in:
+3
-3
@@ -41,9 +41,9 @@ i18next
|
||||
fallbackLng: {
|
||||
default: [FALLBACK_LANGUAGE_CODE],
|
||||
"en-GB": [FALLBACK_LANGUAGE_CODE],
|
||||
"fi": ["fi-FI"],
|
||||
"sv": ["sv-SE"],
|
||||
"de": ["de-DE"],
|
||||
"fi": ["fi-FI", FALLBACK_LANGUAGE_CODE],
|
||||
"sv": ["sv-SE", FALLBACK_LANGUAGE_CODE],
|
||||
"de": ["de-DE", FALLBACK_LANGUAGE_CODE],
|
||||
},
|
||||
fallbackNS: ["common", "ui", "dialog"],
|
||||
debug: import.meta.env.MODE === "development",
|
||||
|
||||
@@ -24,7 +24,8 @@
|
||||
"reset": "Reset",
|
||||
"save": "Save",
|
||||
"scanQr": "Scan QR Code",
|
||||
"traceRoute": "Trace Route"
|
||||
"traceRoute": "Trace Route",
|
||||
"submit": "Submit"
|
||||
},
|
||||
"app": {
|
||||
"title": "Meshtastic",
|
||||
@@ -48,6 +49,7 @@
|
||||
"raw": "raw",
|
||||
"meter": { "one": "Meter", "plural": "Meters", "suffix": "m" },
|
||||
"minute": { "one": "Minute", "plural": "Minutes" },
|
||||
"hour": { "one": "Hour", "plural": "Hours" },
|
||||
"millisecond": {
|
||||
"one": "Millisecond",
|
||||
"plural": "Milliseconds",
|
||||
@@ -55,11 +57,16 @@
|
||||
},
|
||||
"second": { "one": "Second", "plural": "Seconds" },
|
||||
"day": { "one": "Day", "plural": "Days" },
|
||||
"month": { "one": "Month", "plural": "Months" },
|
||||
"year": { "one": "Year", "plural": "Years" },
|
||||
"snr": "SNR",
|
||||
"volt": { "one": "Volt", "plural": "Volts", "suffix": "V" },
|
||||
"record": { "one": "Records", "plural": "Records" }
|
||||
},
|
||||
"security": {
|
||||
"0bit": "Empty",
|
||||
"8bit": "8 bit",
|
||||
"128bit": "128 bit",
|
||||
"256bit": "256 bit"
|
||||
},
|
||||
"unknown": {
|
||||
@@ -71,6 +78,7 @@
|
||||
"nodeUnknownPrefix": "!",
|
||||
"unset": "UNSET",
|
||||
"fallbackName": "Meshtastic {{last4}}",
|
||||
"node": "Node",
|
||||
"formValidation": {
|
||||
"unsavedChanges": "Unsaved changes",
|
||||
"tooBig": {
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
{
|
||||
"page": {
|
||||
"title": "Messages: {{chatName}}"
|
||||
"title": "Messages: {{chatName}}",
|
||||
"placeholder": "Enter Message"
|
||||
},
|
||||
"emptyState": {
|
||||
"title": "Select a Chat",
|
||||
@@ -10,7 +11,7 @@
|
||||
"text": "Select a channel or node to start messaging."
|
||||
},
|
||||
"sendMessage": {
|
||||
"placeholder": "Type your message here...",
|
||||
"placeholder": "Enter your message here...",
|
||||
"sendButton": "Send"
|
||||
},
|
||||
"actionsMenu": {
|
||||
@@ -18,24 +19,22 @@
|
||||
"replyLabel": "Reply"
|
||||
},
|
||||
|
||||
"item": {
|
||||
"status": {
|
||||
"delivered": {
|
||||
"label": "Message delivered",
|
||||
"displayText": "Message delivered"
|
||||
},
|
||||
"failed": {
|
||||
"label": "Message delivery failed",
|
||||
"displayText": "Delivery failed"
|
||||
},
|
||||
"unknown": {
|
||||
"label": "Message status unknown",
|
||||
"displayText": "Unknown state"
|
||||
},
|
||||
"waiting": {
|
||||
"ariaLabel": "Sending message",
|
||||
"displayText": "Waiting for delivery"
|
||||
}
|
||||
"deliveryStatus": {
|
||||
"delivered": {
|
||||
"label": "Message delivered",
|
||||
"displayText": "Message delivered"
|
||||
},
|
||||
"failed": {
|
||||
"label": "Message delivery failed",
|
||||
"displayText": "Delivery failed"
|
||||
},
|
||||
"unknown": {
|
||||
"label": "Message status unknown",
|
||||
"displayText": "Unknown state"
|
||||
},
|
||||
"waiting": {
|
||||
"label": "Sending message",
|
||||
"displayText": "Waiting for delivery"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -10,11 +10,16 @@
|
||||
"label": "Direct Message {{shortName}}"
|
||||
},
|
||||
"favorite": {
|
||||
"label": "Favorite"
|
||||
"label": "Favorite",
|
||||
"tooltip": "Add or remove this node from your favorites"
|
||||
},
|
||||
"notFavorite": {
|
||||
"label": "Not a Favorite"
|
||||
},
|
||||
"error": {
|
||||
"label": "Error",
|
||||
"text": "An error occurred while fetching node details. Please try again later."
|
||||
},
|
||||
"status": {
|
||||
"heard": "Heard",
|
||||
"mqtt": "MQTT"
|
||||
@@ -47,5 +52,13 @@
|
||||
"lastHeardStatus": {
|
||||
"never": "Never"
|
||||
}
|
||||
},
|
||||
|
||||
"actions": {
|
||||
"added": "Added",
|
||||
"removed": "Removed",
|
||||
"ignoreNode": "Ignore Node",
|
||||
"unignoreNode": "Unignore Node",
|
||||
"requestPosition": "Request Position"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -66,6 +66,24 @@
|
||||
"saveSuccess": {
|
||||
"title": "Saving Config",
|
||||
"description": "The configuration change {{case}} has been saved."
|
||||
},
|
||||
"favoriteNode": {
|
||||
"title": "{{action}} {{nodeName}} {{direction}} favorites.",
|
||||
"action": {
|
||||
"added": "Added",
|
||||
"removed": "Removed",
|
||||
"to": "to",
|
||||
"from": "from"
|
||||
}
|
||||
},
|
||||
"ignoreNode": {
|
||||
"title": "{{action}} {{nodeName}} {{direction}} ignore list",
|
||||
"action": {
|
||||
"added": "Added",
|
||||
"removed": "Removed",
|
||||
"to": "to",
|
||||
"from": "from"
|
||||
}
|
||||
}
|
||||
},
|
||||
"notifications": {
|
||||
|
||||
Reference in New Issue
Block a user