mirror of
https://github.com/parchlinux/calamares.git
synced 2025-06-27 17:35:37 -04:00
Retranslate navigation buttons.
This commit is contained in:
parent
1f9843cc7d
commit
24fc227e76
1 changed files with 10 additions and 3 deletions
|
@ -23,6 +23,7 @@
|
||||||
#include "InstallationViewStep.h"
|
#include "InstallationViewStep.h"
|
||||||
#include "JobQueue.h"
|
#include "JobQueue.h"
|
||||||
#include "modulesystem/ModuleManager.h"
|
#include "modulesystem/ModuleManager.h"
|
||||||
|
#include "utils/Retranslator.h"
|
||||||
|
|
||||||
#include <QApplication>
|
#include <QApplication>
|
||||||
#include <QBoxLayout>
|
#include <QBoxLayout>
|
||||||
|
@ -55,9 +56,15 @@ ViewManager::ViewManager( QObject* parent )
|
||||||
m_stack->setContentsMargins( 0, 0, 0, 0 );
|
m_stack->setContentsMargins( 0, 0, 0, 0 );
|
||||||
mainLayout->addWidget( m_stack );
|
mainLayout->addWidget( m_stack );
|
||||||
|
|
||||||
m_back = new QPushButton( tr( "&Back" ), m_widget );
|
m_back = new QPushButton( m_widget );
|
||||||
m_next = new QPushButton( tr( "&Next" ), m_widget );
|
m_next = new QPushButton( m_widget );
|
||||||
m_quit = new QPushButton( tr( "&Cancel" ), m_widget );
|
m_quit = new QPushButton( m_widget );
|
||||||
|
|
||||||
|
CALAMARES_RETRANSLATE(
|
||||||
|
m_back->setText( tr( "&Back" ) );
|
||||||
|
m_next->setText( tr( "&Next" ) );
|
||||||
|
m_quit->setText( tr( "&Cancel" ) );
|
||||||
|
)
|
||||||
|
|
||||||
QBoxLayout* bottomLayout = new QHBoxLayout;
|
QBoxLayout* bottomLayout = new QHBoxLayout;
|
||||||
mainLayout->addLayout( bottomLayout );
|
mainLayout->addLayout( bottomLayout );
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue