+#define MSG_TEXT N_("Text")
+#define MSG_LONGTEXT N_( \
+ "Marquee text to display. " \
+ "(Available format strings: " \
+ "Time related: %Y = year, %m = month, %d = day, %H = hour, " \
+ "%M = minute, %S = second, ... " \
+ "Meta data related: $a = artist, $b = album, $c = copyright, " \
+ "$d = description, $e = encoded by, $g = genre, " \
+ "$l = language, $n = track num, $p = now playing, " \
+ "$r = rating, $s = subtitles language, $t = title, "\
+ "$u = url, $A = date, " \
+ "$B = audio bitrate (in kb/s), $C = chapter," \
+ "$D = duration, $F = full name with path, $I = title, "\
+ "$L = time left, " \
+ "$N = name, $O = audio language, $P = position (in %), $R = rate, " \
+ "$S = audio sample rate (in kHz), " \
+ "$T = time, $U = publisher, $V = volume, $_ = new line) ")
+#define POSX_TEXT N_("X offset")
+#define POSX_LONGTEXT N_("X offset, from the left screen edge." )
+#define POSY_TEXT N_("Y offset")
+#define POSY_LONGTEXT N_("Y offset, down from the top." )
+#define TIMEOUT_TEXT N_("Timeout")
+#define TIMEOUT_LONGTEXT N_("Number of milliseconds the marquee must remain " \
+ "displayed. Default value is " \
+ "0 (remains forever).")
+#define REFRESH_TEXT N_("Refresh period in ms")
+#define REFRESH_LONGTEXT N_("Number of milliseconds between string updates. " \
+ "This is mainly usefull when using meta data " \
+ "or time format string sequences.")
+#define OPACITY_TEXT N_("Opacity")
+#define OPACITY_LONGTEXT N_("Opacity (inverse of transparency) of " \
+ "overlayed text. 0 = transparent, 255 = totally opaque. " )
+#define SIZE_TEXT N_("Font size, pixels")
+#define SIZE_LONGTEXT N_("Font size, in pixels. Default is -1 (use default " \
+ "font size)." )
+
+#define COLOR_TEXT N_("Color")
+#define COLOR_LONGTEXT N_("Color of the text that will be rendered on "\
+ "the video. This must be an hexadecimal (like HTML colors). The first two "\
+ "chars are for red, then green, then blue. #000000 = black, #FF0000 = red,"\
+ " #00FF00 = green, #FFFF00 = yellow (red + green), #FFFFFF = white" )
+
+#define POS_TEXT N_("Marquee position")
+#define POS_LONGTEXT N_( \
+ "You can enforce the marquee position on the video " \
+ "(0=center, 1=left, 2=right, 4=top, 8=bottom, you can " \
+ "also use combinations of these values, eg 6 = top-right).")
+
+static const int pi_pos_values[] = { 0, 1, 2, 4, 8, 5, 6, 9, 10 };
+static const char *const ppsz_pos_descriptions[] =
+ { N_("Center"), N_("Left"), N_("Right"), N_("Top"), N_("Bottom"),
+ N_("Top-Left"), N_("Top-Right"), N_("Bottom-Left"), N_("Bottom-Right") };
+
+#define CFG_PREFIX "marq-"