Commit f02d9054 authored by Ronan Abhamon's avatar Ronan Abhamon

feat(SettingsSipAccountsEdit): deal with errors

parent 1a31ab06
...@@ -13,6 +13,7 @@ ...@@ -13,6 +13,7 @@
- Add a `Logs` menu entry in `Settings Window`, it provides send, remove, activate buttons... - Add a `Logs` menu entry in `Settings Window`, it provides send, remove, activate buttons...
- Supports EXIF orientation for file transfer images preview. - Supports EXIF orientation for file transfer images preview.
- Echo canceller supports 48kHz. - Echo canceller supports 48kHz.
- Better GUI when a proxy config is modified in `Settings Window`.
### Fixes ### Fixes
......
...@@ -1319,6 +1319,18 @@ your friend&apos;s SIP address or username.</translation> ...@@ -1319,6 +1319,18 @@ your friend&apos;s SIP address or username.</translation>
<source>confirm</source> <source>confirm</source>
<translation>CONFIRM</translation> <translation>CONFIRM</translation>
</message> </message>
<message>
<source>invalidSipAddress</source>
<translation>Invalid sip address.</translation>
</message>
<message>
<source>invalidServerAddress</source>
<translation>Invalid server address.</translation>
</message>
<message>
<source>invalidRoute</source>
<translation>Invalid route.</translation>
</message>
</context> </context>
<context> <context>
<name>SettingsUi</name> <name>SettingsUi</name>
......
...@@ -1317,6 +1317,18 @@ Cliquez ici : &lt;a href=&quot;%1&quot;&gt;%1&lt;/a&gt; ...@@ -1317,6 +1317,18 @@ Cliquez ici : &lt;a href=&quot;%1&quot;&gt;%1&lt;/a&gt;
<source>confirm</source> <source>confirm</source>
<translation>CONFIRMER</translation> <translation>CONFIRMER</translation>
</message> </message>
<message>
<source>invalidSipAddress</source>
<translation>Adresse sip invalide.</translation>
</message>
<message>
<source>invalidServerAddress</source>
<translation>Adresse du serveur invalide.</translation>
</message>
<message>
<source>invalidRoute</source>
<translation>Route invalide.</translation>
</message>
</context> </context>
<context> <context>
<name>SettingsUi</name> <name>SettingsUi</name>
......
...@@ -52,6 +52,8 @@ DialogPlus { ...@@ -52,6 +52,8 @@ DialogPlus {
TextField { TextField {
id: sipAddress id: sipAddress
error: dialog._sipAddressOk ? '' : qsTr('invalidSipAddress')
onTextChanged: Logic.handleSipAddressChanged(text) onTextChanged: Logic.handleSipAddressChanged(text)
} }
} }
...@@ -64,6 +66,8 @@ DialogPlus { ...@@ -64,6 +66,8 @@ DialogPlus {
TextField { TextField {
id: serverAddress id: serverAddress
error: dialog._serverAddressOk ? '' : qsTr('invalidServerAddress')
onTextChanged: Logic.handleServerAddressChanged(text) onTextChanged: Logic.handleServerAddressChanged(text)
} }
} }
...@@ -101,6 +105,8 @@ DialogPlus { ...@@ -101,6 +105,8 @@ DialogPlus {
TextField { TextField {
id: route id: route
error: dialog._routeOk ? '' : qsTr('invalidRoute')
onTextChanged: Logic.handleRouteChanged(text) onTextChanged: Logic.handleRouteChanged(text)
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment