mumble/scripts
Mikkel Krautz 311f6f7e86 Auto-generate qrc file for embedded Qt translations when running qmake.
This change removes our qmake-based Qt translation embedding.

That system uses mumble_qt.qrc resource file with
hardcoded filenames for Qt translations, and some logic
implemented in qmake that copies Qt translations into
the Mumble source tree such that the paths in the
mumble_qt.qrc file match.

The new system introduces a simple Python script that
takes an output filename for the .qrc file the tool
will write, along with a set of directories containing
Qt translations.

The tool will generate a Qt resource file containing
references to all the translation files found in the
specified directories. However, the tool takes care
to only include language files once.

In typical use, the first directory parameter passed
to the tool is the QT_INSTALL_TRANSLATIONS directory,
which is where Qt stores its own translation files.
The second directory is Mumble's fallback directory.

The tool then goes through all files in the first
directory, and notes down which languages have been
processed. Multiple files for a single langauge can
be included from the a directory (qt_help_da.qm,
and qtbase_da.qm), but once a language has been
added from one directory, it will not be added
if found in the next one in line.

We use this to include a set of 'fallback'
translations for versions of Qt that do not
include them. This also allows this new style
of Qt translation embedding to be forward
compatible with newer versions of Qt that
add new translations.

Once Qt includes a translation that we have
in our fallback directory, the Qt translation
is used instead.
2015-10-17 21:47:42 +02:00
..
development IconSync.cpp: Move Icon creation script 2013-06-15 23:31:11 +02:00
server changed sourceforge links to mumble.info links 2015-07-05 10:43:56 +02:00
gen-mumble_app-qt-def.py Build fixes for the debug variant of the win32-static/win64-static build envs. 2014-08-24 10:36:49 +02:00
generate-ApplicationPalette-class.py Mark shebanged files as executable 2015-05-12 18:51:23 +02:00
generate-cipherinfo.py Use lookup table for cipher info in 'Connection Info' dialog. 2015-10-04 12:42:52 +02:00
generate-mumble_qt-qrc.py Auto-generate qrc file for embedded Qt translations when running qmake. 2015-10-17 21:47:42 +02:00
generate-qrc.py Add generate-qrc.py script as a rcc -project replacement 2015-07-12 01:15:33 +02:00
git2cl.pl scripts: set +x bit for the files people are expected to run. 2014-01-12 22:02:56 +01:00
mkflags.pl scripts: set +x bit for the files people are expected to run. 2014-01-12 22:02:56 +01:00
mkini-win32.bat Update murmur.ini and scripts to disable dbus by default and enable ice. 2014-09-25 23:08:42 +02:00
mkini.sh Update murmur.ini and scripts to disable dbus by default and enable ice. 2014-09-25 23:08:42 +02:00
mklic.pl Move speex, celt-0.7.0, celt-0.11.0, opus and sbcelt to the 3rdparty directory. 2015-01-05 23:11:59 +01:00
mkwrapper.pl scripts: set +x bit for the files people are expected to run. 2014-01-12 22:02:56 +01:00
mumble-overlay Update mumble-overlay script 2011-02-11 23:08:01 -08:00
mumble.desktop Add Keywords to mumble.desktop to satisfy Lintian warning 2015-04-26 00:02:13 +02:00
mumble.protocol More Ubuntu fixes 2007-11-09 01:24:29 +00:00
murmur-user-wrapper Mark shebanged files as executable 2015-05-12 18:51:23 +02:00
murmur.conf Rename ubuntu package from murmur back to mumble-server 2008-01-14 17:29:15 +00:00
murmur.ini Murmur: add support for EDH cipher suites, and for specifying Diffie-Hellman parmeters. 2015-09-26 22:33:49 +02:00
murmur.init Add missing LSB Description to the init script. 2015-04-27 22:58:12 +02:00
murmur.logrotate Make the logrotate fail gracefully if murmur isn't running 2009-03-22 22:37:35 +01:00
murmur.service Harden systemd service 2015-06-13 13:28:46 +02:00
php.ini Include weblist.php using ICE 2008-07-03 12:34:38 +00:00
qt.conf Add proper Qt plugin support to OSX dist script. 2009-09-01 03:07:33 +02:00
rcc-depends.py Fix "RCC: Error in [...]" output that appears when running qmake. 2015-10-13 20:44:57 +02:00
release.pl Move speex, celt-0.7.0, celt-0.11.0, opus and sbcelt to the 3rdparty directory. 2015-01-05 23:11:59 +01:00
scripts.pro categorize scripts (move example scripts for serverside into subfolders) 2013-06-04 21:59:54 +02:00
transtate.py scripts: set +x bit for the files people are expected to run. 2014-01-12 22:02:56 +01:00
ts2html.pl scripts: set +x bit for the files people are expected to run. 2014-01-12 22:02:56 +01:00
updatetranslations.sh Make script for updating translation strings more robust 2015-04-12 00:02:37 +02:00