summaryrefslogtreecommitdiff
path: root/plugins/gtkui/mainplaylist.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/gtkui/mainplaylist.c')
-rw-r--r--plugins/gtkui/mainplaylist.c14
1 files changed, 9 insertions, 5 deletions
diff --git a/plugins/gtkui/mainplaylist.c b/plugins/gtkui/mainplaylist.c
index 4c3b5d9e..7ad6e0ad 100644
--- a/plugins/gtkui/mainplaylist.c
+++ b/plugins/gtkui/mainplaylist.c
@@ -16,8 +16,12 @@
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
#include <stdlib.h>
#include <string.h>
+#include "../../gettext.h"
#include "parser.h"
#include "gtkui.h"
#include "ddblistview.h"
@@ -290,11 +294,11 @@ main_playlist_init (GtkWidget *widget) {
DB_conf_item_t *col = deadbeef->conf_find ("playlist.column.", NULL);
if (!col) {
// create default set of columns
- add_column_helper (listview, "Playing", 50, DB_COLUMN_PLAYING, NULL, 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);
+ add_column_helper (listview, _("Playing"), 50, DB_COLUMN_PLAYING, NULL, 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) {