added translation files
This commit is contained in:
9
src/languages.qrc.in
Normal file
9
src/languages.qrc.in
Normal file
@@ -0,0 +1,9 @@
|
||||
<!DOCTYPE RCC>
|
||||
<RCC version="1.0">
|
||||
<qresource prefix="/language">
|
||||
<file alias="proxy_de.qm">@top_srcdir@/src/proxy_de.qm</file>
|
||||
<file alias="proxy_fr.qm">@top_srcdir@/src/proxy_fr.qm</file>
|
||||
<file alias="proxy_it.qm">@top_srcdir@/src/proxy_it.qm</file>
|
||||
<file alias="proxy_en.qm">@top_srcdir@/src/proxy_en.qm</file>
|
||||
</qresource>
|
||||
</RCC>
|
@@ -7,6 +7,12 @@
|
||||
## 45678901234567890123456789012345678901234567890123456789012345678901234567890
|
||||
|
||||
lib_LTLIBRARIES = libproxyface.la
|
||||
LANGUAGE_FILE_BASE = proxy
|
||||
translationsdir = ${pkgdatadir}/translations
|
||||
translations_DATA = ${LANGUAGE_FILE_BASE}_en.qm \
|
||||
${LANGUAGE_FILE_BASE}_de.qm \
|
||||
${LANGUAGE_FILE_BASE}_fr.qm \
|
||||
${LANGUAGE_FILE_BASE}_it.qm
|
||||
|
||||
proxyfacedir = ${includedir}/proxyface
|
||||
proxyface_HEADERS = proxyface/autoproxy.hxx proxyface/proxy.hxx \
|
||||
@@ -23,7 +29,14 @@ libproxyface_la_MOCFILES = proxyface/moc_proxy.cxx \
|
||||
libproxyface_la_RCCFILES = proxyface/qrc_resources.cxx
|
||||
BUILT_SOURCES = ${libproxyface_la_UIFILES} \
|
||||
${libproxyface_la_MOCFILES} \
|
||||
${libproxyface_la_RCCFILES}
|
||||
${libproxyface_la_RCCFILES} ${translations_DATA}
|
||||
EXTRA_DIST_TR = ${libproxyface_la_MOCFILES:moc_%.cxx=%.hxx} \
|
||||
${libproxyface_la_UIFILES:ui_%.hxx=%.ui}
|
||||
EXTRA_DIST = ${EXTRA_DIST_TR} languages.qrc.in \
|
||||
${translations_DATA:%.qm=%.ts}
|
||||
|
||||
endif
|
||||
libproxyface_la_SOURCES = version.cxx ${libproxyface_la_RCCFILES} \
|
||||
${libproxyface_la_MOCFILES}
|
||||
|
||||
DISTCLEANFILES = ${translations_DATA}
|
Reference in New Issue
Block a user