Browse Source

Merge branch 'pr657'

pull/667/head
Tux3 / Mlkj / !Lev.uXFMLA 11 years ago
parent
commit
ff78fc2916
No known key found for this signature in database
GPG Key ID: 7E086DD661263264
  1. 1
      .gitignore
  2. 13
      qtox.pro
  3. BIN
      translations/bg.qm
  4. BIN
      translations/de.qm
  5. BIN
      translations/fi.qm
  6. BIN
      translations/fr.qm
  7. 39
      translations/i18n.pri
  8. BIN
      translations/it.qm
  9. BIN
      translations/mannol.qm
  10. BIN
      translations/pirate.qm
  11. BIN
      translations/pl.qm
  12. BIN
      translations/ru.qm
  13. BIN
      translations/sv.qm
  14. BIN
      translations/uk.qm

1
.gitignore vendored

@ -6,3 +6,4 @@ ui_*
qrc_* qrc_*
Makefile Makefile
qtox qtox
*.qm

13
qtox.pro

@ -37,17 +37,8 @@ FORMS += \
CONFIG += c++11 CONFIG += c++11
TRANSLATIONS = translations/de.ts \ # Rules for creating/updating {ts|qm}-files
translations/fr.ts \ include(translations/i18n.pri)
translations/it.ts \
translations/ru.ts \
translations/pirate.ts \
translations/pl.ts \
translations/fi.ts \
translations/mannol.ts \
translations/uk.ts \
translations/sv.ts \
translations/bg.ts
RESOURCES += res.qrc RESOURCES += res.qrc

BIN
translations/bg.qm vendored

Binary file not shown.

BIN
translations/de.qm vendored

Binary file not shown.

BIN
translations/fi.qm vendored

Binary file not shown.

BIN
translations/fr.qm vendored

Binary file not shown.

39
translations/i18n.pri vendored

@ -0,0 +1,39 @@
# For autocompiling qm-files.
TRANSLATIONS = translations/bg.ts \
translations/de.ts \
translations/fi.ts \
translations/fr.ts \
translations/it.ts \
translations/mannol.ts \
translations/pirate.ts \
translations/pl.ts \
translations/ru.ts \
translations/sv.ts \
translations/uk.ts
#rules to generate ts
isEmpty(QMAKE_LUPDATE) {
win32: QMAKE_LUPDATE = $$[QT_INSTALL_BINS]/lupdate.exe
else: QMAKE_LUPDATE = $$[QT_INSTALL_BINS]/lupdate
}
#limitation: only on ts can be generated
updatets.name = Creating or updating ts-files...
updatets.input = _PRO_FILE_
updatets.output = $$TRANSLATIONS
updatets.commands = $$QMAKE_LUPDATE ${QMAKE_FILE_IN}
updatets.CONFIG += no_link no_clean
QMAKE_EXTRA_COMPILERS += updatets
#rules for ts->qm
isEmpty(QMAKE_LRELEASE) {
win32: QMAKE_LRELEASE = $$[QT_INSTALL_BINS]/lrelease.exe
else: QMAKE_LRELEASE = $$[QT_INSTALL_BINS]/lrelease
}
updateqm.name = Compiling qm-files...
updateqm.input = TRANSLATIONS
updateqm.output = ${QMAKE_FILE_PATH}/${QMAKE_FILE_BASE}.qm
updateqm.commands = $$QMAKE_LRELEASE ${QMAKE_FILE_IN} -qm ${QMAKE_FILE_PATH}/${QMAKE_FILE_BASE}.qm
updateqm.CONFIG += no_link no_clean target_predeps
QMAKE_EXTRA_COMPILERS += updateqm

BIN
translations/it.qm vendored

Binary file not shown.

BIN
translations/mannol.qm vendored

Binary file not shown.

BIN
translations/pirate.qm vendored

Binary file not shown.

BIN
translations/pl.qm vendored

Binary file not shown.

BIN
translations/ru.qm vendored

Binary file not shown.

BIN
translations/sv.qm vendored

Binary file not shown.

BIN
translations/uk.qm vendored

Binary file not shown.
Loading…
Cancel
Save