# HG changeset patch # User wight # Date 1073891350 0 # Node ID 03baca2aa79c80be2316bb9129ddca87d999bb07 # Parent 8e7098f960f8d0ff3e2a62f22d2202211e22343f polish yes/no options support diff -r 8e7098f960f8 -r 03baca2aa79c etc/example.conf --- a/etc/example.conf Mon Jan 12 06:30:30 2004 +0000 +++ b/etc/example.conf Mon Jan 12 07:09:10 2004 +0000 @@ -53,6 +53,7 @@ ## English yes no ## German ja nein ## Spanish si no +## Polish tak nie ## Binary 1 0 ## ## You can also use spaces and/or tabs. diff -r 8e7098f960f8 -r 03baca2aa79c m_option.c --- a/m_option.c Mon Jan 12 06:30:30 2004 +0000 +++ b/m_option.c Mon Jan 12 07:09:10 2004 +0000 @@ -82,6 +82,7 @@ !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 @@ !strcasecmp(param, "nicht") || !strcasecmp(param, "nem") || !strcasecmp(param, "n") || + !strcasecmp(param, "nie") || !strcmp(param, "0")) { if(dst) VAL(dst) = opt->min; } else {