Skip to content

Commit

Permalink
[components] Issue mozilla-mobile/android-components#1386: feature-co…
Browse files Browse the repository at this point in the history
…ntextmenu: A component for for displaying context menus when long-pressing web content.

X-Channel-Revision: [main] mozilla-mobile/android-components@cf522a7
X-Channel-Revision: [main] mozilla-mobile/fenix@20b25d7
X-Channel-Revision: [main] mozilla-mobile/focus-android@29486b8
X-Channel-Converted-Revision: [ac-prep] mozilla-mobile/firefox-android@b89ebb2
  • Loading branch information
pocmo committed Nov 26, 2018
1 parent cabcb08 commit 81b7da0
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 36 deletions.
2 changes: 1 addition & 1 deletion _meta/mozilla-mobile-firefox-android.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "mozilla-mobile/firefox-android",
"revs": {
"ac-prep": "8b18d2db92855b9fd007bc947a9715c73ee09812"
"ac-prep": "b89ebb26b2c3368cb5ee4421f343b0e5f62f899d"
}
}
Original file line number Diff line number Diff line change
@@ -1,51 +1,35 @@
<?xml version="1.0" encoding="utf-8"?>
<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>
<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>
<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>
<string name="mozac_feature_contextmenu_open_image_in_new_tab">Open Image in New Tab</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>
<string name="mozac_feature_contextmenu_share_link">Share Link</string>

<!-- Text for context menu item to copy the link to the clipboard. -->
<string name="mozac_feature_contextmenu_copy_link">Copy link</string>
<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>
<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 save / download the file. -->
<string name="mozac_feature_contextmenu_save_file_to_device">Save file to device</string>
<string name="mozac_feature_contextmenu_save_image">Save Image</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>
<string name="mozac_feature_contextmenu_snackbar_text_copied">Text 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>
6 changes: 5 additions & 1 deletion mozilla-mobile/android-components/l10n.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,8 @@ locales = [

[[paths]]
reference = "components/feature/downloads/src/main/res/values/strings.xml"
l10n = "{l10n_base}/components/feature/downloads/src/main/res/values-{android_locale}/strings.xml"
l10n = "{l10n_base}/components/feature/downloads/src/main/res/values-{android_locale}/strings.xml"

[[paths]]
reference = "components/feature/contextmenu/src/main/res/values/strings.xml"
l10n = "{l10n_base}/components/feature/contextmenu/src/main/res/values-{android_locale}/strings.xml"

0 comments on commit 81b7da0

Please sign in to comment.