Skip to content
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

Link to Permission tab of Application Settings #99

Merged
Changes from 5 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions src/Views/SuccessView.vala
Original file line number Diff line number Diff line change
Expand Up @@ -43,15 +43,19 @@ public class Sideload.SuccessView : AbstractView {
primary_label.label = _("The app was installed successfully");
}

secondary_label.label = _("Open it any time from the Applications Menu. Visit %s for app information, updates, and to uninstall.").printf (appstore_name);
secondary_label.label = _("Open it any time from the Applications Menu. Visit %s for app information, updates, and to uninstall. Permissions can be changed in <a href='%s'>%s → %s…</a>").printf (
appstore_name, "settings://applications/permissions", _("System Settings"), _("Applications")
meisenzahl marked this conversation as resolved.
Show resolved Hide resolved
);
} else if (view_type == SuccessType.ALREADY_INSTALLED) {
if (app_name != null) {
primary_label.label = _("“%s” is already installed").printf (app_name);
} else {
primary_label.label = _("This app is already installed");
}

secondary_label.label = _("No changes were made. Visit %s for app information, updates, and to uninstall.").printf (appstore_name);
secondary_label.label = _("No changes were made. Visit %s for app information, updates, and to uninstall. Permissions can be changed in <a href='%s'>%s → %s…</a>").printf (
appstore_name, "settings://applications/permissions", _("System Settings"), _("Applications")
);
}

var close_button = new Gtk.Button.with_label (_("Close"));
Expand Down