Report abuse

1
2
3
4
5
6
7
8
9
10
set variants {english french spanish japanese dutch}

foreach variant_name $variants {
     # Quick way to remove the working variant from the list
     set no_conflicts [lsearch -all -inline -not -exact $variants $variant_name]
     set a [subst {variant $variant_name conflicts $no_conflicts description "Use $variant_name for server messages" { 
               configure.args-append --with-language=$variant_name } 
     }]
     puts $a
}