From 53fa568b90df8783d5c8ce9e68986d86a6c112d6 Mon Sep 17 00:00:00 2001 From: Jon Massey Date: Tue, 19 Jul 2022 10:41:34 +0100 Subject: [PATCH] fix: translate email/pw warning pass email/pasword format warning QString to translate method Signed-off-by: Jon Massey --- desktop-widgets/preferences/preferences_cloud.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/desktop-widgets/preferences/preferences_cloud.cpp b/desktop-widgets/preferences/preferences_cloud.cpp index b533f38a3..e132539da 100644 --- a/desktop-widgets/preferences/preferences_cloud.cpp +++ b/desktop-widgets/preferences/preferences_cloud.cpp @@ -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()) {