Updated strings to better match the material design "writing" guidelines

This commit is contained in:
Karim Abou Zeid 2015-08-19 02:17:46 +02:00
commit 48337bb7da
28 changed files with 232 additions and 408 deletions

View file

@ -85,12 +85,7 @@ public class NavigationUtil {
}
public static void openPlayingQueueDialog(@NonNull final AppCompatActivity activity) {
PlayingQueueDialog dialog = PlayingQueueDialog.create();
if (dialog != null) {
dialog.show(activity.getSupportFragmentManager(), "PLAY_QUEUE");
} else {
Toast.makeText(activity, activity.getResources().getString(R.string.playing_queue_empty), Toast.LENGTH_SHORT).show();
}
PlayingQueueDialog.create().show(activity.getSupportFragmentManager(), "PLAY_QUEUE");
}
public static void openEqualizer(@NonNull final Activity activity) {

View file

@ -112,7 +112,7 @@ public class PlaylistsUtil {
if (showToastOnFinish) {
Toast.makeText(context, context.getResources().getString(
R.string.inserted_x_songs_into_playlist, numInserted), Toast.LENGTH_SHORT).show();
R.string.inserted_x_songs_into_playlist_x, numInserted, getNameForPlaylist(context, playlistId)), Toast.LENGTH_SHORT).show();
}
} catch (SecurityException ignored) {
}