diff options
author | Luboš Doležel <lubos@dolezel.info> | 2020-02-20 20:40:45 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-20 20:40:45 +0100 |
commit | c9deefd92afa9a3095b1aacfc4e217ff6fe06d78 (patch) | |
tree | 522392936656eaa60937d9388d16f7221c042da3 /src/gui | |
parent | 2b3fbccaa180ffd9dc64717510c1f15fac26c8c4 (diff) | |
parent | 30eac220c69dabd715d6357d2df2f39b91b08fe2 (diff) | |
download | twinkle-c9deefd92afa9a3095b1aacfc4e217ff6fe06d78.tar twinkle-c9deefd92afa9a3095b1aacfc4e217ff6fe06d78.tar.gz twinkle-c9deefd92afa9a3095b1aacfc4e217ff6fe06d78.tar.lz twinkle-c9deefd92afa9a3095b1aacfc4e217ff6fe06d78.tar.xz twinkle-c9deefd92afa9a3095b1aacfc4e217ff6fe06d78.zip |
Merge pull request #190 from jose1711/fix_spelling
Fix spelling errors
Diffstat (limited to 'src/gui')
-rw-r--r-- | src/gui/mphoneform.cpp | 4 | ||||
-rw-r--r-- | src/gui/userprofileform.cpp | 42 | ||||
-rw-r--r-- | src/gui/userprofileform.ui | 26 |
3 files changed, 36 insertions, 36 deletions
diff --git a/src/gui/mphoneform.cpp b/src/gui/mphoneform.cpp index 6c447a8..2d4f10f 100644 --- a/src/gui/mphoneform.cpp +++ b/src/gui/mphoneform.cpp @@ -1115,7 +1115,7 @@ void MphoneForm::updateMwi() toolTip.append(tr("Unknown")); } } else { - if ((*i)->get_mwi_sollicited()) { + if ((*i)->get_mwi_solicited()) { if (mwi.get_status() == t_mwi::MWI_FAILED) { toolTip.append(tr("Failure")); mwi_failure = true; @@ -1123,7 +1123,7 @@ void MphoneForm::updateMwi() toolTip.append(tr("Unknown")); } } else { - // Unsollicited MWI + // Unsolicited MWI if (mwi.get_status() == t_mwi::MWI_KNOWN) { bool new_msgs; QString status = getMWIStatus(mwi, new_msgs); diff --git a/src/gui/userprofileform.cpp b/src/gui/userprofileform.cpp index 9ed9209..d0a94f3 100644 --- a/src/gui/userprofileform.cpp +++ b/src/gui/userprofileform.cpp @@ -102,8 +102,8 @@ #define colReplace 1 // MWI type indices -#define idxMWIUnsollicited 0 -#define idxMWISollicited 1 +#define idxMWIUnsolicited 0 +#define idxMWISolicited 1 // SIP transport protocol indices #define idxSipTransportAuto 0 @@ -383,12 +383,12 @@ void UserProfileForm::populate() // VOICE MAIL vmAddressLineEdit->setText(current_profile->get_mwi_vm_address().c_str()); - if (current_profile->get_mwi_sollicited()) { - mwiTypeComboBox->setCurrentIndex(idxMWISollicited); - mwiSollicitedGroupBox->setEnabled(true); + if (current_profile->get_mwi_solicited()) { + mwiTypeComboBox->setCurrentIndex(idxMWISolicited); + mwiSolicitedGroupBox->setEnabled(true); } else { - mwiTypeComboBox->setCurrentIndex(idxMWIUnsollicited); - mwiSollicitedGroupBox->setEnabled(false); + mwiTypeComboBox->setCurrentIndex(idxMWIUnsolicited); + mwiSolicitedGroupBox->setEnabled(false); } mwiUserLineEdit->setText(current_profile->get_mwi_user().c_str()); mwiServerLineEdit->setText(current_profile-> @@ -809,7 +809,7 @@ bool UserProfileForm::validateValues() // Validity check voice mail page - if (mwiTypeComboBox->currentIndex() == idxMWISollicited) { + if (mwiTypeComboBox->currentIndex() == idxMWISolicited) { // Mailbox user name is mandatory if (mwiUserLineEdit->text().isEmpty()) { categoryListBox->setCurrentRow(idxCatVoiceMail); @@ -921,8 +921,8 @@ bool UserProfileForm::validateValues() proxyLineEdit->clear(); } - // Clear sollicited MWI settings if unsollicited MWI is used - if (mwiTypeComboBox->currentIndex() == idxMWIUnsollicited) { + // Clear solicited MWI settings if unsolicited MWI is used + if (mwiTypeComboBox->currentIndex() == idxMWIUnsolicited) { t_user user_default; mwiUserLineEdit->clear(); mwiServerLineEdit->clear(); @@ -1002,10 +1002,10 @@ bool UserProfileForm::validateValues() current_profile->set_mwi_vm_address(vmAddressLineEdit->text().toStdString()); bool mustTriggerMWISubscribe = false; - bool mwiSollicited = (mwiTypeComboBox->currentIndex() == idxMWISollicited); - if (mwiSollicited) { - if (!current_profile->get_mwi_sollicited()) { - // Sollicited MWI now enabled. Subscribe after all MWI + bool mwiSolicited = (mwiTypeComboBox->currentIndex() == idxMWISolicited); + if (mwiSolicited) { + if (!current_profile->get_mwi_solicited()) { + // Solicited MWI now enabled. Subscribe after all MWI // settings have been changed. mustTriggerMWISubscribe = true; } else { @@ -1015,7 +1015,7 @@ bool UserProfileForm::validateValues() t_url(s.toStdString()) != current_profile->get_mwi_server() || mwiViaProxyCheckBox->isChecked() != current_profile->get_mwi_via_proxy()) { - // Sollicited MWI settings changed. Trigger unsubscribe + // Solicited MWI settings changed. Trigger unsubscribe // of current MWI subscription. emit mwiChangeUnsubscribe(current_profile); @@ -1024,14 +1024,14 @@ bool UserProfileForm::validateValues() } } } else { - if (current_profile->get_mwi_sollicited()) { - // MWI type changes to unsollicited. Trigger unsubscribe of + if (current_profile->get_mwi_solicited()) { + // MWI type changes to unsolicited. Trigger unsubscribe of // current MWI subscription. emit mwiChangeUnsubscribe(current_profile); } } - current_profile->set_mwi_sollicited(mwiSollicited); + current_profile->set_mwi_solicited(mwiSolicited); current_profile->set_mwi_user(mwiUserLineEdit->text().toStdString()); s = USER_SCHEME; s.append(':').append(mwiServerLineEdit->text()); @@ -1521,8 +1521,8 @@ void UserProfileForm::testConversion() { } void UserProfileForm::changeMWIType(int idxMWIType) { - if (idxMWIType == idxMWISollicited) { - mwiSollicitedGroupBox->setEnabled(true); + if (idxMWIType == idxMWISolicited) { + mwiSolicitedGroupBox->setEnabled(true); // Set defaults if (mwiUserLineEdit->text().isEmpty()) { @@ -1533,7 +1533,7 @@ void UserProfileForm::changeMWIType(int idxMWIType) { mwiViaProxyCheckBox->setChecked(useProxyCheckBox->isChecked()); } } else { - mwiSollicitedGroupBox->setEnabled(false); + mwiSolicitedGroupBox->setEnabled(false); } } diff --git a/src/gui/userprofileform.ui b/src/gui/userprofileform.ui index 4a11efa..ef2f900 100644 --- a/src/gui/userprofileform.ui +++ b/src/gui/userprofileform.ui @@ -2494,7 +2494,7 @@ This format is what most SIP phones use. <item row="1" column="0"> <widget class="QCheckBox" name="extReplacesCheckBox"> <property name="whatsThis"> - <string>Indicates if the Replaces-extenstion is supported.</string> + <string>Indicates if the Replaces-extension is supported.</string> </property> <property name="text"> <string>Replaces</string> @@ -2585,7 +2585,7 @@ This format is what most SIP phones use. <item> <widget class="QCheckBox" name="referAorCheckBox"> <property name="whatsThis"> - <string>An attended call transfer should use the contact URI as a refer target. A contact URI may not be globally routable however. Alternatively the AoR (Address of Record) may be used. A disadvantage is that the AoR may route to multiple endpoints in case of forking whereas the contact URI routes to a single endoint.</string> + <string>An attended call transfer should use the contact URI as a refer target. A contact URI may not be globally routable however. Alternatively the AoR (Address of Record) may be used. A disadvantage is that the AoR may route to multiple endpoints in case of forking whereas the contact URI routes to a single endpoint.</string> </property> <property name="text"> <string>Attended refer to AoR (Address of Record)</string> @@ -3079,7 +3079,7 @@ When you choose this option you have to create static address mappings in your N <widget class="QTableWidget" name="conversionListView"> <property name="whatsThis"> <string><p> -Often the format of the telphone numbers you need to dial is different from the format of the telephone numbers stored in your address book, e.g. your numbers start with a +-symbol followed by a country code, but your provider expects '00' instead of the '+', or you are at the office and all your numbers need to be prefixed with a '9' to access an outside line. Here you can specify number format conversion using Perl style regular expressions and format strings. +Often the format of the telephone numbers you need to dial is different from the format of the telephone numbers stored in your address book, e.g. your numbers start with a +-symbol followed by a country code, but your provider expects '00' instead of the '+', or you are at the office and all your numbers need to be prefixed with a '9' to access an outside line. Here you can specify number format conversion using Perl style regular expressions and format strings. </p> <p> For each number you dial, Twinkle will try to find a match in the list of match expressions. For the first match it finds, the number will be replaced with the format string. If no match is found, the number stays unchanged. @@ -4076,7 +4076,7 @@ The values of all SIP headers of the outgoing INVITE are passed in environment v <item> <widget class="QCheckBox" name="zrtpEnabledCheckBox"> <property name="whatsThis"> - <string>When ZRTP/SRTP is enabled, then Twinkle will try to encrypt the audio of each call you originate or receive. Encryption will only succeed if the remote party has ZRTP/SRTP support enabled. If the remote party does not support ZRTP/SRTP, then the audio channel will stay unecrypted.</string> + <string>When ZRTP/SRTP is enabled, then Twinkle will try to encrypt the audio of each call you originate or receive. Encryption will only succeed if the remote party has ZRTP/SRTP support enabled. If the remote party does not support ZRTP/SRTP, then the audio channel will stay unencrypted.</string> </property> <property name="text"> <string>&Enable ZRTP/SRTP encryption</string> @@ -4206,23 +4206,23 @@ The values of all SIP headers of the outgoing INVITE are passed in environment v <p> If your provider offers the message waiting indication service, then Twinkle can show you when new voice mail messages are waiting. Ask your provider which type of message waiting indication is offered. </p> -<H3>Unsollicited</H3> +<H3>Unsolicited</H3> <p> -Asterisk provides unsollicited message waiting indication. +Asterisk provides unsolicited message waiting indication. </p> -<H3>Sollicited</H3> +<H3>Solicited</H3> <p> -Sollicited message waiting indication as specified by RFC 3842. +Solicited message waiting indication as specified by RFC 3842. </p></string> </property> <item> <property name="text"> - <string>Unsollicited</string> + <string>Unsolicited</string> </property> </item> <item> <property name="text"> - <string>Sollicited</string> + <string>Solicited</string> </property> </item> </widget> @@ -4261,9 +4261,9 @@ Sollicited message waiting indication as specified by RFC 3842. </layout> </item> <item> - <widget class="QGroupBox" name="mwiSollicitedGroupBox"> + <widget class="QGroupBox" name="mwiSolicitedGroupBox"> <property name="title"> - <string>Sollicited MWI</string> + <string>Solicited MWI</string> </property> <layout class="QVBoxLayout"> <item> @@ -4328,7 +4328,7 @@ Sollicited message waiting indication as specified by RFC 3842. </size> </property> <property name="whatsThis"> - <string>For sollicited MWI, an endpoint subscribes to the message status for a limited duration. Just before the duration expires, the endpoint should refresh the subscription.</string> + <string>For solicited MWI, an endpoint subscribes to the message status for a limited duration. Just before the duration expires, the endpoint should refresh the subscription.</string> </property> <property name="maximum"> <number>999999</number> |