From b8020ee82ce5921840ee87d99b6dd9e89e9c53fb Mon Sep 17 00:00:00 2001 From: handa Date: Wed, 22 Oct 2008 00:40:32 +0000 Subject: [PATCH] Handle language "other". --- tbl2mim.awk | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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; -- 1.7.10.4