0.5.2
This commit is contained in:
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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]"
|
||||
|
||||
|
||||
@@ -1 +1 @@
|
||||
#define APP_VERSION "0.5.1"
|
||||
#define APP_VERSION "0.5.2"
|
||||
|
||||
Reference in New Issue
Block a user