X-Git-Url: http://git.chise.org/gitweb/?p=m17n%2Fm17n-contrib.git;a=blobdiff_plain;f=tbl2mim.awk;h=620e91e5a614998d7352d32cada06cd09cfd9063;hp=fa5d6ea92d0e33e14dc1de99b4311a0755dd7a4e;hb=9217a725e40528d7f396c1bd985258bff744147a;hpb=302699f298aa0174509e134fc68c674c0acc1558 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;