use the no_storage_permissions string from commons library

This commit is contained in:
tibbi 2017-09-07 23:42:02 +02:00
parent ce5812d9f0
commit ba6491ca10
11 changed files with 2 additions and 12 deletions

View file

@ -116,7 +116,7 @@ class MainActivity : SimpleActivity(), SeekBar.OnSeekBarChangeListener {
if (grantResults.isNotEmpty() && grantResults[0] == PackageManager.PERMISSION_GRANTED) {
initializePlayer()
} else {
toast(R.string.no_permissions)
toast(R.string.no_storage_permissions)
}
}
}
@ -294,7 +294,7 @@ class MainActivity : SimpleActivity(), SeekBar.OnSeekBarChangeListener {
@Subscribe
fun noStoragePermission(event: Events.NoStoragePermission) {
toast(R.string.no_permissions)
toast(R.string.no_storage_permissions)
}
private fun setupRecyclerViewListener() {

View file

@ -2,7 +2,6 @@
<string name="app_name">Schlichter Musikspieler</string>
<string name="app_launcher_name">Musikspieler</string>
<string name="playlist_empty">Deine Playlist ist leer</string>
<string name="no_permissions">Die Berechtigung zum Zugriff auf deine Songs wurde nicht erteilt.</string>
<string name="rename_song">Song umbenennen</string>
<string name="rename_song_error">Während des Umbenennens ist ein Fehler aufgetreten</string>
<string name="rename_song_empty">Fülle bitte alle Felder aus</string>

View file

@ -2,7 +2,6 @@
<string name="app_name">Simple Music Player</string>
<string name="app_launcher_name">Música</string>
<string name="playlist_empty">Su lista de reproducción está vacía</string>
<string name="no_permissions">El permiso para acceder a las canciones no ha sido concedido</string>
<string name="rename_song">Renombrar canción</string>
<string name="rename_song_error">Ha ocurrido un error durante el renombrado</string>
<string name="rename_song_empty">Por favor, rellene todos los campos</string>

View file

@ -2,7 +2,6 @@
<string name="app_name">Simple Music Player</string>
<string name="app_launcher_name">Music Player</string>
<string name="playlist_empty">La tua playlist è vuota</string>
<string name="no_permissions">L\'autorizzazione per l\'accesso alle canzoni non è stata consentita</string>
<string name="rename_song">Rinomina canzone</string>
<string name="rename_song_error">Errore durante la rinominazione</string>
<string name="rename_song_empty">Completa tutti i campi</string>

View file

@ -2,7 +2,6 @@
<string name="app_name">シンプル ミュージック プレイヤー</string>
<string name="app_launcher_name">ミュージック プレイヤー</string>
<string name="playlist_empty">プレイリストは空です</string>
<string name="no_permissions">曲のアクセス許可が付与されていません</string>
<string name="rename_song">曲の名前を変更</string>
<string name="rename_song_error">名前を変更中にエラーが発生しました</string>
<string name="rename_song_empty">すべてのフィールドを入力してください</string>

View file

@ -2,7 +2,6 @@
<string name="app_name">Eenvoudige muziekspeler</string>
<string name="app_launcher_name">Muziekspeler</string>
<string name="playlist_empty">Je afspeellijst is leeg</string>
<string name="no_permissions">Toestemming voor toegang tot de nummers niet is toegekend</string>
<string name="rename_song">Hernoem nummer</string>
<string name="rename_song_error">Een hernoemen opgetreden</string>
<string name="rename_song_empty">Gelieve alle velden in te vullen</string>

View file

@ -2,7 +2,6 @@
<string name="app_name">Simple Music Player</string>
<string name="app_launcher_name">Simple Music Player</string>
<string name="playlist_empty">Twoja playlista jest pusta</string>
<string name="no_permissions">Uprawnienie niezbędne do uzyskania dostępu do plików nie zostało udzielone</string>
<string name="rename_song">Zmień nazwę</string>
<string name="rename_song_error">Wystąpił błąd podczas zmiany nazwy</string>
<string name="rename_song_empty">Wypełnij wszystkie pola</string>

View file

@ -2,7 +2,6 @@
<string name="app_name">Simple Music Player</string>
<string name="app_launcher_name">Reprodutor de músicas</string>
<string name="playlist_empty">A lista de reprodução está vazia</string>
<string name="no_permissions">Não foi concedida a permissão para aceder às músicas</string>
<string name="rename_song">Renomear música</string>
<string name="rename_song_error">Ocorreu um erro ao renomear</string>
<string name="rename_song_empty">Por favor preencha todos os campos</string>

View file

@ -2,7 +2,6 @@
<string name="app_name">Simple Music Player</string>
<string name="app_launcher_name">Проигрыватель музыки</string>
<string name="playlist_empty">Ваш плейлист пуст</string>
<string name="no_permissions">Не было предоставлено разрешения для доступа к музыке</string>
<string name="rename_song">Переименовать композицию</string>
<string name="rename_song_error">Во время переименования произошла ошибка</string>
<string name="rename_song_empty">Пожалуйста, заполните все поля</string>

View file

@ -2,7 +2,6 @@
<string name="app_name">Simple Music Player</string>
<string name="app_launcher_name">Musikspelare</string>
<string name="playlist_empty">Din spellista är tom</string>
<string name="no_permissions">Tillstånd att komma åt låtarna har inte beviljats</string>
<string name="rename_song">Döp om låt</string>
<string name="rename_song_error">Ett fel uppstod vid omdöpningen</string>
<string name="rename_song_empty">Alla fält måste fyllas i</string>

View file

@ -2,7 +2,6 @@
<string name="app_name">Simple Music Player</string>
<string name="app_launcher_name">Music Player</string>
<string name="playlist_empty">Your playlist is empty</string>
<string name="no_permissions">Permission for accessing the songs has not been granted</string>
<string name="rename_song">Rename song</string>
<string name="rename_song_error">An error occurred during the renaming</string>
<string name="rename_song_empty">Please fill in all fields</string>