add dynamic language change support
add "en" ts
This commit is contained in:
@@ -48,6 +48,7 @@ void CharDialog::setCharFont(const QFont & f) {
|
||||
|
||||
|
||||
void CharDialog::changeEvent(QEvent * e) {
|
||||
QDialog::changeEvent(e);
|
||||
if (e->type() == QEvent::LanguageChange) {
|
||||
ui->retranslateUi(this);
|
||||
QStringList cat;
|
||||
@@ -65,7 +66,6 @@ void CharDialog::changeEvent(QEvent * e) {
|
||||
ui->comboCategory->setCurrentIndex(pi);
|
||||
return;
|
||||
}
|
||||
QDialog::changeEvent(e);
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -40,11 +40,11 @@ void CLineEdit::resizeEvent(QResizeEvent * e) {
|
||||
|
||||
|
||||
void CLineEdit::changeEvent(QEvent * e) {
|
||||
QLineEdit::changeEvent(e);
|
||||
if (e->type() == QEvent::LanguageChange) {
|
||||
cw->setToolTip(tr("Clear"));
|
||||
return;
|
||||
}
|
||||
QLineEdit::changeEvent(e);
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -17,10 +17,10 @@ ColorButton::ColorButton(QWidget * parent): QPushButton(parent) {
|
||||
label->setFrameStyle(QFrame::Panel | QFrame::Sunken);
|
||||
label->show();
|
||||
pal = label->palette();
|
||||
menu.addAction(QIcon(":/icons/edit-copy.png"), tr("Copy"), this, SLOT(copy()));
|
||||
menu.addAction(QIcon(":/icons/edit-paste.png"), tr("Paste"), this, SLOT(paste()));
|
||||
a_copy = menu.addAction(QIcon(":/icons/edit-copy.png"), tr("Copy"), this, SLOT(copy()));
|
||||
a_paste = menu.addAction(QIcon(":/icons/edit-paste.png"), tr("Paste"), this, SLOT(paste()));
|
||||
menu.addSeparator();
|
||||
menu.addAction(tr("Mix with clipboard"), this, SLOT(mix()));
|
||||
a_mix = menu.addAction(tr("Mix with clipboard"), this, SLOT(mix()));
|
||||
setAcceptDrops(true);
|
||||
connect(this, SIGNAL(clicked(bool)), this, SLOT(clicked()));
|
||||
}
|
||||
@@ -86,6 +86,20 @@ void ColorButton::dropEvent(QDropEvent * e) {
|
||||
}
|
||||
|
||||
|
||||
void ColorButton::changeEvent(QEvent * e) {
|
||||
QPushButton::changeEvent(e);
|
||||
switch (e->type()) {
|
||||
case QEvent::LanguageChange:
|
||||
a_copy->setText(tr("Copy"));
|
||||
a_paste->setText(tr("Paste"));
|
||||
a_mix->setText(tr("Mix with clipboard"));
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
void ColorButton::clicked() {
|
||||
QColor ret = QColorDialog::getColor(color(), this, tr("Choose color"), options);
|
||||
if (!ret.isValid()) return;
|
||||
|
||||
@@ -60,9 +60,11 @@ private:
|
||||
void resizeEvent(QResizeEvent * );
|
||||
void dragEnterEvent(QDragEnterEvent * e);
|
||||
void dropEvent(QDropEvent * e);
|
||||
void changeEvent(QEvent *e);
|
||||
|
||||
QFrame * label;
|
||||
QWidget * back;
|
||||
QAction * a_copy, * a_paste, * a_mix;
|
||||
QPalette pal;
|
||||
QPoint pp;
|
||||
QMenu menu;
|
||||
|
||||
@@ -72,6 +72,20 @@ void EComboBox::showPopup() {
|
||||
}
|
||||
|
||||
|
||||
void EComboBox::changeEvent(QEvent * e) {
|
||||
QComboBox::changeEvent(e);
|
||||
switch (e->type()) {
|
||||
case QEvent::LanguageChange:
|
||||
#if QT_VERSION >= 0x040700
|
||||
filter.setPlaceholderText(tr("Filter"));
|
||||
#endif
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
void EComboBox::filterChanged(const QString & text, bool first) {
|
||||
if (filter.text().isEmpty()) filter.setFont(ifont);
|
||||
else filter.setFont(nfont);
|
||||
|
||||
@@ -39,6 +39,8 @@ public slots:
|
||||
virtual void showPopup();
|
||||
|
||||
private:
|
||||
void changeEvent(QEvent *e);
|
||||
|
||||
QTreeView iv;
|
||||
QWidget header;
|
||||
QLabel icon;
|
||||
|
||||
@@ -88,11 +88,11 @@ void EvalSpinBox::resizeEvent(QResizeEvent * e) {
|
||||
|
||||
|
||||
void EvalSpinBox::changeEvent(QEvent * e) {
|
||||
QAbstractSpinBox::changeEvent(e);
|
||||
if (e->type() == QEvent::LanguageChange) {
|
||||
cw->setToolTip(tr("Clear"));
|
||||
return;
|
||||
}
|
||||
QAbstractSpinBox::changeEvent(e);
|
||||
}
|
||||
|
||||
|
||||
|
||||
677
qad/widgets/lang/qad_widgets_en.ts
Normal file
677
qad/widgets/lang/qad_widgets_en.ts
Normal file
@@ -0,0 +1,677 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE TS>
|
||||
<TS version="2.1" language="en_US">
|
||||
<context>
|
||||
<name>CLineEdit</name>
|
||||
<message>
|
||||
<location filename="../clineedit.cpp" line="9"/>
|
||||
<location filename="../clineedit.cpp" line="45"/>
|
||||
<source>Clear</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>CharDialog</name>
|
||||
<message>
|
||||
<location filename="../chardialog.ui" line="14"/>
|
||||
<source>Choose symbol</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../chardialog.cpp" line="23"/>
|
||||
<location filename="../chardialog.cpp" line="55"/>
|
||||
<source>No Category</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../chardialog.cpp" line="23"/>
|
||||
<location filename="../chardialog.cpp" line="55"/>
|
||||
<source>Mark NonSpacing</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../chardialog.cpp" line="23"/>
|
||||
<location filename="../chardialog.cpp" line="55"/>
|
||||
<source>Mark SpacingCombining</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../chardialog.cpp" line="23"/>
|
||||
<location filename="../chardialog.cpp" line="55"/>
|
||||
<source>Mark Enclosing</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../chardialog.cpp" line="24"/>
|
||||
<location filename="../chardialog.cpp" line="56"/>
|
||||
<source>Number DecimalDigit</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../chardialog.cpp" line="24"/>
|
||||
<location filename="../chardialog.cpp" line="56"/>
|
||||
<source>Number Letter</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../chardialog.cpp" line="24"/>
|
||||
<location filename="../chardialog.cpp" line="56"/>
|
||||
<source>Number Other</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../chardialog.cpp" line="24"/>
|
||||
<location filename="../chardialog.cpp" line="56"/>
|
||||
<source>Separator Space</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../chardialog.cpp" line="25"/>
|
||||
<location filename="../chardialog.cpp" line="57"/>
|
||||
<source>Separator Line</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../chardialog.cpp" line="25"/>
|
||||
<location filename="../chardialog.cpp" line="57"/>
|
||||
<source>Separator Paragraph</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../chardialog.cpp" line="25"/>
|
||||
<location filename="../chardialog.cpp" line="57"/>
|
||||
<source>Other Control</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../chardialog.cpp" line="25"/>
|
||||
<location filename="../chardialog.cpp" line="57"/>
|
||||
<source>Other Format</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../chardialog.cpp" line="26"/>
|
||||
<location filename="../chardialog.cpp" line="58"/>
|
||||
<source>Other Surrogate</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../chardialog.cpp" line="26"/>
|
||||
<location filename="../chardialog.cpp" line="58"/>
|
||||
<source>Other PrivateUse</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../chardialog.cpp" line="26"/>
|
||||
<location filename="../chardialog.cpp" line="58"/>
|
||||
<source>Other NotAssigned</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../chardialog.cpp" line="26"/>
|
||||
<location filename="../chardialog.cpp" line="58"/>
|
||||
<source>Letter Uppercase</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../chardialog.cpp" line="27"/>
|
||||
<location filename="../chardialog.cpp" line="59"/>
|
||||
<source>Letter Lowercase</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../chardialog.cpp" line="27"/>
|
||||
<location filename="../chardialog.cpp" line="59"/>
|
||||
<source>Letter Titlecase</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../chardialog.cpp" line="27"/>
|
||||
<location filename="../chardialog.cpp" line="59"/>
|
||||
<source>Letter Modifier</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../chardialog.cpp" line="27"/>
|
||||
<location filename="../chardialog.cpp" line="59"/>
|
||||
<source>Letter Other</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../chardialog.cpp" line="28"/>
|
||||
<location filename="../chardialog.cpp" line="60"/>
|
||||
<source>Punctuation Connector</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../chardialog.cpp" line="28"/>
|
||||
<location filename="../chardialog.cpp" line="60"/>
|
||||
<source>Punctuation Dash</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../chardialog.cpp" line="28"/>
|
||||
<location filename="../chardialog.cpp" line="60"/>
|
||||
<source>Punctuation Open</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../chardialog.cpp" line="28"/>
|
||||
<location filename="../chardialog.cpp" line="60"/>
|
||||
<source>Punctuation Close</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../chardialog.cpp" line="29"/>
|
||||
<location filename="../chardialog.cpp" line="61"/>
|
||||
<source>Punctuation InitialQuote</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../chardialog.cpp" line="29"/>
|
||||
<location filename="../chardialog.cpp" line="61"/>
|
||||
<source>Punctuation FinalQuote</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../chardialog.cpp" line="29"/>
|
||||
<location filename="../chardialog.cpp" line="61"/>
|
||||
<source>Punctuation Other</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../chardialog.cpp" line="29"/>
|
||||
<location filename="../chardialog.cpp" line="61"/>
|
||||
<source>Symbol Math</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../chardialog.cpp" line="30"/>
|
||||
<location filename="../chardialog.cpp" line="62"/>
|
||||
<source>Symbol Currency</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../chardialog.cpp" line="30"/>
|
||||
<location filename="../chardialog.cpp" line="62"/>
|
||||
<source>Symbol Modifier</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../chardialog.cpp" line="30"/>
|
||||
<location filename="../chardialog.cpp" line="62"/>
|
||||
<source>Symbol Other</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>ColorButton</name>
|
||||
<message>
|
||||
<location filename="../colorbutton.cpp" line="20"/>
|
||||
<location filename="../colorbutton.cpp" line="93"/>
|
||||
<source>Copy</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../colorbutton.cpp" line="21"/>
|
||||
<location filename="../colorbutton.cpp" line="94"/>
|
||||
<source>Paste</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../colorbutton.cpp" line="23"/>
|
||||
<location filename="../colorbutton.cpp" line="95"/>
|
||||
<source>Mix with clipboard</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../colorbutton.cpp" line="104"/>
|
||||
<source>Choose color</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>EComboBox</name>
|
||||
<message>
|
||||
<location filename="../ecombobox.cpp" line="44"/>
|
||||
<location filename="../ecombobox.cpp" line="80"/>
|
||||
<source>Filter</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>EvalSpinBox</name>
|
||||
<message>
|
||||
<location filename="../evalspinbox.cpp" line="28"/>
|
||||
<location filename="../evalspinbox.cpp" line="93"/>
|
||||
<source>Clear</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>MatrixEdit</name>
|
||||
<message>
|
||||
<location filename="../matrixedit.ui" line="33"/>
|
||||
<source>Cols:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../matrixedit.ui" line="47"/>
|
||||
<source>Rows:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../matrixedit.ui" line="76"/>
|
||||
<source>Null</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../matrixedit.ui" line="79"/>
|
||||
<source>0</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../matrixedit.ui" line="86"/>
|
||||
<source>Identity</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../matrixedit.ui" line="89"/>
|
||||
<source>I</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>PathEdit</name>
|
||||
<message>
|
||||
<location filename="../qvariantedit.cpp" line="105"/>
|
||||
<source>All files(*)</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../qvariantedit.cpp" line="112"/>
|
||||
<location filename="../qvariantedit.cpp" line="125"/>
|
||||
<source>Choose</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../qvariantedit.cpp" line="139"/>
|
||||
<source>Select directory</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../qvariantedit.cpp" line="140"/>
|
||||
<source>Select file</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>QCodeEdit</name>
|
||||
<message>
|
||||
<location filename="../qcodeedit.ui" line="122"/>
|
||||
<source>Search:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../qcodeedit.ui" line="140"/>
|
||||
<source>Case sensitive</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../qcodeedit.ui" line="143"/>
|
||||
<source>Aa</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../qcodeedit.ui" line="159"/>
|
||||
<source>Whole words</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../qcodeedit.ui" line="162"/>
|
||||
<source>W</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../qcodeedit.ui" line="178"/>
|
||||
<source>Previous</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../qcodeedit.ui" line="195"/>
|
||||
<source>Next</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../qcodeedit.ui" line="208"/>
|
||||
<source>Replace:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../qcodeedit.ui" line="226"/>
|
||||
<source>Replace</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../qcodeedit.ui" line="229"/>
|
||||
<source>R</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../qcodeedit.ui" line="242"/>
|
||||
<source>Replace and search</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../qcodeedit.ui" line="245"/>
|
||||
<source>Rs</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../qcodeedit.ui" line="258"/>
|
||||
<source>Replace all</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../qcodeedit.ui" line="261"/>
|
||||
<source>Ra</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../qcodeedit.cpp" line="53"/>
|
||||
<location filename="../qcodeedit.cpp" line="570"/>
|
||||
<source>Press F1 for details</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>QPIConfigNewDialog</name>
|
||||
<message>
|
||||
<location filename="../qpiconfignewdialog.ui" line="20"/>
|
||||
<source>Dialog</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../qpiconfignewdialog.ui" line="26"/>
|
||||
<source>Type</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../qpiconfignewdialog.ui" line="32"/>
|
||||
<source>string</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../qpiconfignewdialog.ui" line="38"/>
|
||||
<source>s</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../qpiconfignewdialog.ui" line="45"/>
|
||||
<source>integer</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../qpiconfignewdialog.ui" line="48"/>
|
||||
<source>n</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../qpiconfignewdialog.ui" line="55"/>
|
||||
<source>float</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../qpiconfignewdialog.ui" line="58"/>
|
||||
<source>f</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../qpiconfignewdialog.ui" line="65"/>
|
||||
<source>string list</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../qpiconfignewdialog.ui" line="68"/>
|
||||
<source>l</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../qpiconfignewdialog.ui" line="75"/>
|
||||
<source>boolean</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../qpiconfignewdialog.ui" line="78"/>
|
||||
<source>b</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../qpiconfignewdialog.ui" line="85"/>
|
||||
<source>color</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../qpiconfignewdialog.ui" line="88"/>
|
||||
<source>c</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../qpiconfignewdialog.ui" line="95"/>
|
||||
<source>rectangle</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../qpiconfignewdialog.ui" line="98"/>
|
||||
<source>r</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../qpiconfignewdialog.ui" line="105"/>
|
||||
<source>area</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../qpiconfignewdialog.ui" line="108"/>
|
||||
<source>a</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../qpiconfignewdialog.ui" line="115"/>
|
||||
<source>point</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../qpiconfignewdialog.ui" line="118"/>
|
||||
<source>p</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../qpiconfignewdialog.ui" line="125"/>
|
||||
<source>vector</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../qpiconfignewdialog.ui" line="128"/>
|
||||
<source>v</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../qpiconfignewdialog.ui" line="135"/>
|
||||
<source>ip</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../qpiconfignewdialog.ui" line="138"/>
|
||||
<source>i</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../qpiconfignewdialog.ui" line="148"/>
|
||||
<source>Name:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../qpiconfignewdialog.ui" line="181"/>
|
||||
<source>Comment:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../qpiconfignewdialog.ui" line="191"/>
|
||||
<source>Value:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>QPIConfigWidget</name>
|
||||
<message>
|
||||
<location filename="../qpiconfigwidget.cpp" line="339"/>
|
||||
<source>Name</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../qpiconfigwidget.cpp" line="339"/>
|
||||
<source>Value</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../qpiconfigwidget.cpp" line="339"/>
|
||||
<source>Type</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../qpiconfigwidget.cpp" line="339"/>
|
||||
<source>Comment</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../qpiconfigwidget.cpp" line="354"/>
|
||||
<source>Add item ...</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../qpiconfigwidget.cpp" line="355"/>
|
||||
<source>Add node ...</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../qpiconfigwidget.cpp" line="356"/>
|
||||
<source>Convert to item</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../qpiconfigwidget.cpp" line="357"/>
|
||||
<source>Convert to node</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../qpiconfigwidget.cpp" line="358"/>
|
||||
<source>Remove</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../qpiconfigwidget.cpp" line="359"/>
|
||||
<source>Expand all</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../qpiconfigwidget.cpp" line="360"/>
|
||||
<source>Collapse all</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>QPointEdit</name>
|
||||
<message>
|
||||
<location filename="../qpointedit.cpp" line="12"/>
|
||||
<location filename="../qpointedit.cpp" line="30"/>
|
||||
<source>X</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../qpointedit.cpp" line="13"/>
|
||||
<location filename="../qpointedit.cpp" line="31"/>
|
||||
<source>Y</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>QRectEdit</name>
|
||||
<message>
|
||||
<location filename="../qrectedit.cpp" line="18"/>
|
||||
<location filename="../qrectedit.cpp" line="50"/>
|
||||
<source>X</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../qrectedit.cpp" line="19"/>
|
||||
<location filename="../qrectedit.cpp" line="51"/>
|
||||
<source>Y</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../qrectedit.cpp" line="20"/>
|
||||
<location filename="../qrectedit.cpp" line="52"/>
|
||||
<source>Height</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../qrectedit.cpp" line="21"/>
|
||||
<location filename="../qrectedit.cpp" line="53"/>
|
||||
<source>Width</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>QVariantEdit</name>
|
||||
<message>
|
||||
<location filename="../qvariantedit.cpp" line="186"/>
|
||||
<source>Invalid value</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>ScrollSpinBox</name>
|
||||
<message>
|
||||
<location filename="../scroll_spin_box.ui" line="51"/>
|
||||
<source>Grab and scroll</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Shortcuts</name>
|
||||
<message>
|
||||
<location filename="../shortcuts.cpp" line="38"/>
|
||||
<location filename="../shortcuts.cpp" line="55"/>
|
||||
<source>Command</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../shortcuts.cpp" line="38"/>
|
||||
<location filename="../shortcuts.cpp" line="55"/>
|
||||
<source>Shortcut</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>StringListEdit</name>
|
||||
<message>
|
||||
<location filename="../qvariantedit.cpp" line="67"/>
|
||||
<location filename="../qvariantedit.cpp" line="86"/>
|
||||
<source>Add</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../qvariantedit.cpp" line="68"/>
|
||||
<location filename="../qvariantedit.cpp" line="87"/>
|
||||
<source>Remove</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../qvariantedit.cpp" line="69"/>
|
||||
<location filename="../qvariantedit.cpp" line="88"/>
|
||||
<source>Clear</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
</TS>
|
||||
@@ -5,7 +5,7 @@
|
||||
<name>CLineEdit</name>
|
||||
<message>
|
||||
<location filename="../clineedit.cpp" line="9"/>
|
||||
<location filename="../clineedit.cpp" line="44"/>
|
||||
<location filename="../clineedit.cpp" line="45"/>
|
||||
<source>Clear</source>
|
||||
<translation>Сбросить</translation>
|
||||
</message>
|
||||
@@ -19,187 +19,187 @@
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../chardialog.cpp" line="23"/>
|
||||
<location filename="../chardialog.cpp" line="54"/>
|
||||
<location filename="../chardialog.cpp" line="55"/>
|
||||
<source>No Category</source>
|
||||
<translation>Вне категории</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../chardialog.cpp" line="23"/>
|
||||
<location filename="../chardialog.cpp" line="54"/>
|
||||
<location filename="../chardialog.cpp" line="55"/>
|
||||
<source>Mark NonSpacing</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../chardialog.cpp" line="23"/>
|
||||
<location filename="../chardialog.cpp" line="54"/>
|
||||
<location filename="../chardialog.cpp" line="55"/>
|
||||
<source>Mark SpacingCombining</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../chardialog.cpp" line="23"/>
|
||||
<location filename="../chardialog.cpp" line="54"/>
|
||||
<location filename="../chardialog.cpp" line="55"/>
|
||||
<source>Mark Enclosing</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../chardialog.cpp" line="24"/>
|
||||
<location filename="../chardialog.cpp" line="55"/>
|
||||
<location filename="../chardialog.cpp" line="56"/>
|
||||
<source>Number DecimalDigit</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../chardialog.cpp" line="24"/>
|
||||
<location filename="../chardialog.cpp" line="55"/>
|
||||
<location filename="../chardialog.cpp" line="56"/>
|
||||
<source>Number Letter</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../chardialog.cpp" line="24"/>
|
||||
<location filename="../chardialog.cpp" line="55"/>
|
||||
<location filename="../chardialog.cpp" line="56"/>
|
||||
<source>Number Other</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../chardialog.cpp" line="24"/>
|
||||
<location filename="../chardialog.cpp" line="55"/>
|
||||
<location filename="../chardialog.cpp" line="56"/>
|
||||
<source>Separator Space</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../chardialog.cpp" line="25"/>
|
||||
<location filename="../chardialog.cpp" line="56"/>
|
||||
<location filename="../chardialog.cpp" line="57"/>
|
||||
<source>Separator Line</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../chardialog.cpp" line="25"/>
|
||||
<location filename="../chardialog.cpp" line="56"/>
|
||||
<location filename="../chardialog.cpp" line="57"/>
|
||||
<source>Separator Paragraph</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../chardialog.cpp" line="25"/>
|
||||
<location filename="../chardialog.cpp" line="56"/>
|
||||
<location filename="../chardialog.cpp" line="57"/>
|
||||
<source>Other Control</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../chardialog.cpp" line="25"/>
|
||||
<location filename="../chardialog.cpp" line="56"/>
|
||||
<location filename="../chardialog.cpp" line="57"/>
|
||||
<source>Other Format</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../chardialog.cpp" line="26"/>
|
||||
<location filename="../chardialog.cpp" line="57"/>
|
||||
<location filename="../chardialog.cpp" line="58"/>
|
||||
<source>Other Surrogate</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../chardialog.cpp" line="26"/>
|
||||
<location filename="../chardialog.cpp" line="57"/>
|
||||
<location filename="../chardialog.cpp" line="58"/>
|
||||
<source>Other PrivateUse</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../chardialog.cpp" line="26"/>
|
||||
<location filename="../chardialog.cpp" line="57"/>
|
||||
<location filename="../chardialog.cpp" line="58"/>
|
||||
<source>Other NotAssigned</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../chardialog.cpp" line="26"/>
|
||||
<location filename="../chardialog.cpp" line="57"/>
|
||||
<location filename="../chardialog.cpp" line="58"/>
|
||||
<source>Letter Uppercase</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../chardialog.cpp" line="27"/>
|
||||
<location filename="../chardialog.cpp" line="58"/>
|
||||
<location filename="../chardialog.cpp" line="59"/>
|
||||
<source>Letter Lowercase</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../chardialog.cpp" line="27"/>
|
||||
<location filename="../chardialog.cpp" line="58"/>
|
||||
<location filename="../chardialog.cpp" line="59"/>
|
||||
<source>Letter Titlecase</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../chardialog.cpp" line="27"/>
|
||||
<location filename="../chardialog.cpp" line="58"/>
|
||||
<location filename="../chardialog.cpp" line="59"/>
|
||||
<source>Letter Modifier</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../chardialog.cpp" line="27"/>
|
||||
<location filename="../chardialog.cpp" line="58"/>
|
||||
<location filename="../chardialog.cpp" line="59"/>
|
||||
<source>Letter Other</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../chardialog.cpp" line="28"/>
|
||||
<location filename="../chardialog.cpp" line="59"/>
|
||||
<location filename="../chardialog.cpp" line="60"/>
|
||||
<source>Punctuation Connector</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../chardialog.cpp" line="28"/>
|
||||
<location filename="../chardialog.cpp" line="59"/>
|
||||
<location filename="../chardialog.cpp" line="60"/>
|
||||
<source>Punctuation Dash</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../chardialog.cpp" line="28"/>
|
||||
<location filename="../chardialog.cpp" line="59"/>
|
||||
<location filename="../chardialog.cpp" line="60"/>
|
||||
<source>Punctuation Open</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../chardialog.cpp" line="28"/>
|
||||
<location filename="../chardialog.cpp" line="59"/>
|
||||
<location filename="../chardialog.cpp" line="60"/>
|
||||
<source>Punctuation Close</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../chardialog.cpp" line="29"/>
|
||||
<location filename="../chardialog.cpp" line="60"/>
|
||||
<location filename="../chardialog.cpp" line="61"/>
|
||||
<source>Punctuation InitialQuote</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../chardialog.cpp" line="29"/>
|
||||
<location filename="../chardialog.cpp" line="60"/>
|
||||
<location filename="../chardialog.cpp" line="61"/>
|
||||
<source>Punctuation FinalQuote</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../chardialog.cpp" line="29"/>
|
||||
<location filename="../chardialog.cpp" line="60"/>
|
||||
<location filename="../chardialog.cpp" line="61"/>
|
||||
<source>Punctuation Other</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../chardialog.cpp" line="29"/>
|
||||
<location filename="../chardialog.cpp" line="60"/>
|
||||
<location filename="../chardialog.cpp" line="61"/>
|
||||
<source>Symbol Math</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../chardialog.cpp" line="30"/>
|
||||
<location filename="../chardialog.cpp" line="61"/>
|
||||
<location filename="../chardialog.cpp" line="62"/>
|
||||
<source>Symbol Currency</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../chardialog.cpp" line="30"/>
|
||||
<location filename="../chardialog.cpp" line="61"/>
|
||||
<location filename="../chardialog.cpp" line="62"/>
|
||||
<source>Symbol Modifier</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../chardialog.cpp" line="30"/>
|
||||
<location filename="../chardialog.cpp" line="61"/>
|
||||
<location filename="../chardialog.cpp" line="62"/>
|
||||
<source>Symbol Other</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
@@ -208,21 +208,24 @@
|
||||
<name>ColorButton</name>
|
||||
<message>
|
||||
<location filename="../colorbutton.cpp" line="20"/>
|
||||
<location filename="../colorbutton.cpp" line="93"/>
|
||||
<source>Copy</source>
|
||||
<translation>Копировать</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../colorbutton.cpp" line="21"/>
|
||||
<location filename="../colorbutton.cpp" line="94"/>
|
||||
<source>Paste</source>
|
||||
<translation>Вставить</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../colorbutton.cpp" line="23"/>
|
||||
<location filename="../colorbutton.cpp" line="95"/>
|
||||
<source>Mix with clipboard</source>
|
||||
<translation>Смешать со скопированным</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../colorbutton.cpp" line="90"/>
|
||||
<location filename="../colorbutton.cpp" line="104"/>
|
||||
<source>Choose color</source>
|
||||
<translation>Выбрать цвет</translation>
|
||||
</message>
|
||||
@@ -231,6 +234,7 @@
|
||||
<name>EComboBox</name>
|
||||
<message>
|
||||
<location filename="../ecombobox.cpp" line="44"/>
|
||||
<location filename="../ecombobox.cpp" line="80"/>
|
||||
<source>Filter</source>
|
||||
<translation>Фильтр</translation>
|
||||
</message>
|
||||
@@ -239,7 +243,7 @@
|
||||
<name>EvalSpinBox</name>
|
||||
<message>
|
||||
<location filename="../evalspinbox.cpp" line="28"/>
|
||||
<location filename="../evalspinbox.cpp" line="92"/>
|
||||
<location filename="../evalspinbox.cpp" line="93"/>
|
||||
<source>Clear</source>
|
||||
<translation>Очистить</translation>
|
||||
</message>
|
||||
@@ -249,12 +253,12 @@
|
||||
<message>
|
||||
<location filename="../matrixedit.ui" line="33"/>
|
||||
<source>Cols:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
<translation>Колонки:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../matrixedit.ui" line="47"/>
|
||||
<source>Rows:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
<translation>Строки:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../matrixedit.ui" line="76"/>
|
||||
@@ -264,7 +268,7 @@
|
||||
<message>
|
||||
<location filename="../matrixedit.ui" line="79"/>
|
||||
<source>0</source>
|
||||
<translation type="unfinished"></translation>
|
||||
<translation></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../matrixedit.ui" line="86"/>
|
||||
@@ -274,7 +278,7 @@
|
||||
<message>
|
||||
<location filename="../matrixedit.ui" line="89"/>
|
||||
<source>I</source>
|
||||
<translation type="unfinished"></translation>
|
||||
<translation></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
@@ -286,7 +290,7 @@
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../qvariantedit.cpp" line="112"/>
|
||||
<location filename="../qvariantedit.cpp" line="124"/>
|
||||
<location filename="../qvariantedit.cpp" line="125"/>
|
||||
<source>Choose</source>
|
||||
<translation>Выберите</translation>
|
||||
</message>
|
||||
@@ -305,6 +309,7 @@
|
||||
<name>QCodeEdit</name>
|
||||
<message>
|
||||
<location filename="../qcodeedit.cpp" line="53"/>
|
||||
<location filename="../qcodeedit.cpp" line="570"/>
|
||||
<source>Press F1 for details</source>
|
||||
<translation>Нажмите F1 для справочной информации</translation>
|
||||
</message>
|
||||
@@ -321,7 +326,7 @@
|
||||
<message>
|
||||
<location filename="../qcodeedit.ui" line="143"/>
|
||||
<source>Aa</source>
|
||||
<translation type="unfinished"></translation>
|
||||
<translation>Аа</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../qcodeedit.ui" line="159"/>
|
||||
@@ -389,7 +394,7 @@
|
||||
<message>
|
||||
<location filename="../qpiconfignewdialog.ui" line="26"/>
|
||||
<source>Type</source>
|
||||
<translation type="unfinished">Тип</translation>
|
||||
<translation>Тип</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../qpiconfignewdialog.ui" line="32"/>
|
||||
@@ -504,128 +509,73 @@
|
||||
<message>
|
||||
<location filename="../qpiconfignewdialog.ui" line="148"/>
|
||||
<source>Name:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
<translation>Имя:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../qpiconfignewdialog.ui" line="181"/>
|
||||
<source>Comment:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
<translation>Комментарий:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../qpiconfignewdialog.ui" line="191"/>
|
||||
<source>Value:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
<translation>Значение:</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>QPIConfigWidget</name>
|
||||
<message>
|
||||
<location filename="../qpiconfigwidget.cpp" line="341"/>
|
||||
<location filename="../qpiconfigwidget.cpp" line="339"/>
|
||||
<source>Name</source>
|
||||
<translation>Имя</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../qpiconfigwidget.cpp" line="341"/>
|
||||
<location filename="../qpiconfigwidget.cpp" line="339"/>
|
||||
<source>Value</source>
|
||||
<translation>Значение</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../qpiconfigwidget.cpp" line="341"/>
|
||||
<location filename="../qpiconfigwidget.cpp" line="339"/>
|
||||
<source>Type</source>
|
||||
<translation>Тип</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../qpiconfigwidget.cpp" line="341"/>
|
||||
<location filename="../qpiconfigwidget.cpp" line="339"/>
|
||||
<source>Comment</source>
|
||||
<translation>Описание</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../qpiconfigwidget.cpp" line="345"/>
|
||||
<source>string</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../qpiconfigwidget.cpp" line="346"/>
|
||||
<source>string list</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../qpiconfigwidget.cpp" line="347"/>
|
||||
<source>integer</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../qpiconfigwidget.cpp" line="348"/>
|
||||
<source>float</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../qpiconfigwidget.cpp" line="349"/>
|
||||
<source>boolean</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../qpiconfigwidget.cpp" line="350"/>
|
||||
<source>color</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../qpiconfigwidget.cpp" line="351"/>
|
||||
<source>rectangle</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../qpiconfigwidget.cpp" line="352"/>
|
||||
<source>area</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../qpiconfigwidget.cpp" line="353"/>
|
||||
<source>point</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../qpiconfigwidget.cpp" line="354"/>
|
||||
<source>vector</source>
|
||||
<translation type="unfinished"></translation>
|
||||
<source>Add item ...</source>
|
||||
<translation>Добавить поле ...</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../qpiconfigwidget.cpp" line="355"/>
|
||||
<source>ip</source>
|
||||
<translation type="unfinished"></translation>
|
||||
<source>Add node ...</source>
|
||||
<translation>Добавить секцию ...</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../qpiconfigwidget.cpp" line="356"/>
|
||||
<source>Add item ...</source>
|
||||
<translation type="unfinished"></translation>
|
||||
<source>Convert to item</source>
|
||||
<translation>Преобразовать в значение</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../qpiconfigwidget.cpp" line="357"/>
|
||||
<source>Add node ...</source>
|
||||
<translation type="unfinished"></translation>
|
||||
<source>Convert to node</source>
|
||||
<translation>Преобразовать в секцию</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../qpiconfigwidget.cpp" line="358"/>
|
||||
<source>Convert to item</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../qpiconfigwidget.cpp" line="359"/>
|
||||
<source>Convert to node</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../qpiconfigwidget.cpp" line="360"/>
|
||||
<source>Remove</source>
|
||||
<translation>Удалить</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../qpiconfigwidget.cpp" line="361"/>
|
||||
<location filename="../qpiconfigwidget.cpp" line="359"/>
|
||||
<source>Expand all</source>
|
||||
<translation>Свернуть все</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../qpiconfigwidget.cpp" line="362"/>
|
||||
<location filename="../qpiconfigwidget.cpp" line="360"/>
|
||||
<source>Collapse all</source>
|
||||
<translation>Развернуть все</translation>
|
||||
</message>
|
||||
@@ -634,13 +584,13 @@
|
||||
<name>QPointEdit</name>
|
||||
<message>
|
||||
<location filename="../qpointedit.cpp" line="12"/>
|
||||
<location filename="../qpointedit.cpp" line="29"/>
|
||||
<location filename="../qpointedit.cpp" line="30"/>
|
||||
<source>X</source>
|
||||
<translation></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../qpointedit.cpp" line="13"/>
|
||||
<location filename="../qpointedit.cpp" line="30"/>
|
||||
<location filename="../qpointedit.cpp" line="31"/>
|
||||
<source>Y</source>
|
||||
<translation></translation>
|
||||
</message>
|
||||
@@ -649,25 +599,25 @@
|
||||
<name>QRectEdit</name>
|
||||
<message>
|
||||
<location filename="../qrectedit.cpp" line="18"/>
|
||||
<location filename="../qrectedit.cpp" line="49"/>
|
||||
<location filename="../qrectedit.cpp" line="50"/>
|
||||
<source>X</source>
|
||||
<translation></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../qrectedit.cpp" line="19"/>
|
||||
<location filename="../qrectedit.cpp" line="50"/>
|
||||
<location filename="../qrectedit.cpp" line="51"/>
|
||||
<source>Y</source>
|
||||
<translation></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../qrectedit.cpp" line="20"/>
|
||||
<location filename="../qrectedit.cpp" line="51"/>
|
||||
<location filename="../qrectedit.cpp" line="52"/>
|
||||
<source>Height</source>
|
||||
<translation>Высота</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../qrectedit.cpp" line="21"/>
|
||||
<location filename="../qrectedit.cpp" line="52"/>
|
||||
<location filename="../qrectedit.cpp" line="53"/>
|
||||
<source>Width</source>
|
||||
<translation>Ширина</translation>
|
||||
</message>
|
||||
@@ -692,13 +642,13 @@
|
||||
<name>Shortcuts</name>
|
||||
<message>
|
||||
<location filename="../shortcuts.cpp" line="38"/>
|
||||
<location filename="../shortcuts.cpp" line="54"/>
|
||||
<location filename="../shortcuts.cpp" line="55"/>
|
||||
<source>Command</source>
|
||||
<translation>Команда</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../shortcuts.cpp" line="38"/>
|
||||
<location filename="../shortcuts.cpp" line="54"/>
|
||||
<location filename="../shortcuts.cpp" line="55"/>
|
||||
<source>Shortcut</source>
|
||||
<translation>Горячая клавиша</translation>
|
||||
</message>
|
||||
@@ -707,19 +657,19 @@
|
||||
<name>StringListEdit</name>
|
||||
<message>
|
||||
<location filename="../qvariantedit.cpp" line="67"/>
|
||||
<location filename="../qvariantedit.cpp" line="85"/>
|
||||
<location filename="../qvariantedit.cpp" line="86"/>
|
||||
<source>Add</source>
|
||||
<translation>Добавить</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../qvariantedit.cpp" line="68"/>
|
||||
<location filename="../qvariantedit.cpp" line="86"/>
|
||||
<location filename="../qvariantedit.cpp" line="87"/>
|
||||
<source>Remove</source>
|
||||
<translation>Удалить</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../qvariantedit.cpp" line="69"/>
|
||||
<location filename="../qvariantedit.cpp" line="87"/>
|
||||
<location filename="../qvariantedit.cpp" line="88"/>
|
||||
<source>Clear</source>
|
||||
<translation>Очистить</translation>
|
||||
</message>
|
||||
|
||||
@@ -1 +1,2 @@
|
||||
lupdate ../ -ts qad_widgets_ru.ts
|
||||
lupdate ../ -ts qad_widgets_en.ts
|
||||
|
||||
@@ -52,6 +52,18 @@ void MatrixEdit::clear(bool ident) {
|
||||
}
|
||||
|
||||
|
||||
void MatrixEdit::changeEvent(QEvent * e) {
|
||||
QWidget::changeEvent(e);
|
||||
switch (e->type()) {
|
||||
case QEvent::LanguageChange:
|
||||
ui->retranslateUi(this);
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
QVector<double> MatrixEdit::vector() const {
|
||||
QVector<double> ret;
|
||||
if (ui->table->columnCount() < 1) return ret;
|
||||
|
||||
@@ -46,6 +46,7 @@ public:
|
||||
private:
|
||||
void setVectorMode(bool yes);
|
||||
void clear(bool ident = false);
|
||||
void changeEvent(QEvent * e);
|
||||
|
||||
Ui::MatrixEdit * ui;
|
||||
bool ro;
|
||||
|
||||
@@ -562,6 +562,19 @@ void QCodeEdit::leaveEvent(QEvent * e) {
|
||||
}
|
||||
|
||||
|
||||
void QCodeEdit::changeEvent(QEvent * e) {
|
||||
QWidget::changeEvent(e);
|
||||
switch (e->type()) {
|
||||
case QEvent::LanguageChange:
|
||||
ui->retranslateUi(this);
|
||||
lbl_help[1]->setText(tr("Press F1 for details"));
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
char antiBracket(char c) {
|
||||
switch (c) {
|
||||
case '(': return ')';
|
||||
|
||||
@@ -115,6 +115,7 @@ private:
|
||||
void showEvent(QShowEvent * );
|
||||
void timerEvent(QTimerEvent * );
|
||||
void leaveEvent(QEvent * );
|
||||
void changeEvent(QEvent * e);
|
||||
void highlightBrackets();
|
||||
void applyExtraSelection();
|
||||
void nextCompletition();
|
||||
|
||||
@@ -46,13 +46,11 @@ QPIConfigWidget::QPIConfigWidget(QWidget * parent, QPIConfig * c, bool on): QTre
|
||||
|
||||
|
||||
void QPIConfigWidget::changeEvent(QEvent * e) {
|
||||
QTreeWidget::changeEvent(e);
|
||||
if (e->type() == QEvent::LanguageChange) {
|
||||
translate();
|
||||
return;
|
||||
}
|
||||
//for (int i = 0; i < 4; ++i)
|
||||
// setColumnHidden(i, c_hidden[i]);
|
||||
QTreeWidget::changeEvent(e);
|
||||
}
|
||||
|
||||
|
||||
@@ -342,17 +340,17 @@ void QPIConfigWidget::translate() {
|
||||
if (active) setHeaderLabels(l);
|
||||
types.clear();
|
||||
s_types.clear();
|
||||
addTrEntry("s", tr("string"));
|
||||
addTrEntry("l", tr("string list"));
|
||||
addTrEntry("n", tr("integer"));
|
||||
addTrEntry("f", tr("float"));
|
||||
addTrEntry("b", tr("boolean"));
|
||||
addTrEntry("c", tr("color"));
|
||||
addTrEntry("r", tr("rectangle"));
|
||||
addTrEntry("a", tr("area"));
|
||||
addTrEntry("p", tr("point"));
|
||||
addTrEntry("v", tr("vector"));
|
||||
addTrEntry("i", tr("ip"));
|
||||
addTrEntry("s", "string");
|
||||
addTrEntry("l", "string list");
|
||||
addTrEntry("n", "integer");
|
||||
addTrEntry("f", "float");
|
||||
addTrEntry("b", "boolean");
|
||||
addTrEntry("c", "color");
|
||||
addTrEntry("r", "rectangle");
|
||||
addTrEntry("a", "area");
|
||||
addTrEntry("p", "point");
|
||||
addTrEntry("v", "vector");
|
||||
addTrEntry("i", "ip");
|
||||
actionAddItem.setText(tr("Add item ..."));
|
||||
actionAddNode.setText(tr("Add node ..."));
|
||||
actionToItem.setText(tr("Convert to item"));
|
||||
|
||||
@@ -25,10 +25,10 @@ QPointEdit::QPointEdit(QWidget * parent): QWidget(parent), lay(QBoxLayout::LeftT
|
||||
|
||||
|
||||
void QPointEdit::changeEvent(QEvent * e) {
|
||||
QWidget::changeEvent(e);
|
||||
if (e->type() == QEvent::LanguageChange) {
|
||||
s_x->setToolTip(tr("X"));
|
||||
s_y->setToolTip(tr("Y"));
|
||||
return;
|
||||
}
|
||||
QWidget::changeEvent(e);
|
||||
}
|
||||
|
||||
@@ -45,6 +45,7 @@ QRectEdit::QRectEdit(QWidget * parent): QWidget(parent), lay(QBoxLayout::LeftToR
|
||||
|
||||
|
||||
void QRectEdit::changeEvent(QEvent * e) {
|
||||
QWidget::changeEvent(e);
|
||||
if (e->type() == QEvent::LanguageChange) {
|
||||
s_x->setToolTip(tr("X"));
|
||||
s_y->setToolTip(tr("Y"));
|
||||
@@ -52,5 +53,4 @@ void QRectEdit::changeEvent(QEvent * e) {
|
||||
s_h->setToolTip(tr("Width"));
|
||||
return;
|
||||
}
|
||||
QWidget::changeEvent(e);
|
||||
}
|
||||
|
||||
@@ -81,13 +81,13 @@ StringListEdit::StringListEdit(QWidget * parent): QWidget(parent), lay(QBoxLayou
|
||||
|
||||
|
||||
void StringListEdit::changeEvent(QEvent * e) {
|
||||
QWidget::changeEvent(e);
|
||||
if (e->type() == QEvent::LanguageChange) {
|
||||
butt_add->setToolTip(tr("Add"));
|
||||
butt_del->setToolTip(tr("Remove"));
|
||||
butt_clear->setToolTip(tr("Clear"));
|
||||
return;
|
||||
}
|
||||
QWidget::changeEvent(e);
|
||||
}
|
||||
|
||||
|
||||
@@ -120,11 +120,11 @@ PathEdit::PathEdit(QWidget * parent): QWidget(parent), lay(QBoxLayout::LeftToRig
|
||||
|
||||
|
||||
void PathEdit::changeEvent(QEvent * e) {
|
||||
QWidget::changeEvent(e);
|
||||
if (e->type() == QEvent::LanguageChange) {
|
||||
butt_select->setToolTip(tr("Choose") + " ...");
|
||||
return;
|
||||
}
|
||||
QWidget::changeEvent(e);
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -49,10 +49,12 @@ Shortcuts::~Shortcuts() {
|
||||
|
||||
|
||||
void Shortcuts::changeEvent(QEvent * e) {
|
||||
QTreeWidget::changeEvent(e);
|
||||
if (e->type() == QEvent::LanguageChange) {
|
||||
QStringList l;
|
||||
l << tr("Command") << tr("Shortcut");
|
||||
setHeaderLabels(l);
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user