Subversion Repositories Scribus

Compare Revisions

Ignore whitespace Rev 11029 → Rev 11051

/branches/Version13x/Scribus/scribus/scpaths.h
51,6 → 51,9
/** @brief Return path to the Scribus share directory */
const QString& shareDir() const;
 
/** @brief Return path to the translations directory */
/QString translationDir() const;
 
/** @brief Return paths to system font directories*/
static QStringList getSystemFontDirs(void);
/** @brief Return paths to system icc profiles directories*/
/branches/Version13x/Scribus/scribus/scpaths.cpp
192,6 → 192,12
return m_shareDir;
}
 
QString ScPaths::translationDir() const
{
return(m_shareDir + "translations/");
}
 
 
QStringList ScPaths::getSystemFontDirs(void)
{
QStringList fontDirs;
/branches/Version13x/Scribus/scribus/qm/CMakeLists.txt
48,5 → 48,5
scribus.uk.qm
scribus.zh.qm
scribus.zh_TW.qm
DESTINATION ${LIBDIR}
DESTINATION ${SHAREDIR}/translations
)
/branches/Version13x/Scribus/scribus/scribusapp.cpp
324,7 → 324,7
delete trans;
}
trans = new QTranslator(0);
QString path = ScPaths::instance().libDir();
QString path(ScPaths::instance().translationDir());
path += "scribus";
 
bool loaded = false;
/branches/Version13x/Scribus/scribus/langmgr.cpp
115,7 → 115,7
 
void LanguageManager::generateInstalledLangList()
{
QString path = ScPaths::instance().libDir();
QString path = ScPaths::instance().translationDir();
QString langAbbrev;
QMap<QString, langPair>::Iterator it;