mirror of
https://github.com/parchlinux/calamares.git
synced 2025-07-01 11:25:36 -04:00
DeviceInfo: refactor translation of DeviceInfoPage
- For Boot and Device info widgets, add a retranslateUi() method, since the labels change not only in response to translation events but also UI events. FIXES #779
This commit is contained in:
parent
7e66499f36
commit
7791c3cb19
4 changed files with 43 additions and 22 deletions
|
@ -30,6 +30,9 @@ class BootInfoWidget : public QWidget
|
|||
public:
|
||||
explicit BootInfoWidget( QWidget* parent = nullptr );
|
||||
|
||||
public slots:
|
||||
void retranslateUi();
|
||||
|
||||
private:
|
||||
QLabel* m_bootIcon;
|
||||
QLabel* m_bootLabel;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue