translation

This commit is contained in:
JRoberts
2022-04-16 18:56:11 +04:00
parent b82df54ce6
commit 9ef8aec786
7 changed files with 23 additions and 11 deletions
@@ -15,8 +15,10 @@ import androidx.compose.ui.Modifier
import androidx.compose.ui.draw.clip
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.unit.dp
import chat.simplex.app.R
import chat.simplex.app.model.*
import chat.simplex.app.views.helpers.ComposeLinkView
import chat.simplex.app.views.helpers.generalGetString
// TODO ComposeState
@@ -66,7 +68,7 @@ fun ComposeView(
) {
Icon(
Icons.Outlined.AddCircleOutline,
contentDescription = "Add image",
contentDescription = generalGetString(R.string.attach),
tint = if (editingItem.value == null) MaterialTheme.colors.primary else Color.Gray,
modifier = Modifier
.size(40.dp)
@@ -70,6 +70,9 @@
<string name="this_text_is_available_in_settings">Этот текст можно найти в Настройках</string>
<string name="your_chats">Ваши чаты</string>
<!-- ComposeView.kt -->
<string name="attach">Прикрепить</string>
<!-- Chat Info Actions - ChatInfoView.kt -->
<string name="delete_contact__question">Удалить контакт?</string>
<string name="delete_contact_all_messages_deleted_cannot_undo_warning">Контакт и все сообщения будут удалены - это действие нельзя отменить!</string>
@@ -70,6 +70,9 @@
<string name="this_text_is_available_in_settings">This text is available in settings</string>
<string name="your_chats">Your chats</string>
<!-- ComposeView.kt -->
<string name="attach">Attach</string>
<!-- Chat Info Actions - ChatInfoView.kt -->
<string name="delete_contact__question">Delete contact?</string>
<string name="delete_contact_all_messages_deleted_cannot_undo_warning">Contact and all messages will be deleted - this cannot be undone!</string>