Changed some strings.

This commit is contained in:
Felix Ableitner 2013-12-21 21:12:16 +01:00
parent 82bb045911
commit 0090dbb107
3 changed files with 5 additions and 4 deletions

View file

@ -17,7 +17,7 @@
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_margin="10dip" android:layout_margin="10dip"
android:text="@string/device_list_empty" android:text="@string/route_list_empty"
android:layout_centerInParent="true" android:layout_centerInParent="true"
android:gravity="center" /> android:gravity="center" />

View file

@ -9,13 +9,14 @@
<string name="exit_renderer">Do you really want to exit the renderer? Playback will be stopped.</string> <string name="exit_renderer">Do you really want to exit the renderer? Playback will be stopped.</string>
<string name="previous">Previous</string> <string name="previous">Previous</string>
<string name="next">Next</string> <string name="next">Next</string>
<string name="select_renderer">Please select a renderer</string> <string name="select_route">Please select a route</string>
<string name="album_art">Album Art</string> <string name="album_art">Album Art</string>
<string name="route_description">DLNA Playback</string> <string name="route_description">DLNA Playback</string>
<string name="warning_wifi_not_connected">Wifi needs to be connected for playback</string> <string name="warning_wifi_not_connected">Wifi needs to be connected for playback</string>
<string name="auto_enable_wifi">Enable Wifi automatically on start</string> <string name="auto_enable_wifi">Enable Wifi automatically on start</string>
<string name="dont_show_dialog_again">"Do not show this dialog again"</string> <string name="dont_show_dialog_again">"Do not show this dialog again"</string>
<string name="device_list_empty">No UPNP devices found. \nNew devices will be added automatically when they are available.</string> <string name="device_list_empty">No UPNP devices found. \nNew devices will be added automatically when they are available.</string>
<string name="route_list_empty">No routes found. \nNew routes will be added automatically when they are available.</string>
<string name="folder_list_etmpy">Folder is empty</string> <string name="folder_list_etmpy">Folder is empty</string>
<string name="playlist_empty">Playlist is empty</string> <string name="playlist_empty">Playlist is empty</string>

View file

@ -284,7 +284,7 @@ public class RouteFragment extends MediaRouteDiscoveryFragment implements
disableTrackHighlight(); disableTrackHighlight();
mSelectedRoute = null; mSelectedRoute = null;
TextView emptyView = (TextView) mListView.getEmptyView(); TextView emptyView = (TextView) mListView.getEmptyView();
emptyView.setText(R.string.device_list_empty); emptyView.setText(R.string.route_list_empty);
} }
/** /**
@ -427,7 +427,7 @@ public class RouteFragment extends MediaRouteDiscoveryFragment implements
if (mSelectedRoute != null) if (mSelectedRoute != null)
mMediaRouterPlayService.getService().play(start); mMediaRouterPlayService.getService().play(start);
else { else {
Toast.makeText(getActivity(), R.string.select_renderer, Toast.LENGTH_SHORT) Toast.makeText(getActivity(), R.string.select_route, Toast.LENGTH_SHORT)
.show(); .show();
mStartPlayingOnSelect = start; mStartPlayingOnSelect = start;
} }