From 58750dee48b397cd7ef0e806fcd2cec6f4de5a19 Mon Sep 17 00:00:00 2001 From: cheykrym Date: Tue, 7 Oct 2025 03:10:40 +0300 Subject: [PATCH] add trasnlate to official full name --- yobble/Resources/Localizable.xcstrings | 12 ++++++++++++ yobble/Views/Tab/ChatsTab.swift | 2 +- 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/yobble/Resources/Localizable.xcstrings b/yobble/Resources/Localizable.xcstrings index 886b44f..28c1739 100644 --- a/yobble/Resources/Localizable.xcstrings +++ b/yobble/Resources/Localizable.xcstrings @@ -955,6 +955,18 @@ } } }, + "Пользователь Системы 1" : { + "comment" : "Тестовая подмена офф аккаунта", + "extractionState" : "manual", + "localizations" : { + "en" : { + "stringUnit" : { + "state" : "translated", + "value" : "user system 1" + } + } + } + }, "Помощь" : { "comment" : "Help Center", "localizations" : { diff --git a/yobble/Views/Tab/ChatsTab.swift b/yobble/Views/Tab/ChatsTab.swift index e4619c7..ec16447 100644 --- a/yobble/Views/Tab/ChatsTab.swift +++ b/yobble/Views/Tab/ChatsTab.swift @@ -183,7 +183,7 @@ private struct ChatRowView: View { guard let name = chat.chatData?.fullName?.trimmingCharacters(in: .whitespacesAndNewlines), !name.isEmpty else { return nil } - return name + return NSLocalizedString(name, comment: "") } private var loginDisplay: String? {