diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-15 03:34:42 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-15 03:34:42 +0000 |
commit | da4c7e7ed675c3bf405668739c3012d140856109 (patch) | |
tree | cdd868dba063fecba609a1d819de271f0d51b23e /mobile/android/android-components/components/feature/contextmenu/src/main/res/values | |
parent | Adding upstream version 125.0.3. (diff) | |
download | firefox-da4c7e7ed675c3bf405668739c3012d140856109.tar.xz firefox-da4c7e7ed675c3bf405668739c3012d140856109.zip |
Adding upstream version 126.0.upstream/126.0
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'mobile/android/android-components/components/feature/contextmenu/src/main/res/values')
3 files changed, 78 insertions, 0 deletions
diff --git a/mobile/android/android-components/components/feature/contextmenu/src/main/res/values/colors.xml b/mobile/android/android-components/components/feature/contextmenu/src/main/res/values/colors.xml new file mode 100644 index 0000000000..c82374b18e --- /dev/null +++ b/mobile/android/android-components/components/feature/contextmenu/src/main/res/values/colors.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- 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/. --> +<resources> + <color name="mozac_additional_note_background">#1D1133</color> + <color name="mozac_additional_note_text_color">#BFBFC9</color> +</resources> diff --git a/mobile/android/android-components/components/feature/contextmenu/src/main/res/values/strings.xml b/mobile/android/android-components/components/feature/contextmenu/src/main/res/values/strings.xml new file mode 100644 index 0000000000..32c120724f --- /dev/null +++ b/mobile/android/android-components/components/feature/contextmenu/src/main/res/values/strings.xml @@ -0,0 +1,56 @@ +<?xml version="1.0" encoding="utf-8" standalone="yes"?> +<!-- 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/. --> +<resources> + <!-- Text for context menu item to open the link in a new tab. --> + <string name="mozac_feature_contextmenu_open_link_in_new_tab">Open link in new tab</string> + <!-- Text for context menu item to open the link in a private tab. --> + <string name="mozac_feature_contextmenu_open_link_in_private_tab">Open link in private tab</string> + <!-- Text for context menu item to open the image in a new tab. --> + <string name="mozac_feature_contextmenu_open_image_in_new_tab">Open image in new tab</string> + <!-- Text for context menu item to save / download the link. --> + <string name="mozac_feature_contextmenu_download_link">Download link</string> + <!-- Text for context menu item to share the link with an other app. --> + <string name="mozac_feature_contextmenu_share_link">Share link</string> + <!-- Text for context menu item to share the image with an other app. --> + <string name="mozac_feature_contextmenu_share_image">Share image</string> + <!-- Text for context menu item to copy the link to the clipboard. --> + <string name="mozac_feature_contextmenu_copy_link">Copy link</string> + <!-- Text for context menu item to copy the URL pointing to the image to the clipboard. --> + <string name="mozac_feature_contextmenu_copy_image_location">Copy image location</string> + <!-- Text for context menu item to save / download the image. --> + <string name="mozac_feature_contextmenu_save_image">Save image</string> + <!-- Text for context menu item to copy the image to the clipboard. --> + <string name="mozac_feature_contextmenu_copy_image">Copy image</string> + <!-- Text for context menu item to save / download the file. --> + <string name="mozac_feature_contextmenu_save_file_to_device">Save file to device</string> + <!-- Text for confirmation "snackbar" shown after opening a link in a new tab. --> + <string name="mozac_feature_contextmenu_snackbar_new_tab_opened">New tab opened</string> + <!-- Text for confirmation "snackbar" shown after opening a link in a new private tab. --> + <string name="mozac_feature_contextmenu_snackbar_new_private_tab_opened">New private tab opened</string> + <!-- Text for confirmation "snackbar" shown after copying a link or image URL to the clipboard. --> + <string name="mozac_feature_contextmenu_snackbar_link_copied">Link copied to clipboard</string> + <!-- Action shown in a "snacbkar" after opening a new/private tab. Clicking this action will switch to the newly opened tab. --> + <string name="mozac_feature_contextmenu_snackbar_action_switch">Switch</string> + <!-- Text for context menu item to open the link in an external app. --> + <string name="mozac_feature_contextmenu_open_link_in_external_app">Open link in external app</string> + <!-- Text for context menu item to share the email with another app. --> + <string name="mozac_feature_contextmenu_share_email_address">Share email address</string> + <!-- Text for context menu item to copy the email address to the clipboard. --> + <string name="mozac_feature_contextmenu_copy_email_address">Copy email address</string> + <!-- Text for confirmation "snackbar" shown after copying a email address to the clipboard. --> + <string name="mozac_feature_contextmenu_snackbar_email_address_copied">Email address copied to clipboard</string> + <!-- Text for context menu item to add to a contact. --> + <string name="mozac_feature_contextmenu_add_to_contact">Add to contact</string> + <!-- Action shown in a text selection context menu. This will prompt a search using the selected text.--> + <string name="mozac_selection_context_menu_search_2">Search</string> + <!-- Action shown in a text selection context menu. This will prompt a search in a private tab using the selected text--> + <string name="mozac_selection_context_menu_search_privately_2">Private Search</string> + <!-- Action shown in a text selection context menu. This will prompt a share of the selected text. --> + <string name="mozac_selection_context_menu_share">Share</string> + <!-- Action shown in a text selection context menu. This will prompt a new email from the selected text. --> + <string name="mozac_selection_context_menu_email">Email</string> + <!-- Action shown in a text selection context menu. This will prompt a new call from the selected text. --> + <string name="mozac_selection_context_menu_call">Call</string> +</resources>
\ No newline at end of file diff --git a/mobile/android/android-components/components/feature/contextmenu/src/main/res/values/style.xml b/mobile/android/android-components/components/feature/contextmenu/src/main/res/values/style.xml new file mode 100644 index 0000000000..e89670a3fa --- /dev/null +++ b/mobile/android/android-components/components/feature/contextmenu/src/main/res/values/style.xml @@ -0,0 +1,14 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- 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/. --> +<resources> + <style name="Mozac.Dialog.AdditionalNote" parent="Widget.MaterialComponents.TextView"> + <item name="android:layout_width">48dp</item> + <item name="android:layout_height">48dp</item> + <item name="android:textSize">14sp</item> + <item name="android:background">@color/mozac_additional_note_background</item> + <item name="android:textColor">@color/mozac_additional_note_text_color</item> + <item name="android:lineSpacingExtra">3dp</item> + </style> +</resources> |