mirror of
https://gitlab.linphone.org/BC/public/linphone-desktop.git
synced 2026-02-07 15:08:24 +00:00
- Fix interpretUrl to check internalization prefix option from account configuration.
- Fix Layout label width if fitting label is requested (gui). - Fix a missing presence text in qml.
This commit is contained in:
parent
5e56b2032c
commit
a47d97d790
31 changed files with 609 additions and 20 deletions
|
|
@ -17,6 +17,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||
- New Chat Layout.
|
||||
- Display last seen for contacts.
|
||||
- New language support: Czech
|
||||
- An option to set dial prefix and its use on numbers.
|
||||
|
||||
## 5.0.15 - undefined
|
||||
|
||||
|
|
|
|||
|
|
@ -3337,6 +3337,36 @@ Klikněte zde: <a href="%1">%1</a>
|
|||
<source>publishDurationLabel</source>
|
||||
<translation>Délka publikování stavu (s)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>dialPrefix</source>
|
||||
<extracomment>'Prefix for your country' : Label for a text option to set the country code on the phone numbers.</extracomment>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>dialPrefixTooptip</source>
|
||||
<extracomment>"The prefix to use when using numbers without the '+'" : tooltip for a text option to set the country code on the phone numbers.</extracomment>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>dialEscapePlus</source>
|
||||
<extracomment>"Replace '+' by '00'" : Label to an option for escaping the '+' character when dialing.</extracomment>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>dialEscapePlusTooltip</source>
|
||||
<extracomment>'Replace + in addresses by 00' : tooltip for an option that allow escaping the '+' character in phone number.</extracomment>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>dialPrefixCallChat</source>
|
||||
<extracomment>'Apply prefix for outgoing calls and chats' : Label to set an option for applying the specified prefix to outgoings calls and chats.</extracomment>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>dialPrefixCallChatTooltip</source>
|
||||
<extracomment>'If a number is entered, apply the prefix to number' : tooltip for an option to applying the country prefix to numbers.</extracomment>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>SettingsTunnel</name>
|
||||
|
|
|
|||
|
|
@ -3300,6 +3300,36 @@ Klik her: <a href="%1">%1</a>
|
|||
<source>publishDurationLabel</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>dialPrefix</source>
|
||||
<extracomment>'Prefix for your country' : Label for a text option to set the country code on the phone numbers.</extracomment>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>dialPrefixTooptip</source>
|
||||
<extracomment>"The prefix to use when using numbers without the '+'" : tooltip for a text option to set the country code on the phone numbers.</extracomment>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>dialEscapePlus</source>
|
||||
<extracomment>"Replace '+' by '00'" : Label to an option for escaping the '+' character when dialing.</extracomment>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>dialEscapePlusTooltip</source>
|
||||
<extracomment>'Replace + in addresses by 00' : tooltip for an option that allow escaping the '+' character in phone number.</extracomment>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>dialPrefixCallChat</source>
|
||||
<extracomment>'Apply prefix for outgoing calls and chats' : Label to set an option for applying the specified prefix to outgoings calls and chats.</extracomment>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>dialPrefixCallChatTooltip</source>
|
||||
<extracomment>'If a number is entered, apply the prefix to number' : tooltip for an option to applying the country prefix to numbers.</extracomment>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>SettingsTunnel</name>
|
||||
|
|
|
|||
|
|
@ -3300,6 +3300,36 @@ Klicken Sie hier: <a href="%1">%1</a>
|
|||
<source>publishDurationLabel</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>dialPrefix</source>
|
||||
<extracomment>'Prefix for your country' : Label for a text option to set the country code on the phone numbers.</extracomment>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>dialPrefixTooptip</source>
|
||||
<extracomment>"The prefix to use when using numbers without the '+'" : tooltip for a text option to set the country code on the phone numbers.</extracomment>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>dialEscapePlus</source>
|
||||
<extracomment>"Replace '+' by '00'" : Label to an option for escaping the '+' character when dialing.</extracomment>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>dialEscapePlusTooltip</source>
|
||||
<extracomment>'Replace + in addresses by 00' : tooltip for an option that allow escaping the '+' character in phone number.</extracomment>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>dialPrefixCallChat</source>
|
||||
<extracomment>'Apply prefix for outgoing calls and chats' : Label to set an option for applying the specified prefix to outgoings calls and chats.</extracomment>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>dialPrefixCallChatTooltip</source>
|
||||
<extracomment>'If a number is entered, apply the prefix to number' : tooltip for an option to applying the country prefix to numbers.</extracomment>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>SettingsTunnel</name>
|
||||
|
|
|
|||
|
|
@ -3324,6 +3324,36 @@ Click here: <a href="%1">%1</a>
|
|||
<source>publishDurationLabel</source>
|
||||
<translation>Publish duration (sec)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>dialPrefix</source>
|
||||
<extracomment>'Prefix for your country' : Label for a text option to set the country code on the phone numbers.</extracomment>
|
||||
<translation>Prefix for your country</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>dialPrefixTooptip</source>
|
||||
<extracomment>"The prefix to use when using numbers without the '+'" : tooltip for a text option to set the country code on the phone numbers.</extracomment>
|
||||
<translation>The prefix to use when using numbers without the '+'</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>dialEscapePlus</source>
|
||||
<extracomment>"Replace '+' by '00'" : Label to an option for escaping the '+' character when dialing.</extracomment>
|
||||
<translation>Replace '+' by '00'</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>dialEscapePlusTooltip</source>
|
||||
<extracomment>'Replace + in addresses by 00' : tooltip for an option that allow escaping the '+' character in phone number.</extracomment>
|
||||
<translation>Replace '+' in addresses by '00'</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>dialPrefixCallChat</source>
|
||||
<extracomment>'Apply prefix for outgoing calls and chats' : Label to set an option for applying the specified prefix to outgoings calls and chats.</extracomment>
|
||||
<translation>Apply prefix for outgoing calls and chats</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>dialPrefixCallChatTooltip</source>
|
||||
<extracomment>'If a number is entered, apply the prefix to number' : tooltip for an option to applying the country prefix to numbers.</extracomment>
|
||||
<translation>If a number is entered, apply the prefix to number</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>SettingsTunnel</name>
|
||||
|
|
|
|||
|
|
@ -3300,6 +3300,36 @@ Haga clic aquí: <a href="%1">%1 </a>
|
|||
<source>publishDurationLabel</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>dialPrefix</source>
|
||||
<extracomment>'Prefix for your country' : Label for a text option to set the country code on the phone numbers.</extracomment>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>dialPrefixTooptip</source>
|
||||
<extracomment>"The prefix to use when using numbers without the '+'" : tooltip for a text option to set the country code on the phone numbers.</extracomment>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>dialEscapePlus</source>
|
||||
<extracomment>"Replace '+' by '00'" : Label to an option for escaping the '+' character when dialing.</extracomment>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>dialEscapePlusTooltip</source>
|
||||
<extracomment>'Replace + in addresses by 00' : tooltip for an option that allow escaping the '+' character in phone number.</extracomment>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>dialPrefixCallChat</source>
|
||||
<extracomment>'Apply prefix for outgoing calls and chats' : Label to set an option for applying the specified prefix to outgoings calls and chats.</extracomment>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>dialPrefixCallChatTooltip</source>
|
||||
<extracomment>'If a number is entered, apply the prefix to number' : tooltip for an option to applying the country prefix to numbers.</extracomment>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>SettingsTunnel</name>
|
||||
|
|
|
|||
|
|
@ -3300,6 +3300,36 @@ Cliquez ici : <a href="%1">%1</a>
|
|||
<source>publishDurationLabel</source>
|
||||
<translation>Durée de présence (sec)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>dialPrefix</source>
|
||||
<extracomment>'Prefix for your country' : Label for a text option to set the country code on the phone numbers.</extracomment>
|
||||
<translation>Préfixe de votre pays</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>dialPrefixTooptip</source>
|
||||
<extracomment>"The prefix to use when using numbers without the '+'" : tooltip for a text option to set the country code on the phone numbers.</extracomment>
|
||||
<translation>Le préfixe à utiliser dans les numéros de téléphone sans le caractère '+'</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>dialEscapePlus</source>
|
||||
<extracomment>"Replace '+' by '00'" : Label to an option for escaping the '+' character when dialing.</extracomment>
|
||||
<translation>Remplacer '+' par '00'</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>dialEscapePlusTooltip</source>
|
||||
<extracomment>'Replace + in addresses by 00' : tooltip for an option that allow escaping the '+' character in phone number.</extracomment>
|
||||
<translation>Remplacer le caractère '+' par '00' dans les numéros de téléphone</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>dialPrefixCallChat</source>
|
||||
<extracomment>'Apply prefix for outgoing calls and chats' : Label to set an option for applying the specified prefix to outgoings calls and chats.</extracomment>
|
||||
<translation>Applique le préfixe pour les appels sortants et les messages</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>dialPrefixCallChatTooltip</source>
|
||||
<extracomment>'If a number is entered, apply the prefix to number' : tooltip for an option to applying the country prefix to numbers.</extracomment>
|
||||
<translation>Quand un nombre est saisi, applique le préfixe</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>SettingsTunnel</name>
|
||||
|
|
|
|||
|
|
@ -3287,6 +3287,36 @@ Kattintson ide: <a href="%1">%1</a>
|
|||
<source>publishDurationLabel</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>dialPrefix</source>
|
||||
<extracomment>'Prefix for your country' : Label for a text option to set the country code on the phone numbers.</extracomment>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>dialPrefixTooptip</source>
|
||||
<extracomment>"The prefix to use when using numbers without the '+'" : tooltip for a text option to set the country code on the phone numbers.</extracomment>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>dialEscapePlus</source>
|
||||
<extracomment>"Replace '+' by '00'" : Label to an option for escaping the '+' character when dialing.</extracomment>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>dialEscapePlusTooltip</source>
|
||||
<extracomment>'Replace + in addresses by 00' : tooltip for an option that allow escaping the '+' character in phone number.</extracomment>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>dialPrefixCallChat</source>
|
||||
<extracomment>'Apply prefix for outgoing calls and chats' : Label to set an option for applying the specified prefix to outgoings calls and chats.</extracomment>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>dialPrefixCallChatTooltip</source>
|
||||
<extracomment>'If a number is entered, apply the prefix to number' : tooltip for an option to applying the country prefix to numbers.</extracomment>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>SettingsTunnel</name>
|
||||
|
|
|
|||
|
|
@ -3300,6 +3300,36 @@ Clicca: <a href="%1">%1</a>
|
|||
<source>publishDurationLabel</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>dialPrefix</source>
|
||||
<extracomment>'Prefix for your country' : Label for a text option to set the country code on the phone numbers.</extracomment>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>dialPrefixTooptip</source>
|
||||
<extracomment>"The prefix to use when using numbers without the '+'" : tooltip for a text option to set the country code on the phone numbers.</extracomment>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>dialEscapePlus</source>
|
||||
<extracomment>"Replace '+' by '00'" : Label to an option for escaping the '+' character when dialing.</extracomment>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>dialEscapePlusTooltip</source>
|
||||
<extracomment>'Replace + in addresses by 00' : tooltip for an option that allow escaping the '+' character in phone number.</extracomment>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>dialPrefixCallChat</source>
|
||||
<extracomment>'Apply prefix for outgoing calls and chats' : Label to set an option for applying the specified prefix to outgoings calls and chats.</extracomment>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>dialPrefixCallChatTooltip</source>
|
||||
<extracomment>'If a number is entered, apply the prefix to number' : tooltip for an option to applying the country prefix to numbers.</extracomment>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>SettingsTunnel</name>
|
||||
|
|
|
|||
|
|
@ -3287,6 +3287,36 @@
|
|||
<source>publishDurationLabel</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>dialPrefix</source>
|
||||
<extracomment>'Prefix for your country' : Label for a text option to set the country code on the phone numbers.</extracomment>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>dialPrefixTooptip</source>
|
||||
<extracomment>"The prefix to use when using numbers without the '+'" : tooltip for a text option to set the country code on the phone numbers.</extracomment>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>dialEscapePlus</source>
|
||||
<extracomment>"Replace '+' by '00'" : Label to an option for escaping the '+' character when dialing.</extracomment>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>dialEscapePlusTooltip</source>
|
||||
<extracomment>'Replace + in addresses by 00' : tooltip for an option that allow escaping the '+' character in phone number.</extracomment>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>dialPrefixCallChat</source>
|
||||
<extracomment>'Apply prefix for outgoing calls and chats' : Label to set an option for applying the specified prefix to outgoings calls and chats.</extracomment>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>dialPrefixCallChatTooltip</source>
|
||||
<extracomment>'If a number is entered, apply the prefix to number' : tooltip for an option to applying the country prefix to numbers.</extracomment>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>SettingsTunnel</name>
|
||||
|
|
|
|||
|
|
@ -3313,6 +3313,36 @@ Spustelėkite čia: <a href="%1">%1</a>
|
|||
<source>publishDurationLabel</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>dialPrefix</source>
|
||||
<extracomment>'Prefix for your country' : Label for a text option to set the country code on the phone numbers.</extracomment>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>dialPrefixTooptip</source>
|
||||
<extracomment>"The prefix to use when using numbers without the '+'" : tooltip for a text option to set the country code on the phone numbers.</extracomment>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>dialEscapePlus</source>
|
||||
<extracomment>"Replace '+' by '00'" : Label to an option for escaping the '+' character when dialing.</extracomment>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>dialEscapePlusTooltip</source>
|
||||
<extracomment>'Replace + in addresses by 00' : tooltip for an option that allow escaping the '+' character in phone number.</extracomment>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>dialPrefixCallChat</source>
|
||||
<extracomment>'Apply prefix for outgoing calls and chats' : Label to set an option for applying the specified prefix to outgoings calls and chats.</extracomment>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>dialPrefixCallChatTooltip</source>
|
||||
<extracomment>'If a number is entered, apply the prefix to number' : tooltip for an option to applying the country prefix to numbers.</extracomment>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>SettingsTunnel</name>
|
||||
|
|
|
|||
|
|
@ -3300,6 +3300,36 @@ Clique aqui: <a href="%1">%1 </a>
|
|||
<source>publishDurationLabel</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>dialPrefix</source>
|
||||
<extracomment>'Prefix for your country' : Label for a text option to set the country code on the phone numbers.</extracomment>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>dialPrefixTooptip</source>
|
||||
<extracomment>"The prefix to use when using numbers without the '+'" : tooltip for a text option to set the country code on the phone numbers.</extracomment>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>dialEscapePlus</source>
|
||||
<extracomment>"Replace '+' by '00'" : Label to an option for escaping the '+' character when dialing.</extracomment>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>dialEscapePlusTooltip</source>
|
||||
<extracomment>'Replace + in addresses by 00' : tooltip for an option that allow escaping the '+' character in phone number.</extracomment>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>dialPrefixCallChat</source>
|
||||
<extracomment>'Apply prefix for outgoing calls and chats' : Label to set an option for applying the specified prefix to outgoings calls and chats.</extracomment>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>dialPrefixCallChatTooltip</source>
|
||||
<extracomment>'If a number is entered, apply the prefix to number' : tooltip for an option to applying the country prefix to numbers.</extracomment>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>SettingsTunnel</name>
|
||||
|
|
|
|||
|
|
@ -3313,6 +3313,36 @@
|
|||
<source>publishDurationLabel</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>dialPrefix</source>
|
||||
<extracomment>'Prefix for your country' : Label for a text option to set the country code on the phone numbers.</extracomment>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>dialPrefixTooptip</source>
|
||||
<extracomment>"The prefix to use when using numbers without the '+'" : tooltip for a text option to set the country code on the phone numbers.</extracomment>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>dialEscapePlus</source>
|
||||
<extracomment>"Replace '+' by '00'" : Label to an option for escaping the '+' character when dialing.</extracomment>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>dialEscapePlusTooltip</source>
|
||||
<extracomment>'Replace + in addresses by 00' : tooltip for an option that allow escaping the '+' character in phone number.</extracomment>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>dialPrefixCallChat</source>
|
||||
<extracomment>'Apply prefix for outgoing calls and chats' : Label to set an option for applying the specified prefix to outgoings calls and chats.</extracomment>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>dialPrefixCallChatTooltip</source>
|
||||
<extracomment>'If a number is entered, apply the prefix to number' : tooltip for an option to applying the country prefix to numbers.</extracomment>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>SettingsTunnel</name>
|
||||
|
|
|
|||
|
|
@ -3300,6 +3300,36 @@ Klicka här: <a href="%1">%1</a>
|
|||
<source>publishDurationLabel</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>dialPrefix</source>
|
||||
<extracomment>'Prefix for your country' : Label for a text option to set the country code on the phone numbers.</extracomment>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>dialPrefixTooptip</source>
|
||||
<extracomment>"The prefix to use when using numbers without the '+'" : tooltip for a text option to set the country code on the phone numbers.</extracomment>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>dialEscapePlus</source>
|
||||
<extracomment>"Replace '+' by '00'" : Label to an option for escaping the '+' character when dialing.</extracomment>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>dialEscapePlusTooltip</source>
|
||||
<extracomment>'Replace + in addresses by 00' : tooltip for an option that allow escaping the '+' character in phone number.</extracomment>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>dialPrefixCallChat</source>
|
||||
<extracomment>'Apply prefix for outgoing calls and chats' : Label to set an option for applying the specified prefix to outgoings calls and chats.</extracomment>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>dialPrefixCallChatTooltip</source>
|
||||
<extracomment>'If a number is entered, apply the prefix to number' : tooltip for an option to applying the country prefix to numbers.</extracomment>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>SettingsTunnel</name>
|
||||
|
|
|
|||
|
|
@ -3287,6 +3287,36 @@ Buraya tıklayın: <a href="%1">%1</a>
|
|||
<source>publishDurationLabel</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>dialPrefix</source>
|
||||
<extracomment>'Prefix for your country' : Label for a text option to set the country code on the phone numbers.</extracomment>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>dialPrefixTooptip</source>
|
||||
<extracomment>"The prefix to use when using numbers without the '+'" : tooltip for a text option to set the country code on the phone numbers.</extracomment>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>dialEscapePlus</source>
|
||||
<extracomment>"Replace '+' by '00'" : Label to an option for escaping the '+' character when dialing.</extracomment>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>dialEscapePlusTooltip</source>
|
||||
<extracomment>'Replace + in addresses by 00' : tooltip for an option that allow escaping the '+' character in phone number.</extracomment>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>dialPrefixCallChat</source>
|
||||
<extracomment>'Apply prefix for outgoing calls and chats' : Label to set an option for applying the specified prefix to outgoings calls and chats.</extracomment>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>dialPrefixCallChatTooltip</source>
|
||||
<extracomment>'If a number is entered, apply the prefix to number' : tooltip for an option to applying the country prefix to numbers.</extracomment>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>SettingsTunnel</name>
|
||||
|
|
|
|||
|
|
@ -3313,6 +3313,36 @@
|
|||
<source>publishDurationLabel</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>dialPrefix</source>
|
||||
<extracomment>'Prefix for your country' : Label for a text option to set the country code on the phone numbers.</extracomment>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>dialPrefixTooptip</source>
|
||||
<extracomment>"The prefix to use when using numbers without the '+'" : tooltip for a text option to set the country code on the phone numbers.</extracomment>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>dialEscapePlus</source>
|
||||
<extracomment>"Replace '+' by '00'" : Label to an option for escaping the '+' character when dialing.</extracomment>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>dialEscapePlusTooltip</source>
|
||||
<extracomment>'Replace + in addresses by 00' : tooltip for an option that allow escaping the '+' character in phone number.</extracomment>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>dialPrefixCallChat</source>
|
||||
<extracomment>'Apply prefix for outgoing calls and chats' : Label to set an option for applying the specified prefix to outgoings calls and chats.</extracomment>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>dialPrefixCallChatTooltip</source>
|
||||
<extracomment>'If a number is entered, apply the prefix to number' : tooltip for an option to applying the country prefix to numbers.</extracomment>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>SettingsTunnel</name>
|
||||
|
|
|
|||
|
|
@ -3287,6 +3287,36 @@
|
|||
<source>publishDurationLabel</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>dialPrefix</source>
|
||||
<extracomment>'Prefix for your country' : Label for a text option to set the country code on the phone numbers.</extracomment>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>dialPrefixTooptip</source>
|
||||
<extracomment>"The prefix to use when using numbers without the '+'" : tooltip for a text option to set the country code on the phone numbers.</extracomment>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>dialEscapePlus</source>
|
||||
<extracomment>"Replace '+' by '00'" : Label to an option for escaping the '+' character when dialing.</extracomment>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>dialEscapePlusTooltip</source>
|
||||
<extracomment>'Replace + in addresses by 00' : tooltip for an option that allow escaping the '+' character in phone number.</extracomment>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>dialPrefixCallChat</source>
|
||||
<extracomment>'Apply prefix for outgoing calls and chats' : Label to set an option for applying the specified prefix to outgoings calls and chats.</extracomment>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>dialPrefixCallChatTooltip</source>
|
||||
<extracomment>'If a number is entered, apply the prefix to number' : tooltip for an option to applying the country prefix to numbers.</extracomment>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>SettingsTunnel</name>
|
||||
|
|
|
|||
|
|
@ -168,7 +168,7 @@ std::shared_ptr<linphone::Address> CallModel::getConferenceAddress () const{
|
|||
|
||||
if (mCall->getDir() == linphone::Call::Dir::Incoming){
|
||||
if( remoteContact != "" )
|
||||
conferenceAddress = CoreManager::getInstance()->getCore()->interpretUrl(remoteContact);
|
||||
conferenceAddress = Utils::interpretUrl(Utils::coreStringToAppString(remoteContact));
|
||||
}else
|
||||
conferenceAddress = mCall->getRemoteAddress()->clone();
|
||||
}
|
||||
|
|
|
|||
|
|
@ -136,7 +136,7 @@ void CallsListModel::launchSecureAudioCall (const QString &sipAddress, LinphoneE
|
|||
CoreManager::getInstance()->getTimelineListModel()->mAutoSelectAfterCreation = true;
|
||||
shared_ptr<linphone::Core> core = CoreManager::getInstance()->getCore();
|
||||
|
||||
shared_ptr<linphone::Address> address = core->interpretUrl(Utils::appStringToCoreString(sipAddress));
|
||||
shared_ptr<linphone::Address> address = Utils::interpretUrl(sipAddress);
|
||||
if (!address)
|
||||
return;
|
||||
|
||||
|
|
@ -180,7 +180,7 @@ void CallsListModel::launchVideoCall (const QString &sipAddress, const QString&
|
|||
return;
|
||||
}
|
||||
|
||||
shared_ptr<linphone::Address> address = core->interpretUrl(Utils::appStringToCoreString(sipAddress));
|
||||
shared_ptr<linphone::Address> address = Utils::interpretUrl(sipAddress);
|
||||
if (!address)
|
||||
return;
|
||||
|
||||
|
|
@ -215,7 +215,7 @@ QVariantMap CallsListModel::launchChat(const QString &sipAddress, const int& sec
|
|||
ChatRoomModel* CallsListModel::createChat (const QString &participantAddress) const{
|
||||
CoreManager::getInstance()->getTimelineListModel()->mAutoSelectAfterCreation = true;
|
||||
shared_ptr<linphone::Core> core = CoreManager::getInstance()->getCore();
|
||||
shared_ptr<linphone::Address> address = core->interpretUrl(Utils::appStringToCoreString(participantAddress));
|
||||
shared_ptr<linphone::Address> address = Utils::interpretUrl(participantAddress);
|
||||
if (!address)
|
||||
return nullptr;
|
||||
|
||||
|
|
@ -248,7 +248,7 @@ ChatRoomModel* CallsListModel::createChat (CallModel * model){
|
|||
bool CallsListModel::createSecureChat (const QString& subject, const QString &participantAddress) const{
|
||||
CoreManager::getInstance()->getTimelineListModel()->mAutoSelectAfterCreation = true;
|
||||
shared_ptr<linphone::Core> core = CoreManager::getInstance()->getCore();
|
||||
shared_ptr<linphone::Address> address = core->interpretUrl(Utils::appStringToCoreString(participantAddress));
|
||||
shared_ptr<linphone::Address> address = Utils::interpretUrl(participantAddress);
|
||||
if (!address)
|
||||
return false;
|
||||
|
||||
|
|
@ -472,7 +472,7 @@ void CallsListModel::terminateAllCalls () const {
|
|||
}
|
||||
void CallsListModel::terminateCall (const QString& sipAddress) const{
|
||||
auto coreManager = CoreManager::getInstance();
|
||||
shared_ptr<linphone::Address> address = coreManager->getCore()->interpretUrl(Utils::appStringToCoreString(sipAddress));
|
||||
shared_ptr<linphone::Address> address = Utils::interpretUrl(sipAddress);
|
||||
if (!address)
|
||||
qWarning() << "Cannot terminate Call. The address cannot be parsed : " << sipAddress;
|
||||
else{
|
||||
|
|
|
|||
|
|
@ -1256,9 +1256,7 @@ void ChatRoomModel::handlePresenceStatusReceived(std::shared_ptr<linphone::Frien
|
|||
if(contact){
|
||||
auto friendsAddresses = contact->getVcardModel()->getSipAddresses();
|
||||
for(auto friendAddress = friendsAddresses.begin() ; !canUpdatePresence && friendAddress != friendsAddresses.end() ; ++friendAddress){
|
||||
shared_ptr<linphone::Address> lAddress = CoreManager::getInstance()->getCore()->interpretUrl(
|
||||
Utils::appStringToCoreString(friendAddress->toString())
|
||||
);
|
||||
shared_ptr<linphone::Address> lAddress = Utils::interpretUrl(friendAddress->toString());
|
||||
canUpdatePresence = lAddress->weakEqual(*itContactAddress);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -94,9 +94,7 @@ bool ConferenceHelperModel::ConferenceAddModel::addToConference (const QString &
|
|||
if (mSipAddresses.contains(sipAddress))
|
||||
return false;
|
||||
|
||||
shared_ptr<linphone::Address> address = CoreManager::getInstance()->getCore()->interpretUrl(
|
||||
Utils::appStringToCoreString(sipAddress)
|
||||
);
|
||||
shared_ptr<linphone::Address> address = Utils::interpretUrl(sipAddress);
|
||||
if (!address)
|
||||
return false;
|
||||
|
||||
|
|
|
|||
|
|
@ -172,6 +172,9 @@ QVariantMap AccountSettingsModel::getAccountDescription (const shared_ptr<linpho
|
|||
map["publishPresence"] = accountParams->publishEnabled();
|
||||
map["avpfEnabled"] = accountParams->getAvpfMode() == linphone::AVPFMode::Enabled;
|
||||
map["registrationState"] = mapLinphoneRegistrationStateToUi(account->getState());
|
||||
map["dialPrefix"] = Utils::coreStringToAppString(accountParams->getInternationalPrefix());
|
||||
map["dialPrefixCallChat"] = accountParams->getUseInternationalPrefixForCallsAndChats();
|
||||
map["dialEscapePlus"] = accountParams->dialEscapePlusEnabled();
|
||||
|
||||
shared_ptr<linphone::NatPolicy> natPolicy = accountParams->getNatPolicy();
|
||||
bool createdNat = !natPolicy;
|
||||
|
|
@ -222,6 +225,16 @@ QString AccountSettingsModel::getLimeServerUrl() const{
|
|||
return account ? Utils::coreStringToAppString(account->getParams()->getLimeServerUrl()) : "";
|
||||
}
|
||||
|
||||
bool AccountSettingsModel::getUseInternationalPrefixForCallsAndChats() const{
|
||||
shared_ptr<linphone::Core> core = CoreManager::getInstance()->getCore();
|
||||
if(core){
|
||||
shared_ptr<linphone::Account> account = core->getDefaultAccount();
|
||||
if(account)
|
||||
return account->getParams()->getUseInternationalPrefixForCallsAndChats();
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
void AccountSettingsModel::setDefaultAccount (const shared_ptr<linphone::Account> &account) {
|
||||
shared_ptr<linphone::Core> core = CoreManager::getInstance()->getCore();
|
||||
if (mSelectedAccount != account) {
|
||||
|
|
@ -351,6 +364,13 @@ bool AccountSettingsModel::addOrUpdateAccount(
|
|||
? linphone::AVPFMode::Enabled
|
||||
: linphone::AVPFMode::Default
|
||||
);
|
||||
if(data.contains("dialPrefix"))
|
||||
accountParams->setInternationalPrefix(Utils::appStringToCoreString(data["dialPrefix"].toString()));
|
||||
if(data.contains("dialPrefixCallChat"))
|
||||
accountParams->setUseInternationalPrefixForCallsAndChats(data["dialPrefixCallChat"].toBool());
|
||||
if(data.contains("dialEscapePlus"))
|
||||
accountParams->enableDialEscapePlus(data["dialEscapePlus"].toBool());
|
||||
|
||||
|
||||
shared_ptr<linphone::NatPolicy> natPolicy = accountParams->getNatPolicy();
|
||||
bool createdNat = !natPolicy;
|
||||
|
|
@ -401,7 +421,7 @@ bool AccountSettingsModel::addOrUpdateAccount (
|
|||
) {
|
||||
shared_ptr<linphone::Account> account;
|
||||
QString sipAddress = data["sipAddress"].toString();
|
||||
shared_ptr<linphone::Address> address = CoreManager::getInstance()->getCore()->interpretUrl(sipAddress.toStdString());
|
||||
shared_ptr<linphone::Address> address = Utils::interpretUrl(sipAddress);
|
||||
|
||||
for (const auto &databaseAccount : CoreManager::getInstance()->getAccountList())
|
||||
if (databaseAccount->getParams()->getIdentityAddress()->weakEqual(address)) {
|
||||
|
|
|
|||
|
|
@ -76,6 +76,7 @@ public:
|
|||
QString getConferenceUri() const;
|
||||
QString getVideoConferenceUri() const;
|
||||
QString getLimeServerUrl() const;
|
||||
bool getUseInternationalPrefixForCallsAndChats() const;
|
||||
|
||||
Q_INVOKABLE void setDefaultAccount (const std::shared_ptr<linphone::Account> &account = nullptr);
|
||||
Q_INVOKABLE void setDefaultAccountFromSipAddress (const QString &sipAddress);
|
||||
|
|
|
|||
|
|
@ -192,9 +192,7 @@ QString SipAddressesModel::addTransportToSipAddress (const QString &sipAddress,
|
|||
// -----------------------------------------------------------------------------
|
||||
|
||||
QString SipAddressesModel::interpretSipAddress (const QString &sipAddress, bool checkUsername) {
|
||||
shared_ptr<linphone::Address> lAddress = CoreManager::getInstance()->getCore()->interpretUrl(
|
||||
Utils::appStringToCoreString(sipAddress)
|
||||
);
|
||||
shared_ptr<linphone::Address> lAddress = Utils::interpretUrl(sipAddress);
|
||||
|
||||
if (lAddress && (!checkUsername || !lAddress->getUsername().empty()))
|
||||
return Utils::coreStringToAppString(lAddress->asStringUriOnly());
|
||||
|
|
|
|||
|
|
@ -38,6 +38,21 @@ void LinphoneEnums::registerMetaTypes(){
|
|||
qRegisterMetaType<LinphoneEnums::RecorderState>();
|
||||
qRegisterMetaType<LinphoneEnums::TunnelMode>();
|
||||
qRegisterMetaType<LinphoneEnums::TransportType>();
|
||||
|
||||
qRegisterMetaType<std::shared_ptr<linphone::Call>>();
|
||||
qRegisterMetaType<linphone::Call::State>();
|
||||
qRegisterMetaType<std::shared_ptr<linphone::Core>>();
|
||||
qRegisterMetaType<linphone::ConfiguringState>();
|
||||
qRegisterMetaType<std::string>();
|
||||
qRegisterMetaType<linphone::GlobalState>();
|
||||
qRegisterMetaType<std::shared_ptr<linphone::ChatRoom>>();
|
||||
qRegisterMetaType<linphone::ChatRoom::State>();
|
||||
qRegisterMetaType<linphone::RegistrationState>();
|
||||
qRegisterMetaType<linphone::VersionUpdateCheckResult>();
|
||||
qRegisterMetaType<std::shared_ptr<linphone::CallLog>>();
|
||||
qRegisterMetaType<std::shared_ptr<const linphone::CallStats>>();
|
||||
qRegisterMetaType<std::shared_ptr<linphone::EventLog>>();
|
||||
qRegisterMetaType<std::shared_ptr<linphone::ChatMessage>>();
|
||||
}
|
||||
|
||||
linphone::MediaEncryption LinphoneEnums::toLinphone(const LinphoneEnums::MediaEncryption& data){
|
||||
|
|
|
|||
|
|
@ -231,4 +231,20 @@ Q_DECLARE_METATYPE(LinphoneEnums::RecorderState)
|
|||
Q_DECLARE_METATYPE(LinphoneEnums::TunnelMode)
|
||||
Q_DECLARE_METATYPE(LinphoneEnums::TransportType)
|
||||
|
||||
Q_DECLARE_METATYPE(std::shared_ptr<linphone::Call>)
|
||||
Q_DECLARE_METATYPE(linphone::Call::State)
|
||||
Q_DECLARE_METATYPE(std::shared_ptr<linphone::Core>)
|
||||
Q_DECLARE_METATYPE(linphone::ConfiguringState)
|
||||
Q_DECLARE_METATYPE(std::string)
|
||||
Q_DECLARE_METATYPE(linphone::GlobalState)
|
||||
Q_DECLARE_METATYPE(std::shared_ptr<linphone::ChatRoom>)
|
||||
Q_DECLARE_METATYPE(linphone::ChatRoom::State)
|
||||
Q_DECLARE_METATYPE(linphone::RegistrationState)
|
||||
Q_DECLARE_METATYPE(linphone::VersionUpdateCheckResult)
|
||||
Q_DECLARE_METATYPE(std::shared_ptr<linphone::CallLog>)
|
||||
Q_DECLARE_METATYPE(std::shared_ptr<const linphone::CallStats>)
|
||||
Q_DECLARE_METATYPE(std::shared_ptr<linphone::EventLog>)
|
||||
Q_DECLARE_METATYPE(std::shared_ptr<linphone::ChatMessage>)
|
||||
|
||||
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -64,12 +64,13 @@ constexpr int SafeFilePathLimit = 100;
|
|||
}
|
||||
|
||||
std::shared_ptr<linphone::Address> Utils::interpretUrl(const QString& address){
|
||||
auto interpretedAddress = CoreManager::getInstance()->getCore()->interpretUrl(Utils::appStringToCoreString(address), true);
|
||||
bool usePrefix = CoreManager::getInstance()->getAccountSettingsModel()->getUseInternationalPrefixForCallsAndChats();
|
||||
auto interpretedAddress = CoreManager::getInstance()->getCore()->interpretUrl(Utils::appStringToCoreString(address), usePrefix);
|
||||
if(!interpretedAddress){// Try by removing scheme.
|
||||
QStringList splitted = address.split(":");
|
||||
if(splitted.size() > 0 && splitted[0] == "sip"){
|
||||
splitted.removeFirst();
|
||||
interpretedAddress = CoreManager::getInstance()->getCore()->interpretUrl(Utils::appStringToCoreString(splitted.join(":")), true);
|
||||
interpretedAddress = CoreManager::getInstance()->getCore()->interpretUrl(Utils::appStringToCoreString(splitted.join(":")), usePrefix);
|
||||
}
|
||||
}
|
||||
return interpretedAddress;
|
||||
|
|
|
|||
|
|
@ -23,7 +23,7 @@ RowLayout {
|
|||
id: label
|
||||
computeFitWidth: parent.fitLabel
|
||||
Layout.preferredHeight: FormHGroupStyle.legend.height
|
||||
Layout.preferredWidth: fitLabel ? Math.min(label.fitWidth, FormHGroupStyle.legend.width) : FormHGroupStyle.legend.width
|
||||
Layout.preferredWidth: fitLabel ? label.fitWidth : FormHGroupStyle.legend.width
|
||||
|
||||
color: FormHGroupStyle.legend.colorModel.color
|
||||
elide: Text.ElideRight
|
||||
|
|
|
|||
|
|
@ -120,7 +120,7 @@ ColumnLayout {
|
|||
color: ContactsStyle.contact.presence.colorModel.color
|
||||
elide: Text.ElideRight
|
||||
font.pointSize: ContactsStyle.contact.presence.pointSize
|
||||
text: presenceLevel.presenceText
|
||||
text: presenceLevel.text
|
||||
visible: presenceLevel.visible
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -59,6 +59,11 @@ function initForm (account) {
|
|||
registerEnabled.checked = config.registerEnabled
|
||||
publishPresence.checked = config.publishPresence
|
||||
avpfEnabled.checked = config.avpfEnabled
|
||||
|
||||
dialPrefixCallChat.checked = config.dialPrefixCallChat
|
||||
dialPrefix.text = config.dialPrefix
|
||||
dialEscapePlus.checked = config.dialEscapePlus
|
||||
|
||||
iceEnabled.checked = config.iceEnabled
|
||||
turnEnabled.checked = config.turnEnabled
|
||||
stunServer.text = config.stunServer
|
||||
|
|
@ -95,6 +100,9 @@ function validAccount (account) {
|
|||
registerEnabled: registerEnabled.checked,
|
||||
publishPresence: publishPresence.checked,
|
||||
avpfEnabled: avpfEnabled.checked,
|
||||
dialPrefix: dialPrefix.text,
|
||||
dialPrefixCallChat: dialPrefixCallChat.checked,
|
||||
dialEscapePlus: dialEscapePlus.checked,
|
||||
iceEnabled: iceEnabled.checked,
|
||||
turnEnabled: turnEnabled.checked,
|
||||
stunServer: stunServer.text,
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
import QtQuick 2.7
|
||||
import QtQuick.Layouts 1.3
|
||||
|
||||
import Common 1.0
|
||||
|
||||
|
|
@ -254,6 +255,58 @@ DialogPlus {
|
|||
}
|
||||
}
|
||||
}
|
||||
FormLine {
|
||||
FormGroup {
|
||||
//: 'Prefix for your country' : Label for a text option to set the country code on the phone numbers.
|
||||
label: qsTr('dialPrefix')
|
||||
|
||||
NumericField {
|
||||
id: dialPrefix
|
||||
Keys.onEnterPressed: route.forceActiveFocus()
|
||||
Keys.onReturnPressed: route.forceActiveFocus()
|
||||
TooltipArea{
|
||||
tooltipParent: dialPrefix
|
||||
//: "The prefix to use when using numbers without the '+'" : tooltip for a text option to set the country code on the phone numbers.
|
||||
text: qsTr('dialPrefixTooptip')
|
||||
}
|
||||
}
|
||||
}
|
||||
FormGroup {
|
||||
//: "Replace '+' by '00'" : Label to an option for escaping the '+' character when dialing.
|
||||
label: qsTr('dialEscapePlus')
|
||||
|
||||
Switch {
|
||||
id: dialEscapePlus
|
||||
|
||||
onClicked: checked = !checked
|
||||
TooltipArea{
|
||||
tooltipParent: dialEscapePlus
|
||||
//: 'Replace + in addresses by 00' : tooltip for an option that allow escaping the '+' character in phone number.
|
||||
text: qsTr('dialEscapePlusTooltip')
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
FormLine{
|
||||
maxItemWidth: width / 2
|
||||
FormGroup {
|
||||
//: 'Apply prefix for outgoing calls and chats' : Label to set an option for applying the specified prefix to outgoings calls and chats.
|
||||
label: qsTr('dialPrefixCallChat')
|
||||
fitLabel: true
|
||||
maxWidth: parent.width
|
||||
Switch {
|
||||
id: dialPrefixCallChat
|
||||
|
||||
onClicked: checked = !checked
|
||||
TooltipArea{
|
||||
tooltipParent: dialPrefixCallChat
|
||||
//: 'If a number is entered, apply the prefix to number' : tooltip for an option to applying the country prefix to numbers.
|
||||
text: qsTr('dialPrefixCallChatTooltip')
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// -----------------------------------------------------------------------
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue