Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[iOS] Fix Brave Leo duplicated localized string keys. (uplift to 1.63.x) #22550

Merged
merged 1 commit into from
Mar 12, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions ios/brave-ios/Sources/AIChat/AIChatStrings.swift
Original file line number Diff line number Diff line change
Expand Up @@ -450,7 +450,7 @@ extension Strings {
comment: "The title for the settings to show search suggestions from Leo in url-address bar"
)
public static let advancedSettingsDefaultModelTitle = NSLocalizedString(
"aichat.advancedSettingsAutocompleteTitle",
"aichat.advancedSettingsDefaultModelTitle",
tableName: "BraveLeo",
bundle: .module,
value: "Default model for new conversations",
Expand Down Expand Up @@ -632,7 +632,7 @@ extension Strings {
comment: "The title terms and conditions for AI chat usage"
)
public static let termsConditionsDescription = NSLocalizedString(
"aichat.termsConditionsTitle",
"aichat.termsConditionsDescription",
tableName: "BraveLeo",
bundle: .module,
value: "Brave Leo is a private AI smart assistant that enhances your use of the Internet. Leo is free to use with limited access. Brave Leo Premium offers more models, higher limits and gives subscribers early access to new features. The default model for all users is currently Mixtral 8x7B. See the **[Brave wiki](%@)** for more details.\n\nWhen you ask Leo a question it may use the context of the web page you are viewing or text you highlight to provide a response. The accuracy of responses is not guaranteed, and may include inaccurate, misleading, or false information. Leo uses data from Brave Search to improve response quality. Don't submit sensitive or private info, and use caution with any answers related to health, finance, personal safety, or similar. You can adjust Leo’s options in Settings any time.\n\nLeo does not collect identifiers such as your IP address that can be linked to you. No personal data is retained by the AI model or any 3rd-party model providers. See the **[privacy policy](%@)** for more information.",
Expand All @@ -653,7 +653,7 @@ extension Strings {
comment: "The title for premium ad view. The links are inside parenthesis and the phrases inside square brackets should be translated"
)
public static let speechRecognizerDisclaimer = NSLocalizedString(
"aichat.feedbackPremiumAdTitle",
"aichat.speechRecognizerDisclaimer",
tableName: "BraveLeo",
bundle: .module,
value: "Brave does not store or share your voice inputs.",
Expand Down
Loading