This commit is contained in:
Aditya Kulkarni
2018-12-04 09:23:43 -08:00
parent 50dacd2786
commit 5c78bc20cf
7 changed files with 8 additions and 6 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@@ -7,7 +7,7 @@
AddressBookModel::AddressBookModel(QTableView *parent)
: QAbstractTableModel(parent) {
headers << "Label" << "Address";
headers << tr("Label") << tr("Address");
this->parent = parent;
loadData();
@@ -106,7 +106,7 @@ void AddressBook::open(MainWindow* parent, QLineEdit* target) {
// If there is no target, the we'll call the button "Ok", else "Pick"
if (target != nullptr) {
ab.buttonBox->button(QDialogButtonBox::Ok)->setText("Pick");
ab.buttonBox->button(QDialogButtonBox::Ok)->setText(QObject::tr("Pick"));
}
// Connect the dialog's closing to updating the label address completor

View File

@@ -10,6 +10,8 @@ $QT_STATIC/bin/lrelease zec-qt-wallet.pro
# Then update the qt base translations. First, get all languages
ls res/*.qm | awk -F '[_.]' '{print $4}' | while read -r language ; do
$QT_STATIC/bin/lconvert -o res/zec_$language.qm $QT_STATIC/translations/qtbase_$language.qm res/zec_qt_wallet_$language.qm
mv res/zec_$language.qm res/zec_qt_wallet_$language.qm
if [ -f $QT_STATIC/translations/qtbase_$language.qm ]; then
$QT_STATIC/bin/lconvert -o res/zec_$language.qm $QT_STATIC/translations/qtbase_$language.qm res/zec_qt_wallet_$language.qm
mv res/zec_$language.qm res/zec_qt_wallet_$language.qm
fi
done

View File

@@ -59,7 +59,7 @@ echo ""
echo "[Building on" `lsb_release -r`"]"
echo -n "Configuring............"
QT_STATIC=$QT_STATIC src/scripts/dotranslations.sh >/dev/null
QT_STATIC=$QT_STATIC bash src/scripts/dotranslations.sh >/dev/null
$QT_STATIC/bin/qmake zec-qt-wallet.pro -spec linux-clang CONFIG+=release > /dev/null
echo "[OK]"

View File

@@ -1 +1 @@
#define APP_VERSION "0.5.1"
#define APP_VERSION "0.5.2"