diff --git a/Linphone/Localizable.xcstrings b/Linphone/Localizable.xcstrings index 1ae153600..d58c4e71b 100644 --- a/Linphone/Localizable.xcstrings +++ b/Linphone/Localizable.xcstrings @@ -207,9 +207,6 @@ }, "All modifications will be canceled." : { - }, - "Appel" : { - }, "assistant_account_create" : { "localizations" : { @@ -275,9 +272,6 @@ } } } - }, - "assistant_Account_login" : { - }, "assistant_account_register" : { "extractionState" : "manual", @@ -553,6 +547,54 @@ }, "Bluetooth" : { + }, + "bottom_navigation_calls_label" : { + "localizations" : { + "en" : { + "stringUnit" : { + "state" : "translated", + "value" : "Calls" + } + }, + "fr" : { + "stringUnit" : { + "state" : "needs_review", + "value" : "Appels" + } + } + } + }, + "bottom_navigation_contacts_label" : { + "localizations" : { + "en" : { + "stringUnit" : { + "state" : "translated", + "value" : "Contacts" + } + }, + "fr" : { + "stringUnit" : { + "state" : "needs_review", + "value" : "Contacts" + } + } + } + }, + "bottom_navigation_conversations_label" : { + "localizations" : { + "en" : { + "stringUnit" : { + "state" : "translated", + "value" : "Conversations" + } + }, + "fr" : { + "stringUnit" : { + "state" : "needs_review", + "value" : "Conversations" + } + } + } }, "bottom_navigation_meetings_label" : { "localizations" : { @@ -603,7 +645,14 @@ } }, "call_audio_device_type_speaker" : { - + "localizations" : { + "fr" : { + "stringUnit" : { + "state" : "translated", + "value" : "Haut parleur" + } + } + } }, "call_can_be_trusted_toast" : { "extractionState" : "manual", @@ -1351,23 +1400,6 @@ } } }, - "content_description_click_for_more_info" : { - "extractionState" : "stale", - "localizations" : { - "en" : { - "stringUnit" : { - "state" : "translated", - "value" : "Click to have more information" - } - }, - "fr" : { - "stringUnit" : { - "state" : "translated", - "value" : "Cliquez pour plus d’informations" - } - } - } - }, "Continue" : { "localizations" : { "en" : { @@ -1418,6 +1450,22 @@ } } }, + "conversation_action_delete" : { + "localizations" : { + "en" : { + "stringUnit" : { + "state" : "translated", + "value" : "Delete conversation" + } + }, + "fr" : { + "stringUnit" : { + "state" : "translated", + "value" : "Supprimer la conversation" + } + } + } + }, "conversation_action_leave_group" : { "extractionState" : "manual", "localizations" : { @@ -1470,7 +1518,20 @@ } }, "conversation_add_participants_title" : { - + "localizations" : { + "en" : { + "stringUnit" : { + "state" : "translated", + "value" : "Add participants" + } + }, + "fr" : { + "stringUnit" : { + "state" : "translated", + "value" : "Ajouter des membres" + } + } + } }, "conversation_composing_label_multiple" : { "extractionState" : "manual", @@ -2248,8 +2309,21 @@ } } }, - "Conversations" : { - + "conversation_text_field_hint" : { + "localizations" : { + "en" : { + "stringUnit" : { + "state" : "translated", + "value" : "Say something…" + } + }, + "fr" : { + "stringUnit" : { + "state" : "translated", + "value" : "Dites quelque chose…" + } + } + } }, "conversations_list_empty" : { "extractionState" : "manual", @@ -2324,6 +2398,22 @@ } } }, + "dialog_ok" : { + "localizations" : { + "en" : { + "stringUnit" : { + "state" : "translated", + "value" : "OK" + } + }, + "fr" : { + "stringUnit" : { + "state" : "translated", + "value" : "OK" + } + } + } + }, "Display Name" : { }, @@ -3217,7 +3307,20 @@ } }, "menu_invite" : { - + "localizations" : { + "en" : { + "stringUnit" : { + "state" : "translated", + "value" : "Invite" + } + }, + "fr" : { + "stringUnit" : { + "state" : "translated", + "value" : "Inviter" + } + } + } }, "menu_reply_to_chat_message" : { "extractionState" : "manual", @@ -3433,7 +3536,20 @@ } }, "new_conversation_search_bar_filter_hint" : { - + "localizations" : { + "en" : { + "stringUnit" : { + "state" : "translated", + "value" : "Search contact" + } + }, + "fr" : { + "stringUnit" : { + "state" : "translated", + "value" : "Chercher un contact" + } + } + } }, "new_conversation_title" : { "extractionState" : "manual", @@ -3541,9 +3657,6 @@ }, "QR code validated!" : { - }, - "Quitter la conversation" : { - }, "Réactiver les notifications" : { @@ -3583,9 +3696,6 @@ }, "Resuming" : { - }, - "Say something..." : { - }, "Scan QR code" : { @@ -3662,9 +3772,6 @@ }, "Suggestions" : { - }, - "Supprimer la conversation" : { - }, "Supprimer un participant" : { diff --git a/Linphone/UI/Assistant/Fragments/RegisterFragment.swift b/Linphone/UI/Assistant/Fragments/RegisterFragment.swift index fc5c99805..0bf68ca46 100644 --- a/Linphone/UI/Assistant/Fragments/RegisterFragment.swift +++ b/Linphone/UI/Assistant/Fragments/RegisterFragment.swift @@ -281,7 +281,7 @@ struct RegisterFragment: View { Button(action: { dismiss() }, label: { - Text("assistant_Account_login") + Text("assistant_account_login") .default_text_style_white_600(styleSize: 20) .frame(height: 35) }) diff --git a/Linphone/UI/Main/ContentView.swift b/Linphone/UI/Main/ContentView.swift index 55ede0994..3a4a9e475 100644 --- a/Linphone/UI/Main/ContentView.swift +++ b/Linphone/UI/Main/ContentView.swift @@ -235,10 +235,10 @@ struct ContentView: View { .frame(width: 25, height: 25) if self.index == 2 { - Text("Conversations") + Text("bottom_navigation_conversations_label") .default_text_style_700(styleSize: 10) } else { - Text("Conversations") + Text("bottom_navigation_conversations_label") .default_text_style(styleSize: 10) } } @@ -313,7 +313,7 @@ struct ContentView: View { openMenu() } - Text(index == 0 ? "Contacts" : (index == 1 ? "Calls" : (index == 2 ? "Conversations" : "bottom_navigation_meetings_label"))) + Text(index == 0 ? "bottom_navigation_contacts_label" : (index == 1 ? "bottom_navigation_calls_label" : (index == 2 ? "bottom_navigation_conversations_label" : "bottom_navigation_meetings_label"))) .default_text_style_white_800(styleSize: 20) .padding(.leading, 10) @@ -768,10 +768,10 @@ struct ContentView: View { .frame(width: 25, height: 25) if self.index == 2 { - Text("Conversations") + Text("bottom_navigation_conversations_label") .default_text_style_700(styleSize: 9) } else { - Text("Conversations") + Text("bottom_navigation_conversations_label") .default_text_style(styleSize: 9) } } diff --git a/Linphone/UI/Main/Conversations/Fragments/ConversationForwardMessageFragment.swift b/Linphone/UI/Main/Conversations/Fragments/ConversationForwardMessageFragment.swift index 5f3028247..92b798f91 100644 --- a/Linphone/UI/Main/Conversations/Fragments/ConversationForwardMessageFragment.swift +++ b/Linphone/UI/Main/Conversations/Fragments/ConversationForwardMessageFragment.swift @@ -143,7 +143,7 @@ struct ConversationForwardMessageFragment: View { ScrollView { if !conversationForwardMessageViewModel.conversationsList.isEmpty { HStack(alignment: .center) { - Text("Conversations") + Text("bottom_navigation_conversations_label") .default_text_style_800(styleSize: 16) Spacer() @@ -156,7 +156,7 @@ struct ConversationForwardMessageFragment: View { if !ContactsManager.shared.lastSearch.isEmpty { HStack(alignment: .center) { - Text("All contacts") + Text("contacts_list_all_contacts_title") .default_text_style_800(styleSize: 16) Spacer() @@ -176,7 +176,7 @@ struct ConversationForwardMessageFragment: View { if !contactsManager.lastSearchSuggestions.isEmpty { HStack(alignment: .center) { - Text("Suggestions") + Text("generic_address_picker_suggestions_list_title") .default_text_style_800(styleSize: 16) Spacer() diff --git a/Linphone/UI/Main/Conversations/Fragments/ConversationFragment.swift b/Linphone/UI/Main/Conversations/Fragments/ConversationFragment.swift index 5de44778d..28a5911a2 100644 --- a/Linphone/UI/Main/Conversations/Fragments/ConversationFragment.swift +++ b/Linphone/UI/Main/Conversations/Fragments/ConversationFragment.swift @@ -660,7 +660,7 @@ struct ConversationFragment: View { HStack { if #available(iOS 16.0, *) { - TextField("Say something...", text: $conversationViewModel.messageText, axis: .vertical) + TextField("conversation_text_field_hint", text: $conversationViewModel.messageText, axis: .vertical) .default_text_style(styleSize: 15) .focused($isMessageTextFocused) .padding(.vertical, 5) @@ -684,7 +684,7 @@ struct ConversationFragment: View { } if conversationViewModel.messageText.isEmpty { - Text("Say something...") + Text("conversation_text_field_hint") .padding(.leading, 4) .lineLimit(1) .opacity(conversationViewModel.messageText.isEmpty ? 1 : 0) diff --git a/Linphone/UI/Main/Conversations/Fragments/ConversationsListBottomSheet.swift b/Linphone/UI/Main/Conversations/Fragments/ConversationsListBottomSheet.swift index 1bf403391..abd22a6b3 100644 --- a/Linphone/UI/Main/Conversations/Fragments/ConversationsListBottomSheet.swift +++ b/Linphone/UI/Main/Conversations/Fragments/ConversationsListBottomSheet.swift @@ -159,7 +159,7 @@ struct ConversationsListBottomSheet: View { .foregroundStyle(Color.grayMain2c500) .frame(width: 25, height: 25, alignment: .leading) .padding(.all, 10) - Text("Appel") + Text("conversation_action_call") .default_text_style(styleSize: 16) Spacer() } @@ -198,7 +198,7 @@ struct ConversationsListBottomSheet: View { .foregroundStyle(Color.redDanger500) .frame(width: 25, height: 25, alignment: .leading) .padding(.all, 10) - Text("Supprimer la conversation") + Text("conversation_action_delete") .foregroundStyle(Color.redDanger500) .default_text_style(styleSize: 16) Spacer() @@ -239,7 +239,7 @@ struct ConversationsListBottomSheet: View { .foregroundStyle(Color.grayMain2c500) .frame(width: 25, height: 25, alignment: .leading) .padding(.all, 10) - Text("Quitter la conversation") + Text("conversation_action_leave_group") .default_text_style(styleSize: 16) Spacer() } diff --git a/Linphone/UI/Main/Conversations/Fragments/StartConversationFragment.swift b/Linphone/UI/Main/Conversations/Fragments/StartConversationFragment.swift index c7d37a931..c4229153f 100644 --- a/Linphone/UI/Main/Conversations/Fragments/StartConversationFragment.swift +++ b/Linphone/UI/Main/Conversations/Fragments/StartConversationFragment.swift @@ -195,7 +195,7 @@ struct StartConversationFragment: View { if !contactsManager.lastSearchSuggestions.isEmpty { HStack(alignment: .center) { - Text("Suggestions") + Text("generic_address_picker_suggestions_list_title") .default_text_style_800(styleSize: 16) Spacer() @@ -332,7 +332,7 @@ struct StartConversationFragment: View { Button(action: { startConversationViewModel.participants.removeAll() }, label: { - Text("Cancel") + Text("dialog_cancel") .default_text_style_orange_600(styleSize: 20) .frame(height: 35) .frame(maxWidth: .infinity) @@ -350,7 +350,7 @@ struct StartConversationFragment: View { Button(action: { startConversationViewModel.createGroupChatRoom() }, label: { - Text("Confirm") + Text("dialog_ok") .default_text_style_white_600(styleSize: 20) .frame(height: 35) .frame(maxWidth: .infinity)