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.
This commit is contained in:
parent
e662d568f2
commit
50c2af0cfb
1 changed files with 1 additions and 1 deletions
|
@ -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 (" ");
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue