0
0
mirror of https://github.com/fralx/LimeReport.git synced 2024-12-24 16:44:39 +03:00

translation updated

This commit is contained in:
Arin Alexander 2017-12-11 00:29:36 +03:00
parent 1c2439f39b
commit b8bafd08e9
5 changed files with 168 additions and 50 deletions

View File

@ -95,7 +95,7 @@ void ChartItemEditor::init()
ui->tableWidget->setColumnCount(1); ui->tableWidget->setColumnCount(1);
ui->tableWidget->setRowCount(m_charItem->series().count()); ui->tableWidget->setRowCount(m_charItem->series().count());
ui->tableWidget->horizontalHeader()->setStretchLastSection(true); ui->tableWidget->horizontalHeader()->setStretchLastSection(true);
ui->tableWidget->setHorizontalHeaderItem(0,new QTableWidgetItem("Series name")); ui->tableWidget->setHorizontalHeaderItem(0,new QTableWidgetItem(tr("Series name")));
rebuildTable(); rebuildTable();

View File

@ -11,7 +11,7 @@
</rect> </rect>
</property> </property>
<property name="windowTitle"> <property name="windowTitle">
<string>Form</string> <string>Series editor</string>
</property> </property>
<layout class="QVBoxLayout" name="verticalLayout_2"> <layout class="QVBoxLayout" name="verticalLayout_2">
<item> <item>

View File

@ -134,6 +134,19 @@ void QObjectPropertyModel::translatePropertyName()
tr("condition"); tr("condition");
tr("groupFieldName"); tr("groupFieldName");
tr("keepGroupTogether"); tr("keepGroupTogether");
tr("endlessHeight");
tr("extendedHeight");
tr("isExtendedInDesignMode");
tr("pageIsTOC");
tr("setPageSizeToPrinter");
tr("fillInSecondPass");
tr("chartTitle");
tr("chartType");
tr("drawLegendBorder");
tr("labelsField");
tr("legendAlign");
tr("series");
tr("titleAlign");
} }
void QObjectPropertyModel::clearObjectsList() void QObjectPropertyModel::clearObjectsList()

View File

@ -132,6 +132,15 @@ void EnumPropItem::translateEnumItemName()
tr("Horizontal"); tr("Horizontal");
tr("Vertical"); tr("Vertical");
tr("VerticalUniform"); tr("VerticalUniform");
tr("Pie");
tr("VerticalBar");
tr("HorizontalBar");
tr("LegendAlignTop");
tr("LegendAlignCenter");
tr("LegendAlignBottom");
tr("TitleAlignLeft");
tr("TitleAlignRight");
tr("TitleAlignCenter");
} }
void EnumPropItem::setPropertyEditorData(QWidget *propertyEditor, const QModelIndex &) const void EnumPropItem::setPropertyEditorData(QWidget *propertyEditor, const QModelIndex &) const

View File

