# HG changeset patch # User wight # Date 1073987740 0 # Node ID 3f488aa0d646ca3e359ee9574e3d31e51cdd6541 # Parent 6d19216b4f2cbe8a7e88e484217736e0ce5d3e41 swedish yes/no options support diff -r 6d19216b4f2c -r 3f488aa0d646 etc/example.conf --- a/etc/example.conf Mon Jan 12 22:48:03 2004 +0000 +++ b/etc/example.conf Tue Jan 13 09:55:40 2004 +0000 @@ -54,6 +54,7 @@ ## German ja nein ## Spanish si no ## Polish tak nie +## Swedish ja nej ## Binary 1 0 ## ## You can also use spaces and/or tabs. diff -r 6d19216b4f2c -r 3f488aa0d646 m_option.c --- a/m_option.c Mon Jan 12 22:48:03 2004 +0000 +++ b/m_option.c Tue Jan 13 09:55:40 2004 +0000 @@ -83,6 +83,7 @@ !strcasecmp(param, "j") || !strcasecmp(param, "i") || !strcasecmp(param, "tak") || + !strcasecmp(param, "ja") || !strcmp(param, "1")) { if(dst) VAL(dst) = opt->max; } else if (!strcasecmp(param, "no") || @@ -92,6 +93,7 @@ !strcasecmp(param, "nem") || !strcasecmp(param, "n") || !strcasecmp(param, "nie") || + !strcasecmp(param, "nej") || !strcmp(param, "0")) { if(dst) VAL(dst) = opt->min; } else {