mirror of
https://github.com/qgis/QGIS.git
synced 2025-10-06 00:07:29 -04:00
** Added internationalisations stuff
Needs some documentation and more translations :-) git-svn-id: http://svn.osgeo.org/qgis/trunk@1207 c8812cc2-4d05-0410-92ff-de0c093fc19c
This commit is contained in:
parent
c1e22502b7
commit
89c2a8d4b0
@ -1,8 +1,12 @@
|
||||
QGIS Change Log
|
||||
ChangeLog,v 1.56 2004/04/17 09:04:37 timlinux Exp
|
||||
ChangeLog,v 1.57 2004/04/17 22:07:12 jobi Exp
|
||||
------------------------------------------------------------------------------
|
||||
Version 0.2 'Pumpkin' .... development version
|
||||
|
||||
2004-04-18 [jobi] 0.1.0devel33
|
||||
** Added internationalisations stuff
|
||||
Needs some documentation and more translations :-)
|
||||
|
||||
2004-04-17 [ts] 0.1.0devel32
|
||||
** Fix for crash when opening singleband grayscale images introduced by Steves
|
||||
fix for crash when opening MULTIBAND_SINGLEBAND_GRAYSCALE images. Thanks to
|
||||
|
@ -20,7 +20,7 @@ EXTRA_DIST = doc \
|
||||
qgis.spec \
|
||||
qgsconfig.h.in
|
||||
|
||||
SUBDIRS = src providers plugins doc tools
|
||||
SUBDIRS = src providers plugins doc tools i18n
|
||||
|
||||
pkginclude_HEADERS = qgsconfig.h
|
||||
|
||||
|
@ -1,5 +1,6 @@
|
||||
|
||||
dnl Process this file with autoconf to produce a configure script.
|
||||
dnl configure.in,v 1.56 2004/04/17 09:04:37 timlinux Exp
|
||||
dnl configure.in,v 1.57 2004/04/17 22:07:13 jobi Exp
|
||||
|
||||
AC_INIT
|
||||
|
||||
@ -23,7 +24,7 @@ dnl ---------------------------------------------------------------------------
|
||||
MAJOR_VERSION=0
|
||||
MINOR_VERSION=1
|
||||
MICRO_VERSION=0
|
||||
EXTRA_VERSION=32
|
||||
EXTRA_VERSION=33
|
||||
if test $EXTRA_VERSION -eq 0; then
|
||||
VERSION=${MAJOR_VERSION}.${MINOR_VERSION}.${MICRO_VERSION}
|
||||
else
|
||||
@ -256,6 +257,7 @@ AC_CONFIG_FILES([
|
||||
plugins/delimited_text/Makefile
|
||||
tools/Makefile
|
||||
tools/qgis_config/Makefile
|
||||
i18n/Makefile
|
||||
])
|
||||
|
||||
AC_OUTPUT
|
||||
|
26
i18n/Makefile.am
Normal file
26
i18n/Makefile.am
Normal file
@ -0,0 +1,26 @@
|
||||
# Copyright (C) 2004 Jens Oberender <j.obi at troja.net>
|
||||
#
|
||||
# This file is free software; as a special exception the author 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.
|
||||
#
|
||||
# $Id$
|
||||
|
||||
i18ndir = ${pkgdatadir}/i18n
|
||||
|
||||
nodist_i18n_DATA = \
|
||||
qgis_de.qm \
|
||||
qgis_pt.qm
|
||||
|
||||
i18n_SOURCES = \
|
||||
qgis_de.ts \
|
||||
qgis_pt.ts
|
||||
|
||||
%.qm: %.ts
|
||||
cd ..; ./create_qm_files.sh
|
||||
|
||||
EXTRA_DIST = $(i18n_SOURCES)
|
2481
i18n/qgis_de.ts
Normal file
2481
i18n/qgis_de.ts
Normal file
File diff suppressed because it is too large
Load Diff
2560
i18n/qgis_pt.ts
Normal file
2560
i18n/qgis_pt.ts
Normal file
File diff suppressed because it is too large
Load Diff
@ -9,7 +9,8 @@
|
||||
# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||
|
||||
PREFIX=-DPREFIX=\"$(prefix)\"
|
||||
PLUGINPATH=-DPLUGINPATH=\"$(libdir)/qgis\"
|
||||
PLUGINPATH=-DPLUGINPATH=\"$(pkglibdir)\"
|
||||
I18NPATH=-DI18NPATH=\"$(pkgdatadir)/i18n\"
|
||||
|
||||
%.moc.cpp: %.h
|
||||
$(MOC) -o $@ $<
|
||||
@ -253,7 +254,7 @@ BUILT_SOURCES = $(qgis_MOC) $(qgis_UIMOC) $(qgis_UIHEADERS) $(qgis_UISOURCES) \
|
||||
|
||||
|
||||
qgis_LDADD = $(LDADD) $(QT_LDADD) $(GDAL_LIB) $(PG_LIB)
|
||||
qgis_CXXFLAGS = $(PREFIX) $(PLUGINPATH) $(GDAL_CFLAGS) $(CXXFLAGS) $(EXTRA_CXXFLAGS) $(QT_CXXFLAGS) -I$(PG_INC) $(DEBUG_QGIS)
|
||||
qgis_CXXFLAGS = $(PREFIX) $(PLUGINPATH) $(I18NPATH) $(GDAL_CFLAGS) $(CXXFLAGS) $(EXTRA_CXXFLAGS) $(QT_CXXFLAGS) -I$(PG_INC) $(DEBUG_QGIS)
|
||||
|
||||
libqgis_la_SOURCES = qgssymbol.cpp qgsmaplayer.cpp qgsrasterlayer.cpp qgsvectorlayer.cpp qgsmaplayer.moc.cpp qgsrasterlayer.moc.cpp qgsvectorlayer.moc.cpp qgsfield.cpp qgsfeature.cpp qgsfeatureattribute.cpp
|
||||
#libqgis_la_LIBFLAGS = $(LDADD) $(QT_LDADD) $(GDAL_LIB) $(PG_LIB)
|
||||
|
@ -204,11 +204,11 @@ int main(int argc, char *argv[])
|
||||
if (myTranslationFileName!="")
|
||||
{
|
||||
QString translation = "qgis_" + myTranslationFileName;
|
||||
tor.load(translation, ".");
|
||||
tor.load(translation, I18NPATH);
|
||||
}
|
||||
else
|
||||
{
|
||||
tor.load(QString("qgis_") + QTextCodec::locale(), ".");
|
||||
tor.load(QString("qgis_") + QTextCodec::locale(), I18NPATH);
|
||||
}
|
||||
|
||||
//tor.load("qgis_go", "." );
|
||||
|
Loading…
x
Reference in New Issue
Block a user