change titles for create/edit playlist/channel
This commit is contained in:
parent
b272a5b5f9
commit
3617fb3229
|
@ -239,7 +239,11 @@ public class AllPlaylistsActivity extends AppCompatActivity {
|
|||
});
|
||||
dialogBuilder.setNegativeButton(R.string.cancel, (dialog, id) -> dialog.dismiss());
|
||||
AlertDialog alertDialog = dialogBuilder.create();
|
||||
if (playlistToEdit == null) {
|
||||
alertDialog.setTitle(getString(R.string.action_playlist_create));
|
||||
} else {
|
||||
alertDialog.setTitle(getString(R.string.action_playlist_edit));
|
||||
}
|
||||
alertDialog.setOnDismissListener(dialogInterface -> {
|
||||
//Hide keyboard
|
||||
InputMethodManager imm = (InputMethodManager) getSystemService(Context.INPUT_METHOD_SERVICE);
|
||||
|
|
|
@ -315,7 +315,11 @@ public class DisplayAccountsFragment extends Fragment implements AccountsListAda
|
|||
dialogBuilder.setNegativeButton(R.string.cancel, (dialog, id) -> dialog.dismiss());
|
||||
|
||||
AlertDialog alertDialog = dialogBuilder.create();
|
||||
if (oldChannelValues == null) {
|
||||
alertDialog.setTitle(getString(R.string.action_channel_create));
|
||||
} else {
|
||||
alertDialog.setTitle(getString(R.string.action_channel_edit));
|
||||
}
|
||||
alertDialog.setOnDismissListener(dialogInterface -> {
|
||||
//Hide keyboard
|
||||
InputMethodManager imm = (InputMethodManager) context.getSystemService(Context.INPUT_METHOD_SERVICE);
|
||||
|
|
|
@ -152,6 +152,7 @@
|
|||
<string name="action_lists_confirm_delete">Êtes-vous sûr de vouloir supprimer définitivement cette liste de lecture ?</string>
|
||||
<string name="action_channel_confirm_delete">Êtes-vous sûr de vouloir supprimer définitivement cette chaîne ?</string>
|
||||
<string name="action_playlist_create">Créer une liste de lecture</string>
|
||||
<string name="action_playlist_edit">Modifier une liste de lecture</string>
|
||||
<string name="display_name">Nom d\'affichage</string>
|
||||
<string name="error_channel_mandatory">Un canal est requis lorsque la liste de lecture est publique.</string>
|
||||
<string name="error_display_name">Vous devez fournir un nom d\'affichage !</string>
|
||||
|
@ -205,6 +206,7 @@
|
|||
<string name="title_channel">Chaînes</string>
|
||||
<string name="name">Nom</string>
|
||||
<string name="action_channel_create">Créer une chaîne</string>
|
||||
<string name="action_channel_edit">Modifier une chaîne</string>
|
||||
<string name="delete_channel">Supprimer la chaîne</string>
|
||||
<string name="display_list">Afficher la liste</string>
|
||||
<string name="delete_list">Supprimer la liste de lecture</string>
|
||||
|
|
Loading…
Reference in New Issue