Skip to content

Commit

Permalink
Added missing .grdp files.
Browse files Browse the repository at this point in the history
  • Loading branch information
mkarolin committed Nov 18, 2019
1 parent 8949c38 commit c24b217
Show file tree
Hide file tree
Showing 38 changed files with 5,854 additions and 0 deletions.
41 changes: 41 additions & 0 deletions android/java/strings/xr_consent_ui_strings_java.grdp
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
<?xml version='1.0' encoding='UTF-8'?>
<!--
Copyright 2019 Brave Software Inc. All rights reserved.
Use of this source code is governed by a BSD-style license that can be
found in the LICENSE file.
-->
<!-- XR specific strings (included from generated_resources.grd and android_chrome_strings.grd). -->
<!-- These strings are used in the consent flow dialog. -->
<!--This file is created by l10nUtil.js. Do not edit manually.-->
<grit-part>
<!-- XR consent dialog. -->
<message name="IDS_XR_CONSENT_DIALOG_TITLE" desc="Title of the user consent dialog displayed before allowing a website to start a VR presentation">
Allow <ph name="DOMAIN">%s<ex>example.com</ex></ph> to enter VR?
</message>
<message name="IDS_XR_CONSENT_DIALOG_DESCRIPTION_DEFAULT" desc="Body of the user consent dialog displayed before allowing a website to start a VR presentation">
Make sure you trust this site before entering VR.
</message>
<!-- NOTE for the below: It seems as though the leading whitespace from the
first line will be removed. However, leading whitespace on subsequent
lines isn't. This is aligned it's current way to ensure proper alignment
when displayed. -->
<message name="IDS_XR_CONSENT_DIALOG_DESCRIPTION_PHYSICAL_FEATURES" desc="Body of the user consent dialog displayed before allowing a website to start a VR presentation, when physical features may be exposed. The 'make sure you trust this site' line is intended to align with the 'while you are in VR' line, and as such no additional indentation is currently applied.">
While you are in VR, this site may be able to learn about:
- your physical features, such as height

Make sure you trust this site before entering VR.
</message>
<message name="IDS_XR_CONSENT_DIALOG_DESCRIPTION_FLOOR_PLAN" desc="Body of the user consent dialog displayed before allowing a website to start a VR presentation, when both physical features and room layout may be exposed. The 'make sure you trust this site' line is intended to align with the 'while you are in VR' line, and as such no additional indentation is currently applied.">
While you are in VR, this site may be able to learn about:
- your physical features, such as height
- the layout of your room

Make sure you trust this site before entering VR.
</message>
<message name="IDS_XR_CONSENT_DIALOG_BUTTON_DENY_VR" desc="Text on the button of a user consent dialog which denies a website from starting a VR presentation">
Don't allow
</message>
<message name="IDS_XR_CONSENT_DIALOG_BUTTON_ALLOW_AND_ENTER_VR" desc="Text on the button of a user consent dialog which allows a website to start a VR presentation">
Allow &amp; enter VR
</message>
</grit-part>
51 changes: 51 additions & 0 deletions app/os_settings_strings.grdp
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
<?xml version='1.0' encoding='UTF-8'?>
<!-- Settings-specific strings (included from generated_resources.grd). -->
<!--This file is created by l10nUtil.js. Do not edit manually.-->
<grit-part>
<if expr="chromeos">
<!-- Profiles (OS settings) -->
<message name="IDS_OS_SETTINGS_PROFILE_LABEL" desc="Label underneath the profile's real name, listing the email address and optionally the number of additional accounts">
{COUNT, plural,
=0 {<ph name="EMAIL">$1<ex>alice@example.com</ex></ph>}
=1 {<ph name="EMAIL">$1<ex>alice@example.com</ex></ph>, +1 more account}
other {<ph name="EMAIL">$1<ex>alice@example.com</ex></ph>, +<ph name="EXTRA_ACCOUNTS">$2<ex>2</ex></ph> more accounts}}
</message>

<!-- Languages and Inputs (OS settings) -->
<message name="IDS_OS_SETTINGS_LANGUAGES_AND_INPUT_PAGE_TITLE" desc="Name of the OS settings page which displays language method preferences.">
Languages and input
</message>
<message name="IDS_OS_SETTINGS_LANGUAGES_LIST_TITLE" desc="Title for the list of the user's preferred written languages.">
Languages
</message>

<!-- Personalization Page (OS settings) -->
<message name="IDS_OS_SETTINGS_PERSONALIZATION" desc="Name of the OS settings page which displays personalization preferences.">
Personalization
</message>

