Update localizations, desktop entry and some other stuff.

This commit is contained in:
Martin Rotter 2013-06-16 17:36:10 +02:00
parent 5535d230ec
commit c92f911b79
6 changed files with 141 additions and 8 deletions

View File

@ -1,6 +1,72 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.0" language="cs_CZ">
<context>
<name>FormMain</name>
<message>
<source>MainWindow</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>...</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>&amp;File</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>&amp;Help</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>&amp;View</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>&amp;Tools</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>&amp;Import</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>E&amp;xport</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>&amp;Quit</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>&amp;Settings</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>FormSettings</name>
<message>
<source>Dialog</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>General</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>User interface</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Icon theme</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>system icon theme (default)</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>QObject</name>
<message>

View File

@ -1,6 +1,72 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.0" language="en_US">
<context>
<name>FormMain</name>
<message>
<source>MainWindow</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>...</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>&amp;File</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>&amp;Help</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>&amp;View</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>&amp;Tools</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>&amp;Import</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>E&amp;xport</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>&amp;Quit</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>&amp;Settings</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>FormSettings</name>
<message>
<source>Dialog</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>General</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>User interface</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Icon theme</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>system icon theme (default)</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>QObject</name>
<message>

View File

@ -4,10 +4,10 @@ Version=1.0
Encoding=UTF-8
Exec=rssguard
Name=RSS Guard
GenericName=Simple (yet powerful) calculator
GenericName[cs]=Jednoduchá (a přesto mocná) kalkulačka
Comment=Simple (yet powerful) calculator with some unusual functions
Comment[cs]=Jednoduchá (a přesto mocná) kalkulačka s neobvyklými funkcemi
GenericName=a (very) tiny feed reader
GenericName[cs]=velmi jednoduchá čtečka kanálů
Comment=a (very) tiny feed reader
Comment[cs]=velmi jednoduchá čtečka kanálů
Icon=rssguard
Terminal=false
Categories=Qt;Office;Network;Utility

View File

@ -1,6 +1,7 @@
#ifndef DEFS_H
#define DEFS_H
#include <QtGlobal>
#define CMAKE_VERSION "@CMAKE_VERSION@"
#define CMAKE_SYSTEM "@CMAKE_SYSTEM@"

View File

@ -88,7 +88,7 @@ void ThemeFactory::loadCurrentIconTheme() {
return;
}
else {
qDebug("Loading theme '%s'.", qPrintable(theme_name));
qDebug("Loading theme %s.", qPrintable(theme_name));
QIcon::setThemeName(theme_name);
// In Linux, we need to deliver custom event for all widgets

View File

@ -63,11 +63,11 @@ int main(int argc, char *argv[]) {
QtSingleApplication::setApplicationVersion(APP_VERSION);
QtSingleApplication::setOrganizationName(APP_AUTHORS);
QtSingleApplication::setOrganizationDomain(APP_URL);
QtSingleApplication::setWindowIcon(QIcon(":/graphics/qonverter.png"));
QtSingleApplication::setWindowIcon(QIcon(APP_INFO_PATH));
qDebug("%s", qPrintable(APP_ICON_PATH));
// Instantiate main application window.
// Instantiate main application window and show it.
FormMain window;
window.show();
if (Settings::getInstance().value(APP_CFG_GEN, "first_start", true).toBool()) {