Skip to content
Permalink
Browse files
Auto-updating translations, are they even installed? not confortable …
…to delete the .qm's yet . .
  • Loading branch information
annejan committed Nov 3, 2015
1 parent a51b2d6 commit 741c4b7fa109434ad1adb593aaae259b2915c1c4
Showing with 32 additions and 16 deletions.
  1. BIN localization/localization_de_DE.qm
  2. +28 −12 qtpass.pro
  3. +4 −4 resources.qrc
Empty file.
@@ -1,16 +1,32 @@
#-------------------------------------------------
#
# QtPass is a GUI for pass,
# the standard unix password manager.
#
# Project created by QtCreator 2014-07-30T21:56:15
#
#-------------------------------------------------
#----------------------------------------------------------
# #
# QtPass is a GUI for pass, #
# the standard unix password manager. #
# #
# Project started by Anne Jan Brouwer 2014-07-30T21:56:15 #
# #
#----------------------------------------------------------

VERSION = 1.0.4
TEMPLATE = app
QT += core gui

isEmpty(QMAKE_LRELEASE) {
win32|os2:QMAKE_LRELEASE = $$[QT_INSTALL_BINS]\lrelease.exe
else:QMAKE_LRELEASE = $$[QT_INSTALL_BINS]/lrelease
unix {
!exists($$QMAKE_LRELEASE) { QMAKE_LRELEASE = lrelease-qt4 }
} else {
!exists($$QMAKE_LRELEASE) { QMAKE_LRELEASE = lrelease }
}
}

updateqm.input = TRANSLATIONS
updateqm.output = localization/${QMAKE_FILE_BASE}.qm
updateqm.commands = $$QMAKE_LRELEASE ${QMAKE_FILE_IN} -qm localization/${QMAKE_FILE_BASE}.qm
updateqm.CONFIG += no_link target_predeps
QMAKE_EXTRA_COMPILERS += updateqm

greaterThan(QT_MAJOR_VERSION, 4): QT += widgets

macx {
@@ -29,7 +45,7 @@ SOURCES += main.cpp\
keygendialog.cpp \
progressindicator.cpp \
trayicon.cpp \
passworddialog.cpp
passworddialog.cpp

HEADERS += mainwindow.h \
configdialog.h \
@@ -39,13 +55,13 @@ HEADERS += mainwindow.h \
keygendialog.h \
progressindicator.h \
trayicon.h \
passworddialog.h
passworddialog.h

FORMS += mainwindow.ui \
configdialog.ui \
usersdialog.ui \
keygendialog.ui \
passworddialog.ui
passworddialog.ui

QMAKE_CXXFLAGS_WARN_ON += -Wno-unknown-pragmas

@@ -101,6 +117,6 @@ isEmpty(PREFIX) {
}
target.path = $$PREFIX/

INSTALLS += target
INSTALLS += target

DEFINES += "VERSION=\"\\\"$$VERSION\\\"\""
@@ -1,5 +1,9 @@
<RCC>
<qresource prefix="/">
<file>artwork/icon.icns</file>
<file>artwork/icon.ico</file>
<file>artwork/icon.png</file>
<file>artwork/icon.svg</file>
<file>localization/localization_ar_MA.qm</file>
<file>localization/localization_ar_MA.ts</file>
<file>localization/localization_de_DE.qm</file>
@@ -18,10 +22,6 @@
<file>localization/localization_pl_PL.ts</file>
<file>localization/localization_ru_RU.qm</file>
<file>localization/localization_ru_RU.ts</file>
<file>artwork/icon.icns</file>
<file>artwork/icon.ico</file>
<file>artwork/icon.png</file>
<file>artwork/icon.svg</file>
<file>localization/localization_zh_CN.qm</file>
<file>localization/localization_zh_CN.ts</file>
<file>localization/localization_he_IL.ts</file>

0 comments on commit 741c4b7

Please sign in to comment.