Skip to content

Use Host name #229

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

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
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
2 changes: 1 addition & 1 deletion src/Views/OnlineAccountsView.vala
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ public class Onboarding.OnlineAccountsView : AbstractOnboardingView {
public OnlineAccountsView () {
Object (
view_name: "onlineaccounts",
description: _("Use Mail, Calendar, and Tasks with an existing online account to sync emails, events, and tasks with this device."),
description: _("Use Mail, Calendar, and Tasks with an existing online account to sync emails, events, and tasks with %s.").printf (Environment.get_host_name ()),
icon_name: "preferences-desktop-online-accounts",
title: _("Online Accounts")
);
Expand Down
4 changes: 2 additions & 2 deletions src/Views/UpdatesView.vala
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ public class Onboarding.UpdatesView : AbstractOnboardingView {
public UpdatesView () {
Object (
view_name: "updates",
description: _("Updates can be automatically installed when your device is connected to the Internet."),
description: _("Updates can be automatically installed when %s is connected to the Internet.").printf (Environment.get_host_name ()),
icon_name: "system-software-update",
title: _("Automatic Updates")
);
Expand All @@ -30,7 +30,7 @@ public class Onboarding.UpdatesView : AbstractOnboardingView {

var system_label = new Granite.HeaderLabel (_("Operating System")) {
mnemonic_widget = system_check,
secondary_text = _("Will be installed when you choose to restart this device")
secondary_text = _("Will be installed when you choose to restart %s").printf (Environment.get_host_name ())
};

var system_box = new Gtk.Box (HORIZONTAL, 0);
Expand Down
Loading