Changeset 96 in tspsg-svn for trunk/src/globals.h


Ignore:
Timestamp:
Mar 1, 2010, 2:13:23 PM (15 years ago)
Author:
laleppa
Message:
  • Fixed some wrong defines that prevented successful compilation under *nix.
  • Renamed i18n to l10n to follow common standards.
  • Translation and documentation paths are now synchronized between .pro and source.
  • Moved some versioning information to .pro file.
  • Updated translations.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/globals.h

    r93 r96  
    3939// TSPSG Defaults
    4040#include "defaults.h"
    41 // Vista/7 Eyecandy
    42 #include "qtwin.h"
     41#ifdef Q_OS_WIN32
     42        // Vista/7 Eyecandy
     43        #include "qtwin.h"
     44#endif // Q_OS_WIN32
    4345
    4446// DEFINES
     
    5052// Paths
    5153/*!
    52  * \def PATH_I18N
     54 * \def PATH_L10N
    5355 * \brief Bath to internationalization files.
    5456 */
     57#ifndef PATH_L10N
     58        #define PATH_L10N "l10n"
     59#endif // PATH_L10N
    5560/*!
    5661 * \def PATH_DOCS
    5762 * \brief Bath to documentation files.
    5863 */
    59 #if defined(Q_OS_LINUX) || (defined(Q_OS_UNIX) && !defined(Q_OS_SYMBIAN))
    60         #define PATH_I18N "/usr/share/tspsg/i18n"
    61         #define PATH_DOCS "/usr/share/doc/tspsg"
    62 #else
    63         #define PATH_I18N "i18n"
     64#ifndef PATH_DOCS
    6465        #define PATH_DOCS "help"
    65 #endif // Q_OS_LINUX
     66#endif // PATH_DOCS
    6667
    6768//! TSPSG Task file signature - letters \c TSPT
Note: See TracChangeset for help on using the changeset viewer.