Don't compile translations files anymore as it caused troubles on Mac OS
Add precompiled translation files Add Norwegian translation Add translation update script git-svn-id: https://svn.code.sf.net/p/keepassx/code/trunk@302 b624d157-de02-0410-bad0-e51aec6abb33
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
----------------------------
|
||||
0.4.0 (2009-03-21)
|
||||
0.4.0 (2009-03-25)
|
||||
----------------------------
|
||||
- Added pronounceable password generator
|
||||
- Added action "Copy URL to Clipboard"
|
||||
@@ -16,7 +16,7 @@
|
||||
- Clear Klipper history when clearing clipboard
|
||||
- Use serif font for all password fields (Bug #2594868)
|
||||
- Redesigned the Settings dialog and added ability to select language
|
||||
- Added Finnish, Gallican, Italian and Turkish translations
|
||||
- Added Finnish, Gallican, Italian, Norwegian and Turkish translations
|
||||
- Cache and protect MasterKey - speeds up saving database
|
||||
- Added 2 new password generator options
|
||||
- Changed default config filename to "config.ini"
|
||||
|
||||
BIN
share/keepassx/i18n/keepassx-de_DE.qm
Normal file
BIN
share/keepassx/i18n/keepassx-de_DE.qm
Normal file
Binary file not shown.
BIN
share/keepassx/i18n/keepassx-es_ES.qm
Normal file
BIN
share/keepassx/i18n/keepassx-es_ES.qm
Normal file
Binary file not shown.
BIN
share/keepassx/i18n/keepassx-fi_FI.qm
Normal file
BIN
share/keepassx/i18n/keepassx-fi_FI.qm
Normal file
Binary file not shown.
BIN
share/keepassx/i18n/keepassx-fr_FR.qm
Normal file
BIN
share/keepassx/i18n/keepassx-fr_FR.qm
Normal file
Binary file not shown.
BIN
share/keepassx/i18n/keepassx-gl_ES.qm
Normal file
BIN
share/keepassx/i18n/keepassx-gl_ES.qm
Normal file
Binary file not shown.
BIN
share/keepassx/i18n/keepassx-it_IT.qm
Normal file
BIN
share/keepassx/i18n/keepassx-it_IT.qm
Normal file
Binary file not shown.
BIN
share/keepassx/i18n/keepassx-nb_NO.qm
Normal file
BIN
share/keepassx/i18n/keepassx-nb_NO.qm
Normal file
Binary file not shown.
BIN
share/keepassx/i18n/keepassx-ru_RU.qm
Normal file
BIN
share/keepassx/i18n/keepassx-ru_RU.qm
Normal file
Binary file not shown.
BIN
share/keepassx/i18n/keepassx-tr_TR.qm
Normal file
BIN
share/keepassx/i18n/keepassx-tr_TR.qm
Normal file
Binary file not shown.
BIN
share/keepassx/i18n/qt_fi.qm
Normal file
BIN
share/keepassx/i18n/qt_fi.qm
Normal file
Binary file not shown.
BIN
share/keepassx/i18n/qt_it.qm
Normal file
BIN
share/keepassx/i18n/qt_it.qm
Normal file
Binary file not shown.
BIN
share/keepassx/i18n/qt_tr.qm
Normal file
BIN
share/keepassx/i18n/qt_tr.qm
Normal file
Binary file not shown.
46
src/src.pro
46
src/src.pro
@@ -149,6 +149,7 @@ TRANSLATIONS_KX = translations/keepassx-de_DE.ts \
|
||||
translations/keepassx-fr_FR.ts \
|
||||
translations/keepassx-gl_ES.ts \
|
||||
translations/keepassx-it_IT.ts \
|
||||
translations/keepassx-nb_NO.ts \
|
||||
translations/keepassx-ru_RU.ts \
|
||||
translations/keepassx-tr_TR.ts
|
||||
|
||||
@@ -160,7 +161,8 @@ TRANSLATIONS_QT = translations/qt_fi.ts \
|
||||
translations/qt_tr.ts
|
||||
|
||||
TRANSLATIONS = $$TRANSLATIONS_KX $$TRANSLATIONS_DISABLED translations/keepassx-xx_XX.ts
|
||||
TRANSLATIONS_COMPILE = $$TRANSLATIONS_KX $$TRANSLATIONS_QT
|
||||
#TRANSLATIONS_UPDATE = $$TRANSLATIONS_KX $$TRANSLATIONS_DISABLED translations/keepassx-xx_XX.ts
|
||||
#TRANSLATIONS_COMPILE = $$TRANSLATIONS_KX $$TRANSLATIONS_QT
|
||||
|
||||
HEADERS += main.h \
|
||||
global.h \
|
||||
@@ -290,25 +292,25 @@ else {
|
||||
|
||||
RESOURCES += res/resources.qrc
|
||||
|
||||
isEmpty(QMAKE_LRELEASE) {
|
||||
win32 {
|
||||
QMAKE_LRELEASE = $$[QT_INSTALL_BINS]\lrelease.exe
|
||||
}
|
||||
else {
|
||||
QMAKE_LRELEASE = $$[QT_INSTALL_BINS]/lrelease-qt4
|
||||
!exists($$QMAKE_LRELEASE) : QMAKE_LRELEASE = $$[QT_INSTALL_BINS]/lrelease
|
||||
}
|
||||
}
|
||||
#isEmpty(QMAKE_LRELEASE) {
|
||||
# win32 {
|
||||
# QMAKE_LRELEASE = $$[QT_INSTALL_BINS]\lrelease.exe
|
||||
# }
|
||||
# else {
|
||||
# QMAKE_LRELEASE = $$[QT_INSTALL_BINS]/lrelease-qt4
|
||||
# !exists($$QMAKE_LRELEASE) : QMAKE_LRELEASE = $$[QT_INSTALL_BINS]/lrelease
|
||||
# }
|
||||
#}
|
||||
|
||||
exists($$QMAKE_LRELEASE) {
|
||||
updateqm.input = TRANSLATIONS_COMPILE
|
||||
updateqm.output = ../share/keepassx/i18n/${QMAKE_FILE_BASE}.qm
|
||||
updateqm.commands = $$QMAKE_LRELEASE ${QMAKE_FILE_IN} -qm ../share/keepassx/i18n/${QMAKE_FILE_BASE}.qm
|
||||
updateqm.CONFIG += no_link
|
||||
|
||||
QMAKE_EXTRA_COMPILERS += updateqm
|
||||
PRE_TARGETDEPS += compiler_updateqm_make_all
|
||||
}
|
||||
else {
|
||||
message("*** lrelease not found - can't compile translation files")
|
||||
}
|
||||
#exists($$QMAKE_LRELEASE) {
|
||||
# updateqm.input = TRANSLATIONS_COMPILE
|
||||
# updateqm.output = ../share/keepassx/i18n/${QMAKE_FILE_BASE}.qm
|
||||
# updateqm.commands = $$QMAKE_LRELEASE ${QMAKE_FILE_IN} -qm ../share/keepassx/i18n/${QMAKE_FILE_BASE}.qm
|
||||
# updateqm.CONFIG += no_link
|
||||
#
|
||||
# QMAKE_EXTRA_COMPILERS += updateqm
|
||||
# PRE_TARGETDEPS += compiler_updateqm_make_all
|
||||
#}
|
||||
#else {
|
||||
# message("*** lrelease not found - can't compile translation files")
|
||||
#}
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
3017
src/translations/keepassx-nb_NO.ts
Normal file
3017
src/translations/keepassx-nb_NO.ts
Normal file
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -16,6 +16,8 @@ fi
|
||||
cd `dirname $0`
|
||||
rm share/keepassx/i18n/*.qm
|
||||
cd src
|
||||
$LRELEASE src.pro
|
||||
$LRELEASE translations/*.ts
|
||||
mv translations/*.qm ../share/keepassx/i18n
|
||||
rm ../share/keepassx/i18n/keepassx-xx_XX.qm
|
||||
rm ../share/keepassx/i18n/keepassx-cs_CZ.qm
|
||||
rm ../share/keepassx/i18n/keepassx-ja_JP.qm
|
||||
|
||||
17
translations_update.sh
Executable file
17
translations_update.sh
Executable file
@@ -0,0 +1,17 @@
|
||||
#!/bin/sh
|
||||
|
||||
LUPDATE=""
|
||||
|
||||
if [ `which lupdate-qt4` ] ; then
|
||||
LUPDATE="`which lupdate-qt4`"
|
||||
elif [ `which lupdate` ] ; then
|
||||
LUPDATE="`which lupdate`"
|
||||
fi
|
||||
|
||||
if [ "$LUPDATE" = "" ] ; then
|
||||
echo "Error: lupdate / lupdate-qt4 not found."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
cd `dirname $0`/src
|
||||
$LUPDATE src.pro
|
||||
Reference in New Issue
Block a user