[gnome-tour/bilelmoussaoui/string-changes] ui: update strings per 40
- From: Bilal Elmoussaoui <bilelmoussaoui src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-tour/bilelmoussaoui/string-changes] ui: update strings per 40
- Date: Thu, 11 Feb 2021 13:30:39 +0000 (UTC)
commit 332261d2e1e44c3a263b527a58e44ad8c86629a1
Author: Bilal Elmoussaoui <bil elmoussaoui gmail com>
Date: Thu Feb 11 14:30:25 2021 +0100
ui: update strings per 40
fixes #31
src/widgets/pages/welcome.rs | 13 +++++++------
src/widgets/window.rs | 10 +++++++---
2 files changed, 14 insertions(+), 9 deletions(-)
---
diff --git a/src/widgets/pages/welcome.rs b/src/widgets/pages/welcome.rs
index bdba8af..437b587 100644
--- a/src/widgets/pages/welcome.rs
+++ b/src/widgets/pages/welcome.rs
@@ -148,17 +148,18 @@ impl WelcomePageWidget {
);
};
- let name = glib::get_os_info("NAME").unwrap_or_else(|| "GNOME".into());
- let version = glib::get_os_info("VERSION").unwrap_or_else(|| "".into());
- // Translators: The following string is formated as "Welcome to GNOME 3.36" for example
- let title = gtk::Label::new(Some(&i18n_f("Welcome to {} {}", &[&name, &version])));
+ let title = gtk::Label::new(Some(&gettext("Start the Tour")));
title.set_margin_top(36);
title.get_style_context().add_class("large-title");
title.show();
container.add(&title);
- let text = gtk::Label::new(Some(&gettext(
- "Learn about new and essential features in GNOME 40.",
+ let name = glib::get_os_info("NAME").unwrap_or_else(|| "GNOME".into());
+ let version = glib::get_os_info("VERSION").unwrap_or_else(|| "".into());
+ // Translators: The following string is formated as "Learn about new and essential features in GNOME
3.36" for example
+ let text = gtk::Label::new(Some(&i18n_f(
+ "Learn about new and essential features in {} {}.",
+ &[&name, &version],
)));
text.get_style_context().add_class("body");
text.set_margin_top(12);
diff --git a/src/widgets/window.rs b/src/widgets/window.rs
index 71aedef..b02e266 100644
--- a/src/widgets/window.rs
+++ b/src/widgets/window.rs
@@ -59,7 +59,7 @@ impl Window {
ImagePageWidget::new(
"/org/gnome/Tour/makeyourown.svg",
gettext("Make Apps Your Own"),
- gettext("Arrange your apps so they make sense for you."),
+ gettext("Arrange the app grid so it makes sense for you."),
)
.widget
.upcast::<gtk::Widget>(),
@@ -96,10 +96,14 @@ impl Window {
);
let name = glib::get_os_info("NAME").unwrap_or_else(|| "GNOME".into());
+ let version = glib::get_os_info("VERSION").unwrap_or_else(|| "".into());
let last_page = ImagePageWidget::new(
"/org/gnome/Tour/ready-to-go.svg",
- // Translators: The following string is formated as "We hope that you enjoy GNOME"
- i18n_f("That's it! We hope that you enjoy {}.", &[&name]),
+ // Translators: The following string is formatted as "We hope that you enjoy GNOME 40"
+ i18n_f(
+ "That's it! We hope that you enjoy {} {}.",
+ &[&name, &version],
+ ),
gettext("To get more advice and tips, see the Help app."),
);
last_page.widget.get_style_context().add_class("last-page");
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]