diff --git a/apps/android/app/src/main/java/chat/simplex/app/views/chat/ComposeView.kt b/apps/android/app/src/main/java/chat/simplex/app/views/chat/ComposeView.kt index 24d787ac48..dd54790cc8 100644 --- a/apps/android/app/src/main/java/chat/simplex/app/views/chat/ComposeView.kt +++ b/apps/android/app/src/main/java/chat/simplex/app/views/chat/ComposeView.kt @@ -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) diff --git a/apps/android/app/src/main/res/values-ru/strings.xml b/apps/android/app/src/main/res/values-ru/strings.xml index 1d54970f46..5f5a8c43e1 100644 --- a/apps/android/app/src/main/res/values-ru/strings.xml +++ b/apps/android/app/src/main/res/values-ru/strings.xml @@ -70,6 +70,9 @@ Этот текст можно найти в Настройках Ваши чаты + + Прикрепить + Удалить контакт? Контакт и все сообщения будут удалены - это действие нельзя отменить! diff --git a/apps/android/app/src/main/res/values/strings.xml b/apps/android/app/src/main/res/values/strings.xml index dda6fd3439..0bbbb60b5b 100644 --- a/apps/android/app/src/main/res/values/strings.xml +++ b/apps/android/app/src/main/res/values/strings.xml @@ -70,6 +70,9 @@ This text is available in settings Your chats + + Attach + Delete contact? Contact and all messages will be deleted - this cannot be undone! diff --git a/apps/ios/Shared/Views/Chat/ComposeMessage/ComposeView.swift b/apps/ios/Shared/Views/Chat/ComposeMessage/ComposeView.swift index 6cd6be00eb..2ce93cd5ea 100644 --- a/apps/ios/Shared/Views/Chat/ComposeMessage/ComposeView.swift +++ b/apps/ios/Shared/Views/Chat/ComposeMessage/ComposeView.swift @@ -102,7 +102,7 @@ struct ComposeView: View { .onChange(of: editingItem == nil) { _ in editing = (editingItem != nil) } - .confirmationDialog("Add image", isPresented: $showChooseSource, titleVisibility: .visible) { + .confirmationDialog("Attach", isPresented: $showChooseSource, titleVisibility: .visible) { Button("Take picture") { imageSource = .camera showImagePicker = true diff --git a/apps/ios/SimpleX Localizations/en.xcloc/Localized Contents/en.xliff b/apps/ios/SimpleX Localizations/en.xcloc/Localized Contents/en.xliff index a55d93aaa1..f41e3bd49e 100644 --- a/apps/ios/SimpleX Localizations/en.xcloc/Localized Contents/en.xliff +++ b/apps/ios/SimpleX Localizations/en.xcloc/Localized Contents/en.xliff @@ -115,16 +115,16 @@ Add contact No comment provided by engineer. - - Add image - Add image - No comment provided by engineer. - All your contacts will remain connected All your contacts will remain connected No comment provided by engineer. + + Attach + Attach + No comment provided by engineer. + Cancel Cancel diff --git a/apps/ios/SimpleX Localizations/ru.xcloc/Localized Contents/ru.xliff b/apps/ios/SimpleX Localizations/ru.xcloc/Localized Contents/ru.xliff index c9bfff38e4..ef42829577 100644 --- a/apps/ios/SimpleX Localizations/ru.xcloc/Localized Contents/ru.xliff +++ b/apps/ios/SimpleX Localizations/ru.xcloc/Localized Contents/ru.xliff @@ -115,15 +115,16 @@ Добавить контакт No comment provided by engineer. - - Add image - No comment provided by engineer. - All your contacts will remain connected Все контакты, которые соединились через этот адрес, сохранятся. No comment provided by engineer. + + Attach + Прикрепить + No comment provided by engineer. + Cancel Отменить diff --git a/apps/ios/ru.lproj/Localizable.strings b/apps/ios/ru.lproj/Localizable.strings index 00c72b6dc0..1052944671 100644 --- a/apps/ios/ru.lproj/Localizable.strings +++ b/apps/ios/ru.lproj/Localizable.strings @@ -88,6 +88,9 @@ /* No comment provided by engineer. */ "All your contacts will remain connected" = "Все контакты, которые соединились через этот адрес, сохранятся."; +/* No comment provided by engineer. */ +"Attach" = "Прикрепить"; + /* No comment provided by engineer. */ "bold" = "жирный";