mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-16 06:28:27 +02:00
Use SwiftGen to update VectorL10n 🤦♂️
This commit is contained in:
@@ -8006,7 +8006,7 @@ public class VectorL10n: NSObject {
|
||||
|
||||
extension VectorL10n {
|
||||
static func tr(_ table: String, _ key: String, _ args: CVarArg...) -> String {
|
||||
let format = NSLocalizedString(key, tableName: table, bundle: Bundle(for: BundleToken.self), comment: "")
|
||||
let format = NSLocalizedString(key, tableName: table, bundle: Bundle.app, comment: "")
|
||||
let locale: Locale
|
||||
if let providedLocale = LocaleProvider.locale {
|
||||
locale = providedLocale
|
||||
@@ -8018,4 +8018,3 @@ extension VectorL10n {
|
||||
}
|
||||
}
|
||||
|
||||
private final class BundleToken {}
|
||||
|
||||
@@ -64,7 +64,7 @@ import Foundation
|
||||
|
||||
extension {{className}} {
|
||||
static func tr(_ table: String, _ key: String, _ args: CVarArg...) -> String {
|
||||
let format = NSLocalizedString(key, tableName: table, bundle: Bundle(for: BundleToken.self), comment: "")
|
||||
let format = NSLocalizedString(key, tableName: table, bundle: Bundle.app, comment: "")
|
||||
let locale: Locale
|
||||
|
||||
if let providedLocale = LocaleProvider.locale {
|
||||
@@ -77,7 +77,6 @@ extension {{className}} {
|
||||
}
|
||||
}
|
||||
|
||||
private final class BundleToken {}
|
||||
{% else %}
|
||||
// No string found
|
||||
{% endif %}
|
||||
|
||||
Reference in New Issue
Block a user