all repos — mgba @ 8904e4b540e103a734d9b88a4f93b0eba1604a17

mGBA Game Boy Advance Emulator

Qt: Mark several labels as not needing translation
Vicki Pfau vi@endrift.com
Thu, 10 Dec 2020 18:58:05 -0800
commit

8904e4b540e103a734d9b88a4f93b0eba1604a17

parent

20bd78596a2a1168116d64643d2c8e906a9b73b4

M src/platform/qt/AssetTile.uisrc/platform/qt/AssetTile.ui

@@ -45,7 +45,7 @@ </item>

<item> <widget class="QLabel" name="tileId"> <property name="text"> - <string>0</string> + <string notr="true">0</string> </property> <property name="alignment"> <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>

@@ -69,7 +69,7 @@ </item>

<item> <widget class="QLabel" name="paletteId"> <property name="text"> - <string>0</string> + <string notr="true">0</string> </property> <property name="alignment"> <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>

@@ -90,7 +90,7 @@ </item>

<item> <widget class="QLabel" name="address"> <property name="text"> - <string>0x06000000</string> + <string notr="true">0x06000000</string> </property> <property name="alignment"> <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>

@@ -160,21 +160,21 @@ </property>

<item> <widget class="QLabel" name="r"> <property name="text"> - <string>0x00 (00)</string> + <string notr="true">0x00 (00)</string> </property> </widget> </item> <item> <widget class="QLabel" name="g"> <property name="text"> - <string>0x00 (00)</string> + <string notr="true">0x00 (00)</string> </property> </widget> </item> <item> <widget class="QLabel" name="b"> <property name="text"> - <string>0x00 (00)</string> + <string notr="true">0x00 (00)</string> </property> </widget> </item>

@@ -186,15 +186,15 @@ </layout>

</widget> <customwidgets> <customwidget> - <class>QGBA::AssetInfo</class> - <extends>QGroupBox</extends> - <header>AssetInfo.h</header> - <container>1</container> - </customwidget> - <customwidget> <class>QGBA::Swatch</class> <extends>QWidget</extends> <header>Swatch.h</header> + <container>1</container> + </customwidget> + <customwidget> + <class>QGBA::AssetInfo</class> + <extends>QGroupBox</extends> + <header>AssetInfo.h</header> <container>1</container> </customwidget> </customwidgets>
M src/platform/qt/FrameView.uisrc/platform/qt/FrameView.ui

@@ -25,7 +25,7 @@ <verstretch>0</verstretch>

</sizepolicy> </property> <property name="suffix"> - <string>×</string> + <string notr="true">×</string> </property> <property name="minimum"> <number>1</number>
M src/platform/qt/IOViewer.uisrc/platform/qt/IOViewer.ui

@@ -55,7 +55,7 @@ <pointsize>10</pointsize>

</font> </property> <property name="text"> - <string>2</string> + <string notr="true">2</string> </property> </widget> </item>

@@ -79,7 +79,7 @@ <pointsize>10</pointsize>

</font> </property> <property name="text"> - <string>5</string> + <string notr="true">5</string> </property> </widget> </item>

@@ -97,7 +97,7 @@ <pointsize>10</pointsize>

</font> </property> <property name="text"> - <string>4</string> + <string notr="true">4</string> </property> </widget> </item>

@@ -115,7 +115,7 @@ <pointsize>10</pointsize>

</font> </property> <property name="text"> - <string>7</string> + <string notr="true">7</string> </property> </widget> </item>

@@ -133,7 +133,7 @@ <pointsize>10</pointsize>

</font> </property> <property name="text"> - <string>0</string> + <string notr="true">0</string> </property> </widget> </item>

@@ -154,7 +154,7 @@ <pointsize>10</pointsize>

</font> </property> <property name="text"> - <string>9</string> + <string notr="true">9</string> </property> </widget> </item>

@@ -175,7 +175,7 @@ <pointsize>10</pointsize>

</font> </property> <property name="text"> - <string>1</string> + <string notr="true">1</string> </property> </widget> </item>

@@ -193,7 +193,7 @@ <pointsize>10</pointsize>

</font> </property> <property name="text"> - <string>3</string> + <string notr="true">3</string> </property> </widget> </item>

@@ -214,7 +214,7 @@ <pointsize>10</pointsize>

</font> </property> <property name="text"> - <string>8</string> + <string notr="true">8</string> </property> </widget> </item>

@@ -238,7 +238,7 @@ <pointsize>10</pointsize>

</font> </property> <property name="text"> - <string>C</string> + <string notr="true">C</string> </property> </widget> </item>

@@ -256,7 +256,7 @@ <pointsize>10</pointsize>

</font> </property> <property name="text"> - <string>E</string> + <string notr="true">E</string> </property> </widget> </item>

@@ -280,7 +280,7 @@ <pointsize>10</pointsize>

</font> </property> <property name="text"> - <string>6</string> + <string notr="true">6</string> </property> </widget> </item>

@@ -307,7 +307,7 @@ <pointsize>10</pointsize>

</font> </property> <property name="text"> - <string>D</string> + <string notr="true">D</string> </property> </widget> </item>

@@ -325,7 +325,7 @@ <pointsize>10</pointsize>

</font> </property> <property name="text"> - <string>F</string> + <string notr="true">F</string> </property> </widget> </item>

@@ -343,7 +343,7 @@ <pointsize>10</pointsize>

</font> </property> <property name="text"> - <string>A</string> + <string notr="true">A</string> </property> </widget> </item>
M src/platform/qt/MapView.uisrc/platform/qt/MapView.ui

@@ -27,7 +27,7 @@ <verstretch>0</verstretch>

</sizepolicy> </property> <property name="suffix"> - <string>×</string> + <string notr="true">×</string> </property> <property name="minimum"> <number>1</number>

@@ -144,15 +144,15 @@ </layout>

</widget> <customwidgets> <customwidget> - <class>QGBA::AssetTile</class> + <class>QGBA::AssetInfo</class> <extends>QGroupBox</extends> - <header>AssetTile.h</header> + <header>AssetInfo.h</header> <container>1</container> </customwidget> <customwidget> - <class>QGBA::AssetInfo</class> + <class>QGBA::AssetTile</class> <extends>QGroupBox</extends> - <header>AssetInfo.h</header> + <header>AssetTile.h</header> <container>1</container> </customwidget> </customwidgets>
M src/platform/qt/MemoryDump.uisrc/platform/qt/MemoryDump.ui

@@ -39,7 +39,7 @@ </item>

<item> <widget class="QLabel" name="label_3"> <property name="text"> - <string>:</string> + <string notr="true">:</string> </property> </widget> </item>

@@ -55,7 +55,7 @@ <property name="accelerated">

<bool>true</bool> </property> <property name="prefix"> - <string>0x</string> + <string notr="true">0x</string> </property> <property name="maximum"> <number>268435455</number>

@@ -86,7 +86,7 @@ <verstretch>0</verstretch>

</sizepolicy> </property> <property name="prefix"> - <string>0x</string> + <string notr="true">0x</string> </property> <property name="minimum"> <number>1</number>
M src/platform/qt/MemoryView.uisrc/platform/qt/MemoryView.ui

@@ -55,7 +55,7 @@ </item>

<item> <widget class="QLabel" name="segmentColon"> <property name="text"> - <string>:</string> + <string notr="true">:</string> </property> </widget> </item>

@@ -65,7 +65,7 @@ <property name="accelerated">

<bool>true</bool> </property> <property name="prefix"> - <string>0x</string> + <string notr="true">0x</string> </property> <property name="maximum"> <number>268435455</number>
M src/platform/qt/ObjView.uisrc/platform/qt/ObjView.ui

@@ -76,7 +76,7 @@ </item>

<item> <widget class="QLabel" name="address"> <property name="text"> - <string>0x07000000</string> + <string notr="true">0x07000000</string> </property> <property name="alignment"> <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>

@@ -106,7 +106,7 @@ <verstretch>0</verstretch>

</sizepolicy> </property> <property name="suffix"> - <string>×</string> + <string notr="true">×</string> </property> <property name="minimum"> <number>1</number>

@@ -168,7 +168,7 @@ <height>0</height>

</size> </property> <property name="text"> - <string>0</string> + <string notr="true">0</string> </property> <property name="alignment"> <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>

@@ -194,7 +194,7 @@ <height>0</height>

</size> </property> <property name="text"> - <string>0</string> + <string notr="true">0</string> </property> <property name="alignment"> <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>

@@ -241,7 +241,7 @@ <height>0</height>

</size> </property> <property name="text"> - <string>8</string> + <string notr="true">8</string> </property> <property name="alignment"> <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>

@@ -267,7 +267,7 @@ <height>0</height>

</size> </property> <property name="text"> - <string>8</string> + <string notr="true">8</string> </property> <property name="alignment"> <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>

@@ -281,14 +281,14 @@ <layout class="QGridLayout" name="gridLayout_5">

<item row="0" column="3"> <widget class="QLabel" name="xformPC"> <property name="text"> - <string>+0.00</string> + <string notr="true">+0.00</string> </property> </widget> </item> <item row="0" column="2"> <widget class="QLabel" name="xformPA"> <property name="text"> - <string>+1.00</string> + <string notr="true">+1.00</string> </property> </widget> </item>

@@ -302,7 +302,7 @@ </item>

<item row="1" column="3"> <widget class="QLabel" name="xformPD"> <property name="text"> - <string>+1.00</string> + <string notr="true">+1.00</string> </property> </widget> </item>

@@ -322,7 +322,7 @@ </item>

<item row="1" column="2"> <widget class="QLabel" name="xformPB"> <property name="text"> - <string>+0.00</string> + <string notr="true">+0.00</string> </property> </widget> </item>

@@ -434,7 +434,7 @@ </item>

<item> <widget class="QLabel" name="palette"> <property name="text"> - <string>0</string> + <string notr="true">0</string> </property> <property name="alignment"> <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>

@@ -515,7 +515,7 @@ <property name="enabled">

<bool>false</bool> </property> <property name="text"> - <string>H</string> + <string extracomment="Short for horizontal">H</string> </property> <property name="shortcut"> <string>Return, Ctrl+R</string>

@@ -528,7 +528,7 @@ <property name="enabled">

<bool>false</bool> </property> <property name="text"> - <string>V</string> + <string extracomment="Short for vertical">V</string> </property> <property name="shortcut"> <string>Return, Ctrl+R</string>

@@ -664,7 +664,7 @@ </item>

<item> <widget class="QLabel" name="priority"> <property name="text"> - <string>0</string> + <string notr="true">0</string> </property> <property name="alignment"> <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>

@@ -687,6 +687,12 @@ </layout>

</widget> <customwidgets> <customwidget> + <class>QGBA::AssetTile</class> + <extends>QGroupBox</extends> + <header>AssetTile.h</header> + <container>1</container> + </customwidget> + <customwidget> <class>QGBA::TilePainter</class> <extends>QWidget</extends> <header>TilePainter.h</header>

@@ -694,12 +700,6 @@ <container>1</container>

<slots> <slot>setTileMagnification(int)</slot> </slots> - </customwidget> - <customwidget> - <class>QGBA::AssetTile</class> - <extends>QGroupBox</extends> - <header>AssetTile.h</header> - <container>1</container> </customwidget> </customwidgets> <resources/>
M src/platform/qt/PaletteView.uisrc/platform/qt/PaletteView.ui

@@ -209,21 +209,21 @@ </property>

<item> <widget class="QLabel" name="r"> <property name="text"> - <string>0x00 (00)</string> + <string notr="true">0x00 (00)</string> </property> </widget> </item> <item> <widget class="QLabel" name="g"> <property name="text"> - <string>0x00 (00)</string> + <string notr="true">0x00 (00)</string> </property> </widget> </item> <item> <widget class="QLabel" name="b"> <property name="text"> - <string>0x00 (00)</string> + <string notr="true">0x00 (00)</string> </property> </widget> </item>

@@ -269,7 +269,7 @@ </property>

<item> <widget class="QLabel" name="value"> <property name="text"> - <string>0x0000</string> + <string notr="true">0x0000</string> </property> <property name="alignment"> <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>

@@ -279,7 +279,7 @@ </item>

<item> <widget class="QLabel" name="hexcode"> <property name="text"> - <string>#000000</string> + <string notr="true">#000000</string> </property> <property name="alignment"> <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>

@@ -289,7 +289,7 @@ </item>

<item> <widget class="QLabel" name="index"> <property name="text"> - <string>0x000 (000)</string> + <string notr="true">0x000 (000)</string> </property> <property name="alignment"> <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
M src/platform/qt/PrinterView.uisrc/platform/qt/PrinterView.ui

@@ -164,7 +164,7 @@ <verstretch>0</verstretch>

</sizepolicy> </property> <property name="suffix"> - <string>×</string> + <string notr="true">×</string> </property> <property name="minimum"> <number>1</number>
M src/platform/qt/SettingsView.uisrc/platform/qt/SettingsView.ui

@@ -706,7 +706,7 @@ <property name="enabled">

<bool>false</bool> </property> <property name="suffix"> - <string>×</string> + <string notr="true">×</string> </property> <property name="minimum"> <double>0.010000000000000</double>

@@ -749,7 +749,7 @@ <property name="enabled">

<bool>false</bool> </property> <property name="suffix"> - <string>×</string> + <string notr="true">×</string> </property> <property name="minimum"> <double>0.010000000000000</double>

@@ -1005,7 +1005,7 @@ <layout class="QHBoxLayout" name="horizontalLayout_18">

<item> <widget class="QSpinBox" name="videoScale"> <property name="suffix"> - <string>×</string> + <string notr="true">×</string> </property> <property name="minimum"> <number>1</number>
M src/platform/qt/TileView.uisrc/platform/qt/TileView.ui

@@ -53,7 +53,7 @@ <verstretch>0</verstretch>

</sizepolicy> </property> <property name="suffix"> - <string>×</string> + <string notr="true">×</string> </property> <property name="minimum"> <number>1</number>

@@ -204,6 +204,12 @@ </layout>

</widget> <customwidgets> <customwidget> + <class>QGBA::AssetTile</class> + <extends>QGroupBox</extends> + <header>AssetTile.h</header> + <container>1</container> + </customwidget> + <customwidget> <class>QGBA::TilePainter</class> <extends>QWidget</extends> <header>TilePainter.h</header>

@@ -211,12 +217,6 @@ <container>1</container>

<slots> <slot>setTileMagnification(int)</slot> </slots> - </customwidget> - <customwidget> - <class>QGBA::AssetTile</class> - <extends>QGroupBox</extends> - <header>AssetTile.h</header> - <container>1</container> </customwidget> </customwidgets> <resources/>