refactor(i18n): show the installations status through translateStatusMessage

This commit is contained in:
German Khokhlov committed 2026-11-18 16:52:52 +04:00
1 parent dc13be07c0
commit e4e7b32289
5 files changed
+11 -22

No files matched your search

+1 -1
View File
@@ -300,7 +300,7 @@ function statusPatternText(piece) {
}
/** One piece of a status line in the UI language, or as it came. */
export function translateStatusPiece(piece) {
function translateStatusPiece(piece) {
const known = translateKnown(piece);
if (known !== piece) return known;
return statusPatternText(piece) ?? piece;