translate ShortCut
This commit is contained in:
parent
19e819e2b4
commit
bbfb33555b
|
@ -600,10 +600,12 @@ void QtWindow::about()
|
|||
|
||||
QString QtWindow::displayShortCut(QString key, QString description)
|
||||
{
|
||||
QString space = tr("space");
|
||||
|
||||
QString str = QString("<tr>"
|
||||
"<td>%1</td>"
|
||||
"<td>%2</td>"
|
||||
"</tr>").arg( description ).arg( m_settings->value(key).toString());
|
||||
"</tr>").arg( description ).arg(tr(m_settings->value(key).toString().toUtf8().data()));
|
||||
return str;
|
||||
|
||||
}
|
||||
|
|
|
@ -1286,23 +1286,23 @@
|
|||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/GuiSongDetailsDialog.ui" line="23"/>
|
||||
<location filename="../src/GuiSongDetailsDialog.ui" line="27"/>
|
||||
<location filename="../src/GuiSongDetailsDialog.cpp" line="39"/>
|
||||
<source>Song Details</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/GuiSongDetailsDialog.ui" line="29"/>
|
||||
<location filename="../src/GuiSongDetailsDialog.ui" line="33"/>
|
||||
<source>MIDI Channels for left and right hand piano parts:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/GuiSongDetailsDialog.ui" line="41"/>
|
||||
<location filename="../src/GuiSongDetailsDialog.ui" line="45"/>
|
||||
<source>Right Hand MIDI Channel:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/GuiSongDetailsDialog.ui" line="64"/>
|
||||
<location filename="../src/GuiSongDetailsDialog.ui" line="68"/>
|
||||
<source>Left Hand MIDI Channel:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
|
@ -1780,7 +1780,7 @@
|
|||
</message>
|
||||
<message>
|
||||
<location filename="../src/QtWindow.cpp" line="588"/>
|
||||
<source>Copyright(c) Olivier Humbert, 2018 pour la traduction en français (for the French translation).<br><br></source>
|
||||
<source>Copyright(c) Olivier Humbert, 2018 for the French translation.<br><br></source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
|
@ -1794,83 +1794,88 @@
|
|||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/QtWindow.cpp" line="614"/>
|
||||
<source>PC Keyboard Short Cuts</source>
|
||||
<location filename="../src/QtWindow.cpp" line="603"/>
|
||||
<source>space</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/QtWindow.cpp" line="616"/>
|
||||
<source>PC Keyboard Short Cuts</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/QtWindow.cpp" line="618"/>
|
||||
<source><h2><center>Keyboard short cuts</center></h2><p>The following PC keyboard short cuts have been defined.</p><center><table border='1' cellspacing='0' cellpadding='4' ></source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/QtWindow.cpp" line="622"/>
|
||||
<location filename="../src/QtWindow.cpp" line="624"/>
|
||||
<source><tr><th>Action</th><th>Key</th></tr></source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/QtWindow.cpp" line="628"/>
|
||||
<location filename="../src/QtWindow.cpp" line="630"/>
|
||||
<source>Choose the right hand</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/QtWindow.cpp" line="629"/>
|
||||
<location filename="../src/QtWindow.cpp" line="631"/>
|
||||
<source>Choose both hands</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/QtWindow.cpp" line="630"/>
|
||||
<location filename="../src/QtWindow.cpp" line="632"/>
|
||||
<source>Choose the left Hand</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/QtWindow.cpp" line="631"/>
|
||||
<location filename="../src/QtWindow.cpp" line="633"/>
|
||||
<source>Play from start toggle</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/QtWindow.cpp" line="632"/>
|
||||
<location filename="../src/QtWindow.cpp" line="634"/>
|
||||
<source>Play Pause Toggle</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/QtWindow.cpp" line="633"/>
|
||||
<location filename="../src/QtWindow.cpp" line="634"/>
|
||||
<location filename="../src/QtWindow.cpp" line="635"/>
|
||||
<location filename="../src/QtWindow.cpp" line="636"/>
|
||||
<source>Increase the speed by 5%</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/QtWindow.cpp" line="635"/>
|
||||
<location filename="../src/QtWindow.cpp" line="637"/>
|
||||
<source>Change to the Next Song</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/QtWindow.cpp" line="636"/>
|
||||
<location filename="../src/QtWindow.cpp" line="638"/>
|
||||
<source>Change to the Previous Song</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/QtWindow.cpp" line="637"/>
|
||||
<location filename="../src/QtWindow.cpp" line="639"/>
|
||||
<source>Change to the Next Book</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/QtWindow.cpp" line="638"/>
|
||||
<location filename="../src/QtWindow.cpp" line="640"/>
|
||||
<source>Change to the Previous Book</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/QtWindow.cpp" line="640"/>
|
||||
<location filename="../src/QtWindow.cpp" line="642"/>
|
||||
<source><tr><td>Fake Piano keys</td><td>X is middle C</td></tr></table> </center><br></source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/QtWindow.cpp" line="661"/>
|
||||
<location filename="../src/QtWindow.cpp" line="663"/>
|
||||
<source>Open Midi File</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/QtWindow.cpp" line="662"/>
|
||||
<location filename="../src/QtWindow.cpp" line="664"/>
|
||||
<source>Midi Files</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
|
|
Loading…
Reference in New Issue
Block a user