diff options
author | rathnor <rathnor> | 2003-10-04 12:44:47 (GMT) |
---|---|---|
committer | rathnor <rathnor> | 2003-10-04 12:44:47 (GMT) |
commit | 35fe2d5e128c1b13d34a5152945a1b8979401d6f (patch) | |
tree | ca52ca41b7a80acc290753d266b540b6a5c3eac4 /nls/es_ES/Makefile.am | |
parent | 158b515e21f0f0154041cd5985ec38fe37c0e875 (diff) | |
download | fluxbox-35fe2d5e128c1b13d34a5152945a1b8979401d6f.zip fluxbox-35fe2d5e128c1b13d34a5152945a1b8979401d6f.tar.bz2 |
fix nls bad message errors
Diffstat (limited to 'nls/es_ES/Makefile.am')
-rw-r--r-- | nls/es_ES/Makefile.am | 21 |
1 files changed, 12 insertions, 9 deletions
diff --git a/nls/es_ES/Makefile.am b/nls/es_ES/Makefile.am index 8cb0e02..937051a 100644 --- a/nls/es_ES/Makefile.am +++ b/nls/es_ES/Makefile.am | |||
@@ -1,4 +1,7 @@ | |||
1 | # nls/es_ES/Makefile.am for Blackbox-0.61.x - an X11 Window Manager | 1 | # nls/es_ES/Makefile.am for Fluxbox - an X11 Window Manager |
2 | |||
3 | THE_LANG = es_ES | ||
4 | CODESET = ISO-8859-15 | ||
2 | 5 | ||
3 | NLSTEST = @NLS@ | 6 | NLSTEST = @NLS@ |
4 | CLEANFILES = fluxbox.cat | 7 | CLEANFILES = fluxbox.cat |
@@ -8,26 +11,26 @@ EXTRA_DIST=$(MFILES) | |||
8 | all-local: fluxbox.cat | 11 | all-local: fluxbox.cat |
9 | install-data-local: fluxbox.cat | 12 | install-data-local: fluxbox.cat |
10 | @if test x$(NLSTEST) = "x-DNLS"; then \ | 13 | @if test x$(NLSTEST) = "x-DNLS"; then \ |
11 | echo "Installing catalog in $(DESTDIR)$(pkgdatadir)/nls/es_ES"; \ | 14 | echo "Installing catalog in $(DESTDIR)$(pkgdatadir)/nls/$(THE_LANG)"; \ |
12 | $(mkinstalldirs) $(DESTDIR)$(pkgdatadir)/nls/es_ES; \ | 15 | $(mkinstalldirs) $(DESTDIR)$(pkgdatadir)/nls/$(THE_LANG); \ |
13 | $(INSTALL_DATA) fluxbox.cat $(DESTDIR)$(pkgdatadir)/nls/es_ES; \ | 16 | $(INSTALL_DATA) fluxbox.cat $(DESTDIR)$(pkgdatadir)/nls/$(THE_LANG); \ |
14 | rm -f $(DESTDIR)$(pkgdatadir)/nls/es; \ | 17 | rm -f $(DESTDIR)$(pkgdatadir)/nls/es; \ |
15 | ln -fs es_ES $(DESTDIR)$(pkgdatadir)/nls/es; \ | 18 | ln -fs $(THE_LANG) $(DESTDIR)$(pkgdatadir)/nls/es; \ |
16 | fi | 19 | fi |
17 | uninstall-local: | 20 | uninstall-local: |
18 | @if test x$(NLSTEST) = "x-DNLS"; then \ | 21 | @if test x$(NLSTEST) = "x-DNLS"; then \ |
19 | rm -f $(DESTDIR)$(pkgdatadir)/nls/es_ES/fluxbox.cat; \ | 22 | rm -f $(DESTDIR)$(pkgdatadir)/nls/$(THE_LANG)/fluxbox.cat; \ |
20 | rm -f $(DESTDIR)$(pkgdatadir)/nls/es; \ | 23 | rm -f $(DESTDIR)$(pkgdatadir)/nls/es; \ |
21 | rmdir $(DESTDIR)$(pkgdatadir)/nls/es_ES; \ | 24 | rmdir $(DESTDIR)$(pkgdatadir)/nls/$(THE_LANG); \ |
22 | fi | 25 | fi |
23 | 26 | ||
24 | Translation.m: $(MFILES) | 27 | Translation.m: $(MFILES) |
25 | @if test x$(NLSTEST) = "x-DNLS"; then \ | 28 | @if test x$(NLSTEST) = "x-DNLS"; then \ |
26 | rm -f Translation.m; \ | 29 | rm -f Translation.m; \ |
27 | awk -f ../convert.awk output=Translation.m $(MFILES); \ | 30 | awk -f ../convert.awk codeset=$(CODESET) output=Translation.m $(MFILES); \ |
28 | fi | 31 | fi |
29 | 32 | ||
30 | fluxbox.cat: Translation.m | 33 | fluxbox.cat: Translation.m |
31 | @if test x$(NLSTEST) = "x-DNLS"; then \ | 34 | @if test x$(NLSTEST) = "x-DNLS"; then \ |
32 | LANG=es_ES $(gencat_cmd) fluxbox.cat Translation.m; \ | 35 | LANG=$(THE_LANG) $(gencat_cmd) fluxbox.cat Translation.m; \ |
33 | fi | 36 | fi |