Skip to content

Commit 990f89b

Browse files
committed
Turn off translation for SDK and API version
* Revert 6ff4919 with better fix * Resolves #4538
1 parent 648c0fc commit 990f89b

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

qt/OpenRGBSoftwareInfoPage/OpenRGBSoftwareInfoPage.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,5 @@ void OpenRGBSoftwareInfoPage::changeEvent(QEvent *event)
3737
if(event->type() == QEvent::LanguageChange)
3838
{
3939
ui->retranslateUi(this);
40-
41-
ui->SDKVersionValue->setText(QString::number(OPENRGB_SDK_PROTOCOL_VERSION));
42-
ui->PluginAPIVersionValue->setText(QString::number(OPENRGB_PLUGIN_API_VERSION));
4340
}
4441
}

qt/OpenRGBSoftwareInfoPage/OpenRGBSoftwareInfoPage.ui

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -165,14 +165,14 @@
165165
<item row="1" column="1">
166166
<widget class="QLabel" name="SDKVersionValue">
167167
<property name="text">
168-
<string>SDK Version Value</string>
168+
<string notr="true">SDK Version Value</string>
169169
</property>
170170
</widget>
171171
</item>
172172
<item row="2" column="1">
173173
<widget class="QLabel" name="PluginAPIVersionValue">
174174
<property name="text">
175-
<string>Plugin API Version Value</string>
175+
<string notr="true">Plugin API Version Value</string>
176176
</property>
177177
</widget>
178178
</item>

0 commit comments

Comments
 (0)