[gnome-contacts] sheet: Move translator comment to correct place
- From: Niels De Graef <nielsdg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-contacts] sheet: Move translator comment to correct place
- Date: Sun, 13 Mar 2022 13:31:16 +0000 (UTC)
commit 6bf6c7c32ca6f39379b197c63375ec047d351735
Author: Niels De Graef <nielsdegraef gmail com>
Date: Sun Mar 13 14:30:07 2022 +0100
sheet: Move translator comment to correct place
Our i18n infrastructure wasn't picking up the translator comment as it
was a couple of lines higher than the actual translatable string.
Fixes https://gitlab.gnome.org/GNOME/gnome-contacts/-/issues/227
src/contacts-contact-sheet.vala | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/contacts-contact-sheet.vala b/src/contacts-contact-sheet.vala
index ad037c5b..3ddc9ef8 100644
--- a/src/contacts-contact-sheet.vala
+++ b/src/contacts-contact-sheet.vala
@@ -231,9 +231,9 @@ public class Contacts.ContactSheet : Gtk.Grid {
continue;
var role_str = "";
- // TRANSLATORS: "$ROLE at $ORGANISATION", e.g. "CEO at Linux Inc."
if (role.value.title != "") {
if (role.value.organisation_name != "")
+ // TRANSLATORS: "$ROLE at $ORGANISATION", e.g. "CEO at Linux Inc."
role_str = _("%s at %s").printf (role.value.title, role.value.organisation_name);
else
role_str = role.value.title;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]