-
Notifications
You must be signed in to change notification settings - Fork 914
fix: Enhance update status message for valid subscriptions #9354
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
Conversation
### Motivation - Inform users in the General Settings info box that the update channel cannot be changed when connected to enterprise systems so the status reflects the hidden channel selector. ### Description - Append an enterprise subscription notice to the updater status text in `GeneralSettings::slotUpdateInfo` in `src/gui/generalsettings.cpp` for `OCUpdater` using an HTML line break when the status is HTML. - Do the same for `SparkleUpdater`, choosing a separator based on `Qt::mightBeRichText` so the message works for both rich-text and plain-text status strings. Signed-off-by: Rello <Rello@users.noreply.github.com>
Signed-off-by: Rello <Rello@users.noreply.github.com>
Signed-off-by: Rello <Rello@users.noreply.github.com>
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.
I mean, the wording makes sense from my side, but is this localized correctly? Eg. doesn't the localized string include the newline and the substitution here?
Edit: Right wait, that is the point. But duplicating the string with <br/> and \n seems bad?
Not even sure it needs to be in parentheses and separated by a newline and whatnot. Just Connected to an enterprise system. Update channel (%1) cannot be changed. would make sense to me.
Signed-off-by: Rello <Rello@users.noreply.github.com>
|
@kra-mo |
|
Artifact containing the AppImage: nextcloud-appimage-pr-9354.zip Digest: 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. |
|







Motivation
Description
GeneralSettings::slotUpdateInfoinsrc/gui/generalsettings.cppforOCUpdaterusing an HTML line break when the status is HTML.SparkleUpdater, choosing a separator based onQt::mightBeRichTextso the message works for both rich-text and plain-text status strings.