diff options
author | 2010-05-15 23:39:29 +0200 | |
---|---|---|
committer | 2010-05-15 23:39:29 +0200 | |
commit | 51530925ec9efce86e105c0327cbe67a317aa950 (patch) | |
tree | e44e0c48fb47efbebacfcce353c0e1ba3b27ea6d /plugins/gtkui/search.c | |
parent | 919e8f9e45c77217d1893281ca8606b21c1389f5 (diff) |
added basic gettext support and russian translation
Diffstat (limited to 'plugins/gtkui/search.c')
-rw-r--r-- | plugins/gtkui/search.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/plugins/gtkui/search.c b/plugins/gtkui/search.c index ef34cd24..36818f9f 100644 --- a/plugins/gtkui/search.c +++ b/plugins/gtkui/search.c @@ -24,6 +24,7 @@ #include <math.h> #include <stdlib.h> #include <string.h> +#include "../../gettext.h" #include "callbacks.h" #include "interface.h" @@ -429,10 +430,10 @@ search_playlist_init (GtkWidget *widget) { // create default set of columns DB_conf_item_t *col = deadbeef->conf_find ("search.column.", NULL); if (!col) { - add_column_helper (listview, "Artist / Album", 150, -1, "%a - %b", 0); - add_column_helper (listview, "Track No", 50, -1, "%n", 1); - add_column_helper (listview, "Title / Track Artist", 150, -1, "%t", 0); - add_column_helper (listview, "Duration", 50, -1, "%l", 0); + add_column_helper (listview, _("Artist / Album"), 150, -1, "%a - %b", 0); + add_column_helper (listview, _("Track No"), 50, -1, "%n", 1); + add_column_helper (listview, _("Title / Track Artist"), 150, -1, "%t", 0); + add_column_helper (listview, _("Duration"), 50, -1, "%l", 0); } else { while (col) { |