From 3cafd94f3eb40531a2a3e3579adec267c5709185 Mon Sep 17 00:00:00 2001 From: fsb4000 Date: Tue, 11 Nov 2014 12:10:32 +0600 Subject: [PATCH] Qt translation MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Нашёл почему 9) и 10) из https://bitcointalk.org/index.php?topic=704756.msg9487677#msg9487677 на английском если собираем c использованием qt-base, и на русском если собираем с использованием qt-everywhere Из-за отсутсвия qttranslations-opensource-src-5.3.2.7z Если к qt-base добавить модуль qttranslations, то тогда будет все переводиться. Поэтому добавил в гайд по сборке под Windows про qttranslations. Если найдёте как исправить перевод при сборке под Linux, то добавьте исправления в файл: "doc\building novacoind and novacoinqt under Linux.txt" --- ...ind and novacoinqt under Windows with MinGW.txt | 11 +++++++++++ 1 files changed, 11 insertions(+), 0 deletions(-) diff --git a/doc/building novacoind and novacoinqt under Windows with MinGW.txt b/doc/building novacoind and novacoinqt under Windows with MinGW.txt index b2fce2a..e3e236a 100644 --- a/doc/building novacoind and novacoinqt under Windows with MinGW.txt +++ b/doc/building novacoind and novacoinqt under Windows with MinGW.txt @@ -108,6 +108,8 @@ mingw32-make -j n , где вместо n количество ядер ваше Qt 5: -Скачайте http://download.qt-project.org/official_releases/qt/5.3/5.3.2/submodules/qtbase-opensource-src-5.3.2.7z http://download.qt-project.org/official_releases/qt/5.3/5.3.2/submodules/qttools-opensource-src-5.3.2.7z +http://download.qt-project.org/official_releases/qt/5.3/5.3.2/submodules/qttranslations-opensource-src-5.3.2.7z + -Распакуйте в C:\Qt -Переименуйте папку qtbase-opensource-src-5.3.2 в 5.3.2 -Откройте командную строку Windows и выполните следующий код: @@ -127,6 +129,9 @@ cd C:\Qt\qttools-opensource-src-5.3.2 qmake qttools.pro mingw32-make +cd C:\Qt\qttranslations-opensource-src-5.3.2 +qmake qttranslations.pro +mingw32-make Qt4: @@ -357,6 +362,8 @@ Qt 5: http://download.qt-project.org/official_releases/qt/5.3/5.3.2/submodules/qttools-opensource-src-5.3.2.7z -Распакуйте в C:\Qt -Переименуйте папку qtbase-opensource-src-5.3.2 в 5.3.2-x64 +-Переименуйте папку qttools-opensource-src-5.3.2 в qttools-opensource-src-5.3.2-x64 +-Переименуйте папку qttranslations-opensource-src-5.3.2 в qttranslations-opensource-src-5.3.2-x64 -Откройте командную строку Windows и выполните следующий код: set INCLUDE=C:\deps\x64\libpng-1.6.12;C:\deps\x64\openssl-1.0.1j\include @@ -374,6 +381,10 @@ cd C:\Qt\qttools-opensource-src-5.3.2-x64 qmake qttools.pro mingw32-make +cd C:\Qt\qttranslations-opensource-src-5.3.2-x64 +qmake qttranslations.pro +mingw32-make + Qt4: -Скачайте http://download.qt-project.org/official_releases/qt/4.8/4.8.6/qt-everywhere-opensource-src-4.8.6.zip -Распакуйте в C:\Qt -- 1.7.1