Merge pull request #8545 from brave/cr92
Upgrade from Chromium 91 to Chromium 92
@@ -145,9 +145,10 @@ disable=print-statement,
|
||||
exception-escape,
|
||||
comprehension-escape,
|
||||
missing-function-docstring,
|
||||
missing-module-docstring,
|
||||
missing-module-docstring,
|
||||
raise-missing-from,
|
||||
invalid-name
|
||||
invalid-name,
|
||||
duplicate-code,
|
||||
|
||||
# Enable the message, report, category or checker with the given id(s). You can
|
||||
# either give multiple identifier separated by comma (,) or put this option
|
||||
|
||||
@@ -0,0 +1,2 @@
|
||||
export function addWebUIListener() {}
|
||||
export function sendWithPromise() {}
|
||||
@@ -19,6 +19,7 @@ module.exports = async ({ config, mode }) => {
|
||||
})
|
||||
config.resolve.alias = {
|
||||
...config.resolve.alias,
|
||||
'chrome://resources': path.resolve(__dirname, 'chrome-resources-mock'),
|
||||
'brave-ui': path.resolve(__dirname, '../node_modules/brave-ui/src'),
|
||||
// Force same styled-components module for brave-core and brave-ui
|
||||
// which ensure both repos code use the same singletons, e.g. ThemeContext.
|
||||
|
||||
@@ -81,6 +81,10 @@ include_rules = [
|
||||
"-brave/services",
|
||||
"-ios",
|
||||
"-brave/third_party/bitcoin-core",
|
||||
|
||||
# Temporary change for the base::Optional -> absl::optional migration, to be
|
||||
# removed once this rule is allowed in chromium's src/DEPS file.
|
||||
"+third_party/abseil-cpp/absl/types/optional.h",
|
||||
]
|
||||
|
||||
# Temporary workaround for massive nummber of incorrect test includes
|
||||
|
||||
@@ -822,8 +822,6 @@ brave_java_resources = [
|
||||
"java/res/layout/user_wallet_activity.xml",
|
||||
"java/res/layout/verify_wallet_activity.xml",
|
||||
"java/res/layout/wallet_coin_list_item.xml",
|
||||
"java/res/layout/web_notification_big_brave_ads.xml",
|
||||
"java/res/layout/web_notification_brave_ads.xml",
|
||||
"java/res/layout/web_notification_icon_frame_brave.xml",
|
||||
"java/res/menu/exit_settings_menu.xml",
|
||||
"java/res/menu/navigation.xml",
|
||||
|
||||
@@ -83,12 +83,10 @@ brave_java_sources = [
|
||||
"../../brave/android/java/org/chromium/chrome/browser/local_database/TopSiteTable.java",
|
||||
"../../brave/android/java/org/chromium/chrome/browser/night_mode/settings/BraveRadioButtonGroupThemePreference.java",
|
||||
"../../brave/android/java/org/chromium/chrome/browser/night_mode/settings/BraveThemePreferences.java",
|
||||
"../../brave/android/java/org/chromium/chrome/browser/notifications/BraveNotificationManagerProxyImpl.java",
|
||||
"../../brave/android/java/org/chromium/chrome/browser/notifications/BraveNotificationPlatformBridge.java",
|
||||
"../../brave/android/java/org/chromium/chrome/browser/notifications/BraveNotificationSettingsBridge.java",
|
||||
"../../brave/android/java/org/chromium/chrome/browser/notifications/BraveOnboardingNotification.java",
|
||||
"../../brave/android/java/org/chromium/chrome/browser/notifications/BraveSetDefaultBrowserNotificationService.java",
|
||||
"../../brave/android/java/org/chromium/chrome/browser/notifications/channels/BraveChannelDefinitions.java",
|
||||
"../../brave/android/java/org/chromium/chrome/browser/notifications/retention/RetentionNotification.java",
|
||||
"../../brave/android/java/org/chromium/chrome/browser/notifications/retention/RetentionNotificationPublisher.java",
|
||||
"../../brave/android/java/org/chromium/chrome/browser/notifications/retention/RetentionNotificationUtil.java",
|
||||
@@ -115,6 +113,7 @@ brave_java_sources = [
|
||||
"../../brave/android/java/org/chromium/chrome/browser/ntp_background_images/util/NTPUtil.java",
|
||||
"../../brave/android/java/org/chromium/chrome/browser/ntp_background_images/util/NewTabPageListener.java",
|
||||
"../../brave/android/java/org/chromium/chrome/browser/ntp_background_images/util/SponsoredImageUtil.java",
|
||||
"../../brave/android/java/org/chromium/chrome/browser/omnibox/status/BraveStatusMediator.java",
|
||||
"../../brave/android/java/org/chromium/chrome/browser/omnibox/suggestions/editurl/BraveEditUrlSuggestionProcessor.java",
|
||||
"../../brave/android/java/org/chromium/chrome/browser/onboarding/BraveRewardsOnboardingFragment.java",
|
||||
"../../brave/android/java/org/chromium/chrome/browser/onboarding/OnViewPagerAction.java",
|
||||
|
||||
@@ -15,10 +15,15 @@ android_library("java") {
|
||||
"//base:base_java",
|
||||
"//chrome/android:chrome_java",
|
||||
"//chrome/android/features/tab_ui:java",
|
||||
"//chrome/browser/android/lifecycle:java",
|
||||
"//chrome/browser/flags:java",
|
||||
"//chrome/browser/preferences:java",
|
||||
"//chrome/browser/tabmodel:java",
|
||||
"//chrome/browser/ui/android/theme:java",
|
||||
"//chrome/browser/ui/messages/android:java",
|
||||
"//components/browser_ui/bottomsheet/android:java",
|
||||
"//components/browser_ui/widget/android:java",
|
||||
"//third_party/androidx:androidx_annotation_annotation_java",
|
||||
"//ui/android:ui_no_recycler_view_java",
|
||||
]
|
||||
|
||||
|
||||
@@ -7,24 +7,53 @@ package org.chromium.chrome.browser.tasks.tab_management;
|
||||
|
||||
import static org.chromium.chrome.browser.tasks.tab_management.TabManagementModuleProvider.SYNTHETIC_TRIAL_POSTFIX;
|
||||
|
||||
import android.app.Activity;
|
||||
import android.view.View;
|
||||
import android.view.ViewGroup;
|
||||
|
||||
import androidx.annotation.NonNull;
|
||||
|
||||
import org.chromium.base.ApiCompatibilityUtils;
|
||||
import org.chromium.base.supplier.ObservableSupplier;
|
||||
import org.chromium.base.supplier.OneshotSupplier;
|
||||
import org.chromium.base.supplier.Supplier;
|
||||
import org.chromium.chrome.browser.compositor.layouts.OverviewModeBehavior;
|
||||
import org.chromium.chrome.browser.compositor.layouts.content.TabContentManager;
|
||||
import org.chromium.chrome.browser.lifecycle.ActivityLifecycleDispatcher;
|
||||
import org.chromium.chrome.browser.share.ShareDelegate;
|
||||
import org.chromium.chrome.browser.tabmodel.TabCreatorManager;
|
||||
import org.chromium.chrome.browser.tabmodel.TabModelSelector;
|
||||
import org.chromium.chrome.browser.theme.ThemeColorProvider;
|
||||
import org.chromium.chrome.browser.ui.messages.snackbar.SnackbarManager;
|
||||
import org.chromium.chrome.tab_ui.R;
|
||||
import org.chromium.components.browser_ui.bottomsheet.BottomSheetController;
|
||||
import org.chromium.components.browser_ui.widget.scrim.ScrimCoordinator;
|
||||
import org.chromium.ui.resources.dynamics.DynamicResourceLoader;
|
||||
import org.chromium.ui.widget.ChromeImageView;
|
||||
|
||||
public class BraveTabGroupUiCoordinator extends TabGroupUiCoordinator {
|
||||
// To delete in bytecode, members from parent class will be used instead.
|
||||
private TabGroupUiToolbarView mToolbarView;
|
||||
|
||||
public BraveTabGroupUiCoordinator(ViewGroup parentView, ThemeColorProvider themeColorProvider,
|
||||
ScrimCoordinator scrimCoordinator,
|
||||
ObservableSupplier<Boolean> omniboxFocusStateSupplier) {
|
||||
super(parentView, themeColorProvider, scrimCoordinator, omniboxFocusStateSupplier);
|
||||
public BraveTabGroupUiCoordinator(@NonNull Activity activity, @NonNull ViewGroup parentView,
|
||||
@NonNull ThemeColorProvider themeColorProvider,
|
||||
@NonNull ScrimCoordinator scrimCoordinator,
|
||||
@NonNull ObservableSupplier<Boolean> omniboxFocusStateSupplier,
|
||||
@NonNull BottomSheetController bottomSheetController,
|
||||
@NonNull ActivityLifecycleDispatcher activityLifecycleDispatcher,
|
||||
@NonNull Supplier<Boolean> isWarmOnResumeSupplier,
|
||||
@NonNull TabModelSelector tabModelSelector,
|
||||
@NonNull TabContentManager tabContentManager, @NonNull ViewGroup rootView,
|
||||
@NonNull Supplier<DynamicResourceLoader> dynamicResourceLoaderSupplier,
|
||||
@NonNull TabCreatorManager tabCreatorManager,
|
||||
@NonNull Supplier<ShareDelegate> shareDelegateSupplier,
|
||||
@NonNull OneshotSupplier<OverviewModeBehavior> overviewModeBehaviorSupplier,
|
||||
@NonNull SnackbarManager snackbarManager) {
|
||||
super(activity, parentView, themeColorProvider, scrimCoordinator, omniboxFocusStateSupplier,
|
||||
bottomSheetController, activityLifecycleDispatcher, isWarmOnResumeSupplier,
|
||||
tabModelSelector, tabContentManager, rootView, dynamicResourceLoaderSupplier,
|
||||
tabCreatorManager, shareDelegateSupplier, overviewModeBehaviorSupplier,
|
||||
snackbarManager);
|
||||
|
||||
assert mToolbarView != null : "Make sure mToolbarView is properly patched in bytecode.";
|
||||
mToolbarView.setBackgroundColor(ApiCompatibilityUtils.getColor(
|
||||
|
||||
@@ -17,6 +17,7 @@ import org.chromium.base.supplier.Supplier;
|
||||
import org.chromium.chrome.R;
|
||||
import org.chromium.chrome.browser.feed.shared.FeedSurfaceDelegate;
|
||||
import org.chromium.chrome.browser.native_page.NativePageNavigationDelegate;
|
||||
import org.chromium.chrome.browser.ntp.NewTabPageLaunchOrigin;
|
||||
import org.chromium.chrome.browser.ntp.ScrollableContainerDelegate;
|
||||
import org.chromium.chrome.browser.ntp.SnapScrollHelper;
|
||||
import org.chromium.chrome.browser.ntp.snippets.SectionHeaderView;
|
||||
@@ -42,11 +43,12 @@ public class BraveFeedSurfaceCoordinator extends FeedSurfaceCoordinator {
|
||||
@Nullable NativePageNavigationDelegate pageNavigationDelegate, Profile profile,
|
||||
boolean isPlaceholderShownInitially, BottomSheetController bottomSheetController,
|
||||
Supplier<ShareDelegate> shareDelegateSupplier,
|
||||
@Nullable ScrollableContainerDelegate externalScrollableContainerDelegate) {
|
||||
@Nullable ScrollableContainerDelegate externalScrollableContainerDelegate,
|
||||
TabModelSelector tabModelSelector, @NewTabPageLaunchOrigin int launchOrigin) {
|
||||
super(activity, snackbarManager, windowAndroid, snapScrollHelper, ntpHeader,
|
||||
sectionHeaderView, showDarkBackground, delegate, pageNavigationDelegate, profile,
|
||||
isPlaceholderShownInitially, bottomSheetController, shareDelegateSupplier,
|
||||
externalScrollableContainerDelegate);
|
||||
externalScrollableContainerDelegate, tabModelSelector, launchOrigin);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@@ -49,10 +49,15 @@
|
||||
}
|
||||
|
||||
-keep class org.chromium.chrome.browser.ntp.NewTabPage {
|
||||
public <init>(...);
|
||||
*** mNewTabPageLayout;
|
||||
*** mFeedSurfaceProvider;
|
||||
}
|
||||
|
||||
-keep class org.chromium.chrome.browser.ntp.BraveNewTabPage {
|
||||
public <init>(...);
|
||||
}
|
||||
|
||||
-keep class org.chromium.chrome.browser.omnibox.suggestions.editurl.EditUrlSuggestionProcessor {
|
||||
*** mHasClearedOmniboxForFocus;
|
||||
}
|
||||
@@ -111,6 +116,13 @@
|
||||
*** mIncognitoStateProvider;
|
||||
*** mTabCountProvider;
|
||||
*** mTabGroupUi;
|
||||
*** mBottomSheetController;
|
||||
*** mActivityLifecycleDispatcher;
|
||||
*** mIsWarmOnResumeSupplier;
|
||||
*** mTabContentManager;
|
||||
*** mTabCreatorManager;
|
||||
*** mOverviewModeBehaviorSupplier;
|
||||
*** mSnackbarManager;
|
||||
*** onOrientationChange(...);
|
||||
*** updateButtonStatus(...);
|
||||
*** updateBookmarkButtonStatus(...);
|
||||
@@ -132,8 +144,10 @@
|
||||
*** mToggleTabStackButton;
|
||||
*** mMenuButton;
|
||||
*** mShouldShowNewTabVariation;
|
||||
*** mIsIncognito;
|
||||
*** updateNewTabButtonVisibility(...);
|
||||
*** shouldShowIncognitoToggle(...);
|
||||
*** getToolbarColorForCurrentState(...);
|
||||
}
|
||||
|
||||
-keep class org.chromium.chrome.browser.download.MimeUtils {
|
||||
@@ -141,7 +155,7 @@
|
||||
}
|
||||
|
||||
-keep class org.chromium.chrome.browser.app.ChromeActivity {
|
||||
*** mTabModelProfileSupplier;
|
||||
*** mBrowserControlsManagerSupplier;
|
||||
}
|
||||
|
||||
-keep class org.chromium.chrome.browser.tabbed_mode.TabbedRootUiCoordinator {
|
||||
@@ -292,3 +306,19 @@
|
||||
*** isGridTabSwitcherEnabled(...);
|
||||
*** isTabGroupsAndroidEnabled(...);
|
||||
}
|
||||
|
||||
-keep class org.chromium.components.browser_ui.notifications.NotificationManagerProxyImpl {
|
||||
public <init>(...);
|
||||
}
|
||||
|
||||
-keep class org.chromium.chrome.browser.notifications.BraveNotificationManagerProxyImpl {
|
||||
public <init>(...);
|
||||
}
|
||||
|
||||
-keep class org.chromium.chrome.browser.omnibox.status.StatusMediator {
|
||||
public <init>(...);
|
||||
}
|
||||
|
||||
-keep class org.chromium.chrome.browser.omnibox.status.BraveStatusMediator {
|
||||
public <init>(...);
|
||||
}
|
||||
@@ -50,7 +50,7 @@ public class BraveUphold implements BraveRewardsObserver {
|
||||
mBraveExternalNavigationHandler = handler;
|
||||
rewardsNativeProxy = BraveRewardsNativeWorker.getInstance();
|
||||
|
||||
Uri uri = Uri.parse(params.getUrl());
|
||||
Uri uri = Uri.parse(params.getUrl().getSpec());
|
||||
rewardsNativeProxy.AddObserver(this);
|
||||
String path = uri.getPath();
|
||||
String query = uri.getQuery();
|
||||
|
||||
@@ -41,6 +41,7 @@ import org.chromium.base.Log;
|
||||
import org.chromium.base.annotations.JNINamespace;
|
||||
import org.chromium.base.annotations.NativeMethods;
|
||||
import org.chromium.base.supplier.ObservableSupplier;
|
||||
import org.chromium.base.supplier.UnownedUserDataSupplier;
|
||||
import org.chromium.base.task.PostTask;
|
||||
import org.chromium.base.task.TaskTraits;
|
||||
import org.chromium.chrome.R;
|
||||
@@ -69,6 +70,7 @@ import org.chromium.chrome.browser.compositor.layouts.phone.StackLayout;
|
||||
import org.chromium.chrome.browser.crypto_wallet.CryptoWalletActivity;
|
||||
import org.chromium.chrome.browser.dependency_injection.ChromeActivityComponent;
|
||||
import org.chromium.chrome.browser.flags.ChromeSwitches;
|
||||
import org.chromium.chrome.browser.fullscreen.BrowserControlsManager;
|
||||
import org.chromium.chrome.browser.informers.BraveAndroidSyncDisabledInformer;
|
||||
import org.chromium.chrome.browser.notifications.BraveSetDefaultBrowserNotificationService;
|
||||
import org.chromium.chrome.browser.notifications.retention.RetentionNotificationUtil;
|
||||
@@ -88,7 +90,7 @@ import org.chromium.chrome.browser.rate.RateUtils;
|
||||
import org.chromium.chrome.browser.settings.BraveRewardsPreferences;
|
||||
import org.chromium.chrome.browser.settings.BraveSearchEngineUtils;
|
||||
import org.chromium.chrome.browser.share.ShareDelegate;
|
||||
import org.chromium.chrome.browser.share.ShareDelegateImpl.ShareOrigin;
|
||||
import org.chromium.chrome.browser.share.ShareDelegate.ShareOrigin;
|
||||
import org.chromium.chrome.browser.tab.Tab;
|
||||
import org.chromium.chrome.browser.tab.TabImpl;
|
||||
import org.chromium.chrome.browser.tab.TabLaunchType;
|
||||
@@ -158,7 +160,7 @@ public abstract class BraveActivity<C extends ChromeActivityComponent>
|
||||
|
||||
// Explicitly declare this variable to avoid build errors.
|
||||
// It will be removed in asm and parent variable will be used instead.
|
||||
protected ObservableSupplier<Profile> mTabModelProfileSupplier;
|
||||
private UnownedUserDataSupplier<BrowserControlsManager> mBrowserControlsManagerSupplier;
|
||||
|
||||
private static final List<String> yandexRegions =
|
||||
Arrays.asList("AM", "AZ", "BY", "KG", "KZ", "MD", "RU", "TJ", "TM", "UZ");
|
||||
@@ -841,6 +843,10 @@ public abstract class BraveActivity<C extends ChromeActivityComponent>
|
||||
}
|
||||
}
|
||||
|
||||
public ObservableSupplier<BrowserControlsManager> getBrowserControlsManagerSupplier() {
|
||||
return mBrowserControlsManagerSupplier;
|
||||
}
|
||||
|
||||
@NativeMethods
|
||||
interface Natives {
|
||||
void restartStatsUpdater();
|
||||
|
||||
@@ -24,6 +24,7 @@ import org.chromium.chrome.browser.app.appmenu.AppMenuIconRowFooter;
|
||||
import org.chromium.chrome.browser.bookmarks.BookmarkBridge;
|
||||
import org.chromium.chrome.browser.compositor.layouts.OverviewModeBehavior;
|
||||
import org.chromium.chrome.browser.feed.webfeed.WebFeedBridge;
|
||||
import org.chromium.chrome.browser.feed.webfeed.WebFeedSnackbarController;
|
||||
import org.chromium.chrome.browser.flags.ChromeFeatureList;
|
||||
import org.chromium.chrome.browser.multiwindow.MultiWindowModeStateDispatcher;
|
||||
import org.chromium.chrome.browser.notifications.BraveSetDefaultBrowserNotificationService;
|
||||
@@ -50,10 +51,13 @@ public class BraveTabbedAppMenuPropertiesDelegate extends TabbedAppMenuPropertie
|
||||
AppMenuDelegate appMenuDelegate,
|
||||
OneshotSupplier<OverviewModeBehavior> overviewModeBehaviorSupplier,
|
||||
ObservableSupplier<BookmarkBridge> bookmarkBridgeSupplier,
|
||||
SnackbarManager snackbarManager, WebFeedBridge webFeedBridge) {
|
||||
WebFeedSnackbarController.FeedLauncher feedLauncher,
|
||||
ModalDialogManager modalDialogManager, SnackbarManager snackbarManager,
|
||||
WebFeedBridge webFeedBridge) {
|
||||
super(context, activityTabProvider, multiWindowModeStateDispatcher, tabModelSelector,
|
||||
toolbarManager, decorView, appMenuDelegate, overviewModeBehaviorSupplier,
|
||||
bookmarkBridgeSupplier, snackbarManager, webFeedBridge);
|
||||
bookmarkBridgeSupplier, feedLauncher, modalDialogManager, snackbarManager,
|
||||
webFeedBridge);
|
||||
|
||||
mAppMenuDelegate = appMenuDelegate;
|
||||
}
|
||||
|
||||
@@ -13,6 +13,7 @@ import androidx.annotation.Nullable;
|
||||
import org.chromium.base.supplier.ObservableSupplier;
|
||||
import org.chromium.base.supplier.OneshotSupplierImpl;
|
||||
import org.chromium.base.supplier.Supplier;
|
||||
import org.chromium.chrome.browser.app.BraveActivity;
|
||||
import org.chromium.chrome.browser.browser_controls.BrowserControlsStateProvider;
|
||||
import org.chromium.chrome.browser.compositor.LayerTitleCache;
|
||||
import org.chromium.chrome.browser.compositor.layouts.content.TabContentManager;
|
||||
@@ -39,28 +40,28 @@ public class BraveLayoutManagerChrome extends LayoutManagerChrome
|
||||
ObservableSupplier<TabContentManager> tabContentManagerSupplier,
|
||||
Supplier<LayerTitleCache> layerTitleCacheSupplier,
|
||||
OneshotSupplierImpl<OverviewModeBehavior> overviewModeBehaviorSupplier,
|
||||
OneshotSupplierImpl<LayoutStateProvider> layoutStateProviderOneshotSupplier,
|
||||
Supplier<TopUiThemeColorProvider> topUiThemeColorProvider) {
|
||||
super(host, contentContainer, createOverviewLayout, startSurface, tabContentManagerSupplier,
|
||||
layerTitleCacheSupplier, overviewModeBehaviorSupplier,
|
||||
layoutStateProviderOneshotSupplier, topUiThemeColorProvider);
|
||||
layerTitleCacheSupplier, overviewModeBehaviorSupplier, topUiThemeColorProvider);
|
||||
|
||||
mCreateOverviewLayout = createOverviewLayout && startSurface == null;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void init(TabModelSelector selector, TabCreatorManager creator,
|
||||
ControlContainer controlContainer, DynamicResourceLoader dynamicResourceLoader) {
|
||||
ControlContainer controlContainer, DynamicResourceLoader dynamicResourceLoader,
|
||||
TopUiThemeColorProvider topUiColorProvider) {
|
||||
if (mCreateOverviewLayout) {
|
||||
Context context = mHost.getContext();
|
||||
LayoutRenderHost renderHost = mHost.getLayoutRenderHost();
|
||||
final ObservableSupplier<? extends BrowserControlsStateProvider>
|
||||
browserControlsSupplier = mHost.getBrowserControlsManagerSupplier();
|
||||
browserControlsSupplier =
|
||||
BraveActivity.getBraveActivity().getBrowserControlsManagerSupplier();
|
||||
mOverviewLayout = new StackLayout(context, this, renderHost,
|
||||
(ObservableSupplier<BrowserControlsStateProvider>) browserControlsSupplier);
|
||||
}
|
||||
|
||||
super.init(selector, creator, controlContainer, dynamicResourceLoader);
|
||||
super.init(selector, creator, controlContainer, dynamicResourceLoader, topUiColorProvider);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@@ -5,11 +5,12 @@
|
||||
|
||||
package org.chromium.chrome.browser.externalnav;
|
||||
|
||||
import org.chromium.chrome.browser.BraveUphold;
|
||||
import org.chromium.components.external_intents.ExternalNavigationDelegate;
|
||||
import org.chromium.components.external_intents.ExternalNavigationHandler;
|
||||
import org.chromium.components.external_intents.ExternalNavigationParams;
|
||||
import org.chromium.components.external_intents.ExternalNavigationHandler.OverrideUrlLoadingResult;
|
||||
import org.chromium.chrome.browser.BraveUphold;
|
||||
import org.chromium.components.external_intents.ExternalNavigationParams;
|
||||
import org.chromium.url.GURL;
|
||||
|
||||
public class BraveExternalNavigationHandler extends ExternalNavigationHandler {
|
||||
private BraveUphold mBraveUphold;
|
||||
@@ -28,7 +29,7 @@ public class BraveExternalNavigationHandler extends ExternalNavigationHandler {
|
||||
}
|
||||
|
||||
private boolean isUpholdOverride(ExternalNavigationParams params) {
|
||||
if (!params.getUrl().startsWith(BraveUphold.UPHOLD_REDIRECT_URL)) return false;
|
||||
if (!params.getUrl().getSpec().startsWith(BraveUphold.UPHOLD_REDIRECT_URL)) return false;
|
||||
return true;
|
||||
}
|
||||
|
||||
@@ -49,6 +50,7 @@ public class BraveExternalNavigationHandler extends ExternalNavigationHandler {
|
||||
if (params.getRedirectHandler() != null) {
|
||||
params.getRedirectHandler().setShouldNotOverrideUrlLoadingOnCurrentRedirectChain();
|
||||
}
|
||||
return clobberCurrentTab(browserFallbackUrl, params.getReferrerUrl());
|
||||
GURL browserFallbackGURL = new GURL(browserFallbackUrl);
|
||||
return clobberCurrentTab(browserFallbackGURL, params.getReferrerUrl());
|
||||
}
|
||||
}
|
||||
@@ -35,11 +35,12 @@ public class BraveNewTabPage extends NewTabPage {
|
||||
Supplier<Tab> activityTabProvider, SnackbarManager snackbarManager,
|
||||
ActivityLifecycleDispatcher lifecycleDispatcher, TabModelSelector tabModelSelector,
|
||||
boolean isTablet, NewTabPageUma uma, boolean isInNightMode,
|
||||
NativePageHost nativePageHost, Tab tab, BottomSheetController bottomSheetController,
|
||||
NativePageHost nativePageHost, Tab tab, String url,
|
||||
BottomSheetController bottomSheetController,
|
||||
ObservableSupplier<ShareDelegate> shareDelegateSupplier, WindowAndroid windowAndroid) {
|
||||
super(activity, browserControlsStateProvider, activityTabProvider, snackbarManager,
|
||||
lifecycleDispatcher, tabModelSelector, isTablet, uma, isInNightMode, nativePageHost,
|
||||
tab, bottomSheetController, shareDelegateSupplier, windowAndroid);
|
||||
tab, url, bottomSheetController, shareDelegateSupplier, windowAndroid);
|
||||
|
||||
assert mNewTabPageLayout instanceof BraveNewTabPageLayout;
|
||||
if (mNewTabPageLayout instanceof BraveNewTabPageLayout) {
|
||||
@@ -51,9 +52,10 @@ public class BraveNewTabPage extends NewTabPage {
|
||||
protected void initializeMainView(Activity activity, WindowAndroid windowAndroid,
|
||||
SnackbarManager snackbarManager, NewTabPageUma uma, boolean isInNightMode,
|
||||
BottomSheetController bottomSheetController,
|
||||
ObservableSupplier<ShareDelegate> shareDelegateSupplier) {
|
||||
ObservableSupplier<ShareDelegate> shareDelegateSupplier,
|
||||
TabModelSelector tabModelSelector, String url) {
|
||||
super.initializeMainView(activity, windowAndroid, snackbarManager, uma, isInNightMode,
|
||||
bottomSheetController, shareDelegateSupplier);
|
||||
bottomSheetController, shareDelegateSupplier, tabModelSelector, url);
|
||||
// Override surface provider
|
||||
Profile profile = Profile.fromWebContents(mTab.getWebContents());
|
||||
|
||||
@@ -63,6 +65,7 @@ public class BraveNewTabPage extends NewTabPage {
|
||||
mNewTabPageLayout, null, isInNightMode, this,
|
||||
mNewTabPageManager.getNavigationDelegate(), profile,
|
||||
/* isPlaceholderShownInitially= */ false, bottomSheetController,
|
||||
shareDelegateSupplier, /* externalScrollableContainerDelegate= */ null);
|
||||
shareDelegateSupplier, /* externalScrollableContainerDelegate= */ null,
|
||||
tabModelSelector, NewTabPageUtils.decodeOriginFromNtpUrl(url));
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,43 @@
|
||||
/* Copyright (c) 2021 The Brave Authors. All rights reserved.
|
||||
* This Source Code Form is subject to the terms of the Mozilla Public
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this file,
|
||||
* You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
package org.chromium.chrome.browser.omnibox.status;
|
||||
|
||||
import android.content.Context;
|
||||
import android.content.res.Resources;
|
||||
|
||||
import org.chromium.base.supplier.OneshotSupplier;
|
||||
import org.chromium.base.supplier.Supplier;
|
||||
import org.chromium.chrome.browser.omnibox.LocationBarDataProvider;
|
||||
import org.chromium.chrome.browser.omnibox.SearchEngineLogoUtils;
|
||||
import org.chromium.chrome.browser.omnibox.UrlBarEditingTextStateProvider;
|
||||
import org.chromium.chrome.browser.profiles.Profile;
|
||||
import org.chromium.components.permissions.PermissionDialogController;
|
||||
import org.chromium.components.search_engines.TemplateUrlService;
|
||||
import org.chromium.ui.base.WindowAndroid;
|
||||
import org.chromium.ui.modelutil.PropertyModel;
|
||||
|
||||
public class BraveStatusMediator extends StatusMediator {
|
||||
// To delete in bytecode, members from parent class will be used instead.
|
||||
private boolean mUrlHasFocus;
|
||||
|
||||
public BraveStatusMediator(PropertyModel model, Resources resources, Context context,
|
||||
UrlBarEditingTextStateProvider urlBarEditingTextStateProvider, boolean isTablet,
|
||||
LocationBarDataProvider locationBarDataProvider,
|
||||
PermissionDialogController permissionDialogController,
|
||||
SearchEngineLogoUtils searchEngineLogoUtils,
|
||||
OneshotSupplier<TemplateUrlService> templateUrlServiceSupplier,
|
||||
Supplier<Profile> profileSupplier, PageInfoIPHController pageInfoIPHController,
|
||||
WindowAndroid windowAndroid) {
|
||||
super(model, resources, context, urlBarEditingTextStateProvider, isTablet,
|
||||
locationBarDataProvider, permissionDialogController, searchEngineLogoUtils,
|
||||
templateUrlServiceSupplier, profileSupplier, pageInfoIPHController, windowAndroid);
|
||||
}
|
||||
|
||||
@Override
|
||||
boolean shouldDisplaySearchEngineIcon() {
|
||||
return super.shouldDisplaySearchEngineIcon() && mUrlHasFocus;
|
||||
}
|
||||
}
|
||||
@@ -14,9 +14,9 @@ import org.chromium.base.Callback;
|
||||
import org.chromium.base.annotations.CalledByNative;
|
||||
import org.chromium.chrome.browser.AppHooks;
|
||||
import org.chromium.chrome.browser.signin.services.SigninManager;
|
||||
import org.chromium.components.signin.AccountTrackerService;
|
||||
import org.chromium.components.signin.base.CoreAccountInfo;
|
||||
import org.chromium.components.signin.identitymanager.AccountInfoService;
|
||||
import org.chromium.components.signin.identitymanager.AccountTrackerService;
|
||||
import org.chromium.components.signin.identitymanager.IdentityManager;
|
||||
import org.chromium.components.signin.identitymanager.IdentityMutator;
|
||||
import org.chromium.components.signin.metrics.SigninAccessPoint;
|
||||
@@ -106,7 +106,7 @@ public class BraveSigninManager implements SigninManager {
|
||||
static SigninManager create(long nativeSigninManagerAndroid,
|
||||
AccountTrackerService accountTrackerService, IdentityManager identityManager,
|
||||
IdentityMutator identityMutator) {
|
||||
AccountInfoService.init(identityManager);
|
||||
AccountInfoService.init(identityManager, accountTrackerService);
|
||||
return new BraveSigninManager(identityManager);
|
||||
}
|
||||
|
||||
|
||||
@@ -30,6 +30,8 @@ import org.chromium.chrome.browser.browser_controls.BrowserControlsSizer;
|
||||
import org.chromium.chrome.browser.compositor.CompositorViewHolder;
|
||||
import org.chromium.chrome.browser.compositor.Invalidator;
|
||||
import org.chromium.chrome.browser.compositor.layouts.LayoutManagerImpl;
|
||||
import org.chromium.chrome.browser.compositor.layouts.OverviewModeBehavior;
|
||||
import org.chromium.chrome.browser.compositor.layouts.content.TabContentManager;
|
||||
import org.chromium.chrome.browser.findinpage.FindToolbarManager;
|
||||
import org.chromium.chrome.browser.fullscreen.FullscreenManager;
|
||||
import org.chromium.chrome.browser.homepage.HomepageManager;
|
||||
@@ -43,6 +45,7 @@ import org.chromium.chrome.browser.share.ShareDelegate;
|
||||
import org.chromium.chrome.browser.tab.SadTab;
|
||||
import org.chromium.chrome.browser.tab.Tab;
|
||||
import org.chromium.chrome.browser.tabmodel.IncognitoStateProvider;
|
||||
import org.chromium.chrome.browser.tabmodel.TabCreatorManager;
|
||||
import org.chromium.chrome.browser.tabmodel.TabModelSelector;
|
||||
import org.chromium.chrome.browser.tasks.tab_management.TabGroupUi;
|
||||
import org.chromium.chrome.browser.tasks.tab_management.TabManagementModuleProvider;
|
||||
@@ -65,8 +68,10 @@ import org.chromium.chrome.browser.toolbar.top.TopToolbarCoordinator;
|
||||
import org.chromium.chrome.browser.ui.TabObscuringHandler;
|
||||
import org.chromium.chrome.browser.ui.appmenu.AppMenuCoordinator;
|
||||
import org.chromium.chrome.browser.ui.appmenu.AppMenuDelegate;
|
||||
import org.chromium.chrome.browser.ui.messages.snackbar.SnackbarManager;
|
||||
import org.chromium.chrome.browser.ui.system.StatusBarColorController;
|
||||
import org.chromium.chrome.features.start_surface.StartSurface;
|
||||
import org.chromium.components.browser_ui.bottomsheet.BottomSheetController;
|
||||
import org.chromium.components.browser_ui.widget.scrim.ScrimCoordinator;
|
||||
import org.chromium.ui.base.WindowAndroid;
|
||||
import org.chromium.ui.modaldialog.ModalDialogManager;
|
||||
@@ -81,7 +86,7 @@ public class BraveToolbarManager extends ToolbarManager {
|
||||
private FullscreenManager mFullscreenManager;
|
||||
private ActivityTabProvider mActivityTabProvider;
|
||||
private AppThemeColorProvider mAppThemeColorProvider;
|
||||
private ObservableSupplier<ShareDelegate> mShareDelegateSupplier;
|
||||
private Supplier<ShareDelegate> mShareDelegateSupplier;
|
||||
private ScrimCoordinator mScrimCoordinator;
|
||||
private Supplier<Boolean> mShowStartSurfaceSupplier;
|
||||
private MenuButtonCoordinator mMenuButtonCoordinator;
|
||||
@@ -97,6 +102,13 @@ public class BraveToolbarManager extends ToolbarManager {
|
||||
private IncognitoStateProvider mIncognitoStateProvider;
|
||||
private TabCountProvider mTabCountProvider;
|
||||
private TabGroupUi mTabGroupUi;
|
||||
private BottomSheetController mBottomSheetController;
|
||||
private ActivityLifecycleDispatcher mActivityLifecycleDispatcher;
|
||||
private Supplier<Boolean> mIsWarmOnResumeSupplier;
|
||||
private TabContentManager mTabContentManager;
|
||||
private TabCreatorManager mTabCreatorManager;
|
||||
private OneshotSupplier<OverviewModeBehavior> mOverviewModeBehaviorSupplier;
|
||||
private SnackbarManager mSnackbarManager;
|
||||
|
||||
// Own members.
|
||||
private boolean mIsBottomToolbarVisible;
|
||||
@@ -134,7 +146,13 @@ public class BraveToolbarManager extends ToolbarManager {
|
||||
Supplier<ModalDialogManager> modalDialogManagerSupplier,
|
||||
StatusBarColorController statusBarColorController, AppMenuDelegate appMenuDelegate,
|
||||
ActivityLifecycleDispatcher activityLifecycleDispatcher,
|
||||
@NonNull Supplier<Tab> startSurfaceParentTabSupplier) {
|
||||
@NonNull Supplier<Tab> startSurfaceParentTabSupplier,
|
||||
@NonNull BottomSheetController bottomSheetController,
|
||||
@NonNull Supplier<Boolean> isWarmOnResumeSupplier,
|
||||
@NonNull TabContentManager tabContentManager,
|
||||
@NonNull TabCreatorManager tabCreatorManager,
|
||||
@NonNull OneshotSupplier<OverviewModeBehavior> overviewModeBehaviorSupplier,
|
||||
@NonNull SnackbarManager snackbarManager) {
|
||||
super(activity, controlsSizer, fullscreenManager, controlContainer, compositorViewHolder,
|
||||
urlFocusChangedCallback, topUiThemeColorProvider, tabObscuringHandler,
|
||||
shareDelegateSupplier, identityDiscController, buttonDataProviders, tabProvider,
|
||||
@@ -144,7 +162,9 @@ public class BraveToolbarManager extends ToolbarManager {
|
||||
tabModelSelectorSupplier, startSurfaceSupplier, omniboxFocusStateSupplier,
|
||||
intentMetadataOneshotSupplier, promoShownOneshotSupplier, windowAndroid,
|
||||
isInOverviewModeSupplier, modalDialogManagerSupplier, statusBarColorController,
|
||||
appMenuDelegate, activityLifecycleDispatcher, startSurfaceParentTabSupplier);
|
||||
appMenuDelegate, activityLifecycleDispatcher, startSurfaceParentTabSupplier,
|
||||
bottomSheetController, isWarmOnResumeSupplier, tabContentManager, tabCreatorManager,
|
||||
overviewModeBehaviorSupplier, snackbarManager);
|
||||
mOmniboxFocusStateSupplier = omniboxFocusStateSupplier;
|
||||
mLayoutStateProviderSupplier = layoutStateProviderSupplier;
|
||||
mActivity = activity;
|
||||
@@ -184,9 +204,14 @@ public class BraveToolbarManager extends ToolbarManager {
|
||||
(BraveScrollingBottomViewResourceFrameLayout) bottomControlsStub.inflate();
|
||||
if (TabUiFeatureUtilities.isTabGroupsAndroidEnabled()
|
||||
|| TabUiFeatureUtilities.isConditionalTabStripEnabled()) {
|
||||
mTabGroupUi = TabManagementModuleProvider.getDelegate().createTabGroupUi(
|
||||
mTabGroupUi = TabManagementModuleProvider.getDelegate().createTabGroupUi(mActivity,
|
||||
mBottomControls.findViewById(R.id.bottom_container_slot),
|
||||
mAppThemeColorProvider, mScrimCoordinator, mOmniboxFocusStateSupplier);
|
||||
mAppThemeColorProvider, mScrimCoordinator, mOmniboxFocusStateSupplier,
|
||||
mBottomSheetController, mActivityLifecycleDispatcher,
|
||||
mIsWarmOnResumeSupplier, mTabModelSelector, mTabContentManager,
|
||||
mCompositorViewHolder, mCompositorViewHolder::getDynamicResourceLoader,
|
||||
mTabCreatorManager, mShareDelegateSupplier, mOverviewModeBehaviorSupplier,
|
||||
mSnackbarManager);
|
||||
}
|
||||
mBottomControlsCoordinatorSupplier.set(new BraveBottomControlsCoordinator(
|
||||
mLayoutStateProviderSupplier,
|
||||
|
||||
@@ -16,7 +16,6 @@ import org.chromium.base.supplier.OneShotCallback;
|
||||
import org.chromium.base.supplier.OneshotSupplier;
|
||||
import org.chromium.chrome.R;
|
||||
import org.chromium.chrome.browser.ActivityTabProvider;
|
||||
import org.chromium.chrome.browser.ActivityTabProvider.HintlessActivityTabObserver;
|
||||
import org.chromium.chrome.browser.app.BraveActivity;
|
||||
import org.chromium.chrome.browser.compositor.layouts.OverviewModeBehavior;
|
||||
import org.chromium.chrome.browser.feature_engagement.TrackerFactory;
|
||||
|
||||
@@ -14,13 +14,17 @@ import org.chromium.chrome.browser.toolbar.NewTabButton;
|
||||
import org.chromium.chrome.browser.toolbar.bottom.BottomToolbarConfiguration;
|
||||
import org.chromium.chrome.browser.toolbar.bottom.BottomToolbarVariationManager;
|
||||
import org.chromium.chrome.browser.toolbar.menu_button.MenuButton;
|
||||
import org.chromium.components.browser_ui.styles.ChromeColors;
|
||||
|
||||
public class BraveTabSwitcherModeTTPhone extends TabSwitcherModeTTPhone {
|
||||
// To delete in bytecode, members from parent class will be used instead.
|
||||
private View mNewTabViewButton;
|
||||
private NewTabButton mNewTabImageButton;
|
||||
private ToggleTabStackButton mToggleTabStackButton;
|
||||
private boolean mShouldShowNewTabVariation;
|
||||
private boolean mIsIncognito;
|
||||
|
||||
// Own members.
|
||||
private boolean mShouldShowNewTabButton;
|
||||
|
||||
public BraveTabSwitcherModeTTPhone(Context context, AttributeSet attrs) {
|
||||
@@ -53,4 +57,10 @@ public class BraveTabSwitcherModeTTPhone extends TabSwitcherModeTTPhone {
|
||||
mToggleTabStackButton.setVisibility(isVisible ? GONE : VISIBLE);
|
||||
}
|
||||
}
|
||||
|
||||
public int getToolbarColorForCurrentState() {
|
||||
// Return primary background color regardless of GridTabSwitcher state. Otherwise toolbar of
|
||||
// browsing mode is still visible in tab switching mode with stack layout.
|
||||
return ChromeColors.getPrimaryBackgroundColor(getResources(), mIsIncognito);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -7,6 +7,7 @@ package org.chromium.chrome.browser;
|
||||
|
||||
import android.app.Activity;
|
||||
import android.content.Context;
|
||||
import android.content.res.Resources;
|
||||
import android.support.test.filters.SmallTest;
|
||||
import android.view.View;
|
||||
import android.view.ViewGroup;
|
||||
@@ -24,17 +25,26 @@ import org.chromium.base.supplier.OneshotSupplier;
|
||||
import org.chromium.base.supplier.Supplier;
|
||||
import org.chromium.chrome.browser.app.ChromeActivity;
|
||||
import org.chromium.chrome.browser.browser_controls.BrowserControlsSizer;
|
||||
import org.chromium.chrome.browser.browser_controls.BrowserControlsStateProvider;
|
||||
import org.chromium.chrome.browser.compositor.CompositorViewHolder;
|
||||
import org.chromium.chrome.browser.compositor.layouts.content.TabContentManager;
|
||||
import org.chromium.chrome.browser.feed.webfeed.WebFeedBridge;
|
||||
import org.chromium.chrome.browser.feed.webfeed.WebFeedSnackbarController;
|
||||
import org.chromium.chrome.browser.findinpage.FindToolbarManager;
|
||||
import org.chromium.chrome.browser.fullscreen.FullscreenManager;
|
||||
import org.chromium.chrome.browser.identity_disc.IdentityDiscController;
|
||||
import org.chromium.chrome.browser.init.StartupTabPreloader;
|
||||
import org.chromium.chrome.browser.lifecycle.ActivityLifecycleDispatcher;
|
||||
import org.chromium.chrome.browser.multiwindow.MultiWindowModeStateDispatcher;
|
||||
import org.chromium.chrome.browser.ntp.NewTabPageUma;
|
||||
import org.chromium.chrome.browser.omnibox.LocationBarDataProvider;
|
||||
import org.chromium.chrome.browser.omnibox.SearchEngineLogoUtils;
|
||||
import org.chromium.chrome.browser.omnibox.UrlBarEditingTextStateProvider;
|
||||
import org.chromium.chrome.browser.omnibox.status.PageInfoIPHController;
|
||||
import org.chromium.chrome.browser.tab.Tab;
|
||||
import org.chromium.chrome.browser.tabmodel.AsyncTabParamsManager;
|
||||
import org.chromium.chrome.browser.tabmodel.ChromeTabCreator;
|
||||
import org.chromium.chrome.browser.tabmodel.TabCreatorManager;
|
||||
import org.chromium.chrome.browser.tabmodel.TabModelSelector;
|
||||
import org.chromium.chrome.browser.theme.ThemeColorProvider;
|
||||
import org.chromium.chrome.browser.theme.TopUiThemeColorProvider;
|
||||
@@ -44,10 +54,13 @@ import org.chromium.chrome.browser.toolbar.top.ToolbarControlContainer;
|
||||
import org.chromium.chrome.browser.ui.TabObscuringHandler;
|
||||
import org.chromium.chrome.browser.ui.appmenu.AppMenuDelegate;
|
||||
import org.chromium.chrome.browser.ui.messages.snackbar.SnackbarManager;
|
||||
import org.chromium.chrome.browser.ui.native_page.NativePageHost;
|
||||
import org.chromium.chrome.browser.ui.system.StatusBarColorController;
|
||||
import org.chromium.chrome.test.ChromeJUnit4ClassRunner;
|
||||
import org.chromium.components.browser_ui.bottomsheet.BottomSheetController;
|
||||
import org.chromium.components.browser_ui.widget.scrim.ScrimCoordinator;
|
||||
import org.chromium.components.embedder_support.browser_context.BrowserContextHandle;
|
||||
import org.chromium.components.permissions.PermissionDialogController;
|
||||
import org.chromium.ui.base.WindowAndroid;
|
||||
import org.chromium.ui.modaldialog.ModalDialogManager;
|
||||
import org.chromium.ui.modelutil.PropertyModel;
|
||||
@@ -74,6 +87,7 @@ public class BytecodeTest {
|
||||
Assert.assertTrue(classExists("org/chromium/chrome/browser/ntp/NewTabPageLayout"));
|
||||
Assert.assertTrue(classExists("org/chromium/chrome/browser/feed/FeedSurfaceCoordinator"));
|
||||
Assert.assertTrue(classExists("org/chromium/chrome/browser/ntp/NewTabPage"));
|
||||
Assert.assertTrue(classExists("org/chromium/chrome/browser/ntp/BraveNewTabPage"));
|
||||
Assert.assertTrue(classExists(
|
||||
"org/chromium/chrome/browser/omnibox/suggestions/editurl/EditUrlSuggestionProcessor"));
|
||||
Assert.assertTrue(
|
||||
@@ -158,6 +172,9 @@ public class BytecodeTest {
|
||||
"org/chromium/chrome/browser/tasks/tab_management/TabUiFeatureUtilities"));
|
||||
Assert.assertTrue(classExists(
|
||||
"org/chromium/chrome/browser/tasks/tab_management/BraveTabUiFeatureUtilities"));
|
||||
Assert.assertTrue(classExists("org/chromium/chrome/browser/omnibox/status/StatusMediator"));
|
||||
Assert.assertTrue(
|
||||
classExists("org/chromium/chrome/browser/omnibox/status/BraveStatusMediator"));
|
||||
}
|
||||
|
||||
@Test
|
||||
@@ -210,6 +227,9 @@ public class BytecodeTest {
|
||||
Assert.assertTrue(
|
||||
methodExists("org/chromium/chrome/browser/toolbar/top/TabSwitcherModeTTPhone",
|
||||
"updateNewTabButtonVisibility", false, null));
|
||||
Assert.assertTrue(
|
||||
methodExists("org/chromium/chrome/browser/toolbar/top/TabSwitcherModeTTPhone",
|
||||
"getToolbarColorForCurrentState", false, null));
|
||||
Assert.assertTrue(
|
||||
methodExists("org/chromium/chrome/browser/toolbar/top/TabSwitcherModeTTPhone",
|
||||
"shouldShowIncognitoToggle", false, null));
|
||||
@@ -262,8 +282,9 @@ public class BytecodeTest {
|
||||
"org/chromium/chrome/browser/appmenu/BraveTabbedAppMenuPropertiesDelegate",
|
||||
Context.class, ActivityTabProvider.class, MultiWindowModeStateDispatcher.class,
|
||||
TabModelSelector.class, ToolbarManager.class, View.class, AppMenuDelegate.class,
|
||||
OneshotSupplier.class, ObservableSupplier.class, SnackbarManager.class,
|
||||
WebFeedBridge.class));
|
||||
OneshotSupplier.class, ObservableSupplier.class,
|
||||
WebFeedSnackbarController.FeedLauncher.class, ModalDialogManager.class,
|
||||
SnackbarManager.class, WebFeedBridge.class));
|
||||
Assert.assertTrue(constructorsMatch("org/chromium/chrome/browser/tabmodel/ChromeTabCreator",
|
||||
"org/chromium/chrome/browser/tabmodel/BraveTabCreator", Activity.class,
|
||||
WindowAndroid.class, StartupTabPreloader.class, Supplier.class, boolean.class,
|
||||
@@ -281,7 +302,9 @@ public class BytecodeTest {
|
||||
OneshotSupplier.class, ObservableSupplier.class, OneshotSupplier.class,
|
||||
OneshotSupplier.class, WindowAndroid.class, Supplier.class, Supplier.class,
|
||||
StatusBarColorController.class, AppMenuDelegate.class,
|
||||
ActivityLifecycleDispatcher.class, Supplier.class));
|
||||
ActivityLifecycleDispatcher.class, Supplier.class, BottomSheetController.class,
|
||||
Supplier.class, TabContentManager.class, TabCreatorManager.class,
|
||||
OneshotSupplier.class, SnackbarManager.class));
|
||||
Assert.assertTrue(constructorsMatch(
|
||||
"org/chromium/chrome/browser/toolbar/bottom/BottomControlsMediator",
|
||||
"org/chromium/chrome/browser/toolbar/bottom/BraveBottomControlsMediator",
|
||||
@@ -299,12 +322,33 @@ public class BytecodeTest {
|
||||
Assert.assertTrue(constructorsMatch(
|
||||
"org/chromium/chrome/browser/tasks/tab_management/TabGroupUiCoordinator",
|
||||
"org/chromium/chrome/browser/tasks/tab_management/BraveTabGroupUiCoordinator",
|
||||
ViewGroup.class, ThemeColorProvider.class, ScrimCoordinator.class,
|
||||
ObservableSupplier.class));
|
||||
Activity.class, ViewGroup.class, ThemeColorProvider.class, ScrimCoordinator.class,
|
||||
ObservableSupplier.class, BottomSheetController.class,
|
||||
ActivityLifecycleDispatcher.class, Supplier.class, TabModelSelector.class,
|
||||
TabContentManager.class, ViewGroup.class, Supplier.class, TabCreatorManager.class,
|
||||
Supplier.class, OneshotSupplier.class, SnackbarManager.class));
|
||||
Assert.assertTrue(constructorsMatch(
|
||||
"org/chromium/chrome/browser/site_settings/ChromeSiteSettingsDelegate",
|
||||
"org/chromium/chrome/browser/site_settings/BraveSiteSettingsDelegate",
|
||||
Context.class, BrowserContextHandle.class));
|
||||
Assert.assertTrue(constructorsMatch(
|
||||
"org/chromium/components/browser_ui/notifications/NotificationManagerProxyImpl",
|
||||
"org/chromium/chrome/browser/notifications/BraveNotificationManagerProxyImpl",
|
||||
Context.class));
|
||||
Assert.assertTrue(
|
||||
constructorsMatch("org/chromium/chrome/browser/omnibox/status/StatusMediator",
|
||||
"org/chromium/chrome/browser/omnibox/status/BraveStatusMediator",
|
||||
PropertyModel.class, Resources.class, Context.class,
|
||||
UrlBarEditingTextStateProvider.class, boolean.class,
|
||||
LocationBarDataProvider.class, PermissionDialogController.class,
|
||||
SearchEngineLogoUtils.class, OneshotSupplier.class, Supplier.class,
|
||||
PageInfoIPHController.class, WindowAndroid.class));
|
||||
Assert.assertTrue(constructorsMatch("org/chromium/chrome/browser/ntp/NewTabPage",
|
||||
"org/chromium/chrome/browser/ntp/BraveNewTabPage", Activity.class,
|
||||
BrowserControlsStateProvider.class, Supplier.class, SnackbarManager.class,
|
||||
ActivityLifecycleDispatcher.class, TabModelSelector.class, boolean.class,
|
||||
NewTabPageUma.class, boolean.class, NativePageHost.class, Tab.class, String.class,
|
||||
BottomSheetController.class, ObservableSupplier.class, WindowAndroid.class));
|
||||
}
|
||||
|
||||
@Test
|
||||
@@ -390,6 +434,20 @@ public class BytecodeTest {
|
||||
"org/chromium/chrome/browser/toolbar/ToolbarManager", "mTabCountProvider"));
|
||||
Assert.assertTrue(
|
||||
fieldExists("org/chromium/chrome/browser/toolbar/ToolbarManager", "mTabGroupUi"));
|
||||
Assert.assertTrue(fieldExists(
|
||||
"org/chromium/chrome/browser/toolbar/ToolbarManager", "mBottomSheetController"));
|
||||
Assert.assertTrue(fieldExists("org/chromium/chrome/browser/toolbar/ToolbarManager",
|
||||
"mActivityLifecycleDispatcher"));
|
||||
Assert.assertTrue(fieldExists(
|
||||
"org/chromium/chrome/browser/toolbar/ToolbarManager", "mIsWarmOnResumeSupplier"));
|
||||
Assert.assertTrue(fieldExists(
|
||||
"org/chromium/chrome/browser/toolbar/ToolbarManager", "mTabContentManager"));
|
||||
Assert.assertTrue(fieldExists(
|
||||
"org/chromium/chrome/browser/toolbar/ToolbarManager", "mTabCreatorManager"));
|
||||
Assert.assertTrue(fieldExists("org/chromium/chrome/browser/toolbar/ToolbarManager",
|
||||
"mOverviewModeBehaviorSupplier"));
|
||||
Assert.assertTrue(fieldExists(
|
||||
"org/chromium/chrome/browser/toolbar/ToolbarManager", "mSnackbarManager"));
|
||||
Assert.assertTrue(
|
||||
fieldExists("org/chromium/chrome/browser/toolbar/top/TopToolbarCoordinator",
|
||||
"mTabSwitcherModeCoordinatorPhone"));
|
||||
@@ -412,7 +470,9 @@ public class BytecodeTest {
|
||||
fieldExists("org/chromium/chrome/browser/toolbar/top/TabSwitcherModeTTPhone",
|
||||
"mShouldShowNewTabVariation"));
|
||||
Assert.assertTrue(fieldExists(
|
||||
"org/chromium/chrome/browser/app/ChromeActivity", "mTabModelProfileSupplier"));
|
||||
"org/chromium/chrome/browser/toolbar/top/TabSwitcherModeTTPhone", "mIsIncognito"));
|
||||
Assert.assertTrue(fieldExists("org/chromium/chrome/browser/app/ChromeActivity",
|
||||
"mBrowserControlsManagerSupplier"));
|
||||
Assert.assertTrue(
|
||||
fieldExists("org/chromium/chrome/browser/toolbar/bottom/BottomControlsMediator",
|
||||
"mBottomControlsHeight"));
|
||||
|
||||
@@ -78,7 +78,6 @@ public class BravePrivacySettingsTest {
|
||||
assertNotEquals(null, mFragment.findPreference(PREF_SAFE_BROWSING));
|
||||
assertNotEquals(null, mFragment.findPreference(PREF_SYNC_AND_SERVICES_LINK));
|
||||
assertNotEquals(null, mFragment.findPreference(PREF_CLEAR_BROWSING_DATA));
|
||||
assertEquals(null, mFragment.findPreference(PREF_PRIVACY_SANDBOX));
|
||||
}
|
||||
|
||||
@Test
|
||||
|
||||
@@ -80,11 +80,11 @@
|
||||
=1 {Open in &new window}
|
||||
other {Open all ({COUNT}) in &new window}}
|
||||
</message>
|
||||
<message name="IDS_BOOKMARK_BAR_OPEN_ALL_COUNT_INCOGNITO" desc="Menu description for opening all urls in a bookmark folder in a private window">
|
||||
<message name="IDS_BOOKMARK_BAR_OPEN_ALL_COUNT_INCOGNITO" desc="Menu description for opening all urls in a bookmark folder in a Private window">
|
||||
{COUNT, plural,
|
||||
=0 {Open all in &private window}
|
||||
=1 {Open in &private window}
|
||||
other {Open all ({COUNT}) in &private window}}
|
||||
=0 {Open all in &Private window}
|
||||
=1 {Open in &Private window}
|
||||
other {Open all ({COUNT}) in &Private window}}
|
||||
</message>
|
||||
<message name="IDS_BOOKMARK_BAR_OPEN_IN_NEW_TAB" desc="Menu description for loading bookmark in a new tab">
|
||||
&Open in new tab
|
||||
@@ -92,8 +92,8 @@
|
||||
<message name="IDS_BOOKMARK_BAR_OPEN_IN_NEW_WINDOW" desc="Menu description for loading bookmark in a new window">
|
||||
Open in &new window
|
||||
</message>
|
||||
<message name="IDS_BOOKMARK_BAR_OPEN_INCOGNITO" desc="Menu description for opening bookmark in private window">
|
||||
Open in &private window
|
||||
<message name="IDS_BOOKMARK_BAR_OPEN_INCOGNITO" desc="Menu description for opening bookmark in Private window">
|
||||
Open in &Private window
|
||||
</message>
|
||||
<message name="IDS_BOOKMARK_BAR_EDIT" desc="Title of the bookmark context menu item that brings up the bookmark editor">
|
||||
&Edit...
|
||||
@@ -132,7 +132,7 @@
|
||||
=1 {Open in &New Window}
|
||||
other {Open All ({COUNT}) in &New Window}}
|
||||
</message>
|
||||
<message name="IDS_BOOKMARK_BAR_OPEN_ALL_COUNT_INCOGNITO" desc="In Title Case: Menu description for opening all urls in a bookmark folder in a private window">
|
||||
<message name="IDS_BOOKMARK_BAR_OPEN_ALL_COUNT_INCOGNITO" desc="In Title Case: Menu description for opening all urls in a bookmark folder in a Private window">
|
||||
{COUNT, plural,
|
||||
=0 {Open All in &Private Window}
|
||||
=1 {Open in &Private Window}
|
||||
@@ -144,7 +144,7 @@
|
||||
<message name="IDS_BOOKMARK_BAR_OPEN_IN_NEW_WINDOW" desc="In Title Case: Menu description for loading bookmark in a new window">
|
||||
Open in &New Window
|
||||
</message>
|
||||
<message name="IDS_BOOKMARK_BAR_OPEN_INCOGNITO" desc="In Title Case: Menu description for opening bookmark in private window">
|
||||
<message name="IDS_BOOKMARK_BAR_OPEN_INCOGNITO" desc="In Title Case: Menu description for opening bookmark in Private window">
|
||||
Open in &Private Window
|
||||
</message>
|
||||
<message name="IDS_BOOKMARK_BAR_EDIT" desc="In Title Case: Title of the bookmark context menu item that brings up the bookmark editor">
|
||||
@@ -392,11 +392,11 @@
|
||||
<message name="IDS_BOOKMARK_MANAGER_MENU_OPEN_ALL_NEW_WINDOW_WITH_COUNT" desc="Menu title for opening all urls in a bookmark folder in a new window, which includes a count of urls">
|
||||
Open all (<ph name="URL_COUNT">$1<ex>5</ex></ph>) in new window
|
||||
</message>
|
||||
<message name="IDS_BOOKMARK_MANAGER_MENU_OPEN_ALL_INCOGNITO" desc="Menu description for opening all urls in a bookmark folder in a private window">
|
||||
Open all in private window
|
||||
<message name="IDS_BOOKMARK_MANAGER_MENU_OPEN_ALL_INCOGNITO" desc="Menu description for opening all urls in a bookmark folder in a Private window">
|
||||
Open all in Private window
|
||||
</message>
|
||||
<message name="IDS_BOOKMARK_MANAGER_MENU_OPEN_ALL_INCOGNITO_WITH_COUNT" desc="Menu description for opening all urls in a bookmark folder in a private window, which includes a count of urls">
|
||||
Open all (<ph name="URL_COUNT">$1<ex>5</ex></ph>) in private window
|
||||
<message name="IDS_BOOKMARK_MANAGER_MENU_OPEN_ALL_INCOGNITO_WITH_COUNT" desc="Menu description for opening all urls in a bookmark folder in a Private window, which includes a count of urls">
|
||||
Open all (<ph name="URL_COUNT">$1<ex>5</ex></ph>) in Private window
|
||||
</message>
|
||||
<message name="IDS_BOOKMARK_MANAGER_MENU_OPEN_IN_NEW_TAB" desc="Menu description for opening a bookmark in a new tab">
|
||||
Open in new tab
|
||||
@@ -404,8 +404,8 @@
|
||||
<message name="IDS_BOOKMARK_MANAGER_MENU_OPEN_IN_NEW_WINDOW" desc="Menu description for opening a bookmark in a new window">
|
||||
Open in new window
|
||||
</message>
|
||||
<message name="IDS_BOOKMARK_MANAGER_MENU_OPEN_INCOGNITO" desc="Menu description for opening a bookmark in private window">
|
||||
Open in private window
|
||||
<message name="IDS_BOOKMARK_MANAGER_MENU_OPEN_INCOGNITO" desc="Menu description for opening a bookmark in Private window">
|
||||
Open in Private window
|
||||
</message>
|
||||
<message name="IDS_BOOKMARK_MANAGER_MENU_RENAME" desc="Title of the bookmark list dropdown menu item that renames folders.">
|
||||
Rename
|
||||
|
||||
@@ -11,14 +11,14 @@
|
||||
<if expr="use_titlecase">
|
||||
</if>
|
||||
<if expr="not use_titlecase">
|
||||
<message name="IDS_BOOKMARK_BAR_OPEN_ALL_COUNT_INCOGNITO" desc="Menu description for opening all urls in a bookmark folder in a private window">
|
||||
<message name="IDS_BOOKMARK_BAR_OPEN_ALL_COUNT_INCOGNITO" desc="Menu description for opening all urls in a bookmark folder in a Private window">
|
||||
{COUNT, plural,
|
||||
=0 {Open all in &private window}
|
||||
=1 {Open in &private window}
|
||||
other {Open all ({COUNT}) in &private window}}
|
||||
=0 {Open all in &Private window}
|
||||
=1 {Open in &Private window}
|
||||
other {Open all ({COUNT}) in &Private window}}
|
||||
</message>
|
||||
<message name="IDS_BOOKMARK_BAR_OPEN_INCOGNITO" desc="Menu description for opening bookmark in private window">
|
||||
Open in &private window
|
||||
<message name="IDS_BOOKMARK_BAR_OPEN_INCOGNITO" desc="Menu description for opening bookmark in Private window">
|
||||
Open in &Private window
|
||||
</message>
|
||||
<if expr="not is_android">
|
||||
<message name="IDS_SHOW_BOOKMARK_BAR" desc="The toggle to show the bookmark bar">
|
||||
@@ -27,13 +27,13 @@
|
||||
</if>
|
||||
</if>
|
||||
<if expr="use_titlecase">
|
||||
<message name="IDS_BOOKMARK_BAR_OPEN_ALL_COUNT_INCOGNITO" desc="In Title Case: Menu description for opening all urls in a bookmark folder in a private window">
|
||||
<message name="IDS_BOOKMARK_BAR_OPEN_ALL_COUNT_INCOGNITO" desc="In Title Case: Menu description for opening all urls in a bookmark folder in a Private window">
|
||||
{COUNT, plural,
|
||||
=0 {Open All in &Private Window}
|
||||
=1 {Open in &Private Window}
|
||||
other {Open All ({COUNT}) in &Private Window}}
|
||||
</message>
|
||||
<message name="IDS_BOOKMARK_BAR_OPEN_INCOGNITO" desc="In Title Case: Menu description for opening bookmark in private window">
|
||||
<message name="IDS_BOOKMARK_BAR_OPEN_INCOGNITO" desc="In Title Case: Menu description for opening bookmark in Private window">
|
||||
Open in &Private Window
|
||||
</message>
|
||||
<if expr="not is_android">
|
||||
@@ -58,14 +58,14 @@
|
||||
</if>
|
||||
<if expr="use_titlecase">
|
||||
</if>
|
||||
<message name="IDS_BOOKMARK_MANAGER_MENU_OPEN_ALL_INCOGNITO" desc="Menu description for opening all urls in a bookmark folder in a private window">
|
||||
Open all in private window
|
||||
<message name="IDS_BOOKMARK_MANAGER_MENU_OPEN_ALL_INCOGNITO" desc="Menu description for opening all urls in a bookmark folder in a Private window">
|
||||
Open all in Private window
|
||||
</message>
|
||||
<message name="IDS_BOOKMARK_MANAGER_MENU_OPEN_ALL_INCOGNITO_WITH_COUNT" desc="Menu description for opening all urls in a bookmark folder in a private window, which includes a count of urls">
|
||||
Open all (<ph name="URL_COUNT">$1<ex>5</ex></ph>) in private window
|
||||
<message name="IDS_BOOKMARK_MANAGER_MENU_OPEN_ALL_INCOGNITO_WITH_COUNT" desc="Menu description for opening all urls in a bookmark folder in a Private window, which includes a count of urls">
|
||||
Open all (<ph name="URL_COUNT">$1<ex>5</ex></ph>) in Private window
|
||||
</message>
|
||||
<message name="IDS_BOOKMARK_MANAGER_MENU_OPEN_INCOGNITO" desc="Menu description for opening a bookmark in private window">
|
||||
Open in private window
|
||||
<message name="IDS_BOOKMARK_MANAGER_MENU_OPEN_INCOGNITO" desc="Menu description for opening a bookmark in Private window">
|
||||
Open in Private window
|
||||
</message>
|
||||
<if expr="not use_titlecase">
|
||||
</if>
|
||||
|
||||
@@ -225,6 +225,7 @@ bool BraveMainDelegate::BasicStartupComplete(int* exit_code) {
|
||||
features::kIdleDetection.name,
|
||||
features::kLangClientHintHeader.name,
|
||||
features::kNotificationTriggers.name,
|
||||
features::kPrivacySandboxSettings.name,
|
||||
features::kSignedExchangePrefetchCacheForNavigations.name,
|
||||
features::kSignedExchangeSubresourcePrefetch.name,
|
||||
features::kSubresourceWebBundles.name,
|
||||
|
||||
@@ -82,6 +82,7 @@ IN_PROC_BROWSER_TEST_F(BraveMainDelegateBrowserTest, DisabledFeatures) {
|
||||
&features::kIdleDetection,
|
||||
&features::kLangClientHintHeader,
|
||||
&features::kNotificationTriggers,
|
||||
&features::kPrivacySandboxSettings,
|
||||
&features::kSignedExchangePrefetchCacheForNavigations,
|
||||
&features::kSignedExchangeSubresourcePrefetch,
|
||||
&features::kSubresourceWebBundles,
|
||||
|
||||
@@ -206,6 +206,11 @@ If you update this file, be sure also to update google_chrome_strings.grd. -->
|
||||
Welcome to Brave; new browser window opened
|
||||
</message>
|
||||
</if>
|
||||
<if expr="is_macosx or is_linux">
|
||||
<message name="IDS_FIRST_RUN_DIALOG_WINDOW_TITLE" desc="Window title of First Run dialog on Mac and Linux, displayed in title bar">
|
||||
Welcome to Brave
|
||||
</message>
|
||||
</if>
|
||||
<if expr="chromeos">
|
||||
<message name="IDS_PRODUCT_OS_NAME" desc="The Chrome OS application name">
|
||||
Chrome OS
|
||||
@@ -289,7 +294,7 @@ If you update this file, be sure also to update google_chrome_strings.grd. -->
|
||||
Chrome OS is made possible by additional <ph name="BEGIN_LINK_CROS_OSS"><a target="_blank" rel="noopener noreferrer" href="$1"></ph>open source software<ph name="END_LINK_CROS_OSS"></a></ph>.
|
||||
</message>
|
||||
<message name="IDS_ABOUT_CROS_WITH_LINUX_VERSION_LICENSE" desc="Additional text displayed beneath the Brave open source URLs for Chrome OS when Crostini is installed.">
|
||||
Chrome OS is made possible by additional <ph name="BEGIN_LINK_CROS_OSS"><a target="_blank" rel="noopener noreferrer" href="$1"></ph>open source software<ph name="END_LINK_CROS_OSS"></a></ph>, as is <ph name="BEGIN_LINK_LINUX_OSS"><a target="_blank" rel="noopener noreferrer" href="$2"></ph>Linux development environment (Beta)<ph name="END_LINK_LINUX_OSS"></a></ph>.
|
||||
Chrome OS is made possible by additional <ph name="BEGIN_LINK_CROS_OSS"><a target="_blank" rel="noopener noreferrer" href="$1"></ph>open source software<ph name="END_LINK_CROS_OSS"></a></ph>, as is <ph name="BEGIN_LINK_LINUX_OSS"><a target="_blank" rel="noopener noreferrer" href="$2"></ph>Linux development environment<ph name="END_LINK_LINUX_OSS"></a></ph>.
|
||||
</message>
|
||||
<message name="IDS_ABOUT_SAFETY_INFORMATION" desc="The safety label in the About box." translateable="false">
|
||||
Not used in Brave. Placeholder to keep resource maps in sync.
|
||||
@@ -530,6 +535,10 @@ Brave is unable to recover your settings.
|
||||
This file may be dangerous, so Brave has blocked it.
|
||||
</message>
|
||||
|
||||
<message name="IDS_PROMPT_CONFIRM_DANGEROUS_DOWNLOAD_ACCOUNT_COMPROMISE_BODY" desc="Body prompt text for the confirmation dialog asking whether the user really meant to keep a download deemed to be associated with account compromise by safebrowsing">
|
||||
Brave recommends that you don't download or open this file.
|
||||
</message>
|
||||
|
||||
<!-- Abandon in-progress downloads confirmation dialog -->
|
||||
<if expr="not is_macosx">
|
||||
<message name="IDS_ABANDON_DOWNLOAD_DIALOG_BROWSER_MESSAGE" desc="Message on a dialog shown when the user closes the browser while one or more downloads are in progress. This string is shown on Windows, Chrome OS, and Linux, which all use 'Exit' to refer to closing a browser.">
|
||||
@@ -567,8 +576,8 @@ Brave is unable to recover your settings.
|
||||
</if>
|
||||
|
||||
<!-- chrome://settings/extensions page -->
|
||||
<message name="IDS_EXTENSIONS_INCOGNITO_WARNING" desc="Warns the user that Brave cannot prevent extensions from recording history in private mode. Displayed in extensions management UI after an extension is selected to be run in private mode.">
|
||||
Warning: Brave cannot prevent extensions from recording your browsing history. To disable this extension in private mode, unselect this option.
|
||||
<message name="IDS_EXTENSIONS_INCOGNITO_WARNING" desc="Warns the user that Brave cannot prevent extensions from recording history in Private mode. Displayed in extensions management UI after an extension is selected to be run in Private mode.">
|
||||
Warning: Brave cannot prevent extensions from recording your browsing history. To disable this extension in Private mode, unselect this option.
|
||||
</message>
|
||||
<message name="IDS_EXTENSIONS_UNINSTALL" desc="The link for uninstalling extensions.">
|
||||
Remove from Brave...
|
||||
@@ -610,6 +619,9 @@ Brave is unable to recover your settings.
|
||||
<message name="IDS_UPDATE_NOW" desc="In Title Case: The text label of the Update Brave Now menu item">
|
||||
Update &Brave
|
||||
</message>
|
||||
<message name="IDS_RELAUNCH_TO_UPDATE" desc="In Title Case: The text label of the Update Brave menu item, when relaunch to update experiment is enabled">
|
||||
Relaunch to Update &Brave
|
||||
</message>
|
||||
</if>
|
||||
<if expr="not use_titlecase and not chromeos">
|
||||
<message name="IDS_ABOUT" desc="The text label of the About Brave menu item">
|
||||
@@ -618,6 +630,9 @@ Brave is unable to recover your settings.
|
||||
<message name="IDS_UPDATE_NOW" desc="The text label of the Update Brave Now menu item">
|
||||
Update &Brave
|
||||
</message>
|
||||
<message name="IDS_RELAUNCH_TO_UPDATE" desc="The text label of the Update Brave menu item, when relaunch to update experiment is enabled">
|
||||
Relaunch to update &Brave
|
||||
</message>
|
||||
</if>
|
||||
<if expr="chromeos">
|
||||
<message name="IDS_ABOUT" desc="The text label of the About Brave menu item">
|
||||
@@ -626,6 +641,9 @@ Brave is unable to recover your settings.
|
||||
<message name="IDS_UPDATE_NOW" desc="The text label of the Update Chrome OS Now menu item">
|
||||
Update &Chrome OS
|
||||
</message>
|
||||
<message name="IDS_RELAUNCH_TO_UPDATE" desc="The text label of the Update Chrome OS menu item, when relaunch to update experiment is enabled">
|
||||
Relaunch to update &Chrome OS
|
||||
</message>
|
||||
</if>
|
||||
|
||||
<if expr="is_macosx">
|
||||
@@ -920,7 +938,7 @@ Brave is unable to recover your settings.
|
||||
<message name="IDS_CONTENT_CONTEXT_OPENLINKNEWTAB_INAPP" desc="The name of the command to open a link in a newly created browser tab when the user is in an app window">
|
||||
Open link in new Brave &tab
|
||||
</message>
|
||||
<message name="IDS_CONTENT_CONTEXT_OPENLINKOFFTHERECORD_INAPP" desc="The name of the command to open a link in a private browser window when the user is in an app window">
|
||||
<message name="IDS_CONTENT_CONTEXT_OPENLINKOFFTHERECORD_INAPP" desc="The name of the command to open a link in a Private browser window when the user is in an app window">
|
||||
Open link in Brave &private window
|
||||
</message>
|
||||
</if>
|
||||
@@ -928,7 +946,7 @@ Brave is unable to recover your settings.
|
||||
<message name="IDS_CONTENT_CONTEXT_OPENLINKNEWTAB_INAPP" desc="In Title Case: The name of the command to open a link in a newly created browser tab when the user is in an app window">
|
||||
Open Link in New Brave &tab
|
||||
</message>
|
||||
<message name="IDS_CONTENT_CONTEXT_OPENLINKOFFTHERECORD_INAPP" desc="In Title Case: The name of the command to open a link in a private browser window when the user is in an app window">
|
||||
<message name="IDS_CONTENT_CONTEXT_OPENLINKOFFTHERECORD_INAPP" desc="In Title Case: The name of the command to open a link in a Private browser window when the user is in an app window">
|
||||
Open Link in Brave &Private Window
|
||||
</message>
|
||||
</if>
|
||||
@@ -939,7 +957,7 @@ Brave is unable to recover your settings.
|
||||
<message name="IDS_UPDATE_RECOMMENDED_DIALOG_TITLE" desc="The window title for the Update Recommended dialog.">
|
||||
Relaunch Brave
|
||||
</message>
|
||||
<message name="IDS_UPDATE_RECOMMENDED" desc="The main text of the Update Recommended dialog with a count of open private windows.">
|
||||
<message name="IDS_UPDATE_RECOMMENDED" desc="The main text of the Update Recommended dialog with a count of open Private windows.">
|
||||
{COUNT, plural,
|
||||
=0 {A new update for Brave is available and will be applied as soon as you relaunch.}
|
||||
=1 {A new update for Brave is available and will be applied as soon as you relaunch. Your Private window won't reopen.}
|
||||
@@ -1069,6 +1087,13 @@ Brave is unable to recover your settings.
|
||||
<message name="IDS_EULA_SCREEN_ACCESSIBLE_TITLE" desc="Title to be spoken on opening the OOBE EULA screen">
|
||||
Chrome OS terms
|
||||
</message>
|
||||
<message name="IDS_OOBE_WELCOME_START_OS_INSTALL" desc="Label for button shown on the OOBE welcome screen to show the OS installation screens">
|
||||
Install Chrome OS
|
||||
</message>
|
||||
|
||||
<message name="IDS_OS_INSTALL_SCREEN_INTRO_TITLE" desc="Title of the introduction page in the OS install screen">
|
||||
Install Chrome OS
|
||||
</message>
|
||||
</if>
|
||||
|
||||
<!-- Welcome page (chrome://welcome) strings -->
|
||||
|
||||
@@ -92,6 +92,8 @@ If you update this file, be sure also to update google_chrome_strings.grd. -->
|
||||
|
||||
<if expr="is_win">
|
||||
</if>
|
||||
<if expr="is_macosx or is_linux">
|
||||
</if>
|
||||
<if expr="chromeos">
|
||||
</if>
|
||||
<if expr="is_win">
|
||||
@@ -150,8 +152,8 @@ If you update this file, be sure also to update google_chrome_strings.grd. -->
|
||||
<if expr="enable_extensions">
|
||||
</if>
|
||||
|
||||
<message name="IDS_EXTENSIONS_INCOGNITO_WARNING" desc="Warns the user that Brave cannot prevent extensions from recording history in private mode. Displayed in extensions management UI after an extension is selected to be run in private mode.">
|
||||
Warning: Brave cannot prevent extensions from recording your browsing history. To disable this extension in private mode, unselect this option.
|
||||
<message name="IDS_EXTENSIONS_INCOGNITO_WARNING" desc="Warns the user that Brave cannot prevent extensions from recording history in Private mode. Displayed in extensions management UI after an extension is selected to be run in Private mode.">
|
||||
Warning: Brave cannot prevent extensions from recording your browsing history. To disable this extension in Private mode, unselect this option.
|
||||
</message>
|
||||
<if expr="enable_extensions">
|
||||
<message name="IDS_EXTENSIONS_MULTIPLE_UNSUPPORTED_DISABLED_BODY" desc="Body of the dialog shown when multiple unsupported extensions have been disabled.">
|
||||
@@ -222,19 +224,19 @@ If you update this file, be sure also to update google_chrome_strings.grd. -->
|
||||
|
||||
<if expr="not is_android">
|
||||
<if expr="not use_titlecase">
|
||||
<message name="IDS_CONTENT_CONTEXT_OPENLINKOFFTHERECORD_INAPP" desc="The name of the command to open a link in a private browser window when the user is in an app window">
|
||||
<message name="IDS_CONTENT_CONTEXT_OPENLINKOFFTHERECORD_INAPP" desc="The name of the command to open a link in a Private browser window when the user is in an app window">
|
||||
Open link in Brave &private window
|
||||
</message>
|
||||
</if>
|
||||
<if expr="use_titlecase">
|
||||
<message name="IDS_CONTENT_CONTEXT_OPENLINKOFFTHERECORD_INAPP" desc="In Title Case: The name of the command to open a link in a private browser window when the user is in an app window">
|
||||
<message name="IDS_CONTENT_CONTEXT_OPENLINKOFFTHERECORD_INAPP" desc="In Title Case: The name of the command to open a link in a Private browser window when the user is in an app window">
|
||||
Open Link in Brave &Private Window
|
||||
</message>
|
||||
</if>
|
||||
</if>
|
||||
|
||||
<if expr="not chromeos">
|
||||
<message name="IDS_UPDATE_RECOMMENDED" desc="The main text of the Update Recommended dialog with a count of open private windows.">
|
||||
<message name="IDS_UPDATE_RECOMMENDED" desc="The main text of the Update Recommended dialog with a count of open Private windows.">
|
||||
{COUNT, plural,
|
||||
=0 {A new update for Brave is available and will be applied as soon as you relaunch.}
|
||||
=1 {A new update for Brave is available and will be applied as soon as you relaunch. Your Private window won't reopen.}
|
||||
|
||||
@@ -62,7 +62,7 @@
|
||||
<message name="IDS_EXTENSIONS_VIEW_INACTIVE" desc="Text that signifies that the extension view is an inactive transient page.">
|
||||
(Inactive)
|
||||
</message>
|
||||
<message name="IDS_EXTENSIONS_VIEW_INCOGNITO" desc="Text that signifies that the extension view is in a private process.">
|
||||
<message name="IDS_EXTENSIONS_VIEW_INCOGNITO" desc="Text that signifies that the extension view is in a Private process.">
|
||||
(Private)
|
||||
</message>
|
||||
<message name="IDS_EXTENSIONS_DEVELOPER_MODE" desc="The text displayed next to the checkbox to toggle developer mode in the extensions page.">
|
||||
@@ -200,8 +200,8 @@
|
||||
<message name="IDS_EXTENSIONS_ITEM_NO_ACTIVE_VIEWS" desc="Placeholder text when the extension Inspect Views list is empty.">
|
||||
No active views
|
||||
</message>
|
||||
<message name="IDS_EXTENSIONS_ITEM_ALLOW_INCOGNITO" desc="The text next to the checkbox to enable an extension in private mode.">
|
||||
Allow in private
|
||||
<message name="IDS_EXTENSIONS_ITEM_ALLOW_INCOGNITO" desc="The text next to the checkbox to enable an extension in Private mode.">
|
||||
Allow in Private
|
||||
</message>
|
||||
<message name="IDS_EXTENSIONS_ITEM_DEPENDENCIES" desc="The label above a list of any extensions that depend on this extension.">
|
||||
The following extensions depend on this extension:
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
<?xml version='1.0' encoding='UTF-8'?>
|
||||
<!-- MD Extensions strings (included from generated_resources.grd). -->
|
||||
<grit-part>
|
||||
<message name="IDS_EXTENSIONS_VIEW_INCOGNITO" desc="Text that signifies that the extension view is in a private process.">
|
||||
<message name="IDS_EXTENSIONS_VIEW_INCOGNITO" desc="Text that signifies that the extension view is in a Private process.">
|
||||
(Private)
|
||||
</message>
|
||||
<message name="IDS_EXTENSIONS_ITEM_ALLOW_INCOGNITO" desc="The text next to the checkbox to enable an extension in private mode.">
|
||||
Allow in private
|
||||
<message name="IDS_EXTENSIONS_ITEM_ALLOW_INCOGNITO" desc="The text next to the checkbox to enable an extension in Private mode.">
|
||||
Allow in Private
|
||||
</message>
|
||||
<message name="IDS_EXTENSIONS_ITEM_CHROME_WEB_STORE" desc="Label for button to visit the Brave web store.">
|
||||
View in Web Store
|
||||
|
||||
@@ -290,6 +290,11 @@ are declared in tools/grit/grit_rule.gni.
|
||||
<!-- Profiles specific strings -->
|
||||
<part file="profiles_strings.grdp" />
|
||||
|
||||
<!-- Web app intent picker strings -->
|
||||
<if expr="is_win or is_macosx or is_linux">
|
||||
<part file="protocol_handler_intent_picker_strings.grdp" />
|
||||
</if>
|
||||
|
||||
<!-- Brave-OS-specific strings -->
|
||||
<if expr="chromeos">
|
||||
<part file="chromeos_strings.grdp" />
|
||||
@@ -574,7 +579,7 @@ are declared in tools/grit/grit_rule.gni.
|
||||
Open link in new &window
|
||||
</message>
|
||||
<!-- Also update IDS_CONTENT_CONTEXT_OPENLINKOFFTHERECORD_INAPP in google_chrome_strings.grd and chromium_strings.grd. -->
|
||||
<message name="IDS_CONTENT_CONTEXT_OPENLINKOFFTHERECORD" desc="The name of the open a link in private window command">
|
||||
<message name="IDS_CONTENT_CONTEXT_OPENLINKOFFTHERECORD" desc="The name of the open a link in Private window command">
|
||||
Open link in &private window
|
||||
</message>
|
||||
<message name="IDS_CONTENT_CONTEXT_OPENLINKINPROFILES" desc="The name of the open a link as a different user context menu">
|
||||
@@ -803,7 +808,7 @@ are declared in tools/grit/grit_rule.gni.
|
||||
Open Link in New &Window
|
||||
</message>
|
||||
<!-- Also update IDS_CONTENT_CONTEXT_OPENLINKOFFTHERECORD_INAPP in google_chrome_strings.grd and chromium_strings.grd. -->
|
||||
<message name="IDS_CONTENT_CONTEXT_OPENLINKOFFTHERECORD" desc="In Title Case: The name of the open a link in private window command">
|
||||
<message name="IDS_CONTENT_CONTEXT_OPENLINKOFFTHERECORD" desc="In Title Case: The name of the open a link in Private window command">
|
||||
Open Link in &Private Window
|
||||
</message>
|
||||
<message name="IDS_CONTENT_CONTEXT_OPENLINKINPROFILES" desc="In Title Case: The name of the open a link as a different user context menu">
|
||||
@@ -1038,8 +1043,8 @@ are declared in tools/grit/grit_rule.gni.
|
||||
<message name="IDS_NEW_WINDOW" desc="The text label of a menu item for opening a new window">
|
||||
&New window
|
||||
</message>
|
||||
<message name="IDS_NEW_INCOGNITO_WINDOW" desc="The text label of a menu item for opening a new private window">
|
||||
New &private window
|
||||
<message name="IDS_NEW_INCOGNITO_WINDOW" desc="The text label of a menu item for opening a new Private window">
|
||||
New &Private window
|
||||
</message>
|
||||
<message name="IDS_PIN_TO_START_SCREEN" desc="The text label of the Pin to start screen menu item">
|
||||
Pin this page to Start screen...
|
||||
@@ -1118,7 +1123,7 @@ are declared in tools/grit/grit_rule.gni.
|
||||
<message name="IDS_NEW_WINDOW" desc="In Title Case: The text label of a menu item for opening a new window">
|
||||
&New Window
|
||||
</message>
|
||||
<message name="IDS_NEW_INCOGNITO_WINDOW" desc="In Title Case: The text label of a menu item for opening a new private window">
|
||||
<message name="IDS_NEW_INCOGNITO_WINDOW" desc="In Title Case: The text label of a menu item for opening a new Private window">
|
||||
New &Private Window
|
||||
</message>
|
||||
<message name="IDS_PIN_TO_START_SCREEN" desc="In Title Case: The text label of the Pin to start screen menu item">
|
||||
@@ -1194,12 +1199,6 @@ are declared in tools/grit/grit_rule.gni.
|
||||
<message name="IDS_VISIT_DESKTOP_OF_LRU_USER" desc="The text label of the menu item which allows the user to move a window from one users desktop to another.">
|
||||
Move window to <ph name="USER_NAME">$1<ex>User name</ex></ph> (<ph name="USER_EMAIL">$2<ex>john@google.com</ex></ph>)
|
||||
</message>
|
||||
<message name="IDS_MOVE_TO_DESKS_MENU" desc="The text label of the Move to Desks submenu">
|
||||
Move window to desk
|
||||
</message>
|
||||
<message name="IDS_ASSIGN_TO_ALL_DESKS" desc="The text label of the Assign to All Desks menu item">
|
||||
All desks
|
||||
</message>
|
||||
</if>
|
||||
|
||||
<message name="IDS_ACCNAME_ZOOM_PLUS2" desc="The accessible description of the Make Text Larger menu item in the merged menu">
|
||||
@@ -1234,6 +1233,9 @@ are declared in tools/grit/grit_rule.gni.
|
||||
<message name="IDS_TAKE_SCREENSHOT" desc="The text label of the Take Screenshot menu item">
|
||||
T&ake screenshot
|
||||
</message>
|
||||
<message name="IDS_RESTORE_ALL_TABS" desc="The text label of the Restore All Tabs menu item.">
|
||||
R&estore all tabs
|
||||
</message>
|
||||
<message name="IDS_RESTORE_TAB" desc="The text label of the Restore Tab menu item">
|
||||
R&eopen closed tab
|
||||
</message>
|
||||
@@ -1272,6 +1274,9 @@ are declared in tools/grit/grit_rule.gni.
|
||||
<message name="IDS_TAKE_SCREENSHOT" desc="The text label of the Take Screenshot menu item">
|
||||
T&ake Screenshot
|
||||
</message>
|
||||
<message name="IDS_RESTORE_ALL_TABS" desc="In Title Case: The text label of the Restore All Tabs menu item.">
|
||||
R&estore All Tabs
|
||||
</message>
|
||||
<message name="IDS_RESTORE_TAB" desc="In Title Case: The text label of the Restore Tab menu item">
|
||||
R&eopen Closed Tab
|
||||
</message>
|
||||
@@ -1690,6 +1695,9 @@ are declared in tools/grit/grit_rule.gni.
|
||||
Extensions, apps, and themes can harm your computer. Are you sure you want to continue?
|
||||
</message>
|
||||
</if>
|
||||
<message name="IDS_PROMPT_DANGEROUS_DOWNLOAD_ACCOUNT_COMPROMISE" desc="Message shown to the user to validate the download when the download content is deteremined to be associated with account compromise by safebrowsing.">
|
||||
<ph name="FILE_NAME">$1<ex>bla.exe</ex></ph> could let attackers steal your personal information.
|
||||
</message>
|
||||
<message name="IDS_PROMPT_UNCOMMON_DOWNLOAD_CONTENT" desc="Message shown to the user to validate the download when the download content is classified as uncommon by safebrowsing.">
|
||||
<ph name="FILE_NAME">$1<ex>bla.exe</ex></ph> is not commonly downloaded and may be dangerous.
|
||||
</message>
|
||||
@@ -1753,6 +1761,9 @@ are declared in tools/grit/grit_rule.gni.
|
||||
<message name="IDS_BLOCK_REASON_DEEP_SCANNING" desc="Message shown on chrome://downloads when a download is being scanned">
|
||||
This file is being scanned.
|
||||
</message>
|
||||
<message name="IDS_BLOCK_REASON_ACCOUNT_COMPROMISE" desc="Message shown to the user on chrome://downloads page to explain that this download is blocked because it is associated with account compromise.">
|
||||
This file could let attackers steal your personal information.
|
||||
</message>
|
||||
<message name="IDS_DEEP_SCANNED_SAFE_DESCRIPTION" desc="Message shown to the user on chrome://downloads page to explain this this download was deep scanned, and found to be safe.">
|
||||
Security checks are done
|
||||
</message>
|
||||
@@ -1799,6 +1810,9 @@ are declared in tools/grit/grit_rule.gni.
|
||||
<message name="IDS_KEEP_UNCOMMON_DOWNLOAD_TITLE" desc="Title for the confirmation dialog asking whether the user really meant to keep an uncommon download">
|
||||
Keep file?
|
||||
</message>
|
||||
<message name="IDS_CONFIRM_DANGEROUS_DOWNLOAD_ACCOUNT_COMPROMISE_TITLE" desc="Title for the confirmation dialog asking whether the user really meant to keep an uncommon download">
|
||||
This file is dangerous
|
||||
</message>
|
||||
<message name="IDS_PROMPT_CONFIRM_KEEP_DANGEROUS_DOWNLOAD" desc="Prompt text for the confirmation dialog asking whether the user really meant to keep a dangerous download">
|
||||
This file may be harmful for your computer.
|
||||
</message>
|
||||
@@ -2153,39 +2167,39 @@ are declared in tools/grit/grit_rule.gni.
|
||||
</if>
|
||||
|
||||
<!-- Abandon in-progress downloads confirmation dialog -->
|
||||
<message name="IDS_ABANDON_DOWNLOAD_DIALOG_TITLE" desc="Title of the dialog shown when the user closes the browser or the last private window while one or more downloads are in progress. If necessary, add '#' for plural cases. [ICU Syntax]">
|
||||
<message name="IDS_ABANDON_DOWNLOAD_DIALOG_TITLE" desc="Title of the dialog shown when the user closes the browser or the last Private window while one or more downloads are in progress. If necessary, add '#' for plural cases. [ICU Syntax]">
|
||||
{NUM_DOWNLOAD, plural,
|
||||
=1 {Download is in progress} other {Downloads are in progress}}
|
||||
</message>
|
||||
<if expr="not use_titlecase">
|
||||
<message name="IDS_ABANDON_DOWNLOAD_DIALOG_CONTINUE_BUTTON" desc="Button text on a dialog shown when the user closes the browser or the last private window while one or more downloads are in progress. When clicked, the button will continue the download without exiting.">
|
||||
<message name="IDS_ABANDON_DOWNLOAD_DIALOG_CONTINUE_BUTTON" desc="Button text on a dialog shown when the user closes the browser or the last Private window while one or more downloads are in progress. When clicked, the button will continue the download without exiting.">
|
||||
Continue downloading
|
||||
</message>
|
||||
</if>
|
||||
<if expr="use_titlecase">
|
||||
<message name="IDS_ABANDON_DOWNLOAD_DIALOG_CONTINUE_BUTTON" desc="In Title Case: Button text on a dialog shown when the user closes the browser or the last private window while one or more downloads are in progress. When clicked, the button will continue the download without exiting.">
|
||||
<message name="IDS_ABANDON_DOWNLOAD_DIALOG_CONTINUE_BUTTON" desc="In Title Case: Button text on a dialog shown when the user closes the browser or the last Private window while one or more downloads are in progress. When clicked, the button will continue the download without exiting.">
|
||||
Continue Downloading
|
||||
</message>
|
||||
</if>
|
||||
<if expr="not is_macosx">
|
||||
<message name="IDS_ABANDON_DOWNLOAD_DIALOG_INCOGNITO_MESSAGE" desc="Message on a dialog shown when the user closes the last private window while one or more downloads are in progress. This string is shown on Windows, Chrome OS, and Linux, which all use 'Exit' to refer to closing a browser.">
|
||||
Exit private mode anyway?
|
||||
<message name="IDS_ABANDON_DOWNLOAD_DIALOG_INCOGNITO_MESSAGE" desc="Message on a dialog shown when the user closes the last Private window while one or more downloads are in progress. This string is shown on Windows, Chrome OS, and Linux, which all use 'Exit' to refer to closing a browser.">
|
||||
Exit Private mode anyway?
|
||||
</message>
|
||||
<message name="IDS_ABANDON_DOWNLOAD_DIALOG_GUEST_MESSAGE" desc="Message on a dialog shown when the user closes the last guest window while one or more downloads are in progress. This string is shown on Windows, Chrome OS, and Linux, which all use 'Exit' to refer to closing a browser.">
|
||||
Exit guest mode anyway?
|
||||
</message>
|
||||
<message name="IDS_ABANDON_DOWNLOAD_DIALOG_EXIT_BUTTON" desc="Button text on a dialog shown when the user closes the browser or the last private window while one or more downloads are in progress. When clicked, the button will abandon the download and exit. This string is shown on Windows, Chrome OS, and Linux, which all use 'Exit' to refer to closing a browser.">
|
||||
<message name="IDS_ABANDON_DOWNLOAD_DIALOG_EXIT_BUTTON" desc="Button text on a dialog shown when the user closes the browser or the last Private window while one or more downloads are in progress. When clicked, the button will abandon the download and exit. This string is shown on Windows, Chrome OS, and Linux, which all use 'Exit' to refer to closing a browser.">
|
||||
Exit
|
||||
</message>
|
||||
</if>
|
||||
<if expr="is_macosx">
|
||||
<message name="IDS_ABANDON_DOWNLOAD_DIALOG_INCOGNITO_MESSAGE" desc="Message on a dialog shown when the user closes the last private window while one or more downloads are in progress. This string is shown on Mac OSX only, which uses 'Quit' to refer to closing a browser.">
|
||||
Quit private mode anyway?
|
||||
<message name="IDS_ABANDON_DOWNLOAD_DIALOG_INCOGNITO_MESSAGE" desc="Message on a dialog shown when the user closes the last Private window while one or more downloads are in progress. This string is shown on Mac OSX only, which uses 'Quit' to refer to closing a browser.">
|
||||
Quit Private mode anyway?
|
||||
</message>
|
||||
<message name="IDS_ABANDON_DOWNLOAD_DIALOG_GUEST_MESSAGE" desc="Message on a dialog shown when the user closes the last guest window while one or more downloads are in progress. This string is shown on Mac OSX only, which uses 'Exit' to refer to closing a browser.">
|
||||
Exit guest mode anyway?
|
||||
</message>
|
||||
<message name="IDS_ABANDON_DOWNLOAD_DIALOG_EXIT_BUTTON" desc="Button text on a dialog shown when the user closes the browser or the last private window while one or more downloads are in progress. When clicked, the button will abandon the download and quit. This string is shown on Mac OSX only, which uses 'Quit' to refer to closing a browser.">
|
||||
<message name="IDS_ABANDON_DOWNLOAD_DIALOG_EXIT_BUTTON" desc="Button text on a dialog shown when the user closes the browser or the last Private window while one or more downloads are in progress. When clicked, the button will abandon the download and quit. This string is shown on Mac OSX only, which uses 'Quit' to refer to closing a browser.">
|
||||
Quit
|
||||
</message>
|
||||
</if>
|
||||
@@ -3226,11 +3240,6 @@ are declared in tools/grit/grit_rule.gni.
|
||||
Empty Cache and Hard Reload
|
||||
</message>
|
||||
|
||||
<!-- Fullscreen mode -->
|
||||
<message name="IDS_EXIT_FULLSCREEN_MODE" desc="Clickable message displayed on entering full screen mode. Clicking on the link exits full screen mode.">
|
||||
Exit full screen
|
||||
</message>
|
||||
|
||||
<!-- Tab sharing infobar -->
|
||||
<message name="IDS_TAB_SHARING_INFOBAR_SHARING_CURRENT_TAB_LABEL" desc="Text displayed on an infobar when current tab is being shared.">
|
||||
Sharing this tab to <ph name="APP_NAME">$1<ex>meet.google.com</ex></ph>
|
||||
@@ -3428,19 +3437,19 @@ are declared in tools/grit/grit_rule.gni.
|
||||
<message name="IDS_TASK_MANAGER_EXTENSION_PREFIX" desc="The prefix for a Task Manager extension row (always visible if the extension has a view)">
|
||||
Extension: <ph name="EXTENSION_NAME">$1<ex>Sample Extension</ex></ph>
|
||||
</message>
|
||||
<message name="IDS_TASK_MANAGER_EXTENSION_INCOGNITO_PREFIX" desc="The prefix for a Task Manager private extension row (may not be visible if private is not open)">
|
||||
<message name="IDS_TASK_MANAGER_EXTENSION_INCOGNITO_PREFIX" desc="The prefix for a Task Manager Private extension row (may not be visible if Private is not open)">
|
||||
Private Extension: <ph name="EXTENSION_NAME">$1<ex>Sample Extension</ex></ph>
|
||||
</message>
|
||||
<message name="IDS_TASK_MANAGER_APP_PREFIX" desc="The prefix for a Task Manager app row (always visible if the app has a view)">
|
||||
App: <ph name="APP_NAME">$1<ex>Sample App</ex></ph>
|
||||
</message>
|
||||
<message name="IDS_TASK_MANAGER_APP_INCOGNITO_PREFIX" desc="The prefix for a Task Manager private app row (may not be visible if the app is not open in private)">
|
||||
<message name="IDS_TASK_MANAGER_APP_INCOGNITO_PREFIX" desc="The prefix for a Task Manager Private app row (may not be visible if the app is not open in Private)">
|
||||
Private App: <ph name="APP_NAME">$1<ex>Sample App</ex></ph>
|
||||
</message>
|
||||
<message name="IDS_TASK_MANAGER_TAB_PREFIX" desc="The prefix for a Task Manager Tab row">
|
||||
Tab: <ph name="TAB_NAME">$1<ex>Brave</ex></ph>
|
||||
</message>
|
||||
<message name="IDS_TASK_MANAGER_TAB_INCOGNITO_PREFIX" desc="The prefix for a Task Manager private Tab row (may not be visible if private is not open)">
|
||||
<message name="IDS_TASK_MANAGER_TAB_INCOGNITO_PREFIX" desc="The prefix for a Task Manager Private Tab row (may not be visible if Private is not open)">
|
||||
Private Tab: <ph name="TAB_NAME">$1<ex>Brave</ex></ph>
|
||||
</message>
|
||||
<message name="IDS_TASK_MANAGER_BACKGROUND_APP_PREFIX" desc="The prefix for a Task Manager background app task representing a BackgroundContents">
|
||||
@@ -3494,13 +3503,13 @@ are declared in tools/grit/grit_rule.gni.
|
||||
<message name="IDS_TASK_MANAGER_SUBFRAME_PREFIX" desc="The prefix for a out-of-process-iframe row in the Task Manager (these processes are created when site isolation is enabled)">
|
||||
Subframe: <ph name="SUBFRAME_SITE">$1<ex>https://youtube.com/</ex></ph>
|
||||
</message>
|
||||
<message name="IDS_TASK_MANAGER_SUBFRAME_INCOGNITO_PREFIX" desc="The prefix for a Private out-of-process-iframe process row in the Task Manager (these processes are created when site isolation is enabled, in private mode)">
|
||||
<message name="IDS_TASK_MANAGER_SUBFRAME_INCOGNITO_PREFIX" desc="The prefix for a Private out-of-process-iframe process row in the Task Manager (these processes are created when site isolation is enabled, in Private mode)">
|
||||
Private Subframe: <ph name="SUBFRAME_SITE">$1<ex>https://youtube.com/</ex></ph>
|
||||
</message>
|
||||
<message name="IDS_TASK_MANAGER_PORTAL_PREFIX" desc="The prefix for a portal row in the Task Manager (these processes are created when portals is enabled)">
|
||||
Portal: <ph name="SUBFRAME_SITE">$1<ex>https://youtube.com/</ex></ph>
|
||||
</message>
|
||||
<message name="IDS_TASK_MANAGER_PORTAL_INCOGNITO_PREFIX" desc="The prefix for a Private portal row in the Task Manager (these processes are created when portals is enabled, in private mode)">
|
||||
<message name="IDS_TASK_MANAGER_PORTAL_INCOGNITO_PREFIX" desc="The prefix for a Private portal row in the Task Manager (these processes are created when portals is enabled, in Private mode)">
|
||||
Private Portal: <ph name="SUBFRAME_SITE">$1<ex>https://youtube.com/</ex></ph>
|
||||
</message>
|
||||
<message name="IDS_TASK_MANAGER_ARC_PREFIX" desc="The prefix for an ARC general process row">
|
||||
@@ -3719,10 +3728,10 @@ are declared in tools/grit/grit_rule.gni.
|
||||
</message>
|
||||
|
||||
<!-- Extension/App install dialog strings -->
|
||||
<message name="IDS_EXTENSION_PROMPT_APP_CONNECT_FROM_INCOGNITO" desc="Shown when a website tries to connect to an app from private mode, prompting the user to allow or deny the request.">
|
||||
<message name="IDS_EXTENSION_PROMPT_APP_CONNECT_FROM_INCOGNITO" desc="Shown when a website tries to connect to an app from Private mode, prompting the user to allow or deny the request.">
|
||||
<ph name="ORIGIN">$1<ex>http://www.google.com</ex></ph> wants to communicate with the app "<ph name="EXTENSION_NAME">$2<ex>Gmail</ex></ph>"
|
||||
</message>
|
||||
<message name="IDS_EXTENSION_PROMPT_EXTENSION_CONNECT_FROM_INCOGNITO" desc="Shown when a website tries to connect to an extension from private mode, prompting the user to allow or deny the request.">
|
||||
<message name="IDS_EXTENSION_PROMPT_EXTENSION_CONNECT_FROM_INCOGNITO" desc="Shown when a website tries to connect to an extension from Private mode, prompting the user to allow or deny the request.">
|
||||
<ph name="ORIGIN">$1<ex>http://www.google.com</ex></ph> wants to communicate with the extension "<ph name="EXTENSION_NAME">$2<ex>Gmail Checker</ex></ph>"
|
||||
</message>
|
||||
<message name="IDS_EXTENSION_PROMPT_WILL_HAVE_ACCESS_TO" desc="Second line in the content area of the extension or app installation prompt. Note that the exact wording is important. This should mean that the extension or app _can_ access the listed privileges, but not necessarily that it will or needs to.">
|
||||
@@ -4084,6 +4093,9 @@ are declared in tools/grit/grit_rule.gni.
|
||||
<message name="IDS_EXTENSION_PROMPT_WARNING_ENTERPRISE_PLATFORMKEYS" desc="Permission string for enterprise platform keys permission.">
|
||||
Perform security-related tasks for your organization, such as managing certificates and keys stored on the device
|
||||
</message>
|
||||
<message name="IDS_EXTENSION_PROMPT_WARNING_ENTERPRISE_REPORTING_PRIVATE" desc="Permission string for enterprise private reporting permission.">
|
||||
Read information about your browser, OS, and device
|
||||
</message>
|
||||
</if>
|
||||
|
||||
<!-- Extension/App error messages -->
|
||||
@@ -4996,8 +5008,20 @@ Keep your key file in a safe place. You will need it to create new versions of y
|
||||
</message>
|
||||
|
||||
<!-- Experimental Lacros Infobar-->
|
||||
<message name="IDS_EXPERIMENTAL_LACROS_WARNING_MESSAGE" desc="Message shown when user uses Lacros, an experimental feature.">
|
||||
Lacros is an experimental Browser. Please report issues with: Help > "Report an issue..." The standard browser can be found by typing "Brave" into Launcher.
|
||||
<message name="IDS_EXPERIMENTAL_LACROS_WARNING_MESSAGE" desc="Message shown when user launches Lacros, an experimental feature, for the first time.">
|
||||
Lacros is an experimental Browser. Please report issues with: Help > "Report an issue...".
|
||||
</message>
|
||||
|
||||
<message name="IDS_EXPERIMENTAL_LACROS_WARNING_MESSAGE_PRIMARY" desc="Addendum which is sometimes added to the initial warning message.">
|
||||
The standard browser can be found by typing "Brave" into Launcher.
|
||||
</message>
|
||||
|
||||
<message name="IDS_EXPERIMENTAL_LACROS_WARNING_MESSAGE_MANAGED" desc="Addendum which is sometimes added to the initial warning message.">
|
||||
For more information, contact your administrator.
|
||||
</message>
|
||||
|
||||
<message name="IDS_EXPERIMENTAL_LACROS_WARNING_LEARN_MORE" desc="A section of text that the user can click on to learn more about Lacros.">
|
||||
Learn More
|
||||
</message>
|
||||
|
||||
<!-- Bad Flags Infobar-->
|
||||
@@ -5178,7 +5202,7 @@ Keep your key file in a safe place. You will need it to create new versions of y
|
||||
Clear input
|
||||
</message>
|
||||
<if expr="is_android or enable_vr">
|
||||
<message name="IDS_SEARCH_OR_TYPE_WEB_ADDRESS" desc="Prompt to enter text into the text field that will either perform web searches or navigate to a website. [CHAR-LIMIT=38]" formatter_data="android_java">
|
||||
<message name="IDS_SEARCH_OR_TYPE_WEB_ADDRESS" desc="Prompt to enter text into the text field that will either perform web searches or navigate to a website. [CHAR_LIMIT=38]" formatter_data="android_java">
|
||||
Search or type web address
|
||||
</message>
|
||||
</if>
|
||||
@@ -5517,8 +5541,17 @@ Keep your key file in a safe place. You will need it to create new versions of y
|
||||
your carts
|
||||
</message>
|
||||
<message name="IDS_NTP_MODULES_DRIVE_SENTENCE" desc="Name of the Drive module in sentence case shown in various UIs.">
|
||||
Google Drive files
|
||||
</message>
|
||||
<message name="IDS_NTP_MODULES_DRIVE_SENTENCE2" desc="Variant of the name of the Drive module in sentence case shown in various UIs.">
|
||||
Drive files
|
||||
</message>
|
||||
<message name="IDS_NTP_MODULES_DRIVE_FILES_SENTENCE" desc="Name of the files in the Drive module in sentence case shown in various UIs.">
|
||||
Files
|
||||
</message>
|
||||
<message name="IDS_NTP_MODULES_DRIVE_FILES_LOWER" desc="Name of the files in the Drive module in lowercase shown in various UIs.">
|
||||
these files
|
||||
</message>
|
||||
<message name="IDS_NTP_MODULES_DUMMY_LOWER" translateable="false" desc="Name of the dummy module in lowercase shown in various UIs.">
|
||||
this module
|
||||
</message>
|
||||
@@ -5529,7 +5562,13 @@ Keep your key file in a safe place. You will need it to create new versions of y
|
||||
Even Better Module
|
||||
</message>
|
||||
<message name="IDS_NTP_MODULES_DRIVE_TITLE" desc="Title shown in the header of the drive module and various other UIs.">
|
||||
From Google Drive
|
||||
From your Google Drive
|
||||
</message>
|
||||
<message name="IDS_NTP_MODULES_DRIVE_INFO" desc="Text shown in the body of the info dialog of the drive module.">
|
||||
You’re seeing your recent and suggested documents based on your previous activity using Google Drive.
|
||||
<ph name="BREAK"><br></ph>
|
||||
<ph name="BREAK"><br></ph>
|
||||
Learn about the data Google Drive collects and why <ph name="BEGIN_LINK"><a href="https://support.google.com/drive/answer/2450387" target="_blank" rel="noopener noreferrer"></ph>here<ph name="END_LINK"></a></ph>.
|
||||
</message>
|
||||
<message name="IDS_NTP_MODULES_KALEIDOSCOPE_TITLE" desc="Title shown in the header of the Kaleidoscope module.">
|
||||
Top picks for you
|
||||
@@ -5537,11 +5576,11 @@ Keep your key file in a safe place. You will need it to create new versions of y
|
||||
<message name="IDS_NTP_MODULES_SHOPPING_TASKS_INFO_TITLE" desc="Title shown on the info dialog of a task module.">
|
||||
Why am I seeing this?
|
||||
</message>
|
||||
<message name="IDS_NTP_MODULES_SHOPPING_TASKS_INFO_1" desc="First paragraph shown in the body of the info dialog of a task module.">
|
||||
You're seeing this item based on your previous activity using Brave services. You can see your data, delete it, and change your settings at <ph name="BEGIN_LINK"><a href="$1" target="_blank" rel="noopener noreferrer"></ph>myactivity.google.com<ph name="END_LINK"></a></ph>.
|
||||
</message>
|
||||
<message name="IDS_NTP_MODULES_SHOPPING_TASKS_INFO_2" desc="Second paragraph shown in the body of the info dialog of a task module.">
|
||||
Learn about the data Brave collects and why at <ph name="BEGIN_LINK"><a href="$1" target="_blank" rel="noopener noreferrer"></ph>policies.google.com<ph name="END_LINK"></a></ph>.
|
||||
<message name="IDS_NTP_MODULES_TASKS_INFO" desc="Text shown in the body of the info dialog of a task module.">
|
||||
You're seeing this item based on your previous activity using Brave services. You can see your data, delete it, and change your settings at <ph name="BEGIN_LINK"><a href="https://myactivity.google.com/" target="_blank" rel="noopener noreferrer"></ph>myactivity.google.com<ph name="END_LINK"></a></ph>.
|
||||
<ph name="BREAK"><br></ph>
|
||||
<ph name="BREAK"><br></ph>
|
||||
Learn about the data Brave collects and why at <ph name="BEGIN_LINK"><a href="https://policies.google.com/" target="_blank" rel="noopener noreferrer"></ph>policies.google.com<ph name="END_LINK"></a></ph>.
|
||||
</message>
|
||||
<message name="IDS_NTP_MODULES_SHOPPING_TASKS_INFO_CLOSE" desc="Text shown on close button of a task module.">
|
||||
Close
|
||||
@@ -5574,7 +5613,7 @@ Keep your key file in a safe place. You will need it to create new versions of y
|
||||
Up to <ph name="DISCOUNT_UP_TO_AMOUNT">$1<ex>15%</ex></ph> off
|
||||
</message>
|
||||
<message name="IDS_NTP_MODULES_CART_DISCOUNT_CONSENT_CONTENT" desc="Text shown on the consent card for rule-based discount asking if users would like to give their consent to the feature.">
|
||||
Ask Brave to find discounts on what you’ve added to your carts?
|
||||
Allow Brave to find discounts on what you add to your carts?
|
||||
</message>
|
||||
<message name="IDS_NTP_MODULES_CART_DISCOUNT_CONSENT_ACCEPT" desc="Text shown on the accept button of the consent card for rule-based discount. By clicking this button, users have chosen to opt in the feature and let Brave get discounts for them. See consent request in IDS_NTP_MODULES_CART_DISCOUNT_CONSENT_CONTENT.">
|
||||
Get discounts
|
||||
@@ -5678,6 +5717,9 @@ Keep your key file in a safe place. You will need it to create new versions of y
|
||||
<message name="IDS_TOOLTIP_CHROMELABS_BUTTON" desc="The tooltip for the Brave Labs button in the toolbar">
|
||||
Enable featured experiments
|
||||
</message>
|
||||
<message name="IDS_TOOLTIP_LEFT_ALIGNED_SIDE_PANEL_BUTTON" desc="The tooltip for the left aligned side panel toggle button">
|
||||
Toggle left aligned side panel
|
||||
</message>
|
||||
<message name="IDS_TOOLTIP_CHROMELABS_COMBOBOX" desc="The tooltip for the Brave Labs combobox to select between experiment states">
|
||||
Select experiment state for <ph name="EXPERIMENT_NAME">$1<ex>Tab Scrolling</ex></ph>
|
||||
</message>
|
||||
@@ -5773,7 +5815,7 @@ Keep your key file in a safe place. You will need it to create new versions of y
|
||||
</if>
|
||||
|
||||
<!--Accessible name/action strings-->
|
||||
<message name="IDS_ACCESSIBLE_INCOGNITO_WINDOW_TITLE_FORMAT" desc="The format for the accessible title of a private window">
|
||||
<message name="IDS_ACCESSIBLE_INCOGNITO_WINDOW_TITLE_FORMAT" desc="The format for the accessible title of a Private window">
|
||||
<ph name="WINDOW_TITLE">$1</ph> (Private)
|
||||
</message>
|
||||
<message name="IDS_ACCESSIBLE_GUEST_WINDOW_TITLE_FORMAT" desc="The format for the accessible title of a guest mode window">
|
||||
@@ -5812,6 +5854,9 @@ Keep your key file in a safe place. You will need it to create new versions of y
|
||||
<message name="IDS_ACCNAME_CHROMELABS_BUTTON" desc="The accessible name for the Brave Labs experiments button">
|
||||
Experiments
|
||||
</message>
|
||||
<message name="IDS_ACCNAME_LEFT_ALIGNED_SIDE_PANEL_BUTTON" desc="The accessible name for the left aligned side panel toggle button">
|
||||
Left aligned side panel
|
||||
</message>
|
||||
<message name="IDS_ACCESSIBLE_TEXT_CHROMELABS_BUTTON_ADDED_BY_ENTERPRISE_POLICY" desc="The text read out by the screen reader when the Brave Labs experiments button is added to the toolbar by an enterprise policy change.">
|
||||
Enterprise policy changed. Experiments button added to toolbar. Click the button to open a dialog to enable experiments.
|
||||
</message>
|
||||
@@ -5892,22 +5937,16 @@ Keep your key file in a safe place. You will need it to create new versions of y
|
||||
New! Control your music, videos, and more.
|
||||
</message>
|
||||
<message name="IDS_INCOGNITOWINDOW_PROMO_0" desc="Variations option 1. Text shown on promotional UI appearing next to the App Menu button, which encourages users to use it.">
|
||||
You can browse privately using a private window
|
||||
You can browse privately using a Private window
|
||||
</message>
|
||||
<message name="IDS_INCOGNITOWINDOW_PROMO_1" desc="Variations option 2. Text shown on promotional UI appearing next to the App Menu button, which encourages users to use it.">
|
||||
Use the web without saving your browsing history with a private window
|
||||
Use the web without saving your browsing history with a Private window
|
||||
</message>
|
||||
<message name="IDS_INCOGNITOWINDOW_PROMO_2" desc="Variations option 3. Text shown on promotional UI appearing next to the App Menu button, which encourages users to use it.">
|
||||
Using a shared computer? Try opening a private window.
|
||||
Using a shared computer? Try opening a Private window.
|
||||
</message>
|
||||
<message name="IDS_INCOGNITOWINDOW_PROMO_3" desc="Variations option 4. Text shown on promotional UI appearing next to the App Menu button, which encourages users to use it.">
|
||||
To browse privately, click the dots icon menu to open a private window
|
||||
</message>
|
||||
<message name="IDS_LIVE_CAPTION_PROMO" desc="Text shown on promotional UI appearing next to the global media controls button">
|
||||
Get captions for your audio and video
|
||||
</message>
|
||||
<message name="IDS_LIVE_CAPTION_PROMO_SCREENREADER" desc="Text announced encouraging users to open live caption">
|
||||
Get captions for your audio and video by enabling Live Caption in settings
|
||||
To browse privately, click the dots icon menu to open a Private window
|
||||
</message>
|
||||
<message name="IDS_NEWTAB_PROMO_0" desc="Variations option 1. Text shown on promotional UI appearing next to the New Tab button, which encourages users to use it.">
|
||||
Open a new tab with one click
|
||||
@@ -5922,7 +5961,7 @@ Keep your key file in a safe place. You will need it to create new versions of y
|
||||
When you're ready, find your reading list here
|
||||
</message>
|
||||
<message name="IDS_READING_LIST_ENTRY_POINT_PROMO" desc="Text shown on promotional UI to encourage users to add a tab to their reading list">
|
||||
Add this page to reading list
|
||||
To add this page to your reading list, click the Bookmark icon
|
||||
</message>
|
||||
<message name="IDS_REOPEN_TAB_PROMO" desc="Text shown on promotional UI appearing next to the app menu button">
|
||||
Reopen a tab if you accidentally closed it
|
||||
@@ -5930,6 +5969,9 @@ Keep your key file in a safe place. You will need it to create new versions of y
|
||||
<message name="IDS_DESKTOP_PWA_INSTALL_PROMO" desc="Text shown on promotional UI appearing next to the PWA install icon">
|
||||
To get back here quickly, install <ph name="APP_NAME">$1<ex>Brave Maps</ex></ph> by clicking the install button
|
||||
</message>
|
||||
<message name="IDS_UPDATED_CONNECTION_SECURITY_INDICATORS_PROMO" desc="Text shown on promotional UI appearing next to the new omnibox connection security icon">
|
||||
Your connection is always secure unless Brave tells you otherwise
|
||||
</message>
|
||||
<message name="IDS_REOPEN_TAB_PROMO_SCREENREADER" desc="Text announced encouraging users to reopen a tab with the given shortcut">
|
||||
<ph name="SHORTCUT">$1<ex>CTRL+SHIFT+T</ex></ph> can reopen accidentally closed tabs
|
||||
</message>
|
||||
@@ -6034,10 +6076,10 @@ Keep your key file in a safe place. You will need it to create new versions of y
|
||||
No thanks
|
||||
</message>
|
||||
</if>
|
||||
<message name="IDS_PASSWORD_MANAGER_USERNAME_LABEL" desc="Label for the username field in a prompt to store new credential">
|
||||
<message name="IDS_PASSWORD_MANAGER_USERNAME_LABEL" desc="Label for the username field in a prompt to store new credential" formatter_data="android_java">
|
||||
Username
|
||||
</message>
|
||||
<message name="IDS_PASSWORD_MANAGER_PASSWORD_LABEL" desc="Label for the password field in a prompt to store new credential">
|
||||
<message name="IDS_PASSWORD_MANAGER_PASSWORD_LABEL" desc="Label for the password field in a prompt to store new credential" formatter_data="android_java">
|
||||
Password
|
||||
</message>
|
||||
<if expr="not is_android">
|
||||
@@ -6145,7 +6187,7 @@ Keep your key file in a safe place. You will need it to create new versions of y
|
||||
<message name="IDS_PASSWORD_MANAGER_BLOCKLIST_BUTTON" desc="Mobile: Button text for the 'Save Password' infobar's 'Never remember for this site' option">
|
||||
Never
|
||||
</message>
|
||||
<message name="IDS_PASSWORD_MANAGER_UPDATE_BUTTON" desc="Label for the 'update' button in the Update Password infobar. This infobar asks if the user wishes to update the saved password for a site to a new password the user has just entered; the button applies the suggested update.">
|
||||
<message name="IDS_PASSWORD_MANAGER_UPDATE_BUTTON" desc="Label for the 'update' button in the Update Password infobar. This infobar asks if the user wishes to update the saved password for a site to a new password the user has just entered; the button applies the suggested update." formatter_data="android_java">
|
||||
Update
|
||||
</message>
|
||||
<message name="IDS_PASSWORD_SAVING_STATUS_TOGGLE" desc="Label for the toggle that shows whether saving passwords for the current site is enabled or disabled.">
|
||||
@@ -6172,10 +6214,10 @@ Keep your key file in a safe place. You will need it to create new versions of y
|
||||
<message name="IDS_PASSWORD_MANAGER_ACCESSORY_GENERATE_PASSWORD_BUTTON_TITLE" desc="Text for the button used to generate a password.">
|
||||
Suggest strong password
|
||||
</message>
|
||||
<message name="IDS_UPDATE_PASSWORD_DIALOG_TITLE" desc="The title of the update password dialog.">
|
||||
<message name="IDS_UPDATE_PASSWORD_DIALOG_TITLE" desc="The title of the update password dialog." formatter_data="android_java">
|
||||
Update password for <ph name="ORIGIN">%1$s<ex>example.com</ex></ph>
|
||||
</message>
|
||||
<message name="IDS_UPDATE_PASSWORD_DIALOG_SIGNED_IN_DESCRIPTION" desc="The description at the bottom of update password dialog when the user is signed in.">
|
||||
<message name="IDS_UPDATE_PASSWORD_DIALOG_SIGNED_IN_DESCRIPTION" desc="The description at the bottom of update password dialog when the user is signed in." formatter_data="android_java">
|
||||
Passwords are saved in your Brave sync chain (<ph name="ACCOUNT">%1$s<ex>user@gmail.com</ex></ph>) so you can use them on any device
|
||||
</message>
|
||||
</if>
|
||||
@@ -6797,6 +6839,12 @@ Keep your key file in a safe place. You will need it to create new versions of y
|
||||
<message name="IDS_TAB_SEARCH_A11Y_FOUND_TABS_FOR" desc="Plural form of a11y message after user changes search field when search filed is not empty.">
|
||||
Found <ph name="NUM">$1<ex>2</ex></ph> Tabs For '<ph name="SEARCH_TEXT">$2<ex>google</ex></ph>'
|
||||
</message>
|
||||
<message name="IDS_TAB_SEARCH_A11Y_OPEN_TAB" desc="Singular form of a11y message announced after user selects an open tab.">
|
||||
Open Tab
|
||||
</message>
|
||||
<message name="IDS_TAB_SEARCH_A11Y_RECENTLY_CLOSED_TAB" desc="Singular form of a11y message announced after user selects a recently closed tab.">
|
||||
Recently Closed Tab
|
||||
</message>
|
||||
<message name="IDS_TAB_SEARCH_OPEN_TABS" desc="The label on the tab search list section corresponding to open tabs.">
|
||||
Open Tabs
|
||||
</message>
|
||||
@@ -6990,16 +7038,13 @@ Keep your key file in a safe place. You will need it to create new versions of y
|
||||
</message>
|
||||
</if>
|
||||
|
||||
<!-- Mac First-run dialog -->
|
||||
<!-- First-run dialog -->
|
||||
<message name="IDS_FR_ENABLE_LOGGING" desc="The label of the checkbox to enable/disable crash and user metrics logging">
|
||||
Automatically send crash reports to Brave
|
||||
</message>
|
||||
|
||||
<!-- Mac First-run dialog messages -->
|
||||
<if expr="is_macosx">
|
||||
<message name="IDS_FIRSTRUN_DLG_MAC_WINDOW_TITLE" desc="Window title of First Run Title on OS X - displayed in Window title bar">
|
||||
Welcome to <ph name="PRODUCT_NAME">$1<ex>Brave</ex></ph>
|
||||
</message>
|
||||
<message name="IDS_FIRSTRUN_DLG_MAC_COMPLETE_INSTALLATION_LABEL" desc="Label at top of Dialog noting what's going to happen">
|
||||
<ph name="PRODUCT_NAME">$1<ex>Brave</ex></ph> is ready to complete your installation
|
||||
</message>
|
||||
@@ -7326,6 +7371,23 @@ Keep your key file in a safe place. You will need it to create new versions of y
|
||||
Can't create QR code
|
||||
</message>
|
||||
|
||||
<!-- Sharing Hub feature strings. -->
|
||||
<message name="IDS_SHARING_HUB_TITLE" desc="The title for the Sharing Hub feature.">
|
||||
Share
|
||||
</message>
|
||||
<message name="IDS_SHARING_HUB_TOOLTIP" desc="Tooltip for the Sharing Hub feature omnibox icon.">
|
||||
Share this page
|
||||
</message>
|
||||
<message name="IDS_SHARING_HUB_COPY_LINK_LABEL" desc="The text label for the copy link button in the Sharing Hub dialog and app menu.">
|
||||
Copy link
|
||||
</message>
|
||||
<message name="IDS_SHARING_HUB_SAVE_PAGE_LABEL" desc="The text label for the save page button in the Sharing Hub dialog and app menu.">
|
||||
Save page as...
|
||||
</message>
|
||||
<message name="IDS_SHARING_HUB_MEDIA_ROUTER_LABEL" desc="The text label for the media router button in the Sharing Hub dialog and app menu.">
|
||||
Cast...
|
||||
</message>
|
||||
|
||||
<!-- Clipboard History Menu feature. -->
|
||||
<message name="IDS_CONTEXT_MENU_SHOW_CLIPBOARD_HISTORY_MENU" desc="Show the clipboard history menu.">
|
||||
Clipboard
|
||||
@@ -7347,12 +7409,6 @@ Keep your key file in a safe place. You will need it to create new versions of y
|
||||
<message name="IDS_SHARING_REMOTE_COPY_NOTIFICATION_DESCRIPTION" desc="Second line of text displayed in a Remote Copy notification.">
|
||||
Press <ph name="MODIFIER_KEY_DESCRIPTION">$1<ex>Ctrl+V</ex></ph> to paste
|
||||
</message>
|
||||
<message name="IDS_SHARING_REMOTE_COPY_NOTIFICATION_PREPARING_DOWNLOAD" desc="Subtext shown in a Remote Copy notification while preparing the image download.">
|
||||
Preparing download
|
||||
</message>
|
||||
<message name="IDS_SHARING_REMOTE_COPY_NOTIFICATION_PROCESSING_IMAGE" desc="Subtext shown in a Remote Copy notification while processing the received image.">
|
||||
Processing image
|
||||
</message>
|
||||
<message name="IDS_OMNIBOX_TOOLTIP_SMS_REMOTE_FETCHER" translateable="false" desc="The label of item for sms remote fetcher in the omnibox for showing device name when one device is available.">
|
||||
Tap the notification on <ph name="DEVICE_NAME">$1<ex>Jimmy's Pixel</ex></ph> to verify your phone number
|
||||
</message>
|
||||
@@ -7926,7 +7982,7 @@ Keep your key file in a safe place. You will need it to create new versions of y
|
||||
Continue
|
||||
</message>
|
||||
<message name="IDS_SIGNIN_DICE_WEB_INTERCEPT_BUBBLE_GUEST_LINK" desc="Text of the link to offer switching to a Guest profile">
|
||||
Not your device? Use <ph name="BEGIN_LINK"><a href="#" target="_blank" rel="noopener noreferrer"></ph>Guest mode<ph name="END_LINK"></a></ph>.
|
||||
Not your device? Use <ph name="BEGIN_LINK"><a is="action-link" target="_blank" rel="noopener noreferrer"></ph>Guest mode<ph name="END_LINK"></a></ph>.
|
||||
</message>
|
||||
<message name="IDS_SIGNIN_DICE_WEB_INTERCEPT_ENTERPRISE_BUBBLE_DESC" desc="Body of the web signin interception bubble when the new account is personal and the existing account is managed">
|
||||
This will separate your browsing from <ph name="EXISTING_USER">$1<ex>bob@example.com</ex></ph>
|
||||
@@ -8214,9 +8270,6 @@ Please help our engineers fix this problem. Tell us what happened right before y
|
||||
<!-- Sync strings -->
|
||||
|
||||
<!-- Shared between all the plaforms -->
|
||||
<message name="IDS_SYNC_ACCOUNT_INFO" desc="The message that appears in the options dialog indicating that the user is signed in with the given email address.">
|
||||
Signed in as <ph name="USER_EMAIL_ADDRESS">$1<ex>foo@gmail.com</ex></ph>.
|
||||
</message>
|
||||
<message name="IDS_SYNC_ACCOUNT_SYNCING" desc="The message that appears in the settings page indicating that account is syncing all data types.">
|
||||
On - sync everything
|
||||
</message>
|
||||
@@ -8258,9 +8311,6 @@ Please help our engineers fix this problem. Tell us what happened right before y
|
||||
<message name="IDS_SYNC_ERROR_USER_MENU_RETRIEVE_KEYS_BUTTON" desc="Button in the header of desktop user menu that prompts the user to reauthentication to fix the sync error affecting encrypted datatypes.">
|
||||
Verify it's you
|
||||
</message>
|
||||
<message name="IDS_SYNC_ERROR_USER_MENU_SIGNIN_AGAIN_BUTTON" desc="Button in the header of desktop user menu that signs out and signs back in in an attempt to resolve an unrecoverable error.">
|
||||
Sign in again
|
||||
</message>
|
||||
<message name="IDS_SYNC_ERROR_USER_MENU_SIGNOUT_BUTTON" desc="Button in the header of desktop user menu for managed users to sign out in an attempt to resolve an unrecoverable error.">
|
||||
Sign out
|
||||
</message>
|
||||
@@ -8403,23 +8453,6 @@ Please help our engineers fix this problem. Tell us what happened right before y
|
||||
Data was encrypted with your sync passphrase on
|
||||
<ph name="TIME">$1<ex>Sept 1, 2012</ex></ph>. This doesn't include payment methods and addresses from Brave Pay.
|
||||
</message>
|
||||
<message name="IDS_SYNC_FULL_ENCRYPTION_BODY_GOOGLE_WITH_DATE" desc="Text of the radio that when selected enables full encryption.">
|
||||
Data was encrypted with your Brave password as of
|
||||
<ph name="TIME">$1<ex>Sept 1, 2012</ex></ph>. This doesn't include payment methods and addresses from Brave Pay.
|
||||
</message>
|
||||
|
||||
<!-- Sync promo on chrome://apps -->
|
||||
<if expr="not chromeos">
|
||||
<message name="IDS_SYNC_PROMO_NOT_SIGNED_IN_STATUS_HEADER" desc="The first line of the of the message shown in NTP when a user is not signed into sync.">
|
||||
Not signed in to <ph name="SHORT_PRODUCT_NAME">$1<ex>Brave</ex></ph>
|
||||
</message>
|
||||
<message name="IDS_SYNC_PROMO_NOT_SIGNED_IN_STATUS_SUB_HEADER" desc="The second line of the of the message shown in NTP when a user is not signed in to sync.">
|
||||
(You're missing out—<ph name="IDS_SYNC_PROMO_NOT_SIGNED_IN_STATUS_LINK">$1<ex>sign in</ex></ph>)
|
||||
</message>
|
||||
<message name="IDS_SYNC_PROMO_NOT_SIGNED_IN_STATUS_LINK" desc="The linkified portion of the sync sign in promo on the NTP. Clicking this text allows the user to sign in to sync.">
|
||||
sign in
|
||||
</message>
|
||||
</if>
|
||||
</if>
|
||||
|
||||
<!-- Translate Bubble -->
|
||||
@@ -8563,7 +8596,7 @@ Please help our engineers fix this problem. Tell us what happened right before y
|
||||
<message name="IDS_NOTIFICATION_BUTTON_CLOSE" desc="Button label to close a notification">
|
||||
Close
|
||||
</message>
|
||||
<message name="IDS_NOTIFICATION_BUTTON_MORE" desc="Label shown on the second button of a MAC OSX system notification used to expand further options. [CHAR-LIMIT=12]">
|
||||
<message name="IDS_NOTIFICATION_BUTTON_MORE" desc="Label shown on the second button of a MAC OSX system notification used to expand further options. [CHAR_LIMIT=12]">
|
||||
More
|
||||
</message>
|
||||
<message name="IDS_NOTIFICATION_REPLY_PLACEHOLDER" desc="Placeholder text shown in the text box before any text is entered when replying directly to a notification.">
|
||||
@@ -8716,7 +8749,7 @@ Please help our engineers fix this problem. Tell us what happened right before y
|
||||
<message name="IDS_NEW_WINDOW_MAC" desc="The Mac menu item for opening a new window in the file menu.">
|
||||
New Window
|
||||
</message>
|
||||
<message name="IDS_NEW_INCOGNITO_WINDOW_MAC" desc="The Mac menu item for opening a new private window in the file menu.">
|
||||
<message name="IDS_NEW_INCOGNITO_WINDOW_MAC" desc="The Mac menu item for opening a new Private window in the file menu.">
|
||||
New Private Window
|
||||
</message>
|
||||
<message name="IDS_BACKGROUND_APPS_MAC" desc="The Mac submenu for opening Background Apps.">
|
||||
@@ -8903,6 +8936,9 @@ Please help our engineers fix this problem. Tell us what happened right before y
|
||||
<message name="IDS_HISTORY_CLOSED_RESTORE_WINDOW_MAC" desc="The Mac menu item for restoring all the tabs of a recently closed window.">
|
||||
Restore All Tabs
|
||||
</message>
|
||||
<message name="IDS_HISTORY_INCOGNITO_DISCLAIMER_MAC" desc="The Mac menu item for the Private disclaimer text.">
|
||||
History isn’t saved in Private
|
||||
</message>
|
||||
<!-- Window menu -->
|
||||
<message name="IDS_MINIMIZE_WINDOW_MAC" desc="The Mac menu item for minimize the window menu." meaning="Mac Menubar: The Mac menu item for minimize the window menu.">
|
||||
Minimize
|
||||
@@ -9368,9 +9404,6 @@ Please help our engineers fix this problem. Tell us what happened right before y
|
||||
<message name="IDS_FULLSCREEN_PRESS_ESC_TO_EXIT_MOUSELOCK" desc="Text displayed in the bubble to tell users how to return from mouselock mode (where the mouse cursor is hidden) to normal mode. Please surround the name of the key (e.g. 'Esc') in pipe characters so it can be rendered as a key.">
|
||||
Press |<ph name="ACCELERATOR">$1<ex>Esc</ex></ph>| to show your cursor
|
||||
</message>
|
||||
<message name="IDS_FULLSCREEN_HOLD_ESC_TO_EXIT_FULLSCREEN" desc="Text displayed in the bubble to tell users how to return from fullscreen mode (where the web page occupies the entire screen) to normal mode. Please surround the name of the key (e.g. 'Esc') in pipe characters so it can be rendered as a key.">
|
||||
Press and hold |<ph name="ACCELERATOR">$1<ex>Esc</ex></ph>| to exit full screen
|
||||
</message>
|
||||
|
||||
<!-- Register Protocol Handler Strings -->
|
||||
<message name="IDS_REGISTER_PROTOCOL_HANDLER_MAILTO_NAME" desc="A more user friendly way of describing mailto: links.">
|
||||
@@ -9474,38 +9507,11 @@ Please help our engineers fix this problem. Tell us what happened right before y
|
||||
</if>
|
||||
|
||||
<!-- Live caption. -->
|
||||
<message name="IDS_LIVE_CAPTION_BUBBLE_TITLE" desc="Title of the Live Caption bubble">
|
||||
Live Caption
|
||||
<message name="IDS_LIVE_CAPTION_PROMO" desc="Text shown on promotional UI appearing next to the global media controls button">
|
||||
Get captions for your audio and video
|
||||
</message>
|
||||
<message name="IDS_LIVE_CAPTION_BUBBLE_CLOSE" desc="Tooltip for the Live Caption close button">
|
||||
Turn off Live Caption for now
|
||||
</message>
|
||||
<message name="IDS_LIVE_CAPTION_BUBBLE_EXPAND" desc="Tooltip for the Live Caption expand button">
|
||||
Show more lines
|
||||
</message>
|
||||
<message name="IDS_LIVE_CAPTION_BUBBLE_COLLAPSE" desc="Tooltip for the Live Caption collapse button">
|
||||
Show fewer lines
|
||||
</message>
|
||||
<message name="IDS_LIVE_CAPTION_BUBBLE_ERROR" desc="Error message for the Live Caption bubble when Live Captions are unavailable.">
|
||||
Live Caption is not available right now
|
||||
</message>
|
||||
<if expr="chromeos">
|
||||
<message name="IDS_LIVE_CAPTION_BUBBLE_APPEAR_SCREENREADER_ANNOUNCEMENT" desc="Announcement to screen readers on BraveOS when the Live Caption bubble appears to inform users of how to focus the bubble.">
|
||||
Live Caption visible, press Ctrl + Back or Ctrl + Forward to cycle focus
|
||||
</message>
|
||||
</if>
|
||||
<if expr="is_macosx">
|
||||
<message name="IDS_LIVE_CAPTION_BUBBLE_APPEAR_SCREENREADER_ANNOUNCEMENT" desc="Announcement to screen readers on MacOS when the Live Caption bubble appears to inform users of how to focus the bubble.">
|
||||
Live Caption visible, press ⌘ + Option + Up arrow or Down arrow to cycle focus
|
||||
</message>
|
||||
</if>
|
||||
<if expr="is_win or desktop_linux">
|
||||
<message name="IDS_LIVE_CAPTION_BUBBLE_APPEAR_SCREENREADER_ANNOUNCEMENT" desc="Announcement to screen readers on Windows or Linux when the Live Caption bubble appears to inform users of how to focus the bubble.">
|
||||
Live Caption visible, press F6 to cycle focus
|
||||
</message>
|
||||
</if>
|
||||
<message name="IDS_LIVE_CAPTION_BUBBLE_MOVE_SCREENREADER_ANNOUNCEMENT" desc="Announcement to screen readers when the Live Caption bubble moves.">
|
||||
Moved caption bubble to <ph name="POSITION_ON_SCREEN_FROM_LEFT">$1<ex>20</ex></ph>% across, <ph name="POSITION_ON_SCREEN_FROM_TOP">$2<ex>80</ex></ph>% down
|
||||
<message name="IDS_LIVE_CAPTION_PROMO_SCREENREADER" desc="Text announced encouraging users to open live caption">
|
||||
Get captions for your audio and video by enabling Live Caption in settings
|
||||
</message>
|
||||
|
||||
<!-- Caret browsing. -->
|
||||
@@ -9630,8 +9636,8 @@ Please help our engineers fix this problem. Tell us what happened right before y
|
||||
<message name="IDS_APP_LIST_NEW_WINDOW" desc="The text label of the New Window menu item">
|
||||
New window
|
||||
</message>
|
||||
<message name="IDS_APP_LIST_NEW_INCOGNITO_WINDOW" desc="The text label of the New private window menu item">
|
||||
New private window
|
||||
<message name="IDS_APP_LIST_NEW_INCOGNITO_WINDOW" desc="The text label of the New Private window menu item">
|
||||
New Private window
|
||||
</message>
|
||||
<message name="IDS_APP_LIST_OEM_DEFAULT_FOLDER_NAME" desc="The default name for OEM folders in the App Launcher">
|
||||
OEM folder
|
||||
@@ -9680,9 +9686,6 @@ Please help our engineers fix this problem. Tell us what happened right before y
|
||||
<message name="IDS_DESKTOP_MEDIA_PICKER_MULTIPLE_SCREEN_NAME" desc="Name for screens in the desktop media picker UI when there are multiple monitors.">
|
||||
{SCREEN_INDEX, plural, =1{Screen #} other{Screen #}}
|
||||
</message>
|
||||
<message name="IDS_DESKTOP_MEDIA_PRESENTER_TOOLS" desc="Text for the checkbox on window picker dialog, when checked the presenter tools will be shown.">
|
||||
Presenter Tools
|
||||
</message>
|
||||
<if expr="toolkit_views">
|
||||
<message name="IDS_DESKTOP_MEDIA_PICKER_SOURCE_TYPE_THIS_TAB" desc="Text for one of the dialog-tabs on the media picker dialog. This dialog-tab controls sharing the current tab.">
|
||||
This Tab
|
||||
@@ -10052,15 +10055,9 @@ Please help our engineers fix this problem. Tell us what happened right before y
|
||||
|
||||
<if expr="not is_android">
|
||||
<!-- Device Chooser Prompt -->
|
||||
<message name="IDS_BLUETOOTH_DEVICE_CHOOSER_PROMPT_ORIGIN" desc="The label that is used to introduce Bluetooth chooser details to the user in a popup when it is from a website.">
|
||||
<ph name="Origin">$1<ex>www.google.com</ex></ph> wants to pair
|
||||
</message>
|
||||
<message name="IDS_BLUETOOTH_DEVICE_CHOOSER_PROMPT_EXTENSION_NAME" desc="The label that is used to introduce Bluetooth chooser details to the user in a popup when it is from a Brave extension.">
|
||||
"<ph name="CHROME_EXTENSION_NAME">$1<ex>Brave Extension Name</ex></ph>" wants to pair
|
||||
</message>
|
||||
<message name="IDS_BLUETOOTH_DEVICE_CHOOSER_NO_DEVICES_FOUND_PROMPT" desc="The label shown to the user to inform them that no Bluetooth devices were found matching the requirements that the application provided.">
|
||||
No compatible devices found.
|
||||
</message>
|
||||
<message name="IDS_BLUETOOTH_DEVICE_CHOOSER_TURN_ADAPTER_OFF" desc="Text of a link the user can click to get help information when Bluetooth adapter is turned off.">
|
||||
<ph name="TURN_ON_BLUETOOTH_LINK">$1<ex>Turn on Bluetooth</ex></ph> to allow pairing
|
||||
</message>
|
||||
@@ -10076,15 +10073,6 @@ Please help our engineers fix this problem. Tell us what happened right before y
|
||||
<message name="IDS_BLUETOOTH_DEVICE_CHOOSER_RE_SCAN_TOOLTIP" desc="Tooltip for the button that lets the user start a new scan for Bluetooth devices.">
|
||||
Re-scan Bluetooth devices
|
||||
</message>
|
||||
<message name="IDS_BLUETOOTH_DEVICE_CHOOSER_SCANNING_LABEL" desc="Text on label that indicates a scan for Bluetooth devices is in progress.">
|
||||
Scanning...
|
||||
</message>
|
||||
<message name="IDS_BLUETOOTH_DEVICE_CHOOSER_SCANNING_LABEL_TOOLTIP" desc="Tooltip for the label that shows while scanning for Bluetooth devices.">
|
||||
Scanning for Bluetooth devices...
|
||||
</message>
|
||||
<message name="IDS_BLUETOOTH_DEVICE_CHOOSER_PAIR_BUTTON_TEXT" desc="Label on the button that closes the Bluetooth chooser popup and pairs the selected device.">
|
||||
Pair
|
||||
</message>
|
||||
<message name="IDS_DEVICE_CHOOSER_GET_HELP_LINK_WITH_SCANNING_STATUS" desc="This text is shown at the bottom of the chooser popup with a link to 'Get help'.">
|
||||
Get help<ph name="SCANNING_STATUS">$1<ex> while scanning for devices...</ex></ph>
|
||||
</message>
|
||||
@@ -10098,33 +10086,15 @@ Please help our engineers fix this problem. Tell us what happened right before y
|
||||
<ph name="DEVICE_NAME">$1<ex>device name</ex></ph> - Paired
|
||||
</message>
|
||||
</if>
|
||||
<message name="IDS_USB_DEVICE_CHOOSER_PROMPT_ORIGIN" desc="The label that is used to introduce USB chooser details to the user in a popup when it is from a website.">
|
||||
<ph name="Origin">$1<ex>www.google.com</ex></ph> wants to connect
|
||||
</message>
|
||||
<message name="IDS_USB_DEVICE_CHOOSER_PROMPT_EXTENSION_NAME" desc="The label that is used to introduce USB chooser details to the user in a popup when it is from a Brave extension.">
|
||||
"<ph name="CHROME_EXTENSION_NAME">$1<ex>Brave Extension Name</ex></ph>" wants to connect
|
||||
</message>
|
||||
<message name="IDS_DEVICE_CHOOSER_DEVICE_NAME_WITH_ID" desc="To distinguish devices with the same name, the device chooser shows the device name with id.">
|
||||
<ph name="DEVICE_NAME">$1<ex>device name</ex></ph> (<ph name="DEVICE_ID">$2<ex>device id</ex></ph>)
|
||||
</message>
|
||||
<message name="IDS_DEVICE_CHOOSER_NO_DEVICES_FOUND_PROMPT" desc="The label shown to the user to inform them that no USB devices were found matching the requirements that the application provided.">
|
||||
No compatible devices found.
|
||||
</message>
|
||||
<message name="IDS_DEVICE_CHOOSER_ACCNAME_COMPATIBLE_DEVICES_LIST" desc="The accessible name for the list of compatible devices, read to screen reader users when navigating to the container.">
|
||||
Compatible devices
|
||||
</message>
|
||||
<message name="IDS_USB_DEVICE_CHOOSER_CONNECT_BUTTON_TEXT" desc="Label on the button that closes the USB chooser popup and connects the selected device.">
|
||||
Connect
|
||||
</message>
|
||||
<message name="IDS_USB_DEVICE_CHOOSER_LOADING_LABEL" desc="Text on label that the browser is loading the list of USB devices.">
|
||||
Finding devices...
|
||||
</message>
|
||||
<message name="IDS_USB_DEVICE_CHOOSER_LOADING_LABEL_TOOLTIP" desc="Tooltip for the label that the browser is loading the list of USB devices.">
|
||||
Finding USB devices...
|
||||
</message>
|
||||
<message name="IDS_DEVICE_CHOOSER_CANCEL_BUTTON_TEXT" desc="Label on the button that closes the chooser popup without selecting an option.">
|
||||
Cancel
|
||||
</message>
|
||||
|
||||
<!-- Device Chooser Device Name Unknown -->
|
||||
<message name="IDS_DEVICE_CHOOSER_DEVICE_NAME_UNKNOWN_DEVICE_WITH_VENDOR_NAME" desc="String describing an unknown device by its vendor name.">
|
||||
@@ -10152,19 +10122,19 @@ Please help our engineers fix this problem. Tell us what happened right before y
|
||||
</message>
|
||||
|
||||
<!-- Device descriptions for devices defined by policy with wildcards. -->
|
||||
<message name="IDS_DEVICE_DESCRIPTION_FOR_PRODUCT_ID_AND_VENDOR_NAME" desc="String describing a device by its vendor name when only the numeric product ID is available.">
|
||||
<message name="IDS_USB_POLICY_DEVICE_DESCRIPTION_FOR_PRODUCT_ID_AND_VENDOR_NAME" desc="String describing a device by its vendor name when only the numeric product ID is available.">
|
||||
Unknown product <ph name="PRODUCT_ID">$1<ex>123</ex></ph> from <ph name="VENDOR_NAME">$2<ex>Brave</ex></ph>
|
||||
</message>
|
||||
<message name="IDS_DEVICE_DESCRIPTION_FOR_PRODUCT_ID_AND_VENDOR_ID" desc="String describing a device when only the numeric product ID and vendor ID are available.">
|
||||
<message name="IDS_USB_POLICY_DEVICE_DESCRIPTION_FOR_PRODUCT_ID_AND_VENDOR_ID" desc="String describing a device when only the numeric product ID and vendor ID are available.">
|
||||
Unknown product <ph name="PRODUCT_ID">$1<ex>123</ex></ph> from vendor <ph name="VENDOR_ID">$2<ex>123</ex></ph>
|
||||
</message>
|
||||
<message name="IDS_DEVICE_DESCRIPTION_FOR_VENDOR_ID" desc="String describing devices from a vendor by ID.">
|
||||
<message name="IDS_USB_POLICY_DEVICE_DESCRIPTION_FOR_VENDOR_ID" desc="String describing devices from a vendor by ID.">
|
||||
Devices from vendor <ph name="VENDOR_ID">$1<ex>123</ex></ph>
|
||||
</message>
|
||||
<message name="IDS_DEVICE_DESCRIPTION_FOR_VENDOR_NAME" desc="String describing devices from a vendor.">
|
||||
<message name="IDS_USB_POLICY_DEVICE_DESCRIPTION_FOR_VENDOR_NAME" desc="String describing devices from a vendor.">
|
||||
Devices from <ph name="VENDOR_NAME">$1<ex>Brave</ex></ph>
|
||||
</message>
|
||||
<message name="IDS_DEVICE_DESCRIPTION_FOR_ANY_VENDOR" desc="String describing devices from any vendor.">
|
||||
<message name="IDS_USB_POLICY_DEVICE_DESCRIPTION_FOR_ANY_VENDOR" desc="String describing devices from any vendor.">
|
||||
Devices from any vendor
|
||||
</message>
|
||||
|
||||
@@ -10191,6 +10161,21 @@ Please help our engineers fix this problem. Tell us what happened right before y
|
||||
<message name="IDS_SERIAL_PORT_CHOOSER_LOADING_LABEL_TOOLTIP" desc="Tooltip for the label that the browser is loading the list of serial devices.">
|
||||
Finding serial devices...
|
||||
</message>
|
||||
<message name="IDS_SERIAL_POLICY_DESCRIPTION_FOR_USB_PRODUCT_ID_AND_VENDOR_NAME" desc="String describing a USB device permission granted by enterprise policy to a site when the vendor name is available by a numeric product ID must be used.">
|
||||
USB device from <ph name="VENDOR_NAME">$2<ex>Brave</ex></ph> (product <ph name="PRODUCT_ID">$1<ex>0x12AB</ex></ph>)
|
||||
</message>
|
||||
<message name="IDS_SERIAL_POLICY_DESCRIPTION_FOR_USB_PRODUCT_ID_AND_VENDOR_ID" desc="String describing a USB device permission granted by enterprise policy to a site when only the numeric product ID and vendor ID are available.">
|
||||
USB device (<ph name="VENDOR_ID">$2<ex>12AB</ex></ph>:<ph name="PRODUCT_ID">$1<ex>12AB</ex></ph>)
|
||||
</message>
|
||||
<message name="IDS_SERIAL_POLICY_DESCRIPTION_FOR_USB_VENDOR_ID" desc="String describing a USB device permission granted by enterprise policy to a site for all devices from a single vendor when only the numeric vendor ID is available.">
|
||||
USB devices from vendor <ph name="VENDOR_ID">$1<ex>12AB</ex></ph>
|
||||
</message>
|
||||
<message name="IDS_SERIAL_POLICY_DESCRIPTION_FOR_USB_VENDOR_NAME" desc="String describing a USB device permission granted by enterprise policy to a site for all devices from a single vendor.">
|
||||
USB devices from <ph name="VENDOR_NAME">$1<ex>Brave</ex></ph>
|
||||
</message>
|
||||
<message name="IDS_SERIAL_POLICY_DESCRIPTION_FOR_ANY_PORT" desc="String describing a serial port permission granted by enterprise policy for all ports.">
|
||||
Any serial port
|
||||
</message>
|
||||
</if>
|
||||
|
||||
<!-- HID (Human Interface Device) chooser -->
|
||||
@@ -10211,6 +10196,16 @@ Please help our engineers fix this problem. Tell us what happened right before y
|
||||
</message>
|
||||
</if>
|
||||
|
||||
<!-- File Handling permission prompt -->
|
||||
<if expr="not is_android">
|
||||
<message name="IDS_WEB_APP_FILE_HANDLING_PERMISSION_TEXT" desc="Permission request shown if the user is opening a file using a PWA with registered file handlers. Follows a prompt: 'This site would like to:'">
|
||||
Open <ph name="FILE_EXTENSIONS">$1<ex>.txt, .csv, .md</ex></ph> files
|
||||
</message>
|
||||
<message name="IDS_WEB_APP_FILE_HANDLING_EXTENSION_LIST_SEPARATOR" desc="Text/punctuation that separates a list of file types/extensions, such as .txt or .csv." meaning="List separator for file extensions.">
|
||||
, '''
|
||||
</message>
|
||||
</if>
|
||||
|
||||
<!-- Font Access chooser -->
|
||||
<if expr="not is_android">
|
||||
<message name="IDS_FONT_ACCESS_CHOOSER_PROMPT_ORIGIN" desc="The label that is used to introduce Local Font Access chooser details to the user in a popup when it is from a website.">
|
||||
@@ -10517,9 +10512,6 @@ Please help our engineers fix this problem. Tell us what happened right before y
|
||||
<message name="IDS_WEBAUTHN_TRANSPORT_USB" desc="Menu item text. The user selects this to use a security key (an external physical device for user authentication) plugged in to the USB port of the computer.">
|
||||
USB security key
|
||||
</message>
|
||||
<message name="IDS_WEBAUTHN_TRANSPORT_NFC" desc="Menu item text. The user selects this to use a security key (an external physical device for user authentication) connected to the computer over Near-Field Communication.">
|
||||
NFC security key
|
||||
</message>
|
||||
<message name="IDS_WEBAUTHN_TRANSPORT_INTERNAL" desc="Menu item text. The user selects this to use a hardware-based authentication mechanism that is built in to the computer, such as a fingerprint reader.">
|
||||
This device
|
||||
</message>
|
||||
@@ -10589,9 +10581,6 @@ Please help our engineers fix this problem. Tell us what happened right before y
|
||||
<message name="IDS_WEBAUTHN_TRANSPORT_POPUP_PAIR_PHONE" desc="Menu item text. The user selects this to begin the process of pairing with a previously unknown smartphone.">
|
||||
Pair with new phone
|
||||
</message>
|
||||
<message name="IDS_WEBAUTHN_TRANSPORT_POPUP_NFC" desc="Menu item text. The user selects this to verify their identity on a web site (i.e. sign in) using a security key (an external physical device for user authentication) connected to the computer over Near-Field Communication.">
|
||||
Verify via NFC
|
||||
</message>
|
||||
<message name="IDS_WEBAUTHN_TRANSPORT_POPUP_INTERNAL" desc="Menu item text. The user selects this to verify their identity on a web site (i.e. sign in) using a hardware-based authentication mechanism that is built in to the computer, such as a fingerprint reader.">
|
||||
Use this device
|
||||
</message>
|
||||
@@ -10608,10 +10597,10 @@ Please help our engineers fix this problem. Tell us what happened right before y
|
||||
A notification was sent to your phone to confirm it's you.
|
||||
</message>
|
||||
|
||||
<message name="IDS_WEBAUTHN_CABLEV2_SERVERLINK_DESCRIPTION" desc="Contents of the dialog shown when the user tries to sign-in using a phone as a security key. The second placeholder will be replaced by the contents of the translated string IDS_WEBAUTHN_CABLEV2_SERVERLINK_TROUBLE. A placeholder is used for this because that link will be styled as a clickable link. The word 'Yes' will appear on the phone and is TC ID 6139894934866548097.">
|
||||
<ph name="WEBSITE"><ex>accounts.google.com</ex>$1</ph> sent a notification to your phone. Tap Yes to confirm it's you. <ph name="LINK"><ex>Didn't get it?</ex>$2</ph>
|
||||
<message name="IDS_WEBAUTHN_CABLEV2_SERVERLINK_DESCRIPTION" desc="Contents of the dialog shown when the user tries to sign-in using a phone as a security key.">
|
||||
<ph name="WEBSITE"><ex>accounts.google.com</ex>$1</ph> sent a notification to your phone. To confirm it's you, follow the steps there.
|
||||
</message>
|
||||
<message name="IDS_WEBAUTHN_CABLEV2_SERVERLINK_TROUBLE" desc="This message is shown as a link inside of IDS_WEBAUTHN_CABLEV2_SERVERLINK_DESCRIPTION and replaces placeholder two. The 'it' referenced here is the notification mentioned in that message.">
|
||||
<message name="IDS_WEBAUTHN_CABLEV2_SERVERLINK_TROUBLE" desc="This message is shown as a link below IDS_WEBAUTHN_CABLEV2_SERVERLINK_DESCRIPTION. The 'it' referenced here is the notification mentioned in that message.">
|
||||
Didn't get it?
|
||||
</message>
|
||||
<message name="IDS_WEBAUTHN_CABLEV2_AOA_TITLE" desc="Contents of the dialog shown when the user tries to sign-in using a phone as a security key. The 'cable' is a physical USB cable.">
|
||||
@@ -10623,6 +10612,9 @@ Please help our engineers fix this problem. Tell us what happened right before y
|
||||
<message name="IDS_WEBAUTHN_CABLEV2_AOA_REQUEST_DESCRIPTION" desc="Potentially displayed in a permissions dialog on Android to describe the type of request that a computer, that is connected over USB, is making. In this context the request from the computer is to use the Android device as a security key. A 'security key' is typically a physical USB token used for authentication (e.g. a gNubby) but in this case the phone is acting as one. The translation of 'security key' should match the phrase used in TC IDs such as 1685482178220389035 and 7775033610159191691">
|
||||
Security key request
|
||||
</message>
|
||||
<message name="IDS_WEBAUTHN_CABLEV2_2ND_FACTOR_DESCRIPTION" desc="The contents of a dialog shown when the user tries to sign-in using a phone as a security key, or tries to register their phone as a security key for a future sign-in. A security key is traditionally a small USB device that is touched to confirm a sign-in (e.g. a gNubby) and, in this context, the phone is replacing the need for a separate device. The placeholder for the notification title will be replaced with the string that will appear in the notification on the phone. These messages are 4300134428943426639 and 581442427601260656.">
|
||||
<ph name="WEBSITE"><ex>accounts.google.com</ex>$1</ph> sent a notification to your phone. To confirm it's you, tap the “<ph name="NOTIFICATIONTITLE"><ex>Verify with this phone</ex>$2</ph>” notification and follow the steps.
|
||||
</message>
|
||||
|
||||
<message name="IDS_WEBAUTHN_CABLE_ACTIVATE_DESCRIPTION_SHORT" desc="Second line of text in an item letting the user know that they can use their phone as a security key. The user needs to check their phone and respond to a notification that will ask them to press a button on the phone's screen to confirm that they're logging in.">
|
||||
Unlock your phone and confirm it's you
|
||||
@@ -10773,8 +10765,19 @@ Please help our engineers fix this problem. Tell us what happened right before y
|
||||
</message>
|
||||
</if>
|
||||
|
||||
<!-- WebAuthn strings that are used on both Android and Desktop -->
|
||||
<if expr="is_win or is_macosx or desktop_linux or chromeos or is_android">
|
||||
<message name="IDS_CABLEV2_MAKE_CREDENTIAL_NOTIFICATION_TITLE" desc="The title of a notification shown on Android that informs the user that a website wishes to register their phone for signing into that website." formatter_data="android_java">
|
||||
Verify with this phone
|
||||
</message>
|
||||
|
||||
<message name="IDS_CABLEV2_GET_ASSERTION_NOTIFICATION_TITLE" desc="The title of a notification shown on Android that informs the user that a website wishes to use their phone to sign them in on another computer." formatter_data="android_java">
|
||||
Verify your identity
|
||||
</message>
|
||||
</if>
|
||||
|
||||
<!-- Private Profile Menu bubble. -->
|
||||
<message name="IDS_INCOGNITO_PROFILE_MENU_TITLE" desc="The title of the private version of profile menu.">
|
||||
<message name="IDS_INCOGNITO_PROFILE_MENU_TITLE" desc="The title of the Private version of profile menu.">
|
||||
Private
|
||||
</message>
|
||||
<message name="IDS_INCOGNITO_WINDOW_COUNT_MESSAGE" desc="The message showing the number of open incogntio windows. This is not used for zero windows.[ICU Syntax]">
|
||||
@@ -10783,13 +10786,13 @@ Please help our engineers fix this problem. Tell us what happened right before y
|
||||
other {# open windows}
|
||||
}
|
||||
</message>
|
||||
<message name="IDS_INCOGNITO_PROFILE_MENU_CREATE_SHORTCUT_BUTTON" desc="Label of the button to create a desktop shortcut for private mode.">
|
||||
<message name="IDS_INCOGNITO_PROFILE_MENU_CREATE_SHORTCUT_BUTTON" desc="Label of the button to create a desktop shortcut for Private mode.">
|
||||
Create shortcut
|
||||
</message>
|
||||
<message name="IDS_INCOGNITO_PROFILE_MENU_CLOSE_BUTTON" desc="The text of the button offering to close all private windows.">
|
||||
<message name="IDS_INCOGNITO_PROFILE_MENU_CLOSE_BUTTON" desc="The text of the button offering to close all Private windows.">
|
||||
Exit Private
|
||||
</message>
|
||||
<message name="IDS_INCOGNITO_PROFILE_MENU_CLOSE_BUTTON_NEW" desc="The text of the button offering to close all private windows.">
|
||||
<message name="IDS_INCOGNITO_PROFILE_MENU_CLOSE_BUTTON_NEW" desc="The text of the button offering to close all Private windows.">
|
||||
Close Private
|
||||
</message>
|
||||
|
||||
|
||||
@@ -94,6 +94,9 @@ are declared in tools/grit/grit_rule.gni.
|
||||
|
||||
<part file="profiles_strings_override.grdp" />
|
||||
|
||||
<if expr="is_win or is_macosx or is_linux">
|
||||
</if>
|
||||
|
||||
<if expr="chromeos">
|
||||
<part file="os_settings_strings_override.grdp" />
|
||||
<part file="os_settings_search_tag_strings_override.grdp" />
|
||||
@@ -147,7 +150,7 @@ are declared in tools/grit/grit_rule.gni.
|
||||
|
||||
<if expr="not is_android">
|
||||
<if expr="not use_titlecase">
|
||||
<message name="IDS_CONTENT_CONTEXT_OPENLINKOFFTHERECORD" desc="The name of the open a link in private window command">
|
||||
<message name="IDS_CONTENT_CONTEXT_OPENLINKOFFTHERECORD" desc="The name of the open a link in Private window command">
|
||||
Open link in &private window
|
||||
</message>
|
||||
<if expr="is_macosx">
|
||||
@@ -156,7 +159,7 @@ are declared in tools/grit/grit_rule.gni.
|
||||
</if>
|
||||
</if>
|
||||
<if expr="use_titlecase">
|
||||
<message name="IDS_CONTENT_CONTEXT_OPENLINKOFFTHERECORD" desc="In Title Case: The name of the open a link in private window command">
|
||||
<message name="IDS_CONTENT_CONTEXT_OPENLINKOFFTHERECORD" desc="In Title Case: The name of the open a link in Private window command">
|
||||
Open Link in &Private Window
|
||||
</message>
|
||||
<if expr="is_macosx">
|
||||
@@ -182,12 +185,12 @@ are declared in tools/grit/grit_rule.gni.
|
||||
|
||||
<if expr="not is_android">
|
||||
<if expr="not use_titlecase">
|
||||
<message name="IDS_NEW_INCOGNITO_WINDOW" desc="The text label of a menu item for opening a new private window">
|
||||
New &private window
|
||||
<message name="IDS_NEW_INCOGNITO_WINDOW" desc="The text label of a menu item for opening a new Private window">
|
||||
New &Private window
|
||||
</message>
|
||||
</if>
|
||||
<if expr="use_titlecase">
|
||||
<message name="IDS_NEW_INCOGNITO_WINDOW" desc="In Title Case: The text label of a menu item for opening a new private window">
|
||||
<message name="IDS_NEW_INCOGNITO_WINDOW" desc="In Title Case: The text label of a menu item for opening a new Private window">
|
||||
New &Private Window
|
||||
</message>
|
||||
</if>
|
||||
@@ -300,13 +303,13 @@ are declared in tools/grit/grit_rule.gni.
|
||||
<if expr="use_titlecase">
|
||||
</if>
|
||||
<if expr="not is_macosx">
|
||||
<message name="IDS_ABANDON_DOWNLOAD_DIALOG_INCOGNITO_MESSAGE" desc="Message on a dialog shown when the user closes the last private window while one or more downloads are in progress. This string is shown on Windows, Chrome OS, and Linux, which all use 'Exit' to refer to closing a browser.">
|
||||
Exit private mode anyway?
|
||||
<message name="IDS_ABANDON_DOWNLOAD_DIALOG_INCOGNITO_MESSAGE" desc="Message on a dialog shown when the user closes the last Private window while one or more downloads are in progress. This string is shown on Windows, Chrome OS, and Linux, which all use 'Exit' to refer to closing a browser.">
|
||||
Exit Private mode anyway?
|
||||
</message>
|
||||
</if>
|
||||
<if expr="is_macosx">
|
||||
<message name="IDS_ABANDON_DOWNLOAD_DIALOG_INCOGNITO_MESSAGE" desc="Message on a dialog shown when the user closes the last private window while one or more downloads are in progress. This string is shown on Mac OSX only, which uses 'Quit' to refer to closing a browser.">
|
||||
Quit private mode anyway?
|
||||
<message name="IDS_ABANDON_DOWNLOAD_DIALOG_INCOGNITO_MESSAGE" desc="Message on a dialog shown when the user closes the last Private window while one or more downloads are in progress. This string is shown on Mac OSX only, which uses 'Quit' to refer to closing a browser.">
|
||||
Quit Private mode anyway?
|
||||
</message>
|
||||
</if>
|
||||
|
||||
@@ -368,19 +371,19 @@ are declared in tools/grit/grit_rule.gni.
|
||||
</if>
|
||||
<if expr="use_titlecase">
|
||||
</if>
|
||||
<message name="IDS_TASK_MANAGER_EXTENSION_INCOGNITO_PREFIX" desc="The prefix for a Task Manager private extension row (may not be visible if private is not open)">
|
||||
<message name="IDS_TASK_MANAGER_EXTENSION_INCOGNITO_PREFIX" desc="The prefix for a Task Manager Private extension row (may not be visible if Private is not open)">
|
||||
Private Extension: <ph name="EXTENSION_NAME">$1<ex>Sample Extension</ex></ph>
|
||||
</message>
|
||||
<message name="IDS_TASK_MANAGER_APP_INCOGNITO_PREFIX" desc="The prefix for a Task Manager private app row (may not be visible if the app is not open in private)">
|
||||
<message name="IDS_TASK_MANAGER_APP_INCOGNITO_PREFIX" desc="The prefix for a Task Manager Private app row (may not be visible if the app is not open in Private)">
|
||||
Private App: <ph name="APP_NAME">$1<ex>Sample App</ex></ph>
|
||||
</message>
|
||||
<message name="IDS_TASK_MANAGER_TAB_INCOGNITO_PREFIX" desc="The prefix for a Task Manager private Tab row (may not be visible if private is not open)">
|
||||
<message name="IDS_TASK_MANAGER_TAB_INCOGNITO_PREFIX" desc="The prefix for a Task Manager Private Tab row (may not be visible if Private is not open)">
|
||||
Private Tab: <ph name="TAB_NAME">$1<ex>Brave</ex></ph>
|
||||
</message>
|
||||
<message name="IDS_TASK_MANAGER_SUBFRAME_INCOGNITO_PREFIX" desc="The prefix for a Private out-of-process-iframe process row in the Task Manager (these processes are created when site isolation is enabled, in private mode)">
|
||||
<message name="IDS_TASK_MANAGER_SUBFRAME_INCOGNITO_PREFIX" desc="The prefix for a Private out-of-process-iframe process row in the Task Manager (these processes are created when site isolation is enabled, in Private mode)">
|
||||
Private Subframe: <ph name="SUBFRAME_SITE">$1<ex>https://youtube.com/</ex></ph>
|
||||
</message>
|
||||
<message name="IDS_TASK_MANAGER_PORTAL_INCOGNITO_PREFIX" desc="The prefix for a Private portal row in the Task Manager (these processes are created when portals is enabled, in private mode)">
|
||||
<message name="IDS_TASK_MANAGER_PORTAL_INCOGNITO_PREFIX" desc="The prefix for a Private portal row in the Task Manager (these processes are created when portals is enabled, in Private mode)">
|
||||
Private Portal: <ph name="SUBFRAME_SITE">$1<ex>https://youtube.com/</ex></ph>
|
||||
</message>
|
||||
<message name="IDS_TASK_MANAGER_TOOL_PREFIX" desc="The prefix for a tool process row in the Task Manager">
|
||||
@@ -498,20 +501,20 @@ are declared in tools/grit/grit_rule.gni.
|
||||
<if expr="not is_android">
|
||||
</if>
|
||||
|
||||
<message name="IDS_ACCESSIBLE_INCOGNITO_WINDOW_TITLE_FORMAT" desc="The format for the accessible title of a private window">
|
||||
<message name="IDS_ACCESSIBLE_INCOGNITO_WINDOW_TITLE_FORMAT" desc="The format for the accessible title of a Private window">
|
||||
<ph name="WINDOW_TITLE">$1</ph> (Private)
|
||||
</message>
|
||||
<message name="IDS_INCOGNITOWINDOW_PROMO_0" desc="Variations option 1. Text shown on promotional UI appearing next to the App Menu button, which encourages users to use it.">
|
||||
You can browse privately using a private window
|
||||
You can browse privately using a Private window
|
||||
</message>
|
||||
<message name="IDS_INCOGNITOWINDOW_PROMO_1" desc="Variations option 2. Text shown on promotional UI appearing next to the App Menu button, which encourages users to use it.">
|
||||
Use the web without saving your browsing history with a private window
|
||||
Use the web without saving your browsing history with a Private window
|
||||
</message>
|
||||
<message name="IDS_INCOGNITOWINDOW_PROMO_2" desc="Variations option 3. Text shown on promotional UI appearing next to the App Menu button, which encourages users to use it.">
|
||||
Using a shared computer? Try opening a private window.
|
||||
Using a shared computer? Try opening a Private window.
|
||||
</message>
|
||||
<message name="IDS_INCOGNITOWINDOW_PROMO_3" desc="Variations option 4. Text shown on promotional UI appearing next to the App Menu button, which encourages users to use it.">
|
||||
To browse privately, click the dots icon menu to open a private window
|
||||
To browse privately, click the dots icon menu to open a Private window
|
||||
</message>
|
||||
<if expr="use_titlecase">
|
||||
</if>
|
||||
@@ -754,9 +757,7 @@ are declared in tools/grit/grit_rule.gni.
|
||||
<if expr="chromeos">
|
||||
</if>
|
||||
|
||||
<if expr="not chromeos">
|
||||
</if>
|
||||
</if>
|
||||
</if>
|
||||
|
||||
<if expr="toolkit_views">
|
||||
<if expr="not use_titlecase">
|
||||
@@ -778,12 +779,15 @@ are declared in tools/grit/grit_rule.gni.
|
||||
|
||||
<if expr="is_macosx">
|
||||
</if> <if expr="is_macosx">
|
||||
<message name="IDS_NEW_INCOGNITO_WINDOW_MAC" desc="The Mac menu item for opening a new private window in the file menu.">
|
||||
<message name="IDS_NEW_INCOGNITO_WINDOW_MAC" desc="The Mac menu item for opening a new Private window in the file menu.">
|
||||
New Private Window
|
||||
</message>
|
||||
<message name="IDS_BOOKMARK_BAR_ALWAYS_SHOW_MAC" desc="The Mac menu item for having bookmark bar always visible in the view menu.">
|
||||
Always Show Bookmarks
|
||||
</message>
|
||||
<message name="IDS_HISTORY_INCOGNITO_DISCLAIMER_MAC" desc="The Mac menu item for the Private disclaimer text.">
|
||||
History isn’t saved in Private
|
||||
</message>
|
||||
</if> <if expr="is_posix and not is_macosx">
|
||||
</if>
|
||||
|
||||
@@ -814,12 +818,6 @@ are declared in tools/grit/grit_rule.gni.
|
||||
<if expr="chromeos">
|
||||
</if>
|
||||
|
||||
<if expr="chromeos">
|
||||
</if>
|
||||
<if expr="is_macosx">
|
||||
</if>
|
||||
<if expr="is_win or desktop_linux">
|
||||
</if>
|
||||
<if expr="not chromeos">
|
||||
</if>
|
||||
<if expr="chromeos">
|
||||
@@ -837,8 +835,8 @@ are declared in tools/grit/grit_rule.gni.
|
||||
</if>
|
||||
|
||||
<if expr="chromeos">
|
||||
<message name="IDS_APP_LIST_NEW_INCOGNITO_WINDOW" desc="The text label of the New private window menu item">
|
||||
New private window
|
||||
<message name="IDS_APP_LIST_NEW_INCOGNITO_WINDOW" desc="The text label of the New Private window menu item">
|
||||
New Private window
|
||||
</message>
|
||||
</if>
|
||||
|
||||
@@ -874,6 +872,9 @@ are declared in tools/grit/grit_rule.gni.
|
||||
<if expr="not is_android">
|
||||
</if>
|
||||
|
||||
<if expr="not is_android">
|
||||
</if>
|
||||
|
||||
<if expr="is_win">
|
||||
</if>
|
||||
|
||||
@@ -905,13 +906,16 @@ are declared in tools/grit/grit_rule.gni.
|
||||
</message>
|
||||
</if>
|
||||
|
||||
<message name="IDS_INCOGNITO_PROFILE_MENU_TITLE" desc="The title of the private version of profile menu.">
|
||||
<if expr="is_win or is_macosx or desktop_linux or chromeos or is_android">
|
||||
</if>
|
||||
|
||||
<message name="IDS_INCOGNITO_PROFILE_MENU_TITLE" desc="The title of the Private version of profile menu.">
|
||||
Private
|
||||
</message>
|
||||
<message name="IDS_INCOGNITO_PROFILE_MENU_CLOSE_BUTTON" desc="The text of the button offering to close all private windows.">
|
||||
<message name="IDS_INCOGNITO_PROFILE_MENU_CLOSE_BUTTON" desc="The text of the button offering to close all Private windows.">
|
||||
Exit Private
|
||||
</message>
|
||||
<message name="IDS_INCOGNITO_PROFILE_MENU_CLOSE_BUTTON_NEW" desc="The text of the button offering to close all private windows.">
|
||||
<message name="IDS_INCOGNITO_PROFILE_MENU_CLOSE_BUTTON_NEW" desc="The text of the button offering to close all Private windows.">
|
||||
Close Private
|
||||
</message>
|
||||
|
||||
|
||||
@@ -111,6 +111,15 @@
|
||||
<message name="IDS_MEDIA_ROUTER_AVAILABLE_SPECIFIC_SITES" desc="Text shown as the status of a Cast device that is not compatible with the selected website but is compatible with other video websites.">
|
||||
Available for specific video sites
|
||||
</message>
|
||||
<message name="IDS_MEDIA_ROUTER_CASTING_DESKTOP" desc="The status text of a Cast device to which we are mirroring the contents of the user's entire screen.">
|
||||
Casting desktop
|
||||
</message>
|
||||
<message name="IDS_MEDIA_ROUTER_CASTING_TAB" desc="The status text of a Cast device to which we are mirroring the contents of a browser tab.">
|
||||
Casting tab
|
||||
</message>
|
||||
<message name="IDS_MEDIA_ROUTER_PRESENTATION_ROUTE_DESCRIPTION" desc="Description shown to indicate that a website is being presented to another display.">
|
||||
Presenting (<ph name="PAGE_ORIGIN">$1<ex>example.com</ex></ph>)
|
||||
</message>
|
||||
|
||||
<!-- File Dialog -->
|
||||
<message name="IDS_MEDIA_ROUTER_FILE_DIALOG_AUDIO_VIDEO_FILTER" desc="Label for the drop down menu in the file selection dialog to show only audio and video files, instead of all files.">
|
||||
@@ -146,10 +155,208 @@
|
||||
</message>
|
||||
|
||||
<!-- Wired Display Media Route Provider -->
|
||||
<message name="IDS_MEDIA_ROUTER_WIRED_DISPLAY_ROUTE_DESCRIPTION" desc="Description shown to indicate that a website is being presented to another display.">
|
||||
Presenting (<ph name="PAGE_ORIGIN">$1<ex>example.com</ex></ph>)
|
||||
</message>
|
||||
<message name="IDS_MEDIA_ROUTER_WIRED_DISPLAY_SINK_NAME" desc="Name shown for a wired display that can be used as a Cast destination.">
|
||||
Display <ph name="DISPLAY_ID">$1<ex>1</ex></ph>
|
||||
</message>
|
||||
|
||||
<!-- Cast feedback dialog (chrome://cast-feedback) -->
|
||||
<message name="IDS_MEDIA_ROUTER_FEEDBACK_TITLE" desc="Title of the tab opened by selecting '''Report an issue' from the Cast menu.">
|
||||
Brave Cast Feedback
|
||||
</message>
|
||||
<message name="IDS_MEDIA_ROUTER_FEEDBACK_NA" desc="Label used for subjective quality ratings where the user expresses no opinion.">
|
||||
N/A
|
||||
</message>
|
||||
<message name="IDS_MEDIA_ROUTER_FEEDBACK_FORM_DESCRIPTION" desc="Text to describe the feedback form.">
|
||||
Your feedback helps us to improve Brave Cast and is appreciated.
|
||||
For help troubleshooting issues with cast, please refer to the
|
||||
<ph name="BEGIN_LINK"><a href="$1" target="_blank" rel="noopener noreferrer"></ph>
|
||||
help center<ph name="END_LINK"></a></ph>.
|
||||
</message>
|
||||
<message name="IDS_MEDIA_ROUTER_FEEDBACK_HEADER" desc="Header of the Media Router feedback page.">
|
||||
Tell us what's happening with Brave Cast.
|
||||
</message>
|
||||
<message name="IDS_MEDIA_ROUTER_FEEDBACK_YOUR_ANSWER" desc="Placeholder text for inputs in the feedback form.">
|
||||
Your answer
|
||||
</message>
|
||||
<message name="IDS_MEDIA_ROUTER_FEEDBACK_REQUIRED" desc="Text in a legend to indicate required field.">
|
||||
Required
|
||||
</message>
|
||||
<message name="IDS_MEDIA_ROUTER_FEEDBACK_TYPE_QUESTION" desc="Text for the feedback type question.">
|
||||
What kind of feedback are you providing?
|
||||
</message>
|
||||
<message name="IDS_MEDIA_ROUTER_FEEDBACK_PROMPT" desc="Text for the feedback input box in the feedback form.">
|
||||
Please enter your feedback here:
|
||||
</message>
|
||||
<message name="IDS_MEDIA_ROUTER_FEEDBACK_MIRRORING_QUALITY_SUBHEADING" desc="Text for audio quality question.">
|
||||
Mirroring Quality Details
|
||||
</message>
|
||||
<message name="IDS_MEDIA_ROUTER_FEEDBACK_VIDEO_SMOOTHNESS" desc="Text for video smoothness question.">
|
||||
Video Smoothness
|
||||
</message>
|
||||
<message name="IDS_MEDIA_ROUTER_FEEDBACK_VIDEO_QUALITY" desc="Text for video quality question.">
|
||||
Video Quality
|
||||
</message>
|
||||
<message name="IDS_MEDIA_ROUTER_FEEDBACK_AUDIO_QUALITY" desc="Text for audio quality question.">
|
||||
Audio Quality
|
||||
</message>
|
||||
<message name="IDS_MEDIA_ROUTER_FEEDBACK_CONTENT_QUESTION" desc="Text for the question about content being cast.">
|
||||
What content/URL were you casting?
|
||||
</message>
|
||||
<message name="IDS_MEDIA_ROUTER_FEEDBACK_ADDITIONAL_COMMENTS" desc="Text for field in feedback form for other comments.">
|
||||
Additional comments:
|
||||
</message>
|
||||
<message name="IDS_MEDIA_ROUTER_FEEDBACK_EMAIL_FIELD" desc="Text for the email field in the feedback form.">
|
||||
Email (optional):
|
||||
</message>
|
||||
<message name="IDS_MEDIA_ROUTER_FEEDBACK_SEND_BUTTON" desc="Text for the send feedback button.">
|
||||
Send Feedback
|
||||
</message>
|
||||
<message name="IDS_MEDIA_ROUTER_FEEDBACK_DISCARD_CONFIRMATION" desc="Text in the confirmation that the user does not want to submit feedback.">
|
||||
Do you want to discard the feedback?
|
||||
</message>
|
||||
|
||||
<!-- Cast feedback dialog: feedback types -->
|
||||
<message name="IDS_MEDIA_ROUTER_FEEDBACK_TYPE_BUG_OR_ERROR" desc="The label of the feedback type for Bug or Error.">
|
||||
Bug or Error
|
||||
</message>
|
||||
<message name="IDS_MEDIA_ROUTER_FEEDBACK_TYPE_FEATURE_REQUEST" desc="The label of the feedback type for a Feature Request.">
|
||||
Feature Request
|
||||
</message>
|
||||
<message name="IDS_MEDIA_ROUTER_FEEDBACK_TYPE_PROJECTION_QUALITY" desc="The label of the feedback type for a Projection Quality report.">
|
||||
Tab/Desktop Projection Quality
|
||||
</message>
|
||||
<message name="IDS_MEDIA_ROUTER_FEEDBACK_TYPE_DISCOVERY" desc="The label of the feedback type for a Device Discovery report.">
|
||||
Device Discovery
|
||||
</message>
|
||||
<message name="IDS_MEDIA_ROUTER_FEEDBACK_TYPE_OTHER" desc="The label of the feedback type for a 'Other' report.">
|
||||
Other
|
||||
</message>
|
||||
|
||||
<!-- Cast feedback dialog: video smoothness -->
|
||||
<message name="IDS_MEDIA_ROUTER_FEEDBACK_VIDEO_FREEZES" desc="The label of the subjective video smoothness rating of 'Freezes.'">
|
||||
Freezes
|
||||
</message>
|
||||
<message name="IDS_MEDIA_ROUTER_FEEDBACK_VIDEO_JERKY" desc="The label of the subjective video smoothness rating of 'Jerky.'">
|
||||
Jerky
|
||||
</message>
|
||||
<message name="IDS_MEDIA_ROUTER_FEEDBACK_VIDEO_STUTTER" desc="The label of the subjective video smoothness rating of 'Occasional Stutter.'">
|
||||
Occasional Stutter
|
||||
</message>
|
||||
<message name="IDS_MEDIA_ROUTER_FEEDBACK_VIDEO_SMOOTH" desc="The label of the subjective video smoothness rating of 'Smooth.'">
|
||||
Smooth
|
||||
</message>
|
||||
<message name="IDS_MEDIA_ROUTER_FEEDBACK_VIDEO_PERFECT" desc="The label of the subjective video smoothness rating of 'Perfect.'">
|
||||
Perfect
|
||||
</message>
|
||||
|
||||
<!-- Cast feedback dialog: video quality -->
|
||||
<message name="IDS_MEDIA_ROUTER_FEEDBACK_VIDEO_UNWATCHABLE" desc="The label of the subjective video quality rating of 'Unwatchable.'">
|
||||
Unwatchable
|
||||
</message>
|
||||
<message name="IDS_MEDIA_ROUTER_FEEDBACK_VIDEO_POOR" desc="The label of the subjective video quality rating of 'Poor.'">
|
||||
Poor
|
||||
</message>
|
||||
<message name="IDS_MEDIA_ROUTER_FEEDBACK_VIDEO_ACCEPTABLE" desc="The label of the subjective video quality rating of 'Acceptable.'">
|
||||
Acceptable
|
||||
</message>
|
||||
<message name="IDS_MEDIA_ROUTER_FEEDBACK_VIDEO_GOOD" desc="The label of the subjective video quality rating of 'Good', comparable to DVD video.">
|
||||
Good - DVD
|
||||
</message>
|
||||
<message name="IDS_MEDIA_ROUTER_FEEDBACK_VIDEO_GREAT" desc="The label of the subjective video quality rating of 'Great', compable to HD/BluRay video.">
|
||||
Great - HD
|
||||
</message>
|
||||
|
||||
<!-- Cast feedback dialog: audio quality -->
|
||||
<message name="IDS_MEDIA_ROUTER_FEEDBACK_AUDIO_UNINTELLIGIBLE" desc="The label of the subjective audio quality rating of 'Unintelligible.'">
|
||||
Unintelligible
|
||||
</message>
|
||||
<message name="IDS_MEDIA_ROUTER_FEEDBACK_AUDIO_POOR" desc="The label of the subjective audio quality rating of 'Poor.'">
|
||||
Poor
|
||||
</message>
|
||||
<message name="IDS_MEDIA_ROUTER_FEEDBACK_AUDIO_ACCEPTABLE" desc="The label of the subjective audio quality rating of 'Acceptable', comparable to FM radio.">
|
||||
Acceptable - FM
|
||||
</message>
|
||||
<message name="IDS_MEDIA_ROUTER_FEEDBACK_AUDIO_GOOD" desc="The label of the subjective audio quality rating of 'Good.'">
|
||||
Good
|
||||
</message>
|
||||
<message name="IDS_MEDIA_ROUTER_FEEDBACK_AUDIO_PERFECT" desc="The label of the subjective audio quality rating of 'Perfect.'">
|
||||
Perfect
|
||||
</message>
|
||||
|
||||
<!-- Cast feedback dialog: steps of sending feedback -->
|
||||
<message name="IDS_MEDIA_ROUTER_FEEDBACK_SENDING" desc="Shown while we're attempting to send feedback.">
|
||||
Sending feedback...
|
||||
</message>
|
||||
<message name="IDS_MEDIA_ROUTER_FEEDBACK_SEND_FAIL" desc="Shown when the attempt to submit feedback fails.">
|
||||
Unable to send feedback. Please try again later.
|
||||
</message>
|
||||
<message name="IDS_MEDIA_ROUTER_FEEDBACK_SEND_SUCCESS" desc="Shown when the attempt to submit feedback succeeds.">
|
||||
Thank you for sending feedback.
|
||||
</message>
|
||||
<message name="IDS_MEDIA_ROUTER_FEEDBACK_RESENDING" desc="Shown while retrying to send feedback.">
|
||||
Failed to send feedback. Retrying...
|
||||
</message>
|
||||
|
||||
<!-- Cast feedback dialog: logs -->
|
||||
<message name="IDS_MEDIA_ROUTER_FEEDBACK_LOGS_HEADER" desc="Header for dialog that shows logs.">
|
||||
Cast and Device Logs
|
||||
</message>
|
||||
<message name="IDS_MEDIA_ROUTER_FEEDBACK_FINE_LOGS_WARNING" desc="Shown as a privacy/data warning when fine logs are enabled.">
|
||||
Warning - Detailed logging is enabled; logs below may include URLs or other sensitive information. Please review and ensure that you are comfortable submitting this information.
|
||||
</message>
|
||||
<message name="IDS_MEDIA_ROUTER_FEEDBACK_SEND_LOGS_HTML" desc="Text for the send logs checkbox option.">
|
||||
Send <ph name="BEGIN_LINK"><a href=""></ph>
|
||||
debug logs<ph name="END_LINK"></a></ph> (recommended)
|
||||
</message>
|
||||
<message name="IDS_MEDIA_ROUTER_FEEDBACK_SEND_LOGS" desc="Text for log attachment checkbox.">
|
||||
Send debug logs (recommended)
|
||||
</message>
|
||||
<message name="IDS_MEDIA_ROUTER_FEEDBACK_PRIVACY_DATA_USAGE" desc="Text with details about data usage of details submitted in the feedback page.">
|
||||
Your Brave version, operating system version, Cast settings,
|
||||
mirroring performance stats, and communication channel diagnostic
|
||||
logs will be submitted in addition to any information you choose
|
||||
to include above. This feedback is used to diagnose problems and
|
||||
help improve the feature. Any personal information you submit,
|
||||
whether explicitly or incidentally, will be protected in
|
||||
accordance with our privacy policies. By submitting this feedback,
|
||||
you agree that Brave may use feedback that you provide to improve
|
||||
any Brave product or service.
|
||||
</message>
|
||||
|
||||
<!-- Cast feedback dialog: discovery -->
|
||||
<message name="IDS_MEDIA_ROUTER_FEEDBACK_SETUP_VISIBILITY_QUESTION" desc="Text for the question about device visibility through setup flow">
|
||||
Are you able to see your Bravecast in the
|
||||
<ph name="BEGIN_LINK"><a href="$1" target="_blank" rel="noopener noreferrer"></ph>
|
||||
Brave Home app<ph name="END_LINK"></a></ph>?
|
||||
</message>
|
||||
<message name="IDS_MEDIA_ROUTER_FEEDBACK_YES" desc="Label for yes option.">
|
||||
Yes
|
||||
</message>
|
||||
<message name="IDS_MEDIA_ROUTER_FEEDBACK_NO" desc="Label for no option.">
|
||||
No
|
||||
</message>
|
||||
<message name="IDS_MEDIA_ROUTER_FEEDBACK_DID_NOT_TRY" desc="Label for 'did not try' option.">
|
||||
Did not try
|
||||
</message>
|
||||
<message name="IDS_MEDIA_ROUTER_FEEDBACK_SOFTWARE_QUESTION" desc="Text for the question about installed software.">
|
||||
Do you have any special VPN, proxy, firewall, or NAS software
|
||||
installed?
|
||||
</message>
|
||||
<message name="IDS_MEDIA_ROUTER_FEEDBACK_UNKNOWN" desc="Label for not sure option.">
|
||||
Not sure
|
||||
</message>
|
||||
<message name="IDS_MEDIA_ROUTER_FEEDBACK_NETWORK_QUESTION" desc="Text for the question describing the network.">
|
||||
Which of the following best describes your network?
|
||||
</message>
|
||||
<message name="IDS_MEDIA_ROUTER_FEEDBACK_NETWORK_SAME_WIFI" desc="Option for describing the network with PC and chromecast on the same Wi-Fi network.">
|
||||
PC and Bravecast on the same Wi-Fi network
|
||||
</message>
|
||||
<message name="IDS_MEDIA_ROUTER_FEEDBACK_NETWORK_DIFFERENT_WIFI" desc="Option for describing the network with PC and chromecast on different Wi-Fi networks.">
|
||||
PC and Bravecast on different Wi-Fi networks (e.g. 2.4GHz
|
||||
vs. 5GHz)
|
||||
</message>
|
||||
<message name="IDS_MEDIA_ROUTER_FEEDBACK_NETWORK_WIRED_PC" desc="Option for describing the network with a wired PC.">
|
||||
PC is wired and Bravecast is on Wi-Fi
|
||||
</message>
|
||||
|
||||
</grit-part>
|
||||
|
||||
@@ -111,6 +111,9 @@
|
||||
<message name="IDS_NEARBY_ACTIONS_CONFIRM" desc="Action button text to confirm a transfer in the Nearby Share UI.">
|
||||
Confirm
|
||||
</message>
|
||||
<message name="IDS_NEARBY_ACTIONS_DECLINE" desc="Action button text to decline an incoming transfer in the Nearby Share UI.">
|
||||
Decline
|
||||
</message>
|
||||
<message name="IDS_NEARBY_ACTIONS_NEXT" desc="Action button text to go to the next step in the Nearby Share UI.">
|
||||
Next
|
||||
</message>
|
||||
@@ -295,6 +298,9 @@
|
||||
<message name="IDS_NEARBY_NOTIFICATION_ACTION_OPEN_URL" desc="Notification action button text that opens the received URL.">
|
||||
Open
|
||||
</message>
|
||||
<message name="IDS_NEARBY_NOTIFICATION_ACCEPT_ACTION" desc="Text shown on the notification action to accept receiving data via Nearby Share.">
|
||||
Accept
|
||||
</message>
|
||||
<message name="IDS_NEARBY_NOTIFICATION_CONNECTION_REQUEST_MESSAGE" desc="Text shown as the message of a notfication when a nearby device requests a connection via Nearby Share.">
|
||||
{COUNT, plural,
|
||||
=1 {<ph name="DEVICE_NAME">$1<ex>Ted's Pixel 2</ex></ph> is sharing <ph name="ATTACHMENTS">$2<ex>1 item</ex></ph> with you.}
|
||||
@@ -312,9 +318,6 @@
|
||||
<message name="IDS_NEARBY_NOTIFICATION_ONBOARDING_TITLE" desc="Text shown as the title of a notification when a nearby device is attempting to share data via Nearby Share.">
|
||||
Device nearby is sharing
|
||||
</message>
|
||||
<message name="IDS_NEARBY_NOTIFICATION_RECEIVE_ACTION" desc="Text shown on the notification action to accept receiving data via Nearby Share.">
|
||||
Receive
|
||||
</message>
|
||||
<message name="IDS_NEARBY_NOTIFICATION_RECEIVE_FAILURE_TITLE" desc="Text shown as the title of a notfication when receiving data via Nearby Share failed.">
|
||||
{COUNT, plural,
|
||||
=1 {Failed to receive <ph name="ATTACHMENTS">$1<ex>1 item</ex></ph> from <ph name="DEVICE_NAME">$2<ex>Ted's Pixel 2</ex></ph>}
|
||||
@@ -342,15 +345,12 @@
|
||||
</message>
|
||||
<message name="IDS_NEARBY_NOTIFICATION_SEND_SUCCESS_TITLE" desc="Text shown as the title of a notfication when data was successfully sent via Nearby Share.">
|
||||
{COUNT, plural,
|
||||
=1 {<ph name="ATTACHMENTS">$1<ex>1 item</ex></ph> successfully sent to <ph name="DEVICE_NAME">$2<ex>Ted's Pixel 2</ex></ph>}
|
||||
other {<ph name="ATTACHMENTS">$1<ex>3 items</ex></ph> successfully sent to <ph name="DEVICE_NAME">$2<ex>Ted's Pixel 2</ex></ph>}}
|
||||
=1 {<ph name="ATTACHMENTS">$1<ex>1 item</ex></ph> sent to <ph name="DEVICE_NAME">$2<ex>Ted's Pixel 2</ex></ph>}
|
||||
other {<ph name="ATTACHMENTS">$1<ex>3 items</ex></ph> sent to <ph name="DEVICE_NAME">$2<ex>Ted's Pixel 2</ex></ph>}}
|
||||
</message>
|
||||
<message name="IDS_NEARBY_NOTIFICATION_SOURCE" desc="Text shown as the source of a Nearby Share notification.">
|
||||
Nearby Share
|
||||
</message>
|
||||
<message name="IDS_NEARBY_NOTIFICATION_RECEIVER_CANCELLED" desc="Text shown as the title of a notification when the receiver device cancels the Nearby Share tranfer.">
|
||||
<ph name="DEVICE_NAME">$1<ex>Ted's Pixel 2</ex></ph> did not accept the file
|
||||
</message>
|
||||
<message name="IDS_NEARBY_NOTIFICATION_SENDER_CANCELLED" desc="Text shown as the title of a notification when the sender device cancels the Nearby Share tranfer.">
|
||||
<ph name="DEVICE_NAME">$1<ex>Ted's Pixel 2</ex></ph> cancelled the transfer
|
||||
</message>
|
||||
|
||||
@@ -87,14 +87,14 @@
|
||||
<message name="IDS_OS_SETTINGS_TAG_CELLULAR_TURN_OFF_ALT1" desc="Text for search result item which, when clicked, navigates the user to cellular network settings, with a toggle to turn off cellular. Alternate phrase for: 'Turn off cellular network'">
|
||||
Disable Cellular
|
||||
</message>
|
||||
<message name="IDS_OS_SETTINGS_TAG_ADD_CELLULAR" desc="Text for search result item which, when clicked, navigates the user to cellular network settings, with an add cellular icon button. Alternate phrase for: 'Activate physical SIM', 'Set up eSIM'">
|
||||
Add Cellular
|
||||
<message name="IDS_OS_SETTINGS_TAG_ADD_ESIM" desc="Text for search result item which, when clicked, navigates the user to cellular network settings, with an add eSIM icon button. Alternate phrase for: 'Install eSIM profile', 'Download eSIM profile'">
|
||||
Add eSIM profile
|
||||
</message>
|
||||
<message name="IDS_OS_SETTINGS_TAG_ADD_CELLULAR_ALT1" desc="Text for search result item which, when clicked, navigates the user to cellular network settings, with an add cellular icon button. Alternate phrase for: 'Add Cellular', 'Set up eSIM'">
|
||||
Activate physical SIM
|
||||
<message name="IDS_OS_SETTINGS_TAG_ADD_ESIM_ALT1" desc="Text for search result item which, when clicked, navigates the user to cellular network settings, with an add eSIM icon button. Alternate phrase for: 'Add eSIM profile', 'Download eSIM profile'">
|
||||
Install eSIM profile
|
||||
</message>
|
||||
<message name="IDS_OS_SETTINGS_TAG_ADD_CELLULAR_ALT2" desc="Text for search result item which, when clicked, navigates the user to cellular network settings, with an add cellular icon button. Alternate phrase for: 'Add Cellular', 'Activate physical SIM'">
|
||||
Set up eSIM
|
||||
<message name="IDS_OS_SETTINGS_TAG_ADD_ESIM_ALT2" desc="Text for search result item which, when clicked, navigates the user to cellular network settings, with an add eSIM icon button. Alternate phrase for: 'Add eSIM profile', 'Install eSIM profile'">
|
||||
Download eSIM profile
|
||||
</message>
|
||||
<message name="IDS_OS_SETTINGS_TAG_CELLULAR_TURN_ON" desc="Text for search result item which, when clicked, navigates the user to cellular network settings, with a toggle to turn on cellular. Alternate phrase for: 'Enable cellular'">
|
||||
Turn on Cellular network
|
||||
@@ -717,6 +717,18 @@
|
||||
<message name="IDS_OS_SETTINGS_TAG_PREFERRED_SEARCH_ENGINE" desc="Text for search result item which, when clicked, navigates the user to search settings, with an option to set the user's preferred search engine.">
|
||||
Preferred search engine
|
||||
</message>
|
||||
<message name="IDS_OS_SETTINGS_TAG_QUICK_ANSWERS" desc="Text for search result item which, when clicked, navigates the user to Quick Answers settings, with a toggle to enable/disable the functionality. Alternate phrase for: 'Look up', 'Quick search', 'Right click card'">
|
||||
Quick Answers
|
||||
</message>
|
||||
<message name="IDS_OS_SETTINGS_TAG_QUICK_ANSWERS_ALT1" desc="Text for search result item which, when clicked, navigates the user to Quick Answers settings, with a toggle to enable/disable the functionality. Alternate phrase for: 'Quick Answers', 'Quick search', 'Right click card'">
|
||||
Look up
|
||||
</message>
|
||||
<message name="IDS_OS_SETTINGS_TAG_QUICK_ANSWERS_ALT2" desc="Text for search result item which, when clicked, navigates the user to Quick Answers settings, with a toggle to enable/disable the functionality. Alternate phrase for: 'Quick Answers', 'Look up', 'Right click card'">
|
||||
Quick search
|
||||
</message>
|
||||
<message name="IDS_OS_SETTINGS_TAG_QUICK_ANSWERS_ALT3" desc="Text for search result item which, when clicked, navigates the user to Quick Answers settings, with a toggle to enable/disable the functionality. Alternate phrase for: 'Quick Answers', 'Look up', 'Quick search'">
|
||||
Right click card
|
||||
</message>
|
||||
<message name="IDS_OS_SETTINGS_TAG_ASSISTANT" desc="Text for search result item which, when clicked, navigates the user to Brave Assistant settings.">
|
||||
Brave Assistant
|
||||
</message>
|
||||
@@ -940,9 +952,6 @@
|
||||
</message>
|
||||
|
||||
<!-- Languages and Input section. -->
|
||||
<message name="IDS_OS_SETTINGS_TAG_LANGUAGES_INPUT" desc="Text for search result item which, when clicked, navigates the user to languages and input settings.">
|
||||
Languages and inputs
|
||||
</message>
|
||||
<message name="IDS_OS_SETTINGS_TAG_LANGUAGES" desc="Text for search result item which, when clicked, navigates the user to languages settings.">
|
||||
Languages
|
||||
</message>
|
||||
@@ -967,9 +976,6 @@
|
||||
<message name="IDS_OS_SETTINGS_TAG_LANGUAGES_EDIT_DICTIONARY" desc="Text for search result item which, when clicked, navigates the user to edit dictionary page.">
|
||||
Customize spell check
|
||||
</message>
|
||||
<message name="IDS_OS_SETTINGS_TAG_LANGUAGES_INPUT_METHODS" desc="Text for search result item which, when clicked, navigates the user to input settings, with the option to enable/disable input in supported languages.">
|
||||
Manage input methods
|
||||
</message>
|
||||
<message name="IDS_OS_SETTINGS_TAG_LANGUAGES_INPUT_INPUT_OPTIONS_SHELF" desc="Text for search result item which, when clicked, navigates the user to languages and input settings, with a toggle to enable/disable showing input options in the shelf. Alternate phrase for: 'Input options in toolbar'">
|
||||
Show input options in the shelf
|
||||
</message>
|
||||
|
||||
@@ -14,6 +14,9 @@
|
||||
<message name="IDS_SETTINGS_DEVICE_ON" desc="In Settings pages, the label when a bluetooth, wifi, or mobile device is on (enabled)." meaning="Device is enabled.">
|
||||
On
|
||||
</message>
|
||||
<message name="IDS_SETTINGS_DISMISS" desc="Label to dismiss a shortcut reminder.">
|
||||
Dismiss
|
||||
</message>
|
||||
|
||||
<!--Main Page-->
|
||||
<message name="IDS_SETTINGS_SECONDARY_USER_BANNER" desc="Banner displayed in settings page when the user is secondary in a multi-profile session.">
|
||||
@@ -169,6 +172,15 @@
|
||||
<message name="IDS_SETTINGS_ABOUT_PAGE_DEVICE_NAME_CONSTRAINTS" desc="Label describing the requirements for the text of the device hostname.">
|
||||
Name can use letters, numbers, and hyphens (-)
|
||||
</message>
|
||||
<message name="IDS_SETTINGS_UPGRADE_TRY_AGAIN" desc="Status label: Update check error (BraveOS/BraveOS)">
|
||||
Couldn't update your Bravebook. Please try again later.
|
||||
</message>
|
||||
<message name="IDS_SETTINGS_UPGRADE_DOWNLOAD_ERROR" desc="Status label: Update check download error(BraveOS/BraveOS)">
|
||||
Couldn't download the update. Please try again later.
|
||||
</message>
|
||||
<message name="IDS_SETTINGS_UPGRADE_ADMINISTRATOR_ERROR" desc="Status label: Update blocked by policy (BraveOS/BraveOS)">
|
||||
Updates are blocked by your administrator
|
||||
</message>
|
||||
<message name="IDS_SETTINGS_UPGRADE_UP_TO_DATE" desc="Status label: Already up to date (BraveOS/BraveOS)">
|
||||
Your <ph name="DEVICE_TYPE">$1<ex>Bravebook</ex></ph> is up to date
|
||||
</message>
|
||||
@@ -289,6 +301,9 @@
|
||||
<message name="IDS_OS_SETTINGS_LANGUAGES_INPUT_PAGE_TITLE" desc="A page under “Languages and inputs” section in the OS settings page that users can add, remove and manage input methods.">
|
||||
Inputs
|
||||
</message>
|
||||
<message name="IDS_OS_SETTINGS_LANGUAGES_INPUT_PAGE_TITLE_V2" desc="A page under “Languages and inputs” section in the OS settings page that users can add, remove and manage input methods.">
|
||||
Inputs and keyboards
|
||||
</message>
|
||||
<message name="IDS_OS_SETTINGS_LANGUAGES_DEVICE_LANGUAGE_TITLE" desc="The label for the section where users can see their device language. This language will be used for system surfaces (launcher, shelf, and notifications etc.).">
|
||||
Device language
|
||||
</message>
|
||||
@@ -319,21 +334,48 @@
|
||||
<message name="IDS_OS_SETTINGS_LANGUAGES_LANGUAGES_PREFERENCE_DESCRIPTION" desc="Description for section that lets users choose the language for web content. The web content languages will be served in the order of the list.">
|
||||
Web content available in multiple languages will use the first supported language from this list. These preferences are synced with your browser settings. <ph name="BEGIN_LINK_LEARN_MORE"><a target="_blank" rel="noopener noreferrer" href="$1"></ph>Learn more<ph name="END_LINK_LEARN_MORE"></a></ph>
|
||||
</message>
|
||||
<message name="IDS_OS_SETTINGS_LANGUAGES_WEBSITE_LANGUAGES_TITLE" desc="Title of section that lets users choose a list of languages for websites. The website languages will be given to websites in the order given by the list.">
|
||||
Website languages
|
||||
</message>
|
||||
<message name="IDS_OS_SETTINGS_LANGUAGES_WEBSITE_LANGUAGES_DESCRIPTION" desc="Description for section that lets users choose a list of languages for websites. The website languages will be given to websites in the order given by the list.">
|
||||
Add and rank your preferred languages. Websites will show in your preferred languages, when possible. These preferences are synced with your browser settings. <ph name="BEGIN_LINK_LEARN_MORE"><a target="_blank" rel="noopener noreferrer" href="$1"></ph>Learn more<ph name="END_LINK_LEARN_MORE"></a></ph>
|
||||
</message>
|
||||
<message name="IDS_OS_SETTINGS_LANGUAGES_TRANSLATE_TARGET_LABEL" desc="The label of the toggle that enables the prompt to translate a page to users.">
|
||||
Language used when translating pages
|
||||
</message>
|
||||
<message name="IDS_OS_SETTINGS_LANGUAGES_OFFER_TO_TRANSLATE_THIS_LANGUAGE" desc="The label of the checkbox that enables the prompt to translate a page in the given language to users.">
|
||||
Offer to translate pages in this language
|
||||
</message>
|
||||
<message name="IDS_OS_SETTINGS_LANGUAGES_GOOGLE_ACCOUNT_LANGUAGE_TITLE" desc="Title for the section that informs users about the languages associated with their Brave sync chain and what they affect.">
|
||||
Brave sync chain language
|
||||
</message>
|
||||
<message name="IDS_OS_SETTINGS_LANGUAGES_GOOGLE_ACCOUNT_LANGUAGE_DESCRIPTION" desc="Description for the section that informs users about the languages associated with their Brave sync chain and what they affect.">
|
||||
Brave sites like Gmail, Drive, and YouTube use your Brave sync chain language unless you’ve changed the individual product language
|
||||
</message>
|
||||
<message name="IDS_OS_SETTINGS_LANGUAGES_MANAGE_GOOGLE_ACCOUNT_LANGUAGE_LABEL" desc="Label for the button which links to the Brave sync chain language page, allowing users to modify their Brave sync chain languages.">
|
||||
Manage Brave sync chain language
|
||||
</message>
|
||||
<message name="IDS_OS_SETTINGS_LANGUAGES_OFFER_TRANSLATION_LABEL" desc="Title for setting that allows the system to offer to translate websites that appear in other languages.">
|
||||
Translation suggestion
|
||||
</message>
|
||||
<message name="IDS_OS_SETTINGS_LANGUAGES_OFFER_TRANSLATION_SUBLABEL" desc="Description for setting that allows the system to offer to translate websites that appear in other languages.">
|
||||
Offer to translate websites in other languages
|
||||
</message>
|
||||
<message name="IDS_OS_SETTINGS_LANGUAGES_OFFER_GOOGLE_TRANSLATE_LABEL" desc="Title for setting that allows the system to offer to translate websites that appear in other languages using Brave Translate.">
|
||||
Offer Brave Translate for websites in other languages
|
||||
</message>
|
||||
<message name="IDS_OS_SETTINGS_LANGUAGES_INPUT_METHOD_LIST_TITLE" desc="Title for the list of enabled input methods (keyboard layouts and input method editors).">
|
||||
Input methods
|
||||
</message>
|
||||
<message name="IDS_OS_SETTINGS_LANGUAGES_SHORTCUT_REMINDER_TITLE" desc="Title for the reminder to the user that some shortcuts are available for this feature.">
|
||||
Keyboard shortcut available
|
||||
</message>
|
||||
<message name="IDS_OS_SETTINGS_LANGUAGES_SHORTCUT_REMINDER_LAST_USED_IME_DESCRIPTION" desc="The body of the shortcut reminder for switching to the last used input method. Note that 'Ctrl' shouldn't be translated in almost all languages.">
|
||||
To switch to the last used input method, press <ph name="BEGIN_SHORTCUT"><kbd></ph><ph name="BEGIN_CTRL"><kbd></ph>Ctrl<ph name="END_CTRL"></kbd></ph><ph name="SEPARATOR">+</ph><ph name="BEGIN_SPACE"><kbd></ph>Space<ph name="END_SPACE"></kbd></ph><ph name="END_SHORTCUT"></kbd></ph>
|
||||
</message>
|
||||
<message name="IDS_OS_SETTINGS_LANGUAGES_SHORTCUT_REMINDER_NEXT_IME_DESCRIPTION" desc="The body of the shortcut reminder for switching to the next input method. Note that 'Ctrl' shouldn't be translated in almost all languages, and 'Shift' shouldn't be translated in most languages.">
|
||||
To switch to the next input method, press <ph name="BEGIN_SHORTCUT"><kbd></ph><ph name="BEGIN_CTRL"><kbd></ph>Ctrl<ph name="END_CTRL"></kbd></ph><ph name="SEPARATOR1">+</ph><ph name="BEGIN_SHIFT"><kbd></ph>Shift<ph name="END_SHIFT"></kbd></ph><ph name="SEPARATOR2">+</ph><ph name="BEGIN_SPACE"><kbd></ph>Space<ph name="END_SPACE"></kbd></ph><ph name="END_SHORTCUT"></kbd></ph>
|
||||
</message>
|
||||
<message name="IDS_OS_SETTINGS_LANGUAGES_OPEN_OPTIONS_PAGE_LABEL" desc="Description read by screenreader for the button to open the settings page for a input method (keyboard layout and input method editor).">
|
||||
Open settings page for <ph name="INPUT_METHOD_NAME">$1<ex>US keyboard</ex></ph>
|
||||
</message>
|
||||
@@ -367,13 +409,22 @@
|
||||
<message name="IDS_OS_SETTINGS_LANGUAGES_SPELL_CHECK_LANGUAGES_LIST_DESCRIPTION" desc="Description for the list of languages that support spell check, from which users can enable or disable spell check for.">
|
||||
Languages for spell check are based on your language preference
|
||||
</message>
|
||||
<message name="IDS_OS_SETTINGS_LANGUAGES_ADD_SPELL_CHECK_LANGUAGES_TITLE" translateable="false" desc="Title for the dialog that allows users to select new languages to add to their list of spell check languages.">
|
||||
<message name="IDS_OS_SETTINGS_LANGUAGES_ADD_SPELL_CHECK_LANGUAGES_TITLE" desc="Title for the dialog that allows users to select new languages to add to their list of spell check languages.">
|
||||
Add spell check languages
|
||||
</message>
|
||||
<message name="IDS_OS_SETTINGS_LANGUAGES_SPELL_CHECK_LANGUAGE_NOT_ALLOWED" translateable="false" desc="Tooltip for policy icon when a spell check language is not allowed.">
|
||||
Your administrator doesn't allow this spell check language
|
||||
<message name="IDS_OS_SETTINGS_LANGUAGES_SEARCH_SPELL_CHECK_LANGUAGES_LABEL" desc="Placeholder in the input field to search spell check languages.">
|
||||
Search languages
|
||||
</message>
|
||||
<message name="IDS_OS_SETTINGS_LANGUAGES_REMOVE_SPELL_CHECK_LANGUAGE_TOOLTIP" translateable="false" desc="Tooltip of the button that lets the user remove a given spell check language.">
|
||||
<message name="IDS_OS_SETTINGS_LANGUAGES_SUGGESTED_SPELL_CHECK_LANGUAGES_LABEL" desc="Title of the list of spell check languages suggested to users.">
|
||||
Suggested
|
||||
</message>
|
||||
<message name="IDS_OS_SETTINGS_LANGUAGES_ALL_SPELL_CHECK_LANGUAGES_LABEL" desc="Title of the list of all spell check languages.">
|
||||
All languages
|
||||
</message>
|
||||
<message name="IDS_OS_SETTINGS_LANGUAGES_SPELL_CHECK_LANGUAGE_NOT_ALLOWED" desc="Tooltip for policy icon when a spell check language is not allowed.">
|
||||
Your administrator doesn't allow this language
|
||||
</message>
|
||||
<message name="IDS_OS_SETTINGS_LANGUAGES_REMOVE_SPELL_CHECK_LANGUAGE_TOOLTIP" desc="Tooltip of the button that lets the user remove a given spell check language.">
|
||||
Remove <ph name="LANGUAGE_NAME">$1<ex>English (United States)</ex></ph>
|
||||
</message>
|
||||
<message name="IDS_OS_SETTINGS_LANGUAGES_DICTIONARY_DOWNLOAD_FAILED" desc="Error message when spell check dictionary download fails.">
|
||||
@@ -406,46 +457,18 @@
|
||||
<message name="IDS_OS_SETTINGS_LANGUAGES_NO_DICTIONARY_WORDS_LABEL" desc="Placeholder that is shown when there are no custom words in the list of saved custom words dictionary.">
|
||||
Saved custom words will appear here
|
||||
</message>
|
||||
<message name="IDS_OS_SETTINGS_LANGUAGES_LIST_TITLE" desc="Title for the list of the user's preferred written languages.">
|
||||
Languages
|
||||
</message>
|
||||
<message name="IDS_SETTINGS_LANGUAGES_LANGUAGES_LIST_ORDERING_INSTRUCTIONS" desc="Explanatory message about ordering the list of languages.">
|
||||
Add languages or reorder list. <ph name="BEGIN_LINK"><a></ph>Learn more<ph name="END_LINK"></a><ex></a></ex></ph>
|
||||
</message>
|
||||
<message name="IDS_SETTINGS_LANGUAGES_INPUT_METHODS_LIST_TITLE" desc="Title for the current input method in the header for the collapsible list of enabled input methods (keyboard layouts and input method editors).">
|
||||
Input method
|
||||
</message>
|
||||
<message name="IDS_SETTINGS_LANGUAGES_INPUT_METHOD_ENABLED" desc="Label underneath the currently active input method in the list of enabled input methods.">
|
||||
Enabled
|
||||
</message>
|
||||
<message name="IDS_SETTINGS_LANGUAGES_INPUT_METHODS_EXPAND_ACCESSIBILITY_LABEL" desc="Label for the button that toggles showing the input options (keyboard and keyboard layouts). Only visible by screen reader software.">
|
||||
Show input options
|
||||
</message>
|
||||
<message name="IDS_SETTINGS_LANGUAGES_INPUT_METHODS_MANAGED_BY_POLICY" desc="Label which is shown on the manage input methods page if input methods are managed by policy.">
|
||||
Your administrator has limited the available input methods.
|
||||
</message>
|
||||
<message name="IDS_SETTINGS_LANGUAGES_INPUT_METHODS_MANAGE" desc="Button under the list of input methods which opens a sub-page that lets the user enable or disable keyboard layouts and input method editors.">
|
||||
Manage input methods
|
||||
</message>
|
||||
<message name="IDS_SETTINGS_LANGUAGES_MANAGE_INPUT_METHODS_TITLE" desc="Name of the settings sub-page which allows enabling and disabling input methods.">
|
||||
Manage input methods
|
||||
</message>
|
||||
<message name="IDS_SETTINGS_LANGUAGES_INPUT_METHOD_OPTIONS_TITLE" translateable="false" desc="Name of the settings sub-page which allows changing input method options.">
|
||||
Input method options
|
||||
</message>
|
||||
<message name="IDS_SETTINGS_LANGUAGES_SHOW_IME_MENU" desc="The label for the toggle button controlling showing the IME menu in the shelf.">
|
||||
Show input options in the shelf
|
||||
</message>
|
||||
<message name="IDS_SETTINGS_LANGUAGES_RESTART_TO_DISPLAY_LANGUAGE" desc="The aria label to be read aloud to describe a button for restarting the device to change the device's UI language.">
|
||||
Restart device to show system text in <ph name="LANGUAGE">$1<ex>English</ex></ph>
|
||||
</message>
|
||||
<message name="IDS_SETTINGS_LANGUAGES_DISPLAY_IN_THIS_LANGUAGE" desc="The label used for a button that changes the UI language.">
|
||||
Show system text in this language
|
||||
</message>
|
||||
<!-- The non-Chrome OS string is in settings_google_chrome_strings.grdp -->
|
||||
<message name="IDS_SETTINGS_LANGUAGES_IS_DISPLAYED_IN_THIS_LANGUAGE" desc="The label for a language that is currently used as the UI display language.">
|
||||
System text is shown in this language
|
||||
</message>
|
||||
|
||||
<!-- Suggestions Section -->
|
||||
<message name="IDS_SETTINGS_SUGGESTIONS_TITLE" desc="The label for the suggestions section, which contains features to help users type faster or more expressively such as suggesting personal information or suggesting emoji to use.">
|
||||
@@ -725,6 +748,17 @@
|
||||
Search and Assistant
|
||||
</message>
|
||||
|
||||
<!-- Search subpage (OS settings) -->
|
||||
<message name="IDS_SETTINGS_SEARCH_SUBPAGE_TITLE" desc="Name of the settings subpage for Search.">
|
||||
Search
|
||||
</message>
|
||||
<message name="IDS_SETTINGS_QUICK_ANSWERS_ENABLE" desc="Title for a toggle that controls the Quick Answers feature.">
|
||||
Quick Answers
|
||||
</message>
|
||||
<message name="IDS_SETTINGS_QUICK_ANSWERS_ENABLE_DESCRIPTION" desc="Sub label for the Quick Answers toggle.">
|
||||
With a right-click or long press, show related info for your text selection
|
||||
</message>
|
||||
|
||||
<!-- Files Page (OS settings) -->
|
||||
<message name="IDS_OS_SETTINGS_FILES" desc="Name of the settings page which displays file preferences.">
|
||||
Files
|
||||
@@ -835,6 +869,9 @@
|
||||
<message name="IDS_SETTINGS_CHROMEVOX_OPTIONS_LABEL" desc="Label for button to open BraveVox options.">
|
||||
Open BraveVox settings
|
||||
</message>
|
||||
<message name="IDS_SETTINGS_CHROMEVOX_TUTORIAL_LABEL" desc="Label for button to open BraveVox tutorial.">
|
||||
Open BraveVox tutorial
|
||||
</message>
|
||||
<message name="IDS_SETTINGS_SCREEN_MAGNIFIER_LABEL" desc="Label for checkbox which enables the fullscreen magnifier">
|
||||
Enable fullscreen magnifier
|
||||
</message>
|
||||
@@ -950,6 +987,15 @@ and Ctrl+Alt+Brightness down to zoom out.
|
||||
<message name="IDS_SETTINGS_ACCESSIBILITY_DICTATION_LABEL" desc="Label for checkbox which enables the ability to speak into text fields">
|
||||
Enable dictation (speak to type)
|
||||
</message>
|
||||
<message name="IDS_SETTINGS_ACCESSIBILITY_DICTATION_SUBTITLE_SODA_DOWNLOAD_COMPLETE" desc="Description explaining that the speech recognition library download has completed.">
|
||||
Speech files downloaded
|
||||
</message>
|
||||
<message name="IDS_SETTINGS_ACCESSIBILITY_DICTATION_SUBTITLE_SODA_DOWNLOAD_PROGRESS" desc="Description explaining the progress for the speech recognition library download.">
|
||||
Downloading speech recognition files... <ph name="PERCENT">$1<ex>17</ex></ph>%
|
||||
</message>
|
||||
<message name="IDS_SETTINGS_ACCESSIBILITY_DICTATION_SUBTITLE_SODA_DOWNLOAD_ERROR" desc="Description explaining that there was an error with the speech recognition library download.">
|
||||
Can't download speech files. Dictation will continue to work by sending your voice to Brave.
|
||||
</message>
|
||||
<message name="IDS_SETTINGS_ON_SCREEN_KEYBOARD_LABEL" desc="Label for checkbox which enables an on-screen keyboard.">
|
||||
Enable on-screen keyboard
|
||||
</message>
|
||||
@@ -1116,6 +1162,24 @@ Press an assigned switch to remove assignment.
|
||||
<message name="IDS_SETTINGS_SWITCH_ACCESS_SETUP_INTRO_BODY" desc="The message displayed on the first page of the Switch Access setup guide, instructing the user to confirm that their external switch is appropriately connected to the chromebook. Switch Access is an alternative input method designed for users with limited mobility, where the user has as little as one switch (for example, a button) to control the computer.">
|
||||
To get started, please make sure your USB or Bluetooth switch is connected to your Bravebook. You can also use keyboard keys.
|
||||
</message>
|
||||
<message name="IDS_SETTINGS_SWITCH_ACCESS_SETUP_CHOOSE_SWITCH_COUNT_TITLE" desc="The title for the page of the Switch Access setup guide where the user selects the number of switches they are going to use. Switch Access is an alternative input method designed for users with limited mobility, where the user has as little as one switch (for example, a button) to control the computer.">
|
||||
Do you want to assign additional switches?
|
||||
</message>
|
||||
<message name="IDS_SETTINGS_SWITCH_ACCESS_SETUP_CHOOSE_1_SWITCH" desc="The label for the option to use only one switch (already assigned), within the Switch Access setup guide. Switch Access is an alternative input method designed for users with limited mobility, where the user has as little as one switch (for example, a button) to control the computer.">
|
||||
I only use one switch
|
||||
</message>
|
||||
<message name="IDS_SETTINGS_SWITCH_ACCESS_SETUP_CHOOSE_2_SWITCHES" desc="The label for the option to use two switches (with one already assigned), within the Switch Access setup guide. Switch Access is an alternative input method designed for users with limited mobility, where the user has as little as one switch (for example, a button) to control the computer.">
|
||||
Assign one more switch
|
||||
</message>
|
||||
<message name="IDS_SETTINGS_SWITCH_ACCESS_SETUP_CHOOSE_2_SWITCHES_DESCRIPTION" desc="The description for the option to use two switches (with one already assigned), within the Switch Access setup guide. It details that the second switch will be 'next' and move focus to the next item onscreen. Switch Access is an alternative input method designed for users with limited mobility, where the user has as little as one switch (for example, a button) to control the computer.">
|
||||
Assign this switch to "Next" to move to the next item on the page
|
||||
</message>
|
||||
<message name="IDS_SETTINGS_SWITCH_ACCESS_SETUP_CHOOSE_3_SWITCHES" desc="The label for the option to use three switches (with one already assigned), within the Switch Access setup guide. Switch Access is an alternative input method designed for users with limited mobility, where the user has as little as one switch (for example, a button) to control the computer.">
|
||||
Assign two more switches
|
||||
</message>
|
||||
<message name="IDS_SETTINGS_SWITCH_ACCESS_SETUP_CHOOSE_3_SWITCHES_DESCRIPTION" desc="The description for the option to use three switches (with one already assigned), within the Switch Access setup guide. It details that the switches will be 'next' and 'previous', and used for navigating the items onscreen. Switch Access is an alternative input method designed for users with limited mobility, where the user has as little as one switch (for example, a button) ton control the computer.">
|
||||
Assign them to "Next" and "Previous" to move between items on the page
|
||||
</message>
|
||||
<message name="IDS_SETTINGS_SWITCH_ACCESS_SETUP_PAIR_BLUETOOTH" desc="A button in the Switch Access setup guide that takes the user to a page where they can pair a bluetooth switch device. Switch Access is an alternative input method designed for users with limited mobility, where the user has as little as one switch (for example, a button) to control the computer.">
|
||||
Pair Bluetooth switch
|
||||
</message>
|
||||
@@ -1396,7 +1460,7 @@ Press an assigned switch to remove assignment.
|
||||
Developers
|
||||
</message>
|
||||
<message name="IDS_SETTINGS_CROSTINI_LABEL" desc="The text associated with the primary section setting. This contains settings for a Linux container running in a virtual machine for use by software developers.">
|
||||
Linux development environment (Beta)
|
||||
Linux development environment
|
||||
</message>
|
||||
<message name="IDS_SETTINGS_CROSTINI_SHARED_PATHS_INSTRUCTIONS_LOCATE" desc="Instructions for how to locate shared folders in Crostini.">
|
||||
Shared folders are available in Linux at <ph name="BASE_DIR">$1<ex>/mnt/chromeos</ex></ph>.
|
||||
@@ -2206,8 +2270,8 @@ Press an assigned switch to remove assignment.
|
||||
<message name="IDS_SETTINGS_INTERNET_DEVICE_INITIALIZING" desc="Settings > Internet > Message when a device (e.g a Cellular modem) is initializing.">
|
||||
Initializing
|
||||
</message>
|
||||
<message name="IDS_SETTINGS_INTERNET_DEVICE_BUSY" desc="Settings > Internet > Message when a device (e.g a Cellular modem) is busy.">
|
||||
Busy
|
||||
<message name="IDS_SETTINGS_INTERNET_DEVICE_BUSY" desc="Settings > Internet > Message when the cellular modem is busy applying updates (e.g., installing an eSIM profile).">
|
||||
Applying changes...
|
||||
</message>
|
||||
<message name="IDS_SETTINGS_INTERNET_JOIN_TYPE" desc="Title for the network configuration dialog for a new network.">
|
||||
Join <ph name="TYPE">$1<ex>WiFi</ex></ph> network
|
||||
@@ -2264,17 +2328,35 @@ Press an assigned switch to remove assignment.
|
||||
Allow mobile data roaming
|
||||
</message>
|
||||
<message name="IDS_SETTINGS_SETTINGS_NETWORK_ALLOW_DATA_ROAMING_ENABLED_HOME" desc="Settings > Internet > Network details: Toggle sublabel when roaming is allowed and it's connected to the home network.">
|
||||
On, not roaming
|
||||
Not currently roaming
|
||||
</message>
|
||||
<message name="IDS_SETTINGS_SETTINGS_NETWORK_ALLOW_DATA_ROAMING_ENABLED_ROAMING" desc="Settings > Internet > Network details: Toggle sublabel when roaming is allowed and it's connected to a roaming network">
|
||||
On, roaming
|
||||
Currently roaming
|
||||
</message>
|
||||
<message name="IDS_SETTINGS_SETTINGS_NETWORK_ALLOW_DATA_ROAMING_DISABLED" desc="Settings > Internet > Network details: Toggle sublabel when roaming is not allowed.">
|
||||
Roaming off
|
||||
Off
|
||||
</message>
|
||||
<message name="IDS_SETTINGS_INTERNET_NETWORK_VPN_PREFERENCES" desc="Settings > Internet > VPN: Title of preferences group.">
|
||||
VPN Preferences
|
||||
</message>
|
||||
<message name="IDS_SETTINGS_INTERNET_NETWORK_ALWAYS_ON_VPN" desc="Settings > Internet > Network details: Label for the checkbox determining that all internet traffic has to go through this VPN (virtual private network), and all other network connections are blocked.">
|
||||
Always connect through this VPN
|
||||
</message>
|
||||
<message name="IDS_SETTINGS_INTERNET_NETWORK_ALWAYS_ON_VPN_ENABLE_LABEL" desc="Settings > Internet > VPN: Toggle label to enable always-on VPN.">
|
||||
Always-on VPN
|
||||
</message>
|
||||
<message name="IDS_SETTINGS_INTERNET_NETWORK_ALWAYS_ON_VPN_ENABLE_SUBLABEL" desc="Settings > Internet > VPN: Toggle sublabel to enable always-on VPN.">
|
||||
Automatically connects when you log in
|
||||
</message>
|
||||
<message name="IDS_SETTINGS_INTERNET_NETWORK_ALWAYS_ON_VPN_LOCKDOWN_LABEL" desc="Settings > Internet > VPN: Label for the toggle that enables always-on VPN lockdown.">
|
||||
Block traffic without VPN
|
||||
</message>
|
||||
<message name="IDS_SETTINGS_INTERNET_NETWORK_ALWAYS_ON_VPN_LOCKDOWN_SUBLABEL" desc="Settings > Internet > VPN: Sublabel for the toggle that enables always-on VPN lockdown.">
|
||||
Brave browser and Android traffic will be blocked unless a VPN is connected
|
||||
</message>
|
||||
<message name="IDS_SETTINGS_INTERNET_NETWORK_ALWAYS_ON_VPN_SERVICE" desc="Settings > Internet > VPN: Label for the dropdown menu determining which VPN client will be automatically started on login.">
|
||||
VPN service
|
||||
</message>
|
||||
<message name="IDS_SETTINGS_INTERNET_NETWORK_AUTO_CONNECT" desc="Settings > Internet > Network details: Label for the checkbox determining whether to automatically connect to the network.">
|
||||
Automatically connect to this network
|
||||
</message>
|
||||
@@ -2288,10 +2370,10 @@ Press an assigned switch to remove assignment.
|
||||
Automatically connect to cellular network
|
||||
</message>
|
||||
<message name="IDS_SETTINGS_INTERNET_NETWORK_MENU_REMOVE" desc="Settings > Internet > Network details > Dot menu: Label for the button to remove an eSIM cellular network">
|
||||
Remove profile
|
||||
Remove Profile
|
||||
</message>
|
||||
<message name="IDS_SETTINGS_INTERNET_NETWORK_MENU_RENAME" desc="Settings > Internet > Network details > Dot menu: Label for the button to rename an eSIM cellular network">
|
||||
Rename
|
||||
Rename Profile
|
||||
</message>
|
||||
<message name="IDS_SETTINGS_INTERNET_NETWORK_INSTALL_ERROR_DIALOG_TITLE" desc="Settings > Network > Mobile data > Download > Install error dialog: Title for the dialog prompting the user to enter the confirmation code required to activate the eSIM profile they are attempting to install">
|
||||
Set up new network
|
||||
@@ -2317,9 +2399,30 @@ Press an assigned switch to remove assignment.
|
||||
<message name="IDS_SETTINGS_INTERNET_NETWORK_RENAME_DIALOG_CANCEL" desc="Settings > Internet > Network details >Rename profile dialog: The Label for the dialog cancel button to rename an eSIM cellular network">
|
||||
Cancel
|
||||
</message>
|
||||
<message name="IDS_SETTINGS_INTERNET_NETWORK_RENAME_INPUT_TITLE" desc="Settings > Internet > Network details >Rename profile dialog: The title for the dialog input that renames an eSIM cellular network.">
|
||||
New profile name
|
||||
</message>
|
||||
<message name="IDS_SETTINGS_INTERNET_NETWORK_RENAME_INPUT_SUBTITLE" desc="Settings > Internet > Network details >Rename profile dialog: The Label for the dialog input that renames an eSIM cellular network, informing the user that letters, numbers and special characters are allowed.">
|
||||
Name can use letters, numbers, and special characters
|
||||
</message>
|
||||
<message name="IDS_SETTINGS_INTERNET_NETWORK_RENAME_INPUT_CHARACTER_COUNT" desc="Settings > Internet > Network details >Rename profile dialog: The Label for the dialog input that renames an eSIM cellular network, informing the user the number of characters they have inputted compared to the maximum number of characters allowed.">
|
||||
<ph name="CURRENT_CHARACTER_COUNT">$1<ex>15</ex></ph>/<ph name="MAX_CHARACTER_COUNT">$2<ex>20</ex></ph>
|
||||
</message>
|
||||
<message name="IDS_SETTINGS_INTERNET_NETWORK_RENAME_DONE_BUTTON_A11Y_LABEL" desc="Settings > Internet > Network details >Rename profile dialog: The accessibility label for done button in the rename profile dialog.">
|
||||
Rename profile to <ph name="PROFILE_NAME">$1<ex>Verizon</ex></ph>
|
||||
</message>
|
||||
<message name="IDS_SETTINGS_INTERNET_NETWORK_RENAME_INPUT_A11Y_LABEL" desc="Settings > Internet > Network details >Rename profile dialog: The a11y label for the dialog input that renames an eSIM cellular network, informing the user that letters, numbers and special characters are allowed, as well as the maximum number of characters permitted.">
|
||||
Name can use letters, numbers, and special characters, and must be <ph name="MAX_CHARACTER_COUNT">$1<ex>20</ex></ph> characters or fewer
|
||||
</message>
|
||||
<message name="IDS_SETTINGS_INTERNET_NETWORK_RENAME_DIALOG_ERROR_TOAST" desc="Settings > Internet > Network details > Rename eSIM cellular profile dialog: Message in toast shown when rename fails">
|
||||
Profile could not be renamed. Please try again or contact your carrier for technical support.
|
||||
</message>
|
||||
<message name="IDS_SETTINGS_INTERNET_NETWORK_REMOVE_PROFILE_DIALOG_TITLE" desc="Settings > Internet > Network details >Remove profile dialog: Title remove esim profile dialog">
|
||||
Remove "<ph name="ESIM_PROFILE_NAME">$1<ex>Profile 1</ex></ph>"?
|
||||
</message>
|
||||
<message name="IDS_SETTINGS_INTERNET_NETWORK_REMOVE_PROFILE_DIALOG_DESCRIPTION" desc="Settings > Internet > Network details >Remove profile dialog: Description for the remove esim profile dialog, warning the user that they may not be to reinstall the profile they are about to remove.">
|
||||
You may not be able to reinstall this profile
|
||||
</message>
|
||||
<message name="IDS_SETTINGS_INTERNET_NETWORK_REMOVE_PROFILE_DIALOG_CANCEL" desc="Settings > Internet > Network details >Remove profile dialog: The Label for the dialog cancel button to remove an eSIM cellular network">
|
||||
Cancel
|
||||
</message>
|
||||
@@ -2329,23 +2432,29 @@ Press an assigned switch to remove assignment.
|
||||
<message name="IDS_SETTINGS_INTERNET_NETWORK_REMOVE_PROFILE_DIALOG_OKAY" desc="Settings > Internet > Network details > Remove eSIM cellular profile dialog: The Label for the dialog okay button">
|
||||
Okay
|
||||
</message>
|
||||
<message name="IDS_SETTINGS_INTERNET_ESIM_DIALOG_CONNECTION_WARNING" desc="Settings > Internet > Network details >Rename profile dialog | Remove profile dialog: The Label for the dialog warning message informing the user they may disconnect from their current cellular network connection if they proceed.">
|
||||
This may cause a brief cellular network disconnection.
|
||||
<message name="IDS_SETTINGS_INTERNET_NETWORK_REMOVE_PROFILE_DIALOG_A11Y_CANCEL" desc="Settings > Internet > Network details > Remove eSIM cellular profile dialog: A11Y label for cancel button.">
|
||||
Cancel removal of eSIM profile named <ph name="PROFILE_NAME">$1<ex>Verizon</ex></ph>
|
||||
</message>
|
||||
<message name="IDS_SETTINGS_INTERNET_NETWORK_CELLULAR_INSTALLING_PROFILE" desc="Settings > Internet > Network details > Cellular banner: Message indicating current cellular network profile is being installed">
|
||||
Installing profile. This may take up to 30 seconds.
|
||||
<message name="IDS_SETTINGS_INTERNET_NETWORK_REMOVE_PROFILE_DIALOG_A11Y_REMOVE" desc="Settings > Internet > Network details > Remove eSIM cellular profile dialog: A11Y label for remove button.">
|
||||
Remove eSIM profile named <ph name="PROFILE_NAME">$1<ex>Verizon</ex></ph>
|
||||
</message>
|
||||
<message name="IDS_SETTINGS_INTERNET_NETWORK_CELLULAR_REMOVING_PROFILE" desc="Settings > Internet > Network details > Cellular banner: Message indicating current cellular network profile is being removed">
|
||||
Removing profile. This may take up to 30 seconds.
|
||||
<message name="IDS_SETTINGS_INTERNET_ESIM_DIALOG_CONNECTION_WARNING" desc="Settings > Internet > Network details > Rename profile dialog | Remove profile dialog: The Label for the dialog warning message informing the user they may disconnect from their current cellular network connection if they proceed.">
|
||||
This may cause your mobile network to briefly disconnect
|
||||
</message>
|
||||
<message name="IDS_SETTINGS_INTERNET_NETWORK_CELLULAR_RENAMING_PROFILE" desc="Settings > Internet > Network details > Cellular banner: Message indicating current cellular network profile is being renamed">
|
||||
Renaming profile. This may take up to 30 seconds.
|
||||
<message name="IDS_SETTINGS_INTERNET_NETWORK_CELLULAR_INSTALLING_PROFILE" desc="Settings > Internet > Mobile data: Message indicating that an eSIM profile is being installed and notifying the user why mobile settings are temporarily disabled.">
|
||||
Adding profile. This may take a few minutes.
|
||||
</message>
|
||||
<message name="IDS_SETTINGS_INTERNET_NETWORK_CELLULAR_CONNECTING_TO_PROFILE" desc="Settings > Internet > Network details > Cellular banner: Message indicating chromeOS device is connecting to selected cellular network profile">
|
||||
Connecting to profile. This may take up to 30 seconds.
|
||||
<message name="IDS_SETTINGS_INTERNET_NETWORK_CELLULAR_REMOVING_PROFILE" desc="Settings > Internet > Mobile data: Message indicating that an eSIM profile is being uninstalled and notifying the user why mobile settings are temporarily disabled.">
|
||||
Removing profile. This may take a few minutes.
|
||||
</message>
|
||||
<message name="IDS_SETTINGS_INTERNET_NETWORK_CELLULAR_REFRESHING_PROFILE_LIST" desc="Settings > Internet > Network details > Cellular banner: Message indicating current cellular network profile list is being refreshed.">
|
||||
Refreshing profile list. This may take up to 30 seconds.
|
||||
<message name="IDS_SETTINGS_INTERNET_NETWORK_CELLULAR_RENAMING_PROFILE" desc="Settings > Internet > Mobile data: Message indicating that an eSIM profile is being renamed and notifying the user why mobile settings are temporarily disabled.">
|
||||
Renaming profile. This may take a few minutes.
|
||||
</message>
|
||||
<message name="IDS_SETTINGS_INTERNET_NETWORK_CELLULAR_CONNECTING_TO_PROFILE" desc="Settings > Internet > Mobile data: Message indicating that an eSIM profile connection is currently in progress and notifying the user why mobile settings are temporarily disabled.">
|
||||
Connecting to profile. This may take a few minutes.
|
||||
</message>
|
||||
<message name="IDS_SETTINGS_INTERNET_NETWORK_CELLULAR_REFRESHING_PROFILE_LIST" desc="Settings > Internet > Mobile data: Message indicating that the list of eSIM profiles is being refreshed and notifying the user why mobile settings are temporarily disabled.">
|
||||
Refreshing profile list. This may take a few minutes.
|
||||
</message>
|
||||
<message name="IDS_SETTINGS_INTERNET_NETWORK_REMOVE_PROFILE_DIALOG_ERROR_MESSAGE" desc="Settings > Internet > Network details > Remove eSIM cellular profile dialog: Error message shown when remove fails">
|
||||
Profile could not be removed. Please try again or contact your carrier for technical support.
|
||||
@@ -2408,13 +2517,13 @@ Press an assigned switch to remove assignment.
|
||||
Show proxy settings
|
||||
</message>
|
||||
<message name="IDS_SETTINGS_INTERNET_NETWORK_SHARED" desc="Settings > Internet > Network details: Text to show when a network is shared.">
|
||||
Other users of this device can use this network.
|
||||
Other users of this device can use this network
|
||||
</message>
|
||||
<message name="IDS_SETTINGS_INTERNET_NETWORK_SHARED_OWNER" desc="Settings > Internet > Network details: Text to show when a network is shared and was configured by the current user.">
|
||||
You are sharing this network with other users of this device.
|
||||
You are sharing this network with other users of this device
|
||||
</message>
|
||||
<message name="IDS_SETTINGS_INTERNET_NETWORK_SHARED_NOT_OWNER" desc="Settings > Internet > Network details: Text to show when a network is shared with you (by another user or configured before login).">
|
||||
This network is shared with you.
|
||||
This network is shared with you
|
||||
</message>
|
||||
<message name="IDS_SETTINGS_INTERNET_NETWORK_NOT_SYNCED" desc="Settings > Internet > Network details: Text to show when a network is not synced to the user's account.">
|
||||
This network is not synced to your account. <ph name="LINK_BEGIN"><a target="_blank" rel="noopener noreferrer" href="$1<ex>https://google.com/</ex>"></ph>Learn more<ph name="LINK_END"></a></ph>
|
||||
@@ -2504,19 +2613,25 @@ Press an assigned switch to remove assignment.
|
||||
Instant Tethering
|
||||
</message>
|
||||
<message name="IDS_SETTINGS_INTERNET_ESIM_NOT_SETUP_WITH_SETUP_LINK" desc="Text shown when viewing the Mobile data page and no eSIM profile is available">
|
||||
No available eSIM profiles. Download a new profile <ph name="BEGIN_LINK"><a href="#" id="cellularEsimLink"></ph>here.<ph name="END_LINK"></a></ph>
|
||||
No available eSIM profiles. Download a new <ph name="BEGIN_LINK"><a href="#" id="cellularEsimLink"></ph>profile.<ph name="END_LINK"></a></ph>
|
||||
</message>
|
||||
<message name="IDS_SETTINGS_INTERNET_PSIM_NOT_INSERTED_LABEL" desc="Text shown when viewing the Mobile data page and no physical SIM card is inserted">
|
||||
No SIM card inserted
|
||||
</message>
|
||||
<message name="IDS_SETTINGS_INTERNET_TETHER_NOT_SETUP_WITH_LEARN_MORE_LINK" desc="Text shown when viewing the Mobile data page and no instant tether network is available">
|
||||
No device detected <ph name="BEGIN_LINK"><a target="_blank" rel="noopener noreferrer" href="$1"></ph>Learn more<ph name="END_LINK"></a></ph>
|
||||
No device detected. <ph name="BEGIN_LINK"><a target="_blank" rel="noopener noreferrer" href="$1"></ph>Learn more<ph name="END_LINK"></a></ph>
|
||||
</message>
|
||||
<message name="IDS_SETTINGS_INTERNET_SHOW_EID_POPUP_BUTTON_LABEL" desc="A11y and tooltop label for EID and QR code popup show button when viewing cellular network list">
|
||||
Show device EID and QR code popup
|
||||
</message>
|
||||
<message name="IDS_SETTINGS_INTERNET_ESIM_NO_CONNECTION_ERROR_TOAST" desc="Message in toast displayed when user tries to perform an eSIM operation when not connected to a non-cellular network.">
|
||||
Establish an internet connection first
|
||||
Connect to Wi-Fi or Ethernet to set up eSIM
|
||||
</message>
|
||||
<message name="IDS_SETTINGS_INTERNET_ESIM_MOBILE_DATA_NOT_ENABLED_ERROR_TOAST" desc="Message in toast displayed when user tries to set up an eSIM profile when mobile data is not enabled.">
|
||||
Enable mobile data to install an eSIM profile
|
||||
</message>
|
||||
<message name="IDS_SETTINGS_INTERNET_ESIM_PROFILE_LIMIT_REACHED_ERROR_TOAST" desc="Message in toast displayed when user tries to set up an eSIM profile when they have reached the maximum number of allowed eSIM profiles installed.">
|
||||
You can install up to <ph name="PROFILE_LIMIT">$1<ex>5</ex></ph> eSIM profiles on this device. To add another profile, first remove an existing profile.
|
||||
</message>
|
||||
|
||||
<!-- Users Page (OS Settings) -->
|
||||
@@ -3019,12 +3134,30 @@ Press an assigned switch to remove assignment.
|
||||
<message name="IDS_SETTINGS_FACTORY_RESET_WARNING" desc="Warning text in the 'Factory Reset' window">
|
||||
A restart is required before your device can be reset with Powerwash. <ph name="LINK_BEGIN"><a></ph>Learn more<ph name="LINK_END"></a></ph>
|
||||
</message>
|
||||
<message name="IDS_SETTINGS_FACTORY_RESET_ESIM_WARNING_TITLE" desc="Name of the 'Factory reset' window">
|
||||
Remove eSIM profiles before Powerwash
|
||||
</message>
|
||||
<message name="IDS_SETTINGS_FACTORY_RESET_ESIM_WARNING" desc="Warning text in the 'Factory Reset' window informing the user that the eSIM profiles they have installed won't be removed by a factory reset. Contains a url to the mobile data subpage.">
|
||||
Powerwashing your device won't remove your eSIM profiles. Go to <ph name="LINK_BEGIN"><a href="#"></ph>Mobile Settings<ph name="LINK_END"></a></ph> to manually remove these profiles.
|
||||
</message>
|
||||
<message name="IDS_SETTINGS_FACTORY_RESET_ESIM_LIST_TITLE" desc="Title for the list showing installed eSIM profiles in the 'Factory Reset' window.">
|
||||
Active profiles
|
||||
</message>
|
||||
<message name="IDS_SETTINGS_FACTORY_RESET_ESIM_LIST_ITEM_TITLE" desc="Label for an eSIM profile shown in the 'Factory Reset' window displaying its name and provider.">
|
||||
<ph name="NETWORK_NAME">$1<ex>My Verizon eSIM</ex></ph> - <ph name="SPAN_START"><span id="providerName"></ph><ph name="CARRIER_NAME">$2<ex>Verizon Wireless</ex></ph><ph name="SPAN_END"></span></ph>
|
||||
</message>
|
||||
<message name="IDS_SETTINGS_FACTORY_RESET_ESIM_WARNING_CHECKBOX_LABEL" desc="Label for checkbox in the 'Factory Reset' window that confirms that the user is aware that the eSIM profiles they have installed won't be removed by a factory reset.">
|
||||
I understand that installed eSIM profiles will not be removed by Powerwash
|
||||
</message>
|
||||
<message name="IDS_SETTINGS_FACTORY_RESET_BUTTON_LABEL" desc="Label for the factory reset button.">
|
||||
Reset
|
||||
</message>
|
||||
<message name="IDS_SETTINGS_FACTORY_RESET_BUTTON_ROLE" desc="A label to be read aloud by screen readers when the Reset button is focused. This button initiates the device factory reset flow.">
|
||||
Reset Button
|
||||
</message>
|
||||
<message name="IDS_SETTINGS_FACTORY_CONTINUE_BUTTON_LABEL" desc="Label for the button that navigates from the eSIM warning to the 'Factory Reset' UI.">
|
||||
Continue
|
||||
</message>
|
||||
|
||||
<!-- Brave Assistant Page (OS Settings)-->
|
||||
<message name="IDS_SETTINGS_GOOGLE_ASSISTANT" desc="Name of the settings page for Brave Assistant.">
|
||||
@@ -3586,7 +3719,7 @@ Press an assigned switch to remove assignment.
|
||||
Disabling can make your peripherals perform better, but may expose your personal data through unauthorized usage.
|
||||
</message>
|
||||
<message name="IDS_OS_SETTINGS_DISABLE_DATA_ACCESS_PROTECTION_CONFIRM_DIALOG_SUB_DESCRIPTION" desc="The description of the dialog that states that disabling peripheral data acces protection may reset the user's peripherals and may take a few seconds.">
|
||||
Your displays and peripherals may reset briefly. This may take a few seconds to take effect.
|
||||
Your displays and peripherals may reset briefly. For this change to take effect, unplug and replug your peripherals.
|
||||
</message>
|
||||
<message name="IDS_OS_SETTINGS_DATA_ACCESS_PROTECTION_CONFIRM_DIALOG_CANCEL_BUTTON_LABEL" desc="The label of the cancel button for the data access protection confirmation dialog">
|
||||
Cancel
|
||||
|
||||
@@ -51,6 +51,12 @@
|
||||
<message name="IDS_PRINT_PREVIEW_OPTION_ALL_PAGES" desc="Option to print all pages.">
|
||||
All
|
||||
</message>
|
||||
<message name="IDS_PRINT_PREVIEW_OPTION_ODD_PAGES" desc="Option to print odd numbered pages only.">
|
||||
Odd pages only
|
||||
</message>
|
||||
<message name="IDS_PRINT_PREVIEW_OPTION_EVEN_PAGES" desc="Option to print even numbered pages only.">
|
||||
Even pages only
|
||||
</message>
|
||||
<message name="IDS_PRINT_PREVIEW_OPTION_CUSTOM_PAGES" desc="Option to print custom pages.">
|
||||
Custom
|
||||
</message>
|
||||
@@ -286,7 +292,7 @@
|
||||
<message name="IDS_PRINT_PREVIEW_MANAGED_SETTINGS_TEXT" desc="Text shown when hovering over the enterprise managed icon in the header">
|
||||
These settings are enforced by your administrator
|
||||
</message>
|
||||
<if expr="chromeos">
|
||||
<if expr="chromeos or lacros">
|
||||
<message name="IDS_PRINT_PREVIEW_PRINT_TO_GOOGLE_DRIVE" desc="Option shown on printer drop-down list for saving previewed document to Google Drive.">
|
||||
Save to Google Drive
|
||||
</message>
|
||||
@@ -359,7 +365,7 @@
|
||||
other {Exceeds limit of {COUNT} sheets of paper}}
|
||||
</message>
|
||||
</if>
|
||||
<if expr="not chromeos">
|
||||
<if expr="not chromeos and not lacros">
|
||||
<message name="IDS_PRINT_PREVIEW_SYSTEM_DIALOG_OPTION" desc="Option allowing the user to access advanced printer settings using the native print system dialog instead of printing through the print preview mechanism. Shortcut key is not translated">
|
||||
Print using system dialog... <ph name="SHORTCUT_KEY">$1<ex>(Shift+Ctrl+P)</ex></ph>
|
||||
</message>
|
||||
|
||||
@@ -9,9 +9,6 @@
|
||||
<message name="IDS_CHILD_INFO_TWO_CUSTODIANS" desc="Text which explains that a child user is managed by two parents.">
|
||||
This is an account for kids managed by <ph name="CUSTODIAN_EMAIL">$1<ex>John.Doe@gmail.com</ex></ph> and <ph name="SECOND_CUSTODIAN_EMAIL">$2<ex>Jane.Doe@gmail.com</ex></ph>.
|
||||
</message>
|
||||
<message name="IDS_GENERIC_USER_AVATAR_LABEL" desc="Label shown for the user that is currently active, when there are multiple user accounts.">
|
||||
Current user
|
||||
</message>
|
||||
<message name="IDS_AVATAR_BUTTON_GUEST" desc="Short label for the avatar button when the user is in guest mode and the number of open guest windows if there are more than one guest window open. [ICU Syntax]" meaning="This window is browsing in guest mode and there are more than one guest windows open. The counter is not shown when there is only one guest window open.">
|
||||
{0, plural,
|
||||
=1 {Guest}
|
||||
@@ -27,20 +24,20 @@
|
||||
other {# open guest windows}
|
||||
}
|
||||
</message>
|
||||
<message name="IDS_INCOGNITO_BUBBLE_ACCESSIBLE_TITLE" desc="Accessible title of the avatar menu, opened in private mode. The message also shows the number of open private windows if they are more than one. [ICU Syntax]">
|
||||
<message name="IDS_INCOGNITO_BUBBLE_ACCESSIBLE_TITLE" desc="Accessible title of the avatar menu, opened in Private mode. The message also shows the number of open Private windows if they are more than one. [ICU Syntax]">
|
||||
{0, plural,
|
||||
=1 {Private}
|
||||
other {# open private windows}
|
||||
other {# open Private windows}
|
||||
}
|
||||
</message>
|
||||
<message name="IDS_AVATAR_BUTTON_INCOGNITO" desc="Short label for the avatar button when the user is in private mode and the number of open private windows if there are more than one private window open. [ICU Syntax]" meaning="This window is browsing in incognito mode and there are more than one incognito windows open. The counter is not shown when there is only one incognito window open.">
|
||||
<message name="IDS_AVATAR_BUTTON_INCOGNITO" desc="Short label for the avatar button when the user is in Private mode and the number of open Private windows if there are more than one Private window open. [ICU Syntax]" meaning="This window is browsing in Incognito mode and there are more than one Incognito windows open. The counter is not shown when there is only one Incognito window open.">
|
||||
{0, plural,
|
||||
=1 {Private}
|
||||
other {Private (#)}
|
||||
}
|
||||
</message>
|
||||
<message name="IDS_AVATAR_BUTTON_INCOGNITO_TOOLTIP" desc="Tooltip for the avatar button when the user is in private mode.">
|
||||
This is a private window
|
||||
<message name="IDS_AVATAR_BUTTON_INCOGNITO_TOOLTIP" desc="Tooltip for the avatar button when the user is in Private mode.">
|
||||
You're Private
|
||||
</message>
|
||||
<message name="IDS_AVATAR_BUTTON_SYNC_ERROR" desc="Short label for the avatar button when there are sync errors for the current profile." meaning="An error has occurred during sync">
|
||||
Error
|
||||
@@ -621,7 +618,7 @@
|
||||
<message name="IDS_PROFILE_PICKER_PROFILE_MENU_CUSTOMIZE_TEXT" desc="Text of the customize button in profile card menu">
|
||||
Edit
|
||||
</message>
|
||||
<message name="IDS_PROFILE_PICKER_PROFILE_MENU_INCOGNITO_TEXT" desc="Text of the private button in profile card menu">
|
||||
<message name="IDS_PROFILE_PICKER_PROFILE_MENU_INCOGNITO_TEXT" desc="Text of the Private button in profile card menu">
|
||||
Private
|
||||
</message>
|
||||
<message name="IDS_PROFILE_PICKER_ASK_ON_STARTUP" desc="Text for the checkbox on the profile picker main view">
|
||||
|
||||
@@ -1,20 +1,20 @@
|
||||
<?xml version='1.0' encoding='UTF-8'?>
|
||||
<!-- Profiles specific strings (included from generated_resources.grd). -->
|
||||
<grit-part>
|
||||
<message name="IDS_INCOGNITO_BUBBLE_ACCESSIBLE_TITLE" desc="Accessible title of the avatar menu, opened in private mode. The message also shows the number of open private windows if they are more than one. [ICU Syntax]">
|
||||
<message name="IDS_INCOGNITO_BUBBLE_ACCESSIBLE_TITLE" desc="Accessible title of the avatar menu, opened in Private mode. The message also shows the number of open Private windows if they are more than one. [ICU Syntax]">
|
||||
{0, plural,
|
||||
=1 {Private}
|
||||
other {# open private windows}
|
||||
other {# open Private windows}
|
||||
}
|
||||
</message>
|
||||
<message name="IDS_AVATAR_BUTTON_INCOGNITO" desc="Short label for the avatar button when the user is in private mode and the number of open private windows if there are more than one private window open. [ICU Syntax]" meaning="This window is browsing in incognito mode and there are more than one incognito windows open. The counter is not shown when there is only one incognito window open.">
|
||||
<message name="IDS_AVATAR_BUTTON_INCOGNITO" desc="Short label for the avatar button when the user is in Private mode and the number of open Private windows if there are more than one Private window open. [ICU Syntax]" meaning="This window is browsing in Incognito mode and there are more than one Incognito windows open. The counter is not shown when there is only one Incognito window open.">
|
||||
{0, plural,
|
||||
=1 {Private}
|
||||
other {Private (#)}
|
||||
}
|
||||
</message>
|
||||
<message name="IDS_AVATAR_BUTTON_INCOGNITO_TOOLTIP" desc="Tooltip for the avatar button when the user is in private mode.">
|
||||
This is a private window
|
||||
<message name="IDS_AVATAR_BUTTON_INCOGNITO_TOOLTIP" desc="Tooltip for the avatar button when the user is in Private mode.">
|
||||
You're Private
|
||||
</message>
|
||||
<message name="IDS_PROFILES_OPTIONS_GROUP_NAME" desc="The name of the sync group in the options dialog when using the new Profiles UI.">
|
||||
Profiles
|
||||
@@ -73,7 +73,7 @@
|
||||
</if>
|
||||
|
||||
<if expr="not chromeos and not is_android">
|
||||
<message name="IDS_PROFILE_PICKER_PROFILE_MENU_INCOGNITO_TEXT" desc="Text of the private button in profile card menu">
|
||||
<message name="IDS_PROFILE_PICKER_PROFILE_MENU_INCOGNITO_TEXT" desc="Text of the Private button in profile card menu">
|
||||
Private
|
||||
</message>
|
||||
</if>
|
||||
|
||||
@@ -0,0 +1,17 @@
|
||||
<?xml version='1.0' encoding='UTF-8'?>
|
||||
<!-- Protocol-Handler-Intent-Picker strings (included from generated_resources.grd). -->
|
||||
<!--This file is created by l10nUtil.js. Do not edit manually.-->
|
||||
<grit-part>
|
||||
<message name="IDS_PROTOCOL_HANDLER_INTENT_PICKER_SINGLE_TITLE" desc="Title for the protocol handler intent picker when there is one web app choice">
|
||||
Do you want to use this application?
|
||||
</message>
|
||||
<message name="IDS_PROTOCOL_HANDLER_INTENT_PICKER_SINGLE_OK_BUTTON_TEXT" desc="Label for the button in the protocol handler intent picker dialog that dismisses the dialog and launches an application when there is one web app choice">
|
||||
Allow
|
||||
</message>
|
||||
<message name="IDS_PROTOCOL_HANDLER_INTENT_PICKER_SINGLE_CANCEL_BUTTON_TEXT" desc="Label for the button in the protocol handler intent picker dialog that dismisses the dialog and does not launch an application when there is one web app choice">
|
||||
Cancel
|
||||
</message>
|
||||
<message name="IDS_PROTOCOL_HANDLER_INTENT_PICKER_APP_ORIGIN_LABEL" desc="Label for the url origin of each item in the web app list in the protocol handler intent picker dialog">
|
||||
Publisher: <ph name="APP_ORIGIN">$1<ex>google.com</ex></ph>
|
||||
</message>
|
||||
</grit-part>
|
||||
@@ -38,11 +38,6 @@
|
||||
</message>
|
||||
</if>
|
||||
|
||||
<!-- Cookie Settings Page -->
|
||||
<message name="IDS_SETTINGS_SITE_SETTINGS_DELETE_DATA_POST_SESSION" desc="Label for the checkbox that allows the user to automatically delete their cookies and site data at the end of the browser session.">
|
||||
Clear cookies and site data when you quit Brave
|
||||
</message>
|
||||
|
||||
<!-- Autofill Page -->
|
||||
<message name="IDS_SETTINGS_GOOGLE_PAYMENTS_CACHED" desc="Label that will be used to show that a credit card comes from Brave Pay and is saved locally. This should follow the casing of the 'Brave Pay' and 'Brave' brands. 'Copied to Brave' is short for 'The credit card is copied to Brave'. 'Brave Pay' should not be translated as it is the product name.">
|
||||
Brave Pay (copied to Brave)
|
||||
@@ -143,9 +138,6 @@
|
||||
<message name="IDS_SETTINGS_SAFETY_CHECK_SAFE_BROWSING_DISABLED" desc="This text points out that Safe Browsing is disabled and that the user is not protected.">
|
||||
Safe Browsing is off. Brave recommends turning it on.
|
||||
</message>
|
||||
<message name="IDS_SETTINGS_SAFETY_CHECK_EXTENSIONS_ERROR" desc="This text describes that safety check could not check extensions for an unkown reason.">
|
||||
Brave can't check your extensions. Try again later.
|
||||
</message>
|
||||
|
||||
<!-- Profiles Page -->
|
||||
<message name="IDS_SETTINGS_SYNC_DISCONNECT_DELETE_PROFILE_WARNING_WITH_COUNTS_SINGULAR" desc="Warning message displayed in the Sign out of Brave dialog that indicates profile browsing data will be removed from the device.">
|
||||
@@ -189,8 +181,7 @@
|
||||
</message>
|
||||
|
||||
<!-- Languages Page -->
|
||||
<!-- Chrome OS string is in settings_strings.grdp. -->
|
||||
<if expr="not chromeos">
|
||||
<if expr="is_win">
|
||||
<message name="IDS_SETTINGS_LANGUAGES_IS_DISPLAYED_IN_THIS_LANGUAGE" desc="The label for a language that is currently used as the UI display language.">
|
||||
This language is used to display the Brave UI
|
||||
</message>
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
<if expr="chromeos">
|
||||
</if>
|
||||
|
||||
<if expr="not chromeos">
|
||||
<if expr="is_win">
|
||||
</if>
|
||||
|
||||
<if expr="not chromeos">
|
||||
|
||||
@@ -689,6 +689,14 @@
|
||||
<message name="IDS_SETTINGS_PASSWORD_ROW_FEDERATED_MORE_ACTIONS" desc="The ARIA (accessibility) message for the More Actions button, which sits in every row of the password list. For this row does not include a password, only information of the account. It opens a menu with a list of actions, which apply to the account presented on this row.">
|
||||
More actions, saved account for <ph name="USERNAME">$1<ex>example@gmail.com</ex></ph> on <ph name="DOMAIN">$2<ex>www.google.com</ex></ph>
|
||||
</message>
|
||||
<!-- TODO(crbug.com/1202088): Remove "translateable=false" once definitive string is available, and update description. -->
|
||||
<message translateable="false" name="IDS_SETTINGS_TRUSTED_VAULT_OPT_IN_LABEL" desc="Label for the link to the page to opt in to trusted vault encryption">
|
||||
Trusted vault
|
||||
</message>
|
||||
<!-- TODO(crbug.com/1202088): Remove "translateable=false" once definitive string is available, and update description. -->
|
||||
<message translateable="false" name="IDS_SETTINGS_TRUSTED_VAULT_OPT_IN_SUB_LABEL" desc="Sub-label for the link to the page to opt in to trusted vault encryption">
|
||||
Opt in to trusted vault
|
||||
</message>
|
||||
|
||||
|
||||
<!-- Default Browser Page -->
|
||||
@@ -957,14 +965,20 @@
|
||||
Signs you out of most sites. You'll stay signed in to your Brave sync chain so your synced data can be cleared.
|
||||
</message>
|
||||
<message name="IDS_SETTINGS_CLEAR_BROWSING_HISTORY_SUMMARY" desc="A subtext for the basic tab explaining browsing history.">
|
||||
Clears history and autocompletions in the address bar.
|
||||
Clears history and autocompletions in the search box
|
||||
</message>
|
||||
<message name="IDS_SETTINGS_CLEAR_BROWSING_HISTORY_SUMMARY_SIGNED_IN" desc="A description explaining other forms of activity for signed in users.">
|
||||
Clears history and autocompletions in the address bar. Your Brave sync chain may have other forms of browsing history at <ph name="BEGIN_LINK"><a target='_blank' href='$1'></ph>myactivity.google.com<ph name="END_LINK"></a><ex></a></ex></ph>.
|
||||
Clears history and autocompletions in the search box. Your Brave sync chain may have other forms of browsing history at <ph name="BEGIN_LINK"><a target='_blank' href='$1'></ph>myactivity.google.com<ph name="END_LINK"></a><ex></a></ex></ph>.
|
||||
</message>
|
||||
<message name="IDS_SETTINGS_CLEAR_BROWSING_HISTORY_SUMMARY_SIGNED_IN_NO_LINK" desc="A description explaining from which devices history will be cleared.">
|
||||
Clears history from all synced devices
|
||||
</message>
|
||||
<message name="IDS_SETTINGS_CLEAR_BROWSING_HISTORY_SUMMARY_SYNCED" desc="A description for the basic tab explaining browsing history for users with history sync.">
|
||||
Clears history from all signed-in devices. Your Brave sync chain may have other forms of browsing history at <ph name="BEGIN_LINK"><a target='_blank' href='$1'></ph>myactivity.google.com<ph name="END_LINK"></a><ex></a></ex></ph>.
|
||||
</message>
|
||||
<message name="IDS_SETTINGS_CLEAR_SEARCH_BROWSING_HISTORY_SUMMARY_SIGNED_IN" desc="A description explaining that search history can be cleared through the Brave account.">
|
||||
To clear <ph name="BEGIN_LINK_SEARCH"><a target="_blank" rel="noopener noreferrer" href="$1"></ph>search<ph name="END_LINK_SEARCH"></a></ph> or other forms of history, visit <ph name="BEGIN_LINK_GOOGLE"><a target="_blank" rel="noopener noreferrer" href="$2"></ph>My Brave sync chain<ph name="END_LINK_GOOGLE"></a></ph>
|
||||
</message>
|
||||
<message name="IDS_SETTINGS_CLEAR_DOWNLOAD_HISTORY" desc="Checkbox for deleting Download History">
|
||||
Download history
|
||||
</message>
|
||||
@@ -1133,6 +1147,15 @@
|
||||
<message name="IDS_SETTINGS_LANGUAGES_ENABLED_LANGUAGES" desc="Header for the list of enabled languages, which the user can use to disable languages, on the Manage Languages page.">
|
||||
Enabled languages
|
||||
</message>
|
||||
<message name="IDS_SETTINGS_LANGUAGES_NO_LANGUAGES_ADDED" desc="Placeholder for language list settings when no languages have been added, on the Manage Languages page.">
|
||||
No languages added
|
||||
</message>
|
||||
<message name="IDS_SETTINGS_LANGUAGES_AUTOMATIC_TRANSLATE" desc="Title of Translation settings that lists languages that should be automatically translated.">
|
||||
Automatically translate these languages
|
||||
</message>
|
||||
<message name="IDS_SETTINGS_LANGUAGES_NEVER_LANGUAGES" desc="Title of Translation settings that lists languages that should never be offered to translate.">
|
||||
Don’t offer to translate these languages
|
||||
</message>
|
||||
<message name="IDS_SETTINGS_LANGUAGES_SPELL_CHECK_TITLE" desc="Title for the section containing all the options for spell check settings. The options include picking between using the system's spell check or using Brave's web service and a list of the enabled languages which support spell checking.">
|
||||
Spell check
|
||||
</message>
|
||||
@@ -1217,6 +1240,12 @@
|
||||
<message name="IDS_SETTINGS_PRIVACY_SANDBOX_PAGE_EXPLANATION4" desc="Part 4 of the explanation of the Privacy Sandbox, shown on the Privacy Sandbox Page. The 'Learn more' link navigates the user to a page with more details.">
|
||||
Privacy Sandbox is still in active development and is available in selected regions. For now, sites may try out Privacy Sandbox while continuing to use current web technologies like third-party cookies. <ph name="BEGIN_LINK"><a href="$1" target="_blank" rel="noopener noreferrer"></ph>Learn more<ph name="END_LINK"></a></ph>
|
||||
</message>
|
||||
<message name="IDS_SETTINGS_PRIVACY_SANDBOX_PAGE_EXPLANATION1_PHASE2" desc="Part 1 of the phase 2 explanation of the Privacy Sandbox, shown on the Privacy Sandbox Page. The 'Privacy Sandbox' link navigates the user to a page with more details.">
|
||||
With <ph name="BEGIN_LINK"><a href="$1" target="_blank" rel="noopener noreferrer"></ph>Privacy Sandbox<ph name="END_LINK"></a></ph>, Brave is developing new technologies to safeguard you from cross-site tracking while preserving the open web.
|
||||
</message>
|
||||
<message name="IDS_SETTINGS_PRIVACY_SANDBOX_PAGE_EXPLANATION2_PHASE2" desc="Part 2 of the phase 2 explanation of the Privacy Sandbox, shown on the Privacy Sandbox Page. The 'Privacy Sandbox' link navigates the user to a page with more details.">
|
||||
Privacy Sandbox trials are still in active development and are available in selected regions. For now, sites may try out Privacy Sandbox while continuing to use current web technologies like third-party cookies.
|
||||
</message>
|
||||
<message name="IDS_SETTINGS_PRIVACY_SANDBOX_PAGE_SETTING_TITLE" desc="Title of the description of the setting to enable or disable the Privacy Sandbox.">
|
||||
Privacy Sandbox trials
|
||||
</message>
|
||||
@@ -1229,6 +1258,15 @@
|
||||
<message name="IDS_SETTINGS_PRIVACY_SANDBOX_PAGE_SETTING_EXPLANATION3" desc="Part 3 of the explanation of the setting to enable or disable the Privacy Sandbox.">
|
||||
Advertisers can study the effectiveness of ads in a way that does not track you across sites.
|
||||
</message>
|
||||
<message name="IDS_SETTINGS_PRIVACY_SANDBOX_PAGE_SETTING_EXPLANATION1_PHASE2" desc="Part 1 of the phase 2 explanation of the setting to enable or disable the Privacy Sandbox.">
|
||||
When on, sites may use the privacy-preserving techniques shown here to provide their content and services. These include alternatives to cross-site tracking. More trials may be added over time.
|
||||
</message>
|
||||
<message name="IDS_SETTINGS_PRIVACY_SANDBOX_PAGE_SETTING_EXPLANATION2_PHASE2" desc="Part 2 of the phase 2 explanation of the setting to enable or disable the Privacy Sandbox.">
|
||||
Advertisers and publishers can use FLoC, described later on this page.
|
||||
</message>
|
||||
<message name="IDS_SETTINGS_PRIVACY_SANDBOX_PAGE_SETTING_EXPLANATION3_PHASE2" desc="Part 2 of the phase 2 explanation of the setting to enable or disable the Privacy Sandbox.">
|
||||
Advertisers and publishers can study the effectiveness of ads in a way that does not track you across sites.
|
||||
</message>
|
||||
<message name="IDS_SETTINGS_PRIVACY_SANDBOX_PAGE_DETAILS" desc="Label of a button in the Privacy Sandbox page that leads the user to more details about the Privacy Sandbox.">
|
||||
Details
|
||||
</message>
|
||||
@@ -1238,6 +1276,28 @@
|
||||
<message name="IDS_SETTINGS_PRIVACY_SANDBOX_TRIALS_DISABLED" desc="A short description that informs the user that the Privacy Sandbox trial features are disabled.">
|
||||
Trial features are off
|
||||
</message>
|
||||
<message name="IDS_SETTINGS_PRIVACY_SANDBOX_PAGE_FLOC_HEADING" desc="The heading of the card which displays the user's Federated Learning of Cohorts (FLoC) settings">
|
||||
FLoC
|
||||
</message>
|
||||
<message name="IDS_SETTINGS_PRIVACY_SANDBOX_PAGE_FLOC_EXPLANATION" desc="Explanation of Federated Learning of Cohorts (FLoC) which appears at the top of the FLoC settings card. The some regions link goes to a site indicating where FLoC is currently available">
|
||||
When on and the status is active, Brave uses your browsing history over 7 days to determine a group, or “cohort”, that you’re in. Advertisers can select ads for the group. Your browsing history is kept private on your device. This trial is active only in
|
||||
<ph name="BEGIN_LINK"><a href="$1" target="_blank" rel="noopener noreferrer"></ph>some regions<ph name="END_LINK"></a></ph>.
|
||||
</message>
|
||||
<message name="IDS_SETTINGS_PRIVACY_SANDBOX_FLOC_TRIAL_ACTIVE" desc="Sentence indicating that FLoC is only available in some regions, including a link to a page that describes exactly what regions it is available. This will only every appear directly after another sentence.">
|
||||
This trial is active only in <ph name="BEGIN_LINK"><a target="_blank" rel="noopener noreferrer" href="$1"></ph>some regions<ph name="END_LINK"></a></ph>.
|
||||
</message>
|
||||
<message name="IDS_SETTINGS_PRIVACY_SANDBOX_PAGE_FLOC_STATUS" desc="The text used to label the user's current Federated Learning of Cohorts (FLoC) trial status">
|
||||
Status
|
||||
</message>
|
||||
<message name="IDS_SETTINGS_PRIVACY_SANDBOX_PAGE_FLOC_COHORT" desc="The text used to label the user's current Federated Learning of Cohorts (FLoC) cohort">
|
||||
Group number
|
||||
</message>
|
||||
<message name="IDS_SETTINGS_PRIVACY_SANDBOX_PAGE_FLOC_COHORT_NEXT_UPDATE" desc="The text used to label when the user's current Federated Learning of Cohorts (FLoC) cohort will next be updated">
|
||||
Next update
|
||||
</message>
|
||||
<message name="IDS_SETTINGS_PRIVACY_SANDBOX_PAGE_FLOC_RESET_COHORT" desc="The text used to label the button which allows a user to reset their Federated Learning of Cohorts (FLoC) cohort identifier">
|
||||
Reset group
|
||||
</message>
|
||||
<message name="IDS_SETTINGS_PRIVACY_SANDBOX_COOKIES_DIALOG" desc="Text of a dialog shown to users when they interacted with cookies to make them aware of the Privacy Sandbox.">
|
||||
Learn about and control new technologies that aim to replace third-party cookies
|
||||
</message>
|
||||
@@ -1430,7 +1490,7 @@
|
||||
Uses cookies to remember your preferences, even if you don’t visit those pages
|
||||
</message>
|
||||
<message name="IDS_SETTINGS_NETWORK_PREDICTION_ENABLED_DESC_COOKIES_PAGE" desc="On the cookies page, the secondary text next to the checkbox that enables prediction of network actions.">
|
||||
Pre-fetches information from pages, including pages you have not yet visited. Information fetched may include cookies, if you allow cookies.
|
||||
Preloads pages that Brave thinks you might visit. To do this, Brave may use cookies, if you allow cookies, and may encrypt and send pages through Brave to hide your identity from sites.
|
||||
</message>
|
||||
<message name="IDS_SETTINGS_SAFEBROWSING_ENABLEPROTECTION" desc="The section title of 'Protects you and your device from dangerous sites'">
|
||||
Google Safe Browsing (protects you and your device from dangerous sites)
|
||||
@@ -1724,6 +1784,19 @@
|
||||
<message name="IDS_SETTINGS_SEARCH_ENGINES_MANAGE_EXTENSION" desc="Text displayed for a button that allows the user to manage a Brave extension">
|
||||
Manage
|
||||
</message>
|
||||
<message name="IDS_SETTINGS_SEARCH_ENGINES_KEYBOARD_SHORTCUTS_TITLE" desc="Label for scoped search mode trigger options section">
|
||||
Keyboard shortcuts for search keywords
|
||||
</message>
|
||||
<message name="IDS_SETTINGS_SEARCH_ENGINES_KEYBOARD_SHORTCUTS_DESCRIPTION" desc="Text explaining how to use keyword mode">
|
||||
In the address bar, enter the keyword for the website you want to search. Then, use a keyboard shortcut to continue.
|
||||
</message>
|
||||
<message name="IDS_SETTINGS_SEARCH_ENGINES_KEYBOARD_SHORTCUTS_SPACE_OR_TAB" desc="Label for setting that toggles whether scoped search mode can be triggered by space">
|
||||
Space or Tab
|
||||
</message>
|
||||
<message name="IDS_SETTINGS_SEARCH_ENGINES_KEYBOARD_SHORTCUTS_TAB" desc="Label for setting that toggles whether scoped search mode can be triggered by space">
|
||||
Tab
|
||||
</message>
|
||||
|
||||
|
||||
<!-- Site Settings Page -->
|
||||
<message name="IDS_SETTINGS_EXCEPTIONS_EMBEDDED_ON_HOST" desc="Template text for a child row in the content Exceptions page view. Controls the permission setting for the parent page when embedded on the specified site.">
|
||||
@@ -1778,7 +1851,7 @@
|
||||
All sites can show any ads to you
|
||||
</message>
|
||||
<message name="IDS_SETTINGS_SITE_SETTINGS_ADS_BLOCKED" desc="Label for the disabled option of the ads content setting.">
|
||||
Block ads on sites that show intrusive or misleading ads (recommended)
|
||||
Block ads on sites that show intrusive or misleading ads
|
||||
</message>
|
||||
<message name="IDS_SETTINGS_SITE_SETTINGS_ADS_ALLOWED_EXCEPTIONS" desc="Label for the allowed exceptions site list of the ads content setting.">
|
||||
Allowed to show any ads
|
||||
@@ -1805,7 +1878,7 @@
|
||||
Sites might automatically download related files together to save you time
|
||||
</message>
|
||||
<message name="IDS_SETTINGS_SITE_SETTINGS_AUTOMATIC_DOWNLOADS_ALLOWED" desc="Label for the enabled option of the automatic downloads content setting.">
|
||||
Sites can ask to automatically download multiple files (recommended)
|
||||
Sites can ask to automatically download multiple files
|
||||
</message>
|
||||
<message name="IDS_SETTINGS_SITE_SETTINGS_AUTOMATIC_DOWNLOADS_BLOCKED" desc="Label for the disabled option of the automatic downloads content setting.">
|
||||
Don't allow sites to automatically download multiple files
|
||||
@@ -1820,11 +1893,14 @@
|
||||
After you leave a site, it can keep syncing to finish tasks, like uploading photos or sending a chat message
|
||||
</message>
|
||||
<message name="IDS_SETTINGS_SITE_SETTINGS_BACKGROUND_SYNC_ALLOWED" desc="Label for the enabled option of the background sync content setting.">
|
||||
Recently closed sites can finish sending and receiving data (recommended)
|
||||
Recently closed sites can finish sending and receiving data
|
||||
</message>
|
||||
<message name="IDS_SETTINGS_SITE_SETTINGS_BACKGROUND_SYNC_BLOCKED" desc="Label for the disabled option of the background sync content setting.">
|
||||
Don't allow closed sites to finish sending or receiving data
|
||||
</message>
|
||||
<message name="IDS_SETTINGS_SITE_SETTINGS_BACKGROUND_SYNC_BLOCKED_SUB_LABEL" desc="Sub label for the disabled option of the background sync content setting.">
|
||||
After closing a page, tasks you started might not finish
|
||||
</message>
|
||||
<message name="IDS_SETTINGS_SITE_SETTINGS_BACKGROUND_SYNC_ALLOWED_EXCEPTIONS" desc="Label for the allowed exceptions site list of the background sync content setting.">
|
||||
Allowed to finish sending and receiving data
|
||||
</message>
|
||||
@@ -1844,7 +1920,7 @@
|
||||
Sites usually use your video camera for communication features like video chatting
|
||||
</message>
|
||||
<message name="IDS_SETTINGS_SITE_SETTINGS_CAMERA_ALLOWED" desc="Label for the enabled option of the camera content setting.">
|
||||
Sites can ask to use your camera (recommended)
|
||||
Sites can ask to use your camera
|
||||
</message>
|
||||
<message name="IDS_SETTINGS_SITE_SETTINGS_CAMERA_BLOCKED" desc="Label for the disabled option of the camera content setting.">
|
||||
Don't allow sites to use your camera
|
||||
@@ -1907,7 +1983,7 @@
|
||||
Sites usually access files and folders on your device for features like automatically saving your work
|
||||
</message>
|
||||
<message name="IDS_SETTINGS_SITE_SETTINGS_FILE_SYSTEM_WRITE_ALLOWED" desc="Label for the enabled option of the file system write content setting.">
|
||||
Sites can ask to edit files and folders on your device (recommended)
|
||||
Sites can ask to edit files and folders on your device
|
||||
</message>
|
||||
<message name="IDS_SETTINGS_SITE_SETTINGS_FILE_SYSTEM_WRITE_BLOCKED" desc="Label for the disabled option of the file system write content setting.">
|
||||
Don't allow sites to edit files or folders on your device
|
||||
@@ -1943,11 +2019,14 @@
|
||||
Sites usually show images to provide illustration, like photos for online stores or news articles
|
||||
</message>
|
||||
<message name="IDS_SETTINGS_SITE_SETTINGS_IMAGES_ALLOWED" desc="Label for the enabled option of the images content setting.">
|
||||
Sites can show images (recommended)
|
||||
Sites can show images
|
||||
</message>
|
||||
<message name="IDS_SETTINGS_SITE_SETTINGS_IMAGES_BLOCKED" desc="Label for the disabled option of the images content setting.">
|
||||
Don't allow sites to show images
|
||||
</message>
|
||||
<message name="IDS_SETTINGS_SITE_SETTINGS_IMAGES_BLOCKED_SUB_LABEL" desc="Sub label for the disabled option of the images content setting.">
|
||||
Features that need images won't work
|
||||
</message>
|
||||
<message name="IDS_SETTINGS_SITE_SETTINGS_IMAGES_ALLOWED_EXCEPTIONS" desc="Label for the allowed exceptions site list of the images content setting.">
|
||||
Allowed to show images
|
||||
</message>
|
||||
@@ -1967,7 +2046,7 @@
|
||||
Sites usually use Javascript to display interactive features, like video games or web forms
|
||||
</message>
|
||||
<message name="IDS_SETTINGS_SITE_SETTINGS_JAVASCRIPT_ALLOWED" desc="Label for the enabled option of the Javascript content setting.">
|
||||
Sites can use Javascript (recommended)
|
||||
Sites can use Javascript
|
||||
</message>
|
||||
<message name="IDS_SETTINGS_SITE_SETTINGS_JAVASCRIPT_BLOCKED" desc="Label for the disabled option of the Javascript content setting.">
|
||||
Don't allow sites to use Javascript
|
||||
@@ -1982,7 +2061,7 @@
|
||||
Sites usually use your location for relevant features or info, like local news or nearby shops
|
||||
</message>
|
||||
<message name="IDS_SETTINGS_SITE_SETTINGS_LOCATION_ALLOWED" desc="Label for the enabled option of the location content setting.">
|
||||
Sites can ask for your location (recommended)
|
||||
Sites can ask for your location
|
||||
</message>
|
||||
<message name="IDS_SETTINGS_SITE_SETTINGS_LOCATION_BLOCKED" desc="Label for the disabled option of the location content setting.">
|
||||
Don't allow sites to see your location
|
||||
@@ -2000,7 +2079,7 @@
|
||||
Sites usually use your microphone for communication features like video chatting
|
||||
</message>
|
||||
<message name="IDS_SETTINGS_SITE_SETTINGS_MIC_ALLOWED" desc="Label for the enabled option of the microphone content setting.">
|
||||
Sites can ask to use your microphone (recommended)
|
||||
Sites can ask to use your microphone
|
||||
</message>
|
||||
<message name="IDS_SETTINGS_SITE_SETTINGS_MIC_BLOCKED" desc="Label for the disabled option of the microphone content setting.">
|
||||
Don't allow sites to use your microphone
|
||||
@@ -2075,7 +2154,7 @@
|
||||
Sites usually install payment handlers for shopping features like easier checkout
|
||||
</message>
|
||||
<message name="IDS_SETTINGS_SITE_SETTINGS_PAYMENT_HANDLERS_ALLOWED" desc="Label for the enabled option of the payment handlers content setting.">
|
||||
Sites can install payment handlers (recommended)
|
||||
Sites can install payment handlers
|
||||
</message>
|
||||
<message name="IDS_SETTINGS_SITE_SETTINGS_PAYMENT_HANDLERS_BLOCKED" desc="Label for the disabled option of the payment handlers content setting.">
|
||||
Don't allow sites to install payment handlers
|
||||
@@ -2099,7 +2178,7 @@
|
||||
Sites can send pop-ups and use redirects
|
||||
</message>
|
||||
<message name="IDS_SETTINGS_SITE_SETTINGS_POPUPS_BLOCKED" desc="Label for the disabled option of the pop-ups content setting.">
|
||||
Don't allow sites to send pop-ups or use redirects (recommended)
|
||||
Don't allow sites to send pop-ups or use redirects
|
||||
</message>
|
||||
<message name="IDS_SETTINGS_SITE_SETTINGS_POPUPS_ALLOWED_EXCEPTIONS" desc="Label for the allowed exceptions site list of the pop-ups content setting.">
|
||||
Allowed to send pop-ups and use redirects
|
||||
@@ -2111,11 +2190,14 @@
|
||||
When a site plays content protected by copyright, it might ask to recognize your device
|
||||
</message>
|
||||
<message name="IDS_SETTINGS_SITE_SETTINGS_PROTECTED_CONTENT_ALLOWED" desc="Label for the enabled option of the protected content content setting.">
|
||||
Sites can ask to play protected content (recommended)
|
||||
Sites can ask to play protected content
|
||||
</message>
|
||||
<message name="IDS_SETTINGS_SITE_SETTINGS_PROTECTED_CONTENT_BLOCKED" desc="Label for the disabled option of the protected content content setting.">
|
||||
Don't allow sites to play protected content
|
||||
</message>
|
||||
<message name="IDS_SETTINGS_SITE_SETTINGS_PROTECTED_CONTENT_BLOCKED_SUB_LABEL" desc="Sub label for the disabled option of the protected content content setting.">
|
||||
Media with a copyright might not play
|
||||
</message>
|
||||
<message name="IDS_SETTINGS_SITE_SETTINGS_PROTECTED_CONTENT_ALLOWED_EXCEPTIONS" desc="Label for the allowed exceptions site list of the protected content content setting.">
|
||||
Allowed to play protected content
|
||||
</message>
|
||||
@@ -2147,11 +2229,14 @@
|
||||
Sites might play sound to provide audio for music, videos, and other media
|
||||
</message>
|
||||
<message name="IDS_SETTINGS_SITE_SETTINGS_SOUND_ALLOWED" desc="Label for the enabled option of the sound content setting.">
|
||||
Sites can play sound (recommended)
|
||||
Sites can play sound
|
||||
</message>
|
||||
<message name="IDS_SETTINGS_SITE_SETTINGS_SOUND_BLOCKED" desc="Label for the disabled option of the sound content setting.">
|
||||
Don't allow sites to play sound
|
||||
</message>
|
||||
<message name="IDS_SETTINGS_SITE_SETTINGS_SOUND_BLOCKED_SUB_LABEL" desc=" Sub label for the disabled option of the sound content setting.">
|
||||
Features that need sound won't work
|
||||
</message>
|
||||
<message name="IDS_SETTINGS_SITE_SETTINGS_SOUND_ALLOWED_EXCEPTIONS" desc="Label for the allowed exceptions site list of the sound content setting.">
|
||||
Allowed to play sound
|
||||
</message>
|
||||
@@ -2257,14 +2342,14 @@
|
||||
<message name="IDS_SETTINGS_COOKIES_ALLOW_ALL_BULLET_TWO" desc="Description for the first bullet of allow all cookies radio toggle">
|
||||
Sites can use cookies to see your browsing activity across different sites, for example, to personalize ads
|
||||
</message>
|
||||
<message name="IDS_SETTINGS_COOKIES_BLOCK_THIRD_PARTY_INCOGNITO" desc="Label for block third party cookies in private radio toggle">
|
||||
<message name="IDS_SETTINGS_COOKIES_BLOCK_THIRD_PARTY_INCOGNITO" desc="Label for block third party cookies in Private radio toggle">
|
||||
Block third-party cookies in Private
|
||||
</message>
|
||||
<message name="IDS_SETTINGS_COOKIES_BLOCK_THIRD_PARTY_INCOGNITO_BULLET_ONE" desc="Description for the first bullet of block third party cookies in private radio toggle">
|
||||
<message name="IDS_SETTINGS_COOKIES_BLOCK_THIRD_PARTY_INCOGNITO_BULLET_ONE" desc="Description for the first bullet of block third party cookies in Private radio toggle">
|
||||
Sites can use cookies to improve your browsing experience, for example, to keep you signed in or to remember items in your shopping cart
|
||||
</message>
|
||||
<message name="IDS_SETTINGS_COOKIES_BLOCK_THIRD_PARTY_INCOGNITO_BULLET_TWO" desc="Description for the first bullet of block third party cookies in private radio toggle">
|
||||
While in private, sites can't use your cookies to see your browsing activity across different sites, for example, to personalize ads. Features on some sites may break.
|
||||
<message name="IDS_SETTINGS_COOKIES_BLOCK_THIRD_PARTY_INCOGNITO_BULLET_TWO" desc="Description for the first bullet of block third party cookies in Private radio toggle">
|
||||
While in Private, sites can't use your cookies to see your browsing activity across different sites, for example, to personalize ads. Features on some sites may break.
|
||||
</message>
|
||||
<message name="IDS_SETTINGS_COOKIES_BLOCK_THIRD_PARTY" desc="Label for block third party cookies radio toggle">
|
||||
Block third-party cookies
|
||||
@@ -2601,7 +2686,7 @@
|
||||
<message name="IDS_SETTINGS_SITE_SETTINGS_COOKIES_BLOCK_THIRD_PARTY" desc="The sub-label for links to manage cookies when the current cookie setting is to block third party cookies.">
|
||||
Third-party cookies are blocked
|
||||
</message>
|
||||
<message name="IDS_SETTINGS_SITE_SETTINGS_COOKIES_BLOCK_THIRD_PARTY_INCOGNITO" desc="The sub-label for links to manage cookies when the current cookie setting is to block third party cookies in private.">
|
||||
<message name="IDS_SETTINGS_SITE_SETTINGS_COOKIES_BLOCK_THIRD_PARTY_INCOGNITO" desc="The sub-label for links to manage cookies when the current cookie setting is to block third party cookies in Private.">
|
||||
Third-party cookies are blocked in Private mode
|
||||
</message>
|
||||
<message name="IDS_SETTINGS_SITE_SETTINGS_COOKIES_ALLOW_SITES" desc="The 'allow cookies' label in site settings.">
|
||||
@@ -2791,9 +2876,6 @@
|
||||
<message name="IDS_SETTINGS_SITE_SETTINGS_CONTENT_MORE" desc="The text on the button used to toggle the display of additional content settings.">
|
||||
Additional content settings
|
||||
</message>
|
||||
<message name="IDS_SETTINGS_SITE_SETTINGS_SOURCE_DRM_DISABLED" desc="A label shown when the protected content / protected media identifier permission on the Site Details page is disabled because the user has turned off using unique identifiers to access protected content.">
|
||||
To change this setting, first <ph name="BEGIN_LINK"><a target="_blank" rel="noopener noreferrer" href="$1"></ph>turn on identifiers<ph name="END_LINK"></a></ph>
|
||||
</message>
|
||||
<message name="IDS_SETTINGS_SITE_SETTINGS_ALLOWLISTED" desc="A subtitle for the ‘Allowlisted’ setting, shown if a WebUI's permission is internally allowlisted by Brave.">
|
||||
Allowlisted internally
|
||||
</message>
|
||||
@@ -2959,10 +3041,10 @@
|
||||
<message name="IDS_SETTINGS_SITE_SETTINGS_REMOVE" desc="A label for the action of removing (deleting) a certain handler.">
|
||||
Remove
|
||||
</message>
|
||||
<message name="IDS_SETTINGS_SITE_SETTINGS_INCOGNITO_ONLY" desc="A label for the checkbox to make the rule apply to the current private session only.">
|
||||
Current private session only
|
||||
<message name="IDS_SETTINGS_SITE_SETTINGS_INCOGNITO_ONLY" desc="A label for the checkbox to make the rule apply to the current Private session only.">
|
||||
Current Private session only
|
||||
</message>
|
||||
<message name="IDS_SETTINGS_SITE_SETTINGS_INCOGNITO_SITE_EXCEPTION_DESC" desc="The text displayed in order to explain to a user that a content setting only applies to the current private session.">
|
||||
<message name="IDS_SETTINGS_SITE_SETTINGS_INCOGNITO_SITE_EXCEPTION_DESC" desc="The text displayed in order to explain to a user that a content setting only applies to the current Private session.">
|
||||
This custom setting will be removed when you close all your Private windows
|
||||
</message>
|
||||
<message name="IDS_SETTINGS_SITE_SETTINGS_NO_ZOOMED_SITES" desc="A label explaining that no sites have a configured zoom in/out value.">
|
||||
@@ -3642,6 +3724,9 @@
|
||||
<message name="IDS_SETTINGS_SECURITY_KEYS_BIO_NAME_LABEL" desc="A label for a text input field containing a descriptive name for a fingerprint enrolled to a security key.">
|
||||
Name
|
||||
</message>
|
||||
<message name="IDS_SETTINGS_SECURITY_KEYS_BIO_NAME_LABEL_TOO_LONG" desc="A validation error shown beneath a text box where the user is expected to enter a descriptive name for a fingerprint enrolled to a security key.">
|
||||
Try a shorter name
|
||||
</message>
|
||||
<message name="IDS_SETTINGS_SECURITY_KEYS_BIO_ENROLLMENT_NO_ENROLLMENTS_LABEL" desc="A label informing the user that there are no fingerprints stored on their security key (authentication hardware device).">
|
||||
Your security key has no fingerprints stored
|
||||
</message>
|
||||
@@ -3669,6 +3754,9 @@
|
||||
<message name="IDS_SETTINGS_SECURITY_KEYS_BIO_NO_PIN" desc="An error message shown when a user attempts to enroll a fingerprint on their security key (an authentication hardware device), but the user has not set up a PIN (short, often numeric codes that are often used with, for example, ATM cards) for that security key.">
|
||||
Your security key is not protected with a PIN. To manage fingerprints, first create a PIN.
|
||||
</message>
|
||||
<message name="IDS_SETTINGS_SECURITY_KEYS_BIO_ENROLLMENT_STORAGE_FULL" desc="An error message shown when a user attempts to enroll a fingerprint on their security key (an authentication hardware device), but the security key's internal storage for fingerprints is exhausted.">
|
||||
Your security key can't store any more fingerprints. To add a new one, first delete an existing fingerprint.
|
||||
</message>
|
||||
<message name="IDS_SETTINGS_SECURITY_KEYS_TOUCH_TO_CONTINUE" desc="A label instructing the user to physically touch the activation button on their security key (an authentication hardware device).">
|
||||
To continue, insert and touch your security key
|
||||
</message>
|
||||
|
||||
@@ -68,21 +68,21 @@
|
||||
<if expr="is_win and _google_chrome">
|
||||
</if>
|
||||
|
||||
<message name="IDS_SETTINGS_COOKIES_BLOCK_THIRD_PARTY_INCOGNITO" desc="Label for block third party cookies in private radio toggle">
|
||||
<message name="IDS_SETTINGS_COOKIES_BLOCK_THIRD_PARTY_INCOGNITO" desc="Label for block third party cookies in Private radio toggle">
|
||||
Block third-party cookies in Private
|
||||
</message>
|
||||
<message name="IDS_SETTINGS_COOKIES_BLOCK_THIRD_PARTY_INCOGNITO_BULLET_TWO" desc="Description for the first bullet of block third party cookies in private radio toggle">
|
||||
While in private, sites can't use your cookies to see your browsing activity across different sites, for example, to personalize ads. Features on some sites may break.
|
||||
<message name="IDS_SETTINGS_COOKIES_BLOCK_THIRD_PARTY_INCOGNITO_BULLET_TWO" desc="Description for the first bullet of block third party cookies in Private radio toggle">
|
||||
While in Private, sites can't use your cookies to see your browsing activity across different sites, for example, to personalize ads. Features on some sites may break.
|
||||
</message>
|
||||
<if expr="chromeos or is_win">
|
||||
</if>
|
||||
<message name="IDS_SETTINGS_SITE_SETTINGS_COOKIES_BLOCK_THIRD_PARTY_INCOGNITO" desc="The sub-label for links to manage cookies when the current cookie setting is to block third party cookies in private.">
|
||||
<message name="IDS_SETTINGS_SITE_SETTINGS_COOKIES_BLOCK_THIRD_PARTY_INCOGNITO" desc="The sub-label for links to manage cookies when the current cookie setting is to block third party cookies in Private.">
|
||||
Third-party cookies are blocked in Private mode
|
||||
</message>
|
||||
<message name="IDS_SETTINGS_SITE_SETTINGS_INCOGNITO_ONLY" desc="A label for the checkbox to make the rule apply to the current private session only.">
|
||||
Current private session only
|
||||
<message name="IDS_SETTINGS_SITE_SETTINGS_INCOGNITO_ONLY" desc="A label for the checkbox to make the rule apply to the current Private session only.">
|
||||
Current Private session only
|
||||
</message>
|
||||
<message name="IDS_SETTINGS_SITE_SETTINGS_INCOGNITO_SITE_EXCEPTION_DESC" desc="The text displayed in order to explain to a user that a content setting only applies to the current private session.">
|
||||
<message name="IDS_SETTINGS_SITE_SETTINGS_INCOGNITO_SITE_EXCEPTION_DESC" desc="The text displayed in order to explain to a user that a content setting only applies to the current Private session.">
|
||||
This custom setting will be removed when you close all your Private windows
|
||||
</message>
|
||||
<if expr="chromeos">
|
||||
|
||||
@@ -17,8 +17,8 @@
|
||||
<message name="IDS_SETTINGS_CAPTIONS_PREFERENCES_TITLE" desc="Section title for caption style setting that is supported by some apps and sites">
|
||||
Caption preferences
|
||||
</message>
|
||||
<message name="IDS_SETTINGS_CAPTIONS_PREFERENCES_SUBTITLE" desc="Section subtitle for Caption preferences. Disclaimer that not all apps and sites support the system caption style. Some apps and sites don't use the web captioning standard and have their own captioning platform.">
|
||||
Customize caption size and style for apps and sites that support this setting
|
||||
<message name="IDS_SETTINGS_CAPTIONS_PREFERENCES_SUBTITLE" desc="Section subtitle for Caption preferences for Live Caption. Some apps and sites also use the system caption style, but others don't use the web captioning standard and have their own captioning platform.">
|
||||
Customize caption size and style for Live Caption. Some apps and sites will also use this setting.
|
||||
</message>
|
||||
<message name="IDS_SETTINGS_CAPTIONS_TEXT_SIZE" desc="Name of the caption text size preference.">
|
||||
Text size
|
||||
@@ -104,7 +104,7 @@
|
||||
Device name
|
||||
</message>
|
||||
<message name="IDS_SETTINGS_NEARBY_SHARE_DEVICE_NAME_DIALOG_TITLE" desc="Title for the dialog which allows a user to set the name of their device which is shown to other devices for the Nearby Share feature.">
|
||||
Device Name
|
||||
Change device name
|
||||
</message>
|
||||
<message name="IDS_SETTINGS_NEARBY_SHARE_DEVICE_NAME_FIELD_LABEL" desc="Label for the input field where a user can set the name of their device which is shown to other devices for the Nearby Share feature.">
|
||||
New device name
|
||||
@@ -115,6 +115,9 @@
|
||||
<message name="IDS_SETTINGS_NEARBY_SHARE_DEVICE_NAME_ARIA_DESCRIPTION" desc="Description for screen readers, not displayed in UI, specifying the current device name which is shown to other devices for the Nearby Share feature." is_accessibility_with_no_ui="true">
|
||||
Current device name is <ph name="DEVICE_NAME">$1<ex>Michael's Bravebook</ex></ph>
|
||||
</message>
|
||||
<message name="IDS_SETTINGS_NEARBY_SHARE_CONFIRM_DEVICE_NAME" desc="Label for the button that allows a user to confirm their device name which is shown to other devices for the Nearby Share feature.">
|
||||
Rename
|
||||
</message>
|
||||
<message name="IDS_SETTINGS_NEARBY_SHARE_MANAGE_CONTACTS_LABEL" desc="Label for the button that opens contacts management when configuring visibility of their device with their contacts for the Nearby Share feature.">
|
||||
Manage contacts
|
||||
</message>
|
||||
@@ -125,7 +128,7 @@
|
||||
Edit
|
||||
</message>
|
||||
<message name="IDS_SETTINGS_NEARBY_SHARE_UPDATE_DATA_USAGE" desc="Label for the button that allows a user to confirm their choice of data usage setting for the Nearby Share feature.">
|
||||
Done
|
||||
Save
|
||||
</message>
|
||||
<message name="IDS_SETTINGS_NEARBY_SHARE_DATA_USAGE_DIALOG_TITLE" desc="Title for the dialog where a user can select the data usage setting for the Nearby Share feature.">
|
||||
Data usage
|
||||
@@ -169,6 +172,9 @@
|
||||
<message name="IDS_SETTINGS_NEARBY_SHARE_VISIBILITY_DIALOG_TITLE" desc="Title for the dialog which allows a user to set their preference for the visibility of their device with their contacts for the Nearby Share feature.">
|
||||
Device visibility
|
||||
</message>
|
||||
<message name="IDS_SETTINGS_NEARBY_SHARE_VISIBILITY_DIALOG_SAVE" desc="Label for the button that saves a user's preference for the visibility of their device with their contacts for the Nearby Share feature. ">
|
||||
Save
|
||||
</message>
|
||||
<message name="IDS_SETTINGS_NEARBY_SHARE_DESCRIPTION" desc="A description of nearby share that helps users understand what the feature is used for.">
|
||||
Share files with profiles around you. <ph name="LINK_BEGIN"><a></ph>Learn more<ph name="LINK_END"></a></ph>
|
||||
</message>
|
||||
|
||||
@@ -15,7 +15,15 @@
|
||||
<message name="IDS_SHARESHEET_FEWER_APPS_LABEL" desc="The label for the button at the bottom of the sharesheet which clicks into the default sharesheet.">
|
||||
Fewer apps
|
||||
</message>
|
||||
<message name="IDS_SHARESHEET_ZERO_STATE_LABEL" desc="The label shown to inform users that the sharesheet is empty.">
|
||||
No apps available
|
||||
<message name="IDS_SHARESHEET_ZERO_STATE_PRIMARY_LABEL" desc="The label shown to inform users that the sharesheet is empty.">
|
||||
No apps available for this content
|
||||
</message>
|
||||
<message name="IDS_SHARESHEET_ZERO_STATE_SECONDARY_LABEL" desc="The label informing users where to download apps.">
|
||||
Visit the Play Store to find more apps
|
||||
</message>
|
||||
<message name="IDS_SHARESHEET_FILES_LABEL" desc="The label for the enumeration of the number of files a user is trying to share.">
|
||||
{COUNT, plural,
|
||||
=1 {{COUNT} file}
|
||||
other {{COUNT} files}}
|
||||
</message>
|
||||
</grit-part>
|
||||
|
||||
|
After Width: | Height: | Size: 1.5 KiB |
|
After Width: | Height: | Size: 1.5 KiB |
|
After Width: | Height: | Size: 1.5 KiB |
|
After Width: | Height: | Size: 1.5 KiB |
|
After Width: | Height: | Size: 1.5 KiB |
|
After Width: | Height: | Size: 1.5 KiB |
|
After Width: | Height: | Size: 1.6 KiB |
|
After Width: | Height: | Size: 1.6 KiB |
|
After Width: | Height: | Size: 1.6 KiB |
|
After Width: | Height: | Size: 1.6 KiB |
|
After Width: | Height: | Size: 1.6 KiB |
|
After Width: | Height: | Size: 1.6 KiB |
@@ -143,19 +143,19 @@
|
||||
<message name="IDS_VR_BUTTON_APP_REPOSITION" desc="This is the label for the app button while in reposition mode">
|
||||
Finish
|
||||
</message>
|
||||
<message name="IDS_VR_MENU_NEW_INCOGNITO_TAB" desc="Menu item for opening a new private tab that facilitates pseudononymous browsing. [CHAR-LIMIT=27]">
|
||||
New private tab
|
||||
<message name="IDS_VR_MENU_NEW_INCOGNITO_TAB" desc="Menu item for opening a new Private tab that facilitates pseudononymous browsing. [CHAR_LIMIT=27]">
|
||||
New Private tab
|
||||
</message>
|
||||
<message name="IDS_VR_MENU_PREFERENCES" desc="Menu item for opening browser preferences. [CHAR-LIMIT=27]">
|
||||
<message name="IDS_VR_MENU_PREFERENCES" desc="Menu item for opening browser preferences. [CHAR_LIMIT=27]">
|
||||
Settings
|
||||
</message>
|
||||
<message name="IDS_VR_MENU_CLOSE_INCOGNITO_TABS" desc="Menu item for closing all open private tabs. [CHAR-LIMIT=27]">
|
||||
Close private tabs
|
||||
<message name="IDS_VR_MENU_CLOSE_INCOGNITO_TABS" desc="Menu item for closing all open Private tabs. [CHAR_LIMIT=27]">
|
||||
Close Private tabs
|
||||
</message>
|
||||
<message name="IDS_VR_TABS_BUTTON_REGULAR" desc="Text on button for selecting regular tabs">
|
||||
Tabs
|
||||
</message>
|
||||
<message name="IDS_VR_TABS_BUTTON_INCOGNITO" desc="Text on button for selecting private tabs">
|
||||
<message name="IDS_VR_TABS_BUTTON_INCOGNITO" desc="Text on button for selecting Private tabs">
|
||||
Private
|
||||
</message>
|
||||
</grit-part>
|
||||
|
||||
@@ -18,13 +18,13 @@
|
||||
<else>
|
||||
</else>
|
||||
</if>
|
||||
<message name="IDS_VR_MENU_NEW_INCOGNITO_TAB" desc="Menu item for opening a new private tab that facilitates pseudononymous browsing. [CHAR-LIMIT=27]">
|
||||
New private tab
|
||||
<message name="IDS_VR_MENU_NEW_INCOGNITO_TAB" desc="Menu item for opening a new Private tab that facilitates pseudononymous browsing. [CHAR_LIMIT=27]">
|
||||
New Private tab
|
||||
</message>
|
||||
<message name="IDS_VR_MENU_CLOSE_INCOGNITO_TABS" desc="Menu item for closing all open private tabs. [CHAR-LIMIT=27]">
|
||||
Close private tabs
|
||||
<message name="IDS_VR_MENU_CLOSE_INCOGNITO_TABS" desc="Menu item for closing all open Private tabs. [CHAR_LIMIT=27]">
|
||||
Close Private tabs
|
||||
</message>
|
||||
<message name="IDS_VR_TABS_BUTTON_INCOGNITO" desc="Text on button for selecting private tabs">
|
||||
<message name="IDS_VR_TABS_BUTTON_INCOGNITO" desc="Text on button for selecting Private tabs">
|
||||
Private
|
||||
</message>
|
||||
</grit-part>
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
# License, v. 2.0. If a copy of the MPL was not distributed with this file,
|
||||
# You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
|
||||
source_set("base_unittests") {
|
||||
static_library("base_unittests") {
|
||||
testonly = true
|
||||
sources = [ "tools_sanity_unittest.cc" ]
|
||||
deps = [ "//testing/gtest:gtest" ]
|
||||
|
||||
@@ -226,8 +226,8 @@ void BraveSyncWorker::SetEncryptionPassphrase(syncer::SyncService* service) {
|
||||
syncer::SyncUserSettings* sync_user_settings = service->GetUserSettings();
|
||||
DCHECK(!sync_user_settings->IsPassphraseRequired());
|
||||
|
||||
if (sync_user_settings->IsEncryptEverythingAllowed() &&
|
||||
!sync_user_settings->IsUsingSecondaryPassphrase() &&
|
||||
if (sync_user_settings->IsCustomPassphraseAllowed() &&
|
||||
!sync_user_settings->IsUsingExplicitPassphrase() &&
|
||||
!sync_user_settings->IsTrustedVaultKeyRequired()) {
|
||||
sync_user_settings->SetEncryptionPassphrase(this->passphrase_);
|
||||
ProfileMetrics::LogProfileSyncInfo(
|
||||
|
||||
@@ -16,14 +16,14 @@
|
||||
#include "content/browser/web_contents/web_contents_impl.h"
|
||||
#include "content/public/browser/navigation_controller.h"
|
||||
#include "content/public/browser/navigation_entry.h"
|
||||
#include "content/public/browser/web_contents.h"
|
||||
#include "content/public/browser/navigation_handle.h"
|
||||
#include "content/public/browser/web_contents.h"
|
||||
#include "net/base/registry_controlled_domains/registry_controlled_domain.h"
|
||||
#include "url/gurl.h"
|
||||
|
||||
namespace {
|
||||
const char k_youtube_background_playback_script[] =
|
||||
"(function() {"
|
||||
const char16_t k_youtube_background_playback_script[] =
|
||||
u"(function() {"
|
||||
" if (document._addEventListener === undefined) {"
|
||||
" document._addEventListener = document.addEventListener;"
|
||||
" document.addEventListener = function(a,b,c) {"
|
||||
@@ -58,11 +58,9 @@ bool IsBackgroundVideoPlaybackEnabled(content::WebContents* contents) {
|
||||
|
||||
BackgroundVideoPlaybackTabHelper::BackgroundVideoPlaybackTabHelper(
|
||||
content::WebContents* contents)
|
||||
: WebContentsObserver(contents) {
|
||||
}
|
||||
: WebContentsObserver(contents) {}
|
||||
|
||||
BackgroundVideoPlaybackTabHelper::~BackgroundVideoPlaybackTabHelper() {
|
||||
}
|
||||
BackgroundVideoPlaybackTabHelper::~BackgroundVideoPlaybackTabHelper() {}
|
||||
|
||||
void BackgroundVideoPlaybackTabHelper::DidFinishNavigation(
|
||||
content::NavigationHandle* navigation_handle) {
|
||||
@@ -72,8 +70,7 @@ void BackgroundVideoPlaybackTabHelper::DidFinishNavigation(
|
||||
}
|
||||
if (IsBackgroundVideoPlaybackEnabled(web_contents())) {
|
||||
web_contents()->GetMainFrame()->ExecuteJavaScript(
|
||||
base::UTF8ToUTF16(k_youtube_background_playback_script),
|
||||
base::NullCallback());
|
||||
k_youtube_background_playback_script, base::NullCallback());
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -102,11 +102,11 @@ class AutoplayBrowserTest : public InProcessBrowserTest {
|
||||
|
||||
void GotoAutoplayByAttr(bool muted) {
|
||||
if (muted) {
|
||||
ASSERT_EQ(true, EvalJsWithManualReply(contents(),
|
||||
"clickAutoplayByAttrMuted()"));
|
||||
ASSERT_EQ(true, EvalJs(contents(), "clickAutoplayByAttrMuted()",
|
||||
content::EXECUTE_SCRIPT_USE_MANUAL_REPLY));
|
||||
} else {
|
||||
ASSERT_EQ(true,
|
||||
EvalJsWithManualReply(contents(), "clickAutoplayByAttr()"));
|
||||
ASSERT_EQ(true, EvalJs(contents(), "clickAutoplayByAttr()",
|
||||
content::EXECUTE_SCRIPT_USE_MANUAL_REPLY));
|
||||
}
|
||||
ASSERT_TRUE(WaitForLoadStop(contents()));
|
||||
WaitForCanPlay();
|
||||
@@ -114,19 +114,19 @@ class AutoplayBrowserTest : public InProcessBrowserTest {
|
||||
|
||||
void GotoAutoplayByMethod(bool muted) {
|
||||
if (muted) {
|
||||
ASSERT_EQ(true, EvalJsWithManualReply(contents(),
|
||||
"clickAutoplayByMethodMuted()"));
|
||||
ASSERT_EQ(true, EvalJs(contents(), "clickAutoplayByMethodMuted()",
|
||||
content::EXECUTE_SCRIPT_USE_MANUAL_REPLY));
|
||||
} else {
|
||||
ASSERT_EQ(true,
|
||||
EvalJsWithManualReply(contents(), "clickAutoplayByMethod()"));
|
||||
ASSERT_EQ(true, EvalJs(contents(), "clickAutoplayByMethod()",
|
||||
content::EXECUTE_SCRIPT_USE_MANUAL_REPLY));
|
||||
}
|
||||
ASSERT_TRUE(WaitForLoadStop(contents()));
|
||||
WaitForCanPlay();
|
||||
}
|
||||
|
||||
void WaitForCanPlay() {
|
||||
ASSERT_EQ("CANPLAY",
|
||||
EvalJsWithManualReply(contents(), "notifyWhenCanPlay()"));
|
||||
ASSERT_EQ("CANPLAY", EvalJs(contents(), "notifyWhenCanPlay()",
|
||||
content::EXECUTE_SCRIPT_USE_MANUAL_REPLY));
|
||||
}
|
||||
|
||||
private:
|
||||
|
||||
@@ -21,15 +21,15 @@
|
||||
#include "content/public/browser/browser_thread.h"
|
||||
#include "net/base/escape.h"
|
||||
#include "net/base/url_util.h"
|
||||
#include "third_party/abseil-cpp/absl/types/optional.h"
|
||||
|
||||
namespace {
|
||||
|
||||
void LoadNewTabURL(
|
||||
const GURL& url,
|
||||
content::WebContents::OnceGetter web_contents_getter,
|
||||
ui::PageTransition page_transition,
|
||||
bool has_user_gesture,
|
||||
const base::Optional<url::Origin>& initiating_origin) {
|
||||
void LoadNewTabURL(const GURL& url,
|
||||
content::WebContents::OnceGetter web_contents_getter,
|
||||
ui::PageTransition page_transition,
|
||||
bool has_user_gesture,
|
||||
const absl::optional<url::Origin>& initiating_origin) {
|
||||
content::WebContents* web_contents = std::move(web_contents_getter).Run();
|
||||
if (!web_contents) {
|
||||
return;
|
||||
@@ -74,7 +74,7 @@ void HandleBinanceProtocol(const GURL& url,
|
||||
content::WebContents::OnceGetter web_contents_getter,
|
||||
ui::PageTransition page_transition,
|
||||
bool has_user_gesture,
|
||||
const base::Optional<url::Origin>& initiator) {
|
||||
const absl::optional<url::Origin>& initiator) {
|
||||
DCHECK(IsBinanceProtocol(url));
|
||||
base::PostTask(
|
||||
FROM_HERE, {content::BrowserThread::UI},
|
||||
|
||||
@@ -16,7 +16,7 @@ void HandleBinanceProtocol(const GURL& url,
|
||||
content::WebContents::OnceGetter web_contents_getter,
|
||||
ui::PageTransition page_transition,
|
||||
bool has_user_gesture,
|
||||
const base::Optional<url::Origin>& initiator);
|
||||
const absl::optional<url::Origin>& initiator);
|
||||
|
||||
bool IsBinanceProtocol(const GURL& url);
|
||||
|
||||
|
||||
@@ -1,8 +1,7 @@
|
||||
brave_ads_java_sources = [
|
||||
"../../brave/browser/brave_ads/android/java/org/chromium/chrome/browser/BraveAdsNativeHelper.java",
|
||||
"../../brave/browser/brave_ads/android/java/org/chromium/chrome/browser/dialogs/BraveAdsSignupDialog.java",
|
||||
"../../brave/browser/brave_ads/android/java/org/chromium/chrome/browser/dialogs/BraveAdsNotificationDialog.java",
|
||||
"../../brave/browser/brave_ads/android/java/org/chromium/chrome/browser/dialogs/BraveAdsSignupDialog.java",
|
||||
"../../brave/browser/brave_ads/android/java/org/chromium/chrome/browser/notifications/BraveAds.java",
|
||||
"../../brave/browser/brave_ads/android/java/org/chromium/chrome/browser/notifications/BraveAdsNotificationBuilder.java",
|
||||
"../../brave/browser/brave_ads/android/java/org/chromium/chrome/browser/onboarding/BraveAdsOnboardingFragment.java",
|
||||
]
|
||||
|
||||
@@ -5,6 +5,8 @@
|
||||
|
||||
#include "brave/browser/brave_browser_main_parts.h"
|
||||
|
||||
#include <utility>
|
||||
|
||||
#include "base/command_line.h"
|
||||
#include "brave/browser/browsing_data/brave_clear_browsing_data.h"
|
||||
#include "brave/browser/ethereum_remote_client/buildflags/buildflags.h"
|
||||
@@ -25,6 +27,7 @@
|
||||
#include "base/files/file_util.h"
|
||||
#include "brave/components/tor/tor_constants.h"
|
||||
#include "chrome/browser/browser_process_impl.h"
|
||||
#include "chrome/browser/profiles/profile_attributes_init_params.h"
|
||||
#include "chrome/browser/profiles/profile_attributes_storage.h"
|
||||
#include "chrome/browser/profiles/profile_manager.h"
|
||||
#include "chrome/browser/profiles/profile_metrics.h"
|
||||
@@ -34,9 +37,9 @@
|
||||
#if !defined(OS_ANDROID)
|
||||
#include "brave/browser/infobars/brave_confirm_p3a_infobar_delegate.h"
|
||||
#include "brave/browser/infobars/crypto_wallets_infobar_delegate.h"
|
||||
#include "chrome/browser/infobars/infobar_service.h"
|
||||
#include "chrome/browser/ui/browser.h"
|
||||
#include "chrome/browser/ui/browser_finder.h"
|
||||
#include "components/infobars/content/content_infobar_manager.h"
|
||||
#include "content/public/browser/web_contents.h"
|
||||
#endif
|
||||
|
||||
@@ -76,10 +79,9 @@ void BraveBrowserMainParts::PostBrowserStart() {
|
||||
ProfileAttributesEntry* entry =
|
||||
storage.GetProfileAttributesWithPath(tor_legacy_path);
|
||||
if (!entry) {
|
||||
storage.AddProfile(tor_legacy_path, std::u16string(), std::string(),
|
||||
std::u16string(),
|
||||
/* is_consented_primary_account*/ false, 0,
|
||||
std::string(), EmptyAccountId());
|
||||
ProfileAttributesInitParams params;
|
||||
params.profile_path = tor_legacy_path;
|
||||
storage.AddProfile(std::move(params));
|
||||
}
|
||||
|
||||
profile_manager->MaybeScheduleProfileForDeletion(
|
||||
@@ -107,12 +109,12 @@ void BraveBrowserMainParts::PostBrowserStart() {
|
||||
active_web_contents = browser->tab_strip_model()->GetActiveWebContents();
|
||||
|
||||
if (active_web_contents) {
|
||||
InfoBarService* infobar_service =
|
||||
InfoBarService::FromWebContents(active_web_contents);
|
||||
infobars::ContentInfoBarManager* infobar_manager =
|
||||
infobars::ContentInfoBarManager::FromWebContents(active_web_contents);
|
||||
|
||||
if (infobar_service) {
|
||||
if (infobar_manager) {
|
||||
BraveConfirmP3AInfoBarDelegate::Create(
|
||||
infobar_service, g_browser_process->local_state());
|
||||
infobar_manager, g_browser_process->local_state());
|
||||
#if BUILDFLAG(ENABLE_BRAVE_SYNC)
|
||||
auto* sync_service =
|
||||
ProfileSyncServiceFactory::IsSyncAllowed(profile())
|
||||
@@ -121,7 +123,7 @@ void BraveBrowserMainParts::PostBrowserStart() {
|
||||
const bool is_v2_user =
|
||||
sync_service &&
|
||||
sync_service->GetUserSettings()->IsFirstSetupComplete();
|
||||
SyncV2MigrateInfoBarDelegate::Create(infobar_service, is_v2_user,
|
||||
SyncV2MigrateInfoBarDelegate::Create(infobar_manager, is_v2_user,
|
||||
profile(), browser);
|
||||
#endif // BUILDFLAG(ENABLE_BRAVE_SYNC)
|
||||
}
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
/* This Source Code Form is subject to the terms of the Mozilla Public
|
||||
/* Copyright (c) 2019 The Brave Authors. All rights reserved.
|
||||
* This Source Code Form is subject to the terms of the Mozilla Public
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this file,
|
||||
* You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
@@ -14,7 +15,7 @@ class BraveBrowserMainPartsMac : public ChromeBrowserMainPartsMac {
|
||||
|
||||
private:
|
||||
// ChromeBrowserMainPartsMac overrides:
|
||||
void PreMainMessageLoopStart() override;
|
||||
void PreCreateMainMessageLoop() override;
|
||||
};
|
||||
|
||||
#endif // BRAVE_BROWSER_BRAVE_BROWSER_MAIN_PARTS_MAC_H_
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
/* This Source Code Form is subject to the terms of the Mozilla Public
|
||||
/* Copyright (c) 2019 The Brave Authors. All rights reserved.
|
||||
* This Source Code Form is subject to the terms of the Mozilla Public
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this file,
|
||||
* You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
@@ -10,8 +11,8 @@
|
||||
#import "brave/browser/mac/sparkle_glue.h"
|
||||
#endif
|
||||
|
||||
void BraveBrowserMainPartsMac::PreMainMessageLoopStart() {
|
||||
ChromeBrowserMainPartsMac::PreMainMessageLoopStart();
|
||||
void BraveBrowserMainPartsMac::PreCreateMainMessageLoop() {
|
||||
ChromeBrowserMainPartsMac::PreCreateMainMessageLoop();
|
||||
|
||||
#if BUILDFLAG(ENABLE_SPARKLE)
|
||||
// It would be no-op if udpate is disabled.
|
||||
|
||||
@@ -32,9 +32,9 @@
|
||||
#include "brave/components/brave_sync/network_time_helper.h"
|
||||
#include "brave/components/ntp_background_images/browser/features.h"
|
||||
#include "brave/components/ntp_background_images/browser/ntp_background_images_service.h"
|
||||
#include "brave/components/p3a/brave_histogram_rewrite.h"
|
||||
#include "brave/components/p3a/brave_p3a_service.h"
|
||||
#include "brave/components/p3a/buildflags.h"
|
||||
#include "brave/components/p3a/histograms_braveizer.h"
|
||||
#include "brave/services/network/public/cpp/system_request_handler.h"
|
||||
#include "chrome/browser/component_updater/component_updater_utils.h"
|
||||
#include "chrome/browser/net/system_network_context_manager.h"
|
||||
@@ -128,7 +128,7 @@ BraveBrowserProcessImpl::BraveBrowserProcessImpl(StartupData* startup_data)
|
||||
// Create P3A Service early to catch more histograms. The full initialization
|
||||
// should be started once browser process impl is ready.
|
||||
brave_p3a_service();
|
||||
brave::SetupHistogramsBraveization();
|
||||
histogram_braveizer_ = brave::HistogramsBraveizer::Create();
|
||||
#endif // BUILDFLAG(BRAVE_P3A_ENABLED)
|
||||
}
|
||||
|
||||
|
||||
@@ -23,6 +23,7 @@
|
||||
namespace brave {
|
||||
class BraveReferralsService;
|
||||
class BraveP3AService;
|
||||
class HistogramsBraveizer;
|
||||
class BraveFederatedLearningService;
|
||||
} // namespace brave
|
||||
|
||||
@@ -166,6 +167,7 @@ class BraveBrowserProcessImpl : public BraveBrowserProcess,
|
||||
std::unique_ptr<brave::BraveFederatedLearningService>
|
||||
brave_federated_learning_service_;
|
||||
scoped_refptr<brave::BraveP3AService> brave_p3a_service_;
|
||||
scoped_refptr<brave::HistogramsBraveizer> histogram_braveizer_;
|
||||
std::unique_ptr<ntp_background_images::NTPBackgroundImagesService>
|
||||
ntp_background_images_service_;
|
||||
|
||||
|
||||
@@ -242,7 +242,7 @@ void BindBraveSearchFallbackHost(
|
||||
content::BrowserContext* context = render_process_host->GetBrowserContext();
|
||||
mojo::MakeSelfOwnedReceiver(
|
||||
std::make_unique<brave_search::BraveSearchFallbackHost>(
|
||||
content::BrowserContext::GetDefaultStoragePartition(context)
|
||||
context->GetDefaultStoragePartition()
|
||||
->GetURLLoaderFactoryForBrowserProcess()),
|
||||
std::move(receiver));
|
||||
}
|
||||
@@ -364,7 +364,7 @@ bool BraveContentBrowserClient::HandleExternalProtocol(
|
||||
bool is_main_frame,
|
||||
ui::PageTransition page_transition,
|
||||
bool has_user_gesture,
|
||||
const base::Optional<url::Origin>& initiating_origin,
|
||||
const absl::optional<url::Origin>& initiating_origin,
|
||||
mojo::PendingRemote<network::mojom::URLLoaderFactory>* out_factory) {
|
||||
#if BUILDFLAG(ENABLE_BRAVE_WEBTORRENT)
|
||||
if (webtorrent::IsMagnetProtocol(url)) {
|
||||
@@ -484,7 +484,7 @@ bool BraveContentBrowserClient::WillCreateURLLoaderFactory(
|
||||
int render_process_id,
|
||||
URLLoaderFactoryType type,
|
||||
const url::Origin& request_initiator,
|
||||
base::Optional<int64_t> navigation_id,
|
||||
absl::optional<int64_t> navigation_id,
|
||||
ukm::SourceIdObj ukm_source_id,
|
||||
mojo::PendingReceiver<network::mojom::URLLoaderFactory>* factory_receiver,
|
||||
mojo::PendingRemote<network::mojom::TrustedURLLoaderHeaderClient>*
|
||||
@@ -517,7 +517,7 @@ void BraveContentBrowserClient::CreateWebSocket(
|
||||
content::ContentBrowserClient::WebSocketFactory factory,
|
||||
const GURL& url,
|
||||
const net::SiteForCookies& site_for_cookies,
|
||||
const base::Optional<std::string>& user_agent,
|
||||
const absl::optional<std::string>& user_agent,
|
||||
mojo::PendingRemote<network::mojom::WebSocketHandshakeClient>
|
||||
handshake_client) {
|
||||
auto* proxy = BraveProxyingWebSocket::ProxyWebSocket(
|
||||
|
||||
@@ -10,12 +10,12 @@
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
#include "base/optional.h"
|
||||
#include "chrome/browser/chrome_content_browser_client.h"
|
||||
#include "content/public/browser/browser_thread.h"
|
||||
#include "content/public/browser/content_browser_client.h"
|
||||
#include "mojo/public/cpp/bindings/pending_remote.h"
|
||||
#include "services/metrics/public/cpp/ukm_source_id.h"
|
||||
#include "third_party/abseil-cpp/absl/types/optional.h"
|
||||
#include "third_party/blink/public/mojom/loader/referrer.mojom.h"
|
||||
|
||||
class PrefChangeRegistrar;
|
||||
@@ -52,7 +52,7 @@ class BraveContentBrowserClient : public ChromeContentBrowserClient {
|
||||
bool is_main_frame,
|
||||
ui::PageTransition page_transition,
|
||||
bool has_user_gesture,
|
||||
const base::Optional<url::Origin>& initiating_origin,
|
||||
const absl::optional<url::Origin>& initiating_origin,
|
||||
mojo::PendingRemote<network::mojom::URLLoaderFactory>* out_factory)
|
||||
override;
|
||||
|
||||
@@ -82,7 +82,7 @@ class BraveContentBrowserClient : public ChromeContentBrowserClient {
|
||||
int render_process_id,
|
||||
URLLoaderFactoryType type,
|
||||
const url::Origin& request_initiator,
|
||||
base::Optional<int64_t> navigation_id,
|
||||
absl::optional<int64_t> navigation_id,
|
||||
ukm::SourceIdObj ukm_source_id,
|
||||
mojo::PendingReceiver<network::mojom::URLLoaderFactory>* factory_receiver,
|
||||
mojo::PendingRemote<network::mojom::TrustedURLLoaderHeaderClient>*
|
||||
@@ -97,7 +97,7 @@ class BraveContentBrowserClient : public ChromeContentBrowserClient {
|
||||
content::ContentBrowserClient::WebSocketFactory factory,
|
||||
const GURL& url,
|
||||
const net::SiteForCookies& site_for_cookies,
|
||||
const base::Optional<std::string>& user_agent,
|
||||
const absl::optional<std::string>& user_agent,
|
||||
mojo::PendingRemote<network::mojom::WebSocketHandshakeClient>
|
||||
handshake_client) override;
|
||||
|
||||
|
||||
@@ -25,6 +25,7 @@
|
||||
#include "chrome/test/base/ui_test_utils.h"
|
||||
#include "components/content_settings/core/browser/host_content_settings_map.h"
|
||||
#include "components/content_settings/core/common/content_settings_types.h"
|
||||
#include "components/omnibox/browser/location_bar_model.h"
|
||||
#include "components/prefs/pref_service.h"
|
||||
#include "content/public/browser/navigation_entry.h"
|
||||
#include "content/public/test/browser_test.h"
|
||||
|
||||
@@ -12,6 +12,7 @@
|
||||
#include "brave/common/pref_names.h"
|
||||
#include "chrome/browser/browser_process_impl.h"
|
||||
#include "chrome/browser/profiles/profile.h"
|
||||
#include "chrome/browser/ui/browser.h"
|
||||
#include "chrome/browser/ui/browser_finder.h"
|
||||
#include "chrome/browser/ui/tabs/tab_strip_model.h"
|
||||
#include "components/prefs/pref_service.h"
|
||||
|
||||
@@ -34,15 +34,12 @@ void ExtensionRewardsNotificationServiceObserver::OnNotificationAdded(
|
||||
return;
|
||||
}
|
||||
|
||||
std::unique_ptr<base::ListValue> args(
|
||||
extensions::api::rewards_notifications::OnNotificationAdded::Create(
|
||||
rewards_notification.id_, rewards_notification.type_,
|
||||
rewards_notification.timestamp_, rewards_notification.args_)
|
||||
.release());
|
||||
std::unique_ptr<extensions::Event> event(new extensions::Event(
|
||||
extensions::events::BRAVE_REWARDS_NOTIFICATION_ADDED,
|
||||
extensions::api::rewards_notifications::OnNotificationAdded::kEventName,
|
||||
std::move(args)));
|
||||
extensions::api::rewards_notifications::OnNotificationAdded::Create(
|
||||
rewards_notification.id_, rewards_notification.type_,
|
||||
rewards_notification.timestamp_, rewards_notification.args_)));
|
||||
event_router->BroadcastEvent(std::move(event));
|
||||
}
|
||||
|
||||
@@ -56,15 +53,12 @@ void ExtensionRewardsNotificationServiceObserver::OnNotificationDeleted(
|
||||
return;
|
||||
}
|
||||
|
||||
std::unique_ptr<base::ListValue> args(
|
||||
extensions::api::rewards_notifications::OnNotificationDeleted::Create(
|
||||
rewards_notification.id_, rewards_notification.type_,
|
||||
rewards_notification.timestamp_)
|
||||
.release());
|
||||
std::unique_ptr<extensions::Event> event(new extensions::Event(
|
||||
extensions::events::BRAVE_REWARDS_NOTIFICATION_DELETED,
|
||||
extensions::api::rewards_notifications::OnNotificationDeleted::kEventName,
|
||||
std::move(args)));
|
||||
extensions::api::rewards_notifications::OnNotificationDeleted::Create(
|
||||
rewards_notification.id_, rewards_notification.type_,
|
||||
rewards_notification.timestamp_)));
|
||||
event_router->BroadcastEvent(std::move(event));
|
||||
}
|
||||
|
||||
@@ -77,14 +71,12 @@ void ExtensionRewardsNotificationServiceObserver::
|
||||
return;
|
||||
}
|
||||
|
||||
std::unique_ptr<base::ListValue> args(
|
||||
extensions::api::rewards_notifications::OnAllNotificationsDeleted::Create()
|
||||
.release());
|
||||
std::unique_ptr<extensions::Event> event(new extensions::Event(
|
||||
extensions::events::BRAVE_REWARDS_ALL_NOTIFICATIONS_DELETED,
|
||||
extensions::api::rewards_notifications::OnAllNotificationsDeleted::
|
||||
kEventName,
|
||||
std::move(args)));
|
||||
extensions::api::rewards_notifications::OnAllNotificationsDeleted::
|
||||
Create()));
|
||||
event_router->BroadcastEvent(std::move(event));
|
||||
}
|
||||
|
||||
@@ -98,15 +90,12 @@ void ExtensionRewardsNotificationServiceObserver::OnGetNotification(
|
||||
return;
|
||||
}
|
||||
|
||||
std::unique_ptr<base::ListValue> args(
|
||||
extensions::api::rewards_notifications::OnGetNotification::Create(
|
||||
rewards_notification.id_, rewards_notification.type_,
|
||||
rewards_notification.timestamp_, rewards_notification.args_)
|
||||
.release());
|
||||
std::unique_ptr<extensions::Event> event(new extensions::Event(
|
||||
extensions::events::BRAVE_REWARDS_GET_NOTIFICATION,
|
||||
extensions::api::rewards_notifications::OnGetNotification::kEventName,
|
||||
std::move(args)));
|
||||
extensions::api::rewards_notifications::OnGetNotification::Create(
|
||||
rewards_notification.id_, rewards_notification.type_,
|
||||
rewards_notification.timestamp_, rewards_notification.args_)));
|
||||
event_router->BroadcastEvent(std::move(event));
|
||||
}
|
||||
|
||||
@@ -134,14 +123,12 @@ void ExtensionRewardsNotificationServiceObserver::OnGetAllNotifications(
|
||||
notifications_type.timestamp = item.timestamp_;
|
||||
notifications_type.args = item.args_;
|
||||
}
|
||||
std::unique_ptr<base::ListValue> args(
|
||||
extensions::api::rewards_notifications::OnGetAllNotifications::Create(
|
||||
notifications_list)
|
||||
.release());
|
||||
|
||||
std::unique_ptr<extensions::Event> event(new extensions::Event(
|
||||
extensions::events::BRAVE_REWARDS_GET_ALL_NOTIFICATIONS,
|
||||
extensions::api::rewards_notifications::OnGetAllNotifications::kEventName,
|
||||
std::move(args)));
|
||||
extensions::api::rewards_notifications::OnGetAllNotifications::Create(
|
||||
notifications_list)));
|
||||
event_router->BroadcastEvent(std::move(event));
|
||||
}
|
||||
|
||||
|
||||
@@ -32,13 +32,10 @@ void ExtensionRewardsServiceObserver::OnRewardsInitialized(
|
||||
return;
|
||||
}
|
||||
|
||||
std::unique_ptr<base::ListValue> args(
|
||||
extensions::api::brave_rewards::Initialized::Create(0).release());
|
||||
|
||||
std::unique_ptr<extensions::Event> event(new extensions::Event(
|
||||
extensions::events::BRAVE_START,
|
||||
extensions::api::brave_rewards::Initialized::kEventName,
|
||||
std::move(args)));
|
||||
extensions::api::brave_rewards::Initialized::Create(0)));
|
||||
event_router->BroadcastEvent(std::move(event));
|
||||
}
|
||||
|
||||
@@ -63,15 +60,12 @@ void ExtensionRewardsServiceObserver::OnPanelPublisherInfo(
|
||||
publisher.provider = info->provider;
|
||||
publisher.fav_icon_url = info->favicon_url;
|
||||
publisher.publisher_key = info->id;
|
||||
std::unique_ptr<base::ListValue> args(
|
||||
extensions::api::brave_rewards::OnPublisherData::Create(windowId,
|
||||
publisher)
|
||||
.release());
|
||||
|
||||
std::unique_ptr<extensions::Event> event(new extensions::Event(
|
||||
extensions::events::BRAVE_ON_PUBLISHER_DATA,
|
||||
extensions::api::brave_rewards::OnPublisherData::kEventName,
|
||||
std::move(args)));
|
||||
extensions::api::brave_rewards::OnPublisherData::Create(windowId,
|
||||
publisher)));
|
||||
event_router->BroadcastEvent(std::move(event));
|
||||
}
|
||||
|
||||
@@ -100,14 +94,11 @@ void ExtensionRewardsServiceObserver::OnFetchPromotions(
|
||||
promotion.amount = item->approximate_value;
|
||||
}
|
||||
|
||||
std::unique_ptr<base::ListValue> args(
|
||||
extensions::api::brave_rewards::OnPromotions::Create(
|
||||
static_cast<int>(result), promotions)
|
||||
.release());
|
||||
std::unique_ptr<extensions::Event> event(new extensions::Event(
|
||||
extensions::events::BRAVE_START,
|
||||
extensions::api::brave_rewards::OnPromotions::kEventName,
|
||||
std::move(args)));
|
||||
extensions::api::brave_rewards::OnPromotions::Create(
|
||||
static_cast<int>(result), promotions)));
|
||||
event_router->BroadcastEvent(std::move(event));
|
||||
}
|
||||
|
||||
@@ -129,13 +120,11 @@ void ExtensionRewardsServiceObserver::OnPromotionFinished(
|
||||
promotion_api.expires_at = promotion->expires_at;
|
||||
promotion_api.amount = promotion->approximate_value;
|
||||
|
||||
std::unique_ptr<base::ListValue> args(
|
||||
extensions::api::brave_rewards::OnPromotionFinish::Create
|
||||
(static_cast<int>(result), promotion_api).release());
|
||||
std::unique_ptr<extensions::Event> event(new extensions::Event(
|
||||
extensions::events::BRAVE_START,
|
||||
extensions::api::brave_rewards::OnPromotionFinish::kEventName,
|
||||
std::move(args)));
|
||||
extensions::api::brave_rewards::OnPromotionFinish::Create(
|
||||
static_cast<int>(result), promotion_api)));
|
||||
event_router->BroadcastEvent(std::move(event));
|
||||
}
|
||||
|
||||
@@ -147,13 +136,10 @@ void ExtensionRewardsServiceObserver::OnAdsEnabled(
|
||||
return;
|
||||
}
|
||||
|
||||
std::unique_ptr<base::ListValue> args(
|
||||
extensions::api::brave_rewards::OnAdsEnabled::Create(
|
||||
ads_enabled).release());
|
||||
std::unique_ptr<extensions::Event> event(new extensions::Event(
|
||||
extensions::events::BRAVE_START,
|
||||
extensions::api::brave_rewards::OnAdsEnabled::kEventName,
|
||||
std::move(args)));
|
||||
extensions::api::brave_rewards::OnAdsEnabled::Create(ads_enabled)));
|
||||
event_router->BroadcastEvent(std::move(event));
|
||||
}
|
||||
|
||||
@@ -165,13 +151,11 @@ void ExtensionRewardsServiceObserver::OnPendingContributionSaved(
|
||||
return;
|
||||
}
|
||||
|
||||
std::unique_ptr<base::ListValue> args(
|
||||
extensions::api::brave_rewards::OnPendingContributionSaved::Create(
|
||||
static_cast<int>(result)).release());
|
||||
std::unique_ptr<extensions::Event> event(new extensions::Event(
|
||||
extensions::events::BRAVE_START,
|
||||
extensions::api::brave_rewards::OnPendingContributionSaved::kEventName,
|
||||
std::move(args)));
|
||||
extensions::api::brave_rewards::OnPendingContributionSaved::Create(
|
||||
static_cast<int>(result))));
|
||||
event_router->BroadcastEvent(std::move(event));
|
||||
}
|
||||
|
||||
@@ -198,15 +182,11 @@ void ExtensionRewardsServiceObserver::OnPublisherListNormalized(
|
||||
publisher.status = static_cast<int>(item->status);
|
||||
}
|
||||
|
||||
std::unique_ptr<base::ListValue> args(
|
||||
extensions::api::brave_rewards::
|
||||
OnPublisherListNormalized::Create(publishers)
|
||||
.release());
|
||||
|
||||
std::unique_ptr<extensions::Event> event(new extensions::Event(
|
||||
extensions::events::BRAVE_START,
|
||||
extensions::api::brave_rewards::OnPublisherListNormalized::kEventName,
|
||||
std::move(args)));
|
||||
extensions::api::brave_rewards::OnPublisherListNormalized::Create(
|
||||
publishers)));
|
||||
event_router->BroadcastEvent(std::move(event));
|
||||
}
|
||||
|
||||
@@ -223,13 +203,10 @@ void ExtensionRewardsServiceObserver::OnExcludedSitesChanged(
|
||||
result.publisher_key = publisher_key;
|
||||
result.excluded = excluded;
|
||||
|
||||
std::unique_ptr<base::ListValue> args(
|
||||
extensions::api::brave_rewards::OnExcludedSitesChanged::Create(result)
|
||||
.release());
|
||||
std::unique_ptr<extensions::Event> event(new extensions::Event(
|
||||
extensions::events::BRAVE_START,
|
||||
extensions::api::brave_rewards::OnExcludedSitesChanged::kEventName,
|
||||
std::move(args)));
|
||||
extensions::api::brave_rewards::OnExcludedSitesChanged::Create(result)));
|
||||
event_router->BroadcastEvent(std::move(event));
|
||||
}
|
||||
|
||||
@@ -241,13 +218,10 @@ void ExtensionRewardsServiceObserver::OnRecurringTipSaved(
|
||||
return;
|
||||
}
|
||||
|
||||
std::unique_ptr<base::ListValue> args(
|
||||
extensions::api::brave_rewards::OnRecurringTipSaved::Create(
|
||||
success).release());
|
||||
std::unique_ptr<extensions::Event> event(new extensions::Event(
|
||||
extensions::events::BRAVE_START,
|
||||
extensions::api::brave_rewards::OnRecurringTipSaved::kEventName,
|
||||
std::move(args)));
|
||||
extensions::api::brave_rewards::OnRecurringTipSaved::Create(success)));
|
||||
event_router->BroadcastEvent(std::move(event));
|
||||
}
|
||||
|
||||
@@ -259,13 +233,10 @@ void ExtensionRewardsServiceObserver::OnRecurringTipRemoved(
|
||||
return;
|
||||
}
|
||||
|
||||
std::unique_ptr<base::ListValue> args(
|
||||
extensions::api::brave_rewards::OnRecurringTipRemoved::Create(
|
||||
success).release());
|
||||
std::unique_ptr<extensions::Event> event(new extensions::Event(
|
||||
extensions::events::BRAVE_START,
|
||||
extensions::api::brave_rewards::OnRecurringTipRemoved::kEventName,
|
||||
std::move(args)));
|
||||
extensions::api::brave_rewards::OnRecurringTipRemoved::Create(success)));
|
||||
event_router->BroadcastEvent(std::move(event));
|
||||
}
|
||||
|
||||
@@ -278,13 +249,11 @@ void ExtensionRewardsServiceObserver::OnPendingContributionRemoved(
|
||||
return;
|
||||
}
|
||||
|
||||
std::unique_ptr<base::ListValue> args(
|
||||
extensions::api::brave_rewards::OnPendingContributionRemoved::Create(
|
||||
static_cast<int>(result)).release());
|
||||
std::unique_ptr<extensions::Event> event(new extensions::Event(
|
||||
extensions::events::BRAVE_START,
|
||||
extensions::api::brave_rewards::OnPendingContributionRemoved::kEventName,
|
||||
std::move(args)));
|
||||
extensions::api::brave_rewards::OnPendingContributionRemoved::Create(
|
||||
static_cast<int>(result))));
|
||||
event_router->BroadcastEvent(std::move(event));
|
||||
}
|
||||
|
||||
@@ -304,13 +273,10 @@ void ExtensionRewardsServiceObserver::OnReconcileComplete(
|
||||
properties.result = static_cast<int>(result);
|
||||
properties.type = static_cast<int>(type);
|
||||
|
||||
std::unique_ptr<base::ListValue> args(
|
||||
extensions::api::brave_rewards::OnReconcileComplete::Create(properties)
|
||||
.release());
|
||||
std::unique_ptr<extensions::Event> event(new extensions::Event(
|
||||
extensions::events::BRAVE_START,
|
||||
extensions::api::brave_rewards::OnReconcileComplete::kEventName,
|
||||
std::move(args)));
|
||||
extensions::api::brave_rewards::OnReconcileComplete::Create(properties)));
|
||||
event_router->BroadcastEvent(std::move(event));
|
||||
}
|
||||
|
||||
@@ -327,13 +293,10 @@ void ExtensionRewardsServiceObserver::OnDisconnectWallet(
|
||||
properties.result = static_cast<int>(result);
|
||||
properties.wallet_type = wallet_type;
|
||||
|
||||
std::unique_ptr<base::ListValue> args(
|
||||
extensions::api::brave_rewards::OnDisconnectWallet::Create(properties)
|
||||
.release());
|
||||
std::unique_ptr<extensions::Event> event(new extensions::Event(
|
||||
extensions::events::BRAVE_START,
|
||||
extensions::api::brave_rewards::OnDisconnectWallet::kEventName,
|
||||
std::move(args)));
|
||||
extensions::api::brave_rewards::OnDisconnectWallet::Create(properties)));
|
||||
event_router->BroadcastEvent(std::move(event));
|
||||
}
|
||||
|
||||
@@ -344,11 +307,10 @@ void ExtensionRewardsServiceObserver::OnUnblindedTokensReady(
|
||||
return;
|
||||
}
|
||||
|
||||
auto args = std::make_unique<base::ListValue>();
|
||||
std::unique_ptr<extensions::Event> event(new extensions::Event(
|
||||
extensions::events::BRAVE_START,
|
||||
extensions::api::brave_rewards::OnUnblindedTokensReady::kEventName,
|
||||
std::move(args)));
|
||||
std::vector<base::Value>()));
|
||||
event_router->BroadcastEvent(std::move(event));
|
||||
}
|
||||
|
||||
@@ -361,13 +323,10 @@ void ExtensionRewardsServiceObserver::OnCompleteReset(const bool success) {
|
||||
extensions::api::brave_rewards::OnCompleteReset::Properties properties;
|
||||
properties.success = success;
|
||||
|
||||
std::unique_ptr<base::ListValue> args(
|
||||
extensions::api::brave_rewards::OnCompleteReset::Create(properties)
|
||||
.release());
|
||||
std::unique_ptr<extensions::Event> event(new extensions::Event(
|
||||
extensions::events::BRAVE_START,
|
||||
extensions::api::brave_rewards::OnCompleteReset::kEventName,
|
||||
std::move(args)));
|
||||
extensions::api::brave_rewards::OnCompleteReset::Create(properties)));
|
||||
event_router->BroadcastEvent(std::move(event));
|
||||
}
|
||||
|
||||
|
||||
@@ -9,9 +9,12 @@
|
||||
#include "brave/common/brave_paths.h"
|
||||
#include "chrome/browser/profiles/profile.h"
|
||||
#include "chrome/browser/ui/browser.h"
|
||||
#include "chrome/browser/ui/browser_navigator.h"
|
||||
#include "chrome/browser/ui/browser_navigator_params.h"
|
||||
#include "chrome/browser/ui/tabs/tab_strip_model_observer.h"
|
||||
#include "chrome/test/base/in_process_browser_test.h"
|
||||
#include "chrome/test/base/ui_test_utils.h"
|
||||
#include "components/omnibox/browser/location_bar_model.h"
|
||||
#include "content/public/browser/notification_service.h"
|
||||
#include "content/public/browser/notification_types.h"
|
||||
#include "content/public/common/url_constants.h"
|
||||
|
||||
@@ -4,6 +4,7 @@
|
||||
* You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
#include "base/path_service.h"
|
||||
#include "base/strings/stringprintf.h"
|
||||
#include "base/task/post_task.h"
|
||||
#include "base/test/scoped_feature_list.h"
|
||||
#include "base/test/thread_test_helper.h"
|
||||
@@ -154,8 +155,8 @@ IN_PROC_BROWSER_TEST_F(BraveSearchTest, CheckForAFunction) {
|
||||
browser()->tab_strip_model()->GetActiveWebContents();
|
||||
WaitForLoadStop(contents);
|
||||
|
||||
auto result_first =
|
||||
EvalJsWithManualReply(contents, GetChromeFetchBackupResultsAvailScript());
|
||||
auto result_first = EvalJs(contents, GetChromeFetchBackupResultsAvailScript(),
|
||||
content::EXECUTE_SCRIPT_USE_MANUAL_REPLY);
|
||||
EXPECT_EQ(base::Value(true), result_first.value);
|
||||
}
|
||||
|
||||
@@ -166,8 +167,8 @@ IN_PROC_BROWSER_TEST_F(BraveSearchTest, CheckForAFunctionDev) {
|
||||
browser()->tab_strip_model()->GetActiveWebContents();
|
||||
WaitForLoadStop(contents);
|
||||
|
||||
auto result_first =
|
||||
EvalJsWithManualReply(contents, GetChromeFetchBackupResultsAvailScript());
|
||||
auto result_first = EvalJs(contents, GetChromeFetchBackupResultsAvailScript(),
|
||||
content::EXECUTE_SCRIPT_USE_MANUAL_REPLY);
|
||||
EXPECT_EQ(base::Value(true), result_first.value);
|
||||
}
|
||||
|
||||
@@ -178,8 +179,8 @@ IN_PROC_BROWSER_TEST_F(BraveSearchTest, CheckForAnUndefinedFunction) {
|
||||
browser()->tab_strip_model()->GetActiveWebContents();
|
||||
WaitForLoadStop(contents);
|
||||
|
||||
auto result_first =
|
||||
EvalJsWithManualReply(contents, GetChromeFetchBackupResultsAvailScript());
|
||||
auto result_first = EvalJs(contents, GetChromeFetchBackupResultsAvailScript(),
|
||||
content::EXECUTE_SCRIPT_USE_MANUAL_REPLY);
|
||||
EXPECT_EQ(base::Value(false), result_first.value);
|
||||
}
|
||||
|
||||
|
||||
@@ -11,6 +11,7 @@
|
||||
|
||||
#include "base/base64.h"
|
||||
#include "base/path_service.h"
|
||||
#include "base/strings/stringprintf.h"
|
||||
#include "base/task/post_task.h"
|
||||
#include "base/test/thread_test_helper.h"
|
||||
#include "brave/browser/brave_browser_process.h"
|
||||
@@ -1329,39 +1330,42 @@ IN_PROC_BROWSER_TEST_F(AdBlockServiceTest, CosmeticFilteringSimple) {
|
||||
content::WebContents* contents =
|
||||
browser()->tab_strip_model()->GetActiveWebContents();
|
||||
|
||||
auto result_first = EvalJsWithManualReply(contents,
|
||||
R"(function waitCSSSelector() {
|
||||
auto result_first = EvalJs(contents,
|
||||
R"(function waitCSSSelector() {
|
||||
if (checkSelector('#ad-banner', 'display', 'none')) {
|
||||
window.domAutomationController.send(true);
|
||||
} else {
|
||||
console.log('still waiting for css selector');
|
||||
setTimeout(waitCSSSelector, 200);
|
||||
}
|
||||
} waitCSSSelector())");
|
||||
} waitCSSSelector())",
|
||||
content::EXECUTE_SCRIPT_USE_MANUAL_REPLY);
|
||||
ASSERT_TRUE(result_first.error.empty());
|
||||
EXPECT_EQ(base::Value(true), result_first.value);
|
||||
|
||||
auto result_second = EvalJsWithManualReply(contents,
|
||||
R"(function waitCSSSelector() {
|
||||
auto result_second = EvalJs(contents,
|
||||
R"(function waitCSSSelector() {
|
||||
if (checkSelector('.ad-banner', 'display', 'block')) {
|
||||
window.domAutomationController.send(true);
|
||||
} else {
|
||||
console.log('still waiting for css selector');
|
||||
setTimeout(waitCSSSelector, 200);
|
||||
}
|
||||
} waitCSSSelector())");
|
||||
} waitCSSSelector())",
|
||||
content::EXECUTE_SCRIPT_USE_MANUAL_REPLY);
|
||||
ASSERT_TRUE(result_second.error.empty());
|
||||
EXPECT_EQ(base::Value(true), result_second.value);
|
||||
|
||||
auto result_third = EvalJsWithManualReply(contents,
|
||||
R"(function waitCSSSelector() {
|
||||
auto result_third = EvalJs(contents,
|
||||
R"(function waitCSSSelector() {
|
||||
if (checkSelector('.ad', 'display', 'none')) {
|
||||
window.domAutomationController.send(true);
|
||||
} else {
|
||||
console.log('still waiting for css selector');
|
||||
setTimeout(waitCSSSelector, 200);
|
||||
}
|
||||
} waitCSSSelector())");
|
||||
} waitCSSSelector())",
|
||||
content::EXECUTE_SCRIPT_USE_MANUAL_REPLY);
|
||||
ASSERT_TRUE(result_third.error.empty());
|
||||
EXPECT_EQ(base::Value(true), result_third.value);
|
||||
}
|
||||
@@ -1400,15 +1404,16 @@ IN_PROC_BROWSER_TEST_F(AdBlockServiceTest, CosmeticFilteringHide1pContent) {
|
||||
content::WebContents* contents =
|
||||
browser()->tab_strip_model()->GetActiveWebContents();
|
||||
|
||||
auto result = EvalJsWithManualReply(contents,
|
||||
R"(function waitCSSSelector() {
|
||||
auto result = EvalJs(contents,
|
||||
R"(function waitCSSSelector() {
|
||||
if (checkSelector('.fpsponsored', 'display', 'none')) {
|
||||
window.domAutomationController.send(true);
|
||||
} else {
|
||||
console.log('still waiting for css selector');
|
||||
setTimeout(waitCSSSelector, 200);
|
||||
}
|
||||
} waitCSSSelector())");
|
||||
} waitCSSSelector())",
|
||||
content::EXECUTE_SCRIPT_USE_MANUAL_REPLY);
|
||||
ASSERT_TRUE(result.error.empty());
|
||||
EXPECT_EQ(base::Value(true), result.value);
|
||||
}
|
||||
@@ -1426,27 +1431,29 @@ IN_PROC_BROWSER_TEST_F(AdBlockServiceTest, CosmeticFilteringDynamic) {
|
||||
content::WebContents* contents =
|
||||
browser()->tab_strip_model()->GetActiveWebContents();
|
||||
|
||||
auto result_first = EvalJsWithManualReply(contents,
|
||||
R"(function waitCSSSelector() {
|
||||
auto result_first = EvalJs(contents,
|
||||
R"(function waitCSSSelector() {
|
||||
if (checkSelector('.blockme', 'display', 'none')) {
|
||||
window.domAutomationController.send(true);
|
||||
} else {
|
||||
console.log('still waiting for css selector');
|
||||
setTimeout(waitCSSSelector, 200);
|
||||
}
|
||||
} waitCSSSelector())");
|
||||
} waitCSSSelector())",
|
||||
content::EXECUTE_SCRIPT_USE_MANUAL_REPLY);
|
||||
ASSERT_TRUE(result_first.error.empty());
|
||||
EXPECT_EQ(base::Value(true), result_first.value);
|
||||
|
||||
auto result_second = EvalJsWithManualReply(contents,
|
||||
R"(function waitCSSSelector() {
|
||||
auto result_second = EvalJs(contents,
|
||||
R"(function waitCSSSelector() {
|
||||
if (checkSelector('.dontblockme', 'display', 'block')) {
|
||||
window.domAutomationController.send(true);
|
||||
} else {
|
||||
console.log('still waiting for css selector');
|
||||
setTimeout(waitCSSSelector, 200);
|
||||
}
|
||||
} waitCSSSelector())");
|
||||
} waitCSSSelector())",
|
||||
content::EXECUTE_SCRIPT_USE_MANUAL_REPLY);
|
||||
ASSERT_TRUE(result_second.error.empty());
|
||||
EXPECT_EQ(base::Value(true), result_second.value);
|
||||
}
|
||||
@@ -1492,15 +1499,16 @@ IN_PROC_BROWSER_TEST_F(AdBlockServiceTest, CosmeticFilteringCustomStyle) {
|
||||
content::WebContents* contents =
|
||||
browser()->tab_strip_model()->GetActiveWebContents();
|
||||
|
||||
auto result = EvalJsWithManualReply(contents,
|
||||
R"(function waitCSSSelector() {
|
||||
auto result = EvalJs(contents,
|
||||
R"(function waitCSSSelector() {
|
||||
if (checkSelector('.ad', 'padding-bottom', '10px')) {
|
||||
window.domAutomationController.send(true);
|
||||
} else {
|
||||
console.log('still waiting for css selector');
|
||||
setTimeout(waitCSSSelector, 200);
|
||||
}
|
||||
} waitCSSSelector())");
|
||||
} waitCSSSelector())",
|
||||
content::EXECUTE_SCRIPT_USE_MANUAL_REPLY);
|
||||
ASSERT_TRUE(result.error.empty());
|
||||
EXPECT_EQ(base::Value(true), result.value);
|
||||
}
|
||||
@@ -1522,27 +1530,29 @@ IN_PROC_BROWSER_TEST_F(AdBlockServiceTest, CosmeticFilteringUnhide) {
|
||||
content::WebContents* contents =
|
||||
browser()->tab_strip_model()->GetActiveWebContents();
|
||||
|
||||
auto result_first = EvalJsWithManualReply(contents,
|
||||
R"(function waitCSSSelector() {
|
||||
auto result_first = EvalJs(contents,
|
||||
R"(function waitCSSSelector() {
|
||||
if (checkSelector('.ad', 'display', 'block')) {
|
||||
window.domAutomationController.send(true);
|
||||
} else {
|
||||
console.log('still waiting for css selector');
|
||||
setTimeout(waitCSSSelector, 200);
|
||||
}
|
||||
} waitCSSSelector())");
|
||||
} waitCSSSelector())",
|
||||
content::EXECUTE_SCRIPT_USE_MANUAL_REPLY);
|
||||
ASSERT_TRUE(result_first.error.empty());
|
||||
EXPECT_EQ(base::Value(true), result_first.value);
|
||||
|
||||
auto result_second = EvalJsWithManualReply(contents,
|
||||
R"(function waitCSSSelector() {
|
||||
auto result_second = EvalJs(contents,
|
||||
R"(function waitCSSSelector() {
|
||||
if (checkSelector('#ad-banner', 'display', 'none')) {
|
||||
window.domAutomationController.send(true);
|
||||
} else {
|
||||
console.log('still waiting for css selector');
|
||||
setTimeout(waitCSSSelector, 200);
|
||||
}
|
||||
} waitCSSSelector())");
|
||||
} waitCSSSelector())",
|
||||
content::EXECUTE_SCRIPT_USE_MANUAL_REPLY);
|
||||
ASSERT_TRUE(result_second.error.empty());
|
||||
EXPECT_EQ(base::Value(true), result_second.value);
|
||||
}
|
||||
@@ -1579,15 +1589,16 @@ IN_PROC_BROWSER_TEST_F(AdBlockServiceTest, CosmeticFilteringWindowScriptlet) {
|
||||
content::WebContents* contents =
|
||||
browser()->tab_strip_model()->GetActiveWebContents();
|
||||
|
||||
auto result = EvalJsWithManualReply(contents,
|
||||
R"(function waitCSSSelector() {
|
||||
auto result = EvalJs(contents,
|
||||
R"(function waitCSSSelector() {
|
||||
if (checkSelector('.ad', 'color', 'Impossible value')) {
|
||||
window.domAutomationController.send(true);
|
||||
} else {
|
||||
console.log('still waiting for css selector');
|
||||
setTimeout(waitCSSSelector, 200);
|
||||
}
|
||||
} waitCSSSelector())");
|
||||
} waitCSSSelector())",
|
||||
content::EXECUTE_SCRIPT_USE_MANUAL_REPLY);
|
||||
ASSERT_TRUE(result.error.empty());
|
||||
EXPECT_EQ(base::Value(true), result.value);
|
||||
}
|
||||
|
||||
@@ -184,12 +184,10 @@ void BraveShieldsWebContentsObserver::DispatchBlockedEventForWebContents(
|
||||
details.tab_id = extensions::ExtensionTabUtil::GetTabId(web_contents);
|
||||
details.block_type = block_type;
|
||||
details.subresource = subresource;
|
||||
std::unique_ptr<base::ListValue> args(
|
||||
extensions::api::brave_shields::OnBlocked::Create(details).release());
|
||||
std::unique_ptr<Event> event(
|
||||
new Event(extensions::events::BRAVE_AD_BLOCKED,
|
||||
extensions::api::brave_shields::OnBlocked::kEventName,
|
||||
std::move(args)));
|
||||
extensions::api::brave_shields::OnBlocked::Create(details)));
|
||||
event_router->BroadcastEvent(std::move(event));
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -120,8 +120,9 @@ IN_PROC_BROWSER_TEST_F(BraveWalletEventEmitterTest, CheckForAConnectEvent) {
|
||||
browser()->tab_strip_model()->GetActiveWebContents();
|
||||
WaitForLoadStop(contents);
|
||||
|
||||
auto result_first = EvalJsWithManualReply(
|
||||
contents, CheckForEventScript("received_connect_event"));
|
||||
auto result_first =
|
||||
EvalJs(contents, CheckForEventScript("received_connect_event"),
|
||||
content::EXECUTE_SCRIPT_USE_MANUAL_REPLY);
|
||||
EXPECT_EQ(base::Value(true), result_first.value);
|
||||
}
|
||||
|
||||
@@ -136,7 +137,8 @@ IN_PROC_BROWSER_TEST_F(BraveWalletEventEmitterTest,
|
||||
auto* controller = GetEthJsonRpcController();
|
||||
controller->SetNetwork(brave_wallet::Network::kGoerli);
|
||||
|
||||
auto result_first = EvalJsWithManualReply(
|
||||
contents, CheckForEventScript("received_chain_changed_event"));
|
||||
auto result_first =
|
||||
EvalJs(contents, CheckForEventScript("received_chain_changed_event"),
|
||||
content::EXECUTE_SCRIPT_USE_MANUAL_REPLY);
|
||||
EXPECT_EQ(base::Value(true), result_first.value);
|
||||
}
|
||||
|
||||
@@ -37,8 +37,7 @@ BraveWalletServiceFactory::~BraveWalletServiceFactory() {}
|
||||
|
||||
KeyedService* BraveWalletServiceFactory::BuildServiceInstanceFor(
|
||||
content::BrowserContext* context) const {
|
||||
auto* default_storage_partition =
|
||||
content::BrowserContext::GetDefaultStoragePartition(context);
|
||||
auto* default_storage_partition = context->GetDefaultStoragePartition();
|
||||
auto shared_url_loader_factory =
|
||||
default_storage_partition->GetURLLoaderFactoryForBrowserProcess();
|
||||
return new BraveWalletService(user_prefs::UserPrefs::Get(context),
|
||||
|
||||
@@ -72,12 +72,10 @@ void BraveBrowsingDataRemoverDelegate::RemoveEmbedderData(
|
||||
if (remove_mask & chrome_browsing_data_remover::DATA_TYPE_HISTORY) {
|
||||
auto* event_router = extensions::EventRouter::Get(profile_);
|
||||
if (event_router) {
|
||||
std::unique_ptr<base::ListValue> args(
|
||||
extensions::api::brave_today::OnClearHistory::Create().release());
|
||||
std::unique_ptr<extensions::Event> event(new extensions::Event(
|
||||
extensions::events::BRAVE_START,
|
||||
extensions::api::brave_today::OnClearHistory::kEventName,
|
||||
std::move(args)));
|
||||
extensions::api::brave_today::OnClearHistory::Create()));
|
||||
event_router->BroadcastEvent(std::move(event));
|
||||
}
|
||||
}
|
||||
|
||||
@@ -135,8 +135,7 @@ void BrowsingDataRemovalWatcher::ClearBrowsingDataForLoadedProfiles(
|
||||
&origin_mask))
|
||||
continue;
|
||||
++num_profiles_to_clear_;
|
||||
content::BrowsingDataRemover* remover =
|
||||
content::BrowserContext::GetBrowsingDataRemover(profile);
|
||||
content::BrowsingDataRemover* remover = profile->GetBrowsingDataRemover();
|
||||
observer_.AddObservation(remover);
|
||||
if (testing_callback)
|
||||
testing_callback->BeforeClearOnExitRemoveData(remover, remove_mask,
|
||||
|
||||
@@ -318,8 +318,8 @@ IN_PROC_BROWSER_TEST_F(BraveClearDataOnExitTwoBrowsersTest, OneOTR) {
|
||||
SetExepectedRemoveDataCallCount(1);
|
||||
|
||||
// Open a second browser window with OTR profile.
|
||||
Browser* second_window =
|
||||
NewBrowserWindow(browser()->profile()->GetPrimaryOTRProfile());
|
||||
Browser* second_window = NewBrowserWindow(
|
||||
browser()->profile()->GetPrimaryOTRProfile(/*create_if_needed=*/true));
|
||||
// Close second browser window
|
||||
CloseBrowserWindow(second_window);
|
||||
EXPECT_EQ(0, remove_data_call_count());
|
||||
@@ -335,8 +335,8 @@ IN_PROC_BROWSER_TEST_F(BraveClearDataOnExitTwoBrowsersTest, OneOTRExitsLast) {
|
||||
SetExepectedRemoveDataCallCount(1);
|
||||
|
||||
// Open a second browser window with OTR profile.
|
||||
Browser* second_window =
|
||||
NewBrowserWindow(browser()->profile()->GetPrimaryOTRProfile());
|
||||
Browser* second_window = NewBrowserWindow(
|
||||
browser()->profile()->GetPrimaryOTRProfile(/*create_if_needed=*/true));
|
||||
|
||||
// Close regular profile window.
|
||||
CloseBrowserWindow(browser());
|
||||
|
||||
@@ -17,7 +17,7 @@ source_set("content_settings") {
|
||||
]
|
||||
}
|
||||
|
||||
source_set("unit_tests") {
|
||||
static_library("unit_tests") {
|
||||
testonly = true
|
||||
|
||||
sources = [ "brave_content_settings_default_provider_unittest.cc" ]
|
||||
|
||||
@@ -51,7 +51,8 @@ class DecentralizedDnsNavigationThrottleTest : public testing::Test {
|
||||
|
||||
// Helper that creates simple test guest profile.
|
||||
Profile* CreateGuestProfile() {
|
||||
return profile_manager_.CreateGuestProfile()->GetPrimaryOTRProfile();
|
||||
return profile_manager_.CreateGuestProfile()->GetPrimaryOTRProfile(
|
||||
/*create_if_needed=*/true);
|
||||
}
|
||||
|
||||
TestingProfile* profile() { return profile_; }
|
||||
@@ -77,7 +78,7 @@ TEST_F(DecentralizedDnsNavigationThrottleTest, Instantiation) {
|
||||
|
||||
// Disable in OTR profile.
|
||||
auto otr_web_contents = content::WebContentsTester::CreateTestWebContents(
|
||||
profile()->GetPrimaryOTRProfile(), nullptr);
|
||||
profile()->GetPrimaryOTRProfile(/*create_if_needed=*/true), nullptr);
|
||||
content::MockNavigationHandle otr_test_handle(otr_web_contents.get());
|
||||
auto throttle_in_otr =
|
||||
DecentralizedDnsNavigationThrottle::MaybeCreateThrottleFor(
|
||||
|
||||
@@ -8,6 +8,7 @@
|
||||
#include "base/memory/weak_ptr.h"
|
||||
#include "base/path_service.h"
|
||||
#include "base/strings/strcat.h"
|
||||
#include "base/strings/stringprintf.h"
|
||||
#include "base/threading/sequenced_task_runner_handle.h"
|
||||
#include "base/time/time.h"
|
||||
#include "brave/browser/ephemeral_storage/ephemeral_storage_tab_helper.h"
|
||||
|
||||
@@ -18,6 +18,7 @@
|
||||
#include "content/public/browser/web_contents.h"
|
||||
#include "net/base/features.h"
|
||||
#include "net/base/url_util.h"
|
||||
#include "third_party/abseil-cpp/absl/types/optional.h"
|
||||
|
||||
using content::BrowserContext;
|
||||
using content::NavigationHandle;
|
||||
@@ -119,8 +120,7 @@ void EphemeralStorageTabHelper::CreateEphemeralStorageAreasForDomainAndURL(
|
||||
auto* browser_context = web_contents()->GetBrowserContext();
|
||||
auto site_instance =
|
||||
content::SiteInstance::CreateForURL(browser_context, new_url);
|
||||
auto* partition =
|
||||
BrowserContext::GetStoragePartition(browser_context, site_instance.get());
|
||||
auto* partition = browser_context->GetStoragePartition(site_instance.get());
|
||||
|
||||
if (base::FeatureList::IsEnabled(
|
||||
net::features::kBraveEphemeralStorageKeepAlive) &&
|
||||
@@ -150,7 +150,7 @@ void EphemeralStorageTabHelper::CreateEphemeralStorageAreasForDomainAndURL(
|
||||
std::string local_partition_id =
|
||||
StringToSessionStorageId(new_domain, kLocalStorageSuffix);
|
||||
local_storage_namespace_ = content::CreateSessionStorageNamespace(
|
||||
partition, local_partition_id, base::nullopt);
|
||||
partition, local_partition_id, absl::nullopt);
|
||||
|
||||
// Session storage is always per-tab and never per-TLD, so we always delete
|
||||
// and recreate the session storage when switching domains.
|
||||
@@ -169,11 +169,11 @@ void EphemeralStorageTabHelper::CreateEphemeralStorageAreasForDomainAndURL(
|
||||
partition, session_partition_id,
|
||||
// clone the namespace if there is an opener
|
||||
// https://html.spec.whatwg.org/multipage/browsers.html#copy-session-storage
|
||||
rfh ? base::make_optional<std::string>(StringToSessionStorageId(
|
||||
rfh ? absl::make_optional<std::string>(StringToSessionStorageId(
|
||||
content::GetSessionStorageNamespaceId(
|
||||
WebContents::FromRenderFrameHost(rfh)),
|
||||
kSessionStorageSuffix))
|
||||
: base::nullopt);
|
||||
: absl::nullopt);
|
||||
|
||||
tld_ephemeral_lifetime_ = content::TLDEphemeralLifetime::GetOrCreate(
|
||||
browser_context, partition, new_domain);
|
||||
|
||||
@@ -54,8 +54,8 @@ EthereumRemoteClientService::EthereumRemoteClientService(
|
||||
pref_change_registrar_->Init(user_prefs::UserPrefs::Get(context_));
|
||||
pref_change_registrar_->Add(
|
||||
kBraveWalletWeb3Provider,
|
||||
base::Bind(&EthereumRemoteClientService::OnPreferenceChanged,
|
||||
base::Unretained(this)));
|
||||
base::BindRepeating(&EthereumRemoteClientService::OnPreferenceChanged,
|
||||
base::Unretained(this)));
|
||||
// In case any web3 providers have already loaded content scripts at
|
||||
// this point.
|
||||
RemoveUnusedWeb3ProviderContentScripts();
|
||||
|
||||
@@ -115,6 +115,8 @@ source_set("extensions") {
|
||||
deps += [
|
||||
"//brave/browser/ethereum_remote_client",
|
||||
"//brave/components/brave_wallet/browser",
|
||||
"//components/infobars/content",
|
||||
"//components/prefs",
|
||||
]
|
||||
}
|
||||
|
||||
|
||||
@@ -18,7 +18,6 @@
|
||||
#include "brave/components/binance/browser/binance_service.h"
|
||||
#include "chrome/browser/extensions/api/tabs/tabs_constants.h"
|
||||
#include "chrome/browser/extensions/extension_tab_util.h"
|
||||
#include "chrome/browser/infobars/infobar_service.h"
|
||||
#include "chrome/browser/profiles/profile.h"
|
||||
#include "components/prefs/pref_service.h"
|
||||
#include "extensions/browser/extension_util.h"
|
||||
|
||||
@@ -489,7 +489,7 @@ void BraveRewardsGetRewardsParametersFunction::OnGet(
|
||||
|
||||
auto ac_choices = std::make_unique<base::ListValue>();
|
||||
for (double const& choice : parameters->auto_contribute_choices) {
|
||||
ac_choices->AppendDouble(choice);
|
||||
ac_choices->Append(choice);
|
||||
}
|
||||
data.SetList("autoContributeChoices", std::move(ac_choices));
|
||||
|
||||
|
||||
@@ -68,7 +68,7 @@ BraveShieldsUrlCosmeticResourcesFunction::Run() {
|
||||
std::unique_ptr<base::ListValue>
|
||||
BraveShieldsUrlCosmeticResourcesFunction::GetUrlCosmeticResourcesOnTaskRunner(
|
||||
const std::string& url) {
|
||||
base::Optional<base::Value> resources =
|
||||
absl::optional<base::Value> resources =
|
||||
g_brave_browser_process->ad_block_service()->UrlCosmeticResources(url);
|
||||
|
||||
if (!resources || !resources->is_dict()) {
|
||||
@@ -113,7 +113,7 @@ std::unique_ptr<base::ListValue> BraveShieldsHiddenClassIdSelectorsFunction::
|
||||
const std::vector<std::string>& classes,
|
||||
const std::vector<std::string>& ids,
|
||||
const std::vector<std::string>& exceptions) {
|
||||
base::Optional<base::Value> hide_selectors =
|
||||
absl::optional<base::Value> hide_selectors =
|
||||
g_brave_browser_process->ad_block_service()->HiddenClassIdSelectors(
|
||||
classes, ids, exceptions);
|
||||
|
||||
|
||||
@@ -23,8 +23,8 @@
|
||||
#include "brave/grit/brave_generated_resources.h"
|
||||
#include "chrome/browser/extensions/api/tabs/tabs_constants.h"
|
||||
#include "chrome/browser/extensions/extension_tab_util.h"
|
||||
#include "chrome/browser/infobars/infobar_service.h"
|
||||
#include "chrome/browser/profiles/profile.h"
|
||||
#include "components/infobars/content/content_infobar_manager.h"
|
||||
#include "components/prefs/pref_service.h"
|
||||
#include "content/public/browser/web_contents.h"
|
||||
#include "extensions/browser/extension_registry.h"
|
||||
@@ -77,9 +77,9 @@ BraveWalletPromptToEnableWalletFunction::Run() {
|
||||
base::NumberToString(params->tab_id)));
|
||||
}
|
||||
|
||||
InfoBarService* infobar_service =
|
||||
InfoBarService::FromWebContents(contents);
|
||||
if (infobar_service) {
|
||||
infobars::ContentInfoBarManager* infobar_manager =
|
||||
infobars::ContentInfoBarManager::FromWebContents(contents);
|
||||
if (infobar_manager) {
|
||||
CryptoWalletsInfoBarDelegate::InfobarSubType subtype =
|
||||
CryptoWalletsInfoBarDelegate::InfobarSubType::GENERIC_SETUP;
|
||||
auto* service = GetEthereumRemoteClientService(browser_context());
|
||||
@@ -87,7 +87,7 @@ BraveWalletPromptToEnableWalletFunction::Run() {
|
||||
subtype = CryptoWalletsInfoBarDelegate::InfobarSubType::
|
||||
LOAD_CRYPTO_WALLETS;
|
||||
}
|
||||
CryptoWalletsInfoBarDelegate::Create(infobar_service, subtype);
|
||||
CryptoWalletsInfoBarDelegate::Create(infobar_manager, subtype);
|
||||
}
|
||||
|
||||
return RespondNow(NoArguments());
|
||||
|
||||
@@ -12,11 +12,11 @@
|
||||
#include "brave/components/brave_wallet/browser/brave_wallet_constants.h"
|
||||
#include "brave/components/brave_wallet/browser/brave_wallet_utils.h"
|
||||
#include "brave/components/brave_wallet/browser/pref_names.h"
|
||||
#include "chrome/browser/infobars/infobar_service.h"
|
||||
#include "chrome/browser/profiles/profile.h"
|
||||
#include "chrome/browser/ui/browser.h"
|
||||
#include "chrome/test/base/in_process_browser_test.h"
|
||||
#include "chrome/test/base/ui_test_utils.h"
|
||||
#include "components/infobars/content/content_infobar_manager.h"
|
||||
#include "components/infobars/core/infobar.h"
|
||||
#include "components/prefs/pref_service.h"
|
||||
#include "content/public/test/browser_test.h"
|
||||
@@ -102,13 +102,13 @@ class BraveWalletAPIBrowserTest : public InProcessBrowserTest,
|
||||
~BraveWalletAPIBrowserTest() override {
|
||||
}
|
||||
|
||||
void AddInfoBarObserver(InfoBarService* infobar_service) {
|
||||
void AddInfoBarObserver(infobars::ContentInfoBarManager* infobar_manager) {
|
||||
DCHECK(!infobar_observer_.IsObserving());
|
||||
infobar_observer_.Observe(infobar_service);
|
||||
infobar_observer_.Observe(infobar_manager);
|
||||
}
|
||||
|
||||
void RemoveInfoBarObserver(InfoBarService* infobar_service) {
|
||||
DCHECK(infobar_observer_.IsObservingSource(infobar_service));
|
||||
void RemoveInfoBarObserver(infobars::ContentInfoBarManager* infobar_manager) {
|
||||
DCHECK(infobar_observer_.IsObservingSource(infobar_manager));
|
||||
infobar_observer_.Reset();
|
||||
}
|
||||
|
||||
@@ -117,11 +117,10 @@ class BraveWalletAPIBrowserTest : public InProcessBrowserTest,
|
||||
}
|
||||
|
||||
void CryptoWalletsInfoBarAccept(int expected_buttons) {
|
||||
InfoBarService* infobar_service =
|
||||
InfoBarService::FromWebContents(active_contents());
|
||||
for (size_t i = 0; i < infobar_service->infobar_count(); i++) {
|
||||
InfoBarDelegate* delegate =
|
||||
infobar_service->infobar_at(i)->delegate();
|
||||
infobars::ContentInfoBarManager* infobar_manager =
|
||||
infobars::ContentInfoBarManager::FromWebContents(active_contents());
|
||||
for (size_t i = 0; i < infobar_manager->infobar_count(); i++) {
|
||||
InfoBarDelegate* delegate = infobar_manager->infobar_at(i)->delegate();
|
||||
if (delegate->GetIdentifier() ==
|
||||
InfoBarDelegate::CRYPTO_WALLETS_INFOBAR_DELEGATE) {
|
||||
ConfirmInfoBarDelegate* confirm_delegate =
|
||||
@@ -134,11 +133,10 @@ class BraveWalletAPIBrowserTest : public InProcessBrowserTest,
|
||||
}
|
||||
|
||||
void CryptoWalletsInfoBarCancel(int expected_buttons) {
|
||||
InfoBarService* infobar_service =
|
||||
InfoBarService::FromWebContents(active_contents());
|
||||
for (size_t i = 0; i < infobar_service->infobar_count(); i++) {
|
||||
InfoBarDelegate* delegate =
|
||||
infobar_service->infobar_at(i)->delegate();
|
||||
infobars::ContentInfoBarManager* infobar_manager =
|
||||
infobars::ContentInfoBarManager::FromWebContents(active_contents());
|
||||
for (size_t i = 0; i < infobar_manager->infobar_count(); i++) {
|
||||
InfoBarDelegate* delegate = infobar_manager->infobar_at(i)->delegate();
|
||||
if (delegate->GetIdentifier() ==
|
||||
InfoBarDelegate::CRYPTO_WALLETS_INFOBAR_DELEGATE) {
|
||||
ConfirmInfoBarDelegate* confirm_delegate =
|
||||
@@ -183,9 +181,9 @@ IN_PROC_BROWSER_TEST_F(BraveWalletAPIBrowserTest, DappDetectionTestAccept) {
|
||||
static_cast<int>(brave_wallet::Web3ProviderTypes::ASK));
|
||||
}
|
||||
WaitForBraveExtensionAdded();
|
||||
InfoBarService* infobar_service =
|
||||
InfoBarService::FromWebContents(active_contents());
|
||||
AddInfoBarObserver(infobar_service);
|
||||
infobars::ContentInfoBarManager* infobar_manager =
|
||||
infobars::ContentInfoBarManager::FromWebContents(active_contents());
|
||||
AddInfoBarObserver(infobar_manager);
|
||||
EXPECT_TRUE(
|
||||
NavigateToURLUntilLoadStop("a.com", "/dapp.html"));
|
||||
WaitForCryptoWalletsInfobarAdded();
|
||||
@@ -197,7 +195,7 @@ IN_PROC_BROWSER_TEST_F(BraveWalletAPIBrowserTest, DappDetectionTestAccept) {
|
||||
ConfirmInfoBarDelegate::BUTTON_OK |
|
||||
ConfirmInfoBarDelegate::BUTTON_CANCEL);
|
||||
WaitForTabCount(2);
|
||||
RemoveInfoBarObserver(infobar_service);
|
||||
RemoveInfoBarObserver(infobar_manager);
|
||||
}
|
||||
|
||||
IN_PROC_BROWSER_TEST_F(BraveWalletAPIBrowserTest, InfoBarDontAsk) {
|
||||
@@ -208,9 +206,9 @@ IN_PROC_BROWSER_TEST_F(BraveWalletAPIBrowserTest, InfoBarDontAsk) {
|
||||
}
|
||||
// Navigate to dapp
|
||||
WaitForBraveExtensionAdded();
|
||||
InfoBarService* infobar_service =
|
||||
InfoBarService::FromWebContents(active_contents());
|
||||
AddInfoBarObserver(infobar_service);
|
||||
infobars::ContentInfoBarManager* infobar_manager =
|
||||
infobars::ContentInfoBarManager::FromWebContents(active_contents());
|
||||
AddInfoBarObserver(infobar_manager);
|
||||
EXPECT_TRUE(
|
||||
NavigateToURLUntilLoadStop("a.com", "/dapp.html"));
|
||||
WaitForCryptoWalletsInfobarAdded();
|
||||
@@ -226,7 +224,7 @@ IN_PROC_BROWSER_TEST_F(BraveWalletAPIBrowserTest, InfoBarDontAsk) {
|
||||
auto provider_after = static_cast<brave_wallet::Web3ProviderTypes>(
|
||||
browser()->profile()->GetPrefs()->GetInteger(kBraveWalletWeb3Provider));
|
||||
ASSERT_EQ(provider_after, brave_wallet::Web3ProviderTypes::NONE);
|
||||
RemoveInfoBarObserver(infobar_service);
|
||||
RemoveInfoBarObserver(infobar_manager);
|
||||
}
|
||||
|
||||
IN_PROC_BROWSER_TEST_F(BraveWalletAPIBrowserTest,
|
||||
|
||||
@@ -18,7 +18,6 @@
|
||||
#include "brave/components/ntp_widget_utils/browser/ntp_widget_utils_region.h"
|
||||
#include "chrome/browser/extensions/api/tabs/tabs_constants.h"
|
||||
#include "chrome/browser/extensions/extension_tab_util.h"
|
||||
#include "chrome/browser/infobars/infobar_service.h"
|
||||
#include "chrome/browser/profiles/profile.h"
|
||||
#include "components/prefs/pref_service.h"
|
||||
#include "extensions/browser/extension_util.h"
|
||||
|
||||