mirror of
https://git.zap.org.au/git/trader.git
synced 2024-09-01 17:14:15 -04:00
Update files in the po directory to GNU Gettext 0.19.8
This commit is contained in:
parent
a2c5300d62
commit
2d2793fe54
@ -6,7 +6,7 @@
|
|||||||
# notice and this notice are preserved. This file is offered as-is,
|
# notice and this notice are preserved. This file is offered as-is,
|
||||||
# without any warranty.
|
# without any warranty.
|
||||||
#
|
#
|
||||||
# Origin: gettext-0.19.5
|
# Origin: gettext-0.19.8
|
||||||
GETTEXT_MACRO_VERSION = 0.19
|
GETTEXT_MACRO_VERSION = 0.19
|
||||||
|
|
||||||
PACKAGE = @PACKAGE@
|
PACKAGE = @PACKAGE@
|
||||||
@ -43,6 +43,11 @@ install_sh = $(SHELL) @install_sh@
|
|||||||
MKDIR_P = @MKDIR_P@
|
MKDIR_P = @MKDIR_P@
|
||||||
mkdir_p = @mkdir_p@
|
mkdir_p = @mkdir_p@
|
||||||
|
|
||||||
|
# When building gettext-tools, we prefer to use the built programs
|
||||||
|
# rather than installed programs. However, we can't do that when we
|
||||||
|
# are cross compiling.
|
||||||
|
CROSS_COMPILING = @CROSS_COMPILING@
|
||||||
|
|
||||||
GMSGFMT_ = @GMSGFMT@
|
GMSGFMT_ = @GMSGFMT@
|
||||||
GMSGFMT_no = @GMSGFMT@
|
GMSGFMT_no = @GMSGFMT@
|
||||||
GMSGFMT_yes = @GMSGFMT_015@
|
GMSGFMT_yes = @GMSGFMT_015@
|
||||||
@ -195,6 +200,11 @@ $(DOMAIN).pot-update: $(POTFILES) $(srcdir)/POTFILES.in remove-potcdate.sed
|
|||||||
;; \
|
;; \
|
||||||
esac
|
esac
|
||||||
test ! -f $(DOMAIN).po || { \
|
test ! -f $(DOMAIN).po || { \
|
||||||
|
if test -f $(srcdir)/$(DOMAIN).pot-header; then \
|
||||||
|
sed -e '1,/^#$$/d' < $(DOMAIN).po > $(DOMAIN).1po && \
|
||||||
|
cat $(srcdir)/$(DOMAIN).pot-header $(DOMAIN).1po > $(DOMAIN).po; \
|
||||||
|
rm -f $(DOMAIN).1po; \
|
||||||
|
fi; \
|
||||||
if test -f $(srcdir)/$(DOMAIN).pot; then \
|
if test -f $(srcdir)/$(DOMAIN).pot; then \
|
||||||
sed -f remove-potcdate.sed < $(srcdir)/$(DOMAIN).pot > $(DOMAIN).1po && \
|
sed -f remove-potcdate.sed < $(srcdir)/$(DOMAIN).pot > $(DOMAIN).1po && \
|
||||||
sed -f remove-potcdate.sed < $(DOMAIN).po > $(DOMAIN).2po && \
|
sed -f remove-potcdate.sed < $(DOMAIN).po > $(DOMAIN).2po && \
|
||||||
@ -425,7 +435,7 @@ update-po: Makefile
|
|||||||
|
|
||||||
.nop.po-update:
|
.nop.po-update:
|
||||||
@lang=`echo $@ | sed -e 's/\.po-update$$//'`; \
|
@lang=`echo $@ | sed -e 's/\.po-update$$//'`; \
|
||||||
if test "$(PACKAGE)" = "gettext-tools"; then PATH=`pwd`/../src:$$PATH; fi; \
|
if test "$(PACKAGE)" = "gettext-tools" && test "$(CROSS_COMPILING)" != "yes"; then PATH=`pwd`/../src:$$PATH; fi; \
|
||||||
tmpdir=`pwd`; \
|
tmpdir=`pwd`; \
|
||||||
echo "$$lang:"; \
|
echo "$$lang:"; \
|
||||||
test "$(srcdir)" = . && cdcmd="" || cdcmd="cd $(srcdir) && "; \
|
test "$(srcdir)" = . && cdcmd="" || cdcmd="cd $(srcdir) && "; \
|
||||||
|
15
po/Makevars
15
po/Makevars
@ -63,5 +63,20 @@ USE_MSGCTXT = yes
|
|||||||
# These options get passed to msgmerge.
|
# These options get passed to msgmerge.
|
||||||
MSGMERGE_OPTIONS = --width=132
|
MSGMERGE_OPTIONS = --width=132
|
||||||
|
|
||||||
|
# These options get passed to msginit.
|
||||||
|
MSGINIT_OPTIONS =
|
||||||
|
|
||||||
|
# This tells whether or not to regenerate a PO file when $(DOMAIN).pot
|
||||||
|
# has changed. Possible values are "yes" and "no". Set this to no if
|
||||||
|
# the POT file is checked in the repository and the version control
|
||||||
|
# program ignores timestamps.
|
||||||
|
PO_DEPENDS_ON_POT = yes
|
||||||
|
|
||||||
|
# This tells whether or not to forcibly update $(DOMAIN).pot and
|
||||||
|
# regenerate PO files on "make dist". Possible values are "yes" and
|
||||||
|
# "no". Set this to no if the POT file and PO files are maintained
|
||||||
|
# externally.
|
||||||
|
DIST_DEPENDS_ON_UPDATE_PO = yes
|
||||||
|
|
||||||
# Additional files to distribute.
|
# Additional files to distribute.
|
||||||
DISTFILES += README
|
DISTFILES += README
|
||||||
|
@ -15,7 +15,7 @@ en@boldquot.po-update: en@boldquot.po-update-en
|
|||||||
|
|
||||||
.insert-header.po-update-en:
|
.insert-header.po-update-en:
|
||||||
@lang=`echo $@ | sed -e 's/\.po-update-en$$//'`; \
|
@lang=`echo $@ | sed -e 's/\.po-update-en$$//'`; \
|
||||||
if test "$(PACKAGE)" = "gettext-tools"; then PATH=`pwd`/../src:$$PATH; GETTEXTLIBDIR=`cd $(top_srcdir)/src && pwd`; export GETTEXTLIBDIR; fi; \
|
if test "$(PACKAGE)" = "gettext-tools" && test "$(CROSS_COMPILING)" != "yes"; then PATH=`pwd`/../src:$$PATH; GETTEXTLIBDIR=`cd $(top_srcdir)/src && pwd`; export GETTEXTLIBDIR; fi; \
|
||||||
tmpdir=`pwd`; \
|
tmpdir=`pwd`; \
|
||||||
echo "$$lang:"; \
|
echo "$$lang:"; \
|
||||||
ll=`echo $$lang | sed -e 's/@.*//'`; \
|
ll=`echo $$lang | sed -e 's/@.*//'`; \
|
||||||
|
Loading…
Reference in New Issue
Block a user