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
master
sniperbeamer 16 years ago
parent 212f3ac464
commit a1969ef210
  1. 4
      changelog
  2. BIN
      share/keepassx/i18n/keepassx-de_DE.qm
  3. BIN
      share/keepassx/i18n/keepassx-es_ES.qm
  4. BIN
      share/keepassx/i18n/keepassx-fi_FI.qm
  5. BIN
      share/keepassx/i18n/keepassx-fr_FR.qm
  6. BIN
      share/keepassx/i18n/keepassx-gl_ES.qm
  7. BIN
      share/keepassx/i18n/keepassx-it_IT.qm
  8. BIN
      share/keepassx/i18n/keepassx-nb_NO.qm
  9. BIN
      share/keepassx/i18n/keepassx-ru_RU.qm
  10. BIN
      share/keepassx/i18n/keepassx-tr_TR.qm
  11. BIN
      share/keepassx/i18n/qt_fi.qm
  12. BIN
      share/keepassx/i18n/qt_it.qm
  13. BIN
      share/keepassx/i18n/qt_tr.qm
  14. 46
      src/src.pro
  15. 360
      src/translations/keepassx-cs_CZ.ts
  16. 360
      src/translations/keepassx-de_DE.ts
  17. 363
      src/translations/keepassx-es_ES.ts
  18. 360
      src/translations/keepassx-fi_FI.ts
  19. 360
      src/translations/keepassx-fr_FR.ts
  20. 360
      src/translations/keepassx-gl_ES.ts
  21. 360
      src/translations/keepassx-it_IT.ts
  22. 360
      src/translations/keepassx-ja_JP.ts
  23. 3017
      src/translations/keepassx-nb_NO.ts
  24. 360
      src/translations/keepassx-ru_RU.ts
  25. 363
      src/translations/keepassx-tr_TR.ts
  26. 417
      src/translations/keepassx-xx_XX.ts
  27. 4
      translations_release.sh
  28. 17
      translations_update.sh

@ -1,5 +1,5 @@
---------------------------- ----------------------------
0.4.0 (2009-03-21) 0.4.0 (2009-03-25)
---------------------------- ----------------------------
- Added pronounceable password generator - Added pronounceable password generator
- Added action "Copy URL to Clipboard" - Added action "Copy URL to Clipboard"
@ -16,7 +16,7 @@
- Clear Klipper history when clearing clipboard - Clear Klipper history when clearing clipboard
- Use serif font for all password fields (Bug #2594868) - Use serif font for all password fields (Bug #2594868)
- Redesigned the Settings dialog and added ability to select language - 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 - Cache and protect MasterKey - speeds up saving database
- Added 2 new password generator options - Added 2 new password generator options
- Changed default config filename to "config.ini" - Changed default config filename to "config.ini"

Binary file not shown.

Binary file not shown.

Binary file not shown.

@ -149,6 +149,7 @@ TRANSLATIONS_KX = translations/keepassx-de_DE.ts \
translations/keepassx-fr_FR.ts \ translations/keepassx-fr_FR.ts \
translations/keepassx-gl_ES.ts \ translations/keepassx-gl_ES.ts \
translations/keepassx-it_IT.ts \ translations/keepassx-it_IT.ts \
translations/keepassx-nb_NO.ts \
translations/keepassx-ru_RU.ts \ translations/keepassx-ru_RU.ts \
translations/keepassx-tr_TR.ts translations/keepassx-tr_TR.ts
@ -160,7 +161,8 @@ TRANSLATIONS_QT = translations/qt_fi.ts \
translations/qt_tr.ts translations/qt_tr.ts
TRANSLATIONS = $$TRANSLATIONS_KX $$TRANSLATIONS_DISABLED translations/keepassx-xx_XX.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 \ HEADERS += main.h \
global.h \ global.h \
@ -290,25 +292,25 @@ else {
RESOURCES += res/resources.qrc RESOURCES += res/resources.qrc
isEmpty(QMAKE_LRELEASE) { #isEmpty(QMAKE_LRELEASE) {
win32 { # win32 {
QMAKE_LRELEASE = $$[QT_INSTALL_BINS]\lrelease.exe # QMAKE_LRELEASE = $$[QT_INSTALL_BINS]\lrelease.exe
} # }
else { # else {
QMAKE_LRELEASE = $$[QT_INSTALL_BINS]/lrelease-qt4 # QMAKE_LRELEASE = $$[QT_INSTALL_BINS]/lrelease-qt4
!exists($$QMAKE_LRELEASE) : QMAKE_LRELEASE = $$[QT_INSTALL_BINS]/lrelease # !exists($$QMAKE_LRELEASE) : QMAKE_LRELEASE = $$[QT_INSTALL_BINS]/lrelease
} # }
} #}
exists($$QMAKE_LRELEASE) { #exists($$QMAKE_LRELEASE) {
updateqm.input = TRANSLATIONS_COMPILE # updateqm.input = TRANSLATIONS_COMPILE
updateqm.output = ../share/keepassx/i18n/${QMAKE_FILE_BASE}.qm # 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.commands = $$QMAKE_LRELEASE ${QMAKE_FILE_IN} -qm ../share/keepassx/i18n/${QMAKE_FILE_BASE}.qm
updateqm.CONFIG += no_link # updateqm.CONFIG += no_link
#
QMAKE_EXTRA_COMPILERS += updateqm # QMAKE_EXTRA_COMPILERS += updateqm
PRE_TARGETDEPS += compiler_updateqm_make_all # PRE_TARGETDEPS += compiler_updateqm_make_all
} #}
else { #else {
message("*** lrelease not found - can't compile translation files") # 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

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` cd `dirname $0`
rm share/keepassx/i18n/*.qm rm share/keepassx/i18n/*.qm
cd src cd src
$LRELEASE src.pro $LRELEASE translations/*.ts
mv translations/*.qm ../share/keepassx/i18n mv translations/*.qm ../share/keepassx/i18n
rm ../share/keepassx/i18n/keepassx-xx_XX.qm rm ../share/keepassx/i18n/keepassx-xx_XX.qm
rm ../share/keepassx/i18n/keepassx-cs_CZ.qm
rm ../share/keepassx/i18n/keepassx-ja_JP.qm

@ -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