From 37f7f437d4379988346e21c43ebbfbf3b08b70bf Mon Sep 17 00:00:00 2001 From: jobi Date: Wed, 21 Apr 2004 14:14:41 +0000 Subject: [PATCH] added swedish translation updated qgis.m4 and configure stuff git-svn-id: http://svn.osgeo.org/qgis/trunk@1225 c8812cc2-4d05-0410-92ff-de0c093fc19c --- acinclude.m4 | 554 +++++---- i18n/Makefile.am | 6 +- i18n/qgis_se.ts | 2837 +++++++++++++++++++++++++++++++++++++++++++ tools/qgisdetect.m4 | 24 +- 4 files changed, 3130 insertions(+), 291 deletions(-) create mode 100644 i18n/qgis_se.ts diff --git a/acinclude.m4 b/acinclude.m4 index 0e08e19d89e..b5d9a100efe 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -2,318 +2,316 @@ dnl --------------------------------------------------------------------------- dnl GDAL/OGR dnl --------------------------------------------------------------------------- -# Check for GDAL and OGR compiler flags and linker flags +# Check for GDAL and OGR compiler and linker flags + AC_DEFUN([AQ_CHECK_GDAL], [ - AC_ARG_WITH([gdal], - AC_HELP_STRING([--with-gdal=path], - [Full path to 'gdal-config' script, e.g. '--with-gdal=/usr/local/bin/gdal-config']), - [ac_gdal_config_path=$withval]) +AC_ARG_WITH([gdal], + AC_HELP_STRING([--with-gdal=path], + [Full path to 'gdal-config' script, e.g. '--with-gdal=/usr/local/bin/gdal-config']), + [ac_gdal_config_path=$withval]) - if test x"$ac_gdal_config_path" = x ; then - ac_gdal_config_path=`which gdal-config` +if test x"$ac_gdal_config_path" = x ; then + ac_gdal_config_path=`which gdal-config` +fi + +ac_gdal_config_path=`dirname $ac_gdal_config_path 2> /dev/null` +AC_PATH_PROG(GDAL_CONFIG, gdal-config, no, $ac_gdal_config_path) + +if test x${GDAL_CONFIG} = xno ; then + AC_MSG_ERROR([gdal-config not found! Supply it with --with-gdal=PATH]) +else + AC_MSG_CHECKING([for OGR in GDAL]) + if test x`$GDAL_CONFIG --ogr-enabled` = "xno" ; then + AC_MSG_ERROR([GDAL must be compiled with OGR support and currently is not.]) fi + AC_MSG_RESULT(yes) + AC_MSG_CHECKING([GDAL_CFLAGS]) + GDAL_CFLAGS=`$GDAL_CONFIG --cflags` + AC_MSG_RESULT($GDAL_CFLAGS) - ac_gdal_config_path=`dirname $ac_gdal_config_path` - AC_PATH_PROG(GDAL_CONFIG, gdal-config, no, $ac_gdal_config_path) + AC_MSG_CHECKING([GDAL_LDADD]) + GDAL_LDADD=`$GDAL_CONFIG --libs` + AC_MSG_RESULT($GDAL_LDADD) - if test x${GDAL_CONFIG} = xno ; then - AC_MSG_ERROR([gdal-config not found! Supply it with --with-gdal=PATH]) - else - AC_MSG_CHECKING([for OGR in GDAL]) - if test x`$GDAL_CONFIG --ogr-enabled` = "xno" ; then - AC_MSG_ERROR([GDAL must be compiled with OGR support and currently is not.]) - fi - AC_MSG_RESULT(yes) + ac_gdalogr="yes" +fi - AC_MSG_CHECKING([GDAL_CFLAGS]) - GDAL_CFLAGS=`$GDAL_CONFIG --cflags` - AC_MSG_RESULT($GDAL_CFLAGS) - - AC_MSG_CHECKING([GDAL_LDADD]) - GDAL_LDADD=`$GDAL_CONFIG --libs` - AC_MSG_RESULT($GDAL_LDADD) - - ac_gdalogr="yes" - fi - - AC_SUBST(GDAL_CFLAGS) - AC_SUBST(GDAL_LDADD) +AC_SUBST(GDAL_CFLAGS) +AC_SUBST(GDAL_LDADD) ]) +dnl --------------------------------------------------------------------------- +dnl QT3 +dnl --------------------------------------------------------------------------- + # Check for Qt compiler flags, linker flags, and binary packages + AC_DEFUN([AQ_CHECK_QT], [ - AC_REQUIRE([AC_PROG_CXX]) - AC_REQUIRE([AC_PATH_X]) +AC_REQUIRE([AC_PROG_CXX]) +AC_REQUIRE([AC_PATH_X]) - AC_MSG_CHECKING([QTDIR]) - AC_ARG_WITH([qtdir], [ --with-qtdir=DIR Qt installation directory [default=/usr/local]], QTDIR=$withval) - # Check that QTDIR is defined or that --with-qtdir given - if test x"$QTDIR" = x ; then - QT_SEARCH="/usr/lib/qt31 /usr/local/qt31 /usr/lib/qt3 /usr/local/qt3 /usr/lib/qt2 /usr/local/qt2 /usr/lib/qt /usr/local/qt" - for i in $QT_SEARCH; do - if test -a x$QTDIR = x; then - if test -f $i/include/qt/qglobal.h -o -f $i/include/qglobal.h; then - QTDIR=$i - fi +AC_MSG_CHECKING([QTDIR]) +AC_ARG_WITH([qtdir], [ --with-qtdir=DIR Qt installation directory [default=/usr/local]], QTDIR=$withval) +# Check that QTDIR is defined or that --with-qtdir given +if test x"$QTDIR" = x ; then + QT_SEARCH="/usr/lib/qt31 /usr/local/qt31 /usr/lib/qt3 /usr/local/qt3 /usr/lib/qt2 /usr/local/qt2 /usr/lib/qt /usr/local/qt" + for i in $QT_SEARCH; do + if test -a x$QTDIR = x; then + if test -f $i/include/qt/qglobal.h -o -f $i/include/qglobal.h; then + QTDIR=$i fi - done - fi - if test x"$QTDIR" = x ; then - AC_MSG_ERROR([*** QTDIR must be defined, or --with-qtdir option given]) - fi - AC_MSG_RESULT([$QTDIR]) + fi + done +fi +if test x"$QTDIR" = x ; then + AC_MSG_ERROR([*** QTDIR must be defined, or --with-qtdir option given]) +fi +AC_MSG_RESULT([$QTDIR]) - # Change backslashes in QTDIR to forward slashes to prevent escaping - # problems later on in the build process, mainly for Cygwin build - # environment using MSVC as the compiler - # TODO: Use sed instead of perl - QTDIR=`echo $QTDIR | perl -p -e 's/\\\\/\\//g'` +# Change backslashes in QTDIR to forward slashes to prevent escaping +# problems later on in the build process, mainly for Cygwin build +# environment using MSVC as the compiler +# TODO: Use sed instead of perl +QTDIR=`echo $QTDIR | perl -p -e 's/\\\\/\\//g'` - # Check for QT includedir on Mac OSX - if test -f $QTDIR/include/qt/qglobal.h; then - QTINC=$QTDIR/include/qt - else - QTINC=$QTDIR/include - fi +# Check for QT includedir on Mac OSX +if test -f $QTDIR/include/qt/qglobal.h; then + QTINC=$QTDIR/include/qt +else + QTINC=$QTDIR/include +fi - # Figure out which version of Qt we are using - AC_MSG_CHECKING([Qt version]) - QT_VER=`grep 'define.*QT_VERSION_STR\W' $QTINC/qglobal.h | perl -p -e 's/\D//g'` - case "${QT_VER}" in - 33*) - QT_MAJOR="3" - ;; - 32*) - QT_MAJOR="3" - ;; - 31*) - QT_MAJOR="3" - ;; - *) - AC_MSG_ERROR([*** Qt version 3.1.x or higher is required]) +# Figure out which version of Qt we are using +AC_MSG_CHECKING([Qt version]) +QT_VER=`grep 'define.*QT_VERSION_STR\W' $QTINC/qglobal.h | perl -p -e 's/\D//g'` +case "${QT_VER}" in + 33*) + QT_MAJOR="3" ;; - esac - AC_MSG_RESULT([$QT_VER ($QT_MAJOR)]) + 32*) + QT_MAJOR="3" + ;; + 31*) + QT_MAJOR="3" + ;; + *) + AC_MSG_ERROR([*** Qt version 3.1.x or higher is required]) + ;; +esac +AC_MSG_RESULT([$QT_VER ($QT_MAJOR)]) - # Check that moc is in path - AC_CHECK_PROG(MOC, moc, moc) - if test x$MOC = x ; then - AC_MSG_ERROR([*** moc must be in path]) - fi +# Check that moc is in path +AC_CHECK_PROG(MOC, moc, moc) +if test x$MOC = x ; then + AC_MSG_ERROR([*** moc must be in path]) +fi +# uic is the Qt user interface compiler +AC_CHECK_PROG(UIC, uic, uic) +if test x$UIC = x ; then + AC_MSG_ERROR([*** uic must be in path]) +fi +# qembed is the Qt data embedding utility. +# It is located in $QTDIR/tools/qembed, and must be compiled and installed +# manually, we'll let it slide if it isn't present +AC_CHECK_PROG(QEMBED, qembed, qembed) +# Calculate Qt include path +QT_CXXFLAGS="-I$QTINC" +QT_IS_EMBEDDED="no" +# On unix, figure out if we're doing a static or dynamic link - # uic is the Qt user interface compiler - AC_CHECK_PROG(UIC, uic, uic) - if test x$UIC = x ; then - AC_MSG_ERROR([*** uic must be in path]) - fi - - # qembed is the Qt data embedding utility. - # It is located in $QTDIR/tools/qembed, and must be compiled and installed - # manually, we'll let it slide if it isn't present - AC_CHECK_PROG(QEMBED, qembed, qembed) - - # Calculate Qt include path - QT_CXXFLAGS="-I$QTINC" - - QT_IS_EMBEDDED="no" - # On unix, figure out if we're doing a static or dynamic link - - case "${host}" in - *-cygwin) - AC_DEFINE_UNQUOTED(WIN32, "", Defined if on Win32 platform) - echo "$QTDIR/lib/qt-mt$QT_VER.lib" - if test -f "$QTDIR/lib/qt-mt$QT_VER.lib" ; then - QT_LIB="qt-mt$QT_VER.lib" +case "${host}" in + *-cygwin) + AC_DEFINE_UNQUOTED(WIN32, "", Defined if on Win32 platform) + echo "$QTDIR/lib/qt-mt$QT_VER.lib" + if test -f "$QTDIR/lib/qt-mt$QT_VER.lib" ; then + QT_LIB="qt-mt$QT_VER.lib" + QT_IS_STATIC="no" + QT_IS_MT="yes" + + elif test -f "$QTDIR/lib/qt$QT_VER.lib" ; then + QT_LIB="qt$QT_VER.lib" + QT_IS_STATIC="no" + QT_IS_MT="no" + elif test -f "$QTDIR/lib/qt.lib" ; then + QT_LIB="qt.lib" + QT_IS_STATIC="yes" + QT_IS_MT="no" + elif test -f "$QTDIR/lib/qt-mt.lib" ; then + QT_LIB="qt-mt.lib" + QT_IS_STATIC="yes" + QT_IS_MT="yes" + fi + ;; + *-darwin*) + # determin static or dynamic -- prefer dynamic + QT_IS_DYNAMIC=`ls $QTDIR/lib/libqt*.dylib 2> /dev/null` + if test "x$QT_IS_DYNAMIC" = x; then + QT_IS_STATIC=`ls $QTDIR/lib/libqt*.a 2> /dev/null` + if test "x$QT_IS_STATIC" = x; then QT_IS_STATIC="no" - QT_IS_MT="yes" - - elif test -f "$QTDIR/lib/qt$QT_VER.lib" ; then - QT_LIB="qt$QT_VER.lib" - QT_IS_STATIC="no" - QT_IS_MT="no" - elif test -f "$QTDIR/lib/qt.lib" ; then - QT_LIB="qt.lib" - QT_IS_STATIC="yes" - QT_IS_MT="no" - elif test -f "$QTDIR/lib/qt-mt.lib" ; then - QT_LIB="qt-mt.lib" - QT_IS_STATIC="yes" - QT_IS_MT="yes" - fi - ;; - - *-darwin*) - # determin static or dynamic -- prefer dynamic - QT_IS_DYNAMIC=`ls $QTDIR/lib/libqt*.dylib 2> /dev/null` - - if test "x$QT_IS_DYNAMIC" = x; then - QT_IS_STATIC=`ls $QTDIR/lib/libqt*.a 2> /dev/null` - if test "x$QT_IS_STATIC" = x; then - QT_IS_STATIC="no" - AC_MSG_ERROR([*** Couldn't find any Qt libraries]) - else - QT_IS_STATIC="yes" - fi + AC_MSG_ERROR([*** Couldn't find any Qt libraries]) else - QT_IS_STATIC="no" + QT_IS_STATIC="yes" fi - # set link parameters based on shared/mt libs or static lib - if test "x`ls $QTDIR/lib/libqt.a* 2> /dev/null`" != x ; then - QT_LIB="-lqt" - QT_IS_MT="no" - elif test "x`ls $QTDIR/lib/libqt-mt.*.dylib 2> /dev/null`" != x ; then - QT_LIB="-lqt-mt" - QT_IS_MT="yes" - elif test "x`ls $QTDIR/lib/libqt.*.dylib 2> /dev/null`" != x ; then - QT_LIB="-lqt" - QT_IS_MT="no" - elif test "x`ls $QTDIR/lib/libqte.* 2> /dev/null`" != x ; then - QT_LIB="-lqte" - QT_IS_MT="no" - QT_IS_EMBEDDED="yes" - elif test "x`ls $QTDIR/lib/libqte-mt.* 2> /dev/null`" != x ; then - QT_LIB="-lqte-mt" - QT_IS_MT="yes" - QT_IS_EMBEDDED="yes" - fi - ;; - *) - # determin static or dynamic -- prefer dynamic - QT_IS_DYNAMIC=`ls $QTDIR/lib/libqt*.so 2> /dev/null` - - if test "x$QT_IS_DYNAMIC" = x; then - QT_IS_STATIC=`ls $QTDIR/lib/libqt*.a 2> /dev/null` - if test "x$QT_IS_STATIC" = x; then - QT_IS_STATIC="no" - AC_MSG_ERROR([*** Couldn't find any Qt libraries]) - else - QT_IS_STATIC="yes" - fi - else + else + QT_IS_STATIC="no" + fi + # set link parameters based on shared/mt libs or static lib + if test "x`ls $QTDIR/lib/libqt.a* 2> /dev/null`" != x ; then + QT_LIB="-lqt" + QT_IS_MT="no" + elif test "x`ls $QTDIR/lib/libqt-mt.*.dylib 2> /dev/null`" != x ; then + QT_LIB="-lqt-mt" + QT_IS_MT="yes" + elif test "x`ls $QTDIR/lib/libqt.*.dylib 2> /dev/null`" != x ; then + QT_LIB="-lqt" + QT_IS_MT="no" + elif test "x`ls $QTDIR/lib/libqte.* 2> /dev/null`" != x ; then + QT_LIB="-lqte" + QT_IS_MT="no" + QT_IS_EMBEDDED="yes" + elif test "x`ls $QTDIR/lib/libqte-mt.* 2> /dev/null`" != x ; then + QT_LIB="-lqte-mt" + QT_IS_MT="yes" + QT_IS_EMBEDDED="yes" + fi + ;; + *) + # determin static or dynamic -- prefer dynamic + QT_IS_DYNAMIC=`ls $QTDIR/lib/libqt*.so 2> /dev/null` + if test "x$QT_IS_DYNAMIC" = x; then + QT_IS_STATIC=`ls $QTDIR/lib/libqt*.a 2> /dev/null` + if test "x$QT_IS_STATIC" = x; then QT_IS_STATIC="no" + AC_MSG_ERROR([*** Couldn't find any Qt libraries]) + else + QT_IS_STATIC="yes" fi - # set link parameters based on shared/mt libs or static lib - if test "x`ls $QTDIR/lib/libqt.a* 2> /dev/null`" != x ; then - QT_LIB="-lqt" - QT_IS_MT="no" - elif test "x`ls $QTDIR/lib/libqt-mt.so* 2> /dev/null`" != x ; then - QT_LIB="-lqt-mt" - QT_IS_MT="yes" - elif test "x`ls $QTDIR/lib/libqt.so* 2> /dev/null`" != x ; then - QT_LIB="-lqt" - QT_IS_MT="no" - elif test "x`ls $QTDIR/lib/libqte.* 2> /dev/null`" != x ; then - QT_LIB="-lqte" - QT_IS_MT="no" - QT_IS_EMBEDDED="yes" - elif test "x`ls $QTDIR/lib/libqte-mt.* 2> /dev/null`" != x ; then - QT_LIB="-lqte-mt" - QT_IS_MT="yes" - QT_IS_EMBEDDED="yes" + else + QT_IS_STATIC="no" + fi + # set link parameters based on shared/mt libs or static lib + if test "x`ls $QTDIR/lib/libqt.a* 2> /dev/null`" != x ; then + QT_LIB="-lqt" + QT_IS_MT="no" + elif test "x`ls $QTDIR/lib/libqt-mt.so* 2> /dev/null`" != x ; then + QT_LIB="-lqt-mt" + QT_IS_MT="yes" + elif test "x`ls $QTDIR/lib/libqt.so* 2> /dev/null`" != x ; then + QT_LIB="-lqt" + QT_IS_MT="no" + elif test "x`ls $QTDIR/lib/libqte.* 2> /dev/null`" != x ; then + QT_LIB="-lqte" + QT_IS_MT="no" + QT_IS_EMBEDDED="yes" + elif test "x`ls $QTDIR/lib/libqte-mt.* 2> /dev/null`" != x ; then + QT_LIB="-lqte-mt" + QT_IS_MT="yes" + QT_IS_EMBEDDED="yes" + fi + ;; +esac + +AC_MSG_CHECKING([if Qt is static]) +AC_MSG_RESULT([$QT_IS_STATIC]) +AC_MSG_CHECKING([if Qt is multithreaded]) +AC_MSG_RESULT([$QT_IS_MT]) +AC_MSG_CHECKING([if Qt is embedded]) +AC_MSG_RESULT([$QT_IS_EMBEDDED]) + +QT_GUILINK="" +QASSISTANTCLIENT_LDADD="-lqassistantclient" +case "${host}" in + *irix*) + QT_LIBS="$QT_LIB" + if test $QT_IS_STATIC = yes ; then + QT_LIBS="$QT_LIBS -L$x_libraries -lXext -lX11 -lm -lSM -lICE" + fi + ;; + + *linux*) + QT_LIBS="$QT_LIB" + if test $QT_IS_STATIC = yes && test $QT_IS_EMBEDDED = no; then + QT_LIBS="$QT_LIBS -L$x_libraries -lXext -lX11 -lm -lSM -lICE -ldl -ljpeg" + fi + ;; + + *darwin*) + QT_LIBS="$QT_LIB" + if test $QT_IS_STATIC = yes && test $QT_IS_EMBEDDED = no; then + QT_LIBS="$QT_LIBS -L$x_libraries -lXext -lX11 -lm -lSM -lICE -ldl -ljpeg" + fi + ;; + + *osf*) + # Digital Unix (aka DGUX aka Tru64) + QT_LIBS="$QT_LIB" + if test $QT_IS_STATIC = yes ; then + QT_LIBS="$QT_LIBS -L$x_libraries -lXext -lX11 -lm -lSM -lICE" + fi + ;; + + *solaris*) + QT_LIBS="$QT_LIB" + if test $QT_IS_STATIC = yes ; then + QT_LIBS="$QT_LIBS -L$x_libraries -lXext -lX11 -lm -lSM -lICE -lresolv -lsocket -lnsl" + fi + ;; + + *win*) + # linker flag to suppress console when linking a GUI app on Win32 + QT_GUILINK="/subsystem:windows" + if test $QT_MAJOR = "3" ; then + if test $QT_IS_MT = yes ; then + QT_LIBS="/nodefaultlib:libcmt" + else + QT_LIBS="/nodefaultlib:libc" fi - ;; - esac - - AC_MSG_CHECKING([if Qt is static]) - AC_MSG_RESULT([$QT_IS_STATIC]) - AC_MSG_CHECKING([if Qt is multithreaded]) - AC_MSG_RESULT([$QT_IS_MT]) - AC_MSG_CHECKING([if Qt is embedded]) - AC_MSG_RESULT([$QT_IS_EMBEDDED]) - - QT_GUILINK="" - QASSISTANTCLIENT_LDADD="-lqassistantclient" - case "${host}" in - *irix*) - QT_LIBS="$QT_LIB" - if test $QT_IS_STATIC = yes ; then - QT_LIBS="$QT_LIBS -L$x_libraries -lXext -lX11 -lm -lSM -lICE" - fi - ;; - - *linux*) - QT_LIBS="$QT_LIB" - if test $QT_IS_STATIC = yes && test $QT_IS_EMBEDDED = no; then - QT_LIBS="$QT_LIBS -L$x_libraries -lXext -lX11 -lm -lSM -lICE -ldl -ljpeg" - fi - ;; - - *darwin*) - QT_LIBS="$QT_LIB" - if test $QT_IS_STATIC = yes && test $QT_IS_EMBEDDED = no; then - QT_LIBS="$QT_LIBS -L$x_libraries -lXext -lX11 -lm -lSM -lICE -ldl -ljpeg" - fi - ;; - - *osf*) - # Digital Unix (aka DGUX aka Tru64) - QT_LIBS="$QT_LIB" - if test $QT_IS_STATIC = yes ; then - QT_LIBS="$QT_LIBS -L$x_libraries -lXext -lX11 -lm -lSM -lICE" - fi - ;; - - *solaris*) - QT_LIBS="$QT_LIB" - if test $QT_IS_STATIC = yes ; then - QT_LIBS="$QT_LIBS -L$x_libraries -lXext -lX11 -lm -lSM -lICE -lresolv -lsocket -lnsl" - fi - ;; - - *win*) - # linker flag to suppress console when linking a GUI app on Win32 - QT_GUILINK="/subsystem:windows" + fi + if test $QT_IS_STATIC = yes ; then + QT_LIBS="$QT_LIBS $QT_LIB kernel32.lib user32.lib gdi32.lib comdlg32.lib ole32.lib shell32.lib imm32.lib advapi32.lib wsock32.lib winspool.lib winmm.lib netapi32.lib" if test $QT_MAJOR = "3" ; then - if test $QT_IS_MT = yes ; then - QT_LIBS="/nodefaultlib:libcmt" - else - QT_LIBS="/nodefaultlib:libc" - fi + QT_LIBS="$QT_LIBS qtmain.lib" fi - - if test $QT_IS_STATIC = yes ; then - QT_LIBS="$QT_LIBS $QT_LIB kernel32.lib user32.lib gdi32.lib comdlg32.lib ole32.lib shell32.lib imm32.lib advapi32.lib wsock32.lib winspool.lib winmm.lib netapi32.lib" - if test $QT_MAJOR = "3" ; then - QT_LIBS="$QT_LIBS qtmain.lib" - fi - else - QT_LIBS="$QT_LIBS $QT_LIB" - if test $QT_MAJOR = "3" ; then - QT_CXXFLAGS="$QT_CXXFLAGS -DQT_DLL" - QT_LIBS="$QT_LIBS qtmain.lib qui.lib user32.lib netapi32.lib" - fi + else + QT_LIBS="$QT_LIBS $QT_LIB" + if test $QT_MAJOR = "3" ; then + QT_CXXFLAGS="$QT_CXXFLAGS -DQT_DLL" + QT_LIBS="$QT_LIBS qtmain.lib qui.lib user32.lib netapi32.lib" fi - QASSISTANTCLIENT_LDADD="qassistantclient.lib" - ;; - esac + fi + QASSISTANTCLIENT_LDADD="qassistantclient.lib" + ;; +esac - if test x"$QT_IS_EMBEDDED" = "xyes" ; then - QT_CXXFLAGS="-DQWS $QT_CXXFLAGS" - fi +if test x"$QT_IS_EMBEDDED" = "xyes" ; then + QT_CXXFLAGS="-DQWS $QT_CXXFLAGS" +fi - if test x"$QT_IS_MT" = "xyes" ; then - QT_CXXFLAGS="$QT_CXXFLAGS -D_REENTRANT -DQT_THREAD_SUPPORT" - fi +if test x"$QT_IS_MT" = "xyes" ; then + QT_CXXFLAGS="$QT_CXXFLAGS -D_REENTRANT -DQT_THREAD_SUPPORT" +fi - QT_LDADD="-L$QTDIR/lib $QT_LIBS" +QT_LDADD="-L$QTDIR/lib $QT_LIBS" - if test x$QT_IS_STATIC = xyes ; then - OLDLIBS="$LIBS" - LIBS="$QT_LDADD" - AC_CHECK_LIB(Xft, XftFontOpen, QT_LDADD="$QT_LDADD -lXft") - LIBS="$LIBS" - fi +if test x$QT_IS_STATIC = xyes ; then + OLDLIBS="$LIBS" + LIBS="$QT_LDADD" + AC_CHECK_LIB(Xft, XftFontOpen, QT_LDADD="$QT_LDADD -lXft") + LIBS="$LIBS" +fi - AC_MSG_CHECKING([QT_CXXFLAGS]) - AC_MSG_RESULT([$QT_CXXFLAGS]) - AC_MSG_CHECKING([QT_LDADD]) - AC_MSG_RESULT([$QT_LDADD]) +AC_MSG_CHECKING([QT_CXXFLAGS]) +AC_MSG_RESULT([$QT_CXXFLAGS]) +AC_MSG_CHECKING([QT_LDADD]) +AC_MSG_RESULT([$QT_LDADD]) - AC_SUBST(QT_CXXFLAGS) - AC_SUBST(QT_LDADD) - AC_SUBST(QT_GUILINK) - AC_SUBST(QASSISTANTCLIENT_LDADD) +AC_SUBST(QT_CXXFLAGS) +AC_SUBST(QT_LDADD) +AC_SUBST(QT_GUILINK) +AC_SUBST(QASSISTANTCLIENT_LDADD) ]) + diff --git a/i18n/Makefile.am b/i18n/Makefile.am index fc5717e7a51..546a6466e1f 100644 --- a/i18n/Makefile.am +++ b/i18n/Makefile.am @@ -14,11 +14,13 @@ i18ndir = ${pkgdatadir}/i18n nodist_i18n_DATA = \ qgis_de.qm \ - qgis_pt.qm + qgis_pt.qm \ + qgis_se.qm i18n_SOURCES = \ qgis_de.ts \ - qgis_pt.ts + qgis_pt.ts \ + qgis_se.ts %.qm: %.ts cd ..; ./create_qm_files.sh diff --git a/i18n/qgis_se.ts b/i18n/qgis_se.ts new file mode 100644 index 00000000000..192efc300ea --- /dev/null +++ b/i18n/qgis_se.ts @@ -0,0 +1,2837 @@ + + + PluginGuiBase + + QGIS Plugin Template + + + + GPS Download File Importer + + + + <html><head><meta name="qrichtext" content="1" /></head><body style="font-size:12pt;font-family:Arial"> +<p style="margin-top:16px"><span style="font-size:18pt;font-weight:600">Description</span></p> +<p>Select the GPS dowload file that you would like to convert to a shapefile and this plugin will do the job for you! </p> +<p>Use the minumum time gap to let the importer know what time interval should be used before starting a new feature. </p> +<p>Use the minimum distance gap to define what distance between two readings should be considered the start of a new feature.</p> +</body></html> + + + + + Input File: + + + + Output (Shape) File: + + + + Minimum time gap (s): + + + + Minimum distance gap (dd): + + + + ... + ... + + + Cancel + Avbryt + + + OK + OK + + + Graticule Builder + + + + <html><head><meta name="qrichtext" content="1" /></head><body style="font-size:11pt;font-family:Arial"> +<p style="margin-top:16px"><span style="font-size:16pt;font-weight:600">Description</span></p> +<p>This plugin will help you to build a graticule shapefile that you can use as an overlay within your qgis map viewer.</p> +</body></html> + + + + + Latitude Interval: + + + + Longitude Interval: + + + + This is a template for your plugin gui. Please modify this as needed. + + + + + QFileDialog + + open files dialog + öppna filer-dialog + + + + QObject + + Overwrite File? + Skriva över fil? + + + %1 exists.%2Do you want to overwrite it? + %1 finns redan. %2Vill du skriva över den? + + + Yes + Ja + + + No + Nej + + + QGis files (*.qgs) + QGis-filer (*.qgs) + + + Choose a file to open + Välj en fil att öppna + + + Choose a filename to save + Välj ett filnamn att spara som + + + No Data Provider Plugins + No QGIS data provider plugins found in: + Inga plugins för datakällor + + + No vector layers can be loaded. Check your QGIS installation + Inga vektorlager kan laddas. Kontrollera din QGIS-installation + + + No Data Providers + Inga datakällor + + + No data provider plugins are available. No vector layers can be loaded + Inga plugins för datakällor finns tillgängliga. Inga vektorlager kan laddas + + + Choose a QGIS project file to open + Välj en QGIS-projektfil att öppna + + + Choose a filename to save + Välj ett filnamn att spara som + + + + QgisApp + + Layers + Lager + + + Quantum GIS - + Quantum GIS - + + + &Zoom to extent of selected layer + &Zooma till det markerade lagrets utsträckning + + + &Open attribute table + &Öppna attributtabell + + + &Properties + &Egenskaper + + + &Remove + &Radera + + + Version + Version + + + with PostgreSQL support + med stöd för PostgreSQL + + + (no PostgreSQL support) + (inget stöd för PostgreSQL) + + + Web Page: http://qgis.sourceforge.net + Websida: http://qgis.sourceforge.net + + + Sourceforge Project Page: http://sourceforge.net/projects/qgis + Projektsida på Sourceforge: http://sourceforge.net/projects/qgis + + + Version + Version + + + Available Data Provider Plugins + Tillgängliga plugins för datakällor + + + Shapefiles (*.shp);;All files (*.*) + Shapefiles (*.shp);;Alla filer(*.*) + + + Select one or more layers to add + Markera ett eller flera lager som du vill lägga till + + + is not a valid or recognized data source + är inte en giltig eller känd datakälla + + + Invalid Data Source + Ogiltig Datakälla + + + No OGR Provider + Ingen OGR-källa + + + No OGR data provider was found in the QGIS lib directory + Ingen OGR-datakälla hittades i QGIS' bibliotekskatalog + + + No PostgreSQL Provider + Ingen PostgreSQL-källa + + + No PostgreSQL data provider was found in the QGIS lib directory + Ingen PostgreSQL-datakälla hittades i QGIS' bibliotekskatalog + + + Quantum GIS -- Untitled + Quantum GIS -- Namnlös + + + Quantum GIS -- + Quantum GIS -- + + + Saved map to: + Sparade karta som: + + + No Layer Selected + Inget Lager Markerat + + + To open an attribute table, you must select a layer in the legend + Du måste markera ett lager för att öppna en attributtabell + + + No MapLayer Plugins + Inga MapLayer-plugins + + + No MapLayer plugins in ../plugins/maplayer + Inga MapLayer-plugins i ../plugins/maplayer + + + No Plugins + Inga Plugins + + + No plugins found in ../plugins. To test plugins, start qgis from the src directory + Hittade inga plugins i ../plugins. För att testa plugins, starta qgis från källkodskatalogen + + + Name + Namn + + + Plugin %1 is named %2 + Plugin %1 har namnet %2 + + + Plugin Information + Plugininformation + + + QGis loaded the following plugin: + QGis laddade följande plugin: + + + Name: %1 + Namn: %1 + + + Version: %1 + Version: %1 + + + Description: %1 + Beskrivning: %1 + + + Unable to Load Plugin + Kan inte Ladda Plugin + + + QGIS was unable to load the plugin from: %1 + QGIS kunde inte ladda ett plugin från: %1 + + + There is a new version of QGIS available + Det finns en ny version av QGIS tillgänglig + + + You are running a development version of QGIS + Du använder en utvecklingsversion av QGIS + + + You are running the current version of QGIS + Du använder den senaste versionen av QGIS + + + Would you like more information? + Vill du ha mer information? + + + QGIS Version Information + Versionsinformation för QGIS + + + Yes + Ja + + + No + Nej + + + QGIS - Changes in CVS + QGIS - Ändringar i CVS + + + Unable to get current version information from server + Kan inte hämta senaste versionen från servern + + + Connection refused - server may be down + Uppkoppling nekad - servern kanske är nere + + + QGIS server was not found + QGIS-servern hittades inte + + + Error reading from server + Fel vid läsning från server + + + Unable to connect to the QGIS Version server + Kan inte skapa en uppkopling mot QGIS' versionsserver + + + Loading QGIS... + Laddar QGIS... + + + Setting up QGIS gui... + Laddar användargränssnitt för QGIS... + + + Loading plugins... + Laddar plugins... + + + Invalid Layer + Ogiltigt Lager + + + %1 is an invalid layer and cannot be loaded. + %1 är ett ogiltigt lager och kan inte laddas. + + + Error Loading Plugin + Fel vid Laddning av Plugin + + + There was an error loading %1. + Ett fel uppstod vid laddningen av %1. + + + open files dialog + öppna filer-dialog + + + + QgisAppBase + + Quantum GIS + Quantum GIS + + + File + Arkiv + + + View + Vy + + + &Tools + &Verktyg + + + &Help + &Hjälp + + + File Management Toolbar + Verktyg för Filhantering + + + Data Toolbar + Verktyg för Data + + + Map Navigation Toolbar + Verktyg för Kartnavigering + + + Attribute Data Toolbar + Attributdataverktyg + + + Open Project + Öppna Projekt + + + Exit + Avsluta + + + E&xit + &Avsluta + + + Add a PostGIS Layer to the map + Lägg till ett PostGIS-lager till kartan + + + Refresh + Rita om + + + Zoom to full extent + Visa allt + + + Map Navigation Tools + Verktyg för Kartnavigering + + + Zoom In + Zooma In + + + Zoom &In + Zooma &In + + + Pan + Flytta vy + + + &Pan + &Flytta vy + + + Zoom out + Zooma ut + + + Zoom &out + Zooma &ut + + + Identify + Identifiera + + + Identify a feature on the active layer + Identifiera en detalj i det aktiva lagret + + + select features + markera detaljed + + + &About Quantum GIS + &Om Quantum GIS + + + Test button + Testknapp + + + Add a vector layer + Lägg till ett vektorlager + + + Add a vector layer (e.g. Shapefile) + Lägg till ett vektorlager (t.ex. Shapefile) + + + Attribute table + Attributtabell + + + Open the attribute table for the selected layer + Öppna attributtabellen för det markerade lagret + + + Action + Funktion + + + Zoom to last extent + Zooma till senaste vy + + + Test plugin functions + Testa pluginfunktioner + + + Options + Inställningar + + + QGis options + QGis-inställningar + + + Save Project + Spara Projekt + + + Save Project As... + Spara Projekt Som... + + + Plugin Manager + Pluginhanterare + + + Check QGIS Version + Kontrollera QGIS-Version + + + Add a PostGIS Layer + Lägg till ett PostGIS-lager + + + Zoom to selected features + Visa markerade detaljer + + + Zoom to selected features in active layer + Visa markerade detaljer i det aktiva lagret + + + Add a Vector Layer + Lägg till ett Vektorlager + + + Start a new QGIS project + Starta ett nytt QGIS-projekt + + + Export current view as a Mapserver file + Exportera vy till Mapserver-fil + + + Export to MapServer + Exportera till MapServer + + + Add a Raster Layer + Lägg till ett Rasterlager + + + &Contents + &Innehåll + + + QGIS Help (HTML) + QGIS-Hjälp (HTML) + + + Preferences + Inställningar + + + QGIS User Preferences + QGIS Användarinställningar + + + QGIS Home Page + QGIS Hemsida + + + QGIS SourceForge Page + QGIS SourceForge-sida + + + Help Toolbar + + + + Open a previously saved QGIS project file. The layers (raster and vector) stored in the project file will be loaded and displayed on the map canvas + + + + Close all layers and exit QGIS + + + + Add a PostgreSQL layer to the map. This requires a properly configured and running PostgreSQL database and the PostGIS extensions. + + + + Refresh the map by clearing the map canvas and redrawing all visible layers + + + + Zoom to the full extent of all layers on the map. This brings everything on the map into full view + + + + Zoom in on the map. Drag the mouse (hold down the left button) to draw a rectangle around the area you want to zoom to, then release the mouse. + + + + Pan the map view by dragging the mouse (hold down the left button). The area displayed will change after the mouse is released. + + + + Zoom out to view more of the map. Drag the mouse (hold down the left button) to draw a rectangle around an area. The current view will zoomed out and resized to "fit" in the rectangle. + + + + Zoom to the extent of selected features on the active layer. The view will be zoomed so that all selected features are visible. If there are no selected features, the view is not changed. + + + + Identify a feature on the active layer (the active layer is the highlighted layer in the legend). Idenify searches for features near where the mouse is clicked and displays information about the results. The search radius can be customized on the QGIS Preferences dialog. + + + + Select features on the active layer by dragging the mouse to create a box around the features of interest. When the mouse is released, the features are selected and drawn in a different color (default is yellow) + + + + Display the About QGIS dialog. About QGIS contains information about the current version, contributors, and available data provider plugins. + + + + Add a vector layer to the map canvas. The supported formats are those provided by the OGR library. For a list of supported formats, see http://www.remotesensing.org/gdal/ogr/ogr_formats.html + + + + Open the attribute table for the selected vector layer. The rows can be sorted by clicking on the column names in the header row. + + + + Zoom to the last view. QGIS stores only one previous view so repeatedly clicking this button swaps the views. + + + + Open the options dialog to set QGIS preferences like web browser and identify search radius. + + + + Save the current map as a QGIS project. A QGIS project can later be opened and all layers and setting will be restored. + + + + Save the current map as a new QGIS project. A QGIS project can later be opened and all layers and setting will be restored. + + + + Create a new, empty QGIS project. All layers will be removed from the map canvas and a blank canvas will be created. + + + + Opens the Plugin Manager and allows you to view loaded plugins or load a new one. The Plugin Manager lists the available plugins and a description of the features each provides. + + + + Contacts the QGIS version server and provides information about the current version and any new features/changes available in the development version. + + + + Creates a Mapserver file (.map) from the current QGIS view. The .map file can be used to create a Mapserver project. + + + + Adds a raster layer to the map canvas. Supported raster formats include most of those provided by the GDAL library. See http://www.remotesensing.org/gdal/formats_list.html + + + + Open the QGIS Help Contents in a web browser + + + + Open the QGIS home page in a web browser + + + + Open the QGIS SourceForge project page in a web browser + + + + Save Map As Image + + + + Save the current map view as a PNG image. The image size will be exactly the same as the size of the map canvas. + + + + Whats this? + + + + Whats this? - Click this tool and then click on a toolbar button or menu item to get more information + + + + + QgsAbout + + About Quantum GIS + Om Quantum GIS + + + Ok + OK + + + About + Om + + + Version + Version + + + Quantum GIS (qgis) + Quantum GIS (qgis) + + + What's New + Nyheter + + + License + Licens + + + http://www.gnu.org/licenses + http://www.gnu.org/licenses + + + Quantum GIS is licensed under the GNU General Public License + Quantum GIS är licensierad med GNU General Public License + + + Contributors + Medarbetare + + + <h3>QGIS Contributors</h3> +<ul> +<li>Gary E. Sherman<br> +<li>Steve Halasz<br> +<li>Tim Sutton<br> +<li>Marco Hugentobler<br> +<li>Denis Antipov<br> +<li>Mark Coletti +<li>Carl Anderson<br> +<li>Masaru Hoshi<br> +<li>Radim Blazek<br> +<p> +Apologies to anyone not included. Please let the project admin at qgis.sourceforge.net know if you have contributed but are not included in the acknowledgments. + <h3>QGIS-medarbetare</h3> +<ul> +<li>Gary E. Sherman<br> +<li>Steve Halasz<br> +<li>Tim Sutton<br> +<li>Marco Hugentobler<br> +<li>Denis Antipov<br> +<li>Mark Coletti +<li>Carl Anderson<br> +<li>Masaru Hoshi<br> +<li>Radim Blazek<br> +<p> +Vi ber om ursäkt om någon har glömts bort. Var vänlig kontakta projektadministratören på qgis.sourceforge.net om du har hjälpt till men inte står med i den här listan. + + + Plugins + Plugins + + + <h2>QGIS Contributors</h2> + <h2>QGIS-medarbetare</h2> + + + Gary E. Sherman + Gary E. Sherman + + + Steve Halasz + Steve Halasz + + + Tim Sutton + Tim Sutton + + + Marco Hugentobler + Marco Hugentobler + + + Denis Antipov + Denis Antipov + + + Mark Coletti + Mark Coletti + + + Jens Oberender + Jens Oberender + + + Radim Blazek + Radim Blazek + + + Carl Anderson + Carl Anderson + + + Masaru Hoshi + Masaru Hoshi + + + Lars Luthman + Lars Luthman + + + + QgsAttributeTableBase + + Attribute Table + Attributtabell + + + Close + Stäng + + + + QgsConnectionDialogBase + + Connection Properties + Uppkopplingsegenskaper + + + Connection Information + Uppkopplingsinformation + + + Host + Dator + + + Database + Databas + + + Username + Användarnamn + + + Name + Namn + + + Name of the new connection + Namn för den nya uppkopplingen + + + Password + Lösenord + + + Test Connect + Testa Uppkoppling + + + Save Password + Spara Lösenord + + + OK + OK + + + Cancel + Avbryt + + + Help + Hjälp + + + F1 + F1 + + + Create a New PostGIS connection + Skapa en ny PostGIS-uppkoppling + + + Port + + + + 5432 + + + + + QgsContColDialogBase + + continuous color + kontinuerlig färg + + + color for minimum value + färg för minsta värde + + + close + stäng + + + apply + utför + + + classification variable + klassificeringsvariabel + + + color for maximum value + färg för största värde + + + Display Name + Namn + + + Continuous color + Kontinuerlig färg + + + Classification Field: + Klassifikationsfält: + + + Minimum Value: + Minimalt Värde: + + + Maximum Value: + Maximalt Värde: + + + Outline Width: + + + + + QgsDbSourceSelect + + Are you sure you want to remove the + Är du säker på att du vill ta bort + + + connection and all associated settings? + uppkopplingen och alla tillhörande inställningar? + + + Confirm Delete + Bekräfta Radering + + + Yes + Ja + + + No + Nej + + + Select Table + Välj Tabell + + + You must select a table in order to add a Layer. + Du måste välja en tabell för att kunna lägga till ett Lager. + + + Password for + Lösenord för + + + Please enter your password: + Skriv in ditt lösenord: + + + Connection failed + Uppkopplingen avbröts + + + Connection to %1 on %2 failed. Either the database is down or your settings are incorrect.%3Check your username and password and try again. + Upkopplingen till %1 på %2 avbröts. Antingen är databasen nere eller också är dina inställningar fel.%3Kontrollera ditt användarnamn och lösenord och försök igen. + + + + QgsDbSourceSelectBase + + Add PostGIS Table(s) + Lägg till PostGIS-tabell(er) + + + Add + Lägg till + + + Cancel + Avbryt + + + Help + Hjälp + + + F1 + F1 + + + Tables + Tabeller + + + Connection Information + Uppkopplingsinformation + + + Connect + Koppla upp + + + New + Ny + + + Edit + Redigera + + + Delete + Radera + + + Close + Stäng + + + + QgsDelimitedTextPluginGuiBase + + Create a Layer from a Delimited Text File + + + + Cancel + Avbryt + + + Help + Hjälp + + + Help on using the plugin + + + + Opens the Delimited Text Plugin help in your configured browser + + + + Parse + + + + Parse the header row and update the X and Y field lists + + + + Parse the header row of the input file and refresh the fields in the X and Y field drop-down lists. Use this button to refresh the field lists if you change the delimiter after selecting the delimited text file. + + + + Add Layer + + + + Add layer using the deimiter, file, and x/y fields specifed + + + + Creates a layer using the specified parameters and adds it to the map. The dialog remains open to allow adding of additional layers. + + + + Close + Stäng + + + Close the dialog + + + + Close the dialog without adding anything to the map. + + + + <p align="right">X field</p> + + + + Name of the field containing x values + + + + Name of the field containing x values. Choose a field from the list. The list is generated by parsing the header row of the delimited text file. + + + + <p align="right">Y field</p> + + + + Name of the field containing y values + + + + Name of the field containing y values. Choose a field from the list. The list is generated by parsing the header row of the delimited text file. + + + + <html><head><meta name="qrichtext" content="1" /></head><body style="font-size:12pt;font-family:Arial"> +<p style="margin-top:16px"><span style="font-size:18pt;font-weight:600">Description</span></p> +<p>Select the file containing delimited text with lat/lon coordinates that you would like to use as a point layer and this plugin will do the job for you! </p> +<p>Use the layer name box to specify the legend name for the new layer. Use the delimeter box to specify what the delimeter is for your file (e.g. space, commar or tab). Note this box accepts regex entries so use \t for tab and so on. After choosing a delimeter, press the parse button to see what field names have been detected in your file.</p> +<p>Use the X and Y fields to specify which columns represent latitude and longitude..</p> +</body></html> + + + + + Layer name + + + + Name to display in the map legend + + + + Name displayed in the map legend + + + + Delimiter + + + + Delimiter to use when splitting fields in the text file. The delimiter can be more than one character. + + + + Delimiter to use when splitting fields in the delimited text file. The delimiter can be 1 or more characters in length. + + + + Delimited Text Layer + + + + Delimited text file + + + + Full path to the delimited text file + + + + Full path to the delimited text file. In order to properly parse the fields in the file, the delimiter must be defined prior to entering the file name. Use the Browse button to the right of this field to choose the input file. + + + + ... + ... + + + Browse to find the delimited text file to be processed + + + + Use this button to browse to the location of the delimited text file. This button will not be enabled until a delimiter has been entered in the <i>Delimiter</i> box. Once a file is chosen, the X and Y field drop-down boxes will be populated with the fields from the delimited text file. + + + + + QgsDlgPgBufferBase + + Buffer features + Bufferdetaljer + + + &Help + &Hjälp + + + F1 + F1 + + + &OK + &OK + + + &Cancel + &Avbryt + + + Buffer Settings: + Bufferinställningar: + + + Buffer distance in map units: + Bufferavstånd i kartenheter: + + + Table name for the buffered layer: + Tabellnamn för det buffrade lagret: + + + Create unique object id + Skapa unikt objekt-ID + + + public + publik + + + Geometry column: + Geometrikolumn: + + + Spatial reference ID: + Rumsreferens-ID: + + + Unique field to use as feature id: + Unikt fält att använda som detalj-ID: + + + Schema: + Schema: + + + Add the buffered layer to the map? + Lägg till det buffrade lagret till kartan? + + + <h2>Buffer the features in layer: </h2> + <h2>Buffra detaljer i lager: </h2> + + + + QgsDlgVectorLayerProperties + + Single Symbol + Enstaka Symbol + + + Graduated Symbol + Graderad Symbol + + + Continuous Color + Kontinuerlig Färg + + + Single Marker + + + + Graduated Marker + + + + + QgsDlgVectorLayerPropertiesBase + + Layer Properties + Lageregenskaper + + + Apply + Verkställ + + + Close + Stäng + + + General + Allmänt + + + Display name + Namn + + + Layer source + Lagerkälla + + + TextLabel2 + TextEtikett2 + + + Fields + Fält + + + Field + Fält + + + Type + Typ + + + Length + Längd + + + Precision + Precision + + + Features + Detaljer + + + Count + Antal + + + count + antal + + + Geometry type + Geometrityp + + + geom + geom + + + Upper right + Övre högra + + + ur + öh + + + ll + ll + + + Lower left + Nedre vänstra + + + Legend + Teckenförklaring + + + Legend type: + Typ av teckenförklaring: + + + + QgsGraMaDialogBase + + graduated Marker + + + + Mode: + Läge: + + + Classification Field: + Klassifikationsfält: + + + Number of Classes: + Antal Klasser: + + + + QgsGraMaExtensionWidget + + Lower + Nedre + + + Upper + Övre + + + Label + Etikett + + + Image + + + + Scale +Factor + + + + + QgsGraSyDialogBase + + graduated Symbol + graderad symbol + + + apply + verkställ + + + mode + läge + + + classification variable + klassificeringsvariabel + + + close + stäng + + + number of classes + antal klasser + + + Display Name + Namn + + + Number of Classes: + Antal Klasser: + + + Classification Field: + Klassifikationsfält: + + + Mode: + Läge: + + + + QgsGraSyExtensionWidget + + lower + undre + + + upper + övre + + + label + beteckning + + + outl_color + kant_färg + + + outl_style + kant_stil + + + outl_width + kant_bredd + + + fill_color + fyll_färg + + + fill_pattern + fyll_mönster + + + SolidLine + HelLinje + + + SolidPattern + HeltMönster + + + Lower + Nedre + + + Upper + Övre + + + Label + Etikett + + + Outline +Color + Kantfärg + + + Outline +Style + Kantstil + + + Outline +Width + Kantbredd + + + Fill +Color + Fyllningsfärg + + + Fill +Pattern + Fyllningsmönster + + + + QgsGrassSelectBase + + Add GRASS Vector Layer + + + + Gisdbase + + + + Location + + + + Browse + + + + Mapset + + + + Map name + + + + Layer + + + + OK + OK + + + Select or type map name (wildcards '*' and '?' accepted for rasters) + + + + + QgsHelpViewerBase + + QGIS Help + QGIS Hjälp + + + &Home + &Hem + + + Alt+H + Alt+H + + + &Forward + &Framåt + + + Alt+F + Alt+F + + + &Back + &Bakåt + + + Alt+B + Alt+B + + + &Close + &Stäng + + + Alt+C + Alt+C + + + + QgsIdentifyResultsBase + + Identify Results + Identifiera Resultat + + + Help + Hjälp + + + F1 + F1 + + + OK + OK + + + Cancel + Avbryt + + + Feature + Detalj + + + Value + Värde + + + + QgsLayerPropertiesBase + + Layer Properties + Lageregenskaper + + + General + Allmänt + + + TextLabel2 + Textetikett2 + + + Layer source + Lagerkälla + + + Display Name + Namn + + + Symbology + Symbologi + + + Outline color + Kantfärg + + + Fill Color + Fyllningsfärg + + + Line width + Linjebredd + + + Labels + Etiketter + + + Help + Hjälp + + + F1 + F1 + + + OK + OK + + + Cancel + Avbryt + + + + QgsLegendItemBase + + Form1 + Formulär1 + + + CheckBox1 + Checkruta1 + + + TextLabel1 + Textetikett1 + + + + QgsLineStyleDialogBase + + Select a line style + Välj en linjestil + + + Styles + Stilar + + + solid + hel + + + dash + streck + + + dot + prick + + + dashdot + streckprick + + + dashdotdot + streckprickprick + + + Ok + Ok + + + Cancel + Avbryt + + + + QgsMapCanvas + + No active layer + Inget aktivt lager + + + To select features, you must choose an layer active by clicking on its name in the legend + För att välja detaljer måste du välja ett aktivt lager genom att klicka på dess namn i teckenförklaringen + + + To identify features, you must choose an layer active by clicking on its name in the legend + För att identifiera detaljer måste du välja ett aktivt lager genom att klicka på dess namn i teckenförklaringen + + + + QgsMapserverExportBase + + Export to Mapserver + Exportera till MapServer + + + Map file + Kartfil + + + Export LAYER information only + Exportera endast LAGER-information + + + Map + Karta + + + Name + Namn + + + Height + Höjd + + + Width + Bredd + + + dd + dd + + + feet + feet + + + meters + meter + + + miles + miles + + + inches + tum + + + kilometers + kilometer + + + Units + Enheter + + + Image type + Bildtyp + + + gif + gif + + + gtiff + gtiff + + + jpeg + jpeg + + + png + png + + + swf + swf + + + userdefined + userdefined + + + wbmp + wbmp + + + MinScale + MinSkala + + + MaxScale + MaxSkala + + + Prefix attached to map, scalebar and legend GIF filenames created using this MapFile. It should be kept short. + Prefix för karta, skala och teckenförklaring GIF-filnamn skapade med denna kartfil. Det bör vara kort. + + + Web Interface Definition + Webgränssnittsdefinition + + + Header + Sidhuvud + + + Footer + Sidfot + + + Template + Mall + + + &Help + &Hjälp + + + F1 + F1 + + + &OK + &OK + + + &Cancel + &Avbryt + + + ... + ... + + + + QgsMarkerDialogBase + + Choose a marker symbol + + + + Directory + + + + ... + ... + + + Ok + + + + Cancel + Avbryt + + + New Item + + + + + QgsMessageViewer + + QGIS Message + QGIS-Meddelande + + + Close + Stäng + + + + QgsMessageViewerBase + + SPIT Message + SPIT-Meddelande + + + Close + Stäng + + + + QgsNewConnection + + Test connection + Testa uppkoppling + + + Connection to %1 was successfull + Uppkoplingen till %1 lyckades + + + Connection failed - Check settings and try again + Uppkopplingen misslyckades - Kontrollera inställningarna och försök igen + + + + QgsNewConnectionBase + + Create a New PostGIS connection + Skapa en ny PostGIS-uppkoppling + + + OK + OK + + + Cancel + Avbryt + + + Help + Hjälp + + + Connection Information + Uppkopplingsinformation + + + Host + Dator + + + Database + Databas + + + Username + Användarnamn + + + Name + Namn + + + Name of the new connection + Namn för den nya uppkopplingen + + + Password + Lösenord + + + Test Connect + Testa Uppkoppling + + + Save Password + Spara Lösenord + + + F1 + F1 + + + Port + + + + 5432 + + + + + QgsOptionsBase + + QGIS Options + QGIS-Inställningar + + + Preferences + Inställningar + + + epiphany + epiphany + + + firebird + firebird + + + galeon + galeon + + + konqueror + konqueror + + + mozilla + mozilla + + + opera + opera + + + Preferred browser (used to open Help documents) + Webläsare (används för att öppna Hjälp-dokument) + + + The browser must be in your PATH or you can specify <br>the full path above + Webläsaren måste vara i din PATH eller också kan du <br>ange hela sökvägen + + + &Ok + &Ok + + + Alt+O + Alt+O + + + &Cancel + &Avbryt + + + Map + Karta + + + Search Radius for Identifying Features + + + + Value + Värde + + + <html>Specify the value in thousandths. +The search radius is calculated as: +<ul> <i>(Map View Width) * ( Value/1000.0)</i> +</ul> +By default QGIS uses a value of 5. Increase the value if you have trouble +identifying features without zooming in very close. +</html> + + + + Hide splash screen at startup + + + + + QgsPatternDialogBase + + select a pattern + välj ett mönster + + + solid + helfärgad + + + fdiag + fdiag + + + dense4 + tät4 + + + horiz + horis + + + dense5 + tät5 + + + diagcross + diagkross + + + dense1 + tät1 + + + dense6 + tät6 + + + vertical + vertikal + + + dense7 + tät7 + + + cross + kross + + + dense2 + tät2 + + + bdiag + bdiag + + + dense3 + tät3 + + + cancel + avbryt + + + ok + ok + + + Select a fill pattern + Välj ett fyllningsmönster + + + Cancel + Avbryt + + + Ok + Ok + + + + QgsPgGeoprocessing + + Buffer features in layer %1 + Buffra detaljer i lager %1 + + + Error connecting to the database + Fel vid uppkoppling mot databas + + + + QgsPluginManager + + Choose a directory + Välj en katalog + + + No Plugins + Inga Plugins + + + No QGIS plugins found in + Inga QGIS-plugins hittades i + + + + QgsPluginManagerBase + + QGIS Plugin Manger + QGIS Pluginhanterare + + + Name + Namn + + + Description + Beskrivning + + + Library Name + Biblioteksnamn + + + Ok + Ok + + + Close + Stäng + + + Plugin Directory + Pluginkatalog + + + ... + ... + + + To load a plugin, click the checkbox next to the plugin and click Ok + För att ladda ett plugin, klicka i rutan bredvid pluginet och klicka på Ok + + + Version + Version + + + + QgsRasterLayer + + Not Set + Inte Satt + + + &Zoom to extent of selected layer + &Zooma till det markerade lagrets utsträckning + + + &Properties + &Egenskaper + + + &Remove + &Radera + + + Driver: + Drivrutin: + + + Dimensions: + Dimensioner: + + + X: + X: + + + Y: + Y: + + + Bands: + Band: + + + Projection: + Projektion: + + + Origin: + Origo: + + + Pixel Size: + Pixelstorlek: + + + + QgsRasterLayerProperties + + <p align="center">Columns: + <p align="center">Kolumner: + + + <p align="right">Rows: + <p align="right">Rader: + + + No Data: + Ingen Data: + + + <h3>Multiband Image Notes</h3><p>This is a multiband image. You can choose to render it as grayscale or color (RGB). For color images, you can associate bands to colors arbitarily. For example, if you have a seven band landsat image, you may choose to render it as:</p><ul><li>Visible Blue (0.45 to 0.52 microns) - not mapped</li><li>Visible Green (0.52 to 0.60 microns) - not mapped</li></li>Visible Red (0.63 to 0.69 microns) - mapped to red in image</li><li>Near Infrared (0.76 to 0.90 microns) - mapped to green in image</li><li>Mid Infrared (1.55 to 1.75 microns) - not mapped</li><li>Thermal Infrared (10.4 to 12.5 microns) - not mapped</li><li>Mid Infrared (2.08 to 2.35 microns) - mapped to blue in image</li></ul> + <h3>Multibandbild</h3><p>Detta är en multibandbild. Du kan visa den i gråskala eller färg (RGB). För färgbilder kan du associera band med godtyckliga färger. Till exempel, om du har en 7-bands landsatbild så kan du välja att rendera den som:</p><ul><li>Synligt Blått (0.45 till 0.52 mikroner) - inte associerad</li><li>Synligt Grönt (0.52 till 0.60 mikroner) - inte associerad</li></li>Synligt Rött (0.63 till 0.69 mikroner) - associerad till rött i bilden</li><li>Nära Infrarött (0.76 till 0.90 mikroner) - associerad till grönt i bilden</li><li>Medium Infrarött (1.55 till 1.75 mikroner) - inte associerad</li><li>Värmeinfrarött (10.4 till 12.5 mikroner) - inte associerad</li><li>Medium infrarött (2.08 till 2.35 mikroner) - associerad till blått i bilden</li></ul> + + + <h3>Paletted Image Notes</h3> <p>This image uses a fixed color palette. You can remap these colors in different combinations e.g.</p><ul><li>Red - blue in image</li><li>Green - blue in image</li><li>Blue - green in image</li></ul> + <h3>Palettbild</h3> <p>Den här bilden använder en indexerad palett. Du kan ändra de här färgerna i olika kombinationer, t.ex.</p><ul><li>Röd - blått i bilden</li><li>Grön - blått i bilden</li><li>Blå - grönt i bilden</li></ul> + + + <h3>Grayscale Image Notes</h3> <p>You can remap these grayscale colors to a pseudocolor image using an automatically generated color ramp.</p> + <h3>Gråskalebild</h3> <p>Du kan omassociera dessa gråskalefärger till en pseudofärgbild med an automatgenererad färgramp.</p> + + + Grayscale + Gråskala + + + Pseudocolor + Pseudofärg + + + Freak Out + + + + + QgsRasterLayerPropertiesBase + + Raster Layer Properties + Rasterlageregenskaper + + + &Cancel + &Avbryt + + + &OK + &OK + + + &Apply + &Verkställ + + + Alt+A + Alt+V + + + &Help + &Hjälp + + + F1 + F1 + + + General + Allmänt + + + Layer Source: + Lagerkälla: + + + Display Name: + Namn: + + + Legend: + Teckenförklaring: + + + Show debug info as overlay on raster? + Visa debuginfo ovanpå raster? + + + <p align="center">Columns: </p> + <p align="center">Kolumner: </p> + + + <p align="right">Rows: </p> + <p align="right">Rader: </p> + + + No Data: + Ingen Data: + + + Symbology + Symbologi + + + Appearance + Utseende + + + Transparency: + Genomskinlighet: + + + <p align="right">Full</p> + <p align="right">Total</p> + + + None + Ingen + + + Invert Color Map + Invertera färgkarta + + + 0% + 0% + + + RGB + RGB + + + Band + Band + + + <b><font color="#00ff00">Green</font></b> + <b><font color="#00ff00">Grön</font></b> + + + <b><font color="#ff0000">Red</font></b> + <b><font color="#ff0000">Röd</font></b> + + + <b><font color="#0000ff">Blue</font></b> + <b><font color="#0000ff">Blå</font></b> + + + Color + Färg + + + Grayscale + Gråskala + + + Gray + Grå + + + Std Deviations + Standardavvikelser + + + Color Map + Färgkarta + + + Show As + Visa Som + + + Three Band + Tre Band + + + Single Band + Ett Band + + + <html><head><meta name="qrichtext" content="1" /></head><body style="font-size:12pt;font-family:Arial"> +<p style="margin-top:14px"><span style="font-size:13pt;font-weight:600">Notes</span></p> +</body></html> + + <html><head><meta name="qrichtext" content="1" /></head><body style="font-size:12pt;font-family:Arial"> +<p style="margin-top:14px"><span style="font-size:13pt;font-weight:600">Anteckningar</span></p> +</body></html> + + + Advanced Symbology + Avancerad Symbologi + + + Red + Röd + + + Green + Grön + + + Blue + Blå + + + Behaviour + Beteende + + + Scale histogram to the limits defined above (displays all data) + Skala histogram till gränserna definierade ovan (visar all data) + + + Exclude values outside the above ranges (after color mapping) + Exkludera värden utanför intervallen ovan (efter färgassociering) + + + <b><font color="#ff0000">Please Note :</font> Advanced Symbology not implemented yet!</b> + <b><font color="#ff0000">Notera :</font> Avancerad Symbologi är inte implementerad än!</b> + + + Statistics + Statistik + + + Metadata + Metadata + + + + QgsSiMaDialogBase + + QgsSiMaDialogBase + + + + Image + + + + Scale Factor + + + + + QgsSiSyDialog + + SolidLine + HelLinje + + + SolidPattern + HeltMönster + + + + QgsSiSyDialogBase + + Single Symbol + Enstaka Symbol + + + Display Name + Namn + + + Style + Stil + + + Fill color + Fyllningsfärg + + + Width + Bredd + + + Outline color + Kantfärg + + + Pattern + Mönster + + + Apply + Verkställ + + + Close + Stäng + + + + QgsSpitBase + + SPIT - Shapefile to PostGIS Import Tool + SPIT - Shapefile-till-PostGIS importeringsverktyg + + + PostgreSQL Connections + PostgreSQL-uppkopplingar + + + Remove + Ta bort + + + Edit ... + Redigera ... + + + New ... + Ny ... + + + Connection + Uppkoppling + + + Import + Importera + + + Quit + Avsluta + + + Help + Hjälp + + + Shapefile List + Shapefile-lista + + + File Name + Filnamn + + + Feature Class + Detaljklass + + + Features + Detaljer + + + DB Relation Name + DB-relationsnamn + + + Schema + Schema + + + Use Default + Använd Standard + + + Geometry Column Name + Namn på Geometrikolumn + + + SRID + SRID + + + Add ... + Lägg till ... + + + Remove All + Ta Bort Alla + + + Global Schema + + + + + QgsVectorLayer + + No features found + Inga ??? hittade + + + No features were found in the active layer at the point you clicked + Inga ??? hittades i det aktiva lagret där du klickade + + + Tabledisplaytribute table - + Tabledisplaytribute table - + + + Attribute table - + Attributtabell - + + + &Zoom to extent of selected layer + &Zooma till det markerade lagrets utsträckning + + + &Open attribute table + &Öppna attributtabell + + + &Properties + &Egenskaper + + + &Remove + &Radera + + + + QgsVectorLayerProperties + + single symbol + Enstaka symbol + + + graduated symbol + graderad symbol + + + continuous color + kontinuerlig färg + + + + QgsVectorLayerPropertiesBase + + Layer Properties + Lageregenskaper + + + Legend type: + Typ av teckenförklaring: + + + Layer source + Lagerkälla + + + Help + Hjälp + + + F1 + F1 + + + Settings + Inställningar + + + OK + OK + + + Cancel + Avbryt + + + TextLabel2 + TextEtikett2 + + + diff --git a/tools/qgisdetect.m4 b/tools/qgisdetect.m4 index 5c97d6cbcb4..74408f841e6 100644 --- a/tools/qgisdetect.m4 +++ b/tools/qgisdetect.m4 @@ -1,4 +1,8 @@ -# Check for working QGIS +dnl --------------------------------------------------------------------------- +dnl QGIS +dnl --------------------------------------------------------------------------- + +# Check for QGIS compiler and linker flags # Jens Oberender 2004 AC_DEFUN([AQ_CHECK_QGIS], @@ -8,16 +12,14 @@ dnl Get the cflags and libraries from qgis-config dnl AC_ARG_WITH([qgis], AC_HELP_STRING([--with-qgis=path], - [Full path to 'qgis-config', e.g. '--with-qgis=/usr/local/bin/qgis-config]), + [Full path to 'qgis-config', e.g. --with-qgis=/usr/local/bin/qgis-config]), [ac_qgis_config_path=$withval]) if test x"$ac_qgis_config_path" = x ; then ac_qgis_config_path=`which qgis-config` - if test x"$ac_qgis_config_path" = x ; then - ac_qgis_config_path=`dirname $ac_qgis_config_path` - fi fi +ac_qgis_config_path=`dirname $ac_qgis_config_path 2> /dev/null` AC_PATH_PROG(QGIS_CONFIG, qgis-config, no, $ac_qgis_config_path) if test x"$QGIS_CONFIG" = xno ; then @@ -27,9 +29,9 @@ if test x"$QGIS_CONFIG" = xno ; then AC_MSG_ERROR([qgis-config not found! Supply a path with --with-qgis=PATH]) fi else - AC_MSG_CHECKING([QGIS_CFLAGS]) - QGIS_CFLAGS=`$QGIS_CONFIG --cflags` - AC_MSG_RESULT($QGIS_CFLAGS) + AC_MSG_CHECKING([QGIS_CXXFLAGS]) + QGIS_CXXFLAGS=`$QGIS_CONFIG --cflags` + AC_MSG_RESULT($QGIS_CXXFLAGS) AC_MSG_CHECKING([QGIS_LDADD]) QGIS_LDADD=`$QGIS_CONFIG --libs` @@ -37,8 +39,8 @@ else ac_save_CXXFLAGS="$CXXFLAGS" ac_save_LDFLAGS="$LDFLAGS" - CXXFLAGS="$CXXFLAGS $QGIS_CFLAGS" - LDFLAGS="$QGIS_LDADD $QT_LDADD $GDAL_LDADD /Users/didge/lib/libqgis.dylib $LDFLAGS" + CXXFLAGS="$CXXFLAGS $QGIS_CXXFLAGS $QT_CXXFLAGS" + LDFLAGS="$LDFLAGS $QGIS_LDADD $QT_LDADD $GDAL_LDADD" case "${host}" in *darwin*) @@ -64,6 +66,6 @@ else fi fi -AC_SUBST(QGIS_CFLAGS) +AC_SUBST(QGIS_CXXFLAGS) AC_SUBST(QGIS_LDADD) ])