@ -12,43 +12,51 @@
<name>ChartItemEditor</name> <name>ChartItemEditor</name>
<message> <message>
<source>Form</source> <source>Form</source>
<translation type="unfinished">Форма</translation> <translation type="obsolete">Форма</translation>
</message> </message>
<message> <message>
<source>Series</source> <source>Series</source>
<translation type="unfinished"></translation> <translation>Серии</translation>
</message> </message>
<message> <message>
<source>Add</source> <source>Add</source>
<translation type="unfinished"></translation> <translation>Добавить</translation>
</message> </message>
<message> <message>
<source>Delete</source> <source>Delete</source>
<translation type="unfinished"></translation> <translation>Удалить</translation>
</message> </message>
<message> <message>
<source>Name</source> <source>Name</source>
<translation type="unfinished">Имя переменной</translation> <translation>Наименование</translation>
</message> </message>
<message> <message>
<source>Values field</source> <source>Values field</source>
<translation type="unfinished"></translation> <translation>Значения</translation>
</message> </message>
<message> <message>
<source>Color</source> <source>Color</source>
<translation type="unfinished"></translation> <translation>Цвет</translation>
</message> </message>
<message> <message>
<source>Type</source> <source>Type</source>
<translation type="unfinished">Тип</translation> <translation>Тип</translation>
</message> </message>
<message> <message>
<source>Labels field</source> <source>Labels field</source>
<translation type="unfinished"></translation> <translation>Подписи</translation>
</message> </message>
<message> <message>
<source>Ok</source> <source>Ok</source>
<translation type="unfinished">Ок</translation> <translation>Ок</translation>
</message>
<message>
<source>Series name</source>
<translation>Серии</translation>
</message>
<message>
<source>Series editor</source>
<translation>Редактор серий</translation>
</message> </message>
</context> </context>
<context> <context>
@ -75,18 +83,18 @@
</message> </message>
<message> <message>
<source>Mandatory</source> <source>Mandatory</source>
<translation type="unfinished"></translation> <translation>Обязательная</translation>
</message> </message>
</context> </context>
<context> <context>
<name>LanguageSelectDialog</name> <name>LanguageSelectDialog</name>
<message> <message>
<source>Dialog</source> <source>Dialog</source>
<translation type="unfinished"></translation> <translation>Диалог</translation>
</message> </message>
<message> <message>
<source>Language</source> <source>Language</source>
<translation type="unfinished"></translation> <translation>Язык</translation>
</message> </message>
</context> </context>
<context> <context>
@ -143,7 +151,7 @@ p, li { white-space: pre-wrap; }
&lt;p align=&quot;justify&quot; style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-size:10pt; font-weight:600;&quot;&gt;This library 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.&lt;/span&gt;&lt;/p&gt; &lt;p align=&quot;justify&quot; style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-size:10pt; font-weight:600;&quot;&gt;This library 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.&lt;/span&gt;&lt;/p&gt;
&lt;p align=&quot;justify&quot; style=&quot;-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-size:10pt; font-weight:600; color:#000000;&quot;&gt;&lt;br /&gt;&lt;/p&gt; &lt;p align=&quot;justify&quot; style=&quot;-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-size:10pt; font-weight:600; color:#000000;&quot;&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p align=&quot;justify&quot; style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-size:10pt;&quot;&gt;Copyright 2015 Arin Alexander. All rights reserved.&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</source> &lt;p align=&quot;justify&quot; style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-size:10pt;&quot;&gt;Copyright 2015 Arin Alexander. All rights reserved.&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</source>
<translation type="unfinished"></translation> <translation></translation>
</message> </message>
<message> <message>
<source>&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0//EN&quot; &quot;http://www.w3.org/TR/REC-html40/strict.dtd&quot;&gt; <source>&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0//EN&quot; &quot;http://www.w3.org/TR/REC-html40/strict.dtd&quot;&gt;
@ -390,15 +398,15 @@ p, li { white-space: pre-wrap; }
</message> </message>
<message> <message>
<source>Keep bottom space</source> <source>Keep bottom space</source>
<translation type="unfinished"></translation> <translation>Сохранять отступ снизу</translation>
</message> </message>
<message> <message>
<source>Start from new page</source> <source>Start from new page</source>
<translation type="unfinished"></translation> <translation>Начинать с новой страницы</translation>
</message> </message>
<message> <message>
<source>Start new page</source> <source>Start new page</source>
<translation type="unfinished"></translation> <translation>Начинать новую страницу</translation>
</message> </message>
</context> </context>
<context> <context>
@ -746,15 +754,15 @@ p, li { white-space: pre-wrap; }
</message> </message>
<message> <message>
<source>NoneAutoWidth</source> <source>NoneAutoWidth</source>
<translation type="unfinished">Нет</translation> <translation>Нет</translation>
</message> </message>
<message> <message>
<source>MaxWordLength</source> <source>MaxWordLength</source>
<translation type="unfinished">По ширине слова</translation> <translation>По ширине слова</translation>
</message> </message>
<message> <message>
<source>MaxStringLength</source> <source>MaxStringLength</source>
<translation type="unfinished">По ширине строки</translation> <translation>По ширине строки</translation>
</message> </message>
<message> <message>
<source>TransparentMode</source> <source>TransparentMode</source>
@ -920,6 +928,42 @@ p, li { white-space: pre-wrap; }
<source>VerticalUniform</source> <source>VerticalUniform</source>
<translation>Вертикально равномерно</translation> <translation>Вертикально равномерно</translation>
</message> </message>
<message>
<source>Pie</source>
<translation>Круговая</translation>
</message>
<message>
<source>VerticalBar</source>
<translation>Вертикальные столбцы</translation>
</message>
<message>
<source>HorizontalBar</source>
<translation>Горизонтальные столбцы</translation>
</message>
<message>
<source>LegendAlignTop</source>
<translation>Сверху</translation>
</message>
<message>
<source>LegendAlignCenter</source>
<translation>По центру</translation>
</message>
<message>
<source>LegendAlignBottom</source>
<translation>Снизу</translation>
</message>
<message>
<source>TitleAlignLeft</source>
<translation>Слева</translation>
</message>
<message>
<source>TitleAlignRight</source>
<translation>Справа</translation>
</message>
<message>
<source>TitleAlignCenter</source>
<translation>По цетру</translation>
</message>
</context> </context>
<context> <context>
<name>LimeReport::FlagsPropItem</name> <name>LimeReport::FlagsPropItem</name>
@ -1712,6 +1756,58 @@ p, li { white-space: pre-wrap; }
<source>repeatOnEachRow</source> <source>repeatOnEachRow</source>
<translation>Печатать на каждой странице</translation> <translation>Печатать на каждой странице</translation>
</message> </message>
<message>
<source>endlessHeight</source>
<translation>Бесконечная страница</translation>
</message>
<message>
<source>extendedHeight</source>
<translation>Дополнителная высота</translation>
</message>
<message>
<source>isExtendedInDesignMode</source>
<translation>Увеличенный размер в дизайнере</translation>
</message>
<message>
<source>pageIsTOC</source>
<translation>Оглавление</translation>
</message>
<message>
<source>setPageSizeToPrinter</source>
<translation>Отправлять размер страницы принтеру</translation>
</message>
<message>
<source>fillInSecondPass</source>
<translation>Заполнять на втором проходе</translation>
</message>
<message>
<source>chartTitle</source>
<translation>Заголовок диаграммы</translation>
</message>
<message>
<source>chartType</source>
<translation>Тип диаграммы</translation>
</message>
<message>
<source>drawLegendBorder</source>
<translation>Границы вокруг легенды</translation>
</message>
<message>
<source>labelsField</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>legendAlign</source>
<translation>Расположение легенды</translation>
</message>
<message>
<source>series</source>
<translation>Серии</translation>
</message>
<message>
<source>titleAlign</source>
<translation>Расположение заголовка</translation>
</message>
</context> </context>
<context> <context>
<name>LimeReport::RectMMPropItem</name> <name>LimeReport::RectMMPropItem</name>
@ -1759,7 +1855,7 @@ p, li { white-space: pre-wrap; }
</message> </message>
<message> <message>
<source>Translations</source> <source>Translations</source>
<translation type="unfinished"></translation> <translation>Переводы</translation>
</message> </message>
</context> </context>
<context> <context>
@ -2059,7 +2155,7 @@ This preview is no longer valid.</source>
</message> </message>
<message> <message>
<source>Language %1 already exists</source> <source>Language %1 already exists</source>
<translation type="unfinished"></translation> <translation>Перевод %1 уже существует!</translation>
</message> </message>
</context> </context>
<context> <context>
@ -2249,15 +2345,15 @@ This preview is no longer valid.</source>
<name>LimeReport::ScriptEditor</name> <name>LimeReport::ScriptEditor</name>
<message> <message>
<source>Form</source> <source>Form</source>
<translation type="unfinished">Форма</translation> <translation>Форма</translation>
</message> </message>
<message> <message>
<source>Data</source> <source>Data</source>
<translation type="unfinished">Данные</translation> <translation>Данные</translation>
</message> </message>
<message> <message>
<source>Functions</source> <source>Functions</source>
<translation type="unfinished">Функции</translation> <translation>Функции</translation>
</message> </message>
</context> </context>
<context> <context>
@ -2347,35 +2443,35 @@ This preview is no longer valid.</source>
</message> </message>
<message> <message>
<source>Datasource</source> <source>Datasource</source>
<translation type="unfinished">Источник данных</translation> <translation>Источник данных</translation>
</message> </message>
<message> <message>
<source>ValueField</source> <source>ValueField</source>
<translation type="unfinished"></translation> <translation>Поле значения</translation>
</message> </message>
<message> <message>
<source>KeyField</source> <source>KeyField</source>
<translation type="unfinished"></translation> <translation>Поле ключа</translation>
</message> </message>
<message> <message>
<source>KeyFieldValue</source> <source>KeyFieldValue</source>
<translation type="unfinished"></translation> <translation>Значение поля ключа</translation>
</message> </message>
<message> <message>
<source>Unique identifier</source> <source>Unique identifier</source>
<translation type="unfinished"></translation> <translation>Уникальный идентификатор</translation>
</message> </message>
<message> <message>
<source>Content</source> <source>Content</source>
<translation type="unfinished">Содержимое</translation> <translation>Содержимое</translation>
</message> </message>
<message> <message>
<source>Indent</source> <source>Indent</source>
<translation type="unfinished"></translation> <translation>Отступ</translation>
</message> </message>
<message> <message>
<source>datasourceName</source> <source>datasourceName</source>
<translation type="unfinished"></translation> <translation>Источника данных</translation>
</message> </message>
</context> </context>
<context> <context>
@ -2551,47 +2647,47 @@ This preview is no longer valid.</source>
<name>LimeReport::TranslationEditor</name> <name>LimeReport::TranslationEditor</name>
<message> <message>
<source>Form</source> <source>Form</source>
<translation type="unfinished">Форма</translation> <translation>Форма</translation>
</message> </message>
<message> <message>
<source>Languages</source> <source>Languages</source>
<translation type="unfinished"></translation> <translation>Языки</translation>
</message> </message>
<message> <message>
<source>...</source> <source>...</source>
<translation type="unfinished">...</translation> <translation>...</translation>
</message> </message>
<message> <message>
<source>Pages</source> <source>Pages</source>
<translation type="unfinished"></translation> <translation>Страницы</translation>
</message> </message>
<message> <message>
<source>Strings</source> <source>Strings</source>
<translation type="unfinished"></translation> <translation>Строки</translation>
</message> </message>
<message> <message>
<source>Source Text</source> <source>Source Text</source>
<translation type="unfinished"></translation> <translation>Исходный текст</translation>
</message> </message>
<message> <message>
<source>Translation</source> <source>Translation</source>
<translation type="unfinished"></translation> <translation>Превод</translation>
</message> </message>
<message> <message>
<source>Checked</source> <source>Checked</source>
<translation type="unfinished"></translation> <translation>Проверено</translation>
</message> </message>
<message> <message>
<source>Report Item</source> <source>Report Item</source>
<translation type="unfinished"></translation> <translation>Элемент отчета</translation>
</message> </message>
<message> <message>
<source>Property</source> <source>Property</source>
<translation type="unfinished"></translation> <translation>Свойство</translation>
</message> </message>
<message> <message>
<source>Source text</source> <source>Source text</source>
<translation type="unfinished"></translation> <translation>Исходный текст</translation>
</message> </message>
</context> </context>
<context> <context>
@ -2825,19 +2921,19 @@ This preview is no longer valid.</source>
</message> </message>
<message> <message>
<source>Chart Item</source> <source>Chart Item</source>
<translation type="unfinished"></translation> <translation>Диаграмма</translation>
</message> </message>
<message> <message>
<source>First</source> <source>First</source>
<translation type="unfinished"></translation> <translation>Первая</translation>
</message> </message>
<message> <message>
<source>Second</source> <source>Second</source>
<translation type="unfinished"></translation> <translation>Вторая</translation>
</message> </message>
<message> <message>
<source>Thrid</source> <source>Thrid</source>
<translation type="unfinished"></translation> <translation>Третья</translation>
</message> </message>
</context> </context>
</TS> </TS>