diff options
author | Wladimir J. van der Laan <laanwj@gmail.com> | 2016-09-22 07:43:59 +0200 |
---|---|---|
committer | Wladimir J. van der Laan <laanwj@gmail.com> | 2016-09-22 07:44:10 +0200 |
commit | ca69ef4880d116ca0c7ede6ccfdda26fe162568b (patch) | |
tree | e646e13ab201effea7d2517030d8d21dfa5ea468 | |
parent | cf5ebaa921a939cc3a81948a559c1f1ab53d68b6 (diff) | |
parent | faf87aff166489f5b6b63f4274ea995e23e1f4cc (diff) |
Merge #8781: [contrib] delete qt_translations.py
faf87af [contrib] delete qt_translations.py (MarcoFalke)
-rwxr-xr-x | contrib/qt_translations.py | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/contrib/qt_translations.py b/contrib/qt_translations.py deleted file mode 100755 index cfdeed41ab..0000000000 --- a/contrib/qt_translations.py +++ /dev/null @@ -1,25 +0,0 @@ -#!/usr/bin/env python -# Copyright (c) 2011 The Bitcoin Core developers -# Distributed under the MIT software license, see the accompanying -# file COPYING or http://www.opensource.org/licenses/mit-license.php. - -# Helpful little script that spits out a comma-separated list of -# language codes for Qt icons that should be included -# in binary bitcoin distributions - -import glob -import os -import re -import sys - -if len(sys.argv) != 3: - sys.exit("Usage: %s $QTDIR/translations $BITCOINDIR/src/qt/locale"%sys.argv[0]) - -d1 = sys.argv[1] -d2 = sys.argv[2] - -l1 = set([ re.search(r'qt_(.*).qm', f).group(1) for f in glob.glob(os.path.join(d1, 'qt_*.qm')) ]) -l2 = set([ re.search(r'bitcoin_(.*).qm', f).group(1) for f in glob.glob(os.path.join(d2, 'bitcoin_*.qm')) ]) - -print ",".join(sorted(l1.intersection(l2))) - |