tMerge pull request #132 from rdymac/patch-26 - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit ca2992113f45ecaeb64cdc3f95ab5d4735f01135 DIR parent 5fe4c5364f83184e6c234576988d5e5d0d174c6a HTML Author: Maran H <maran.hidskes@gmail.com> Date: Mon, 21 Jan 2013 06:10:15 -0800 Merge pull request #132 from rdymac/patch-26 Two more, almost everything is set to be translate Diffstat: M lib/gui_lite.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) --- DIR diff --git a/lib/gui_lite.py b/lib/gui_lite.py t@@ -88,7 +88,8 @@ def load_theme_paths(): def csv_transaction(wallet): try: - fileName = QFileDialog.getSaveFileName(QWidget(), 'Select file to export your wallet transactions to', os.path.expanduser('~/electrum-history.csv'), "*.csv") + select_export = _('Select file to export your wallet transactions to') + fileName = QFileDialog.getSaveFileName(QWidget(), select_export, os.path.expanduser('~/electrum-history.csv'), "*.csv") if fileName: with open(fileName, "w+") as csvfile: transaction = csv.writer(csvfile) t@@ -126,7 +127,8 @@ def csv_transaction(wallet): transaction.writerow([tx_hash, label, confirmations, value_string, fee_string, balance_string, time_string]) QMessageBox.information(None,"CSV Export created", "Your CSV export has been successfully created.") except (IOError, os.error), reason: - QMessageBox.critical(None,"Unable to create csv", "Electrum was unable to produce a transaction export.\n" + str(reason)) + export_error_label = _("Electrum was unable to produce a transaction export.") + QMessageBox.critical(None,"Unable to create csv", export_error_label + "\n" + str(reason)) class ElectrumGui(QObject):