[packagechooser] Handle translation events (stub)
This commit is contained in:
parent
735d5d2683
commit
727290f75e
@ -30,4 +30,15 @@ PackageChooserPage::PackageChooserPage( QWidget* parent )
|
||||
, ui( new Ui::PackageChooserPage )
|
||||
{
|
||||
ui->setupUi( this );
|
||||
CALAMARES_RETRANSLATE(
|
||||
updateLabels();
|
||||
)
|
||||
}
|
||||
|
||||
void
|
||||
PackageChooserPage::updateLabels()
|
||||
{
|
||||
ui->productName->setText( QString() );
|
||||
ui->productScreenshot->hide();
|
||||
ui->productDescription->setText( tr( "Please pick a product from the list." ) );
|
||||
}
|
||||
|
@ -32,6 +32,9 @@ class PackageChooserPage : public QWidget
|
||||
public:
|
||||
explicit PackageChooserPage( QWidget* parent = nullptr );
|
||||
|
||||
public slots:
|
||||
void updateLabels();
|
||||
|
||||
private:
|
||||
Ui::PackageChooserPage* ui;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user