Commit 940433ce authored by Tor Lillqvist's avatar Tor Lillqvist Committed by Tor Lillqvist
Browse files

Improve, add Shift-JIS version of Japanese.

1999-10-20  Tor Lillqvist  <tml@iki.fi>

* makefile.msc: Improve, add Shift-JIS version of Japanese.

* makefile.cygwin: New file.
parent cd3480b2
1999-10-20 Tor Lillqvist <tml@iki.fi>
* makefile.msc: Improve, add Shift-JIS version of Japanese.
* makefile.cygwin: New file.
1999-10-17 Tomas Ogren <stric@ing.umu.se>
* sv.po: Updated
......
## Makefile for building the GIMP plug-in message catalogs on Win32
## Use: make -f makefile.cygwin install
## You will need: - msgfmt from GNU gettext,
## - jconv (http://www.oreilly.com/~lunde/j_tools.html)
## - sjis_esc from ../po
# Locale directory.
LOCALEDIR = /gimp/locale
# Only some languages actually have any translations
# LANGUAGES= de fi fr hu it ja ko nl pl ru sv
LANGUAGES= fr ja ja.sjis no sv
################################################################
# Nothing much configurable below
all : $(addsuffix .gmo,$(LANGUAGES))
install : all
mkdir -p $(addsuffix /LC_MESSAGES,$(addprefix $(LOCALEDIR)/,$(LANGUAGES)))
for l in $(LANGUAGES); do cp $$l.gmo $(LOCALEDIR)/$$l/LC_MESSAGES/gimp-std-plugins.mo; done
.SUFFIXES: .po .gmo
.po.gmo:
msgfmt -o $@ $<
# Special case: Japanese, we must convert from EUC-JP to Shift-JIS
# As Shift-JIS can have " and \ chars as second byte, we need to
# escape those with the sjis_esc filter
ja.sjis.po: ja.po
jconv -ie -os <ja.po | sjis_esc >ja.sjis.po
clean:
rm *.gmo ja.sjis.po
## Makefile for installing the GIMP message catalogs with Microsoft nmake
## Makefile for building the GIMP plug-in message catalogs with Microsoft nmake
## Use: nmake -f makefile.msc install
## You will need the msgfmt program from GNU gettext!
## You will need: - msgfmt from GNU gettext,
## - jconv (http://www.oreilly.com/~lunde/j_tools.html)
## - sjis_esc, from ..\po
# Locale directory.
LOCALEDIR = c:\gimp\locale
# Only some languages actually have any translations
# LANGUAGES= de fi fr hu it ja ko nl pl ru sv
LANGUAGES= fr ja no sv
LANGUAGES= fr ja ja.sjis no sv
################################################################
# Nothing much configurable below
all :
for %l in ($(LANGUAGES)) do nmake -f makefile.msc %l.gmo
for %l in ($(LANGUAGES)) do nmake -nolofo -f makefile.msc %l.gmo
install : all
for %l in ($(LANGUAGES)) do md $(LOCALEDIR)\%l
......@@ -25,3 +27,10 @@ install : all
.po.gmo:
msgfmt -o $@ $<
ja.sjis.po: ja.po
jconv -ie -os <ja.po | sjis_esc >ja.sjis.po
clean:
del *.gmo
del ja.sjis.po
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment