Skip to content

Commit

Permalink
Update translation
Browse files Browse the repository at this point in the history
  • Loading branch information
vinhnx committed Jan 15, 2022
1 parent aa0ec69 commit 248deaa
Showing 1 changed file with 20 additions and 1 deletion.
21 changes: 20 additions & 1 deletion R.generated.swift
Original file line number Diff line number Diff line change
Expand Up @@ -369,7 +369,7 @@ struct R: Rswift.Validatable {

/// This `R.string` struct is generated, and contains static references to 1 localization tables.
struct string {
/// This `R.string.localizable` struct is generated, and contains static references to 145 localization keys.
/// This `R.string.localizable` struct is generated, and contains static references to 146 localization keys.
struct localizable {
/// en translation: ... and many more features to come in the future!
///
Expand Down Expand Up @@ -883,6 +883,10 @@ struct R: Rswift.Validatable {
///
/// Locales: en, vi, ja, zh-hans, es, ko, zh-hant, th, de, fr
static let unableToOpenEmailClientPleaseTryAgainLater = Rswift.StringResource(key: "Unable to open email client, please try again later", tableName: "Localizable", bundle: R.hostingBundle, locales: ["en", "vi", "ja", "zh-hans", "es", "ko", "zh-hant", "th", "de", "fr"], comment: nil)
/// en translation: Unlock all features with one purchase!
///
/// Locales: en, vi, ja, zh-hans, es, ko, zh-hant, th, de, fr
static let unlockAllFeaturesWithOnePurchase = Rswift.StringResource(key: "Unlock all features with one purchase!", tableName: "Localizable", bundle: R.hostingBundle, locales: ["en", "vi", "ja", "zh-hans", "es", "ko", "zh-hant", "th", "de", "fr"], comment: nil)
/// en translation: Upcoming events
///
/// Locales: en, vi, ja, zh-hans, es, ko, zh-hant, th, de, fr
Expand Down Expand Up @@ -2872,6 +2876,21 @@ struct R: Rswift.Validatable {
return NSLocalizedString("Unable to open email client, please try again later", bundle: bundle, comment: "")
}

/// en translation: Unlock all features with one purchase!
///
/// Locales: en, vi, ja, zh-hans, es, ko, zh-hant, th, de, fr
static func unlockAllFeaturesWithOnePurchase(preferredLanguages: [String]? = nil) -> String {
guard let preferredLanguages = preferredLanguages else {
return NSLocalizedString("Unlock all features with one purchase!", bundle: hostingBundle, comment: "")
}

guard let (_, bundle) = localeBundle(tableName: "Localizable", preferredLanguages: preferredLanguages) else {
return "Unlock all features with one purchase!"
}

return NSLocalizedString("Unlock all features with one purchase!", bundle: bundle, comment: "")
}

/// en translation: Upcoming events
///
/// Locales: en, vi, ja, zh-hans, es, ko, zh-hant, th, de, fr
Expand Down

0 comments on commit 248deaa

Please sign in to comment.