diff --git a/configure.in b/configure.in index b51fb92..c95afda 100644 --- a/configure.in +++ b/configure.in @@ -68,6 +68,13 @@ AC_SUBST(MOC) AC_CHECK_PROGS([UIC], [uic-qt4 uic-mac uic]) test -n "$UIC" || AC_MSG_ERROR([uic for Qt 4 not found!]) AC_SUBST(UIC) +AC_CHECK_PROGS([LRELEASE], [lrelease-qt4 lrelease-mac lrelease]) +test -n "$LRELEASE" || AC_MSG_ERROR([lrelease for Qt 4 not found!]) +AC_SUBST(LRELEASE) +AC_CHECK_PROGS([LUPDATE], [lupdate-qt4 lupdate-mac lupdate]) +test -n "$LUPDATE" || AC_MSG_ERROR([lupdate for Qt 4 not found!]) +AC_SUBST(LUPDATE) +AC_ARG_VAR(LUPDATE_ARGS, [arguments for qt lupdate command, e.g. -no-obsolete]) AC_OUTPUT diff --git a/proxyface/makefile.am b/proxyface/makefile.am index 914198f..5cb6eb0 100644 --- a/proxyface/makefile.am +++ b/proxyface/makefile.am @@ -1,10 +1,12 @@ UISOURCES = proxy.ui MOCHEADER = proxy.hxx autoproxy.hxx +LANGUAGES = proxy_de.qm proxy_en.qm proxy_fr.qm proxy_it.qm \ + proxy_de.ts proxy_en.ts proxy_fr.ts proxy_it.ts UIHEADER = ui_proxy.hxx MOCSOURCES = moc_proxy.cxx moc_autoproxy.cxx -BUILT_SOURCES = ${UIHEADER} ${MOCSOURCES} +BUILT_SOURCES = ${UIHEADER} ${MOCSOURCES} ${LANGUAGES} proxyfacedir = ${includedir}/proxyface proxyface_HEADERS = unix.hxx windoze.hxx \ @@ -12,7 +14,7 @@ proxyface_HEADERS = unix.hxx windoze.hxx \ lib_LTLIBRARIES = libproxyface.la -libproxyface_la_SOURCES = ${MOCSOURCES} +libproxyface_la_SOURCES = ${MOCSOURCES} ${LANGUAGES} libproxyface_la_LIBADD = ${PROXYLIB} libproxyface_la_LDFLAGS = -version-info ${LIB_VERSION} @@ -24,6 +26,12 @@ moc_%.cxx: %.hxx ui_%.hxx: %.ui ${UIC} -o $@ $< +%.ts: ${UISOURCES} ${MOCHEADER} + ${LUPDATE} ${LUPDATE_ARGS} $^ -ts $@ + +%.qm: %.ts + ${LRELEASE} $< -qm $@ + CLEANFILES = ${UIHEADER} ${MOCSOURCES} maintainer-clean-local: diff --git a/proxyface/proxy_de.ts b/proxyface/proxy_de.ts new file mode 100644 index 0000000..2f08b68 --- /dev/null +++ b/proxyface/proxy_de.ts @@ -0,0 +1,97 @@ + + + + + Proxy + + + + Proxy Konfiguration + + + + + Typ: + + + + + direkt oder automatisch + + + + + HTTP + + + + + Socks5 + + + + + URL: + + + + + Port: + + + + + Einstellungen lokal speichern + + + + + Speichern + + + + + Wenn Sie die Einstellungen speichern, werden sie auf diesem Computer in Ihrem Profil abgelegt. + + + + + Löschen + + + + + gui::Proxy + + + + Kein Proxy + + + + + + HTTP: + + + + + + Socks5Proxy: + + + + + + System + + + + + + %1:%2 + proxy host/port + + + + diff --git a/proxyface/proxy_en.ts b/proxyface/proxy_en.ts new file mode 100644 index 0000000..2f08b68 --- /dev/null +++ b/proxyface/proxy_en.ts @@ -0,0 +1,97 @@ + + + + + Proxy + + + + Proxy Konfiguration + + + + + Typ: + + + + + direkt oder automatisch + + + + + HTTP + + + + + Socks5 + + + + + URL: + + + + + Port: + + + + + Einstellungen lokal speichern + + + + + Speichern + + + + + Wenn Sie die Einstellungen speichern, werden sie auf diesem Computer in Ihrem Profil abgelegt. + + + + + Löschen + + + + + gui::Proxy + + + + Kein Proxy + + + + + + HTTP: + + + + + + Socks5Proxy: + + + + + + System + + + + + + %1:%2 + proxy host/port + + + + diff --git a/proxyface/proxy_fr.ts b/proxyface/proxy_fr.ts new file mode 100644 index 0000000..2f08b68 --- /dev/null +++ b/proxyface/proxy_fr.ts @@ -0,0 +1,97 @@ + + + + + Proxy + + + + Proxy Konfiguration + + + + + Typ: + + + + + direkt oder automatisch + + + + + HTTP + + + + + Socks5 + + + + + URL: + + + + + Port: + + + + + Einstellungen lokal speichern + + + + + Speichern + + + + + Wenn Sie die Einstellungen speichern, werden sie auf diesem Computer in Ihrem Profil abgelegt. + + + + + Löschen + + + + + gui::Proxy + + + + Kein Proxy + + + + + + HTTP: + + + + + + Socks5Proxy: + + + + + + System + + + + + + %1:%2 + proxy host/port + + + + diff --git a/proxyface/proxy_it.ts b/proxyface/proxy_it.ts new file mode 100644 index 0000000..2f08b68 --- /dev/null +++ b/proxyface/proxy_it.ts @@ -0,0 +1,97 @@ + + + + + Proxy + + + + Proxy Konfiguration + + + + + Typ: + + + + + direkt oder automatisch + + + + + HTTP + + + + + Socks5 + + + + + URL: + + + + + Port: + + + + + Einstellungen lokal speichern + + + + + Speichern + + + + + Wenn Sie die Einstellungen speichern, werden sie auf diesem Computer in Ihrem Profil abgelegt. + + + + + Löschen + + + + + gui::Proxy + + + + Kein Proxy + + + + + + HTTP: + + + + + + Socks5Proxy: + + + + + + System + + + + + + %1:%2 + proxy host/port + + + +