From 78ed73a4539806af22ed9f6e6be988b95751f985 Mon Sep 17 00:00:00 2001 From: CryptoManiac Date: Mon, 16 Jun 2014 11:30:54 +0400 Subject: [PATCH] Translations update --- src/qt/bitcoingui.cpp | 14 +++--- src/qt/locale/bitcoin_en.ts | 104 +++++++++++++++++++++++++++++++++++++++++++ src/qt/locale/bitcoin_ru.ts | 104 +++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 215 insertions(+), 7 deletions(-) diff --git a/src/qt/bitcoingui.cpp b/src/qt/bitcoingui.cpp index 922a6ae..d8ef290 100644 --- a/src/qt/bitcoingui.cpp +++ b/src/qt/bitcoingui.cpp @@ -254,9 +254,9 @@ void BitcoinGUI::createActions() backupWalletAction = new QAction(QIcon(":/icons/filesave"), tr("&Backup Wallet..."), this); backupWalletAction->setToolTip(tr("Backup wallet to another location")); dumpWalletAction = new QAction(QIcon(":/icons/dump"), tr("&Dump Wallet..."), this); - dumpWalletAction->setStatusTip(tr("Export wallet's keys to a text file")); + dumpWalletAction->setStatusTip(tr("Dump keys to a text file")); importWalletAction = new QAction(QIcon(":/icons/import"), tr("&Import Wallet..."), this); - importWalletAction->setStatusTip(tr("Import a file's keys into a wallet")); + importWalletAction->setStatusTip(tr("Import keys into a wallet")); changePassphraseAction = new QAction(QIcon(":/icons/key"), tr("&Change Passphrase..."), this); changePassphraseAction->setToolTip(tr("Change the passphrase used for wallet encryption")); signMessageAction = new QAction(QIcon(":/icons/edit"), tr("Sign &message..."), this); @@ -904,16 +904,16 @@ void BitcoinGUI::dumpWallet() #else QString saveDir = QStandardPaths::writableLocation(QStandardPaths::DocumentsLocation); #endif - QString filename = QFileDialog::getSaveFileName(this, tr("Export Wallet"), saveDir, tr("Wallet Text (*.txt)")); + QString filename = QFileDialog::getSaveFileName(this, tr("Dump Wallet"), saveDir, tr("Wallet dump (*.txt)")); if(!filename.isEmpty()) { if(!walletModel->dumpWallet(filename)) { - error(tr("DumpWallet Failed"), + error(tr("Dump failed"), tr("An error happened while trying to save the keys to your location.\n" - "Keys were not saved") + "Keys were not saved.") ,CClientUIInterface::MSG_ERROR); } else - message(tr("DumpWallet Successful"), + message(tr("Dump successful"), tr("Keys were saved to this file:\n%2") .arg(filename) ,CClientUIInterface::MSG_INFORMATION); @@ -937,7 +937,7 @@ void BitcoinGUI::importWallet() #else QString openDir = QStandardPaths::writableLocation(QStandardPaths::DocumentsLocation); #endif - QString filename = QFileDialog::getOpenFileName(this, tr("Import Wallet"), openDir, tr("Wallet Text (*.txt)")); + QString filename = QFileDialog::getOpenFileName(this, tr("Import Wallet"), openDir, tr("Wallet dump (*.txt)")); if(!filename.isEmpty()) { if(!walletModel->importWallet(filename)) { error(tr("Import Failed"), diff --git a/src/qt/locale/bitcoin_en.ts b/src/qt/locale/bitcoin_en.ts index e7f562d..9ed194b 100644 --- a/src/qt/locale/bitcoin_en.ts +++ b/src/qt/locale/bitcoin_en.ts @@ -397,10 +397,114 @@ This product includes software developed by the OpenSSL Project for use in the O &Backup Wallet... + + &Dump Wallet... + &Dump Wallet... + + + + Dump Wallet + Dump Wallet + + + + Import Wallet + Import Wallet + + + + Error + Error + + + + Warning + Warning + + + + Information + Information + + + + Dump failed + Dump failed + + + + Import failed + Import failed + + + + Dump successful + Dump successful + + + + Import successful + Import successful + + + + An error happened while trying to import the keys. +Some or all keys from: + %1, + were not imported into your wallet. + An error happened while trying to import the keys. +Some or all keys from: + %1, + were not imported into your wallet. + + + + Keys were saved to this file: +%2 + Keys were saved to this file: +%2 + + + + All keys from: + %1, + were imported into your wallet. + All keys from: + %1, + were imported into your wallet. + + + + An error happened while trying to save the keys to your location. +Keys were not saved. + An error happened while trying to save the keys to your location. +Keys were not saved. + + + + Wallet dump (*.txt) + Wallet dump (*.txt) + + + + &Import Wallet... + &Import Wallet... + + &Change Passphrase... &Change Passphrase... + + + Dump keys to a text file + Dump keys to a text file + + + + Import keys into a wallet + Import keys into a wallet + ~%n block(s) remaining diff --git a/src/qt/locale/bitcoin_ru.ts b/src/qt/locale/bitcoin_ru.ts index bb99298..0fd54fe 100644 --- a/src/qt/locale/bitcoin_ru.ts +++ b/src/qt/locale/bitcoin_ru.ts @@ -397,6 +397,110 @@ This product includes software developed by the OpenSSL Project for use in the O &Сделать резервную копию бумажника + + &Dump Wallet... + &Выгрузка ключей... + + + + Dump Wallet + Выгрузка ключей + + + + Import Wallet + Импорт ключей + + + + Dump failed + Ошибка выгрузки + + + + Import failed + Ошибка импорта + + + + All keys from: + %1, + were imported into your wallet. + Все ключи из файла + %1, + были успешно импортированы. + + + + An error happened while trying to save the keys to your location. +Keys were not saved. + Произошла ошибка при попытке выгрузки ключей в указанный файл. +Ключи не сохранены. + + + + Dump successful + Выгрузка завершена + + + + Import successful + Импорт завершен + + + + Error + Ошибка + + + + Warning + Предупреждение + + + + Information + Сообщение + + + + Keys were saved to this file: +%2 + Ключи сохранены в +%2 + + + + An error happened while trying to import the keys. +Some or all keys from: + %1, + were not imported into your wallet. + При попытке импорта ключей произошла ошибка. +Некоторые, либо все ключи из + %1, + не были импортированы. + + + + Wallet dump (*.txt) + Файл с ключами (*.txt) + + + + &Import Wallet... + &Импорт ключей... + + + + Dump keys to a text file + Выгрузить ключи в текстовый файл + + + + Import keys into a wallet + Импортировать ключи из текстового файла + + &Change Passphrase... &Изменить пароль -- 1.7.1