[tracker/functions] tracker-search: Improve -a output
- From: Mikael Ottela <mottela src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [tracker/functions] tracker-search: Improve -a output
- Date: Thu, 14 Jan 2010 09:10:47 +0000 (UTC)
commit f594b7aa1059ef476b9f76d41ec7b75f0a537fb1
Author: Martyn Russell <martyn lanedo com>
Date: Mon Jan 11 14:08:35 2010 +0000
tracker-search: Improve -a output
Don't use uppercase letters for each songs and seconds.
Don't prepend "Album" to each album name.
src/tracker-utils/tracker-search.c | 11 +++++------
1 files changed, 5 insertions(+), 6 deletions(-)
---
diff --git a/src/tracker-utils/tracker-search.c b/src/tracker-utils/tracker-search.c
index 163c50b..284ea96 100644
--- a/src/tracker-utils/tracker-search.c
+++ b/src/tracker-utils/tracker-search.c
@@ -488,19 +488,18 @@ get_music_albums_foreach (gpointer value,
g_print (" "); /*'%s', ", data[1]);*/
g_print (g_dngettext (NULL,
- "%d Song",
- "%d Songs",
+ "%d song",
+ "%d songs",
atoi (data[2])),
atoi (data[2]));
g_print (", ");
g_print (g_dngettext (NULL,
- "%d Second",
- "%d Seconds",
+ "%d second",
+ "%d seconds",
atoi (data[3])),
atoi (data[3]));
- g_print (", ");
- g_print (_("Album '%s'"), data[1]);
+ g_print (", '%s'", data[1]);
g_print ("\n");
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]