-
Notifications
You must be signed in to change notification settings - Fork 816
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
UI: Improves texts displayed to the user when picking the wrong location for syncing #7596
base: master
Are you sure you want to change the base?
Conversation
24870d0
to
1db1c48
Compare
AppImage file: nextcloud-PR-7596-f57f894fee3403f640a494ea57c6ddb3cd339d8c-x86_64.AppImage |
Signed-off-by: Camila Ayres <[email protected]>
Signed-off-by: Camila Ayres <[email protected]>
Signed-off-by: Camila Ayres <[email protected]>
Signed-off-by: Camila Ayres <[email protected]>
Signed-off-by: Camila Ayres <[email protected]>
…ng synced. Signed-off-by: Camila Ayres <[email protected]>
f57f894
to
9c02bf3
Compare
Signed-off-by: Camila Ayres <[email protected]>
Artifact containing the AppImage: nextcloud-appimage-pr-7596.zip SHA256 checksum: To test this change/fix you can download the above artifact file, unzip it, and run it. Please make sure to quit your existing Nextcloud app and backup your data. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
just two nits
return tr("The Virtual filesystem feature requires a NTFS file system, %1 is using %2").arg(path, fs); | ||
if (const auto fileSystemForPath = FileSystem::fileSystemForPath(info.absoluteFilePath()); | ||
fileSystemForPath != QLatin1String("NTFS")) { | ||
return tr("Please choose a different location. %1 isn't a NTFS files system. It doesn't support virtual files.").arg(path); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
small typo:
return tr("Please choose a different location. %1 isn't a NTFS files system. It doesn't support virtual files.").arg(path); | |
return tr("Please choose a different location. %1 isn't a NTFS file system. It doesn't support virtual files.").arg(path); |
@@ -63,9 +63,9 @@ QString FormatWarningsWizardPage::formatWarnings(const QStringList &warnings) co | |||
{ | |||
QString ret; | |||
if (warnings.count() == 1) { | |||
ret = tr("<b>Warning:</b> %1").arg(warnings.first()); | |||
ret = tr("%1").arg(warnings.first()); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
there is no need for this tr("%1")
, just warnings.first()
will do fine here
Improves texts displayed to the user when picking the wrong location for syncing: