From bdd506c96e384b6d417a5af646738595ae716444 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ensar=20Saraj=C4=8Di=C4=87?= Date: Mon, 10 Jul 2023 16:43:07 +0200 Subject: [PATCH] Add message details menu button Adds a "Properties" menu button in conversation, when one message is selected, which displays details about the message: - Type (SMS or MMS) - Sender phone number (or receiver if it is a sent message) - Used SIM - Date sent at - Date received at (if it is an incoming message) This closes #19 --- .../smsmessenger/activities/ThreadActivity.kt | 1 + .../smsmessenger/adapters/ThreadAdapter.kt | 9 +++ .../databases/MessagesDatabase.kt | 12 +++- .../dialogs/MessageDetailsDialog.kt | 72 +++++++++++++++++++ .../smsmessenger/extensions/Context.kt | 53 +++++++++++++- .../smsmessenger/models/Message.kt | 2 + .../smsmessenger/receivers/SmsReceiver.kt | 22 ++++-- .../res/layout/dialog_message_details.xml | 12 ++++ app/src/main/res/menu/cab_thread.xml | 5 ++ app/src/main/res/values-ar/strings.xml | 9 ++- app/src/main/res/values-az/strings.xml | 7 ++ app/src/main/res/values-be/strings.xml | 7 ++ app/src/main/res/values-bg/strings.xml | 7 ++ app/src/main/res/values-ca/strings.xml | 9 ++- app/src/main/res/values-cr/strings.xml | 7 ++ app/src/main/res/values-cs/strings.xml | 9 ++- app/src/main/res/values-da/strings.xml | 7 ++ app/src/main/res/values-de/strings.xml | 9 ++- app/src/main/res/values-el/strings.xml | 7 ++ app/src/main/res/values-eo/strings.xml | 7 ++ app/src/main/res/values-es/strings.xml | 9 ++- app/src/main/res/values-et/strings.xml | 9 ++- app/src/main/res/values-fi/strings.xml | 9 ++- app/src/main/res/values-fr/strings.xml | 9 ++- app/src/main/res/values-gl/strings.xml | 9 ++- app/src/main/res/values-hi/strings.xml | 7 ++ app/src/main/res/values-hr/strings.xml | 9 ++- app/src/main/res/values-hu/strings.xml | 7 ++ app/src/main/res/values-in/strings.xml | 7 ++ app/src/main/res/values-is/strings.xml | 7 ++ app/src/main/res/values-it/strings.xml | 9 ++- app/src/main/res/values-iw/strings.xml | 7 ++ app/src/main/res/values-ja/strings.xml | 7 ++ app/src/main/res/values-lt/strings.xml | 7 ++ app/src/main/res/values-lv/strings.xml | 7 ++ app/src/main/res/values-mk/strings.xml | 7 ++ app/src/main/res/values-ml/strings.xml | 7 ++ app/src/main/res/values-nb-rNO/strings.xml | 9 ++- app/src/main/res/values-nl/strings.xml | 9 ++- app/src/main/res/values-pa-rPK/strings.xml | 7 ++ app/src/main/res/values-pl/strings.xml | 9 ++- app/src/main/res/values-pt-rBR/strings.xml | 9 ++- app/src/main/res/values-pt/strings.xml | 9 ++- app/src/main/res/values-ro/strings.xml | 7 ++ app/src/main/res/values-ru/strings.xml | 9 ++- app/src/main/res/values-sk/strings.xml | 7 ++ app/src/main/res/values-sl/strings.xml | 7 ++ app/src/main/res/values-sr/strings.xml | 7 ++ app/src/main/res/values-sv/strings.xml | 9 ++- app/src/main/res/values-ta/strings.xml | 7 ++ app/src/main/res/values-th/strings.xml | 7 ++ app/src/main/res/values-tr/strings.xml | 9 ++- app/src/main/res/values-uk/strings.xml | 9 ++- app/src/main/res/values-zh-rCN/strings.xml | 9 ++- app/src/main/res/values-zh-rTW/strings.xml | 7 ++ app/src/main/res/values/strings.xml | 7 ++ 56 files changed, 530 insertions(+), 29 deletions(-) create mode 100644 app/src/main/kotlin/com/simplemobiletools/smsmessenger/dialogs/MessageDetailsDialog.kt create mode 100644 app/src/main/res/layout/dialog_message_details.xml diff --git a/app/src/main/kotlin/com/simplemobiletools/smsmessenger/activities/ThreadActivity.kt b/app/src/main/kotlin/com/simplemobiletools/smsmessenger/activities/ThreadActivity.kt index 62e03a05b..0b1727da5 100644 --- a/app/src/main/kotlin/com/simplemobiletools/smsmessenger/activities/ThreadActivity.kt +++ b/app/src/main/kotlin/com/simplemobiletools/smsmessenger/activities/ThreadActivity.kt @@ -1602,6 +1602,7 @@ class ThreadActivity : SimpleActivity() { status = STATUS_NONE, participants = participants, date = (scheduledDateTime.millis / 1000).toInt(), + dateSent = (scheduledDateTime.millis / 1000).toInt(), read = false, threadId = threadId, isMMS = isMmsMessage(text), diff --git a/app/src/main/kotlin/com/simplemobiletools/smsmessenger/adapters/ThreadAdapter.kt b/app/src/main/kotlin/com/simplemobiletools/smsmessenger/adapters/ThreadAdapter.kt index c23cf7b4e..b32f42f0a 100644 --- a/app/src/main/kotlin/com/simplemobiletools/smsmessenger/adapters/ThreadAdapter.kt +++ b/app/src/main/kotlin/com/simplemobiletools/smsmessenger/adapters/ThreadAdapter.kt @@ -33,6 +33,7 @@ import com.simplemobiletools.smsmessenger.activities.NewConversationActivity import com.simplemobiletools.smsmessenger.activities.SimpleActivity import com.simplemobiletools.smsmessenger.activities.ThreadActivity import com.simplemobiletools.smsmessenger.activities.VCardViewerActivity +import com.simplemobiletools.smsmessenger.dialogs.MessageDetailsDialog import com.simplemobiletools.smsmessenger.dialogs.SelectTextDialog import com.simplemobiletools.smsmessenger.extensions.* import com.simplemobiletools.smsmessenger.helpers.* @@ -82,6 +83,7 @@ class ThreadAdapter( findItem(R.id.cab_share).isVisible = isOneItemSelected && hasText findItem(R.id.cab_forward_message).isVisible = isOneItemSelected findItem(R.id.cab_select_text).isVisible = isOneItemSelected && hasText + findItem(R.id.cab_properties).isVisible = isOneItemSelected } } @@ -98,6 +100,7 @@ class ThreadAdapter( R.id.cab_select_text -> selectText() R.id.cab_delete -> askConfirmDelete() R.id.cab_select_all -> selectAll() + R.id.cab_properties -> showMessageDetails() } } @@ -184,6 +187,12 @@ class ThreadAdapter( } } + private fun showMessageDetails() { + val message = getSelectedItems().firstOrNull() as? Message ?: return + MessageDetailsDialog(activity, message) + } + + private fun askConfirmDelete() { val itemsCnt = selectedKeys.size diff --git a/app/src/main/kotlin/com/simplemobiletools/smsmessenger/databases/MessagesDatabase.kt b/app/src/main/kotlin/com/simplemobiletools/smsmessenger/databases/MessagesDatabase.kt index fca0754b7..8b11a1b9b 100644 --- a/app/src/main/kotlin/com/simplemobiletools/smsmessenger/databases/MessagesDatabase.kt +++ b/app/src/main/kotlin/com/simplemobiletools/smsmessenger/databases/MessagesDatabase.kt @@ -17,7 +17,7 @@ import com.simplemobiletools.smsmessenger.models.Conversation import com.simplemobiletools.smsmessenger.models.Message import com.simplemobiletools.smsmessenger.models.MessageAttachment -@Database(entities = [Conversation::class, Attachment::class, MessageAttachment::class, Message::class], version = 7) +@Database(entities = [Conversation::class, Attachment::class, MessageAttachment::class, Message::class], version = 8) @TypeConverters(Converters::class) abstract class MessagesDatabase : RoomDatabase() { @@ -44,6 +44,7 @@ abstract class MessagesDatabase : RoomDatabase() { .addMigrations(MIGRATION_4_5) .addMigrations(MIGRATION_5_6) .addMigrations(MIGRATION_6_7) + .addMigrations(MIGRATION_7_8) .build() } } @@ -115,5 +116,14 @@ abstract class MessagesDatabase : RoomDatabase() { } } } + + private val MIGRATION_7_8 = object : Migration(7, 8) { + override fun migrate(database: SupportSQLiteDatabase) { + database.apply { + execSQL("ALTER TABLE messages ADD COLUMN date_sent INTEGER NOT NULL DEFAULT 0") + execSQL("UPDATE messages SET date_sent = date") + } + } + } } } diff --git a/app/src/main/kotlin/com/simplemobiletools/smsmessenger/dialogs/MessageDetailsDialog.kt b/app/src/main/kotlin/com/simplemobiletools/smsmessenger/dialogs/MessageDetailsDialog.kt new file mode 100644 index 000000000..0dc79d0e2 --- /dev/null +++ b/app/src/main/kotlin/com/simplemobiletools/smsmessenger/dialogs/MessageDetailsDialog.kt @@ -0,0 +1,72 @@ +package com.simplemobiletools.smsmessenger.dialogs + +import android.annotation.SuppressLint +import android.telephony.SubscriptionInfo +import com.simplemobiletools.commons.activities.BaseSimpleActivity +import com.simplemobiletools.commons.extensions.getAlertDialogBuilder +import com.simplemobiletools.commons.extensions.getTimeFormat +import com.simplemobiletools.commons.extensions.setupDialogStuff +import com.simplemobiletools.smsmessenger.R +import com.simplemobiletools.smsmessenger.extensions.config +import com.simplemobiletools.smsmessenger.extensions.subscriptionManagerCompat +import com.simplemobiletools.smsmessenger.models.Message +import kotlinx.android.synthetic.main.dialog_message_details.view.dialog_message_details_text_value +import org.joda.time.DateTime + +class MessageDetailsDialog(val activity: BaseSimpleActivity, val message: Message) { + init { + @SuppressLint("MissingPermission") + val availableSIMs = activity.subscriptionManagerCompat().activeSubscriptionInfoList + + @SuppressLint("SetTextI18n") + val view = activity.layoutInflater.inflate(R.layout.dialog_message_details, null).apply { + dialog_message_details_text_value.text = """ + ${activity.getString(R.string.message_details_type)}: ${message.getMessageType()} + ${message.getReceiverOrSenderLabel()}: ${message.getReceiverOrSenderPhoneNumbers()} + SIM: ${message.getSIM(availableSIMs)} + ${activity.getString(R.string.message_details_sent_at)}: ${message.getSentAt()} + ${message.getReceivedAtLine()} + """.trimIndent().trimEnd() + } + + activity.getAlertDialogBuilder() + .setPositiveButton(R.string.ok) { _, _ -> } + .apply { + activity.setupDialogStuff(view, this, R.string.message_details) + } + } + + private fun Message.getMessageType(): String = if (isMMS) "MMS" else "SMS" + + private fun Message.getReceiverOrSenderLabel(): String { + return if (isReceivedMessage()) { + activity.getString(R.string.message_details_sender) + } else { + activity.getString(R.string.message_details_receiver) + } + } + + private fun Message.getReceiverOrSenderPhoneNumbers(): String { + return participants.joinToString(", ") { it.phoneNumbers.first().value } + } + + private fun Message.getSIM(availableSIMs: List): String { + return availableSIMs.firstOrNull { it.subscriptionId == subscriptionId }?.displayName?.toString() ?: activity.getString(R.string.unknown) + } + + private fun Message.getSentAt(): String { + return DateTime(dateSent * 1000L).toString(activity.config.dateFormat + " " + activity.getTimeFormat()) + } + + private fun Message.getReceivedAtLine(): String { + return if (isReceivedMessage()) { + "${activity.getString(R.string.message_details_received_at)}: ${getReceivedAt()}" + } else { + "" + } + } + + private fun Message.getReceivedAt(): String { + return DateTime(date * 1000L).toString(activity.config.dateFormat + " " + activity.getTimeFormat()) + } +} diff --git a/app/src/main/kotlin/com/simplemobiletools/smsmessenger/extensions/Context.kt b/app/src/main/kotlin/com/simplemobiletools/smsmessenger/extensions/Context.kt index c96197011..b239f32e9 100644 --- a/app/src/main/kotlin/com/simplemobiletools/smsmessenger/extensions/Context.kt +++ b/app/src/main/kotlin/com/simplemobiletools/smsmessenger/extensions/Context.kt @@ -70,6 +70,7 @@ fun Context.getMessages( Sms.TYPE, Sms.ADDRESS, Sms.DATE, + Sms.DATE_SENT, Sms.READ, Sms.THREAD_ID, Sms.SUBSCRIPTION_ID, @@ -106,6 +107,7 @@ fun Context.getMessages( val senderName = namePhoto.name val photoUri = namePhoto.photoUri ?: "" val date = (cursor.getLongValue(Sms.DATE) / 1000).toInt() + val dateSent = (cursor.getLongValue(Sms.DATE_SENT) / 1000).toInt() val read = cursor.getIntValue(Sms.READ) == 1 val thread = cursor.getLongValue(Sms.THREAD_ID) val subscriptionId = cursor.getIntValue(Sms.SUBSCRIPTION_ID) @@ -117,7 +119,23 @@ fun Context.getMessages( } val isMMS = false val message = - Message(id, body, type, status, ArrayList(participants), date, read, thread, isMMS, null, senderNumber, senderName, photoUri, subscriptionId) + Message( + id, + body, + type, + status, + ArrayList(participants), + date, + dateSent, + read, + thread, + isMMS, + null, + senderNumber, + senderName, + photoUri, + subscriptionId + ) messages.add(message) } @@ -148,6 +166,7 @@ fun Context.getMMS(threadId: Long? = null, getImageResolutions: Boolean = false, val projection = arrayOf( Mms._ID, Mms.DATE, + Mms.DATE_SENT, Mms.READ, Mms.MESSAGE_BOX, Mms.THREAD_ID, @@ -175,6 +194,7 @@ fun Context.getMMS(threadId: Long? = null, getImageResolutions: Boolean = false, val mmsId = cursor.getLongValue(Mms._ID) val type = cursor.getIntValue(Mms.MESSAGE_BOX) val date = cursor.getLongValue(Mms.DATE).toInt() + val dateSent = cursor.getLongValue(Mms.DATE_SENT).toInt() val read = cursor.getIntValue(Mms.READ) == 1 val threadId = cursor.getLongValue(Mms.THREAD_ID) val subscriptionId = cursor.getIntValue(Mms.SUBSCRIPTION_ID) @@ -202,7 +222,23 @@ fun Context.getMMS(threadId: Long? = null, getImageResolutions: Boolean = false, } val message = - Message(mmsId, body, type, status, participants, date, read, threadId, isMMS, attachment, senderNumber, senderName, senderPhotoUri, subscriptionId) + Message( + mmsId, + body, + type, + status, + participants, + date, + dateSent, + read, + threadId, + isMMS, + attachment, + senderNumber, + senderName, + senderPhotoUri, + subscriptionId + ) messages.add(message) participants.forEach { @@ -560,13 +596,24 @@ fun Context.getNameAndPhotoFromPhoneNumber(number: String): NamePhoto { return NamePhoto(number, null) } -fun Context.insertNewSMS(address: String, subject: String, body: String, date: Long, read: Int, threadId: Long, type: Int, subscriptionId: Int): Long { +fun Context.insertNewSMS( + address: String, + subject: String, + body: String, + date: Long, + dateSent: Long, + read: Int, + threadId: Long, + type: Int, + subscriptionId: Int +): Long { val uri = Sms.CONTENT_URI val contentValues = ContentValues().apply { put(Sms.ADDRESS, address) put(Sms.SUBJECT, subject) put(Sms.BODY, body) put(Sms.DATE, date) + put(Sms.DATE_SENT, dateSent) put(Sms.READ, read) put(Sms.THREAD_ID, threadId) put(Sms.TYPE, type) diff --git a/app/src/main/kotlin/com/simplemobiletools/smsmessenger/models/Message.kt b/app/src/main/kotlin/com/simplemobiletools/smsmessenger/models/Message.kt index d4f6de58f..584332ca2 100644 --- a/app/src/main/kotlin/com/simplemobiletools/smsmessenger/models/Message.kt +++ b/app/src/main/kotlin/com/simplemobiletools/smsmessenger/models/Message.kt @@ -14,6 +14,7 @@ data class Message( @ColumnInfo(name = "status") val status: Int, @ColumnInfo(name = "participants") val participants: ArrayList, @ColumnInfo(name = "date") val date: Int, + @ColumnInfo(name = "date_sent") val dateSent: Int, @ColumnInfo(name = "read") val read: Boolean, @ColumnInfo(name = "thread_id") val threadId: Long, @ColumnInfo(name = "is_mms") val isMMS: Boolean, @@ -58,6 +59,7 @@ data class Message( return old.body == new.body && old.threadId == new.threadId && old.date == new.date && + old.dateSent == new.dateSent && old.isMMS == new.isMMS && old.attachment == new.attachment && old.senderPhoneNumber == new.senderPhoneNumber && diff --git a/app/src/main/kotlin/com/simplemobiletools/smsmessenger/receivers/SmsReceiver.kt b/app/src/main/kotlin/com/simplemobiletools/smsmessenger/receivers/SmsReceiver.kt index d947190eb..5f54d6fae 100644 --- a/app/src/main/kotlin/com/simplemobiletools/smsmessenger/receivers/SmsReceiver.kt +++ b/app/src/main/kotlin/com/simplemobiletools/smsmessenger/receivers/SmsReceiver.kt @@ -24,6 +24,7 @@ class SmsReceiver : BroadcastReceiver() { var body = "" var subject = "" var date = 0L + var dateSent = 0L var threadId = 0L var status = Telephony.Sms.STATUS_NONE val type = Telephony.Sms.MESSAGE_TYPE_INBOX @@ -38,6 +39,7 @@ class SmsReceiver : BroadcastReceiver() { status = it.status body += it.messageBody date = System.currentTimeMillis() + dateSent = it.timestampMillis threadId = context.getThreadId(address) } @@ -45,17 +47,27 @@ class SmsReceiver : BroadcastReceiver() { val simpleContactsHelper = SimpleContactsHelper(context) simpleContactsHelper.exists(address, privateCursor) { exists -> if (exists) { - handleMessage(context, address, subject, body, date, read, threadId, type, subscriptionId, status) + handleMessage(context, address, subject, body, date, dateSent, read, threadId, type, subscriptionId, status) } } } else { - handleMessage(context, address, subject, body, date, read, threadId, type, subscriptionId, status) + handleMessage(context, address, subject, body, date, dateSent, read, threadId, type, subscriptionId, status) } } } private fun handleMessage( - context: Context, address: String, subject: String, body: String, date: Long, read: Int, threadId: Long, type: Int, subscriptionId: Int, status: Int + context: Context, + address: String, + subject: String, + body: String, + date: Long, + dateSent: Long, + read: Int, + threadId: Long, + type: Int, + subscriptionId: Int, + status: Int ) { val photoUri = SimpleContactsHelper(context).getPhotoUriFromPhoneNumber(address) val bitmap = context.getNotificationBitmap(photoUri) @@ -63,7 +75,7 @@ class SmsReceiver : BroadcastReceiver() { if (!context.isNumberBlocked(address)) { val privateCursor = context.getMyContactsCursor(favoritesOnly = false, withPhoneNumbersOnly = true) ensureBackgroundThread { - val newMessageId = context.insertNewSMS(address, subject, body, date, read, threadId, type, subscriptionId) + val newMessageId = context.insertNewSMS(address, subject, body, date, dateSent, read, threadId, type, subscriptionId) val conversation = context.getConversations(threadId).firstOrNull() ?: return@ensureBackgroundThread try { @@ -81,6 +93,7 @@ class SmsReceiver : BroadcastReceiver() { val participant = SimpleContact(0, 0, senderName, photoUri, arrayListOf(phoneNumber), ArrayList(), ArrayList()) val participants = arrayListOf(participant) val messageDate = (date / 1000).toInt() + val messageSentDate = (dateSent / 1000).toInt() val message = Message( @@ -90,6 +103,7 @@ class SmsReceiver : BroadcastReceiver() { status, participants, messageDate, + messageSentDate, false, threadId, false, diff --git a/app/src/main/res/layout/dialog_message_details.xml b/app/src/main/res/layout/dialog_message_details.xml new file mode 100644 index 000000000..13b68aaf9 --- /dev/null +++ b/app/src/main/res/layout/dialog_message_details.xml @@ -0,0 +1,12 @@ + + diff --git a/app/src/main/res/menu/cab_thread.xml b/app/src/main/res/menu/cab_thread.xml index 2d4351e90..a1150743c 100644 --- a/app/src/main/res/menu/cab_thread.xml +++ b/app/src/main/res/menu/cab_thread.xml @@ -26,6 +26,11 @@ android:icon="@drawable/ic_save_vector" android:title="@string/save_as" app:showAsAction="ifRoom" /> + استمر في تشغيل الهاتف وتأكد من عدم وجود شيء يقتل التطبيق أثناء وجوده في الخلفية. Update message ارسل الان + + Message details + Sender + Receiver + Type + Sent at + Received at تم تلقي الرسائل القصيرة رسالة جديدة @@ -119,4 +126,4 @@ Haven't found some strings? There's more at https://github.com/SimpleMobileTools/Simple-Commons/tree/master/commons/src/main/res --> - \ No newline at end of file + diff --git a/app/src/main/res/values-az/strings.xml b/app/src/main/res/values-az/strings.xml index 669639ec4..6a39a91fe 100644 --- a/app/src/main/res/values-az/strings.xml +++ b/app/src/main/res/values-az/strings.xml @@ -46,6 +46,13 @@ Keep the phone on and make sure there is nothing killing the app while in background. Update message Send now + + Message details + Sender + Receiver + Type + Sent at + Received at Received SMS New message diff --git a/app/src/main/res/values-be/strings.xml b/app/src/main/res/values-be/strings.xml index 80dabae26..bff31275f 100644 --- a/app/src/main/res/values-be/strings.xml +++ b/app/src/main/res/values-be/strings.xml @@ -48,6 +48,13 @@ Keep the phone on and make sure there is nothing killing the app while in background. Update message Send now + + Message details + Sender + Receiver + Type + Sent at + Received at Атрымана паведамленне Новае паведамленне diff --git a/app/src/main/res/values-bg/strings.xml b/app/src/main/res/values-bg/strings.xml index 50d6c913d..f90780d6f 100644 --- a/app/src/main/res/values-bg/strings.xml +++ b/app/src/main/res/values-bg/strings.xml @@ -46,6 +46,13 @@ Keep the phone on and make sure there is nothing killing the app while in background. Update message Send now + + Message details + Sender + Receiver + Type + Sent at + Received at Получено съобщение Ново съобщение diff --git a/app/src/main/res/values-ca/strings.xml b/app/src/main/res/values-ca/strings.xml index 18e938e5a..390b5504a 100644 --- a/app/src/main/res/values-ca/strings.xml +++ b/app/src/main/res/values-ca/strings.xml @@ -46,6 +46,13 @@ Mantingueu el telèfon engegat i assegureu-vos que no hi hagi res que mati les aplicacions en segon pla. Update message Envia ara + + Message details + Sender + Receiver + Type + Sent at + Received at SMS rebut Missatge nou @@ -107,4 +114,4 @@ Haven't found some strings? There's more at https://github.com/SimpleMobileTools/Simple-Commons/tree/master/commons/src/main/res --> - \ No newline at end of file + diff --git a/app/src/main/res/values-cr/strings.xml b/app/src/main/res/values-cr/strings.xml index 669639ec4..6a39a91fe 100644 --- a/app/src/main/res/values-cr/strings.xml +++ b/app/src/main/res/values-cr/strings.xml @@ -46,6 +46,13 @@ Keep the phone on and make sure there is nothing killing the app while in background. Update message Send now + + Message details + Sender + Receiver + Type + Sent at + Received at Received SMS New message diff --git a/app/src/main/res/values-cs/strings.xml b/app/src/main/res/values-cs/strings.xml index 56ee70771..df477ff53 100644 --- a/app/src/main/res/values-cs/strings.xml +++ b/app/src/main/res/values-cs/strings.xml @@ -47,6 +47,13 @@ Ponechte telefon zapnutý a ujistěte se, že nic nezabije aplikaci běžící na pozadí. Update message Odeslat nyní + + Message details + Sender + Receiver + Type + Sent at + Received at Přijaté SMS Nová zpráva @@ -110,4 +117,4 @@ Haven't found some strings? There's more at https://github.com/SimpleMobileTools/Simple-Commons/tree/master/commons/src/main/res --> - \ No newline at end of file + diff --git a/app/src/main/res/values-da/strings.xml b/app/src/main/res/values-da/strings.xml index a7b1a837f..d6a953223 100644 --- a/app/src/main/res/values-da/strings.xml +++ b/app/src/main/res/values-da/strings.xml @@ -46,6 +46,13 @@ Keep the phone on and make sure there is nothing killing the app while in background. Update message Send now + + Message details + Sender + Receiver + Type + Sent at + Received at Modtag SMS Ny Besked diff --git a/app/src/main/res/values-de/strings.xml b/app/src/main/res/values-de/strings.xml index dd571c635..4a9ab8433 100644 --- a/app/src/main/res/values-de/strings.xml +++ b/app/src/main/res/values-de/strings.xml @@ -46,6 +46,13 @@ Lassen Sie das Telefon eingeschaltet und vergewissern Sie sich, dass die Anwendung im Hintergrund nicht abgeschaltet wird. Nachricht aktualisieren Jetzt senden + + Message details + Sender + Receiver + Type + Sent at + Received at Empfangene SMS Neue Nachricht @@ -107,4 +114,4 @@ Haven't found some strings? There's more at https://github.com/SimpleMobileTools/Simple-Commons/tree/master/commons/src/main/res --> - \ No newline at end of file + diff --git a/app/src/main/res/values-el/strings.xml b/app/src/main/res/values-el/strings.xml index 5e6139218..0af6e1f1a 100644 --- a/app/src/main/res/values-el/strings.xml +++ b/app/src/main/res/values-el/strings.xml @@ -46,6 +46,13 @@ Κρατήστε το τηλέφωνο ανοιχτό και βεβαιωθείτε ότι δεν υπάρχει τίποτα που να κλείνει την εφαρμογή ενώ βρίσκεται στο παρασκήνιο. Ενημέρωση μηνύματος Αποστολή τώρα + + Message details + Sender + Receiver + Type + Sent at + Received at Ελήφθη SMS Νέο μήνυμα diff --git a/app/src/main/res/values-eo/strings.xml b/app/src/main/res/values-eo/strings.xml index 1f3ce2443..55a86b4c7 100644 --- a/app/src/main/res/values-eo/strings.xml +++ b/app/src/main/res/values-eo/strings.xml @@ -46,6 +46,13 @@ Keep the phone on and make sure there is nothing killing the app while in background. Update message Send now + + Message details + Sender + Receiver + Type + Sent at + Received at Received SMS Nova mesaĝo diff --git a/app/src/main/res/values-es/strings.xml b/app/src/main/res/values-es/strings.xml index f4b255688..db69cdf0f 100644 --- a/app/src/main/res/values-es/strings.xml +++ b/app/src/main/res/values-es/strings.xml @@ -47,6 +47,13 @@ Mantenga el teléfono encendido y asegúrese de que no hay nada que mate la aplicación en segundo plano. Actualizar mensaje Enviar ahora + + Message details + Sender + Receiver + Type + Sent at + Received at Mensaje recibido Nuevo mensaje @@ -110,4 +117,4 @@ Haven't found some strings? There's more at https://github.com/SimpleMobileTools/Simple-Commons/tree/master/commons/src/main/res --> - \ No newline at end of file + diff --git a/app/src/main/res/values-et/strings.xml b/app/src/main/res/values-et/strings.xml index d23562aee..c15c81401 100644 --- a/app/src/main/res/values-et/strings.xml +++ b/app/src/main/res/values-et/strings.xml @@ -46,6 +46,13 @@ Vaata, et telefon oleks sisse lülitatud ja mitte miski ei katkestaks selle rakenduse tööd taustal. Update message Saada kohe + + Message details + Sender + Receiver + Type + Sent at + Received at Vastuvõetud SMS Uus sõnum @@ -107,4 +114,4 @@ Haven't found some strings? There's more at https://github.com/SimpleMobileTools/Simple-Commons/tree/master/commons/src/main/res --> - \ No newline at end of file + diff --git a/app/src/main/res/values-fi/strings.xml b/app/src/main/res/values-fi/strings.xml index 5912ef490..f7d847f60 100644 --- a/app/src/main/res/values-fi/strings.xml +++ b/app/src/main/res/values-fi/strings.xml @@ -46,6 +46,13 @@ Pidä puhelin päällä ja varmista, ettei sovellusta lopeteta taustalla. Päivitä viesti Lähetä nyt + + Message details + Sender + Receiver + Type + Sent at + Received at Vastaanotettu tekstiviesti Uusi viesti @@ -107,4 +114,4 @@ Haven't found some strings? There's more at https://github.com/SimpleMobileTools/Simple-Commons/tree/master/commons/src/main/res --> - \ No newline at end of file + diff --git a/app/src/main/res/values-fr/strings.xml b/app/src/main/res/values-fr/strings.xml index 361ffcd5a..4e9f680e0 100644 --- a/app/src/main/res/values-fr/strings.xml +++ b/app/src/main/res/values-fr/strings.xml @@ -47,6 +47,13 @@ Gardez le téléphone allumé et assurez-vous que l\'application ne soit pas fermée en arrière-plan. Mettre à jour le message Envoyer maintenant + + Message details + Sender + Receiver + Type + Sent at + Received at SMS reçu Nouveau message @@ -110,4 +117,4 @@ Haven't found some strings? There's more at https://github.com/SimpleMobileTools/Simple-Commons/tree/master/commons/src/main/res --> - \ No newline at end of file + diff --git a/app/src/main/res/values-gl/strings.xml b/app/src/main/res/values-gl/strings.xml index 135b326d0..57937ddb1 100644 --- a/app/src/main/res/values-gl/strings.xml +++ b/app/src/main/res/values-gl/strings.xml @@ -46,6 +46,13 @@ Mantén o teléfono acendido e asegúrate de que non hai nada que mate a aplicación en segundo plano. Update message Enviar agora + + Message details + Sender + Receiver + Type + Sent at + Received at SMS recibida Nova mensaxe @@ -107,4 +114,4 @@ Non atopaches algunhas cadeas? Hai máis en https://github.com/SimpleMobileTools/Simple-Commons/tree/master/commons/src/main/res --> - \ No newline at end of file + diff --git a/app/src/main/res/values-hi/strings.xml b/app/src/main/res/values-hi/strings.xml index 669639ec4..6a39a91fe 100644 --- a/app/src/main/res/values-hi/strings.xml +++ b/app/src/main/res/values-hi/strings.xml @@ -46,6 +46,13 @@ Keep the phone on and make sure there is nothing killing the app while in background. Update message Send now + + Message details + Sender + Receiver + Type + Sent at + Received at Received SMS New message diff --git a/app/src/main/res/values-hr/strings.xml b/app/src/main/res/values-hr/strings.xml index 4adf51bd9..672139ff8 100644 --- a/app/src/main/res/values-hr/strings.xml +++ b/app/src/main/res/values-hr/strings.xml @@ -47,6 +47,13 @@ Ostavi telefon uključen i provjeri da ništa ne prekida rad aplikacije kada je u pozadini. Ažuriraj poruku Pošalji sada + + Pojedinosti poruke + Šalje + Prima + Vrsta + Poslano + Primljeno Primljene SMS poruke Nova poruka @@ -110,4 +117,4 @@ Haven't found some strings? There's more at https://github.com/SimpleMobileTools/Simple-Commons/tree/master/commons/src/main/res --> - \ No newline at end of file + diff --git a/app/src/main/res/values-hu/strings.xml b/app/src/main/res/values-hu/strings.xml index 5d03b9804..5efae0ce1 100644 --- a/app/src/main/res/values-hu/strings.xml +++ b/app/src/main/res/values-hu/strings.xml @@ -46,6 +46,13 @@ Tartsa bekapcsolva a telefont, és győződjön meg róla, hogy semmi sem lövi ki az alkalmazást a háttérben. Üzenet frissítése Küldés most + + Message details + Sender + Receiver + Type + Sent at + Received at SMS fogadva Új üzenet diff --git a/app/src/main/res/values-in/strings.xml b/app/src/main/res/values-in/strings.xml index dd1e2656e..6462cc70f 100644 --- a/app/src/main/res/values-in/strings.xml +++ b/app/src/main/res/values-in/strings.xml @@ -45,6 +45,13 @@ Tetap nyalakan ponsel dan pastikan tidak ada apa pun yang menutup aplikasi selagi di latar belakang. Update message Kirim sekarang + + Message details + Sender + Receiver + Type + Sent at + Received at Menerima SMS Pesan baru diff --git a/app/src/main/res/values-is/strings.xml b/app/src/main/res/values-is/strings.xml index 5b0d3463b..231b77fb5 100644 --- a/app/src/main/res/values-is/strings.xml +++ b/app/src/main/res/values-is/strings.xml @@ -46,6 +46,13 @@ Keep the phone on and make sure there is nothing killing the app while in background. Update message Send now + + Message details + Sender + Receiver + Type + Sent at + Received at Received SMS New message diff --git a/app/src/main/res/values-it/strings.xml b/app/src/main/res/values-it/strings.xml index f7e8ea3a5..bc2b479cd 100644 --- a/app/src/main/res/values-it/strings.xml +++ b/app/src/main/res/values-it/strings.xml @@ -47,6 +47,13 @@ Tieni il telefono acceso e assicurati che non ci sia nulla che chiuda l\'app in background. Update message Invia ora + + Message details + Sender + Receiver + Type + Sent at + Received at SMS ricevuto Nuovo messaggio @@ -110,4 +117,4 @@ Haven't found some strings? There's more at https://github.com/SimpleMobileTools/Simple-Commons/tree/master/commons/src/main/res --> - \ No newline at end of file + diff --git a/app/src/main/res/values-iw/strings.xml b/app/src/main/res/values-iw/strings.xml index 895a90303..e5876a6e5 100644 --- a/app/src/main/res/values-iw/strings.xml +++ b/app/src/main/res/values-iw/strings.xml @@ -48,6 +48,13 @@ Keep the phone on and make sure there is nothing killing the app while in background. Update message Send now + + Message details + Sender + Receiver + Type + Sent at + Received at קבלת סמס הודעה חדשה diff --git a/app/src/main/res/values-ja/strings.xml b/app/src/main/res/values-ja/strings.xml index b9a84b7b6..b3f34f9ec 100644 --- a/app/src/main/res/values-ja/strings.xml +++ b/app/src/main/res/values-ja/strings.xml @@ -45,6 +45,13 @@ 端末の電源を入れたままにしつつ、アプリがバックグラウンドで強制終了されないようにしてください(バッテリー節約設定からこのアプリを除外してください)。 メッセージを更新 今すぐ送信 + + Message details + Sender + Receiver + Type + Sent at + Received at 受信した SMS 新しいメッセージ diff --git a/app/src/main/res/values-lt/strings.xml b/app/src/main/res/values-lt/strings.xml index 3d01d8c45..be983be03 100644 --- a/app/src/main/res/values-lt/strings.xml +++ b/app/src/main/res/values-lt/strings.xml @@ -47,6 +47,13 @@ Update message Send now + + Message details + Sender + Receiver + Type + Sent at + Received at Gautos žinutės Nauja žinutė diff --git a/app/src/main/res/values-lv/strings.xml b/app/src/main/res/values-lv/strings.xml index 76c5d375b..da1f49660 100644 --- a/app/src/main/res/values-lv/strings.xml +++ b/app/src/main/res/values-lv/strings.xml @@ -47,6 +47,13 @@ Keep the phone on and make sure there is nothing killing the app while in background. Update message Send now + + Message details + Sender + Receiver + Type + Sent at + Received at Received SMS New message diff --git a/app/src/main/res/values-mk/strings.xml b/app/src/main/res/values-mk/strings.xml index 669639ec4..6a39a91fe 100644 --- a/app/src/main/res/values-mk/strings.xml +++ b/app/src/main/res/values-mk/strings.xml @@ -46,6 +46,13 @@ Keep the phone on and make sure there is nothing killing the app while in background. Update message Send now + + Message details + Sender + Receiver + Type + Sent at + Received at Received SMS New message diff --git a/app/src/main/res/values-ml/strings.xml b/app/src/main/res/values-ml/strings.xml index c78c857ac..a1acc4e3b 100644 --- a/app/src/main/res/values-ml/strings.xml +++ b/app/src/main/res/values-ml/strings.xml @@ -46,6 +46,13 @@ ഫോൺ ഓണാക്കി ബാക്ക്ഗ്രൗണ്ടിൽ ആയിരിക്കുമ്പോൾ ആപ്പിനെ നശിപ്പിക്കുന്ന ഒന്നും ഇല്ലെന്ന് ഉറപ്പാക്കുക. Update message ഇപ്പോൾ അയയ്ക്കുക + + Message details + Sender + Receiver + Type + Sent at + Received at SMS ലഭിച്ചു പുതിയ മെസ്സേജ് diff --git a/app/src/main/res/values-nb-rNO/strings.xml b/app/src/main/res/values-nb-rNO/strings.xml index 9157790cf..18d31e07b 100644 --- a/app/src/main/res/values-nb-rNO/strings.xml +++ b/app/src/main/res/values-nb-rNO/strings.xml @@ -46,6 +46,13 @@ Ha telefonen påslått og forsikre deg at appen ikke blir terminert mens den er i bakgrunnen. Oppdater melding Send nå + + Message details + Sender + Receiver + Type + Sent at + Received at Mottatt SMS Ny melding @@ -107,4 +114,4 @@ Haven't found some strings? There's more at https://github.com/SimpleMobileTools/Simple-Commons/tree/master/commons/src/main/res --> - \ No newline at end of file + diff --git a/app/src/main/res/values-nl/strings.xml b/app/src/main/res/values-nl/strings.xml index 44f2cf5d7..77ac48987 100644 --- a/app/src/main/res/values-nl/strings.xml +++ b/app/src/main/res/values-nl/strings.xml @@ -46,6 +46,13 @@ Zorg ervoor dat het toestel blijft ingeschakeld en dat de app niet op de achtergrond wordt afgesloten. Bericht aanpassen Nu versturen + + Message details + Sender + Receiver + Type + Sent at + Received at Ontvangen berichten Nieuw bericht @@ -107,4 +114,4 @@ Haven't found some strings? There's more at https://github.com/SimpleMobileTools/Simple-Commons/tree/master/commons/src/main/res --> - \ No newline at end of file + diff --git a/app/src/main/res/values-pa-rPK/strings.xml b/app/src/main/res/values-pa-rPK/strings.xml index 46584fdf5..2d8c17259 100644 --- a/app/src/main/res/values-pa-rPK/strings.xml +++ b/app/src/main/res/values-pa-rPK/strings.xml @@ -46,6 +46,13 @@ Keep the phone on and make sure there is nothing killing the app while in background. سنیہا بدلو ہݨے بھیجو + + Message details + Sender + Receiver + Type + Sent at + Received at سنیہا لیا گیا نواں سنیہا diff --git a/app/src/main/res/values-pl/strings.xml b/app/src/main/res/values-pl/strings.xml index 8d26cff78..c0971e70a 100644 --- a/app/src/main/res/values-pl/strings.xml +++ b/app/src/main/res/values-pl/strings.xml @@ -48,6 +48,13 @@ Pozostaw telefon włączony i upewnij się, że nic nie wyłącza aplikacji w tle. Zaktualizuj wiadomość Wyślij teraz + + Message details + Sender + Receiver + Type + Sent at + Received at Otrzymany SMS Nowa wiadomość @@ -113,4 +120,4 @@ Haven't found some strings? There's more at https://github.com/SimpleMobileTools/Simple-Commons/tree/master/commons/src/main/res --> - \ No newline at end of file + diff --git a/app/src/main/res/values-pt-rBR/strings.xml b/app/src/main/res/values-pt-rBR/strings.xml index 372f162dd..a2f493cd3 100644 --- a/app/src/main/res/values-pt-rBR/strings.xml +++ b/app/src/main/res/values-pt-rBR/strings.xml @@ -47,6 +47,13 @@ Mantenha o telefone ligado e certifique-se de que não haja nada matando o aplicativo enquanto estiver em segundo plano. Update message Enviar agora + + Message details + Sender + Receiver + Type + Sent at + Received at SMS recebido Nova mensagem @@ -110,4 +117,4 @@ Haven't found some strings? There's more at https://github.com/SimpleMobileTools/Simple-Commons/tree/master/commons/src/main/res --> - \ No newline at end of file + diff --git a/app/src/main/res/values-pt/strings.xml b/app/src/main/res/values-pt/strings.xml index dac33dd82..62ca42664 100644 --- a/app/src/main/res/values-pt/strings.xml +++ b/app/src/main/res/values-pt/strings.xml @@ -47,6 +47,13 @@ Mantenha o telefone ligado e verifique se não há nada que esteja a bloquear a aplicação em segundo plano. Atualizar mensagem Enviar agora + + Message details + Sender + Receiver + Type + Sent at + Received at SMS recebida Nova mensagem @@ -110,4 +117,4 @@ Haven't found some strings? There's more at https://github.com/SimpleMobileTools/Simple-Commons/tree/master/commons/src/main/res --> - \ No newline at end of file + diff --git a/app/src/main/res/values-ro/strings.xml b/app/src/main/res/values-ro/strings.xml index d32f35912..29f129cdb 100644 --- a/app/src/main/res/values-ro/strings.xml +++ b/app/src/main/res/values-ro/strings.xml @@ -47,6 +47,13 @@ Keep the phone on and make sure there is nothing killing the app while in background. Update message Send now + + Message details + Sender + Receiver + Type + Sent at + Received at SMS-uri primite Mesaj nou diff --git a/app/src/main/res/values-ru/strings.xml b/app/src/main/res/values-ru/strings.xml index 3371657d8..cfe562344 100644 --- a/app/src/main/res/values-ru/strings.xml +++ b/app/src/main/res/values-ru/strings.xml @@ -48,6 +48,13 @@ Держите устройство включённым и убедитесь, что ничто не завершает принудительно приложение в фоновом режиме. Обновить сообщение Отправить сейчас + + Message details + Sender + Receiver + Type + Sent at + Received at Получено сообщение Новое сообщение @@ -113,4 +120,4 @@ Haven't found some strings? There's more at https://github.com/SimpleMobileTools/Simple-Commons/tree/master/commons/src/main/res --> - \ No newline at end of file + diff --git a/app/src/main/res/values-sk/strings.xml b/app/src/main/res/values-sk/strings.xml index b2f9477ed..ec1c11619 100644 --- a/app/src/main/res/values-sk/strings.xml +++ b/app/src/main/res/values-sk/strings.xml @@ -47,6 +47,13 @@ Majte zapnuté zariadenie a uistite sa, že apku na pozadí nič nevypne. Upraviť správu Odoslať teraz + + Message details + Sender + Receiver + Type + Sent at + Received at Prijatá SMS Nová správa diff --git a/app/src/main/res/values-sl/strings.xml b/app/src/main/res/values-sl/strings.xml index bc55f5fc6..5d11dffaa 100644 --- a/app/src/main/res/values-sl/strings.xml +++ b/app/src/main/res/values-sl/strings.xml @@ -48,6 +48,13 @@ Telefon vklopite in poskrbite, da bo aplikacija v ozadju delovala. Update message Sedaj pošlji + + Message details + Sender + Receiver + Type + Sent at + Received at Prejeto SMS sporočilo Novo sporočilo diff --git a/app/src/main/res/values-sr/strings.xml b/app/src/main/res/values-sr/strings.xml index 771e9cc0e..402ac22de 100644 --- a/app/src/main/res/values-sr/strings.xml +++ b/app/src/main/res/values-sr/strings.xml @@ -47,6 +47,13 @@ Држите телефон укључен и уверите се да ништа не убија апликацију док је у позадини. Ажурирајте поруку Пошаљи одмах + + Детаљи о поруци + Шалје + Прима + Врста + Послано + Примлјено Примите СМС Нова порука diff --git a/app/src/main/res/values-sv/strings.xml b/app/src/main/res/values-sv/strings.xml index 5a722d79d..910ac5ccb 100644 --- a/app/src/main/res/values-sv/strings.xml +++ b/app/src/main/res/values-sv/strings.xml @@ -46,6 +46,13 @@ Ha telefonen påslagen och kontrollera att inget avslutar appen i bakgrunden. Uppdatera meddelande Skicka nu + + Message details + Sender + Receiver + Type + Sent at + Received at Tog emot sms Nytt meddelande @@ -107,4 +114,4 @@ Haven't found some strings? There's more at https://github.com/SimpleMobileTools/Simple-Commons/tree/master/commons/src/main/res --> - \ No newline at end of file + diff --git a/app/src/main/res/values-ta/strings.xml b/app/src/main/res/values-ta/strings.xml index 1029c6d49..17a748308 100644 --- a/app/src/main/res/values-ta/strings.xml +++ b/app/src/main/res/values-ta/strings.xml @@ -46,6 +46,13 @@ Keep the phone on and make sure there is nothing killing the app while in background. Update message Send now + + Message details + Sender + Receiver + Type + Sent at + Received at SMS கிடைத்தது புதிய செய்தி diff --git a/app/src/main/res/values-th/strings.xml b/app/src/main/res/values-th/strings.xml index 9a1916d24..559f47d4c 100644 --- a/app/src/main/res/values-th/strings.xml +++ b/app/src/main/res/values-th/strings.xml @@ -45,6 +45,13 @@ Keep the phone on and make sure there is nothing killing the app while in background. Update message Send now + + Message details + Sender + Receiver + Type + Sent at + Received at Received SMS New message diff --git a/app/src/main/res/values-tr/strings.xml b/app/src/main/res/values-tr/strings.xml index 650aa34ac..8ff2d4d82 100644 --- a/app/src/main/res/values-tr/strings.xml +++ b/app/src/main/res/values-tr/strings.xml @@ -46,6 +46,13 @@ Telefonu açık tutun ve arka planda uygulamayı sonlandıran hiçbir şey olmadığından emin olun. İletiyi güncelle Şimdi gönder + + Message details + Sender + Receiver + Type + Sent at + Received at SMS alındı Yeni ileti @@ -107,4 +114,4 @@ Haven't found some strings? There's more at https://github.com/SimpleMobileTools/Simple-Commons/tree/master/commons/src/main/res --> - \ No newline at end of file + diff --git a/app/src/main/res/values-uk/strings.xml b/app/src/main/res/values-uk/strings.xml index 734c22a2c..c72f1110f 100644 --- a/app/src/main/res/values-uk/strings.xml +++ b/app/src/main/res/values-uk/strings.xml @@ -48,6 +48,13 @@ Тримайте телефон увімкненим і переконайтеся, що ніщо не завершує застосунок у фоновому режимі. Update message Надіслати зараз + + Message details + Sender + Receiver + Type + Sent at + Received at Отримано повідомлення Нове повідомлення @@ -113,4 +120,4 @@ Haven't found some strings? There's more at https://github.com/SimpleMobileTools/Simple-Commons/tree/master/commons/src/main/res --> - \ No newline at end of file + diff --git a/app/src/main/res/values-zh-rCN/strings.xml b/app/src/main/res/values-zh-rCN/strings.xml index 6a0359138..ede0515b4 100644 --- a/app/src/main/res/values-zh-rCN/strings.xml +++ b/app/src/main/res/values-zh-rCN/strings.xml @@ -45,6 +45,13 @@ 保持手机开机,并确保应用后台不被终止. 更新消息 立即发送 + + Message details + Sender + Receiver + Type + Sent at + Received at 接收到的短信 新消息 @@ -104,4 +111,4 @@ Haven't found some strings? There's more at https://github.com/SimpleMobileTools/Simple-Commons/tree/master/commons/src/main/res --> - \ No newline at end of file + diff --git a/app/src/main/res/values-zh-rTW/strings.xml b/app/src/main/res/values-zh-rTW/strings.xml index 012d4194c..34dcbdb28 100644 --- a/app/src/main/res/values-zh-rTW/strings.xml +++ b/app/src/main/res/values-zh-rTW/strings.xml @@ -45,6 +45,13 @@ Keep the phone on and make sure there is nothing killing the app while in background. Update message Send now + + Message details + Sender + Receiver + Type + Sent at + Received at 收到的簡訊 新訊息 diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 0e2a271f5..c49264b58 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -46,6 +46,13 @@ Keep the phone on and make sure there is nothing killing the app while in background. Update message Send now + + Message details + Sender + Receiver + Type + Sent at + Received at Received SMS New message