diff options
author | Felipe Borges <felipeborges@gnome.org> | 2017-02-24 17:12:10 +0100 |
---|---|---|
committer | Felipe Borges <felipeborges@gnome.org> | 2017-02-24 17:12:10 +0100 |
commit | 50c2af0cfbcdf4d4d974ea75dcbf36e70faa42dd (patch) | |
tree | 6bf3e7afe9569411b26d97437306a625ac072872 | |
parent | e662d568f2e6ec1575e181945b324146726b84fc (diff) | |
download | gnome-control-center-50c2af0cfbcdf4d4d974ea75dcbf36e70faa42dd.tar.gz |
user-accounts: Avoid markup in "Your Account" label
The label indicating which photo in the Carousel belongs to the
current user had the <small> markup within the translatable string,
causing unnecessary work for translators. See
https://wiki.gnome.org/TranslationProject/DevGuidelines/Avoid%20markup%20wherever%20possible
This patch formats the string with g_strdup_printf, leaving the
markup tags out of the translatable message.
-rw-r--r-- | panels/user-accounts/um-user-panel.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/panels/user-accounts/um-user-panel.c b/panels/user-accounts/um-user-panel.c index 4d70999a9..8f2caf14b 100644 --- a/panels/user-accounts/um-user-panel.c +++ b/panels/user-accounts/um-user-panel.c @@ -192,7 +192,7 @@ create_carousel_entry (CcUserPanelPrivate *d, ActUser *user) g_free (label); if (act_user_get_uid (user) == getuid ()) - label = g_strdup (_("<small>Your account</small>")); + label = g_strdup_printf ("<small>%s</small>", _("Your account")); else label = g_strdup (" "); |