[gnome-tour] i18n: move the translator comment
- From: Bilal Elmoussaoui <bilelmoussaoui src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-tour] i18n: move the translator comment
- Date: Sat, 29 Jan 2022 11:15:14 +0000 (UTC)
commit 1bff7f23572366c7118978598ea21ccc0684255b
Author: Bilal Elmoussaoui <belmouss redhat com>
Date: Sat Jan 29 12:04:59 2022 +0100
i18n: move the translator comment
Fixes #34
src/widgets/paginator.rs | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/src/widgets/paginator.rs b/src/widgets/paginator.rs
index 7ca2161..d3fa71b 100644
--- a/src/widgets/paginator.rs
+++ b/src/widgets/paginator.rs
@@ -74,8 +74,9 @@ mod imp {
let name = glib::os_info("NAME").unwrap_or_else(|| "GNOME".into());
let version = glib::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 body = i18n_f(
+ // Translators: The following string is formated as "Learn about new and essential features
in GNOME 3.36" for example
"Learn about the key features in {name} {version}.",
&[("name", &name), ("version", &version)],
);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]