Skip to content

Link to Permission tab of Application Settings #99

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

Merged
Changes from all 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
10 changes: 8 additions & 2 deletions src/Views/SuccessView.vala
Original file line number Diff line number Diff line change
@@ -43,15 +43,21 @@ 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 (
/// TRANSLATORS: "System Settings" is related to the title of https://github.com/elementary/switchboard, "Applications" is related to the title of https://github.com/elementary/switchboard-plug-applications
appstore_name, "settings://applications/permissions", _("System Settings"), _("Applications")
);
} 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 (
/// TRANSLATORS: "System Settings" is related to the title of https://github.com/elementary/switchboard, "Applications" is related to the title of https://github.com/elementary/switchboard-plug-applications
appstore_name, "settings://applications/permissions", _("System Settings"), _("Applications")
);
}

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