mirror of
https://gitlab.gnome.org/GNOME/gimp
synced 2024-10-22 12:32:37 +00:00
New file.
1999-10-20 Tor Lillqvist <tml@iki.fi> * makefile.cygwin: New file. * makefile.msc: Add Shift-JIS Japanese version.
This commit is contained in:
parent
940433ce6e
commit
e59e3f3fda
|
@ -1,3 +1,9 @@
|
||||||
|
1999-10-20 Tor Lillqvist <tml@iki.fi>
|
||||||
|
|
||||||
|
* makefile.cygwin: New file.
|
||||||
|
|
||||||
|
* makefile.msc: Add Shift-JIS Japanese version.b
|
||||||
|
|
||||||
1999-10-70 Tomas Ogren <stric@ing.umu.se>
|
1999-10-70 Tomas Ogren <stric@ing.umu.se>
|
||||||
|
|
||||||
* sv.po: Updated
|
* sv.po: Updated
|
||||||
|
|
34
po/makefile.cygwin
Normal file
34
po/makefile.cygwin
Normal file
|
@ -0,0 +1,34 @@
|
||||||
|
## Makefile for compiling the GIMP message
|
||||||
|
## Use: make -f makefile.msc install
|
||||||
|
## You will need: - msgfmt from GNU gettext,
|
||||||
|
## - jconv (http://www.oreilly.com/~lunde/j_tools.html)
|
||||||
|
## - sjis_esc, included here eventually
|
||||||
|
|
||||||
|
# Locale directory.
|
||||||
|
LOCALEDIR = /gimp/locale
|
||||||
|
|
||||||
|
LANGUAGES= cs da de fi fr hu it ja ja.sjis ko nl no pl ru sk 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.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
|
|
@ -1,18 +1,20 @@
|
||||||
## Makefile for installing the GIMP message catalogs with Microsoft nmake
|
## Makefile for building the GIMP message catalogs with Microsoft nmake
|
||||||
## Use: nmake -f makefile.msc install
|
## 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, included here eventually
|
||||||
|
|
||||||
# Locale directory.
|
# Locale directory.
|
||||||
LOCALEDIR = c:\gimp\locale
|
LOCALEDIR = c:\gimp\locale
|
||||||
|
|
||||||
LANGUAGES= cs da de fi fr hu it ja ko nl no pl ru sv
|
LANGUAGES= cs da de fi fr hu it ja ja.sjis ko nl no pl ru sk sv
|
||||||
|
|
||||||
################################################################
|
################################################################
|
||||||
|
|
||||||
# Nothing much configurable below
|
# Nothing much configurable below
|
||||||
|
|
||||||
all :
|
all :
|
||||||
for %l in ($(LANGUAGES)) do nmake -f makefile.msc %l.gmo
|
for %l in ($(LANGUAGES)) do nmake -nologo -f makefile.msc %l.gmo
|
||||||
|
|
||||||
install : all
|
install : all
|
||||||
for %l in ($(LANGUAGES)) do md $(LOCALEDIR)\%l
|
for %l in ($(LANGUAGES)) do md $(LOCALEDIR)\%l
|
||||||
|
@ -23,3 +25,13 @@ install : all
|
||||||
|
|
||||||
.po.gmo:
|
.po.gmo:
|
||||||
msgfmt -o $@ $<
|
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:
|
||||||
|
del *.gmo
|
||||||
|
del ja.sjis.po
|
||||||
|
|
Loading…
Reference in a new issue