Skip to content
This repository has been archived by the owner on Nov 14, 2024. It is now read-only.

Commit

Permalink
Add dialog message for edit profile activity
Browse files Browse the repository at this point in the history
  • Loading branch information
AnGgIt86 committed Sep 28, 2024
1 parent 64c7c0d commit 3090728
Show file tree
Hide file tree
Showing 12 changed files with 20 additions and 0 deletions.
9 changes: 9 additions & 0 deletions app/src/main/java/com/neko/uwu/TambahActivity.kt
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ class TambahActivity : BaseActivity() {
}
}
})
infoPendaftaran()
}

private fun saveDataUwu(): Boolean {
Expand Down Expand Up @@ -204,4 +205,12 @@ class TambahActivity : BaseActivity() {
softInputAssist.onDestroy()
super.onDestroy()
}

private fun infoPendaftaran() {
val builder = MaterialAlertDialogBuilder(this)
builder.setMessage(R.string.uwu_daftar_message)
.setCancelable(false)
.setPositiveButton(R.string.ok, null)
.show()
}
}
1 change: 1 addition & 0 deletions app/src/main/res/values-ar/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -370,5 +370,6 @@
<string name="uwu_date_dialog">لا يمكن ترك تاريخ الميلاد فارغًا</string>
<string name="uwu_hobi_dialog">الهوايات لا يمكن أن تكون فارغة</string>
<string name="uwu_email_dialog">لا يمكن أن يكون البريد الإلكتروني فارغًا</string>
<string name="uwu_daftar_message">يرجى ملء بياناتك الشخصية لتتمكن من استخدام تطبيق Neko-ray.</string>
<!-- Neko strings -->
</resources>
1 change: 1 addition & 0 deletions app/src/main/res/values-fa/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -372,5 +372,6 @@
<string name="uwu_date_dialog">تاریخ تولد نمی تواند خالی باشد</string>
<string name="uwu_hobi_dialog">سرگرمی ها نمی توانند خالی باشند</string>
<string name="uwu_email_dialog">ایمیل نمی تواند خالی باشد</string>
<string name="uwu_daftar_message">لطفاً اطلاعات شخصی خود را وارد کنید تا بتوانید از برنامه Neko-ray استفاده کنید.</string>
<!-- Neko strings -->
</resources>
1 change: 1 addition & 0 deletions app/src/main/res/values-in/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -372,5 +372,6 @@
<string name="uwu_date_dialog">Tanggal Lahir Tidak Boleh Kosong</string>
<string name="uwu_hobi_dialog">Hobi Tidak Bisa Kosong</string>
<string name="uwu_email_dialog">Email Tidak Boleh Kosong</string>
<string name="uwu_daftar_message">Silakan isi data pribadi Anda untuk dapat menggunakan aplikasi Neko-ray.</string>
<!-- Neko strings -->
</resources>
1 change: 1 addition & 0 deletions app/src/main/res/values-ja/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -370,5 +370,6 @@
<string name="uwu_date_dialog">生年月日は空欄にできません</string>
<string name="uwu_hobi_dialog">趣味は空っぽではいけない</string>
<string name="uwu_email_dialog">メールアドレスは空欄にできません</string>
<string name="uwu_daftar_message">Neko-rayアプリをご利用いただくには、個人情報を入力してください。</string>
<!-- Neko strings -->
</resources>
1 change: 1 addition & 0 deletions app/src/main/res/values-jw/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -372,5 +372,6 @@
<string name="uwu_date_dialog">Tanggal Lair Ora Bisa Kosong</string>
<string name="uwu_hobi_dialog">Hobi Ora Bisa Kosong</string>
<string name="uwu_email_dialog">Email Ora Bisa Kosong</string>
<string name="uwu_daftar_message">Mangga isi data pribadi supaya bisa nggunakake aplikasi Neko-ray.</string>
<!-- Neko strings -->
</resources>
1 change: 1 addition & 0 deletions app/src/main/res/values-ru/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -370,5 +370,6 @@
<string name="uwu_date_dialog">Поле «Дата рождения» не может быть пустым.</string>
<string name="uwu_hobi_dialog">Хобби не может быть пустым</string>
<string name="uwu_email_dialog">Электронная почта не может быть пустой</string>
<string name="uwu_daftar_message">Пожалуйста, заполните ваши персональные данные, чтобы иметь возможность использовать приложение Neko-ray.</string>
<!-- Neko strings -->
</resources>
1 change: 1 addition & 0 deletions app/src/main/res/values-su/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -372,5 +372,6 @@
<string name="uwu_date_dialog">Tanggal Lahir Teu Bisa Kosong</string>
<string name="uwu_hobi_dialog">Hobi Teu Bisa Kosong</string>
<string name="uwu_email_dialog">Surélék Teu Bisa Dikosongkeun</string>
<string name="uwu_daftar_message">Mangga eusian data pribadi Anjeun pikeun bisa ngagunakeun aplikasi Neko-ray.</string>
<!-- Neko strings -->
</resources>
1 change: 1 addition & 0 deletions app/src/main/res/values-vi/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -370,5 +370,6 @@
<string name="uwu_date_dialog">Ngày sinh không được để trống</string>
<string name="uwu_hobi_dialog">Sở thích không thể bỏ trống</string>
<string name="uwu_email_dialog">Email không được để trống</string>
<string name="uwu_daftar_message">Vui lòng điền thông tin cá nhân của bạn để có thể sử dụng ứng dụng Neko-ray.</string>
<!-- Neko strings -->
</resources>
1 change: 1 addition & 0 deletions app/src/main/res/values-zh-rCN/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -370,5 +370,6 @@
<string name="uwu_date_dialog">出生日期不能为空</string>
<string name="uwu_hobi_dialog">兴趣爱好不能为空</string>
<string name="uwu_email_dialog">邮箱不能为空</string>
<string name="uwu_daftar_message">请填写您的个人数据以便使用 Neko-ray 应用程序。</string>
<!-- Neko strings -->
</resources>
1 change: 1 addition & 0 deletions app/src/main/res/values-zh-rTW/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -370,5 +370,6 @@
<string name="uwu_date_dialog">出生日期不能為空</string>
<string name="uwu_hobi_dialog">興趣嗜好不能為空</string>
<string name="uwu_email_dialog">郵箱不能為空</string>
<string name="uwu_daftar_message">請填寫您的個人資料以便能夠使用 Neko-ray 應用程式。</string>
<!-- Neko strings -->
</resources>
1 change: 1 addition & 0 deletions app/src/main/res/values/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -373,5 +373,6 @@
<string name="uwu_date_dialog">Date of Birth Cannot Be Blank</string>
<string name="uwu_hobi_dialog">Hobbies Cannot Be Empty</string>
<string name="uwu_email_dialog">Email Cannot Be Empty</string>
<string name="uwu_daftar_message">Please fill in your personal data to be able to use the Neko-ray application.</string>
<!-- Neko strings -->
</resources>

0 comments on commit 3090728

Please sign in to comment.