From 28638ef97ba8e5d98600fa9b8823fb621090f936 Mon Sep 17 00:00:00 2001 From: mlopezsegura <90263997+mlopezsegura@users.noreply.github.com> Date: Sat, 14 Nov 2026 11:33:44 +0100 Subject: [PATCH] Pick the Windows user from a list of local accounts The non-isolated RDP session no longer asks for a typed user name and domain: the form lists the enabled local accounts (without osms-*), marks the one on this PC's desktop and the ones other sessions use, and proposes a free one. Co-Authored-By: Claude Opus 5.5 --- Core/Api/SessionEndpoints.cs | 25 ++++++++++++++++ Core/Helpers/IsolatedUserManager.cs | 45 +++++++++++++++++++++++++++++ Core/wwwroot/app.js | 38 +++++++++++++++++++++++- Core/wwwroot/index.html | 14 ++++----- Core/wwwroot/locales/bg.json | 5 +++- Core/wwwroot/locales/cs.json | 5 +++- Core/wwwroot/locales/de.json | 5 +++- Core/wwwroot/locales/en.json | 5 +++- Core/wwwroot/locales/en_GB.json | 5 +++- Core/wwwroot/locales/en_US.json | 5 +++- Core/wwwroot/locales/es.json | 5 +++- Core/wwwroot/locales/fr.json | 5 +++- Core/wwwroot/locales/hu.json | 5 +++- Core/wwwroot/locales/it.json | 5 +++- Core/wwwroot/locales/ja.json | 5 +++- Core/wwwroot/locales/ko.json | 5 +++- Core/wwwroot/locales/pl.json | 5 +++- Core/wwwroot/locales/pt.json | 5 +++- Core/wwwroot/locales/pt_BR.json | 5 +++- Core/wwwroot/locales/ru.json | 5 +++- Core/wwwroot/locales/sv.json | 5 +++- Core/wwwroot/locales/tr.json | 5 +++- Core/wwwroot/locales/uk.json | 5 +++- Core/wwwroot/locales/vi.json | 5 +++- Core/wwwroot/locales/zh.json | 5 +++- Core/wwwroot/locales/zh_TW.json | 5 +++- 26 files changed, 200 insertions(+), 32 deletions(-) diff --git a/Core/Api/SessionEndpoints.cs b/Core/Api/SessionEndpoints.cs index f95e64f..620bcf7 100644 --- a/Core/Api/SessionEndpoints.cs +++ b/Core/Api/SessionEndpoints.cs @@ -260,6 +260,12 @@ public record SessionResponse( ); /// Usuario dedicado o perfil osms-* que ya no usa ninguna sesión. +/// Cuenta local de Windows elegible para una sesión RDP. +/// Nombre de la cuenta (SAM). +/// Nombre completo, vacío si no tiene. +/// true si es el usuario del escritorio físico de este PC. +public record LocalUserResponse(string Name, string FullName, bool Console); + public record OrphanUserResponse( /// Identificador para borrarlo (user:..., sid:... o dir:...). string Key, @@ -383,6 +389,16 @@ el directorio de perfiles. Los que tienen cuenta se pueden reutilizar al crear u sesión aislada (ReuseIsolatedUser). ?sizes=true calcula el tamaño de cada perfil. """); + // GET /api/sessions/local-users (antes que /{id:guid}) + group.MapGet("/local-users", ListLocalUsers) + .WithName("ListLocalUsers") + .WithSummary("Usuarios locales de Windows para una sesión RDP") + .WithDescription(""" + Cuentas locales normales, habilitadas y sin bloquear de este PC, sin los usuarios + dedicados osms-*. La UI las ofrece en una lista al crear una sesión RDP no aislada. + Console=true marca el usuario que tiene abierto el escritorio físico. + """); + // DELETE /api/sessions/isolated-users?key=... group.MapDelete("/isolated-users", DeleteOrphanUser) .WithName("DeleteOrphanIsolatedUser") @@ -618,6 +634,15 @@ static Ok> ListOrphanUsers(StreamSessionService o.Key, o.Name, o.AccountExists, o.ProfilePath, o.SizeBytes, o.SignedIn, o.AccountExists ? SteamLoginProbe.GetState(o.Name) : null))); + static Ok> ListLocalUsers() + { + ConsoleSession.TryGetUser(out _, out var consoleDomain, out var consoleUser); + bool consoleIsLocal = string.Equals(consoleDomain, Environment.MachineName, StringComparison.OrdinalIgnoreCase); + return TypedResults.Ok(IsolatedUserManager.ListLocalAccounts().Select(u => new LocalUserResponse( + u.Name, u.FullName, + consoleIsLocal && string.Equals(u.Name, consoleUser, StringComparison.OrdinalIgnoreCase)))); + } + static Results> DeleteOrphanUser(string key, StreamSessionService svc) { try diff --git a/Core/Helpers/IsolatedUserManager.cs b/Core/Helpers/IsolatedUserManager.cs index 7518460..268a639 100644 --- a/Core/Helpers/IsolatedUserManager.cs +++ b/Core/Helpers/IsolatedUserManager.cs @@ -87,6 +87,16 @@ struct USER_INFO_1 public string? usri1_script_path; } + [StructLayout(LayoutKind.Sequential, CharSet = CharSet.Unicode)] + struct USER_INFO_20 + { + public string? usri20_name; + public string? usri20_full_name; + public string? usri20_comment; + public uint usri20_flags; + public uint usri20_user_id; + } + [StructLayout(LayoutKind.Sequential, CharSet = CharSet.Unicode)] struct USER_INFO_1003 { @@ -110,6 +120,8 @@ struct LOCALGROUP_MEMBERS_INFO_3 const int MAX_PREFERRED_LENGTH = -1; const uint USER_PRIV_USER = 1; const uint UF_SCRIPT = 0x0001; // obligatorio en NetUserAdd + const uint UF_ACCOUNTDISABLE = 0x0002; + const uint UF_LOCKOUT = 0x0010; const uint UF_DONT_EXPIRE_PASSWD = 0x10000; const string UserListKey = @@ -348,6 +360,39 @@ internal static List ListManagedAccounts() return names; } + /// Cuenta local de Windows que se puede elegir para una sesión RDP. + internal sealed record LocalAccount(string Name, string FullName); + + /// + /// Cuentas locales normales habilitadas y sin bloquear, sin las osms-* que gestiona + /// OpenStreamMS (esas van por la sesión aislada). Ordenadas por nombre. + /// + internal static List ListLocalAccounts() + { + var result = new List(); + int resume = 0, rc; + int size = Marshal.SizeOf(); + do + { + rc = NetUserEnum(null, 20, FILTER_NORMAL_ACCOUNT, out var buf, MAX_PREFERRED_LENGTH, + out int read, out _, ref resume); + if (rc is not (NERR_Success or ERROR_MORE_DATA)) break; + try + { + for (int i = 0; i < read; i++) + { + var u = Marshal.PtrToStructure(buf + i * size); + if (string.IsNullOrEmpty(u.usri20_name) || IsManagedName(u.usri20_name)) continue; + if ((u.usri20_flags & (UF_ACCOUNTDISABLE | UF_LOCKOUT)) != 0) continue; + result.Add(new LocalAccount(u.usri20_name, u.usri20_full_name ?? "")); + } + } + finally { NetApiBufferFree(buf); } + } while (rc == ERROR_MORE_DATA); + result.Sort((a, b) => string.Compare(a.Name, b.Name, StringComparison.OrdinalIgnoreCase)); + return result; + } + /// /// Usuarios dedicados sin sesión, perfiles de cuentas ya borradas y carpetas sueltas /// osms-* en el directorio de perfiles. : usuarios de las sesiones. diff --git a/Core/wwwroot/app.js b/Core/wwwroot/app.js index d7ef27a..6f80c1a 100644 --- a/Core/wwwroot/app.js +++ b/Core/wwwroot/app.js @@ -410,6 +410,40 @@ function updateIsolatedUi() { if (reusing) byId('sess-ephemeral').checked = false; } +// ── Usuarios locales para la sesión RDP ──────────────────────────────────── +let localUsers = []; // GET /api/sessions/local-users + +async function loadLocalUsers() { + const res = await api('GET', '/api/sessions/local-users'); + if (!res || !res.ok) return; + localUsers = await res.json(); +} + +// Rellena la lista de usuarios de Windows. Propone el primero que no use ninguna sesión +// ni tenga abierto el escritorio de este PC; si no hay ninguno así, el primero. +function fillLocalUserOptions() { + const sel = byId('sess-user'); + if (!sel) return; + const current = sel.value; + const usedBy = new Map(); + for (const s of sessions) { + if (s.username && (!s.domain || s.domain === '.')) usedBy.set(s.username.toLowerCase(), s.name); + } + const tag = u => { + const session = usedBy.get(u.name.toLowerCase()); + if (session) return t('new.userTagInUse', { name: session }); + return u.console ? t('new.userTagConsole') : ''; + }; + sel.innerHTML = localUsers.map(u => { + const label = u.fullName && u.fullName !== u.name ? `${u.name} (${u.fullName})` : u.name; + const extra = tag(u); + return ``; + }).join(''); + const free = localUsers.find(u => !usedBy.has(u.name.toLowerCase()) && !u.console); + sel.value = localUsers.some(u => u.name === current) ? current : (free || localUsers[0] || {}).name || ''; + byId('sess-user-none').style.display = localUsers.length ? 'none' : ''; +} + // Usuarios dedicados conservados que se pueden asignar a una sesión nueva. function reusableUsers() { return orphanUsers.filter(o => o.accountExists && !o.signedIn); @@ -468,6 +502,8 @@ function openNewModal() { stopRefresh(); suggestPorts(); loadOrphans().then(() => { fillReuseOptions(); updateIsolatedUi(); }); + fillLocalUserOptions(); + loadLocalUsers().then(() => { fillLocalUserOptions(); resetCredTest(); }); byId('sess-name').focus(); } @@ -578,7 +614,7 @@ async function submitSession(e) { if (needsCreds() && !credentialsTested) { if (!byId('sess-user').value.trim() || !byId('sess-pass').value) { fail(t('credTest.needCreds')); - byId(byId('sess-user').value.trim() ? 'sess-pass' : 'sess-user').focus(); + if (byId('sess-user').value) byId('sess-pass').focus(); return; } if (!await testCredentials()) { fail(t('new.errorTestCreds')); return; } diff --git a/Core/wwwroot/index.html b/Core/wwwroot/index.html index 60c32b7..2eaffb8 100644 --- a/Core/wwwroot/index.html +++ b/Core/wwwroot/index.html @@ -275,15 +275,11 @@

Un usuario conservado mantiene su perfil: el login de Steam, las partidas guardadas y los ajustes de los juegos.
-
-
- - -
-
- - -
+
+ + + +
diff --git a/Core/wwwroot/locales/bg.json b/Core/wwwroot/locales/bg.json index cb7e5cb..b2b315a 100644 --- a/Core/wwwroot/locales/bg.json +++ b/Core/wwwroot/locales/bg.json @@ -710,5 +710,8 @@ "log.noMatches": "Няма редове, отговарящи на филтъра.", "view.toggle": "Изглед на сесиите", "view.cards": "Карти", - "view.list": "Списък" + "view.list": "Списък", + "new.userNoneLocal": "На този компютър няма активирани локални потребители. Създайте такъв в Настройки на Windows › Акаунти.", + "new.userTagConsole": "работният плот на този компютър", + "new.userTagInUse": "използва се: {name}" } diff --git a/Core/wwwroot/locales/cs.json b/Core/wwwroot/locales/cs.json index 554bc6c..0f44e8d 100644 --- a/Core/wwwroot/locales/cs.json +++ b/Core/wwwroot/locales/cs.json @@ -710,5 +710,8 @@ "log.noMatches": "Filtru neodpovídá žádný řádek.", "view.toggle": "Zobrazení relací", "view.cards": "Karty", - "view.list": "Seznam" + "view.list": "Seznam", + "new.userNoneLocal": "Na tomto počítači nejsou žádní povolení místní uživatelé. Vytvořte ho v Nastavení Windows › Účty.", + "new.userTagConsole": "plocha tohoto počítače", + "new.userTagInUse": "používá: {name}" } diff --git a/Core/wwwroot/locales/de.json b/Core/wwwroot/locales/de.json index 6bab525..5905d88 100644 --- a/Core/wwwroot/locales/de.json +++ b/Core/wwwroot/locales/de.json @@ -710,5 +710,8 @@ "log.noMatches": "Keine Zeile entspricht dem Filter.", "view.toggle": "Sitzungsansicht", "view.cards": "Karten", - "view.list": "Liste" + "view.list": "Liste", + "new.userNoneLocal": "Auf diesem PC gibt es keine aktivierten lokalen Benutzer. Lege einen unter Windows-Einstellungen › Konten an.", + "new.userTagConsole": "Desktop dieses PCs", + "new.userTagInUse": "belegt: {name}" } diff --git a/Core/wwwroot/locales/en.json b/Core/wwwroot/locales/en.json index c858ab0..f372be5 100644 --- a/Core/wwwroot/locales/en.json +++ b/Core/wwwroot/locales/en.json @@ -710,5 +710,8 @@ "log.noMatches": "No lines match the filter.", "view.toggle": "Sessions view", "view.cards": "Cards", - "view.list": "List" + "view.list": "List", + "new.userNoneLocal": "There are no enabled local users on this PC. Create one in Windows Settings › Accounts.", + "new.userTagConsole": "this PC's desktop", + "new.userTagInUse": "in use: {name}" } diff --git a/Core/wwwroot/locales/en_GB.json b/Core/wwwroot/locales/en_GB.json index b8e9aef..c8490fe 100644 --- a/Core/wwwroot/locales/en_GB.json +++ b/Core/wwwroot/locales/en_GB.json @@ -710,5 +710,8 @@ "log.noMatches": "No lines match the filter.", "view.toggle": "Sessions view", "view.cards": "Cards", - "view.list": "List" + "view.list": "List", + "new.userNoneLocal": "There are no enabled local users on this PC. Create one in Windows Settings › Accounts.", + "new.userTagConsole": "this PC's desktop", + "new.userTagInUse": "in use: {name}" } diff --git a/Core/wwwroot/locales/en_US.json b/Core/wwwroot/locales/en_US.json index 0bbe5d6..83837c6 100644 --- a/Core/wwwroot/locales/en_US.json +++ b/Core/wwwroot/locales/en_US.json @@ -710,5 +710,8 @@ "log.noMatches": "No lines match the filter.", "view.toggle": "Sessions view", "view.cards": "Cards", - "view.list": "List" + "view.list": "List", + "new.userNoneLocal": "There are no enabled local users on this PC. Create one in Windows Settings › Accounts.", + "new.userTagConsole": "this PC's desktop", + "new.userTagInUse": "in use: {name}" } diff --git a/Core/wwwroot/locales/es.json b/Core/wwwroot/locales/es.json index e4ec689..40cdf9d 100644 --- a/Core/wwwroot/locales/es.json +++ b/Core/wwwroot/locales/es.json @@ -710,5 +710,8 @@ "log.noMatches": "Ninguna línea coincide con el filtro.", "view.toggle": "Vista de sesiones", "view.cards": "Tarjetas", - "view.list": "Lista" + "view.list": "Lista", + "new.userNoneLocal": "No hay usuarios locales habilitados en este PC. Crea uno en Configuración de Windows › Cuentas.", + "new.userTagConsole": "escritorio de este PC", + "new.userTagInUse": "en uso: {name}" } diff --git a/Core/wwwroot/locales/fr.json b/Core/wwwroot/locales/fr.json index a0d5ac8..1941ebf 100644 --- a/Core/wwwroot/locales/fr.json +++ b/Core/wwwroot/locales/fr.json @@ -710,5 +710,8 @@ "log.noMatches": "Aucune ligne ne correspond au filtre.", "view.toggle": "Vue des sessions", "view.cards": "Cartes", - "view.list": "Liste" + "view.list": "Liste", + "new.userNoneLocal": "Aucun utilisateur local activé sur ce PC. Créez-en un dans Paramètres Windows › Comptes.", + "new.userTagConsole": "bureau de ce PC", + "new.userTagInUse": "utilisé par : {name}" } diff --git a/Core/wwwroot/locales/hu.json b/Core/wwwroot/locales/hu.json index ba99a28..ddae81f 100644 --- a/Core/wwwroot/locales/hu.json +++ b/Core/wwwroot/locales/hu.json @@ -710,5 +710,8 @@ "log.noMatches": "Egy sor sem felel meg a szűrőnek.", "view.toggle": "Munkamenetek nézete", "view.cards": "Kártyák", - "view.list": "Lista" + "view.list": "Lista", + "new.userNoneLocal": "Ezen a gépen nincs engedélyezett helyi felhasználó. Hozzon létre egyet a Windows Gépház › Fiókok részben.", + "new.userTagConsole": "a gép asztala", + "new.userTagInUse": "használja: {name}" } diff --git a/Core/wwwroot/locales/it.json b/Core/wwwroot/locales/it.json index 26cab9c..6445eb1 100644 --- a/Core/wwwroot/locales/it.json +++ b/Core/wwwroot/locales/it.json @@ -710,5 +710,8 @@ "log.noMatches": "Nessuna riga corrisponde al filtro.", "view.toggle": "Vista sessioni", "view.cards": "Schede", - "view.list": "Elenco" + "view.list": "Elenco", + "new.userNoneLocal": "Su questo PC non ci sono utenti locali abilitati. Creane uno in Impostazioni di Windows › Account.", + "new.userTagConsole": "desktop di questo PC", + "new.userTagInUse": "in uso: {name}" } diff --git a/Core/wwwroot/locales/ja.json b/Core/wwwroot/locales/ja.json index 07ec56f..5d92884 100644 --- a/Core/wwwroot/locales/ja.json +++ b/Core/wwwroot/locales/ja.json @@ -710,5 +710,8 @@ "log.noMatches": "フィルターに一致する行はありません。", "view.toggle": "セッションの表示", "view.cards": "カード", - "view.list": "リスト" + "view.list": "リスト", + "new.userNoneLocal": "この PC に有効なローカル ユーザーがありません。Windows の設定 › アカウントで作成してください。", + "new.userTagConsole": "この PC のデスクトップ", + "new.userTagInUse": "使用中: {name}" } diff --git a/Core/wwwroot/locales/ko.json b/Core/wwwroot/locales/ko.json index 315105a..24e7436 100644 --- a/Core/wwwroot/locales/ko.json +++ b/Core/wwwroot/locales/ko.json @@ -710,5 +710,8 @@ "log.noMatches": "필터와 일치하는 줄이 없습니다.", "view.toggle": "세션 보기", "view.cards": "카드", - "view.list": "목록" + "view.list": "목록", + "new.userNoneLocal": "이 PC에 사용 가능한 로컬 사용자가 없습니다. Windows 설정 › 계정에서 만드세요.", + "new.userTagConsole": "이 PC의 데스크톱", + "new.userTagInUse": "사용 중: {name}" } diff --git a/Core/wwwroot/locales/pl.json b/Core/wwwroot/locales/pl.json index 2721810..1af1687 100644 --- a/Core/wwwroot/locales/pl.json +++ b/Core/wwwroot/locales/pl.json @@ -710,5 +710,8 @@ "log.noMatches": "Żadna linia nie pasuje do filtra.", "view.toggle": "Widok sesji", "view.cards": "Karty", - "view.list": "Lista" + "view.list": "Lista", + "new.userNoneLocal": "Na tym komputerze nie ma włączonych użytkowników lokalnych. Utwórz go w Ustawieniach systemu Windows › Konta.", + "new.userTagConsole": "pulpit tego komputera", + "new.userTagInUse": "w użyciu: {name}" } diff --git a/Core/wwwroot/locales/pt.json b/Core/wwwroot/locales/pt.json index d024ef3..9af6e69 100644 --- a/Core/wwwroot/locales/pt.json +++ b/Core/wwwroot/locales/pt.json @@ -710,5 +710,8 @@ "log.noMatches": "Nenhuma linha corresponde ao filtro.", "view.toggle": "Vista das sessões", "view.cards": "Cartões", - "view.list": "Lista" + "view.list": "Lista", + "new.userNoneLocal": "Não há utilizadores locais ativos neste PC. Crie um em Definições do Windows › Contas.", + "new.userTagConsole": "ambiente de trabalho deste PC", + "new.userTagInUse": "em uso: {name}" } diff --git a/Core/wwwroot/locales/pt_BR.json b/Core/wwwroot/locales/pt_BR.json index a96bddd..1d2917c 100644 --- a/Core/wwwroot/locales/pt_BR.json +++ b/Core/wwwroot/locales/pt_BR.json @@ -710,5 +710,8 @@ "log.noMatches": "Nenhuma linha corresponde ao filtro.", "view.toggle": "Visualização das sessões", "view.cards": "Cartões", - "view.list": "Lista" + "view.list": "Lista", + "new.userNoneLocal": "Não há usuários locais ativos neste PC. Crie um em Configurações do Windows › Contas.", + "new.userTagConsole": "área de trabalho deste PC", + "new.userTagInUse": "em uso: {name}" } diff --git a/Core/wwwroot/locales/ru.json b/Core/wwwroot/locales/ru.json index f2aba4a..2ed4a11 100644 --- a/Core/wwwroot/locales/ru.json +++ b/Core/wwwroot/locales/ru.json @@ -710,5 +710,8 @@ "log.noMatches": "Нет строк, подходящих под фильтр.", "view.toggle": "Вид сеансов", "view.cards": "Карточки", - "view.list": "Список" + "view.list": "Список", + "new.userNoneLocal": "На этом ПК нет включённых локальных пользователей. Создайте его в Параметрах Windows › Учётные записи.", + "new.userTagConsole": "рабочий стол этого ПК", + "new.userTagInUse": "используется: {name}" } diff --git a/Core/wwwroot/locales/sv.json b/Core/wwwroot/locales/sv.json index a350993..d511760 100644 --- a/Core/wwwroot/locales/sv.json +++ b/Core/wwwroot/locales/sv.json @@ -710,5 +710,8 @@ "log.noMatches": "Inga rader matchar filtret.", "view.toggle": "Sessionsvy", "view.cards": "Kort", - "view.list": "Lista" + "view.list": "Lista", + "new.userNoneLocal": "Det finns inga aktiverade lokala användare på den här datorn. Skapa en i Windows-inställningar › Konton.", + "new.userTagConsole": "den här datorns skrivbord", + "new.userTagInUse": "används: {name}" } diff --git a/Core/wwwroot/locales/tr.json b/Core/wwwroot/locales/tr.json index 936ef86..9540f5a 100644 --- a/Core/wwwroot/locales/tr.json +++ b/Core/wwwroot/locales/tr.json @@ -710,5 +710,8 @@ "log.noMatches": "Filtreyle eşleşen satır yok.", "view.toggle": "Oturum görünümü", "view.cards": "Kartlar", - "view.list": "Liste" + "view.list": "Liste", + "new.userNoneLocal": "Bu bilgisayarda etkin yerel kullanıcı yok. Windows Ayarları › Hesaplar bölümünden bir tane oluşturun.", + "new.userTagConsole": "bu bilgisayarın masaüstü", + "new.userTagInUse": "kullanımda: {name}" } diff --git a/Core/wwwroot/locales/uk.json b/Core/wwwroot/locales/uk.json index 6c5339a..9f77fe8 100644 --- a/Core/wwwroot/locales/uk.json +++ b/Core/wwwroot/locales/uk.json @@ -710,5 +710,8 @@ "log.noMatches": "Жоден рядок не відповідає фільтру.", "view.toggle": "Вигляд сеансів", "view.cards": "Картки", - "view.list": "Список" + "view.list": "Список", + "new.userNoneLocal": "На цьому ПК немає ввімкнених локальних користувачів. Створіть його в Параметрах Windows › Облікові записи.", + "new.userTagConsole": "робочий стіл цього ПК", + "new.userTagInUse": "використовується: {name}" } diff --git a/Core/wwwroot/locales/vi.json b/Core/wwwroot/locales/vi.json index 291e035..c0d039c 100644 --- a/Core/wwwroot/locales/vi.json +++ b/Core/wwwroot/locales/vi.json @@ -710,5 +710,8 @@ "log.noMatches": "Không có dòng nào khớp bộ lọc.", "view.toggle": "Chế độ xem phiên", "view.cards": "Thẻ", - "view.list": "Danh sách" + "view.list": "Danh sách", + "new.userNoneLocal": "Máy này không có người dùng cục bộ nào đang bật. Hãy tạo một người dùng trong Cài đặt Windows › Tài khoản.", + "new.userTagConsole": "màn hình của máy này", + "new.userTagInUse": "đang dùng: {name}" } diff --git a/Core/wwwroot/locales/zh.json b/Core/wwwroot/locales/zh.json index f013530..52207a2 100644 --- a/Core/wwwroot/locales/zh.json +++ b/Core/wwwroot/locales/zh.json @@ -710,5 +710,8 @@ "log.noMatches": "没有符合筛选条件的行。", "view.toggle": "会话视图", "view.cards": "卡片", - "view.list": "列表" + "view.list": "列表", + "new.userNoneLocal": "此电脑上没有已启用的本地用户。请在 Windows 设置 › 帐户中创建一个。", + "new.userTagConsole": "此电脑的桌面", + "new.userTagInUse": "使用中:{name}" } diff --git a/Core/wwwroot/locales/zh_TW.json b/Core/wwwroot/locales/zh_TW.json index acb27ea..1d9322a 100644 --- a/Core/wwwroot/locales/zh_TW.json +++ b/Core/wwwroot/locales/zh_TW.json @@ -710,5 +710,8 @@ "log.noMatches": "沒有符合篩選條件的行。", "view.toggle": "工作階段檢視", "view.cards": "卡片", - "view.list": "清單" + "view.list": "清單", + "new.userNoneLocal": "此電腦上沒有已啟用的本機使用者。請在 Windows 設定 › 帳戶中建立一個。", + "new.userTagConsole": "此電腦的桌面", + "new.userTagInUse": "使用中:{name}" }