updating some resources

This commit is contained in:
tibbi 2020-04-08 11:56:16 +02:00
parent 1e54e6cde0
commit 4c7cecbe4e
4 changed files with 2 additions and 12 deletions

View File

@ -72,7 +72,7 @@ class MessagesAdapter(
val itemsCnt = selectedKeys.size
val items = resources.getQuantityString(R.plurals.delete_conversations, itemsCnt, itemsCnt)
val baseString = R.string.delete_conversations_confirmation
val baseString = R.string.delete_confirmation
val question = String.format(resources.getString(baseString), items)
ConfirmationDialog(activity, question) {

View File

@ -114,7 +114,7 @@ class ThreadAdapter(
val itemsCnt = selectedKeys.size
val items = resources.getQuantityString(R.plurals.delete_messages, itemsCnt, itemsCnt)
val baseString = R.string.delete_conversations_confirmation
val baseString = R.string.delete_confirmation
val question = String.format(resources.getString(baseString), items)
ConfirmationDialog(activity, question) {

View File

@ -1,9 +0,0 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="24dp"
android:height="24dp"
android:viewportWidth="24"
android:viewportHeight="24">
<path
android:fillColor="#FFFFFFFF"
android:pathData="M12,7L12,3L2,3v18h20L22,7L12,7zM6,19L4,19v-2h2v2zM6,15L4,15v-2h2v2zM6,11L4,11L4,9h2v2zM6,7L4,7L4,5h2v2zM10,19L8,19v-2h2v2zM10,15L8,15v-2h2v2zM10,11L8,11L8,9h2v2zM10,7L8,7L8,5h2v2zM20,19h-8v-2h2v-2h-2v-2h2v-2h-2L12,9h8v10zM18,11h-2v2h2v-2zM18,15h-2v2h2v-2z"/>
</vector>

View File

@ -15,7 +15,6 @@
<!-- Confirmation dialog -->
<string name="delete_whole_conversation_confirmation">Are you sure you want to delete all messages of this conversation?</string>
<string name="delete_conversations_confirmation">Are you sure you want to delete %s?</string> <!-- Are you sure you want to delete 5 conversations? -->
<!-- Are you sure you want to delete 5 conversations? -->
<plurals name="delete_conversations">