mirror of
https://gitea.msk.dinamika-avia.ru/Constanta-Design/RRJServer.git
synced 2026-03-28 19:55:48 +03:00
ref: change to ENG
This commit is contained in:
@@ -11,6 +11,6 @@ void NotifyController::showWarning(QString text)
|
|||||||
warning.setText(text);
|
warning.setText(text);
|
||||||
|
|
||||||
warning.setIcon(QMessageBox::Warning);
|
warning.setIcon(QMessageBox::Warning);
|
||||||
warning.setWindowTitle(tr("Ошибка"));
|
warning.setWindowTitle(tr("Error"));
|
||||||
warning.exec();
|
warning.exec();
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -364,17 +364,17 @@ void RecognizeSystem::xmlParser(QByteArray array)
|
|||||||
|
|
||||||
if (value == "BASEDELETETRY")
|
if (value == "BASEDELETETRY")
|
||||||
{
|
{
|
||||||
emit sigNotify(tr("Нельзя удалять базовую версию"));
|
emit sigNotify(tr("You cannot delete the basic version!"));
|
||||||
}
|
}
|
||||||
|
|
||||||
if (value == "TRYACTIVEDELETE")
|
if (value == "TRYACTIVEDELETE")
|
||||||
{
|
{
|
||||||
emit sigNotify(tr("Нельзя удалять активную версию"));
|
emit sigNotify(tr("You cannot delete the active version"));
|
||||||
}
|
}
|
||||||
|
|
||||||
if (value == "DUPLICATEVERNAME")
|
if (value == "DUPLICATEVERNAME")
|
||||||
{
|
{
|
||||||
emit sigNotify(tr("Такое имя уже существет"));
|
emit sigNotify(tr("This name already exists"));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -67,7 +67,7 @@
|
|||||||
</sizepolicy>
|
</sizepolicy>
|
||||||
</property>
|
</property>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>Базовая версия:</string>
|
<string>Basic version:</string>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
@@ -118,7 +118,7 @@
|
|||||||
</size>
|
</size>
|
||||||
</property>
|
</property>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>Новое название:</string>
|
<string>New name version:</string>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
@@ -189,7 +189,7 @@
|
|||||||
</sizepolicy>
|
</sizepolicy>
|
||||||
</property>
|
</property>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>Создать</string>
|
<string>Create</string>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
@@ -218,7 +218,7 @@
|
|||||||
</sizepolicy>
|
</sizepolicy>
|
||||||
</property>
|
</property>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>Отмена</string>
|
<string>Cancel</string>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
|
|||||||
@@ -22,7 +22,7 @@ void VersionSelectWidget::initialize(SendSystem *sendSystem,VersionContainer *ve
|
|||||||
connect(this,&VersionSelectWidget::sigSendNotify,notifyController,&NotifyController::showWarning,Qt::AutoConnection);
|
connect(this,&VersionSelectWidget::sigSendNotify,notifyController,&NotifyController::showWarning,Qt::AutoConnection);
|
||||||
this->versionContainer = versionContainer;
|
this->versionContainer = versionContainer;
|
||||||
hide();
|
hide();
|
||||||
setWindowTitle(tr("Управление версиями"));
|
setWindowTitle(tr("Version control"));
|
||||||
}
|
}
|
||||||
|
|
||||||
void VersionSelectWidget::fillView(QList<StreamingVersionData *> *serverData)
|
void VersionSelectWidget::fillView(QList<StreamingVersionData *> *serverData)
|
||||||
@@ -44,10 +44,10 @@ void VersionSelectWidget::on_verListView_itemDoubleClicked(QListWidgetItem *item
|
|||||||
{
|
{
|
||||||
if(data->getViewName() == item->text())
|
if(data->getViewName() == item->text())
|
||||||
{
|
{
|
||||||
QString info = "Имя версии: " + data->getViewName() + "\n";
|
QString info = tr("Version name: ") + data->getViewName() + "\n";
|
||||||
info.append("Создан: " + data->getCreateData().toString() + "\n");
|
info.append(tr("Created: ") + data->getCreateData().toString() + "\n");
|
||||||
info.append("Изменяемый: " + changableText(data->getIsChangeable()) + "\n");
|
info.append(tr("Changeable: ") + changableText(data->getIsChangeable()) + "\n");
|
||||||
info.append("Автор: " + data->getAuthor());
|
info.append(tr("Author: ") + data->getAuthor());
|
||||||
ui->infoValue->setText(info);
|
ui->infoValue->setText(info);
|
||||||
selectedVersion = data;
|
selectedVersion = data;
|
||||||
}
|
}
|
||||||
@@ -56,8 +56,8 @@ void VersionSelectWidget::on_verListView_itemDoubleClicked(QListWidgetItem *item
|
|||||||
|
|
||||||
QString VersionSelectWidget::changableText(bool flag)
|
QString VersionSelectWidget::changableText(bool flag)
|
||||||
{
|
{
|
||||||
if(flag) return tr("Да");
|
if(flag) return tr("Yes");
|
||||||
else return tr("Нет");
|
else return tr("No");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@@ -74,7 +74,7 @@ void VersionSelectWidget::sendCopyEmit(QString newName)
|
|||||||
|
|
||||||
if (selectedVersion == nullptr)
|
if (selectedVersion == nullptr)
|
||||||
{
|
{
|
||||||
sigSendNotify(tr("Версия не выбрана"));
|
sigSendNotify(tr("Version not selected"));
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -86,7 +86,7 @@ void VersionSelectWidget::on_DeleteVersionButton_clicked()
|
|||||||
{
|
{
|
||||||
if (selectedVersion == nullptr)
|
if (selectedVersion == nullptr)
|
||||||
{
|
{
|
||||||
sigSendNotify(tr("Версия не выбрана"));
|
sigSendNotify(tr("Version not selected"));
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -97,7 +97,7 @@ void VersionSelectWidget::on_switchServerVersionButton_clicked()
|
|||||||
{
|
{
|
||||||
if (selectedVersion == nullptr)
|
if (selectedVersion == nullptr)
|
||||||
{
|
{
|
||||||
sigSendNotify(tr("Версия не выбрана"));
|
sigSendNotify(tr("Version not selected"));
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -48,15 +48,15 @@
|
|||||||
<widget class="QLabel" name="verListTitle">
|
<widget class="QLabel" name="verListTitle">
|
||||||
<property name="font">
|
<property name="font">
|
||||||
<font>
|
<font>
|
||||||
<family>Calibri</family>
|
<family>MS Shell Dlg 2</family>
|
||||||
<pointsize>12</pointsize>
|
<pointsize>8</pointsize>
|
||||||
</font>
|
</font>
|
||||||
</property>
|
</property>
|
||||||
<property name="contextMenuPolicy">
|
<property name="contextMenuPolicy">
|
||||||
<enum>Qt::PreventContextMenu</enum>
|
<enum>Qt::PreventContextMenu</enum>
|
||||||
</property>
|
</property>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>Доступные версии на сервере</string>
|
<string>Available versions on the server:</string>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
@@ -103,7 +103,7 @@
|
|||||||
</font>
|
</font>
|
||||||
</property>
|
</property>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>Создать копию</string>
|
<string>Create copy</string>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
@@ -127,7 +127,7 @@
|
|||||||
</font>
|
</font>
|
||||||
</property>
|
</property>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>Удалить</string>
|
<string>Delete</string>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
@@ -147,7 +147,7 @@
|
|||||||
</font>
|
</font>
|
||||||
</property>
|
</property>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>Переключить версию сервера</string>
|
<string>Change server version</string>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
@@ -175,7 +175,7 @@
|
|||||||
</sizepolicy>
|
</sizepolicy>
|
||||||
</property>
|
</property>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>Информация:</string>
|
<string>Info:</string>
|
||||||
</property>
|
</property>
|
||||||
<property name="alignment">
|
<property name="alignment">
|
||||||
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set>
|
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set>
|
||||||
@@ -185,7 +185,7 @@
|
|||||||
<item>
|
<item>
|
||||||
<widget class="QLabel" name="infoValue">
|
<widget class="QLabel" name="infoValue">
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>Тут будет информация о версии...</string>
|
<string>Double click on the version to see information...</string>
|
||||||
</property>
|
</property>
|
||||||
<property name="alignment">
|
<property name="alignment">
|
||||||
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set>
|
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set>
|
||||||
@@ -220,7 +220,7 @@
|
|||||||
<item>
|
<item>
|
||||||
<widget class="QLabel" name="verTitle">
|
<widget class="QLabel" name="verTitle">
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>Текущая версия сервера:</string>
|
<string>Current server version:</string>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
|
|||||||
Reference in New Issue
Block a user