mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1054912 - Change 'Cast to' term to 'Send to ' in-product r=wesj
This commit is contained in:
parent
38893ed27f
commit
2bc20a7e9e
@ -48,7 +48,7 @@ public class MediaCastingBar extends RelativeLayout implements View.OnClickListe
|
||||
mMediaStop = (ImageButton) content.findViewById(R.id.media_stop);
|
||||
mMediaStop.setOnClickListener(this);
|
||||
|
||||
mCastingTo = (TextView) content.findViewById(R.id.media_casting_to);
|
||||
mCastingTo = (TextView) content.findViewById(R.id.media_sending_to);
|
||||
|
||||
// Capture clicks on the rest of the view to prevent them from
|
||||
// leaking into other views positioned below.
|
||||
|
@ -301,9 +301,9 @@ size. -->
|
||||
<!ENTITY find_next "Next">
|
||||
<!ENTITY find_close "Close">
|
||||
|
||||
<!-- Localization note (media_casting_to, media_play, media_pause, media_stop) : These strings are used
|
||||
<!-- Localization note (media_sending_to, media_play, media_pause, media_stop) : These strings are used
|
||||
as alternate text for accessibility. They are not visible in the UI. -->
|
||||
<!ENTITY media_casting_to "Casting to Device">
|
||||
<!ENTITY media_sending_to "Sending to Device">
|
||||
<!ENTITY media_play "Play">
|
||||
<!ENTITY media_pause "Pause">
|
||||
<!ENTITY media_stop "Stop">
|
||||
|
@ -19,7 +19,7 @@
|
||||
|
||||
</RelativeLayout>
|
||||
|
||||
<TextView android:id="@+id/media_casting_to"
|
||||
<TextView android:id="@+id/media_sending_to"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="5dip"
|
||||
@ -30,7 +30,7 @@
|
||||
android:singleLine="true"
|
||||
android:ellipsize="end"
|
||||
android:textColor="#FFFFFFFF"
|
||||
android:contentDescription="@string/media_casting_to"/>
|
||||
android:contentDescription="@string/media_sending_to"/>
|
||||
|
||||
<ImageButton android:id="@+id/media_stop"
|
||||
style="@style/FindBar.ImageButton"
|
||||
|
@ -105,7 +105,7 @@
|
||||
<string name="find_next">&find_next;</string>
|
||||
<string name="find_close">&find_close;</string>
|
||||
|
||||
<string name="media_casting_to">&media_casting_to;</string>
|
||||
<string name="media_sending_to">&media_sending_to;</string>
|
||||
<string name="media_play">&media_play;</string>
|
||||
<string name="media_pause">&media_pause;</string>
|
||||
<string name="media_stop">&media_stop;</string>
|
||||
|
@ -62,7 +62,7 @@ var CastingApps = {
|
||||
SimpleServiceDiscovery.search(120 * 1000);
|
||||
|
||||
this._castMenuId = NativeWindow.contextmenus.add(
|
||||
Strings.browser.GetStringFromName("contextmenu.castToScreen"),
|
||||
Strings.browser.GetStringFromName("contextmenu.sendToDevice"),
|
||||
this.filterCast,
|
||||
this.handleContextMenu.bind(this)
|
||||
);
|
||||
@ -429,14 +429,14 @@ var CastingApps = {
|
||||
// Both states have the same action: Show the cast page action
|
||||
if (aVideo.mozIsCasting) {
|
||||
this.pageAction.id = PageActions.add({
|
||||
title: Strings.browser.GetStringFromName("contextmenu.castToScreen"),
|
||||
title: Strings.browser.GetStringFromName("contextmenu.sendToDevice"),
|
||||
icon: "drawable://casting_active",
|
||||
clickCallback: this.pageAction.click,
|
||||
important: true
|
||||
});
|
||||
} else if (aVideo.mozAllowCasting) {
|
||||
this.pageAction.id = PageActions.add({
|
||||
title: Strings.browser.GetStringFromName("contextmenu.castToScreen"),
|
||||
title: Strings.browser.GetStringFromName("contextmenu.sendToDevice"),
|
||||
icon: "drawable://casting",
|
||||
clickCallback: this.pageAction.click,
|
||||
important: true
|
||||
@ -463,7 +463,7 @@ var CastingApps = {
|
||||
}
|
||||
|
||||
let prompt = new Prompt({
|
||||
title: Strings.browser.GetStringFromName("casting.prompt")
|
||||
title: Strings.browser.GetStringFromName("casting.sendToDevice")
|
||||
}).setSingleChoiceItems(items).show(function(data) {
|
||||
let selected = data.button;
|
||||
let service = selected == -1 ? null : filteredServices[selected];
|
||||
|
@ -211,7 +211,9 @@ browser.menu.showCharacterEncoding=false
|
||||
selectionHelper.textCopied=Text copied to clipboard
|
||||
|
||||
# Casting
|
||||
casting.prompt=Cast to Device
|
||||
# LOCALIZATION NOTE (casting.sendToDevice): Label that will be used in the
|
||||
# dialog/prompt.
|
||||
casting.sendToDevice=Send to Device
|
||||
casting.mirrorTab=Mirror Tab
|
||||
casting.mirrorTabStop=Stop Mirror
|
||||
|
||||
@ -247,7 +249,9 @@ contextmenu.unmute=Unmute
|
||||
contextmenu.saveVideo=Save Video
|
||||
contextmenu.saveAudio=Save Audio
|
||||
contextmenu.addToContacts=Add to Contacts
|
||||
contextmenu.castToScreen=Cast to Screen
|
||||
# LOCALIZATION NOTE (contextmenu.sendToDevice):
|
||||
# The label that will be used in the contextmenu and the pageaction
|
||||
contextmenu.sendToDevice=Send to Device
|
||||
|
||||
contextmenu.copy=Copy
|
||||
contextmenu.cut=Cut
|
||||
@ -384,4 +388,4 @@ feedHandler.subscribeWith=Subscribe with
|
||||
# This string is shown in the console when someone uses deprecated NativeWindow apis.
|
||||
# %1$S=name of the api that's deprecated, %2$S=New API to use. This may be a url to
|
||||
# a file they should import or the name of an api.
|
||||
nativeWindow.deprecated=%S is deprecated. Please use %S instead
|
||||
nativeWindow.deprecated=%S is deprecated. Please use %S instead
|
||||
|
Loading…
Reference in New Issue
Block a user