Translations for Welcome view and some various buttons

This commit is contained in:
QuentinArguillere 2024-11-25 17:44:58 +01:00
parent 533cb11b24
commit 7c42e7ed5c
8 changed files with 140 additions and 46 deletions

View file

@ -198,9 +198,6 @@
},
"Add a picture" : {
},
"Add participants" : {
},
"Add the contact" : {
@ -1070,6 +1067,9 @@
},
"Contacts" : {
},
"contacts_list_all_contacts_title" : {
},
"contacts_list_empty" : {
"extractionState" : "manual",
@ -1188,6 +1188,9 @@
}
}
}
},
"conversation_add_participants_title" : {
},
"conversation_composing_label_multiple" : {
"extractionState" : "manual",
@ -1990,9 +1993,6 @@
},
"Copy number" : {
},
"Copy SIP address" : {
},
"Could not send ICS invitations to meeting to any participant" : {
@ -2023,6 +2023,9 @@
},
"Dialer" : {
},
"dialog_cancel" : {
},
"Display Name" : {
@ -2218,6 +2221,9 @@
}
}
}
},
"generic_address_picker_suggestions_list_title" : {
},
"Hang up call" : {
@ -2426,9 +2432,6 @@
},
"Last name" : {
},
"Linphone" : {
},
"list_filter_no_result_found" : {
"localizations" : {
@ -3087,6 +3090,9 @@
}
}
}
},
"new_conversation_search_bar_filter_hint" : {
},
"new_conversation_title" : {
"extractionState" : "manual",
@ -3119,9 +3125,6 @@
},
"Ok" : {
},
"Open source" : {
},
"Opération en cours..." : {
@ -3238,12 +3241,6 @@
},
"Scan QR code" : {
},
"Search contact" : {
},
"Sécurisé" : {
},
"See all" : {
@ -3343,9 +3340,6 @@
},
"TLS" : {
},
"to Linphone" : {
},
"Transfer" : {
@ -3364,12 +3358,6 @@
},
"Unable to retrieve configuration, invalid address" : {
},
"Une application de communication **sécurisée**, **open source** et **française**." : {
},
"Une application open source et un **service gratuit** depuis **2001**." : {
},
"Use a SIP account" : {
@ -3403,11 +3391,117 @@
"Video Call" : {
},
"Vos communications sont en sécurité grâce aux **Chiffrement de bout en bout**." : {
"welcome_page_1_message" : {
"localizations" : {
"en" : {
"stringUnit" : {
"state" : "translated",
"value" : "A **secured**, **open source** and **French** communication app."
}
},
"fr" : {
"stringUnit" : {
"state" : "needs_review",
"value" : "Une application de communication **sécurisée**, **open source** et **française**."
}
}
}
},
"Welcome" : {
"welcome_page_2_message" : {
"localizations" : {
"en" : {
"stringUnit" : {
"state" : "translated",
"value" : "Your communications are safe thanks to our <b>end-to-end encryption</b>."
}
},
"fr" : {
"stringUnit" : {
"state" : "translated",
"value" : "Vos communications sont en sécurité grâce au **chiffrement de bout en bout**."
}
}
}
},
"welcome_page_2_title" : {
"localizations" : {
"en" : {
"stringUnit" : {
"state" : "translated",
"value" : "Secured"
}
},
"fr" : {
"stringUnit" : {
"state" : "translated",
"value" : "Sécurisé"
}
}
}
},
"welcome_page_3_message" : {
"localizations" : {
"en" : {
"stringUnit" : {
"state" : "translated",
"value" : "A <b>free</b> and open source application since <b>2001</b>."
}
},
"fr" : {
"stringUnit" : {
"state" : "translated",
"value" : "Une application open source et un **service gratuit** depuis **2001**."
}
}
}
},
"welcome_page_3_title" : {
"localizations" : {
"en" : {
"stringUnit" : {
"state" : "translated",
"value" : "Open source"
}
},
"fr" : {
"stringUnit" : {
"state" : "translated",
"value" : "Open source"
}
}
}
},
"welcome_page_subtitle" : {
"localizations" : {
"en" : {
"stringUnit" : {
"state" : "translated",
"value" : "in %@"
}
},
"fr" : {
"stringUnit" : {
"state" : "translated",
"value" : "sur %@"
}
}
}
},
"welcome_page_title" : {
"localizations" : {
"en" : {
"stringUnit" : {
"state" : "translated",
"value" : "Welcome"
}
},
"fr" : {
"stringUnit" : {
"state" : "translated",
"value" : "Bienvenue"
}
}
}
},
"You will change this mode later" : {

View file

@ -166,7 +166,7 @@ struct HistoryListBottomSheet: View {
.foregroundStyle(Color.grayMain2c500)
.frame(width: 25, height: 25, alignment: .leading)
.padding(.all, 10)
Text("Copy SIP address")
Text("menu_copy_sip_address")
.default_text_style(styleSize: 16)
Spacer()
}
@ -204,7 +204,7 @@ struct HistoryListBottomSheet: View {
.foregroundStyle(Color.redDanger500)
.frame(width: 25, height: 25, alignment: .leading)
.padding(.all, 10)
Text("Delete")
Text("menu_delete_selected_item")
.foregroundStyle(Color.redDanger500)
.default_text_style(styleSize: 16)
Spacer()

View file

@ -209,7 +209,7 @@ struct StartCallFragment: View {
ScrollView {
if !ContactsManager.shared.lastSearch.isEmpty {
HStack(alignment: .center) {
Text("All contacts")
Text("contacts_list_all_contacts_title")
.default_text_style_800(styleSize: 16)
Spacer()
@ -270,7 +270,7 @@ struct StartCallFragment: View {
if !contactsManager.lastSearchSuggestions.isEmpty {
HStack(alignment: .center) {
Text("Suggestions")
Text("generic_address_picker_suggestions_list_title")
.default_text_style_800(styleSize: 16)
Spacer()
@ -433,7 +433,7 @@ struct StartCallFragment: View {
Button(action: {
startCallViewModel.participants.removeAll()
}, label: {
Text("Cancel")
Text("dialog_cancel")
.default_text_style_orange_600(styleSize: 20)
.frame(height: 35)
.frame(maxWidth: .infinity)

View file

@ -65,7 +65,7 @@ struct AddParticipantsFragment: View {
}
VStack(alignment: .leading, spacing: 3) {
Text("Add participants")
Text("conversation_add_participants_title")
.multilineTextAlignment(.leading)
.default_text_style_orange_800(styleSize: 16)
.padding(.top, 20)
@ -106,7 +106,7 @@ struct AddParticipantsFragment: View {
.padding(.leading, 16)
ZStack(alignment: .trailing) {
TextField("Search contact", text: $addParticipantsViewModel.searchField)
TextField("new_conversation_search_bar_filter_hint", text: $addParticipantsViewModel.searchField)
.default_text_style(styleSize: 15)
.frame(height: 25)
.focused($isSearchFieldFocused)

View file

@ -31,10 +31,10 @@ struct WelcomePage1Fragment: View {
.resizable()
.foregroundStyle(Color.orangeMain500)
.frame(width: 100, height: 100)
Text("Linphone")
Text(Bundle.main.displayName)
.welcome_text_style_gray_800(styleSize: 30)
.padding(.bottom, 20)
Text("Une application de communication **sécurisée**, **open source** et **française**.")
Text("welcome_page_1_message")
.welcome_text_style_gray(styleSize: 15)
.multilineTextAlignment(.center)

View file

@ -31,10 +31,10 @@ struct WelcomePage2Fragment: View {
.resizable()
.foregroundStyle(Color.orangeMain500)
.frame(width: 70, height: 100)
Text("Sécurisé")
Text("welcome_page_2_title")
.welcome_text_style_gray_800(styleSize: 30)
.padding(.bottom, 20)
Text("Vos communications sont en sécurité grâce aux **Chiffrement de bout en bout**.")
Text("welcome_page_2_message")
.welcome_text_style_gray(styleSize: 15)
.multilineTextAlignment(.center)

View file

@ -31,10 +31,10 @@ struct WelcomePage3Fragment: View {
.resizable()
.foregroundStyle(Color.orangeMain500)
.frame(width: 100, height: 100)
Text("Open source")
Text("welcome_page_3_title")
.welcome_text_style_gray_800(styleSize: 30)
.padding(.bottom, 20)
Text("Une application open source et un **service gratuit** depuis **2001**.")
Text("welcome_page_3_message")
.welcome_text_style_gray(styleSize: 15)
.multilineTextAlignment(.center)

View file

@ -53,12 +53,12 @@ struct WelcomeView: View {
self.index = 2
}
)
Text("Welcome")
Text("welcome_page_title")
.welcome_text_style_white_800(styleSize: 35)
.padding(.trailing, 100)
.frame(width: geometry.size.width)
.padding(.bottom, -25)
Text("to Linphone")
Text(String(format: String(localized: "welcome_page_subtitle"), Bundle.main.displayName))
.welcome_text_style_white_800(styleSize: 25)
.padding(.leading, 100)
.frame(width: geometry.size.width)