Added Russian translation by Neonailol <neonailol@gmail.com>.

This commit is contained in:
LoRd_MuldeR 2011-02-18 20:14:45 +01:00
parent 710b56b69e
commit 26af882003
10 changed files with 2156 additions and 14 deletions

View File

@ -220,6 +220,8 @@ UninstPage Custom un.LockedListShow
;Spanish
!include "..\Translation\LameXP_ES.nsh"
;Russian
!include "..\Translation\LameXP_RU.nsh"
;--------------------------------
;Installer initialization

View File

@ -0,0 +1,40 @@
; ///////////////////////////////////////////////////////////////////////////////
; // LameXP - Audio Encoder Front-End
; // Copyright (C) 2004-2011 LoRd_MuldeR <MuldeR2@GMX.de>
; //
; // This program is free software; you can redistribute it and/or modify
; // it under the terms of the GNU General Public License as published by
; // the Free Software Foundation; either version 2 of the License, or
; // (at your option) any later version.
; //
; // This program is distributed in the hope that it will be useful,
; // but WITHOUT ANY WARRANTY; without even the implied warranty of
; // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
; // GNU General Public License for more details.
; //
; // You should have received a copy of the GNU General Public License along
; // with this program; if not, write to the Free Software Foundation, Inc.,
; // 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
; //
; // http://www.gnu.org/licenses/gpl-2.0.txt
; ///////////////////////////////////////////////////////////////////////////////
LangString LAMEXP_LANG_STATUS_CLOSING ${LANG_RUSSIAN} "Закрываю работающие копии программы, пожалуйста, подождите..."
LangString LAMEXP_LANG_STATUS_INSTFILES ${LANG_RUSSIAN} "Устанавливаю файлы программы, пожалуйста, подождите..."
LangString LAMEXP_LANG_STATUS_MAKEUNINST ${LANG_RUSSIAN} "Создаю деинсталлятор, пожалуйста, подождите..."
LangString LAMEXP_LANG_STATUS_SHORTCUTS ${LANG_RUSSIAN} "Создаю ярлыки, пожалуйста, подождите..."
LangString LAMEXP_LANG_STATUS_REGISTRY ${LANG_RUSSIAN} "Обновляю значения в реестре, пожалуйста, подождите..."
LangString LAMEXP_LANG_STATUS_UNINSTALL ${LANG_RUSSIAN} "Деинсталляция программы, пожалуйста, подождите..."
LangString LAMEXP_LANG_LOCKEDLIST_HEADER ${LANG_RUSSIAN} "Работающие копии программы"
LangString LAMEXP_LANG_LOCKEDLIST_TEXT ${LANG_RUSSIAN} "Проверка на наличие работающих копий программы LameXP."
LangString LAMEXP_LANG_LOCKEDLIST_HEADING ${LANG_RUSSIAN} "Пожалуйста, закройте следующие программы, для продолжения установки..."
LangString LAMEXP_LANG_LOCKEDLIST_NOPROG ${LANG_RUSSIAN} "No programs that have to be closed are running."
LangString LAMEXP_LANG_LOCKEDLIST_SEARCH ${LANG_RUSSIAN} "Поиск, пожалуйста, подождите..."
LangString LAMEXP_LANG_LOCKEDLIST_COLHDR1 ${LANG_RUSSIAN} "Приложение"
LangString LAMEXP_LANG_LOCKEDLIST_COLHDR2 ${LANG_RUSSIAN} "Выполняю"
LangString LAMEXP_LANG_UNINST_PERSONAL ${LANG_RUSSIAN} "Хотите ли вы удалить свои персональные настройки?"
LangString LAMEXP_LANG_LINK_LICENSE ${LANG_RUSSIAN} "Лицензия"
LangString LAMEXP_LANG_LINK_CHANGELOG ${LANG_RUSSIAN} "История версий"
LangString LAMEXP_LANG_LINK_TRANSLATE ${LANG_RUSSIAN} "Руководство Переводчика"
LangString LAMEXP_LANG_LINK_UNINSTALL ${LANG_RUSSIAN} "Деинсталляция"
LangString LAMEXP_LANG_LINK_FAQ ${LANG_RUSSIAN} "Часто Задаваемые Вопросы"

2094
etc/Translation/LameXP_RU.ts Normal file

File diff suppressed because it is too large Load Diff

View File

@ -1,10 +1,11 @@
<!DOCTYPE RCC>
<RCC version="1.0">
<qresource>
<qresource>
<file>flags/de.png</file>
<file>flags/en.png</file>
<file>flags/es.png</file>
<file>flags/fr.png</file>
<file>flags/it.png</file>
</qresource>
<file>flags/ru.png</file>
</qresource>
</RCC>

View File

