i18n: some other strings
This commit is contained in:
parent
5c3523648e
commit
f25acbef12
|
@ -43,6 +43,18 @@
|
|||
<source>0:00</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Sample Rate: %1 Hz</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Bitrate: %1 Kbps</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Channel Count: %1</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>main</name>
|
||||
|
|
|
@ -43,6 +43,18 @@
|
|||
<source>0:00</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Sample Rate: %1 Hz</source>
|
||||
<translation>采样率: %1 Hz</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Bitrate: %1 Kbps</source>
|
||||
<translation>比特率: %1 Kbps</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Channel Count: %1</source>
|
||||
<translation>声道数: %1</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>main</name>
|
||||
|
|
|
@ -104,17 +104,17 @@ void MainWindow::setAudioPropertyInfoForDisplay(int sampleRate, int bitrate, int
|
|||
|
||||
if (sampleRate >= 0) {
|
||||
uiStrs << QString("%1 Hz").arg(sampleRate);
|
||||
tooltipStrs << QString("Sample Rate: %1 Hz").arg(sampleRate);
|
||||
tooltipStrs << tr("Sample Rate: %1 Hz").arg(sampleRate);
|
||||
}
|
||||
|
||||
if (bitrate >= 0) {
|
||||
uiStrs << QString("%1 Kbps").arg(bitrate);
|
||||
tooltipStrs << QString("Bitrate: %1 Kbps").arg(bitrate);
|
||||
tooltipStrs << tr("Bitrate: %1 Kbps").arg(bitrate);
|
||||
}
|
||||
|
||||
if (channelCount >= 0) {
|
||||
uiStrs << channelStr(channelCount);
|
||||
tooltipStrs << QString("Channel Count: %1").arg(channelCount);
|
||||
tooltipStrs << tr("Channel Count: %1").arg(channelCount);
|
||||
}
|
||||
|
||||
uiStrs << audioExt;
|
||||
|
|
Loading…
Reference in New Issue
Block a user