i18n: update translate strings

This commit is contained in:
Gary Wang 2020-01-05 15:07:08 +08:00
parent a694c2b037
commit a41f2af021
4 changed files with 26 additions and 6 deletions

View File

@ -1,7 +1,23 @@
Yet another image viewer.
|CI|Build Status|
|---|---|
|Windows Build|[![Windows build status](https://ci.appveyor.com/api/projects/status/dbd8clww3cit6oa0/branch/master?svg=true)](https://ci.appveyor.com/project/BLumia/pineapplepictures/branch/master)
|
![Pineapple Pictures - Main Window](https://repository-images.githubusercontent.com/211888654/21fb6300-269f-11ea-8e85-953e5d57da44)
## Get it!
- [GitHub Release Page](https://github.com/BLumia/PineapplePictures/releases)
- Archlinux AUR: [pineapple-pictures-git](https://aur.archlinux.org/packages/pineapple-pictures-git/)
## Help Translation!
[Translate this project on Transifex!](https://www.transifex.com/blumia/pineapple-pictures/)
Feel free to open up an issue to request an new language to translate.
## Uncleaned shits inside(TM):
- Mixed `CR LF` and `LF`.

View File

@ -46,7 +46,7 @@
</message>
<message>
<location filename="../mainwindow.cpp" line="343"/>
<source>Copy &amp;Pixmap</source>
<source>Copy P&amp;ixmap</source>
<translation type="unfinished"></translation>
</message>
<message>
@ -110,7 +110,7 @@
<context>
<name>main</name>
<message>
<location filename="../main.cpp" line="18"/>
<location filename="../main.cpp" line="24"/>
<source>File list.</source>
<translation type="unfinished"></translation>
</message>

View File

@ -45,9 +45,13 @@
<translation>(&amp;C)</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="343"/>
<source>Copy &amp;Pixmap</source>
<translation>(&amp;P)</translation>
<translation type="vanished">(&amp;P)</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="343"/>
<source>Copy P&amp;ixmap</source>
<translation>(&amp;I)</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="348"/>
@ -110,7 +114,7 @@
<context>
<name>main</name>
<message>
<location filename="../main.cpp" line="18"/>
<location filename="../main.cpp" line="24"/>
<source>File list.</source>
<translation></translation>
</message>

View File

@ -340,7 +340,7 @@ void MainWindow::contextMenuEvent(QContextMenuEvent *event)
}
}
QAction * copyPixmap = new QAction(tr("Copy &Pixmap"));
QAction * copyPixmap = new QAction(tr("Copy P&ixmap"));
connect(copyPixmap, &QAction::triggered, this, [ = ](){
QClipboard *cb = QApplication::clipboard();
cb->setPixmap(m_graphicsView->scene()->renderToPixmap());