Commit 7a5dc36a authored by shubhsherl's avatar shubhsherl

change logout message and title

parent 7cf12e8d
......@@ -166,6 +166,7 @@ class MainPresenter @Inject constructor(
fun showLogoutDialog(context: Context) {
val builder = AlertDialog.Builder(context)
builder.setTitle(R.string.action_logout)
builder.setMessage(R.string.title_confirmation)
builder.setPositiveButton(R.string.action_logout) { _, _ -> logout()}
.setNegativeButton(R.string.action_stay) { dialog, _ -> dialog.cancel() }
......
......@@ -20,7 +20,7 @@
<string name="title_update_profile">Update Profil</string>
<string name="title_about">Über</string>
<string name="title_create_channel">Erstelle Raum</string>
<string name="title_confirmation">Are You Sure?</string><!-- TODO Add translation -->
<string name="title_confirmation">Are You Sure you want to logout?</string><!-- TODO Add translation -->
<!-- Actions -->
<string name="action_connect">Verbinde</string>
......
......@@ -19,7 +19,7 @@
<string name="title_update_profile">Actualización del perfil</string>
<string name="title_about">Acerca de</string>
<string name="title_create_channel">Crear canal</string>
<string name="title_confirmation">Are You Sure?</string> <!-- TODO Add translation -->
<string name="title_confirmation">Are You Sure you want to logout?</string> <!-- TODO Add translation -->
<!-- Actions -->
<string name="action_connect">Conectar</string>
<string name="action_use_this_username">Usa este nombre de usuario</string>
......
......@@ -20,7 +20,7 @@
<string name="title_update_profile">Mettre à jour le profil</string>
<string name="title_about">À propos</string>
<string name="title_create_channel">Créer salon</string>
<string name="title_confirmation">Are You Sure?</string> <!-- TODO Add translation -->
<string name="title_confirmation">Are You Sure you want to logout?</string> <!-- TODO Add translation -->
......
......@@ -20,7 +20,7 @@
<string name="title_update_profile">प्रोफ़ाइल अपडेट करें</string>
<string name="title_about">परिचय</string>
<string name="title_create_channel">चैनल बनाएं</string>
<string name="title_confirmation">Are You Sure?</string> <!-- TODO Add translation -->
<string name="title_confirmation">Are You Sure you want to logout?</string> <!-- TODO Add translation -->
<!-- Actions -->
......
......@@ -22,7 +22,7 @@
<string name="title_update_profile">プロフィールの更新</string>
<string name="title_about">About</string>
<string name="title_create_channel">新しいチャネルを作成します</string>
<string name="title_confirmation">Are You Sure?</string> <!-- TODO Add translation -->
<string name="title_confirmation">Are You Sure you want to logout?</string> <!-- TODO Add translation -->
<!-- Actions -->
......
......@@ -20,7 +20,7 @@
<string name="title_update_profile">Editar perfil</string>
<string name="title_about">Sobre</string>
<string name="title_create_channel">Criar chat</string>
<string name="title_confirmation">Are You Sure?</string> <!-- TODO Add translation -->
<string name="title_confirmation">Are You Sure you want to logout?</string> <!-- TODO Add translation -->
<!-- Actions -->
......
......@@ -20,7 +20,7 @@
<string name="title_update_profile">Обновить профиль</string>
<string name="title_about">О программе</string>
<string name="title_create_channel">Создать новый канал</string>
<string name="title_confirmation">Are You Sure?</string> <!-- TODO Add translation -->
<string name="title_confirmation">Are You Sure you want to logout?</string> <!-- TODO Add translation -->
<!-- Actions -->
......
......@@ -20,7 +20,7 @@
<string name="title_update_profile">Profilinizi Düzenleyin</string>
<string name="title_about">Hakkında</string>
<string name="title_create_channel">Yeni Kanal Oluştur</string>
<string name="title_confirmation">Are You Sure?</string> <!-- TODO Add translation -->
<string name="title_confirmation">Are You Sure you want to logout?</string> <!-- TODO Add translation -->
<!-- Actions -->
......
......@@ -20,7 +20,7 @@
<string name="title_update_profile">Оновити профіль</string>
<string name="title_about">"Про програму"</string>
<string name="title_create_channel">Створити новий канал</string>
<string name="title_confirmation">Are You Sure?</string> <!-- TODO Add translation -->
<string name="title_confirmation">Are You Sure you want to logout?</string> <!-- TODO Add translation -->
<!-- Actions -->
......
......@@ -32,7 +32,7 @@ https://github.com/RocketChat/java-code-styles/blob/master/CODING_STYLE.md#strin
<string name="title_update_profile">Update profile</string>
<string name="title_about">About</string>
<string name="title_create_channel">Create Channel</string>
<string name="title_confirmation">Are You Sure?</string>
<string name="title_confirmation">Are You Sure you want to logout?</string>
<!-- Actions -->
<string name="action_connect">Connect</string>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment