1
mirror of https://github.com/mpv-player/mpv synced 2024-10-30 04:46:41 +01:00

polish yes/no options support

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11782 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
wight 2004-01-12 07:09:10 +00:00
parent d7154f34b0
commit 229554044d
2 changed files with 3 additions and 0 deletions

View File

@ -53,6 +53,7 @@ fs=yes # Enlarges movie window to your desktop's size.
## English yes no
## German ja nein
## Spanish si no
## Polish tak nie
## Binary 1 0
##
## You can also use spaces and/or tabs.

View File

@ -82,6 +82,7 @@ static int parse_flag(m_option_t* opt,char *name, char *param, void* dst, int sr
!strcasecmp(param, "y") ||
!strcasecmp(param, "j") ||
!strcasecmp(param, "i") ||
!strcasecmp(param, "tak") ||
!strcmp(param, "1")) {
if(dst) VAL(dst) = opt->max;
} else if (!strcasecmp(param, "no") ||
@ -90,6 +91,7 @@ static int parse_flag(m_option_t* opt,char *name, char *param, void* dst, int sr
!strcasecmp(param, "nicht") ||
!strcasecmp(param, "nem") ||
!strcasecmp(param, "n") ||
!strcasecmp(param, "nie") ||
!strcmp(param, "0")) {
if(dst) VAL(dst) = opt->min;
} else {