From d3972b776027de3c2bdd88fb0cda89caa8226679 Mon Sep 17 00:00:00 2001 From: wl Date: Mon, 13 Dec 2010 15:35:30 +0000 Subject: Add Japanese localization. Remove trailing spaces. * tmac/ja.tmac: New file. * tmac/Makefile.sub (NORMALFILES): Updated. --- tmac/Makefile.sub | 6 ++++-- tmac/ja.tmac | 49 +++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 53 insertions(+), 2 deletions(-) create mode 100644 tmac/ja.tmac (limited to 'tmac') diff --git a/tmac/Makefile.sub b/tmac/Makefile.sub index ef4b577d..10c4cddc 100644 --- a/tmac/Makefile.sub +++ b/tmac/Makefile.sub @@ -1,4 +1,5 @@ -# Copyright (C) 1989-2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2009 +# Copyright (C) 1989-2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2009, +# 2010 # Free Software Foundation, Inc. # Written by James Clark (jjc@jclark.com) # @@ -55,7 +56,8 @@ NORMALFILES=\ fr.tmac hyphen.fr \ sv.tmac hyphen.sv \ de.tmac den.tmac hyphen.det hyphen.den hyphenex.det \ - cs.tmac hyphen.cs hyphenex.cs + cs.tmac hyphen.cs hyphenex.cs \ + ja.tmac # These files are handled specially during installation and deinstallation. SPECIALFILES=an.tmac s.tmac www.tmac diff --git a/tmac/ja.tmac b/tmac/ja.tmac new file mode 100644 index 00000000..d6883f8f --- /dev/null +++ b/tmac/ja.tmac @@ -0,0 +1,49 @@ +.\" -*- mode: nroff; coding: utf-8; -*- +.\" +.\" Japanese localization for groff +.\" +.\" Copyright (C) 2009, 2010 Free Software Foundation, Inc. +.\" Written by Fumitoshi UKAI and +.\" Colin Watson +.\" +.\" This file is part of groff. +.\" +.\" groff is free software; you can redistribute it and/or modify it under +.\" the terms of the GNU General Public License as published by the Free +.\" Software Foundation, either version 3 of the License, or +.\" (at your option) any later version. +.\" +.\" groff is distributed in the hope that it will be useful, but WITHOUT ANY +.\" WARRANTY; without even the implied warranty of MERCHANTABILITY or +.\" FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License +.\" for more details. +.\" +.\" You should have received a copy of the GNU General Public License +.\" along with this program. If not, see . +.\" +.\" Please send comments to groff@gnu.org. +. +. +.\" Locale string +. +.ds locale japanese\" +. +. +.class [CJKprepunct] \ + , : ; > } \ + \[u3001] \[u3002] \[uFF0C] \[uFF0E] \[u30FB] \[uFF1A] \[uFF1B] \[uFF1F] \ + \[uFF01] \[uFF09] \[u3015] \[uFF3D] \[uFF5D] \[u300D] \[u300F] \[u3011] \ + \[u3041] \[u3043] \[u3045] \[u3047] \[u3049] \[u3063] \[u3083] \[u3085] \ + \[u3087] \[u30FC] \ + \[u30A1] \[u30A3] \[u30A5] \[u30A7] \[u30A9] \[u30C3] \[u30E3] \[u30E5] \ + \[u30E7] +.class [CJKpostpunct] \ + \[uFF08] \[u3014] \[uFF3B] \[uFF5B] \[u300C] \[u300E] \[u3010] +. +.\" Hiragana, Katakana, and Kanji glyphs. +.class [CJKnormal] \ + \[u3041]-\[u3096] \[u30A0]-\[u30FF] \[u4E00]-\[u9FFF] +. +.cflags 2 \C'[CJKprepunct]' +.cflags 4 \C'[CJKpostpunct]' +.cflags 66 \C'[CJKnormal]' -- cgit v1.2.1