From a339b8e686122a38881c8a26e31a22f53d6ce513 Mon Sep 17 00:00:00 2001 From: Julien Wadel Date: Wed, 21 Apr 2021 21:10:29 +0200 Subject: [PATCH] Update English translations --- linphone-app/assets/languages/en.ts | 194 +++++++++++++++++- .../App/Settings/Dialogs/SettingsLdapEdit.qml | 70 +++---- .../ui/views/App/Settings/SettingsLdap.qml | 2 +- 3 files changed, 225 insertions(+), 41 deletions(-) diff --git a/linphone-app/assets/languages/en.ts b/linphone-app/assets/languages/en.ts index 119aa2fe6..76ac9c803 100644 --- a/linphone-app/assets/languages/en.ts +++ b/linphone-app/assets/languages/en.ts @@ -856,7 +856,7 @@ Server URL not configured. HistoryView removeAllEntriesDescription - Are you sure you want to clear this history? + Are you sure you want to clear this history? tooltipContactEdit @@ -1372,7 +1372,7 @@ Click here: <a href="%1">%1</a> showTelKeypadAutomaticallyLabel - Show telephone keypad automatically + Show DTMF keypad automatically automaticallyRecordCallsLabel @@ -1380,7 +1380,7 @@ Click here: <a href="%1">%1</a> keepCallsWindowInBackgroundLabel - Keep calls windows in background + Keep call windows in background callPauseEnabledLabel @@ -1388,14 +1388,198 @@ Click here: <a href="%1">%1</a> encryptionMandatoryLabel - Encrytion is mandatory + Encryption is mandatory + + + + SettingsLdap + + newServer + Display name of a new server + New server + + + + SettingsLdapEdit + + cancel + Cancel button label + cancel + + + confirm + Confirm button label + confirm + + + displayNameLabel + Label + Display Name + + + displayNameTooltip + Tooltip for display name + The display name of the server to be shown in the list. + + + connectionTitle + Label + Connection + + + serverLabel + Label + Server URL + + + serverTooltip + Tooltip for server URL + LDAP Server. eg: ldap:/// for a localhost server or ldap://ldap.example.org/ + + + bindDNLabel + Label for a 'Bind DN'. 'Bind' can be a keyword. Check LDAP documentations + Bind DN + + + bindDNTooltip + 'Bind DN' can be a keyword. Check LDAP documentations + The bind DN is the credential that is used to authenticate against an LDAP.\n eg: cn=ausername,ou=people,dc=bc,dc=com + + + passwordLabel + Password + + + useTLSLabel + Use TLS + + + useTLSTooltip + Encrypt transactions by LDAP over TLS(StartTLS). You must use \'ldap\' scheme. \'ldaps\' for LDAP over SSL is non-standardized and deprecated.\nStartTLS in an extension to the LDAP protocol which uses the TLS protocol to encrypt communication. \nIt works by establishing a normal - i.e. unsecured - connection with the LDAP server before a handshake negotiation between the server and the web services is carried out. Here, the server sends its certificate to prove its identity before the secure connection is established. + + + useSalLabel + Use Sal + + + useSalTooltip + The dns resolution is done by Linphone using Sal. It will pass an IP to LDAP. By doing that, the TLS negociation could not check the hostname. You may deactivate the verifications if wanted to force the connection. + + + verifyTLSLabel + Verify Certificates on TLS + + + AutoMode + ComboBox Label + Auto + + + offMode + ComboBox Label + Off + + + onMode + ComboBox label + On + + + verifyTLSTooltip + Specify whether the tls server certificate must be verified when connecting to a LDAP server. + + + searchTitle + Search + + + baseObjectLabel + 'Base Object' can be a keyword. Check LDAP documentations + Base Object + + + baseObjectPlaceholder + 'Base Object' can be a keyword. Check LDAP documentations + Base Object + + + baseObjectTooltip + 'Base Object'and 'Base DN' can be keywords. Check LDAP documentations + Base Object is a specification for LDAP Search Scopes that specifies that the Search Request should only be performed against the entry specified as the search base DN.\n\nNo entries below it will be considered. + + + filterLabel + Filter + + + filterTooltip + The search is base on this filter to search friends. Default value : (sn=%s) + + + maxResultsLabel + Max Results + + + maxResultsTooltip + The max results when requesting searches. + + + parsingTitle + Parsing + + + nameAttributesLabel + Name Attributes + + + nameAttributesTooltip + Check these attributes To build Name Friend, separated by a comma and the first is the highest priority. The default value is: sn + + + sipAttributesLabel + Sip Attributes + + + sipAttributesTooltip + Default values : (mobile,telephoneNumber,homePhone,sn) are keywords. + Check these attributes to build the SIP username in address of Friend. Attributes are separated by a comma and the first is the highest priority. The default value is: mobile,telephoneNumber,homePhone,sn + + + schemeLabel + Scheme + + + schemeTooltip + Add the scheme to the sip address(scheme:username@domain). The default value is sip + + + domainLabel + Domain + + + domainTooltip + Add the domain to the sip address(scheme:username@domain). The default value is sip.linphone.org + + + miscLabel + Miscellaneous label + Misc + + + debugLabel + Debug + + + debugTooltip + Get verbose logs in Linphone log file when doing transactions (useful to debug TLS connections). SettingsNetwork sendDtmfsLabel - DTMFs sending method + DTMFs send method allowIpV6Label diff --git a/linphone-app/ui/views/App/Settings/Dialogs/SettingsLdapEdit.qml b/linphone-app/ui/views/App/Settings/Dialogs/SettingsLdapEdit.qml index 080b9b770..277dbf82e 100644 --- a/linphone-app/ui/views/App/Settings/Dialogs/SettingsLdapEdit.qml +++ b/linphone-app/ui/views/App/Settings/Dialogs/SettingsLdapEdit.qml @@ -48,7 +48,7 @@ DialogPlus { FormLine { FormGroup { - label: 'Display Name' + label: qsTr('displayNameLabel')//'Display Name' TextField { id:displayName placeholderText : (serverUrl.text?serverUrl.text:serverUrl.placeholderText) @@ -56,7 +56,7 @@ DialogPlus { onTextChanged: ldapData.displayName = text Keys.onReturnPressed: nextItemInFocusChain().forceActiveFocus() TooltipArea{ - text : 'The display name of the server to be shown in the list' + text : qsTr('displayNameTooltip')//'The display name of the server to be shown in the list' } } } @@ -64,12 +64,12 @@ DialogPlus { } Form { - title: 'Connection' + title: qsTr('connectionTitle')//'Connection' width: parent.width FormLine { FormGroup { - label: 'Server URL *' + label: qsTr('serverLabel')+' *'//'Server URL *' TextField { id:serverUrl placeholderText :"Server" @@ -78,7 +78,7 @@ DialogPlus { Keys.onReturnPressed: nextItemInFocusChain().forceActiveFocus() error : ldapData.serverFieldError TooltipArea{ - text : 'LDAP Server. eg: ldap:/// for a localhost server or ldap://ldap.example.org/' + text : qsTr('serverTooltip')//'LDAP Server. eg: ldap:/// for a localhost server or ldap://ldap.example.org/' } } } @@ -86,7 +86,7 @@ DialogPlus { FormLine { FormGroup { - label: 'Bind DN *' + label: qsTr('bindDNLabel')+' *'//'Bind DN *' TextField { id: bindDn @@ -95,7 +95,7 @@ DialogPlus { error : ldapData.bindDnFieldError onTextChanged: ldapData.bindDn= text TooltipArea{ - text : 'The bindDN DN is the credential that is used to authenticate against an LDAP.\n eg: cn=ausername,ou=people,dc=bc,dc=com' + text : qsTr('bindDNTooltip')//'The bind DN is the credential that is used to authenticate against an LDAP.\n eg: cn=ausername,ou=people,dc=bc,dc=com' } } } @@ -103,7 +103,7 @@ DialogPlus { FormLine { FormGroup { - label: 'Password' + label: qsTr('passwordLabel')//'Password' PasswordField { id:password text:ldapData.password @@ -116,7 +116,7 @@ DialogPlus { FormLine { id:useRow FormGroup { - label: 'Use TLS' + label: qsTr('useTLSLabel')//'Use TLS' Switch { id: useTls anchors.verticalCenter: parent.verticalCenter @@ -126,12 +126,12 @@ DialogPlus { } TooltipArea{ tooltipParent:useRow - text : 'Encrypt transactions by LDAP over TLS(StartTLS). You must use \'ldap\' scheme. \'ldaps\' for LDAP over SSL is non-standardized and deprecated.\nStartTLS in an extension to the LDAP protocol which uses the TLS protocol to encrypt communication. \nIt works by establishing a normal - i.e. unsecured - connection with the LDAP server before a handshake negotiation between the server and the web services is carried out. Here, the server sends its certificate to prove its identity before the secure connection is established.' + text : qsTr('useTLSTooltip')//'Encrypt transactions by LDAP over TLS(StartTLS). You must use \'ldap\' scheme. \'ldaps\' for LDAP over SSL is non-standardized and deprecated.\nStartTLS in an extension to the LDAP protocol which uses the TLS protocol to encrypt communication. \nIt works by establishing a normal - i.e. unsecured - connection with the LDAP server before a handshake negotiation between the server and the web services is carried out. Here, the server sends its certificate to prove its identity before the secure connection is established.' } } } FormGroup { - label: 'Use Sal' + label: qsTr('useSalLabel')//'Use Sal' Switch { id: useSal anchors.verticalCenter: parent.verticalCenter @@ -141,7 +141,7 @@ DialogPlus { } TooltipArea{ tooltipParent:useRow - text : 'The dns resolution is done by Linphone using Sal. It will pass an IP to LDAP. By doing that, the TLS negociation could not check the hostname. You may deactivate the verifications if wanted to force the connection.' + text : qsTr('useSalTooltip')//'The dns resolution is done by Linphone using Sal. It will pass an IP to LDAP. By doing that, the TLS negociation could not check the hostname. You may deactivate the verifications if wanted to force the connection.' } } } @@ -150,16 +150,16 @@ DialogPlus { id:useSalRow FormGroup { - label: 'Verify Certificates on TLS' + label: qsTr('verifyTLSLabel')//'Verify Certificates on TLS' ComboBox { id:verifyServerCertificates currentIndex: ldapData.verifyServerCertificates+1 - model: ["Auto", "Off", "On"] + model: [qsTr('AutoMode'), qsTr('offMode'), qsTr('onMode')] width: parent.width onActivated: ldapData.verifyServerCertificates = index-1 TooltipArea{ - text : 'Specify whether the tls server certificate must be verified when connecting to a LDAP server.' + text : qsTr('verifyTLSTooltip')//'Specify whether the tls server certificate must be verified when connecting to a LDAP server.' } } } @@ -171,20 +171,20 @@ DialogPlus { // ----------------------------------------------------------------------- Form { - title: 'Search' + title: qsTr('searchTitle')//'Search' width: parent.width FormLine { FormGroup { - label: 'Base Object *' + label: qsTr('baseObjectLabel')+' *'//'Base Object *' TextField { id:baseObject - placeholderText :"Base Object" + placeholderText :qsTr('baseObjectPlaceholder')//"Base Object" text:ldapData.baseObject error : ldapData.baseObjectFieldError onTextChanged: ldapData.baseObject = text TooltipArea{ - text : 'BaseObject is a specification for LDAP Search Scopes that specifies that the Search Request should only be performed against the entry specified as the search base DN.\n\nNo entries below it will be considered.' + text : qsTr('baseObjectTooltip')//'BaseObject is a specification for LDAP Search Scopes that specifies that the Search Request should only be performed against the entry specified as the search base DN.\n\nNo entries below it will be considered.' } } } @@ -194,7 +194,7 @@ DialogPlus { FormLine { FormGroup { - label: 'Filter' + label: qsTr('filterLabel')//'Filter' TextField { id:filter text:ldapData.filter @@ -202,7 +202,7 @@ DialogPlus { onTextChanged: ldapData.filter = text placeholderText :"(sn=%s)" TooltipArea{ - text : 'The search is base on this filter to search friends. Default value : (sn=%s)' + text : qsTr('filterTooltip')//'The search is base on this filter to search friends. Default value : (sn=%s)' } } } @@ -210,7 +210,7 @@ DialogPlus { FormLine { FormGroup { - label: 'Max Results' + label: qsTr('maxResultsLabel')//'Max Results' NumericField { id:maxResults @@ -218,7 +218,7 @@ DialogPlus { error : ldapData.maxResultsFieldError onTextChanged: ldapData.maxResults = text TooltipArea{ - text : 'The max results when requesting searches' + text : qsTr('maxResultsTooltip')//'The max results when requesting searches' } } } @@ -229,12 +229,12 @@ DialogPlus { // ----------------------------------------------------------------------- Form { - title: 'Parsing' + title: qsTr('parsingTitle')//'Parsing' width: parent.width FormLine { FormGroup { - label: 'Name Attributes' + label: qsTr('nameAttributesLabel')//'Name Attributes' TextField { id:nameAttributes placeholderText :'sn' @@ -242,14 +242,14 @@ DialogPlus { error : ldapData.nameAttributesFieldError onTextChanged: ldapData.nameAttributes = text TooltipArea{ - text : 'Check these attributes To build Name Friend, separated by a comma and the first is the highest priority. The default value is: sn' + text : qsTr('nameAttributesTooltip')//'Check these attributes To build Name Friend, separated by a comma and the first is the highest priority. The default value is: sn' } } } } FormLine { FormGroup { - label: 'Sip Attributes' + label: qsTr('sipAttributesLabel')//'Sip Attributes' TextField { id:sipAttributes placeholderText :'mobile,telephoneNumber,homePhone,sn' @@ -257,14 +257,14 @@ DialogPlus { error : ldapData.sipAttributesFieldError onTextChanged: ldapData.sipAttributes = text TooltipArea{ - text : 'Check these attributes to build the SIP username in address of Friend. Attributes are separated by a comma and the first is the highest priority. The default value is: mobile,telephoneNumber,homePhone,sn' + text : qsTr('sipAttributesTooltip')//'Check these attributes to build the SIP username in address of Friend. Attributes are separated by a comma and the first is the highest priority. The default value is: mobile,telephoneNumber,homePhone,sn' } } } } FormLine { FormGroup { - label: 'Scheme' + label: qsTr('schemeLabel')//'Scheme' TextField { id:scheme placeholderText :'sip' @@ -272,14 +272,14 @@ DialogPlus { error : ldapData.sipSchemeFieldError onTextChanged: ldapData.sipScheme = text TooltipArea{ - text : 'Add the scheme to the sip address(scheme:username@domain). The default value is sip' + text : qsTr('schemeTooltip')//'Add the scheme to the sip address(scheme:username@domain). The default value is sip' } } } } FormLine { FormGroup { - label: 'Domain' + label: qsTr('domainLabel')//'Domain' TextField { id:domain placeholderText :'sip.linphone.org' @@ -287,7 +287,7 @@ DialogPlus { error : ldapData.sipDomainFieldError onTextChanged: ldapData.sipDomain = text TooltipArea{ - text : 'Add the domain to the sip address(scheme:username@domain). The default value is sip.linphone.org' + text : qsTr('domainTooltip')//'Add the domain to the sip address(scheme:username@domain). The default value is sip.linphone.org' } } } @@ -299,13 +299,13 @@ DialogPlus { // ----------------------------------------------------------------------- Form { - title: 'Misc' + title: qsTr('miscLabel')//'Misc' width: parent.width FormLine { id:miscLine FormGroup { - label: 'Debug' + label: qsTr('debugLabel')//'Debug' Switch { id: debugMode anchors.verticalCenter: parent.verticalCenter @@ -315,7 +315,7 @@ DialogPlus { } TooltipArea{ tooltipParent:miscLine - text : 'Get verbose logs in Linphone log file when doing transactions (useful to debug TLS connections)' + text : qsTr('debugTooltip')//'Get verbose logs in Linphone log file when doing transactions (useful to debug TLS connections)' } } } diff --git a/linphone-app/ui/views/App/Settings/SettingsLdap.qml b/linphone-app/ui/views/App/Settings/SettingsLdap.qml index 85115fb9c..e8f93b9e8 100644 --- a/linphone-app/ui/views/App/Settings/SettingsLdap.qml +++ b/linphone-app/ui/views/App/Settings/SettingsLdap.qml @@ -43,7 +43,7 @@ Column { Text { id: summaryTitle color: FormStyle.header.title.color - text: (modelData.displayName?modelData.displayName:(modelData.server?modelData.server:'New server')) + text: (modelData.displayName?modelData.displayName:(modelData.server?modelData.server:qsTr('newServer')))//'New server')) font { bold: true pointSize: FormStyle.header.title.pointSize