@ -1,6 +1,6 @@
<!DOCTYPE RCC>
<RCC version="1.0">
<qresource>
<qresource>
<file>localization/LameXP_DE.qm</file>
<file>localization/LameXP_DE.qm.txt</file>
<file>localization/LameXP_FR.qm</file>
@ -9,5 +9,7 @@
<file>localization/LameXP_IT.qm.txt</file>
<file>localization/LameXP_ES.qm</file>
<file>localization/LameXP_ES.qm.txt</file>
<file>localization/LameXP_RU.qm</file>
<file>localization/LameXP_RU.qm.txt</file>
</qresource>
</RCC>

Binary file not shown.

View File

@ -0,0 +1 @@
96,русский

View File

@ -25,7 +25,7 @@
#define VER_LAMEXP_MAJOR 4
#define VER_LAMEXP_MINOR_HI 0
#define VER_LAMEXP_MINOR_LO 0
#define VER_LAMEXP_BUILD 320
#define VER_LAMEXP_BUILD 322
#define VER_LAMEXP_SUFFIX RC-3
/*

View File

@ -1,4 +1,4 @@
///////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////
// LameXP - Audio Encoder Front-End
// Copyright (C) 2004-2011 LoRd_MuldeR <MuldeR2@GMX.de>
//
@ -49,17 +49,18 @@ const char *AboutDialog::neroAacUrl = "http://www.nero.com/eng/technologies-aac-
static const struct
{
char *pcFlag;
char *pcLanguage;
char *pcName;
wchar_t *pcLanguage;
wchar_t *pcName;
char *pcMail;
}
g_lamexp_contributors[] =
{
{"en", "Englisch", "LoRd_MuldeR", "MuldeR2@GMX.de" },
{"de", "Deutsch", "LoRd_MuldeR", "MuldeR2@GMX.de" },
{"fr", "Française", "Dodich Informatique", "Dodich@live.fr" },
{"it", "Italiano", "Roberto", "Gulliver_69@libero.it"},
{"es", "Español", "Rub3nCT", "Rub3nCT@gmail.com" },
{"en", L"Englisch", L"LoRd_MuldeR", "MuldeR2@GMX.de" },
{"de", L"Deutsch", L"LoRd_MuldeR", "MuldeR2@GMX.de" },
{"fr", L"Française", L"Dodich Informatique", "Dodich@live.fr" },
{"it", L"Italiano", L"Roberto", "Gulliver_69@libero.it"},
{"es", L"Español", L"Rub3nCT", "Rub3nCT@gmail.com" },
{"ru", L"русский", L"Neonailol", "Neonailol@gmail.com" },
{NULL, NULL, NULL, NULL}
};
@ -227,8 +228,8 @@ void AboutDialog::showAboutContributors(void)
for(int i = 0; g_lamexp_contributors[i].pcName; i++)
{
contributorsAboutText += QString("<tr><td valign=\"middle\"><img src=\":/flags/%1.png\"></td><td>&nbsp;&nbsp;</td>").arg(g_lamexp_contributors[i].pcFlag);
contributorsAboutText += QString("<td valign=\"middle\">%2</td><td>&nbsp;&nbsp;</td>").arg(g_lamexp_contributors[i].pcLanguage);
contributorsAboutText += QString("<td valign=\"middle\">%3</td><td>&nbsp;&nbsp;</td><td>&lt;%4&gt;</td></tr>").arg(g_lamexp_contributors[i].pcName, g_lamexp_contributors[i].pcMail);
contributorsAboutText += QString("<td valign=\"middle\">%2</td><td>&nbsp;&nbsp;</td>").arg(WCHAR2QSTR(g_lamexp_contributors[i].pcLanguage));
contributorsAboutText += QString("<td valign=\"middle\">%3</td><td>&nbsp;&nbsp;</td><td>&lt;%4&gt;</td></tr>").arg(WCHAR2QSTR(g_lamexp_contributors[i].pcName), g_lamexp_contributors[i].pcMail);
}
contributorsAboutText += "</table>";
contributorsAboutText += "<br><br>";

View File

@ -118,6 +118,7 @@ SIZE_T lamexp_dbg_private_bytes(void);
#define LAMEXP_DELETE(PTR) if(PTR) { delete PTR; PTR = NULL; }
#define LAMEXP_CLOSE(HANDLE) if(HANDLE != NULL && HANDLE != INVALID_HANDLE_VALUE) { CloseHandle(HANDLE); HANDLE = NULL; }
#define QWCHAR(STR) reinterpret_cast<const wchar_t*>(STR.utf16())
#define WCHAR2QSTR(STR) QString::fromUtf16(reinterpret_cast<const unsigned short*>(STR))
#define LAMEXP_DYNCAST(OUT,CLASS,SRC) try { OUT = dynamic_cast<CLASS>(SRC); } catch(std::bad_cast) { OUT = NULL; }
#define LAMEXP_BOOL(X) (X ? "1" : "0")