[gnome-packagekit/gnome-3-8] Add some translator comments
- From: Piotr Drąg <piotrdrag src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-packagekit/gnome-3-8] Add some translator comments
- Date: Sat, 13 Apr 2013 16:27:00 +0000 (UTC)
commit 37f5aff434355a2bb583cd8176615e6dd6cc977f
Author: Matthias Clasen <mclasen redhat com>
Date: Wed Apr 10 22:54:09 2013 -0400
Add some translator comments
https://bugzilla.gnome.org/show_bug.cgi?id=687484
Signed-off-by: Richard Hughes <richard hughsie com>
src/gpk-common.c | 4 ++++
1 file changed, 4 insertions(+)
---
diff --git a/src/gpk-common.c b/src/gpk-common.c
index 81add1b..371b6ff 100644
--- a/src/gpk-common.c
+++ b/src/gpk-common.c
@@ -634,16 +634,20 @@ gpk_strv_join_locale (gchar **array)
if (length == 1)
return g_strdup (array[0]);
else if (length == 2)
+ /* Translators: a list of two things */
return g_strdup_printf (_("%s and %s"),
array[0], array[1]);
else if (length == 3)
+ /* Translators: a list of three things */
return g_strdup_printf (_("%s, %s and %s"),
array[0], array[1], array[2]);
else if (length == 4)
+ /* Translators: a list of four things */
return g_strdup_printf (_("%s, %s, %s and %s"),
array[0], array[1],
array[2], array[3]);
else if (length == 5)
+ /* Translators: a list of five things */
return g_strdup_printf (_("%s, %s, %s, %s and %s"),
array[0], array[1], array[2],
array[3], array[4]);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]