From ce70847562c08159b73278102374423dc26b146d Mon Sep 17 00:00:00 2001 From: J-rg <4042863+J-rg@users.noreply.github.com> Date: Sun, 28 May 2023 06:43:26 +0200 Subject: [PATCH] Fix localization keys for local account names in Account package --- Account/Sources/Account/Account.swift | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Account/Sources/Account/Account.swift b/Account/Sources/Account/Account.swift index 2453f9a7e..e29d3f70e 100644 --- a/Account/Sources/Account/Account.swift +++ b/Account/Sources/Account/Account.swift @@ -79,12 +79,12 @@ public final class Account: DisplayNameProvider, UnreadCountProvider, Container, public static let defaultLocalAccountName: String = { let defaultName: String #if os(macOS) - defaultName = NSLocalizedString("On My Mac", comment: "Account name") + defaultName = NSLocalizedString("account.name.mac", value: "On My Mac", comment: "Account name") #else if UIDevice.current.userInterfaceIdiom == .pad { - defaultName = NSLocalizedString("On My iPad", comment: "Account name") + defaultName = NSLocalizedString("account.name.ipad", value: "On My iPad", comment: "Account name") } else { - defaultName = NSLocalizedString("On My iPhone", comment: "Account name") + defaultName = NSLocalizedString("account.name.iphone", value: "On My iPhone", comment: "Account name") } #endif