Qt: Mark more strings notr

This commit is contained in:
Vicki Pfau 2022-04-20 16:41:14 -07:00
parent af564adc85
commit 8258668d88
2 changed files with 3 additions and 3 deletions

View File

@ -100,7 +100,7 @@ void AssetTile::selectIndex(int index) {
data = mTileCacheGetTile(tileCache, index, paletteId); data = mTileCacheGetTile(tileCache, index, paletteId);
m_ui.tileId->setText(QString::number(dispIndex)); m_ui.tileId->setText(QString::number(dispIndex));
m_ui.paletteId->setText(QString::number(paletteId)); m_ui.paletteId->setText(QString::number(paletteId));
m_ui.address->setText(tr("%0%1%2") m_ui.address->setText(QLatin1String("%0%1%2")
.arg(m_addressWidth == 4 ? index >= m_boundary / 2 : 0) .arg(m_addressWidth == 4 ? index >= m_boundary / 2 : 0)
.arg(m_addressWidth == 4 ? ":" : "x") .arg(m_addressWidth == 4 ? ":" : "x")
.arg(dispIndex * bpp | base, m_addressWidth, 16, QChar('0'))); .arg(dispIndex * bpp | base, m_addressWidth, 16, QChar('0')));

View File

@ -181,7 +181,7 @@
<item> <item>
<widget class="QLabel" name="tileId_3"> <widget class="QLabel" name="tileId_3">
<property name="text"> <property name="text">
<string>, </string> <string notr="true">, </string>
</property> </property>
<property name="alignment"> <property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
@ -260,7 +260,7 @@
<item> <item>
<widget class="QLabel" name="tileId_5"> <widget class="QLabel" name="tileId_5">
<property name="text"> <property name="text">
<string>×</string> <string notr="true">×</string>
</property> </property>
<property name="alignment"> <property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>