Fixed crash because of wrong string formatting

This commit is contained in:
Prathamesh More 2022-05-18 15:09:34 +05:30
parent d877bfbdfb
commit d65feb30b4
2 changed files with 2 additions and 4 deletions

View file

@ -16,7 +16,6 @@ package code.name.monkey.retromusic.fragments
import android.animation.ValueAnimator
import android.content.Context
import android.widget.Toast
import androidx.core.animation.doOnEnd
import androidx.lifecycle.*
import code.name.monkey.retromusic.*
@ -350,8 +349,7 @@ class LibraryViewModel(
context.getString(
R.string.added_song_count_to_playlist,
songs.size,
playlistName),
Toast.LENGTH_SHORT)
playlistName))
}
}
}

View file

@ -54,7 +54,7 @@
<string name="add_action">Ajouter</string>
<string name="add_playlist_title">"Ajouter à la liste de lecture"</string>
<string name="add_time_framed_lryics">Ajouter des paroles synchronisées</string>
<string name="added_song_count_to_playlist">Added %1$d song(s) to %2$d</string>
<string name="added_song_count_to_playlist">Added %1$d song(s) to %2$s</string>
<string name="added_title_to_playing_queue">"1 titre a été ajouté à la file d'attente."</string>
<string name="added_x_titles_to_playing_queue">%1$d titres ont été ajoutés à la file d\'attente.</string>
<string name="album">Album</string>