2015-05-05 12:23:49 +02:00
|
|
|
---
|
|
|
|
nls/Makefile.in | 48 ++++++++++++++++++++++++------------------------
|
|
|
|
sh.c | 6 +++---
|
|
|
|
2 files changed, 27 insertions(+), 27 deletions(-)
|
|
|
|
|
2011-11-17 11:34:10 +01:00
|
|
|
--- nls/Makefile.in
|
2015-05-05 12:23:49 +02:00
|
|
|
+++ nls/Makefile.in 2015-05-04 14:58:34.999037547 +0000
|
2012-01-10 18:37:30 +01:00
|
|
|
@@ -16,96 +16,96 @@ CATGEN= ${srcdir}/catgen
|
|
|
|
|
|
|
|
all: ${CATALOGS}
|
2011-11-17 11:34:10 +01:00
|
|
|
|
|
|
|
-INSTALLED+=${localedir}/C/LC_MESSAGES/tcsh.cat
|
|
|
|
-${localedir}/C/LC_MESSAGES/tcsh.cat: C.cat
|
|
|
|
+INSTALLED+=${localedir}/C/LC_MESSAGES/tcsh
|
|
|
|
+${localedir}/C/LC_MESSAGES/tcsh: C.cat
|
|
|
|
mkdir -p $(@D)
|
2015-05-05 12:23:49 +02:00
|
|
|
$(INSTALL) $> $^ $@
|
2011-11-17 11:34:10 +01:00
|
|
|
|
2012-01-10 18:37:30 +01:00
|
|
|
C.cat: ${srcdir}/C/charset ${srcdir}/C/*set[0-9]*
|
|
|
|
@${CATGEN} $(GENCAT) $@ $^ $>
|
2011-11-17 11:34:10 +01:00
|
|
|
|
|
|
|
-INSTALLED+=${localedir}/et/LC_MESSAGES/tcsh.cat
|
|
|
|
-${localedir}/et/LC_MESSAGES/tcsh.cat: et.cat
|
|
|
|
+INSTALLED+=${localedir}/et/LC_MESSAGES/tcsh
|
|
|
|
+${localedir}/et/LC_MESSAGES/tcsh: et.cat
|
|
|
|
mkdir -p $(@D)
|
2015-05-05 12:23:49 +02:00
|
|
|
$(INSTALL) $> $^ $@
|
2011-11-17 11:34:10 +01:00
|
|
|
|
2012-01-10 18:37:30 +01:00
|
|
|
et.cat: ${srcdir}/et/charset ${srcdir}/et/*set[0-9]*
|
|
|
|
@${CATGEN} $(GENCAT) $@ $^ $>
|
2011-11-17 11:34:10 +01:00
|
|
|
|
|
|
|
-INSTALLED+=${localedir}/fi/LC_MESSAGES/tcsh.cat
|
|
|
|
-${localedir}/fi/LC_MESSAGES/tcsh.cat: finnish.cat
|
|
|
|
+INSTALLED+=${localedir}/fi/LC_MESSAGES/tcsh
|
|
|
|
+${localedir}/fi/LC_MESSAGES/tcsh: finnish.cat
|
|
|
|
mkdir -p $(@D)
|
2015-05-05 12:23:49 +02:00
|
|
|
$(INSTALL) $> $^ $@
|
2011-11-17 11:34:10 +01:00
|
|
|
|
2012-01-10 18:37:30 +01:00
|
|
|
finnish.cat: ${srcdir}/finnish/charset ${srcdir}/finnish/*set[0-9]*
|
|
|
|
@${CATGEN} $(GENCAT) $@ $^ $>
|
2011-11-17 11:34:10 +01:00
|
|
|
|
|
|
|
-INSTALLED+=${localedir}/fr/LC_MESSAGES/tcsh.cat
|
|
|
|
-${localedir}/fr/LC_MESSAGES/tcsh.cat: french.cat
|
|
|
|
+INSTALLED+=${localedir}/fr/LC_MESSAGES/tcsh
|
|
|
|
+${localedir}/fr/LC_MESSAGES/tcsh: french.cat
|
|
|
|
mkdir -p $(@D)
|
2015-05-05 12:23:49 +02:00
|
|
|
$(INSTALL) $> $^ $@
|
2011-11-17 11:34:10 +01:00
|
|
|
|
2012-01-10 18:37:30 +01:00
|
|
|
french.cat: ${srcdir}/french/charset ${srcdir}/french/*set[0-9]*
|
|
|
|
@${CATGEN} $(GENCAT) $@ $^ $>
|
2011-11-17 11:34:10 +01:00
|
|
|
|
|
|
|
-INSTALLED+=${localedir}/de/LC_MESSAGES/tcsh.cat
|
|
|
|
-${localedir}/de/LC_MESSAGES/tcsh.cat: german.cat
|
|
|
|
+INSTALLED+=${localedir}/de/LC_MESSAGES/tcsh
|
|
|
|
+${localedir}/de/LC_MESSAGES/tcsh: german.cat
|
|
|
|
mkdir -p $(@D)
|
2015-05-05 12:23:49 +02:00
|
|
|
$(INSTALL) $> $^ $@
|
2011-11-17 11:34:10 +01:00
|
|
|
|
2012-01-10 18:37:30 +01:00
|
|
|
german.cat: ${srcdir}/german/charset ${srcdir}/german/*set[0-9]*
|
|
|
|
@${CATGEN} $(GENCAT) $@ $^ $>
|
2011-11-17 11:34:10 +01:00
|
|
|
|
|
|
|
-INSTALLED+=${localedir}/gr/LC_MESSAGES/tcsh.cat
|
|
|
|
-${localedir}/gr/LC_MESSAGES/tcsh.cat: greek.cat
|
2015-05-05 12:23:49 +02:00
|
|
|
+INSTALLED+=${localedir}/el_GR/LC_MESSAGES/tcsh
|
|
|
|
+${localedir}/el_GR/LC_MESSAGES/tcsh: greek.cat
|
2011-11-17 11:34:10 +01:00
|
|
|
mkdir -p $(@D)
|
2015-05-05 12:23:49 +02:00
|
|
|
$(INSTALL) $> $^ $@
|
2011-11-17 11:34:10 +01:00
|
|
|
|
2012-01-10 18:37:30 +01:00
|
|
|
greek.cat: ${srcdir}/greek/charset ${srcdir}/greek/*set[0-9]*
|
|
|
|
@${CATGEN} $(GENCAT) $@ $^ $>
|
2011-11-17 11:34:10 +01:00
|
|
|
|
|
|
|
-INSTALLED+=${localedir}/it/LC_MESSAGES/tcsh.cat
|
|
|
|
-${localedir}/it/LC_MESSAGES/tcsh.cat: italian.cat
|
|
|
|
+INSTALLED+=${localedir}/it/LC_MESSAGES/tcsh
|
|
|
|
+${localedir}/it/LC_MESSAGES/tcsh: italian.cat
|
|
|
|
mkdir -p $(@D)
|
2015-05-05 12:23:49 +02:00
|
|
|
$(INSTALL) $> $^ $@
|
2011-11-17 11:34:10 +01:00
|
|
|
|
2012-01-10 18:37:30 +01:00
|
|
|
italian.cat: ${srcdir}/italian/charset ${srcdir}/italian/*set[0-9]*
|
|
|
|
@${CATGEN} $(GENCAT) $@ $^ $>
|
2011-11-17 11:34:10 +01:00
|
|
|
|
|
|
|
-INSTALLED+=${localedir}/ja/LC_MESSAGES/tcsh.cat
|
|
|
|
-${localedir}/ja/LC_MESSAGES/tcsh.cat: ja.cat
|
|
|
|
+INSTALLED+=${localedir}/ja/LC_MESSAGES/tcsh
|
|
|
|
+${localedir}/ja/LC_MESSAGES/tcsh: ja.cat
|
|
|
|
mkdir -p $(@D)
|
2015-05-05 12:23:49 +02:00
|
|
|
$(INSTALL) $> $^ $@
|
2011-11-17 11:34:10 +01:00
|
|
|
|
2012-01-10 18:37:30 +01:00
|
|
|
ja.cat: ${srcdir}/ja/charset ${srcdir}/ja/*set[0-9]*
|
|
|
|
@${CATGEN} $(GENCAT) $@ $^ $>
|
2011-11-17 11:34:10 +01:00
|
|
|
|
|
|
|
-INSTALLED+=${localedir}/pl/LC_MESSAGES/tcsh.cat
|
|
|
|
-${localedir}/pl/LC_MESSAGES/tcsh.cat: pl.cat
|
|
|
|
+INSTALLED+=${localedir}/pl/LC_MESSAGES/tcsh
|
|
|
|
+${localedir}/pl/LC_MESSAGES/tcsh: pl.cat
|
|
|
|
mkdir -p $(@D)
|
2015-05-05 12:23:49 +02:00
|
|
|
$(INSTALL) $> $^ $@
|
2011-11-17 11:34:10 +01:00
|
|
|
|
2012-01-10 18:37:30 +01:00
|
|
|
pl.cat: ${srcdir}/pl/charset ${srcdir}/pl/*set[0-9]*
|
|
|
|
@${CATGEN} $(GENCAT) $@ $^ $>
|
2011-11-17 11:34:10 +01:00
|
|
|
|
|
|
|
-INSTALLED+=${localedir}/ru/LC_MESSAGES/tcsh.cat
|
|
|
|
-${localedir}/ru/LC_MESSAGES/tcsh.cat: russian.cat
|
|
|
|
+INSTALLED+=${localedir}/ru_RU/LC_MESSAGES/tcsh
|
|
|
|
+${localedir}/ru_RU/LC_MESSAGES/tcsh: russian.cat
|
|
|
|
mkdir -p $(@D)
|
2015-05-05 12:23:49 +02:00
|
|
|
$(INSTALL) $> $^ $@
|
2011-11-17 11:34:10 +01:00
|
|
|
|
2012-01-10 18:37:30 +01:00
|
|
|
russian.cat: ${srcdir}/russian/charset ${srcdir}/russian/*set[0-9]*
|
|
|
|
@${CATGEN} $(GENCAT) $@ $^ $>
|
2011-11-17 11:34:10 +01:00
|
|
|
|
|
|
|
-INSTALLED+=${localedir}/es/LC_MESSAGES/tcsh.cat
|
|
|
|
-${localedir}/es/LC_MESSAGES/tcsh.cat: spanish.cat
|
|
|
|
+INSTALLED+=${localedir}/es/LC_MESSAGES/tcsh
|
|
|
|
+${localedir}/es/LC_MESSAGES/tcsh: spanish.cat
|
|
|
|
mkdir -p $(@D)
|
2015-05-05 12:23:49 +02:00
|
|
|
$(INSTALL) $> $^ $@
|
2011-11-17 11:34:10 +01:00
|
|
|
|
2012-01-10 18:37:30 +01:00
|
|
|
spanish.cat: ${srcdir}/spanish/charset ${srcdir}/spanish/*set[0-9]*
|
|
|
|
@${CATGEN} $(GENCAT) $@ $^ $>
|
2011-11-17 11:34:10 +01:00
|
|
|
|
2015-05-05 12:23:49 +02:00
|
|
|
-INSTALLED+=${localedir}/ru_UA/LC_MESSAGES/tcsh.cat
|
|
|
|
-${localedir}/ru_UA/LC_MESSAGES/tcsh.cat: ukrainian.cat
|
|
|
|
+INSTALLED+=${localedir}/ru_UA.koi8u/LC_MESSAGES/tcsh
|
|
|
|
+${localedir}/ru_UA.koi8u/LC_MESSAGES/tcsh: ukrainian.cat
|
2011-11-17 11:34:10 +01:00
|
|
|
mkdir -p $(@D)
|
2015-05-05 12:23:49 +02:00
|
|
|
$(INSTALL) $> $^ $@
|
2011-11-17 11:34:10 +01:00
|
|
|
|
2015-05-05 12:23:49 +02:00
|
|
|
--- sh.c
|
|
|
|
+++ sh.c 2011-11-17 08:28:47.000000000 +0000
|
|
|
|
@@ -169,8 +169,8 @@ static void st_restore (void *);
|
|
|
|
static void
|
|
|
|
add_localedir_to_nlspath(const char *path)
|
|
|
|
{
|
|
|
|
- static const char msgs_LOC[] = "/%L/LC_MESSAGES/%N.cat";
|
|
|
|
- static const char msgs_lang[] = "/%l/LC_MESSAGES/%N.cat";
|
|
|
|
+ static const char msgs_LOC[] = "/%L/LC_MESSAGES/%N";
|
|
|
|
+ static const char msgs_lang[] = "/%l/LC_MESSAGES/%N";
|
|
|
|
char *old;
|
|
|
|
char *new, *new_p;
|
|
|
|
size_t len;
|
|
|
|
@@ -182,7 +182,7 @@ add_localedir_to_nlspath(const char *pat
|
|
|
|
if (path == NULL)
|
|
|
|
return;
|
|
|
|
|
|
|
|
- (void) xsnprintf(trypath, sizeof(trypath), "%s/en/LC_MESSAGES/tcsh.cat",
|
|
|
|
+ (void) xsnprintf(trypath, sizeof(trypath), "%s/en/LC_MESSAGES/tcsh",
|
|
|
|
path);
|
|
|
|
if (stat(trypath, &st) == -1)
|
|
|
|
return;
|