diff options
author | Jeff Brown <jeffbrown@google.com> | 2013-11-15 01:28:58 +0000 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2013-11-15 01:28:59 +0000 |
commit | a7a46a66fa9f9ce547bac6c2e800a0ae287d9e5c (patch) | |
tree | 47ca1f4059a9c08c7d8cec59ad09727bf5401c1c | |
parent | 68837c4eca7705cd32e3de2e7cdcd24c72ecaea7 (diff) | |
parent | cef34fce3c925f8db20bb4d3791415bcf150ed78 (diff) | |
download | base-a7a46a66fa9f9ce547bac6c2e800a0ae287d9e5c.tar.gz |
Merge "Update cast screen strings." into klp-dev
-rw-r--r-- | core/java/com/android/internal/app/MediaRouteChooserDialog.java | 5 | ||||
-rw-r--r-- | core/res/res/values/strings.xml | 11 | ||||
-rw-r--r-- | core/res/res/values/symbols.xml | 1 | ||||
-rw-r--r-- | packages/SystemUI/res/values/strings.xml | 2 |
4 files changed, 12 insertions, 7 deletions
diff --git a/core/java/com/android/internal/app/MediaRouteChooserDialog.java b/core/java/com/android/internal/app/MediaRouteChooserDialog.java index 944cc83704c4..47d2a9c3468d 100644 --- a/core/java/com/android/internal/app/MediaRouteChooserDialog.java +++ b/core/java/com/android/internal/app/MediaRouteChooserDialog.java @@ -35,7 +35,6 @@ import android.widget.ListView; import android.widget.TextView; import java.util.Comparator; -import java.util.List; /** * This class implements the route chooser dialog for {@link MediaRouter}. @@ -125,7 +124,9 @@ public class MediaRouteChooserDialog extends Dialog { getWindow().requestFeature(Window.FEATURE_LEFT_ICON); setContentView(R.layout.media_route_chooser_dialog); - setTitle(R.string.media_route_chooser_title); + setTitle(mRouteTypes == MediaRouter.ROUTE_TYPE_REMOTE_DISPLAY + ? R.string.media_route_chooser_title_for_remote_display + : R.string.media_route_chooser_title); // Must be called after setContentView. getWindow().setFeatureDrawableResource(Window.FEATURE_LEFT_ICON, diff --git a/core/res/res/values/strings.xml b/core/res/res/values/strings.xml index 6d8a1c8a4537..9025400a657c 100644 --- a/core/res/res/values/strings.xml +++ b/core/res/res/values/strings.xml @@ -4099,9 +4099,12 @@ <!-- Content description of a MediaRouteButton for accessibility support --> <string name="media_route_button_content_description">Media output</string> - <!-- Title of the media route chooser dialog. [CHAR LIMIT=30] --> + <!-- Title of the media route chooser dialog. [CHAR LIMIT=40] --> <string name="media_route_chooser_title">Connect to device</string> + <!-- Title of the media route chooser dialog for selecting remote display routes. [CHAR LIMIT=40] --> + <string name="media_route_chooser_title_for_remote_display">Cast screen to device</string> + <!-- Placeholder text to show when no devices have been found. [CHAR LIMIT=50] --> <string name="media_route_chooser_searching">Searching for devices\u2026</string> @@ -4144,11 +4147,11 @@ <string name="display_manager_overlay_display_secure_suffix">, secure</string> <!-- Title of the notification to indicate the process of connecting to a wifi display. [CHAR LIMIT=50] --> - <string name="wifi_display_notification_connecting_title">Starting screen cast</string> - <!-- Message of the notification to indicate the process of connectig to a wifi display. [CHAR LIMIT=80] --> + <string name="wifi_display_notification_connecting_title">Casting screen</string> + <!-- Message of the notification to indicate the process of connecting to a wifi display. [CHAR LIMIT=80] --> <string name="wifi_display_notification_connecting_message">Connecting to <xliff:g id="name">%1$s</xliff:g></string> <!-- Title of the notification to indicate an active wifi display connection. [CHAR LIMIT=50] --> - <string name="wifi_display_notification_connected_title">Screen cast in progress</string> + <string name="wifi_display_notification_connected_title">Casting screen</string> <!-- Message of the notification to indicate an active wifi display connection. [CHAR LIMIT=80] --> <string name="wifi_display_notification_connected_message">Connected to <xliff:g id="name">%1$s</xliff:g></string> <!-- Label of a button to disconnect an active wifi display connection. [CHAR LIMIT=25] --> diff --git a/core/res/res/values/symbols.xml b/core/res/res/values/symbols.xml index d166ca69fbc8..befbbbb140be 100644 --- a/core/res/res/values/symbols.xml +++ b/core/res/res/values/symbols.xml @@ -1267,6 +1267,7 @@ <java-symbol type="id" name="media_route_disconnect_button" /> <java-symbol type="id" name="media_route_extended_settings_button" /> <java-symbol type="string" name="media_route_chooser_title" /> + <java-symbol type="string" name="media_route_chooser_title_for_remote_display" /> <java-symbol type="string" name="bluetooth_a2dp_audio_route_name" /> <java-symbol type="dimen" name="config_minScalingSpan" /> diff --git a/packages/SystemUI/res/values/strings.xml b/packages/SystemUI/res/values/strings.xml index d39dc94cb90d..e36ca8e6ae7c 100644 --- a/packages/SystemUI/res/values/strings.xml +++ b/packages/SystemUI/res/values/strings.xml @@ -491,7 +491,7 @@ <!-- QuickSettings: Wifi (Off) [CHAR LIMIT=NONE] --> <string name="quick_settings_wifi_off_label">Wi-Fi Off</string> <!-- QuickSettings: Remote display [CHAR LIMIT=NONE] --> - <string name="quick_settings_remote_display_no_connection_label">Screen Cast</string> + <string name="quick_settings_remote_display_no_connection_label">Cast Screen</string> <!-- QuickSettings: Brightness dialog title [CHAR LIMIT=NONE] --> <string name="quick_settings_brightness_dialog_title">Brightness</string> <!-- QuickSettings: Brightness dialog auto brightness button [CHAR LIMIT=NONE] --> |