diff src/audacious/ui_preferences.c @ 4532:97b29dec6c6b

moved away some stuff from main.c
author mf0102 <0102@gmx.at>
date Thu, 08 May 2008 22:49:52 +0200
parents b3e4f5c31546
children d09dd0960a6a
line wrap: on
line diff
--- a/src/audacious/ui_preferences.c	Mon May 05 07:48:56 2008 -0500
+++ b/src/audacious/ui_preferences.c	Thu May 08 22:49:52 2008 +0200
@@ -159,6 +159,26 @@
     { N_("Codec")      , "${codec}" },
     { N_("Quality")    , "${quality}" },
 };
+static const guint n_title_field_tags = G_N_ELEMENTS(title_field_tags);
+
+
+const gchar *chardet_detector_presets[] = {
+    N_("None"),
+    N_("Japanese"),
+    N_("Taiwanese"),
+    N_("Chinese"),
+    N_("Korean"),
+    N_("Russian"),
+    N_("Greek"),
+    N_("Hebrew"),
+    N_("Turkish"),
+    N_("Arabic"),
+#ifdef HAVE_UDET
+    N_("Universal")
+#endif
+};
+const guint n_chardet_detector_presets = G_N_ELEMENTS(chardet_detector_presets);
+
 
 typedef struct {
     void *next;
@@ -169,8 +189,6 @@
 
 CategoryQueueEntry *category_queue = NULL;
 
-static const guint n_title_field_tags = G_N_ELEMENTS(title_field_tags);
-
 typedef enum {
     WIDGET_NONE,
     WIDGET_CHK_BTN,