refact ui
@@ -67,8 +67,9 @@ QGroupBox::title {
|
|||||||
|
|
||||||
|
|
||||||
QPushButton, QToolButton {
|
QPushButton, QToolButton {
|
||||||
border: 3px solid #8f8f91;
|
border: 3px outset /*#2d5585*/gray;
|
||||||
border-style: outset;
|
/*border: 3px solid #8f8f91;
|
||||||
|
border-style: outset;*/
|
||||||
border-radius: 5px;
|
border-radius: 5px;
|
||||||
background-color: #5d85B5;
|
background-color: #5d85B5;
|
||||||
min-width: 75px;
|
min-width: 75px;
|
||||||
@@ -113,11 +114,10 @@ QPushButton:flat, QToolButton:flat {
|
|||||||
}
|
}
|
||||||
QPushButton:disabled, QToolButton:disabled {
|
QPushButton:disabled, QToolButton:disabled {
|
||||||
background-color: #777777;
|
background-color: #777777;
|
||||||
|
/*border-color: gray;*/
|
||||||
}
|
}
|
||||||
QPushButton:default, QToolButton:default {
|
QPushButton:default, QToolButton:default {
|
||||||
border-color: white; /*make the default button prominent */
|
border-color: #2d5585;
|
||||||
border-width: 4px;
|
|
||||||
border: 3px outset #2d5585;
|
|
||||||
}
|
}
|
||||||
QPushButton:hover , QToolButton:hover {
|
QPushButton:hover , QToolButton:hover {
|
||||||
background-color: #9dc5f5;
|
background-color: #9dc5f5;
|
||||||
@@ -127,9 +127,6 @@ QPushButton:pressed, QToolButton:pressed {
|
|||||||
border-style: inset;
|
border-style: inset;
|
||||||
}
|
}
|
||||||
QPushButton:checked, QToolButton:checked {
|
QPushButton:checked, QToolButton:checked {
|
||||||
background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,
|
|
||||||
stop: 0 #dadbde, stop: 1 #f6f7fa);
|
|
||||||
background-color: #9dc5f5;
|
|
||||||
background-color: #8db5e5;
|
background-color: #8db5e5;
|
||||||
border-style: inset;
|
border-style: inset;
|
||||||
}
|
}
|
||||||
@@ -161,7 +158,7 @@ QTreeWidget {
|
|||||||
border: 2px solid white;
|
border: 2px solid white;
|
||||||
}
|
}
|
||||||
QTreeWidget::item {
|
QTreeWidget::item {
|
||||||
height: 34px;
|
height: 34px;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*Бранчи*/
|
/*Бранчи*/
|
||||||
@@ -189,6 +186,8 @@ QTreeWidget::branch:open:has-children:has-siblings {
|
|||||||
QTreeWidget::item:hover,
|
QTreeWidget::item:hover,
|
||||||
QTreeWidget::branch:hover {
|
QTreeWidget::branch:hover {
|
||||||
background: #EEEEEE;
|
background: #EEEEEE;
|
||||||
|
/*border: 1px solid #6c6c6c;*/
|
||||||
|
/*border-radius: 3px;*/
|
||||||
}
|
}
|
||||||
|
|
||||||
QTreeWidget::item:selected {
|
QTreeWidget::item:selected {
|
||||||
|
|||||||
|
Before Width: | Height: | Size: 2.5 KiB After Width: | Height: | Size: 8.4 KiB |
|
Before Width: | Height: | Size: 15 KiB After Width: | Height: | Size: 13 KiB |
|
Before Width: | Height: | Size: 34 KiB After Width: | Height: | Size: 31 KiB |
|
Before Width: | Height: | Size: 2.5 KiB After Width: | Height: | Size: 16 KiB |
|
Before Width: | Height: | Size: 3.8 KiB After Width: | Height: | Size: 4.5 KiB |
|
Before Width: | Height: | Size: 2.7 KiB After Width: | Height: | Size: 5.7 KiB |
|
Before Width: | Height: | Size: 11 KiB |
|
Before Width: | Height: | Size: 10 KiB After Width: | Height: | Size: 11 KiB |
BIN
LibInstructorsAndTrainees/resources/icons/old/delete.png
Normal file
|
After Width: | Height: | Size: 2.5 KiB |
BIN
LibInstructorsAndTrainees/resources/icons/old/exchange.png
Normal file
|
After Width: | Height: | Size: 12 KiB |
BIN
LibInstructorsAndTrainees/resources/icons/old/exchange_.png
Normal file
|
After Width: | Height: | Size: 15 KiB |
BIN
LibInstructorsAndTrainees/resources/icons/old/eye.png
Normal file
|
After Width: | Height: | Size: 34 KiB |
BIN
LibInstructorsAndTrainees/resources/icons/old/filter.png
Normal file
|
After Width: | Height: | Size: 2.5 KiB |
BIN
LibInstructorsAndTrainees/resources/icons/old/lms.png
Normal file
|
After Width: | Height: | Size: 3.8 KiB |
BIN
LibInstructorsAndTrainees/resources/icons/old/lms_.png
Normal file
|
After Width: | Height: | Size: 4.5 KiB |
BIN
LibInstructorsAndTrainees/resources/icons/old/login-user.png
Normal file
|
After Width: | Height: | Size: 2.7 KiB |
BIN
LibInstructorsAndTrainees/resources/icons/old/login-user_.png
Normal file
|
After Width: | Height: | Size: 14 KiB |
BIN
LibInstructorsAndTrainees/resources/icons/old/login-user__.png
Normal file
|
After Width: | Height: | Size: 14 KiB |
BIN
LibInstructorsAndTrainees/resources/icons/old/new.png
Normal file
|
After Width: | Height: | Size: 10 KiB |
|
Before Width: | Height: | Size: 23 KiB After Width: | Height: | Size: 23 KiB |
|
Before Width: | Height: | Size: 10 KiB After Width: | Height: | Size: 10 KiB |
@@ -19,6 +19,10 @@ DialogVersionControl::DialogVersionControl(ConnectorToServer* connectorToServer,
|
|||||||
{
|
{
|
||||||
ui->setupUi(this);
|
ui->setupUi(this);
|
||||||
|
|
||||||
|
ui->createDuplicateButton->setObjectName("createDuplicateButton");
|
||||||
|
ui->deleteVersionButton->setObjectName("deleteVersionButton");
|
||||||
|
ui->switchServerVersionButton->setObjectName("switchServerVersionButton");
|
||||||
|
|
||||||
setMinimumSize(500, 300);
|
setMinimumSize(500, 300);
|
||||||
setWindowFlags(windowFlags() & ~Qt::WindowContextHelpButtonHint);
|
setWindowFlags(windowFlags() & ~Qt::WindowContextHelpButtonHint);
|
||||||
setWindowTitle(tr("Version control"));
|
setWindowTitle(tr("Version control"));
|
||||||
|
|||||||
@@ -34,19 +34,25 @@
|
|||||||
<item>
|
<item>
|
||||||
<layout class="QVBoxLayout" name="actualServerListLayout">
|
<layout class="QVBoxLayout" name="actualServerListLayout">
|
||||||
<property name="leftMargin">
|
<property name="leftMargin">
|
||||||
<number>5</number>
|
<number>0</number>
|
||||||
</property>
|
</property>
|
||||||
<property name="topMargin">
|
<property name="topMargin">
|
||||||
<number>5</number>
|
<number>0</number>
|
||||||
</property>
|
</property>
|
||||||
<property name="rightMargin">
|
<property name="rightMargin">
|
||||||
<number>5</number>
|
<number>0</number>
|
||||||
</property>
|
</property>
|
||||||
<property name="bottomMargin">
|
<property name="bottomMargin">
|
||||||
<number>5</number>
|
<number>0</number>
|
||||||
</property>
|
</property>
|
||||||
<item>
|
<item>
|
||||||
<widget class="QLabel" name="verListTitle">
|
<widget class="QLabel" name="verListTitle">
|
||||||
|
<property name="sizePolicy">
|
||||||
|
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
|
||||||
|
<horstretch>0</horstretch>
|
||||||
|
<verstretch>0</verstretch>
|
||||||
|
</sizepolicy>
|
||||||
|
</property>
|
||||||
<property name="font">
|
<property name="font">
|
||||||
<font>
|
<font>
|
||||||
<family>MS Shell Dlg 2</family>
|
<family>MS Shell Dlg 2</family>
|
||||||
@@ -59,10 +65,26 @@
|
|||||||
<property name="text">
|
<property name="text">
|
||||||
<string>Available versions on the server:</string>
|
<string>Available versions on the server:</string>
|
||||||
</property>
|
</property>
|
||||||
|
<property name="alignment">
|
||||||
|
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set>
|
||||||
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<widget class="QListWidget" name="verListView"/>
|
<widget class="QListWidget" name="verListView">
|
||||||
|
<property name="sizePolicy">
|
||||||
|
<sizepolicy hsizetype="Fixed" vsizetype="Expanding">
|
||||||
|
<horstretch>0</horstretch>
|
||||||
|
<verstretch>0</verstretch>
|
||||||
|
</sizepolicy>
|
||||||
|
</property>
|
||||||
|
<property name="minimumSize">
|
||||||
|
<size>
|
||||||
|
<width>250</width>
|
||||||
|
<height>0</height>
|
||||||
|
</size>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
</layout>
|
</layout>
|
||||||
</item>
|
</item>
|
||||||
@@ -90,26 +112,13 @@
|
|||||||
<item>
|
<item>
|
||||||
<widget class="QLabel" name="infoValue">
|
<widget class="QLabel" name="infoValue">
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>Double click on the version to see information...</string>
|
<string>InfoValue</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>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
<item>
|
|
||||||
<spacer name="verticalSpacer">
|
|
||||||
<property name="orientation">
|
|
||||||
<enum>Qt::Vertical</enum>
|
|
||||||
</property>
|
|
||||||
<property name="sizeHint" stdset="0">
|
|
||||||
<size>
|
|
||||||
<width>20</width>
|
|
||||||
<height>40</height>
|
|
||||||
</size>
|
|
||||||
</property>
|
|
||||||
</spacer>
|
|
||||||
</item>
|
|
||||||
<item>
|
<item>
|
||||||
<layout class="QHBoxLayout" name="ServerInfoLayout">
|
<layout class="QHBoxLayout" name="ServerInfoLayout">
|
||||||
<item>
|
<item>
|
||||||
@@ -117,6 +126,9 @@
|
|||||||
<property name="text">
|
<property name="text">
|
||||||
<string>Current server version:</string>
|
<string>Current server version:</string>
|
||||||
</property>
|
</property>
|
||||||
|
<property name="alignment">
|
||||||
|
<set>Qt::AlignBottom|Qt::AlignLeading|Qt::AlignLeft</set>
|
||||||
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
<item>
|
<item>
|
||||||
@@ -124,6 +136,9 @@
|
|||||||
<property name="text">
|
<property name="text">
|
||||||
<string>none</string>
|
<string>none</string>
|
||||||
</property>
|
</property>
|
||||||
|
<property name="alignment">
|
||||||
|
<set>Qt::AlignBottom|Qt::AlignLeading|Qt::AlignLeft</set>
|
||||||
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
</layout>
|
</layout>
|
||||||
@@ -133,10 +148,23 @@
|
|||||||
</layout>
|
</layout>
|
||||||
</item>
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<layout class="QHBoxLayout" name="ButtonLayout" stretch="0,0,0">
|
<layout class="QHBoxLayout" name="ButtonLayout" stretch="0,0,0,0,0">
|
||||||
<property name="spacing">
|
<property name="spacing">
|
||||||
<number>6</number>
|
<number>6</number>
|
||||||
</property>
|
</property>
|
||||||
|
<item>
|
||||||
|
<spacer name="horizontalSpacer">
|
||||||
|
<property name="orientation">
|
||||||
|
<enum>Qt::Horizontal</enum>
|
||||||
|
</property>
|
||||||
|
<property name="sizeHint" stdset="0">
|
||||||
|
<size>
|
||||||
|
<width>40</width>
|
||||||
|
<height>20</height>
|
||||||
|
</size>
|
||||||
|
</property>
|
||||||
|
</spacer>
|
||||||
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<widget class="QPushButton" name="createDuplicateButton">
|
<widget class="QPushButton" name="createDuplicateButton">
|
||||||
<property name="sizePolicy">
|
<property name="sizePolicy">
|
||||||
@@ -197,6 +225,19 @@
|
|||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
|
<item>
|
||||||
|
<spacer name="horizontalSpacer_2">
|
||||||
|
<property name="orientation">
|
||||||
|
<enum>Qt::Horizontal</enum>
|
||||||
|
</property>
|
||||||
|
<property name="sizeHint" stdset="0">
|
||||||
|
<size>
|
||||||
|
<width>40</width>
|
||||||
|
<height>20</height>
|
||||||
|
</size>
|
||||||
|
</property>
|
||||||
|
</spacer>
|
||||||
|
</item>
|
||||||
</layout>
|
</layout>
|
||||||
</item>
|
</item>
|
||||||
</layout>
|
</layout>
|
||||||
|
|||||||
@@ -36,7 +36,7 @@
|
|||||||
<string/>
|
<string/>
|
||||||
</property>
|
</property>
|
||||||
<property name="pixmap">
|
<property name="pixmap">
|
||||||
<pixmap resource="resources.qrc">:/resources/icons/circleGray.png</pixmap>
|
<pixmap resource="../InstructorsAndTrainees.qrc">:/resources/icons/circleGray.png</pixmap>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
@@ -110,7 +110,7 @@
|
|||||||
</layout>
|
</layout>
|
||||||
</widget>
|
</widget>
|
||||||
<resources>
|
<resources>
|
||||||
<include location="resources.qrc"/>
|
<include location="../InstructorsAndTrainees.qrc"/>
|
||||||
</resources>
|
</resources>
|
||||||
<connections/>
|
<connections/>
|
||||||
</ui>
|
</ui>
|
||||||
|
|||||||
@@ -21,5 +21,6 @@
|
|||||||
<file>resources/icons/procedure.png</file>
|
<file>resources/icons/procedure.png</file>
|
||||||
<file>resources/icons/exchange.png</file>
|
<file>resources/icons/exchange.png</file>
|
||||||
<file>resources/blankXML/ListSubProc.xml</file>
|
<file>resources/blankXML/ListSubProc.xml</file>
|
||||||
|
<file>resources/icons/PngServerRRJ.png</file>
|
||||||
</qresource>
|
</qresource>
|
||||||
</RCC>
|
</RCC>
|
||||||
|
|||||||
@@ -287,11 +287,16 @@ void AssetsManager::writeVersionsToFile(QList<StreamingVersionData*> version,boo
|
|||||||
SAttribute attribute4;
|
SAttribute attribute4;
|
||||||
|
|
||||||
if(isFirst)
|
if(isFirst)
|
||||||
{
|
{
|
||||||
attribute3 = {"isChangeable",QString::number(false)};
|
|
||||||
QString author = tr("LLC Constanta-Design");
|
QString author = tr("LLC Constanta-Design");
|
||||||
attribute4 = {"author",author};
|
attribute4 = {"author",author};
|
||||||
ver->setAuthor(author);
|
ver->setAuthor(author);
|
||||||
|
|
||||||
|
if(ver->getViewName() == "base")
|
||||||
|
attribute3 = {"isChangeable",QString::number(false)};
|
||||||
|
else
|
||||||
|
attribute3 = {"isChangeable",QString::number(true)};
|
||||||
|
|
||||||
}else
|
}else
|
||||||
{
|
{
|
||||||
attribute3 ={"isChangeable",QString::number(ver->getIsChangeable())};
|
attribute3 ={"isChangeable",QString::number(ver->getIsChangeable())};
|
||||||
|
|||||||
BIN
LibServer/resources/icons/PngServerRRJ.png
Normal file
|
After Width: | Height: | Size: 5.2 KiB |
|
Before Width: | Height: | Size: 15 KiB After Width: | Height: | Size: 12 KiB |
@@ -300,6 +300,7 @@ void DialogSettingsTray::on_btnCheckDB_clicked()
|
|||||||
QString PasswordPostgres;
|
QString PasswordPostgres;
|
||||||
|
|
||||||
DialogAuthorization dlg(this);
|
DialogAuthorization dlg(this);
|
||||||
|
dlg.setWindowIcon(QIcon(QStringLiteral(":/resources/icons/PngServerRRJ.png")));
|
||||||
dlg.setWindowTitle(tr("Superuser PostgreSQL authorization"));
|
dlg.setWindowTitle(tr("Superuser PostgreSQL authorization"));
|
||||||
dlg.setWindowFlags(dlg.windowFlags() & ~Qt::WindowContextHelpButtonHint);
|
dlg.setWindowFlags(dlg.windowFlags() & ~Qt::WindowContextHelpButtonHint);
|
||||||
dlg.setStyleSheet(this->styleSheet());
|
dlg.setStyleSheet(this->styleSheet());
|
||||||
@@ -343,14 +344,18 @@ void DialogSettingsTray::on_btnCheckDB_clicked()
|
|||||||
if(settings->HostName == "localhost")
|
if(settings->HostName == "localhost")
|
||||||
SpecMsgBox::CriticalClose(this, tr("Error connecting to PostgreSQL!") + "\n\n" +
|
SpecMsgBox::CriticalClose(this, tr("Error connecting to PostgreSQL!") + "\n\n" +
|
||||||
tr("Possible reasons:") + "\n" +
|
tr("Possible reasons:") + "\n" +
|
||||||
tr("*superuser PostgreSQL login or password is incorrect;") + "\n" +
|
tr("superuser PostgreSQL login or password is incorrect;") + "\n" +
|
||||||
tr("*Port is incorrect."));
|
tr("port is incorrect;") + "\n" +
|
||||||
|
tr("PostgreSQL is not installed.")
|
||||||
|
);
|
||||||
else
|
else
|
||||||
SpecMsgBox::CriticalClose(this, tr("Error connecting to PostgreSQL!") + "\n\n" +
|
SpecMsgBox::CriticalClose(this, tr("Error connecting to PostgreSQL!") + "\n\n" +
|
||||||
tr("Possible reasons:") + "\n" +
|
tr("Possible reasons:") + "\n" +
|
||||||
tr("*superuser PostgreSQL login or password is incorrect;") + "\n" +
|
tr("superuser PostgreSQL login or password is incorrect;") + "\n" +
|
||||||
tr("*Port is incorrect;") + "\n" +
|
tr("port is incorrect;") + "\n" +
|
||||||
tr("*file 'pg_hba.conf' does not contain an entry for the IP address:") + settings->HostName + ".");
|
tr("file 'pg_hba.conf' does not contain an entry for the IP address:") + settings->HostName + ";" + "\n" +
|
||||||
|
tr("PostgreSQL is not installed.")
|
||||||
|
);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -301,8 +301,8 @@
|
|||||||
<string>Check DB</string>
|
<string>Check DB</string>
|
||||||
</property>
|
</property>
|
||||||
<property name="icon">
|
<property name="icon">
|
||||||
<iconset resource="../Server.qrc">
|
<iconset resource="../../LibInstructorsAndTrainees/InstructorsAndTrainees.qrc">
|
||||||
<normaloff>:/resources/icons/checkDB.png</normaloff>:/resources/icons/checkDB.png</iconset>
|
<normaloff>:/resources/icons/editorDB.png</normaloff>:/resources/icons/editorDB.png</iconset>
|
||||||
</property>
|
</property>
|
||||||
<property name="iconSize">
|
<property name="iconSize">
|
||||||
<size>
|
<size>
|
||||||
@@ -365,7 +365,6 @@
|
|||||||
</widget>
|
</widget>
|
||||||
<resources>
|
<resources>
|
||||||
<include location="../../LibInstructorsAndTrainees/InstructorsAndTrainees.qrc"/>
|
<include location="../../LibInstructorsAndTrainees/InstructorsAndTrainees.qrc"/>
|
||||||
<include location="../Server.qrc"/>
|
|
||||||
</resources>
|
</resources>
|
||||||
<connections/>
|
<connections/>
|
||||||
</ui>
|
</ui>
|
||||||
|
|||||||
3
readMy.txt
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
Для обновления переводов в PS от Администратора:
|
||||||
|
|
||||||
|
lupdate -no-obsolete -recursive .\LibInstructorsAndTrainees .\LibServer .\ProgramAWSinstructorMTD .\ProgramServerMTD -ts .\translations\RRJServer_ru_RU.ts
|
||||||
@@ -177,27 +177,27 @@ Delete it anyway?</source>
|
|||||||
<translation>Новая</translation>
|
<translation>Новая</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../LibInstructorsAndTrainees/tasks/checkertask.cpp" line="159"/>
|
<location filename="../LibInstructorsAndTrainees/tasks/checkertask.cpp" line="160"/>
|
||||||
<source>completed</source>
|
<source>completed</source>
|
||||||
<translation>выполнена</translation>
|
<translation>выполнена</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../LibInstructorsAndTrainees/tasks/checkertask.cpp" line="164"/>
|
<location filename="../LibInstructorsAndTrainees/tasks/checkertask.cpp" line="165"/>
|
||||||
<source>failed</source>
|
<source>failed</source>
|
||||||
<translation>неверно</translation>
|
<translation>неверно</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../LibInstructorsAndTrainees/tasks/checkertask.cpp" line="169"/>
|
<location filename="../LibInstructorsAndTrainees/tasks/checkertask.cpp" line="170"/>
|
||||||
<source>checkup</source>
|
<source>checkup</source>
|
||||||
<translation>на проверке</translation>
|
<translation>на проверке</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../LibInstructorsAndTrainees/tasks/checkertask.cpp" line="174"/>
|
<location filename="../LibInstructorsAndTrainees/tasks/checkertask.cpp" line="175"/>
|
||||||
<source>new</source>
|
<source>new</source>
|
||||||
<translation>новая</translation>
|
<translation>новая</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../LibInstructorsAndTrainees/tasks/checkertask.cpp" line="201"/>
|
<location filename="../LibInstructorsAndTrainees/tasks/checkertask.cpp" line="202"/>
|
||||||
<source>Change task status?
|
<source>Change task status?
|
||||||
The status will be set:
|
The status will be set:
|
||||||
'failed'</source>
|
'failed'</source>
|
||||||
@@ -206,8 +206,8 @@ The status will be set:
|
|||||||
'неверно'</translation>
|
'неверно'</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../LibInstructorsAndTrainees/tasks/checkertask.cpp" line="251"/>
|
<location filename="../LibInstructorsAndTrainees/tasks/checkertask.cpp" line="252"/>
|
||||||
<location filename="../LibInstructorsAndTrainees/tasks/checkertask.cpp" line="257"/>
|
<location filename="../LibInstructorsAndTrainees/tasks/checkertask.cpp" line="258"/>
|
||||||
<source>Change task status?
|
<source>Change task status?
|
||||||
The status will be set:
|
The status will be set:
|
||||||
'new'</source>
|
'new'</source>
|
||||||
@@ -216,7 +216,7 @@ The status will be set:
|
|||||||
'новая'</translation>
|
'новая'</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../LibInstructorsAndTrainees/tasks/checkertask.cpp" line="279"/>
|
<location filename="../LibInstructorsAndTrainees/tasks/checkertask.cpp" line="280"/>
|
||||||
<source>Change task status?
|
<source>Change task status?
|
||||||
The status will be set:
|
The status will be set:
|
||||||
'checkup'</source>
|
'checkup'</source>
|
||||||
@@ -225,8 +225,8 @@ The status will be set:
|
|||||||
'на проверке'</translation>
|
'на проверке'</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../LibInstructorsAndTrainees/tasks/checkertask.cpp" line="223"/>
|
<location filename="../LibInstructorsAndTrainees/tasks/checkertask.cpp" line="224"/>
|
||||||
<location filename="../LibInstructorsAndTrainees/tasks/checkertask.cpp" line="229"/>
|
<location filename="../LibInstructorsAndTrainees/tasks/checkertask.cpp" line="230"/>
|
||||||
<source>Change task status?
|
<source>Change task status?
|
||||||
The status will be set:
|
The status will be set:
|
||||||
'completed'</source>
|
'completed'</source>
|
||||||
@@ -238,55 +238,60 @@ The status will be set:
|
|||||||
<context>
|
<context>
|
||||||
<name>CommonView</name>
|
<name>CommonView</name>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../LibInstructorsAndTrainees/commonview.cpp" line="110"/>
|
<location filename="../LibInstructorsAndTrainees/commonview.cpp" line="113"/>
|
||||||
<source>Name</source>
|
<source>Name</source>
|
||||||
<translation>Имя</translation>
|
<translation>Имя</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../LibInstructorsAndTrainees/commonview.cpp" line="110"/>
|
<location filename="../LibInstructorsAndTrainees/commonview.cpp" line="113"/>
|
||||||
<source>Login</source>
|
<source>Login</source>
|
||||||
<translation>Логин</translation>
|
<translation>Логин</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../LibInstructorsAndTrainees/commonview.cpp" line="110"/>
|
<location filename="../LibInstructorsAndTrainees/commonview.cpp" line="113"/>
|
||||||
<source>Password</source>
|
<source>Password</source>
|
||||||
<translation>Пароль</translation>
|
<translation>Пароль</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../LibInstructorsAndTrainees/commonview.cpp" line="110"/>
|
<location filename="../LibInstructorsAndTrainees/commonview.cpp" line="113"/>
|
||||||
<source>Class</source>
|
<source>Class</source>
|
||||||
<translation>Класс</translation>
|
<translation>Класс</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../LibInstructorsAndTrainees/commonview.cpp" line="110"/>
|
<location filename="../LibInstructorsAndTrainees/commonview.cpp" line="113"/>
|
||||||
<source>Computer</source>
|
<source>Computer</source>
|
||||||
<translation>Компьютер</translation>
|
<translation>Компьютер</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../LibInstructorsAndTrainees/commonview.cpp" line="110"/>
|
<location filename="../LibInstructorsAndTrainees/commonview.cpp" line="113"/>
|
||||||
<source>IP address</source>
|
<source>IP address</source>
|
||||||
<translation>IP адрес</translation>
|
<translation>IP адрес</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../LibInstructorsAndTrainees/commonview.cpp" line="110"/>
|
<location filename="../LibInstructorsAndTrainees/commonview.cpp" line="113"/>
|
||||||
<source>Administrator</source>
|
<source>Administrator</source>
|
||||||
<translation>Администратор</translation>
|
<translation>Администратор</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../LibInstructorsAndTrainees/commonview.cpp" line="110"/>
|
<location filename="../LibInstructorsAndTrainees/commonview.cpp" line="113"/>
|
||||||
<source>Archived</source>
|
<source>Archived</source>
|
||||||
<translation>Архивный</translation>
|
<translation>Архивный</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../LibInstructorsAndTrainees/commonview.cpp" line="110"/>
|
<location filename="../LibInstructorsAndTrainees/commonview.cpp" line="113"/>
|
||||||
<source>Online</source>
|
<source>Online</source>
|
||||||
<translation>В сети</translation>
|
<translation>В сети</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../LibInstructorsAndTrainees/commonview.cpp" line="110"/>
|
<location filename="../LibInstructorsAndTrainees/commonview.cpp" line="113"/>
|
||||||
<source>ID</source>
|
<source>ID</source>
|
||||||
<translation>ID</translation>
|
<translation>ID</translation>
|
||||||
</message>
|
</message>
|
||||||
|
<message>
|
||||||
|
<location filename="../LibInstructorsAndTrainees/commonview.cpp" line="113"/>
|
||||||
|
<source>Messages</source>
|
||||||
|
<translation>Сообщения</translation>
|
||||||
|
</message>
|
||||||
</context>
|
</context>
|
||||||
<context>
|
<context>
|
||||||
<name>DeviceWidget</name>
|
<name>DeviceWidget</name>
|
||||||
@@ -301,12 +306,12 @@ The status will be set:
|
|||||||
<translation>Статус</translation>
|
<translation>Статус</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../LibInstructorsAndTrainees/tasks/devicewidget.ui" line="56"/>
|
<location filename="../LibInstructorsAndTrainees/tasks/devicewidget.ui" line="59"/>
|
||||||
<source>ObjName</source>
|
<source>ObjName</source>
|
||||||
<translation></translation>
|
<translation></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../LibInstructorsAndTrainees/tasks/devicewidget.ui" line="66"/>
|
<location filename="../LibInstructorsAndTrainees/tasks/devicewidget.ui" line="69"/>
|
||||||
<source>Code</source>
|
<source>Code</source>
|
||||||
<translation></translation>
|
<translation></translation>
|
||||||
</message>
|
</message>
|
||||||
@@ -672,42 +677,42 @@ The status will be set:
|
|||||||
<translation>Язык</translation>
|
<translation>Язык</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../LibInstructorsAndTrainees/settings/dialogsettings.ui" line="98"/>
|
<location filename="../LibInstructorsAndTrainees/settings/dialogsettings.ui" line="102"/>
|
||||||
<source>Server</source>
|
<source>Server</source>
|
||||||
<translation>Сервер</translation>
|
<translation>Сервер</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../LibInstructorsAndTrainees/settings/dialogsettings.ui" line="108"/>
|
<location filename="../LibInstructorsAndTrainees/settings/dialogsettings.ui" line="112"/>
|
||||||
<source>Address</source>
|
<source>Address</source>
|
||||||
<translation>Адрес</translation>
|
<translation>Адрес</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../LibInstructorsAndTrainees/settings/dialogsettings.ui" line="145"/>
|
<location filename="../LibInstructorsAndTrainees/settings/dialogsettings.ui" line="149"/>
|
||||||
<source>Port</source>
|
<source>Port</source>
|
||||||
<translation>Порт</translation>
|
<translation>Порт</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../LibInstructorsAndTrainees/settings/dialogsettings.ui" line="191"/>
|
<location filename="../LibInstructorsAndTrainees/settings/dialogsettings.ui" line="195"/>
|
||||||
<source>Auto start</source>
|
<source>Auto start</source>
|
||||||
<translation>Авто старт</translation>
|
<translation>Авто старт</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../LibInstructorsAndTrainees/settings/dialogsettings.ui" line="242"/>
|
<location filename="../LibInstructorsAndTrainees/settings/dialogsettings.ui" line="246"/>
|
||||||
<source>Save</source>
|
<source>Save</source>
|
||||||
<translation>Сохранить</translation>
|
<translation>Сохранить</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../LibInstructorsAndTrainees/settings/dialogsettings.ui" line="281"/>
|
<location filename="../LibInstructorsAndTrainees/settings/dialogsettings.ui" line="285"/>
|
||||||
<source>Additional</source>
|
<source>Additional</source>
|
||||||
<translation>Расширенные</translation>
|
<translation>Расширенные</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../LibInstructorsAndTrainees/settings/dialogsettings.ui" line="301"/>
|
<location filename="../LibInstructorsAndTrainees/settings/dialogsettings.ui" line="305"/>
|
||||||
<source>Version</source>
|
<source>Version</source>
|
||||||
<translation>Версия</translation>
|
<translation>Версия</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../LibInstructorsAndTrainees/settings/dialogsettings.ui" line="333"/>
|
<location filename="../LibInstructorsAndTrainees/settings/dialogsettings.ui" line="337"/>
|
||||||
<source>Style</source>
|
<source>Style</source>
|
||||||
<translation>Стиль</translation>
|
<translation>Стиль</translation>
|
||||||
</message>
|
</message>
|
||||||
@@ -715,72 +720,72 @@ The status will be set:
|
|||||||
<context>
|
<context>
|
||||||
<name>DialogSettingsTray</name>
|
<name>DialogSettingsTray</name>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../LibServer/settings/dialogsettingstray.ui" line="14"/>
|
<location filename="../LibServer/settings/dialogsettingstray.ui" line="20"/>
|
||||||
<source>Settings</source>
|
<source>Settings</source>
|
||||||
<translation>Настройки</translation>
|
<translation>Настройки</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../LibServer/settings/dialogsettingstray.ui" line="22"/>
|
<location filename="../LibServer/settings/dialogsettingstray.ui" line="28"/>
|
||||||
<source>Main</source>
|
<source>Main</source>
|
||||||
<translation>Основные</translation>
|
<translation>Основные</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../LibServer/settings/dialogsettingstray.ui" line="32"/>
|
<location filename="../LibServer/settings/dialogsettingstray.ui" line="38"/>
|
||||||
<source>Language</source>
|
<source>Language</source>
|
||||||
<translation>Язык</translation>
|
<translation>Язык</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../LibServer/settings/dialogsettingstray.ui" line="67"/>
|
<location filename="../LibServer/settings/dialogsettingstray.ui" line="73"/>
|
||||||
<source>Database</source>
|
<source>Database</source>
|
||||||
<translation>База данных</translation>
|
<translation>База данных</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../LibServer/settings/dialogsettingstray.ui" line="77"/>
|
<location filename="../LibServer/settings/dialogsettingstray.ui" line="83"/>
|
||||||
<source>Local</source>
|
<source>Local</source>
|
||||||
<translation>Локальная</translation>
|
<translation>Локальная</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../LibServer/settings/dialogsettingstray.ui" line="108"/>
|
<location filename="../LibServer/settings/dialogsettingstray.ui" line="114"/>
|
||||||
<source>IP address</source>
|
<source>IP address</source>
|
||||||
<translation>IP адрес</translation>
|
<translation>IP адрес</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../LibServer/settings/dialogsettingstray.ui" line="132"/>
|
<location filename="../LibServer/settings/dialogsettingstray.ui" line="138"/>
|
||||||
<source>Port</source>
|
<source>Port</source>
|
||||||
<translation>Порт</translation>
|
<translation>Порт</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../LibServer/settings/dialogsettingstray.ui" line="156"/>
|
<location filename="../LibServer/settings/dialogsettingstray.ui" line="162"/>
|
||||||
<source>Database name</source>
|
<source>Database name</source>
|
||||||
<translation>Имя базы данных</translation>
|
<translation>Имя базы данных</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../LibServer/settings/dialogsettingstray.ui" line="183"/>
|
<location filename="../LibServer/settings/dialogsettingstray.ui" line="189"/>
|
||||||
<source>User name</source>
|
<source>User name</source>
|
||||||
<translation>Имя пользователя</translation>
|
<translation>Имя пользователя</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../LibServer/settings/dialogsettingstray.ui" line="210"/>
|
<location filename="../LibServer/settings/dialogsettingstray.ui" line="216"/>
|
||||||
<source>User password</source>
|
<source>User password</source>
|
||||||
<translation>Пароль пользователя</translation>
|
<translation>Пароль пользователя</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../LibServer/settings/dialogsettingstray.ui" line="248"/>
|
<location filename="../LibServer/settings/dialogsettingstray.ui" line="254"/>
|
||||||
<source>Save</source>
|
<source>Save</source>
|
||||||
<translation>Сохранить</translation>
|
<translation>Сохранить</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../LibServer/settings/dialogsettingstray.ui" line="281"/>
|
<location filename="../LibServer/settings/dialogsettingstray.ui" line="287"/>
|
||||||
<source>Additional</source>
|
<source>Additional</source>
|
||||||
<translation>Расширенные</translation>
|
<translation>Расширенные</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../LibServer/settings/dialogsettingstray.ui" line="295"/>
|
<location filename="../LibServer/settings/dialogsettingstray.ui" line="301"/>
|
||||||
<source>Check DB</source>
|
<source>Check DB</source>
|
||||||
<translation>Проверить БД</translation>
|
<translation>Проверить БД</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../LibServer/settings/dialogsettingstray.ui" line="334"/>
|
<location filename="../LibServer/settings/dialogsettingstray.ui" line="340"/>
|
||||||
<source>Update Docs</source>
|
<source>Update Docs</source>
|
||||||
<translation>Обновить Docs</translation>
|
<translation>Обновить Docs</translation>
|
||||||
</message>
|
</message>
|
||||||
@@ -790,42 +795,44 @@ The status will be set:
|
|||||||
<translation>Драйвер PostgreSQL не установлен!</translation>
|
<translation>Драйвер PostgreSQL не установлен!</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../LibServer/settings/dialogsettingstray.cpp" line="303"/>
|
<location filename="../LibServer/settings/dialogsettingstray.cpp" line="304"/>
|
||||||
<source>Superuser PostgreSQL authorization</source>
|
<source>Superuser PostgreSQL authorization</source>
|
||||||
<translation>Авторизация суперпользователя PostgreSQL</translation>
|
<translation>Авторизация суперпользователя PostgreSQL</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../LibServer/settings/dialogsettingstray.cpp" line="344"/>
|
<location filename="../LibServer/settings/dialogsettingstray.cpp" line="345"/>
|
||||||
<location filename="../LibServer/settings/dialogsettingstray.cpp" line="349"/>
|
<location filename="../LibServer/settings/dialogsettingstray.cpp" line="352"/>
|
||||||
<source>Error connecting to PostgreSQL!</source>
|
<source>Error connecting to PostgreSQL!</source>
|
||||||
<translation>Ошибка соединения с PostgreSQL!</translation>
|
<translation>Ошибка соединения с PostgreSQL!</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../LibServer/settings/dialogsettingstray.cpp" line="345"/>
|
<location filename="../LibServer/settings/dialogsettingstray.cpp" line="346"/>
|
||||||
<location filename="../LibServer/settings/dialogsettingstray.cpp" line="350"/>
|
<location filename="../LibServer/settings/dialogsettingstray.cpp" line="353"/>
|
||||||
<source>Possible reasons:</source>
|
<source>Possible reasons:</source>
|
||||||
<translation>Возможные причины:</translation>
|
<translation>Возможные причины:</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
|
||||||
<location filename="../LibServer/settings/dialogsettingstray.cpp" line="346"/>
|
|
||||||
<location filename="../LibServer/settings/dialogsettingstray.cpp" line="351"/>
|
|
||||||
<source>*superuser PostgreSQL login or password is incorrect;</source>
|
|
||||||
<translation>*логин или пароль суперпользователя PostgreSQL некорректен;</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
<message>
|
||||||
<location filename="../LibServer/settings/dialogsettingstray.cpp" line="347"/>
|
<location filename="../LibServer/settings/dialogsettingstray.cpp" line="347"/>
|
||||||
<source>*Port is incorrect.</source>
|
<location filename="../LibServer/settings/dialogsettingstray.cpp" line="354"/>
|
||||||
<translation>*Порт некорректен.</translation>
|
<source>superuser PostgreSQL login or password is incorrect;</source>
|
||||||
|
<translation>неверный логин или пароль суперпользователя PostgreSQL;</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../LibServer/settings/dialogsettingstray.cpp" line="352"/>
|
<location filename="../LibServer/settings/dialogsettingstray.cpp" line="348"/>
|
||||||
<source>*Port is incorrect;</source>
|
<location filename="../LibServer/settings/dialogsettingstray.cpp" line="355"/>
|
||||||
<translation>*Порт некорректен;</translation>
|
<source>port is incorrect;</source>
|
||||||
|
<translation>порт некорректен;</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../LibServer/settings/dialogsettingstray.cpp" line="353"/>
|
<location filename="../LibServer/settings/dialogsettingstray.cpp" line="349"/>
|
||||||
<source>*file 'pg_hba.conf' does not contain an entry for the IP address:</source>
|
<location filename="../LibServer/settings/dialogsettingstray.cpp" line="357"/>
|
||||||
<translation>*файл 'pg_hba.conf не содержит записи доступа для IP адреса:</translation>
|
<source>PostgreSQL is not installed.</source>
|
||||||
|
<translation>PostgreSQL не установлен.</translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<location filename="../LibServer/settings/dialogsettingstray.cpp" line="356"/>
|
||||||
|
<source>file 'pg_hba.conf' does not contain an entry for the IP address:</source>
|
||||||
|
<translation>файл 'pg_hba.conf' не содержит запись для IP-адреса:</translation>
|
||||||
</message>
|
</message>
|
||||||
</context>
|
</context>
|
||||||
<context>
|
<context>
|
||||||
@@ -1506,7 +1513,7 @@ Please reconnect to the server.</source>
|
|||||||
<translation>Имя</translation>
|
<translation>Имя</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../LibInstructorsAndTrainees/messanger/msgwidget.ui" line="155"/>
|
<location filename="../LibInstructorsAndTrainees/messanger/msgwidget.ui" line="158"/>
|
||||||
<source>--:--</source>
|
<source>--:--</source>
|
||||||
<translation>--:--</translation>
|
<translation>--:--</translation>
|
||||||
</message>
|
</message>
|
||||||
@@ -1762,7 +1769,7 @@ The server will be restarted.</source>
|
|||||||
<message>
|
<message>
|
||||||
<location filename="../LibServer/serverlmswidget.cpp" line="490"/>
|
<location filename="../LibServer/serverlmswidget.cpp" line="490"/>
|
||||||
<source>connected</source>
|
<source>connected</source>
|
||||||
<translation>подключен</translation>
|
<translation>подключена</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../LibServer/serverlmswidget.cpp" line="499"/>
|
<location filename="../LibServer/serverlmswidget.cpp" line="499"/>
|
||||||
|
|||||||