Skip to content

Commit

Permalink
fix: translate email/pw warning
Browse files Browse the repository at this point in the history
pass email/pasword format warning QString to translate method

Signed-off-by: Jon Massey <[email protected]>
  • Loading branch information
Jongmassey authored and bstoeger committed Jul 24, 2022
1 parent 10b4cc9 commit 53fa568
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion desktop-widgets/preferences/preferences_cloud.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ void PreferencesCloud::syncSettings()
QString email = ui->cloud_storage_email->text().toLower();
QString password = ui->cloud_storage_password->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.
if (prefs.cloud_verification_status == qPrefCloudStorage::CS_VERIFIED && !newpassword.isEmpty()) {
Expand Down

0 comments on commit 53fa568

Please sign in to comment.