mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-28 05:00:20 +00:00
fix: translate email/pw warning
pass email/pasword format warning QString to translate method Signed-off-by: Jon Massey <jon.massey@thedatalab.org>
This commit is contained in:
parent
10b4cc9149
commit
53fa568b90
1 changed files with 1 additions and 1 deletions
|
@ -37,7 +37,7 @@ void PreferencesCloud::syncSettings()
|
||||||
QString email = ui->cloud_storage_email->text().toLower();
|
QString email = ui->cloud_storage_email->text().toLower();
|
||||||
QString password = ui->cloud_storage_password->text();
|
QString password = ui->cloud_storage_password->text();
|
||||||
QString newpassword = ui->cloud_storage_new_passwd->text();
|
QString newpassword = ui->cloud_storage_new_passwd->text();
|
||||||
QString emailpasswordformatwarning = "Change ignored. Cloud storage email and new password can only consist of letters, numbers, and '.', '-', '_', and '+'.";
|
QString emailpasswordformatwarning = tr("Change ignored. Cloud storage email and new password can only consist of letters, numbers, and '.', '-', '_', and '+'.");
|
||||||
|
|
||||||
//TODO: Change this to the Cloud Storage Stuff, not preferences.
|
//TODO: Change this to the Cloud Storage Stuff, not preferences.
|
||||||
if (prefs.cloud_verification_status == qPrefCloudStorage::CS_VERIFIED && !newpassword.isEmpty()) {
|
if (prefs.cloud_verification_status == qPrefCloudStorage::CS_VERIFIED && !newpassword.isEmpty()) {
|
||||||
|
|
Loading…
Reference in a new issue