fix nls bad message errors

This commit is contained in:
rathnor 2003-10-04 12:44:47 +00:00
parent 158b515e21
commit 35fe2d5e12
17 changed files with 169 additions and 114 deletions

View file

@ -1,5 +1,11 @@
(Format: Year/Month/Day)
Changes for 0.9.6:
*03/10/04:
* Fix NLS bad message errors by adding explicit codeset entries (Simon)
- thanks to Matt Hope for pointing us to the recent workaround from
blackbox (and thanks to Matt Kraai who contrib-d to Blackbox)
- also clean up the Makefiles so they are more generalised
nls/*/Makefile.am nls/convert.awk
*03/10/02:
* Fix couple of memory leaks and uninitialised uses shown up with
valgrind (Simon)

View file

@ -1,4 +1,7 @@
# nls/C/Makefile.am for Blackbox-0.61.x - an X11 Window Manager
# nls/C/Makefile.am for Fluxbox - an X11 Window Manager
THE_LANG = C
# no CODESET
NLSTEST = @NLS@
CLEANFILES = fluxbox.cat
@ -8,9 +11,9 @@ EXTRA_DIST= $(MFILES)
all-local: fluxbox.cat
install-data-local: fluxbox.cat
@if test x$(NLSTEST) = "x-DNLS"; then \
echo "Installing catalog in $(DESTDIR)$(pkgdatadir)/nls/C"; \
$(mkinstalldirs) $(DESTDIR)$(pkgdatadir)/nls/C; \
$(INSTALL_DATA) fluxbox.cat $(DESTDIR)$(pkgdatadir)/nls/C; \
echo "Installing catalog in $(DESTDIR)$(pkgdatadir)/nls/$(THE_LANG)"; \
$(mkinstalldirs) $(DESTDIR)$(pkgdatadir)/nls/$(THE_LANG); \
$(INSTALL_DATA) fluxbox.cat $(DESTDIR)$(pkgdatadir)/nls/$(THE_LANG); \
rm -f $(DESTDIR)$(pkgdatadir)/nls/US_ASCII; \
ln -fs C $(DESTDIR)$(pkgdatadir)/nls/US_ASCII; \
rm -f $(DESTDIR)$(pkgdatadir)/nls/POSIX; \
@ -22,12 +25,12 @@ install-data-local: fluxbox.cat
fi
uninstall-local:
@if test x$(NLSTEST) = "x-DNLS"; then \
rm -f $(DESTDIR)$(pkgdatadir)/nls/C/fluxbox.cat; \
rm -f $(DESTDIR)$(pkgdatadir)/nls/$(THE_LANG)/fluxbox.cat; \
rm -f $(DESTDIR)$(pkgdatadir)/nls/US_ASCII; \
rm -f $(DESTDIR)$(pkgdatadir)/nls/POSIX; \
rm -f $(DESTDIR)$(pkgdatadir)/nls/en_US; \
rm -f $(DESTDIR)$(pkgdatadir)/nls/en; \
rmdir $(DESTDIR)$(pkgdatadir)/nls/C; \
rmdir $(DESTDIR)$(pkgdatadir)/nls/$(THE_LANG); \
fi
# note... when adding new catalogs... you do not need the

View file

@ -1,4 +1,7 @@
THE_LANG=bg_BG
# nls/bg_BG/Makefile.am for Fluxbox - an X11 Window Manager
THE_LANG = bg_BG
CODESET = ISO-8859-1
NLSTEST = @NLS@
CLEANFILES = fluxbox.cat
@ -22,10 +25,10 @@ uninstall-local:
Translation.m: $(MFILES)
@if test x$(NLSTEST) = "x-DNLS"; then \
rm -f Translation.m; \
awk -f ../convert.awk output=Translation.m $(MFILES); \
awk -f ../convert.awk codeset=$(CODESET) output=Translation.m $(MFILES); \
fi
fluxbox.cat: Translation.m
@if test x$(NLSTEST) = "x-DNLS"; then \
LANG=bg_BG $(gencat_cmd) fluxbox.cat Translation.m; \
LANG=$(THE_LANG) $(gencat_cmd) fluxbox.cat Translation.m; \
fi

View file

@ -4,6 +4,8 @@
if (major > 1)
printf "\n" > output
else if (codeset)
printf "$ codeset=%s\n", codeset > output
printf "$set %d %s\n", major, $3 >> output
if (header) {

View file

@ -1,4 +1,7 @@
# nls/da_DK/Makefile.am for Blackbox-0.61.x - an X11 Window Manager
# nls/da_DK/Makefile.am for Fluxbox - an X11 Window Manager
THE_LANG = da_DK
CODESET = ISO-8859-1
NLSTEST = @NLS@
CLEANFILES = fluxbox.cat
@ -8,23 +11,23 @@ EXTRA_DIST= $(MFILES)
all-local: fluxbox.cat
install-data-local: fluxbox.cat
@if test x$(NLSTEST) = "x-DNLS"; then \
echo "Installing catalog in $(DESTDIR)$(pkgdatadir)/nls/da_DK"; \
$(mkinstalldirs) $(DESTDIR)$(pkgdatadir)/nls/da_DK; \
$(INSTALL_DATA) fluxbox.cat $(DESTDIR)$(pkgdatadir)/nls/da_DK; \
echo "Installing catalog in $(DESTDIR)$(pkgdatadir)/nls/$(THE_LANG)"; \
$(mkinstalldirs) $(DESTDIR)$(pkgdatadir)/nls/$(THE_LANG); \
$(INSTALL_DATA) fluxbox.cat $(DESTDIR)$(pkgdatadir)/nls/$(THE_LANG); \
fi
uninstall-local:
@if test x$(NLSTEST) = "x-DNLS"; then \
rm -f $(DESTDIR)$(pkgdatadir)/nls/da_DK/fluxbox.cat; \
rmdir $(DESTDIR)$(pkgdatadir)/nls/da_DK; \
rm -f $(DESTDIR)$(pkgdatadir)/nls/$(THE_LANG)/fluxbox.cat; \
rmdir $(DESTDIR)$(pkgdatadir)/nls/$(THE_LANG); \
fi
Translation.m: $(MFILES)
@if test x$(NLSTEST) = "x-DNLS"; then \
rm -f Translation.m; \
awk -f ../convert.awk output=Translation.m $(MFILES); \
awk -f ../convert.awk codeset=$(CODESET) output=Translation.m $(MFILES); \
fi
fluxbox.cat: Translation.m
@if test x$(NLSTEST) = "x-DNLS"; then \
LANG=da_DK $(gencat_cmd) fluxbox.cat Translation.m; \
LANG=$(THE_LANG) $(gencat_cmd) fluxbox.cat Translation.m; \
fi

View file

@ -1,4 +1,7 @@
# nls/de_DE/Makefile.am for fluxbox - fluxbox.sf.net
# nls/de_DE/Makefile.am for Fluxbox - fluxbox.sf.net
THE_LANG = de_DE
CODESET = ISO-8859-1
NLSTEST = @NLS@
CLEANFILES = fluxbox.cat
@ -10,15 +13,15 @@ all-local: fluxbox.cat
install-data-local: fluxbox.cat
@if test x$(NLSTEST) = "x-DNLS"; then \
echo "Installing catalog in $(DESTDIR)$(pkgdatadir)/nls/de_DE"; \
$(mkinstalldirs) $(DESTDIR)$(pkgdatadir)/nls/de_DE; \
$(INSTALL_DATA) fluxbox.cat $(DESTDIR)$(pkgdatadir)/nls/de_DE; \
echo "Installing catalog in $(DESTDIR)$(pkgdatadir)/nls/$(THE_LANG)"; \
$(mkinstalldirs) $(DESTDIR)$(pkgdatadir)/nls/$(THE_LANG); \
$(INSTALL_DATA) fluxbox.cat $(DESTDIR)$(pkgdatadir)/nls/$(THE_LANG); \
fi
uninstall-local:
@if test x$(NLSTEST) = "x-DNLS"; then \
rm -f $(DESTDIR)$(pkgdatadir)/nls/de_DE/fluxbox.cat; \
rmdir $(DESTDIR)$(pkgdatadir)/nls/de_DE; \
rm -f $(DESTDIR)$(pkgdatadir)/nls/$(THE_LANG)/fluxbox.cat; \
rmdir $(DESTDIR)$(pkgdatadir)/nls/$(THE_LANG); \
fi
# note... when adding new catalogs... you do not need the
@ -28,7 +31,7 @@ uninstall-local:
Translation.m: $(MFILES)
@if test x$(NLSTEST) = "x-DNLS"; then \
rm -f Translation.m; \
awk -f ../convert.awk output=Translation.m $(MFILES); \
awk -f ../convert.awk codeset=$(CODESET) output=Translation.m $(MFILES); \
fi
fluxbox.cat: Translation.m

View file

@ -1,4 +1,7 @@
# nls/es_ES/Makefile.am for Blackbox-0.61.x - an X11 Window Manager
# nls/es_ES/Makefile.am for Fluxbox - an X11 Window Manager
THE_LANG = es_ES
CODESET = ISO-8859-15
NLSTEST = @NLS@
CLEANFILES = fluxbox.cat
@ -8,26 +11,26 @@ EXTRA_DIST=$(MFILES)
all-local: fluxbox.cat
install-data-local: fluxbox.cat
@if test x$(NLSTEST) = "x-DNLS"; then \
echo "Installing catalog in $(DESTDIR)$(pkgdatadir)/nls/es_ES"; \
$(mkinstalldirs) $(DESTDIR)$(pkgdatadir)/nls/es_ES; \
$(INSTALL_DATA) fluxbox.cat $(DESTDIR)$(pkgdatadir)/nls/es_ES; \
echo "Installing catalog in $(DESTDIR)$(pkgdatadir)/nls/$(THE_LANG)"; \
$(mkinstalldirs) $(DESTDIR)$(pkgdatadir)/nls/$(THE_LANG); \
$(INSTALL_DATA) fluxbox.cat $(DESTDIR)$(pkgdatadir)/nls/$(THE_LANG); \
rm -f $(DESTDIR)$(pkgdatadir)/nls/es; \
ln -fs es_ES $(DESTDIR)$(pkgdatadir)/nls/es; \
ln -fs $(THE_LANG) $(DESTDIR)$(pkgdatadir)/nls/es; \
fi
uninstall-local:
@if test x$(NLSTEST) = "x-DNLS"; then \
rm -f $(DESTDIR)$(pkgdatadir)/nls/es_ES/fluxbox.cat; \
rm -f $(DESTDIR)$(pkgdatadir)/nls/$(THE_LANG)/fluxbox.cat; \
rm -f $(DESTDIR)$(pkgdatadir)/nls/es; \
rmdir $(DESTDIR)$(pkgdatadir)/nls/es_ES; \
rmdir $(DESTDIR)$(pkgdatadir)/nls/$(THE_LANG); \
fi
Translation.m: $(MFILES)
@if test x$(NLSTEST) = "x-DNLS"; then \
rm -f Translation.m; \
awk -f ../convert.awk output=Translation.m $(MFILES); \
awk -f ../convert.awk codeset=$(CODESET) output=Translation.m $(MFILES); \
fi
fluxbox.cat: Translation.m
@if test x$(NLSTEST) = "x-DNLS"; then \
LANG=es_ES $(gencat_cmd) fluxbox.cat Translation.m; \
LANG=$(THE_LANG) $(gencat_cmd) fluxbox.cat Translation.m; \
fi

View file

@ -1,4 +1,7 @@
# nls/et_EE/Makefile.am for Blackbox-0.61.x - an X11 Window Manager
# nls/et_EE/Makefile.am for Fluxbox - an X11 Window Manager
THE_LANG = et_EE
CODESET = ISO-8859-15
NLSTEST = @NLS@
CLEANFILES = fluxbox.cat
@ -8,23 +11,23 @@ EXTRA_DIST=$(MFILES)
all-local: fluxbox.cat
install-data-local: fluxbox.cat
@if test x$(NLSTEST) = "x-DNLS"; then \
echo "Installing catalog in $(DESTDIR)$(pkgdatadir)/nls/et_EE"; \
$(mkinstalldirs) $(DESTDIR)$(pkgdatadir)/nls/et_EE ; \
$(INSTALL_DATA) fluxbox.cat $(DESTDIR)$(pkgdatadir)/nls/et_EE; \
echo "Installing catalog in $(DESTDIR)$(pkgdatadir)/nls/$(THE_LANG)"; \
$(mkinstalldirs) $(DESTDIR)$(pkgdatadir)/nls/$(THE_LANG) ; \
$(INSTALL_DATA) fluxbox.cat $(DESTDIR)$(pkgdatadir)/nls/$(THE_LANG); \
fi
uninstall-local:
@if test x$(NLSTEST) = "x-DNLS"; then \
rm -f $(DESTDIR)$(pkgdatadir)/nls/et_EE/fluxbox.cat; \
rmdir $(DESTDIR)$(pkgdatadir)/nls/et_EE; \
rm -f $(DESTDIR)$(pkgdatadir)/nls/$(THE_LANG)/fluxbox.cat; \
rmdir $(DESTDIR)$(pkgdatadir)/nls/$(THE_LANG); \
fi
Translation.m: $(MFILES)
@if test x$(NLSTEST) = "x-DNLS"; then \
rm -f Translation.m; \
awk -f ../convert.awk output=Translation.m $(MFILES); \
awk -f ../convert.awk codeset=$(CODESET) output=Translation.m $(MFILES); \
fi
fluxbox.cat: Translation.m
@if test x$(NLSTEST) = "x-DNLS"; then \
LANG=et_EE $(gencat_cmd) fluxbox.cat Translation.m; \
LANG=$(THE_LANG) $(gencat_cmd) fluxbox.cat Translation.m; \
fi

View file

@ -1,4 +1,7 @@
# nls/fr_FR/Makefile.am for Blackbox-0.61.x - an X11 Window Manager
# nls/fr_FR/Makefile.am for Fluxbox - an X11 Window Manager
THE_LANG = fr_FR
CODESET = ISO-8859-15
NLSTEST = @NLS@
CLEANFILES = fluxbox.cat
@ -9,26 +12,26 @@ EXTRA_DIST=$(MFILES)
all-local: fluxbox.cat
install-data-local: fluxbox.cat
@if test x$(NLSTEST) = "x-DNLS"; then \
echo "Installing catalog in $(DESTDIR)$(pkgdatadir)/nls/fr_FR"; \
$(mkinstalldirs) $(DESTDIR)$(pkgdatadir)/nls/fr_FR; \
$(INSTALL_DATA) fluxbox.cat $(DESTDIR)$(pkgdatadir)/nls/fr_FR; \
echo "Installing catalog in $(DESTDIR)$(pkgdatadir)/nls/$(THE_LANG)"; \
$(mkinstalldirs) $(DESTDIR)$(pkgdatadir)/nls/$(THE_LANG); \
$(INSTALL_DATA) fluxbox.cat $(DESTDIR)$(pkgdatadir)/nls/$(THE_LANG); \
rm -f $(DESTDIR)$(pkgdatadir)/nls/fr; \
ln -fs fr_FR $(DESTDIR)$(pkgdatadir)/nls/fr; \
ln -fs $(THE_LANG) $(DESTDIR)$(pkgdatadir)/nls/fr; \
fi
uninstall-local:
@if test x$(NLSTEST) = "x-DNLS"; then \
rm -f $(DESTDIR)$(pkgdatadir)/nls/fr_FR/fluxbox.cat; \
rm -f $(DESTDIR)$(pkgdatadir)/nls/$(THE_LANG)/fluxbox.cat; \
rm -f $(DESTDIR)$(pkgdatadir)/nls/fr; \
rmdir $(DESTDIR)$(pkgdatadir)/nls/fr_FR; \
rmdir $(DESTDIR)$(pkgdatadir)/nls/$(THE_LANG); \
fi
Translation.m: $(MFILES)
@if test x$(NLSTEST) = "x-DNLS"; then \
rm -f Translation.m; \
awk -f ../convert.awk output=Translation.m $(MFILES); \
awk -f ../convert.awk codeset=$(CODESET) output=Translation.m $(MFILES); \
fi
fluxbox.cat: Translation.m
@if test x$(NLSTEST) = "x-DNLS"; then \
LANG=fr_FR $(gencat_cmd) fluxbox.cat Translation.m; \
LANG=$(THE_LANG) $(gencat_cmd) fluxbox.cat Translation.m; \
fi

View file

@ -1,5 +1,8 @@
# nls/it_IT/Makefile.am for Fluxbox - an X11 Window Manager
THE_LANG = it_IT
CODESET = ISO-8859-1
NLSTEST = @NLS@
CLEANFILES = fluxbox.cat
MAINTAINERCLEANFILES = Makefile.in Translation.m
@ -9,23 +12,23 @@ EXTRA_DIST= $(MFILES)
all-local: fluxbox.cat
install-data-local: fluxbox.cat
@if test x$(NLSTEST) = "x-DNLS"; then \
echo "Installing catalog in $(DESTDIR)$(pkgdatadir)/nls/it_IT"; \
$(mkinstalldirs) $(DESTDIR)$(pkgdatadir)/nls/it_IT; \
$(INSTALL_DATA) fluxbox.cat $(DESTDIR)$(pkgdatadir)/nls/it_IT; \
echo "Installing catalog in $(DESTDIR)$(pkgdatadir)/nls/$(THE_LANG)"; \
$(mkinstalldirs) $(DESTDIR)$(pkgdatadir)/nls/$(THE_LANG); \
$(INSTALL_DATA) fluxbox.cat $(DESTDIR)$(pkgdatadir)/nls/$(THE_LANG); \
fi
uninstall-local:
@if test x$(NLSTEST) = "x-DNLS"; then \
rm -f $(DESTDIR)$(pkgdatadir)/nls/it_IT/fluxbox.cat; \
rmdir $(DESTDIR)$(pkgdatadir)/nls/it_IT; \
rm -f $(DESTDIR)$(pkgdatadir)/nls/$(THE_LANG)/fluxbox.cat; \
rmdir $(DESTDIR)$(pkgdatadir)/nls/$(THE_LANG); \
fi
Translation.m: $(MFILES)
@if test x$(NLSTEST) = "x-DNLS"; then \
rm -f Translation.m; \
awk -f ../convert.awk output=Translation.m $(MFILES); \
awk -f ../convert.awk codeset=$(CODESET) output=Translation.m $(MFILES); \
fi
fluxbox.cat: Translation.m
@if test x$(NLSTEST) = "x-DNLS"; then \
LANG=it_IT $(gencat_cmd) fluxbox.cat Translation.m; \
LANG=$(THE_LANG) $(gencat_cmd) fluxbox.cat Translation.m; \
fi

View file

@ -1,3 +1,8 @@
# nls/ja_JP/Makefile.am for Fluxbox - an X11 Window Manager
THE_LANG = ja_JP
CODESET = eucJP
NLSTEST = @NLS@
CLEANFILES = fluxbox.cat
MAINTAINERCLEANFILES = Makefile.in Translation.m
@ -6,23 +11,23 @@ EXTRA_DIST=$(MFILES)
all-local: fluxbox.cat
install-data-local: fluxbox.cat
@if test x$(NLSTEST) = "x-DNLS"; then \
echo "Installing catalog in $(DESTDIR)$(pkgdatadir)/nls/ja_JP"; \
$(mkinstalldirs) $(DESTDIR)$(pkgdatadir)/nls/ja_JP; \
$(INSTALL_DATA) fluxbox.cat $(DESTDIR)$(pkgdatadir)/nls/ja_JP; \
echo "Installing catalog in $(DESTDIR)$(pkgdatadir)/nls/$(THE_LANG)"; \
$(mkinstalldirs) $(DESTDIR)$(pkgdatadir)/nls/$(THE_LANG); \
$(INSTALL_DATA) fluxbox.cat $(DESTDIR)$(pkgdatadir)/nls/$(THE_LANG); \
fi
uninstall-local:
@if test x$(NLSTEST) = "x-DNLS"; then \
rm -f $(DESTDIR)$(pkgdatadir)/nls/ja_JP/fluxbox.cat; \
rmdir $(DESTDIR)$(pkgdatadir)/nls/ja_JP; \
rm -f $(DESTDIR)$(pkgdatadir)/nls/$(THE_LANG)/fluxbox.cat; \
rmdir $(DESTDIR)$(pkgdatadir)/nls/$(THE_LANG); \
fi
Translation.m: $(MFILES)
@if test x$(NLSTEST) = "x-DNLS"; then \
rm -f Translation.m; \
awk -f ../convert.awk output=Translation.m $(MFILES); \
awk -f ../convert.awk codeset=$(CODESET) output=Translation.m $(MFILES); \
fi
fluxbox.cat: Translation.m
@if test x$(NLSTEST) = "x-DNLS"; then \
LANG=ja_JP $(gencat_cmd) fluxbox.cat Translation.m; \
LANG=$(THE_LANG) $(gencat_cmd) fluxbox.cat Translation.m; \
fi

View file

@ -1,4 +1,7 @@
# nls/lv_LV/Makefile.am for Blackbox-0.61.x - an X11 Window Manager
# nls/lv_LV/Makefile.am for Fluxbox - an X11 Window Manager
THE_LANG = lv_LV
CODESET = ISO-8859-13
NLSTEST = @NLS@
CLEANFILES = fluxbox.cat
@ -8,25 +11,25 @@ EXTRA_DIST=$(MFILES)
all-local: fluxbox.cat
install-data-local: fluxbox.cat
@if test x$(NLSTEST) = "x-DNLS"; then \
echo "Installing catalog in $(DESTDIR)$(pkgdatadir)/nls/lv_LV"; \
$(mkinstalldirs) $(DESTDIR)$(pkgdatadir)/nls/lv_LV; \
$(INSTALL_DATA) fluxbox.cat $(DESTDIR)$(pkgdatadir)/nls/lv_LV; \
echo "Installing catalog in $(DESTDIR)$(pkgdatadir)/nls/$(THE_LANG)"; \
$(mkinstalldirs) $(DESTDIR)$(pkgdatadir)/nls/$(THE_LANG); \
$(INSTALL_DATA) fluxbox.cat $(DESTDIR)$(pkgdatadir)/nls/$(THE_LANG); \
rm -f $(DESTDIR)$(pkgdatadir)/nls/lv; \
ln -fs lv_LV $(DESTDIR)$(pkgdatadir)/nls/lv; \
ln -fs $(THE_LANG) $(DESTDIR)$(pkgdatadir)/nls/lv; \
fi
uninstall-local:
@if test x$(NLSTEST) = "x-DNLS"; then \
rm -f $(DESTDIR)$(pkgdatadir)/nls/lv_LV/fluxbox.cat; \
rmdir $(DESTDIR)$(pkgdatadir)/nls/lv_LV; \
rm -f $(DESTDIR)$(pkgdatadir)/nls/$(THE_LANG)/fluxbox.cat; \
rmdir $(DESTDIR)$(pkgdatadir)/nls/$(THE_LANG); \
fi
Translation.m: $(MFILES)
@if test x$(NLSTEST) = "x-DNLS"; then \
rm -f Translation.m; \
awk -f ../convert.awk output=Translation.m $(MFILES); \
awk -f ../convert.awk codeset=$(CODESET) output=Translation.m $(MFILES); \
fi
fluxbox.cat: Translation.m
@if test x$(NLSTEST) = "x-DNLS"; then \
LANG=lv_LV $(gencat_cmd) fluxbox.cat Translation.m; \
LANG=$(THE_LANG) $(gencat_cmd) fluxbox.cat Translation.m; \
fi

View file

@ -1,4 +1,7 @@
# nls/pt_BR/Makefile.am for Blackbox-0.61.x - an X11 Window Manager
# nls/pt_BR/Makefile.am for Fluxbox - an X11 Window Manager
THE_LANG = pt_BR
CODESET = ISO-8859-1
NLSTEST = @NLS@
CLEANFILES = fluxbox.cat
@ -8,23 +11,23 @@ EXTRA_DIST=$(MFILES)
all-local: fluxbox.cat
install-data-local: fluxbox.cat
@if test x$(NLSTEST) = "x-DNLS"; then \
echo "Installing catalog in $(DESTDIR)$(pkgdatadir)/nls/pr_BR"; \
$(mkinstalldirs) $(DESTDIR)$(pkgdatadir)/nls/pt_BR; \
$(INSTALL_DATA) fluxbox.cat $(DESTDIR)$(pkgdatadir)/nls/pt_BR; \
echo "Installing catalog in $(DESTDIR)$(pkgdatadir)/nls/$(THE_LANG)"; \
$(mkinstalldirs) $(DESTDIR)$(pkgdatadir)/nls/$(THE_LANG); \
$(INSTALL_DATA) fluxbox.cat $(DESTDIR)$(pkgdatadir)/nls/$(THE_LANG); \
fi
uninstall-local:
@if test x$(NLSTEST) = "x-DNLS"; then \
rm -f $(DESTDIR)$(pkgdatadir)/nls/pt_BR/fluxbox.cat; \
rmdir $(DESTDIR)$(pkgdatadir)/nls/pt_BR; \
rm -f $(DESTDIR)$(pkgdatadir)/nls/$(THE_LANG)/fluxbox.cat; \
rmdir $(DESTDIR)$(pkgdatadir)/nls/$(THE_LANG); \
fi
Translation.m: $(MFILES)
@if test x$(NLSTEST) = "x-DNLS"; then \
rm -f Translation.m; \
awk -f ../convert.awk output=Translation.m $(MFILES); \
awk -f ../convert.awk codeset=$(CODESET) output=Translation.m $(MFILES); \
fi
fluxbox.cat: Translation.m
@if test x$(NLSTEST) = "x-DNLS"; then \
LANG=pt_BR $(gencat_cmd) fluxbox.cat Translation.m; \
LANG=$(THE_LANG) $(gencat_cmd) fluxbox.cat Translation.m; \
fi

View file

@ -1,4 +1,7 @@
# nls/pt_PT/Makefile.am for Fluxbox - an X11 Window Manager
# nls/pt_PT/Makefile.am for Fluxbox - an X11 Window Manager
THE_LANG = pt_PT
CODESET = ISO-8859-1
NLSTEST = @NLS@
CLEANFILES = fluxbox.cat
@ -8,23 +11,23 @@ EXTRA_DIST=$(MFILES)
all-local: fluxbox.cat
install-data-local: fluxbox.cat
@if test x$(NLSTEST) = "x-DNLS"; then \
echo "Installing catalog in $(DESTDIR)$(pkgdatadir)/nls/pt_PT"; \
$(mkinstalldirs) $(DESTDIR)$(pkgdatadir)/nls/pt_PT; \
$(INSTALL_DATA) fluxbox.cat $(DESTDIR)$(pkgdatadir)/nls/pt_PT; \
echo "Installing catalog in $(DESTDIR)$(pkgdatadir)/nls/$(THE_LANG)"; \
$(mkinstalldirs) $(DESTDIR)$(pkgdatadir)/nls/$(THE_LANG); \
$(INSTALL_DATA) fluxbox.cat $(DESTDIR)$(pkgdatadir)/nls/$(THE_LANG); \
fi
uninstall-local:
@if test x$(NLSTEST) = "x-DNLS"; then \
rm -f $(DESTDIR)$(pkgdatadir)/nls/pt_PT/fluxbox.cat; \
rmdir $(DESTDIR)$(pkgdatadir)/nls/pt_PT; \
rm -f $(DESTDIR)$(pkgdatadir)/nls/$(THE_LANG)/fluxbox.cat; \
rmdir $(DESTDIR)$(pkgdatadir)/nls/$(THE_LANG); \
fi
Translation.m: $(MFILES)
@if test x$(NLSTEST) = "x-DNLS"; then \
rm -f Translation.m; \
awk -f ../convert.awk output=Translation.m $(MFILES); \
awk -f ../convert.awk codeset=$(CODESET) output=Translation.m $(MFILES); \
fi
fluxbox.cat: Translation.m
@if test x$(NLSTEST) = "x-DNLS"; then \
LANG=pt_PT $(gencat_cmd) fluxbox.cat Translation.m; \
LANG=$(THE_LANG) $(gencat_cmd) fluxbox.cat Translation.m; \
fi

View file

@ -1,4 +1,7 @@
# nls/ru_RU/Makefile.am for Blackbox-0.61.x - an X11 Window Manager
# nls/ru_RU/Makefile.am for Fluxbox - an X11 Window Manager
THE_LANG = ru_RU
CODESET = KOI8-R
NLSTEST = @NLS@
CLEANFILES = fluxbox.cat
@ -8,23 +11,23 @@ EXTRA_DIST=$(MFILES)
all-local: fluxbox.cat
install-data-local: fluxbox.cat
@if test x$(NLSTEST) = "x-DNLS"; then \
echo "Installing catalog in $(DESTDIR)$(pkgdatadir)/nls/ru_RU"; \
$(mkinstalldirs) $(DESTDIR)$(pkgdatadir)/nls/ru_RU; \
$(INSTALL_DATA) fluxbox.cat $(DESTDIR)$(pkgdatadir)/nls/ru_RU; \
echo "Installing catalog in $(DESTDIR)$(pkgdatadir)/nls/$(THE_LANG)"; \
$(mkinstalldirs) $(DESTDIR)$(pkgdatadir)/nls/$(THE_LANG); \
$(INSTALL_DATA) fluxbox.cat $(DESTDIR)$(pkgdatadir)/nls/$(THE_LANG); \
fi
uninstall-local:
@if test x$(NLSTEST) = "x-DNLS"; then \
rm -f $(DESTDIR)$(pkgdatadir)/nls/ru_RU/fluxbox.cat; \
rmdir $(DESTDIR)$(pkgdatadir)/nls/ru_RU; \
rm -f $(DESTDIR)$(pkgdatadir)/nls/$(THE_LANG)/fluxbox.cat; \
rmdir $(DESTDIR)$(pkgdatadir)/nls/$(THE_LANG); \
fi
Translation.m: $(MFILES)
@if test x$(NLSTEST) = "x-DNLS"; then \
rm -f Translation.m; \
awk -f ../convert.awk output=Translation.m $(MFILES); \
awk -f ../convert.awk codeset=$(CODESET) output=Translation.m $(MFILES); \
fi
fluxbox.cat: Translation.m
@if test x$(NLSTEST) = "x-DNLS"; then \
LANG=ru_RU $(gencat_cmd) fluxbox.cat Translation.m; \
LANG=$(THE_LANG) $(gencat_cmd) fluxbox.cat Translation.m; \
fi

View file

@ -1,4 +1,7 @@
# nls/sv_SE/Makefile.am for Blackbox-0.61.x - an X11 Window Manager
# nls/sv_SE/Makefile.am for Fluxbox - an X11 Window Manager
THE_LANG = sv_SE
CODESET = ISO-8859-1
NLSTEST = @NLS@
CLEANFILES = fluxbox.cat
@ -9,23 +12,23 @@ EXTRA_DIST=$(MFILES)
all-local: fluxbox.cat
install-data-local: fluxbox.cat
@if test x$(NLSTEST) = "x-DNLS"; then \
echo "Installing catalog in $(DESTDIR)$(pkgdatadir)/nls/sv_SE"; \
$(mkinstalldirs) $(DESTDIR)$(pkgdatadir)/nls/sv_SE; \
$(INSTALL_DATA) fluxbox.cat $(DESTDIR)$(pkgdatadir)/nls/sv_SE; \
echo "Installing catalog in $(DESTDIR)$(pkgdatadir)/nls/$(THE_LANG)"; \
$(mkinstalldirs) $(DESTDIR)$(pkgdatadir)/nls/$(THE_LANG); \
$(INSTALL_DATA) fluxbox.cat $(DESTDIR)$(pkgdatadir)/nls/$(THE_LANG); \
fi
uninstall-local:
@if test x$(NLSTEST) = "x-DNLS"; then \
rm -f $(DESTDIR)$(pkgdatadir)/nls/sv_SE/fluxbox.cat; \
rmdir $(DESTDIR)$(pkgdatadir)/nls/sv_SE; \
rm -f $(DESTDIR)$(pkgdatadir)/nls/$(THE_LANG)/fluxbox.cat; \
rmdir $(DESTDIR)$(pkgdatadir)/nls/$(THE_LANG); \
fi
Translation.m: $(MFILES)
@if test x$(NLSTEST) = "x-DNLS"; then \
rm -f Translation.m; \
awk -f ../convert.awk output=Translation.m $(MFILES); \
awk -f ../convert.awk codeset=$(CODESET) output=Translation.m $(MFILES); \
fi
fluxbox.cat: Translation.m
@if test x$(NLSTEST) = "x-DNLS"; then \
LANG=sv_SE $(gencat_cmd) fluxbox.cat Translation.m; \
LANG=$(THE_LANG) $(gencat_cmd) fluxbox.cat Translation.m; \
fi

View file

@ -1,35 +1,38 @@
# nls/tr_TR/Makefile.am for Blackbox-0.61.x - an X11 Window Manager
# nls/tr_TR/Makefile.am for Fluxbox - an X11 Window Manager
#
# -- Türkce tercüme dizini için bir yapim-dosya-tabaný
# kabalak -- kabalak@gmx.net
#
THE_LANG = tr_TR
CODESET = ISO-8859-1
NLSTEST = @NLS@
CLEANFILES = fluxbox.cat
MAINTAINERCLEANFILES = Makefile.in Translation.m
MFILES = BaseDisplay.m Basemenu.m Configmenu.m Icon.m Image.m Screen.m Slit.m Toolbar.m Window.m Windowmenu.m Workspace.m Workspacemenu.m fluxbox.m common.m main.m bsetroot.m
EXTRA_DIST=$(MFILES)
EXTRA_DIST = $(MFILES)
all-local: fluxbox.cat
install-data-local: fluxbox.cat
@if test x$(NLSTEST) = "x-DNLS"; then \
echo "Installing catalog in $(DESTDIR)$(pkgdatadir)/nls/tr_TR"; \
$(mkinstalldirs) $(DESTDIR)$(pkgdatadir)/nls/tr_TR; \
$(INSTALL_DATA) fluxbox.cat $(DESTDIR)$(pkgdatadir)/nls/tr_TR; \
echo "Installing catalog in $(DESTDIR)$(pkgdatadir)/nls/$(THE_LANG)"; \
$(mkinstalldirs) $(DESTDIR)$(pkgdatadir)/nls/$(THE_LANG); \
$(INSTALL_DATA) fluxbox.cat $(DESTDIR)$(pkgdatadir)/nls/$(THE_LANG); \
fi
uninstall-local:
@if test x$(NLSTEST) = "x-DNLS"; then \
rm -f $(DESTDIR)$(pkgdatadir)/nls/tr_TR/fluxbox.cat; \
rmdir $(DESTDIR)$(pkgdatadir)/nls/tr_TR; \
rm -f $(DESTDIR)$(pkgdatadir)/nls/$(THE_LANG)/fluxbox.cat; \
rmdir $(DESTDIR)$(pkgdatadir)/nls/$(THE_LANG); \
fi
Translation.m: $(MFILES)
@if test x$(NLSTEST) = "x-DNLS"; then \
rm -f Translation.m; \
awk -f ../convert.awk output=Translation.m $(MFILES); \
awk -f ../convert.awk codeset=$(CODESET) codeset=$(CODESET) output=Translation.m $(MFILES); \
fi
fluxbox.cat: Translation.m
@if test x$(NLSTEST) = "x-DNLS"; then \
LANG=tr_TR $(gencat_cmd) fluxbox.cat Translation.m; \
LANG=$(THE_LANG) $(gencat_cmd) fluxbox.cat Translation.m; \
fi