<!-- Personalization Page (OS settings) and Appearance Page (Browser settings) -->
<message name="IDS_OS_SETTINGS_SET_WALLPAPER" desc="Name of the control which allows the user to set the wallpaper.">
Wallpaper
</message>
<message name="IDS_OS_SETTINGS_OPEN_WALLPAPER_APP" desc="Sub-label about opening the wallpaper app.">
Open the wallpaper app
</message>
<message name="IDS_OS_SETTINGS_CHANGE_PICTURE_TITLE" desc="Label for row in settings page that shows the user image picker.">
Change device account image
</message>

<!-- Search and Assistant section. -->
<message name="IDS_OS_SETTINGS_SEARCH_ENGINE_LABEL" desc="Label in OS settings describing search engine behavior.">
Preferred search engine
</message>
<message name="IDS_OS_SETTINGS_SEARCH_ENGINE_TOOLTIP" desc="Tooltip in OS settings explaining that search engine is used in both the Brave browser and the Brave OS app launcher.">
Used by Brave browser and <ph name="DEVICE_TYPE">$1<ex>Bravebook</ex></ph> launcher
</message>

<!-- Files Page (OS settings) -->
<message name="IDS_OS_SETTINGS_FILES" desc="Name of the settings page which displays file preferences.">
Files
</message>
</if>
</grit-part>
41 changes: 41 additions & 0 deletions app/xr_consent_ui_strings.grdp
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
<?xml version='1.0' encoding='UTF-8'?>
<!--
Copyright 2019 Brave Software Inc. All rights reserved.
Use of this source code is governed by a BSD-style license that can be
found in the LICENSE file.
-->
<!-- XR specific strings (included from generated_resources.grd and android_chrome_strings.grd). -->
<!-- These strings are used in the consent flow dialog. -->
<!--This file is created by l10nUtil.js. Do not edit manually.-->
<grit-part>
<!-- XR consent dialog. -->
<message name="IDS_XR_CONSENT_DIALOG_TITLE" desc="Title of the user consent dialog displayed before allowing a website to start a VR presentation">
Allow <ph name="DOMAIN">$1<ex>example.com</ex></ph> to enter VR?
</message>
<message name="IDS_XR_CONSENT_DIALOG_DESCRIPTION_DEFAULT" desc="Body of the user consent dialog displayed before allowing a website to start a VR presentation">
Make sure you trust this site before entering VR.
</message>
<!-- NOTE for the below: It seems as though the leading whitespace from the
first line will be removed. However, leading whitespace on subsequent
lines isn't. This is aligned it's current way to ensure proper alignment
when displayed. -->
<message name="IDS_XR_CONSENT_DIALOG_DESCRIPTION_PHYSICAL_FEATURES" desc="Body of the user consent dialog displayed before allowing a website to start a VR presentation, when physical features may be exposed. The 'make sure you trust this site' line is intended to align with the 'while you are in VR' line, and as such no additional indentation is currently applied.">
While you are in VR, this site may be able to learn about:
- your physical features, such as height

Make sure you trust this site before entering VR.
</message>
<message name="IDS_XR_CONSENT_DIALOG_DESCRIPTION_FLOOR_PLAN" desc="Body of the user consent dialog displayed before allowing a website to start a VR presentation, when both physical features and room layout may be exposed. The 'make sure you trust this site' line is intended to align with the 'while you are in VR' line, and as such no additional indentation is currently applied.">
While you are in VR, this site may be able to learn about:
- your physical features, such as height
- the layout of your room

Make sure you trust this site before entering VR.
</message>
<message name="IDS_XR_CONSENT_DIALOG_BUTTON_DENY_VR" desc="Text on the button of a user consent dialog which denies a website from starting a VR presentation">
Don't allow
</message>
<message name="IDS_XR_CONSENT_DIALOG_BUTTON_ALLOW_AND_ENTER_VR" desc="Text on the button of a user consent dialog which allows a website to start a VR presentation">
Allow &amp; enter VR
</message>
</grit-part>
48 changes: 48 additions & 0 deletions components/app_modal_strings.grdp
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
<?xml version='1.0' encoding='UTF-8'?>
<!--This file is created by l10nUtil.js. Do not edit manually.-->
<grit-part>

<!-- JavaScript Dialog Box strings -->
<message name="IDS_JAVASCRIPT_MESSAGEBOX_TITLE" desc="Title for JavaScript prompt and confirm originating from a webpage">
<ph name="SITE">$1<ex>http://www.google.com</ex></ph> says
</message>
<message name="IDS_JAVASCRIPT_MESSAGEBOX_TITLE_IFRAME" desc="Title for JavaScript prompt and confirm originating from an iframe inside the webpage">
An embedded page at <ph name="SITE">$1<ex>http://www.google.com</ex></ph> says
</message>
<message name="IDS_JAVASCRIPT_MESSAGEBOX_TITLE_NONSTANDARD_URL" desc="Title for JavaScript prompt and confirm originating from a webpage with a non-standard URL such as |data:|">
This page says
</message>
<message name="IDS_JAVASCRIPT_MESSAGEBOX_TITLE_NONSTANDARD_URL_IFRAME" desc="Title for JavaScript prompt and confirm originating from an iframe inside the webpage with a non-standard URL such as |data:|">
An embedded page on this page says
</message>

<message name="IDS_JAVASCRIPT_MESSAGEBOX_SUPPRESS_OPTION" desc="Optional UI shown on the message box, in the form of a checkbox, allowing the user to suppress additional message boxes from the page.">
Prevent this page from creating additional dialogs
</message>

<!-- "Before Unload" Dialog Box strings -->
<message name="IDS_BEFOREUNLOAD_MESSAGEBOX_TITLE" desc="Title for the 'before unload' dialog.">
Leave site?
</message>
<message name="IDS_BEFOREUNLOAD_APP_MESSAGEBOX_TITLE" desc="Title for the 'before unload' dialog for apps.">
Leave app?
</message>
<message name="IDS_BEFOREUNLOAD_MESSAGEBOX_OK_BUTTON_LABEL" desc="The text on the button which navigates the user away from the page.">
Leave
</message>
<message name="IDS_BEFOREUNLOAD_MESSAGEBOX_MESSAGE" desc="Body text in a dialog asking the user to confirm that they want to leave or reload a website.">
Changes you made may not be saved.
</message>

<!-- "Before Reload" Dialog Box strings (same as "Before Unload" but when reloading rather than unloading the page -->
<message name="IDS_BEFORERELOAD_MESSAGEBOX_TITLE" desc="Title for the 'before unload' dialog for reloads.">
Reload site?
</message>
<message name="IDS_BEFORERELOAD_APP_MESSAGEBOX_TITLE" desc="Title for the 'before unload' dialog for reloads of apps.">
Reload app?
</message>
<message name="IDS_BEFORERELOAD_MESSAGEBOX_OK_BUTTON_LABEL" desc="The text on the button which reloads the page.">
Reload
</message>

</grit-part>
33 changes: 33 additions & 0 deletions components/autofill_assistant_strings.grdp
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
<?xml version='1.0' encoding='UTF-8'?>
<!--This file is created by l10nUtil.js. Do not edit manually.-->
<grit-part>
<if expr="is_android">
<message name="IDS_AUTOFILL_ASSISTANT_DEFAULT_ERROR" desc="Text label that is shown when autofill assistant cannot help anymore, because something went wrong.">
Sorry, something went wrong.
</message>
<message name="IDS_AUTOFILL_ASSISTANT_GIVE_UP" desc="Text label that is shown when autofill assistant cannot help anymore, because of a user action." internal_comment="TODO(wnwen): Remove duplication in chrome/android/features/autofill_assistant/strings/android_chrome_autofill_assistant_strings.grd">
Sorry I'm not able to help, please continue on your own.
</message>
<message name="IDS_AUTOFILL_ASSISTANT_MAYBE_GIVE_UP" desc="Text label shown next to an UNDO button when user action indicate they want to continue on their own.">
Continue manually?
</message>
<message name="IDS_AUTOFILL_ASSISTANT_LOADING" desc="Text label that is shown during the loading of the first page, right after being triggered.">
Opening <ph name="SITE_NAME">$1<ex>google.com</ex></ph>…
</message>
<message name="IDS_AUTOFILL_ASSISTANT_PAYMENT_INFO_CONFIRM" desc="Text on the payment request primary button to confirm payment information [CHAR-LIMIT=32]">
Continue
</message>
<message name="IDS_AUTOFILL_ASSISTANT_DETAILS_DIFFER" desc="Shown as Status Message when details differ.">
The screening is different from what you selected. Continue?
</message>
<message name="IDS_AUTOFILL_ASSISTANT_CONTINUE_BUTTON" desc="Generic label for a button to continue to the next screen.">
Continue
</message>
<message name="IDS_AUTOFILL_ASSISTANT_STOPPED" desc="Text label that is shown when stopping the Autofill Assistant.">
Brave Assistant in Brave stopping
</message>
<message name="IDS_AUTOFILL_ASSISTANT_3RD_PARTY_TERMS_ACCEPT" desc="Message that indicates that the user agrees to the terms and conditions of a 3rd party's domain, e.g., 'odeon.co.uk'.">
I agree to the terms &amp; conditions, privacy policy, and right of withdrawal of <ph name="BEGIN_BOLD">&lt;b&gt;</ph><ph name="DOMAIN">%1$s<ex>google.com</ex></ph><ph name="END_BOLD">&lt;/b&gt;</ph>
</message>
</if>
</grit-part>
Loading

0 comments on commit c24b217

Please sign in to comment.