From: handa Date: Wed, 22 Oct 2008 00:40:32 +0000 (+0000) Subject: Handle language "other". X-Git-Tag: REL-1-1-9~11 X-Git-Url: http://git.chise.org/gitweb/?p=m17n%2Fm17n-contrib.git;a=commitdiff_plain;h=b8020ee82ce5921840ee87d99b6dd9e89e9c53fb Handle language "other". --- diff --git a/tbl2mim.awk b/tbl2mim.awk index fa5d6ea..620e91e 100644 --- a/tbl2mim.awk +++ b/tbl2mim.awk @@ -27,7 +27,11 @@ BEGIN { /^ICON *=/ { ICON = " \""$3"\""; next; } /^NAME *=/ { NAME = tolower($3); next; } -/^LANGUAGES *=/ { LANG = $3; next; } +/^LANGUAGES *=/ { + LANG = $3; + if (LANG == "other") + LANG = "t"; + next; } /^STATUS_PROMPT *=/ { TITLE = $3; next; } /^BEGIN_TABLE/ { printf "(input-method %s %s)\n", LANG, NAME;