[tracker] tracker-search: Improve -a output
- From: Martyn James Russell <mr src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [tracker] tracker-search: Improve -a output
- Date: Mon, 11 Jan 2010 18:51:37 +0000 (UTC)
commit f37b51410e509055d648c78e1f378effd2308260
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]