refine Chinese translations

This commit is contained in:
Le Tan 2017-05-25 22:24:58 +08:00
parent 73530355fd
commit c54bc9c680
5 changed files with 663 additions and 413 deletions

View File

@ -1,29 +1,30 @@
# Changes History # Changes History
## v1.5 ## v1.5
- Support logging in release mode; - Support logging in release mode.
- Fix Chinese font matching in mdhl; - Fix Chinese font matching in mdhl.
- Fix VimagePreviewer to support optional title; - Fix VimagePreviewer to support optional title.
- Refactor local image folder logics; - Refactor local image folder logics.
- Support custom local image folder for both notebook scope and global scope; - Support custom local image folder for both notebook scope and global scope.
- Support constraining the width of images in read mode; - Support constraining the width of images in read mode.
- Fix and refine default style; - Fix and refine default style.
- Centering the images and display the alt text as caption in read mode; - Centering the images and display the alt text as caption in read mode.
- Support exporting a single note as PDF file; - Support exporting a single note as PDF file.
- Add "Open File Location" menu item in folder tree and note list; - Add "Open File Location" menu item in folder tree and note list.
- Support highlighting trailing space.
## v1.4 ## v1.4
- Use `_vnote.json` as the config file; - Use `_vnote.json` as the config file.
- More user friendly messages; - More user friendly messages.
- Delete notebook by deleting root directories one by one; - Delete notebook by deleting root directories one by one.
- Refactor image preview logics to support previewing all images in edit mode; - Refactor image preview logics to support previewing all images in edit mode.
- Support constraining the width of previewed images to the edit window; - Support constraining the width of previewed images to the edit window.
- bugfix; - bugfix.
## v1.3 ## v1.3
- Support code block syntax highlight in edit mode; - Support code block syntax highlight in edit mode.
- A more pleasant AutoIndent and AutoList; - A more pleasant AutoIndent and AutoList.
- `Ctrl+<Num>` instead of `Ctrl+Alt+<Num>` to insert title; - `Ctrl+<Num>` instead of `Ctrl+Alt+<Num>` to insert title.
- Support custom Markdown CSS styles and editor styles; - Support custom Markdown CSS styles and editor styles.
## v1.2 ## v1.2
- Support **MathJax**. - Support **MathJax**.

View File

@ -107,12 +107,12 @@ QPixmap VDeleteNotebookDialog::standardIcon(QMessageBox::Icon p_icon)
void VDeleteNotebookDialog::notDeleteCheckChanged(int p_state) void VDeleteNotebookDialog::notDeleteCheckChanged(int p_state)
{ {
if (p_state) { if (p_state) {
m_warningLabel->setText(tr("VNote won't delete files under directory <span style=\"%1\">%2</span>.") m_warningLabel->setText(tr("VNote won't delete files in directory <span style=\"%1\">%2</span>.")
.arg(vconfig.c_dataTextStyle).arg(m_path)); .arg(vconfig.c_dataTextStyle).arg(m_path));
} else { } else {
m_warningLabel->setText(tr("<span style=\"%1\">WARNING</span>: " m_warningLabel->setText(tr("<span style=\"%1\">WARNING</span>: "
"VNote may delete <b>ANY</b> files under directory <span style=\"%2\">%3</span>! " "VNote may delete <b>ANY</b> files in directory <span style=\"%2\">%3</span>! "
"VNote will try to delete all the root directories within this notebook one by one. " "VNote will try to delete all the root folders within this notebook one by one. "
"It may be UNRECOVERABLE!") "It may be UNRECOVERABLE!")
.arg(vconfig.c_warningTextStyle).arg(vconfig.c_dataTextStyle).arg(m_path)); .arg(vconfig.c_warningTextStyle).arg(vconfig.c_dataTextStyle).arg(m_path));
} }

Binary file not shown.

File diff suppressed because it is too large Load Diff

View File

@ -35,12 +35,12 @@ void VDirectoryTree::initActions()
{ {
newRootDirAct = new QAction(QIcon(":/resources/icons/create_rootdir.svg"), newRootDirAct = new QAction(QIcon(":/resources/icons/create_rootdir.svg"),
tr("New &Root Folder"), this); tr("New &Root Folder"), this);
newRootDirAct->setToolTip(tr("Create a new root folder in current notebook")); newRootDirAct->setToolTip(tr("Create a root folder in current notebook"));
connect(newRootDirAct, &QAction::triggered, connect(newRootDirAct, &QAction::triggered,
this, &VDirectoryTree::newRootDirectory); this, &VDirectoryTree::newRootDirectory);
newSubDirAct = new QAction(tr("&New Subfolder"), this); newSubDirAct = new QAction(tr("&New Subfolder"), this);
newSubDirAct->setToolTip(tr("Create a new subfolder")); newSubDirAct->setToolTip(tr("Create a subfolder"));
connect(newSubDirAct, &QAction::triggered, connect(newSubDirAct, &QAction::triggered,
this, &VDirectoryTree::newSubDirectory); this, &VDirectoryTree::newSubDirectory);