projects
/
m17n
/
m17n-contrib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Version changed to 1.1.12.
[m17n/m17n-contrib.git]
/
tbl2mim.awk
diff --git
a/tbl2mim.awk
b/tbl2mim.awk
index
b02b9d0
..
620e91e
100644
(file)
--- a/
tbl2mim.awk
+++ b/
tbl2mim.awk
@@
-1,4
+1,4
@@
-#!/usr/bin/gawk
+#!/usr/bin/gawk -f
# Copyright (C) 2006
# National Institute of Advanced Industrial Science and Technology (AIST)
# Registration Number H15PRO112
# Copyright (C) 2006
# National Institute of Advanced Industrial Science and Technology (AIST)
# Registration Number H15PRO112
@@
-18,8
+18,8
@@
# You should have received a copy of the GNU Lesser General Public
# License along with the m17n library; if not, write to the Free
# You should have received a copy of the GNU Lesser General Public
# License along with the m17n library; if not, write to the Free
-# Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
-# 02111-1307, USA.
+# Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
+# Boston, MA 02110-1301, USA.
BEGIN {
begin_table = 0;
BEGIN {
begin_table = 0;
@@
-27,7
+27,11
@@
BEGIN {
/^ICON *=/ { ICON = " \""$3"\""; next; }
/^NAME *=/ { NAME = tolower($3); next; }
/^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;
/^STATUS_PROMPT *=/ { TITLE = $3; next; }
/^BEGIN_TABLE/ {
printf "(input-method %s %s)\n", LANG, NAME;