mirror of
https://gitee.com/vnotex/vnote.git
synced 2025-07-05 05:49:53 +08:00
update translations
This commit is contained in:
parent
a31a7a32a5
commit
fe3280e02e
File diff suppressed because it is too large
Load Diff
Binary file not shown.
File diff suppressed because it is too large
Load Diff
@ -79,7 +79,7 @@
|
||||
<file>web/js/mark.js/mark.min.js</file>
|
||||
<file>web/js/markjs.js</file>
|
||||
<file>web/js/mind-elixir/MindElixir.min.js</file>
|
||||
<file>web/js/mind-elixir/painter.min.js</file>
|
||||
<file>web/js/mind-elixir/painter.js</file>
|
||||
<file>dicts/en_US.aff</file>
|
||||
<file>dicts/en_US.dic</file>
|
||||
<file>themes/native/text-editor.theme</file>
|
||||
|
@ -98,7 +98,7 @@ void UnitedEntry::setupUI()
|
||||
m_lineEdit->setClearButtonEnabled(true);
|
||||
m_lineEdit->setSizePolicy(QSizePolicy::Policy::Preferred, QSizePolicy::Policy::Fixed);
|
||||
connect(m_lineEdit, &QLineEdit::textChanged,
|
||||
m_processTimer, QOverload<void>::of(&QTimer::start));
|
||||
m_processTimer, QOverload<>::of(&QTimer::start));
|
||||
setFocusProxy(m_lineEdit);
|
||||
|
||||
// Popup.
|
||||
|
@ -59,7 +59,7 @@ void UnitedEntryAlias::processInternal(const QString &p_args,
|
||||
const std::function<void(const QSharedPointer<QWidget> &)> &p_popupWidgetFunc)
|
||||
{
|
||||
if (!m_realEntry) {
|
||||
auto label = EntryWidgetFactory::createLabel(tr("Invalid UnitedEntry alias: %1").arg(m_value));
|
||||
auto label = EntryWidgetFactory::createLabel(tr("Invalid United Entry alias: %1").arg(m_value));
|
||||
p_popupWidgetFunc(label);
|
||||
emit finished();
|
||||
return;
|
||||
|
@ -534,7 +534,7 @@ QGroupBox *MarkdownEditorPage::setupGeneralGroup()
|
||||
m_plantUmlWebServiceLineEdit = WidgetsFactory::createLineEdit(box);
|
||||
m_plantUmlWebServiceLineEdit->setToolTip(tr("Override the Web service used to render PlantUml graphs"));
|
||||
|
||||
const QString label(tr("PlantUml Web service:"));
|
||||
const QString label(tr("Override PlantUml Web service:"));
|
||||
layout->addRow(label, m_plantUmlWebServiceLineEdit);
|
||||
addSearchItem(label, m_plantUmlWebServiceLineEdit->toolTip(), m_plantUmlWebServiceLineEdit);
|
||||
connect(m_plantUmlWebServiceLineEdit, &QLineEdit::textChanged,
|
||||
@ -604,7 +604,7 @@ QGroupBox *MarkdownEditorPage::setupGeneralGroup()
|
||||
m_mathJaxScriptLineEdit = WidgetsFactory::createLineEdit(box);
|
||||
m_mathJaxScriptLineEdit->setToolTip(tr("Override the MathJax script used to render math formulas"));
|
||||
|
||||
const QString label(tr("MathJax script:"));
|
||||
const QString label(tr("Override MathJax script:"));
|
||||
layout->addRow(label, m_mathJaxScriptLineEdit);
|
||||
addSearchItem(label, m_mathJaxScriptLineEdit->toolTip(), m_mathJaxScriptLineEdit);
|
||||
connect(m_mathJaxScriptLineEdit, &QLineEdit::textChanged,
|
||||
|
@ -570,24 +570,6 @@ bool MarkdownEditor::processHtmlFromMimeData(const QMimeData *p_source)
|
||||
return true;
|
||||
}
|
||||
|
||||
// Parse to Markdown and Paste.
|
||||
SelectDialog dialog(tr("Insert From Clipboard"), this);
|
||||
dialog.addSelection(tr("Insert As Text"), 0);
|
||||
dialog.addSelection(tr("Parse to Markdown and Paste"), 1);
|
||||
|
||||
if (dialog.exec() == QDialog::Accepted) {
|
||||
int selection = dialog.getSelection();
|
||||
if (selection == 0) {
|
||||
// Insert as text.
|
||||
m_textEdit->insertFromMimeDataOfBase(p_source);
|
||||
return true;
|
||||
} else if (selection == 1) {
|
||||
// Parse to Markdown and Paste.
|
||||
parseToMarkdownAndPaste();
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user