[gnome-packagekit] Add some translator comments
- From: Richard Hughes <rhughes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-packagekit] Add some translator comments
- Date: Thu, 11 Apr 2013 14:51:12 +0000 (UTC)
commit ac6dca1984db855abd844062b30506cfed4dd8c7
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 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/src/gpk-common.c b/src/gpk-common.c
index 9eb0046..205202f 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]