[gnome-software: 1/2] app-row: Properly internationalize the source string
- From: Philip Withnall <pwithnall src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software: 1/2] app-row: Properly internationalize the source string
- Date: Wed, 23 Jun 2021 14:51:20 +0000 (UTC)
commit ae34c8d601b41ae48427fe5e7aa823ba7a5f5ecc
Author: Adrien Plazas <kekun plazas laposte net>
Date: Wed Jun 23 16:42:27 2021 +0200
app-row: Properly internationalize the source string
Don't assume "%s: %s" is right in all locales (e.g. in French there must
be a non-breaking space before the colon) and let translation teams
do their job. This also give them more context on how the string is
used.
src/gs-app-row.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/gs-app-row.c b/src/gs-app-row.c
index 0c0f706cf..5e464e323 100644
--- a/src/gs-app-row.c
+++ b/src/gs-app-row.c
@@ -292,7 +292,7 @@ gs_app_row_actually_refresh (GsAppRow *app_row)
if (tmp != NULL) {
g_autofree gchar *origin_tmp = NULL;
/* TRANSLATORS: this refers to where the app came from */
- origin_tmp = g_strdup_printf ("%s: %s", _("Source"), tmp);
+ origin_tmp = g_strdup_printf (_("Source: %s"), tmp);
gtk_label_set_label (GTK_LABEL (priv->label_origin), origin_tmp);
}
gtk_widget_set_visible (priv->label_origin, tmp != NULL);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]