diff --git a/res/layout/route_fragment.xml b/res/layout/route_fragment.xml index e3f78b1..9682fab 100644 --- a/res/layout/route_fragment.xml +++ b/res/layout/route_fragment.xml @@ -17,7 +17,7 @@ android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_margin="10dip" - android:text="@string/device_list_empty" + android:text="@string/route_list_empty" android:layout_centerInParent="true" android:gravity="center" /> diff --git a/res/values/strings.xml b/res/values/strings.xml index 4553cdf..3dad884 100644 --- a/res/values/strings.xml +++ b/res/values/strings.xml @@ -9,13 +9,14 @@ Do you really want to exit the renderer? Playback will be stopped. Previous Next - Please select a renderer + Please select a route Album Art DLNA Playback Wifi needs to be connected for playback Enable Wifi automatically on start "Do not show this dialog again" No UPNP devices found. \nNew devices will be added automatically when they are available. + No routes found. \nNew routes will be added automatically when they are available. Folder is empty Playlist is empty diff --git a/src/com/github/nutomic/controldlna/gui/RouteFragment.java b/src/com/github/nutomic/controldlna/gui/RouteFragment.java index aee0875..aaa2db6 100644 --- a/src/com/github/nutomic/controldlna/gui/RouteFragment.java +++ b/src/com/github/nutomic/controldlna/gui/RouteFragment.java @@ -284,7 +284,7 @@ public class RouteFragment extends MediaRouteDiscoveryFragment implements disableTrackHighlight(); mSelectedRoute = null; 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) mMediaRouterPlayService.getService().play(start); else { - Toast.makeText(getActivity(), R.string.select_renderer, Toast.LENGTH_SHORT) + Toast.makeText(getActivity(), R.string.select_route, Toast.LENGTH_SHORT) .show(); mStartPlayingOnSelect = start; }