1
0
mirror of https://github.com/fwbuilder/fwbuilder synced 2026-03-19 01:37:17 +01:00

switching to Linguist for translations, removing po directory

This commit is contained in:
Vadim Kurland 2007-12-30 22:35:36 +00:00
parent 14c9fd1c60
commit 4d9a5b985a
24 changed files with 0 additions and 78449 deletions

View File

@ -1,5 +0,0 @@
.moc
.ui
Makefile
POmakefile
*.app

View File

@ -1 +0,0 @@
de es fr ja sv pt_BR

View File

@ -1,626 +0,0 @@
# Makefile.in generated by automake 1.6.3 from Makefile.am.
# @configure_input@
# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002
# Free Software Foundation, Inc.
# This Makefile.in is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
# PARTICULAR PURPOSE.
@SET_MAKE@
MAKE=make -f POmakefile
# Example for use of GNU gettext.
# Copyright (C) 2003-2004 Free Software Foundation, Inc.
# This file is in the public domain.
#
# Makefile configuration - processed by automake.
SHELL = @SHELL@
#
# my build infrastructure uses INSTALL_ROOT in RPM build --vk
#
DESTDIR = $(INSTALL_ROOT)
srcdir = @srcdir@
top_srcdir = @top_srcdir@
VPATH = @srcdir@
prefix = @prefix@
exec_prefix = @exec_prefix@
bindir = @bindir@
sbindir = @sbindir@
libexecdir = @libexecdir@
datadir = @datadir@
sysconfdir = @sysconfdir@
sharedstatedir = @sharedstatedir@
localstatedir = @localstatedir@
libdir = @libdir@
infodir = @infodir@
mandir = @mandir@
includedir = @includedir@
oldincludedir = /usr/include
pkgdatadir = $(datadir)/@PACKAGE@
pkglibdir = $(libdir)/@PACKAGE@
pkgincludedir = $(includedir)/@PACKAGE@
top_builddir = ..
ACLOCAL = @ACLOCAL@
AUTOCONF = @AUTOCONF@
AUTOMAKE = @AUTOMAKE@
AUTOHEADER = @AUTOHEADER@
am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
INSTALL = @INSTALL@
INSTALL_PROGRAM = @INSTALL_PROGRAM@
INSTALL_DATA = @INSTALL_DATA@
install_sh_DATA = $(install_sh) -c -m 644
install_sh_PROGRAM = $(install_sh) -c
install_sh_SCRIPT = $(install_sh) -c
INSTALL_SCRIPT = @INSTALL_SCRIPT@
INSTALL_HEADER = $(INSTALL_DATA)
transform = @program_transform_name@
NORMAL_INSTALL = :
PRE_INSTALL = :
POST_INSTALL = :
NORMAL_UNINSTALL = :
PRE_UNINSTALL = :
POST_UNINSTALL = :
host_alias = @host_alias@
host_triplet = @host@
EXEEXT = @EXEEXT@
OBJEXT = @OBJEXT@
PATH_SEPARATOR = @PATH_SEPARATOR@
AMTAR = @AMTAR@
AWK = @AWK@
CC = @CC@
CXX = @CXX@
DEPDIR = @DEPDIR@
GMSGFMT = @GMSGFMT@
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
MKINSTALLDIRS = @MKINSTALLDIRS@
MOC = @MOC@
PACKAGE = @PACKAGE@
QTVERSION = @QTVERSION@
QT_CXXFLAGS = @QT_CXXFLAGS@
QT_LDFLAGS = @QT_LDFLAGS@
QT_LIBS = @QT_LIBS@
STRIP = @STRIP@
UIC = @UIC@
USE_NLS = @USE_NLS@
VERSION = @VERSION@
X_CFLAGS = @X_CFLAGS@
X_EXTRA_LIBS = @X_EXTRA_LIBS@
X_LIBS = @X_LIBS@
X_PRE_LIBS = @X_PRE_LIBS@
am__include = @am__include@
am__quote = @am__quote@
install_sh = @install_sh@
# List of files which contain translatable strings.
POTFILES = \
src/gui/ActionsDialog.cpp \
src/gui/AddressRangeDialog.cpp \
src/gui/AddressTableDialog.cpp \
src/gui/ColorCheckViewItem.cpp \
src/gui/ColorLabelMenuItem.cpp \
src/gui/CommentEditorPanel.cpp \
src/gui/ConfirmDeleteObjectDialog.cpp \
src/gui/CustomServiceDialog.cpp \
src/gui/debugDialog.cpp \
src/gui/DialogData.cpp \
src/gui/DialogFactory.cpp \
src/gui/DiscoveryDruid.cpp \
src/gui/DNSNameDialog.cpp \
src/gui/execDialog.cpp \
src/gui/filePropDialog.cpp \
src/gui/FilterDialog.cpp \
src/gui/findDialog.cpp \
src/gui/FindObjectWidget.cpp \
src/gui/FindWhereUsedWidget.cpp \
src/gui/FirewallDialog.cpp \
src/gui/freebsdAdvancedDialog.cpp \
src/gui/FWBSettings.cpp \
src/gui/FWBTree.cpp \
src/gui/FWObjectClipboard.cpp \
src/gui/FWObjectDrag.cpp \
src/gui/FWObjectDropArea.cpp \
src/gui/FWObjectPropertiesFactory.cpp \
src/gui/FWWindow.cpp \
src/gui/FWWindowPrint.cpp \
src/gui/GroupObjectDialog.cpp \
src/gui/HostDialog.cpp \
src/gui/ICMPServiceDialog.cpp \
src/gui/inplaceComboBox.cpp \
src/gui/InstallFirewallViewItem.cpp \
src/gui/instBatchOptionsDialog.cpp \
src/gui/instConf.cpp \
src/gui/instDialog.cpp \
src/gui/instOptionsDialog.cpp \
src/gui/InterfaceData.cpp \
src/gui/InterfaceDialog.cpp \
src/gui/ipfAdvancedDialog.cpp \
src/gui/ipfwAdvancedDialog.cpp \
src/gui/IPServiceDialog.cpp \
src/gui/iptAdvancedDialog.cpp \
src/gui/IPv4Dialog.cpp \
src/gui/LibExportDialog.cpp \
src/gui/LibraryDialog.cpp \
src/gui/linksysAdvancedDialog.cpp \
src/gui/linux24AdvancedDialog.cpp \
src/gui/listOfLibraries.cpp \
src/gui/longTextDialog.cpp \
src/gui/macosxAdvancedDialog.cpp \
src/gui/main.cpp \
src/gui/MetricEditorPanel.cpp \
src/gui/NATRuleOptionsDialog.cpp \
src/gui/NetworkDialog.cpp \
src/gui/newFirewallDialog.cpp \
src/gui/newGroupDialog.cpp \
src/gui/newHostDialog.cpp \
src/gui/ObjConflictResolutionDialog.cpp \
src/gui/ObjectEditor.cpp \
src/gui/ObjectIconView.cpp \
src/gui/ObjectListView.cpp \
src/gui/ObjectManipulator.cpp \
src/gui/ObjectTreeView.cpp \
src/gui/ObjectTreeViewItem.cpp \
src/gui/openbsdAdvancedDialog.cpp \
src/gui/pfAdvancedDialog.cpp \
src/gui/PhysicalAddressDialog.cpp \
src/gui/pixAdvancedDialog.cpp \
src/gui/pixosAdvancedDialog.cpp \
src/gui/platforms.cpp \
src/gui/PrefsDialog.cpp \
src/gui/printerStream.cpp \
src/gui/PrintingProgressDialog.cpp \
src/gui/PrototypeDialogClass.cpp \
src/gui/RCS.cpp \
src/gui/RCSFileDialog.cpp \
src/gui/RCSFilePreview.cpp \
src/gui/RoutingRuleOptionsDialog.cpp \
src/gui/RuleOptionsDialog.cpp \
src/gui/RuleSetView.cpp \
src/gui/SimpleIntEditor.cpp \
src/gui/SimpleTextEditor.cpp \
src/gui/SimpleTextView.cpp \
src/gui/solarisAdvancedDialog.cpp \
src/gui/SSHPIX.cpp \
src/gui/SSHSession.cpp \
src/gui/SSHUnx.cpp \
src/gui/StartWizard.cpp \
src/gui/TagServiceDialog.cpp \
src/gui/TCPServiceDialog.cpp \
src/gui/TimeDialog.cpp \
src/gui/UDPServiceDialog.cpp \
src/gui/.ui/aboutdialog_q.cpp \
src/gui/.ui/actionsdialog_q.cpp \
src/gui/.ui/addressrangedialog_q.cpp \
src/gui/.ui/addresstabledialog_q.cpp \
src/gui/.ui/askrulenumberdialog_q.cpp \
src/gui/.ui/colorlabelmenuitem_q.cpp \
src/gui/.ui/commenteditorpanel_q.cpp \
src/gui/.ui/confirmdeleteobjectdialog_q.cpp \
src/gui/.ui/customservicedialog_q.cpp \
src/gui/.ui/debugdialog_q.cpp \
src/gui/.ui/discoverydruid_q.cpp \
src/gui/.ui/dnsnamedialog_q.cpp \
src/gui/.ui/execdialog_q.cpp \
src/gui/.ui/filepropdialog_q.cpp \
src/gui/.ui/filterdialog_q.cpp \
src/gui/.ui/finddialog_q.cpp \
src/gui/.ui/findobjectwidget_q.cpp \
src/gui/.ui/findwhereusedwidget_q.cpp \
src/gui/.ui/firewalldialog_q.cpp \
src/gui/.ui/freebsdadvanceddialog_q.cpp \
src/gui/.ui/FWBMainWindow_q.cpp \
src/gui/.ui/fwobjectdroparea_q.cpp \
src/gui/.ui/groupobjectdialog_q.cpp \
src/gui/.ui/hostdialog_q.cpp \
src/gui/.ui/icmpservicedialog_q.cpp \
src/gui/.ui/instdialog_q.cpp \
src/gui/.ui/instoptionsdialog_q.cpp \
src/gui/.ui/interfacedialog_q.cpp \
src/gui/.ui/ipfadvanceddialog_q.cpp \
src/gui/.ui/ipfwadvanceddialog_q.cpp \
src/gui/.ui/ipservicedialog_q.cpp \
src/gui/.ui/iptadvanceddialog_q.cpp \
src/gui/.ui/ipv4dialog_q.cpp \
src/gui/.ui/libexport_q.cpp \
src/gui/.ui/librarydialog_q.cpp \
src/gui/.ui/linksysadvanceddialog_q.cpp \
src/gui/.ui/linux24advanceddialog_q.cpp \
src/gui/.ui/longtextdialog_q.cpp \
src/gui/.ui/macosxadvanceddialog_q.cpp \
src/gui/.ui/metriceditorpanel_q.cpp \
src/gui/.ui/natruleoptionsdialog_q.cpp \
src/gui/.ui/networkdialog_q.cpp \
src/gui/.ui/newfirewalldialog_q.cpp \
src/gui/.ui/newgroupdialog_q.cpp \
src/gui/.ui/newhostdialog_q.cpp \
src/gui/.ui/objconflictresolutiondialog_q.cpp \
src/gui/.ui/objectmanipulator_q.cpp \
src/gui/.ui/openbsdadvanceddialog_q.cpp \
src/gui/.ui/pagesetupdialog_q.cpp \
src/gui/.ui/pfadvanceddialog_q.cpp \
src/gui/.ui/physaddressdialog_q.cpp \
src/gui/.ui/pixadvanceddialog_q.cpp \
src/gui/.ui/pixosadvanceddialog_q.cpp \
src/gui/.ui/prefsdialog_q.cpp \
src/gui/.ui/printingprogressdialog_q.cpp \
src/gui/.ui/qmake_image_collection.cpp \
src/gui/.ui/rcsfilepreview_q.cpp \
src/gui/.ui/rcsfilesavedialog_q.cpp \
src/gui/.ui/routingruleoptionsdialog_q.cpp \
src/gui/.ui/ruleoptionsdialog_q.cpp \
src/gui/.ui/simpleinteditor_q.cpp \
src/gui/.ui/simpletexteditor_q.cpp \
src/gui/.ui/simpletextview_q.cpp \
src/gui/.ui/solarisadvanceddialog_q.cpp \
src/gui/.ui/tagservicedialog_q.cpp \
src/gui/.ui/tcpservicedialog_q.cpp \
src/gui/.ui/timedialog_q.cpp \
src/gui/.ui/udpservicedialog_q.cpp \
src/gui/utils.cpp \
src/gui/aboutdialog_q.ui.h \
src/gui/upgradePredicate.h
# Usually the message domain is the same as the package name.
DOMAIN = fwbuilder
# These options get passed to xgettext.
XGETTEXT_OPTIONS = \
--qt \
--keyword=tr --flag=tr:1:pass-c-format --flag=tr:1:pass-qt-format \
--keyword=translate:2 --flag=translate:2:pass-c-format --flag=translate:2:pass-qt-format \
--keyword=QT_TR_NOOP --flag=QT_TR_NOOP:1:pass-c-format --flag=QT_TR_NOOP:1:pass-qt-format \
--keyword=QT_TRANSLATE_NOOP:2 --flag=QT_TRANSLATE_NOOP:2:pass-c-format --flag=QT_TRANSLATE_NOOP:2:pass-qt-format \
--keyword=_ --flag=_:1:pass-c-format --flag=_:1:pass-qt-format \
--keyword=N_ --flag=N_:1:pass-c-format --flag=N_:1:pass-qt-format
# This is the copyright holder that gets inserted into the header of the
# $(DOMAIN).pot file. Set this to the copyright holder of the surrounding
# package. (Note that the msgstr strings, extracted from the package's
# sources, belong to the copyright holder of the package.) Translators are
# expected to transfer the copyright for their translations to this person
# or entity, or to disclaim their copyright. The empty string stands for
# the public domain; in this case the translators are expected to disclaim
# their copyright.
COPYRIGHT_HOLDER = NetCitadel, LLC
# This is the email address or URL to which the translators shall report
# bugs in the untranslated strings:
# - Strings which are not entire sentences, see the maintainer guidelines
# in the GNU gettext documentation, section 'Preparing Strings'.
# - Strings which use unclear terms or require additional context to be
# understood.
# - Strings which make invalid assumptions about notation of date, time or
# money.
# - Pluralisation problems.
# - Incorrect English spelling.
# - Incorrect formatting.
# It can be your email address, or a mailing list address where translators
# can write to without being subscribed, or the URL of a web page through
# which the translators can contact you.
MSGID_BUGS_ADDRESS = vadim@fwbuilder.org
localedir = $(datadir)/locale
MSGMERGE = msgmerge
MSGMERGE_UPDATE = @MSGMERGE@ --update
MSGINIT = msginit
MSGCONV = msgconv
MSGFILTER = msgfilter
XGETTEXT = @XGETTEXT@
# This is computed as $(foreach file, $(POTFILES), $(top_srcdir)/$(file))
POTFILES_DEPS = @POTFILES_DEPS@
# This is computed as $(foreach lang, $(LINGUAS), $(srcdir)/$(lang).po)
POFILES = @POFILES@
# This is computed as $(foreach lang, $(LINGUAS), $(lang).po-update)
UPDATEPOFILES = @UPDATEPOFILES@
# This is computed as $(foreach lang, $(LINGUAS), $(lang).nop)
DUMMYPOFILES = @DUMMYPOFILES@
# This is computed as $(foreach lang, $(LINGUAS), $(srcdir)/$(lang).qm)
QMFILES = @QMFILES@
# This is computed as
# $(foreach lang, user-specified subset of $(LINGUAS), $(lang).qm)
CATALOGS = @QTCATALOGS@
SUFFIXES = .po .qm .sed .sin .nop .po-create .po-update
MOSTLYCLEANFILES = remove-potcdate.sed stamp-poT core core.* $(DOMAIN).po $(DOMAIN).1po $(DOMAIN).2po *.new.po *.o
MAINTAINERCLEANFILES = stamp-po $(QMFILES)
EXTRA_DIST = remove-potcdate.sin LINGUAS $(DOMAIN).pot stamp-po $(POFILES) $(QMFILES)
subdir = po
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
CONFIG_CLEAN_FILES =
CFLAGS = @CFLAGS@
COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
CCLD = $(CC)
LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
DIST_SOURCES =
DIST_COMMON = Makefile.in
all: all-am
.SUFFIXES:
.SUFFIXES: .po .qm .sed .sin .nop .po-create .po-update
#$(srcdir)/Makefile.in: $(ACLOCAL_M4)
# cd $(top_srcdir) && \
# $(AUTOMAKE) --gnu po/Makefile
GNUmakefile: $(srcdir)/GNUmakefile.in $(top_builddir)/config.status
cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)
uninstall-info-am:
tags: TAGS
TAGS:
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
top_distdir = ..
distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
distdir: $(DISTFILES)
@list='$(DISTFILES)'; for file in $$list; do \
if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
if test "$$dir" != "$$file" && test "$$dir" != "."; then \
dir="/$$dir"; \
$(mkinstalldirs) "$(distdir)$$dir"; \
else \
dir=''; \
fi; \
if test -d $$d/$$file; then \
if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
fi; \
cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
else \
test -f $(distdir)/$$file \
|| cp -p $$d/$$file $(distdir)/$$file \
|| exit 1; \
fi; \
done
check-am: all-am
check: check-am
all-am: Makefile all-local
installdirs: installdirs-local
install: install-am
install-exec: install-exec-am
install-data: install-data-am
uninstall: uninstall-am
install-am: all-am
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
installcheck: installcheck-am
install-strip:
$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
INSTALL_STRIP_FLAG=-s \
`test -z '$(STRIP)' || \
echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
mostlyclean-generic:
-test -z "$(MOSTLYCLEANFILES)" || rm -f $(MOSTLYCLEANFILES)
clean-generic:
distclean-generic:
-rm -f Makefile $(CONFIG_CLEAN_FILES)
maintainer-clean-generic:
@echo "This command is intended for maintainers to use"
@echo "it deletes files that may require special tools to rebuild."
-test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES)
clean: clean-am
clean-am: clean-generic mostlyclean-am
distclean: distclean-am
distclean-am: clean-am distclean-generic
dvi: dvi-am
dvi-am:
info: info-am
info-am:
install-data-am: install-data-local
install-exec-am:
install-info: install-info-am
install-man:
installcheck-am:
maintainer-clean: maintainer-clean-am
maintainer-clean-am: distclean-am maintainer-clean-generic
mostlyclean: mostlyclean-am
mostlyclean-am: mostlyclean-generic
uninstall-am: uninstall-info-am uninstall-local
.PHONY: all all-am all-local check check-am clean clean-generic \
distclean distclean-generic distdir dvi dvi-am info info-am \
install install-am install-data install-data-am \
install-data-local install-exec install-exec-am install-info \
install-info-am install-man install-strip installcheck \
installcheck-am installdirs maintainer-clean \
maintainer-clean-generic mostlyclean mostlyclean-generic \
uninstall uninstall-am uninstall-info-am uninstall-local
.po.qm:
@lang=`echo $* | sed -e 's,.*/,,'`; \
test "$(srcdir)" = . && cdcmd="" || cdcmd="cd $(srcdir) && "; \
echo "$${cdcmd}rm -f $${lang}.qm && $(GMSGFMT) -c --qt --statistics -o $${lang}.qm $${lang}.po"; \
cd $(srcdir) && rm -f $${lang}.qm && $(GMSGFMT) -c --qt --statistics -o t-$${lang}.qm $${lang}.po && mv t-$${lang}.qm $${lang}.qm
.sin.sed:
sed -e '/^#/d' $< > t-$@
mv t-$@ $@
all-local: all-local-@USE_NLS@
all-local-yes: stamp-po
all-local-no:
# stamp-po is a timestamp denoting the last time at which the CATALOGS have
# been loosely updated. Its purpose is that when a developer or translator
# checks out the package via CVS, and the $(DOMAIN).pot file is not in CVS,
# "make" will update the $(DOMAIN).pot and the $(CATALOGS), but subsequent
# invocations of "make" will do nothing. This timestamp would not be necessary
# if updating the $(CATALOGS) would always touch them; however, the rule for
# $(POFILES) has been designed to not touch files that don't need to be
# changed.
stamp-po: $(srcdir)/$(DOMAIN).pot
test -z "$(QMFILES)" || $(MAKE) $(QMFILES)
@echo "touch stamp-po"
@echo timestamp > stamp-poT
@mv stamp-poT stamp-po
# Note: Target 'all' must not depend on target '$(DOMAIN).pot-update',
# otherwise packages like GCC can not be built if only parts of the source
# have been downloaded.
# This target rebuilds $(DOMAIN).pot; it is an expensive operation.
# Note that $(DOMAIN).pot is not touched if it doesn't need to be changed.
$(DOMAIN).pot-update: $(POTFILES_DEPS) remove-potcdate.sed
$(XGETTEXT) --default-domain=$(DOMAIN) --directory=$(top_srcdir) \
--add-comments=TRANSLATORS: $(XGETTEXT_OPTIONS) \
--copyright-holder='$(COPYRIGHT_HOLDER)' \
--msgid-bugs-address='$(MSGID_BUGS_ADDRESS)' \
$(POTFILES)
test ! -f $(DOMAIN).po || { \
if test -f $(srcdir)/$(DOMAIN).pot; then \
sed -f remove-potcdate.sed < $(srcdir)/$(DOMAIN).pot > $(DOMAIN).1po && \
sed -f remove-potcdate.sed < $(DOMAIN).po > $(DOMAIN).2po && \
if cmp $(DOMAIN).1po $(DOMAIN).2po >/dev/null 2>&1; then \
rm -f $(DOMAIN).1po $(DOMAIN).2po $(DOMAIN).po; \
else \
rm -f $(DOMAIN).1po $(DOMAIN).2po $(srcdir)/$(DOMAIN).pot && \
mv $(DOMAIN).po $(srcdir)/$(DOMAIN).pot; \
fi; \
else \
mv $(DOMAIN).po $(srcdir)/$(DOMAIN).pot; \
fi; \
}
# This rule has no dependencies: we don't need to update $(DOMAIN).pot at
# every "make" invocation, only create it when it is missing.
# Only "make $(DOMAIN).pot-update" or "make dist" will force an update.
$(srcdir)/$(DOMAIN).pot:
$(MAKE) $(DOMAIN).pot-update
# This target rebuilds a PO file if $(DOMAIN).pot has changed.
# Note that a PO file is not touched if it doesn't need to be changed.
$(POFILES): $(srcdir)/$(DOMAIN).pot
@lang=`echo $@ | sed -e 's,.*/,,' -e 's/\.po$$//'`; \
if test -f "$(srcdir)/$${lang}.po"; then \
test "$(srcdir)" = . && cdcmd="" || cdcmd="cd $(srcdir) && "; \
echo "$${cdcmd}$(MSGMERGE_UPDATE) $${lang}.po $(DOMAIN).pot"; \
cd $(srcdir) && $(MSGMERGE_UPDATE) $${lang}.po $(DOMAIN).pot; \
else \
$(MAKE) $${lang}.po-create; \
fi
install-data-local: install-data-local-@USE_NLS@
install-data-local-no: all-local
install-data-local-yes: all-local
$(mkinstalldirs) $(DESTDIR)$(pkgdatadir)/locale
@echo "*** Catalogs: $(CATALOGS)"
@catalogs='$(CATALOGS)'; \
for cat in $$catalogs; do \
cat=`basename $$cat`; \
if test -r $$cat; then realcat=$$cat; else realcat=$(srcdir)/$$cat; fi; \
$(INSTALL_DATA) $$realcat $(DESTDIR)$(pkgdatadir)/locale/$(DOMAIN)_$$cat; \
echo "installing $$realcat as $(DESTDIR)$(pkgdatadir)/locale/$(DOMAIN)_$$cat"; \
done
installdirs-local: installdirs-local-@USE_NLS@
installdirs-local-no:
installdirs-local-yes:
$(mkinstalldirs) $(DESTDIR)$(pkgdatadir)/locale
uninstall-local: uninstall-local-@USE_NLS@
uninstall-local-no:
uninstall-local-yes:
catalogs='$(CATALOGS)'; \
for cat in $$catalogs; do \
cat=`basename $$cat`; \
rm -f $(DESTDIR)$(pkgdatadir)/locale/$(DOMAIN)_$$cat; \
done
html ID:
# Hidden from automake, but really activated. Works around an automake-1.5 bug.
#distdir: distdir1
distdir1:
$(MAKE) update-po
update-po: Makefile
$(MAKE) $(DOMAIN).pot-update
test -z "$(UPDATEPOFILES)" || $(MAKE) $(UPDATEPOFILES)
$(MAKE) update-gmo
# General rule for creating PO files.
.nop.po-create:
@lang=`echo $@ | sed -e 's/\.po-create$$//'`; \
echo "File $$lang.po does not exist. If you are a translator, you can create it through 'msginit'." 1>&2; \
exit 1
# General rule for updating PO files.
.nop.po-update:
@lang=`echo $@ | sed -e 's/\.po-update$$//'`; \
tmpdir=`pwd`; \
echo "$$lang:"; \
test "$(srcdir)" = . && cdcmd="" || cdcmd="cd $(srcdir) && "; \
echo "$${cdcmd}$(MSGMERGE) $$lang.po $(DOMAIN).pot -o $$lang.new.po"; \
cd $(srcdir); \
if $(MSGMERGE) $$lang.po $(DOMAIN).pot -o $$tmpdir/$$lang.new.po; then \
if cmp $$lang.po $$tmpdir/$$lang.new.po >/dev/null 2>&1; then \
rm -f $$tmpdir/$$lang.new.po; \
else \
if mv -f $$tmpdir/$$lang.new.po $$lang.po; then \
:; \
else \
echo "msgmerge for $$lang.po failed: cannot move $$tmpdir/$$lang.new.po to $$lang.po" 1>&2; \
exit 1; \
fi; \
fi; \
else \
echo "msgmerge for $$lang.po failed!" 1>&2; \
rm -f $$tmpdir/$$lang.new.po; \
fi
$(DUMMYPOFILES):
update-gmo: Makefile $(QMFILES)
@:
# Tell versions [3.59,3.63) of GNU make to not export all variables.
# Otherwise a system limit (for SysV at least) may be exceeded.
.NOEXPORT:

View File

@ -1,22 +0,0 @@
why makefiles in this directory are so strange
mostly because I need to be able to build on Linux/*BSD and Windows
and integrate qmake-based environment with automake/autoconf Makefile
that is needed to properly handle .po files.
Qmake generates Makefile using project file po.pro. This Makefile
can only install .qm files prepared beforehand and checked in to CVS.
This is just as well, since I do not have gettext 0.14. on my main development
machine so I can't regenerate .qm files there anyway. The Makefile generated
by qmake will also work on windows.
whenver I need to regenerate .qm files, I log in to a different machine
and use POmakefile:
cd po
make -f POmakefile update-po

8422
po/de.po

File diff suppressed because it is too large Load Diff

BIN
po/de.qm

Binary file not shown.

7827
po/es.po

File diff suppressed because it is too large Load Diff

BIN
po/es.qm

Binary file not shown.

7422
po/fr.po

File diff suppressed because it is too large Load Diff

BIN
po/fr.qm

Binary file not shown.

File diff suppressed because it is too large Load Diff

7470
po/ja.po

File diff suppressed because it is too large Load Diff

BIN
po/ja.qm

Binary file not shown.

View File

@ -1,52 +0,0 @@
#-*- mode: makefile; tab-width: 4; -*-
#
include(../qmake.inc)
win32 {
QMAKE_RUN_CC = @echo
QMAKE_RUN_CXX = @echo
QMAKE_LINK = @echo
}
!win32 {
QMAKE_RUN_CC = @echo > /dev/null
QMAKE_RUN_CXX = @echo > /dev/null
QMAKE_LINK = @echo > /dev/null
}
TARGET = po
!win32:LOCALEINSTALLDIR = $(INSTALL_ROOT)/$$PKGLOCALEDIR
win32:LOCALEINSTALLDIR = $$PKGLOCALEDIR
de.path = $$PKGLOCALEDIR
!win32:de.extra = /usr/bin/install -c -m 644 de.qm $$LOCALEINSTALLDIR/fwbuilder_de.qm
win32:de.extra = -$(INSTALL_FILE) de.qm $$LOCALEINSTALLDIR\fwbuilder_de.qm
es.path = $$PKGLOCALEDIR
!win32:es.extra = /usr/bin/install -c -m 644 es.qm $$LOCALEINSTALLDIR/fwbuilder_es.qm
win32:es.extra = -$(INSTALL_FILE) es.qm $$LOCALEINSTALLDIR\fwbuilder_es.qm
fr.path = $$PKGLOCALEDIR
!win32:fr.extra = /usr/bin/install -c -m 644 fr.qm $$LOCALEINSTALLDIR/fwbuilder_fr.qm
win32:fr.extra = -$(INSTALL_FILE) fr.qm $$LOCALEINSTALLDIR\fwbuilder_fr.qm
ja.path = $$PKGLOCALEDIR
!win32:ja.extra = /usr/bin/install -c -m 644 ja.qm $$LOCALEINSTALLDIR/fwbuilder_ja.qm
win32:ja.extra = -$(INSTALL_FILE) ja.qm $$LOCALEINSTALLDIR\fwbuilder_ja.qm
pt_BR.path = $$PKGLOCALEDIR
!win32:pt_BR.extra = /usr/bin/install -c -m 644 pt_BR.qm $$LOCALEINSTALLDIR/fwbuilder_pt_BR.qm
win32:pt_BR.extra = -$(INSTALL_FILE) pt_BR.qm $$LOCALEINSTALLDIR\fwbuilder_pt_BR.qm
ru.path = $$PKGLOCALEDIR
!win32:ru.extra = /usr/bin/install -c -m 644 ru.qm $$LOCALEINSTALLDIR/fwbuilder_ru.qm
win32:ru.extra = -$(INSTALL_FILE) ru.qm $$LOCALEINSTALLDIR\fwbuilder_ru.qm
sv.path = $$PKGLOCALEDIR
!win32:sv.extra = /usr/bin/install -c -m 644 sv.qm $$LOCALEINSTALLDIR/fwbuilder_sv.qm
win32:sv.extra = -$(INSTALL_FILE) sv.qm $$LOCALEINSTALLDIR\fwbuilder_sv.qm
INSTALLS -= target
INSTALLS += de es fr ja pt_BR ru sv

File diff suppressed because it is too large Load Diff

Binary file not shown.

View File

@ -1,19 +0,0 @@
# Sed script that remove the POT-Creation-Date line in the header entry
# from a POT file.
#
# The distinction between the first and the following occurrences of the
# pattern is achieved by looking at the hold space.
/^"POT-Creation-Date: .*"$/{
x
# Test if the hold space is empty.
s/P/P/
ta
# Yes it was empty. First occurrence. Remove the line.
g
d
bb
:a
# The hold space was nonempty. Following occurrences. Do nothing.
x
:b
}

6874
po/ru.po

File diff suppressed because it is too large Load Diff

BIN
po/ru.qm

Binary file not shown.

13189
po/ru.ts

File diff suppressed because it is too large Load Diff

7786
po/sv.po

File diff suppressed because it is too large Load Diff

BIN
po/sv.qm

Binary file not shown.

4478
po/vi.po

File diff suppressed because it is too large Load Diff

BIN
po/vi.qm

Binary file not shown.