fix(profiles): name the Plex user and account in one translated chip

A Plex account connection labels itself with the account owner's name.
Under a profile tile that reads as being signed in as the owner: the
Plex Home tile showed the owner beneath the Home user's own name, and a
local profile that borrowed a Home user out of someone else's account
showed only the lender.

Both halves of the relation now go through a single translated string,
so a locale orders them itself instead of inheriting the English
"user via account" — az, hu, ja, kk, ko, tr, uz, zh and zh-Hant put the
account first. When the Home cache cannot resolve the connection's uuid
the chip names the account alone rather than falling back to a bare
name. ProfilesView carries the Home user cache that resolution needs,
and chip labels ellipsize now that an account label can be an email.
This commit is contained in:
edde746
2026-08-05 13:05:15 +02:00
parent edaff1fbfc
commit 26dbce0277
48 changed files with 437 additions and 139 deletions
+2 -1
View File
@@ -763,7 +763,6 @@
"deleteThisProfileTitle": "Да се изтрие ли този профил?",
"deleteThisProfileMessage": "Премахване на ${displayName}. Връзките не се засягат.",
"active": "Активен",
"viaPlexAccount": "",
"manage": "Управление",
"delete": "Изтрий",
"signOut": "Изход",
@@ -795,6 +794,8 @@
"noConnectionsHint": "Няма връзки — добавете такава, за да използвате този профил.",
"noConnections": "Няма връзки",
"plexHomeAccount": "Plex Home акаунт",
"plexAccountChip": "Plex акаунт: ${account}",
"plexAccountUserChip": "${user} през ${account}",
"connectionDefault": "По подразбиране",
"connectionAs": "като ${displayName}",
"makeDefault": "Направи по подразбиране",