diff --git a/CMakeLists.txt b/CMakeLists.txt index af46053d0..533bb134b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -116,6 +116,8 @@ add_definitions(-DUNICODE -D_UNICODE) # Find all needed Qt modules. find_package(Qt5Sql) +find_package(Qt5WebKit) +find_package(Qt5WebKitWidgets) find_package(Qt5Widgets) find_package(Qt5Xml) find_package(Qt5Network) @@ -218,6 +220,7 @@ include_directories ( ${CMAKE_CURRENT_BINARY_DIR} ${CMAKE_CURRENT_BINARY_DIR}/src ${Qt5Xml_INCLUDE_DIRS} + ${Qt5Webkit_INCLUDE_DIRS} ) if(WIN32) diff --git a/localization/rssguard_cs.ts b/localization/rssguard_cs.ts index 3a6031790..5ddda249f 100644 --- a/localization/rssguard_cs.ts +++ b/localization/rssguard_cs.ts @@ -1,4 +1,32 @@ + + QObject + + LANG_NAME + Name of language, e.g. English. + Čeština + + + LANG_ABBREV + Abbreviation of language, e.g. en. Use ISO 639-1 code here! + cs + + + LANG_VERSION + Version of your translation, e.g. 1.0. + 0.01 + + + LANG_AUTHOR + Name of translator - optional. + Martin Rotter + + + LANG_EMAIL + Email of translator - optional. + martinrotter@users.sourceforge.net + + diff --git a/localization/rssguard_en.ts b/localization/rssguard_en.ts index 305ed4131..f171e17a8 100644 --- a/localization/rssguard_en.ts +++ b/localization/rssguard_en.ts @@ -1,4 +1,32 @@ + + QObject + + LANG_NAME + Name of language, e.g. English. + English + + + LANG_ABBREV + Abbreviation of language, e.g. en. Use ISO 639-1 code here! + en + + + LANG_VERSION + Version of your translation, e.g. 1.0. + 0.01 + + + LANG_AUTHOR + Name of translator - optional. + Martin Rotter + + + LANG_EMAIL + Email of translator - optional. + martinrotter@users.sourceforge.net + + diff --git a/resources/graphics/flags/cs.png b/resources/graphics/flags/cs.png new file mode 100644 index 000000000..7a4598046 Binary files /dev/null and b/resources/graphics/flags/cs.png differ diff --git a/resources/graphics/flags/en.png b/resources/graphics/flags/en.png new file mode 100644 index 000000000..531836ec0 Binary files /dev/null and b/resources/graphics/flags/en.png differ diff --git a/src/main.cpp b/src/main.cpp index 5f3b19d2a..9a93daa53 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -11,6 +11,18 @@ int main(int argc, char *argv[]) { + //: Name of language, e.g. English. + QObject::tr("LANG_NAME"); + //: Abbreviation of language, e.g. en. + //: Use ISO 639-1 code here! + QObject::tr("LANG_ABBREV"); + //: Version of your translation, e.g. 1.0. + QObject::tr("LANG_VERSION"); + //: Name of translator - optional. + QObject::tr("LANG_AUTHOR"); + //: Email of translator - optional. + QObject::tr("LANG_EMAIL"); + QApplication a(argc, argv); QMainWindow window; window.show();