mirror of
https://github.com/parchlinux/calamares.git
synced 2025-06-26 08:58:22 -04:00
[finished] Adjust messages to setup mode
Signed-off-by: Arnaud Ferraris <arnaud.ferraris@collabora.com>
This commit is contained in:
parent
e3cebd9da9
commit
dddebc98b5
3 changed files with 50 additions and 15 deletions
|
@ -2,6 +2,7 @@
|
|||
*
|
||||
* Copyright 2014-2015, Teo Mrnjavac <teo@kde.org>
|
||||
* Copyright 2017, Adriaan de Groot <groot@kde.org>
|
||||
* Copyright 2019, Collabora Ltd <arnaud.ferraris@collabora.com>
|
||||
*
|
||||
* Calamares is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
|
@ -29,6 +30,7 @@
|
|||
#include <QVariantMap>
|
||||
|
||||
#include "Branding.h"
|
||||
#include "Settings.h"
|
||||
|
||||
FinishedViewStep::FinishedViewStep( QObject* parent )
|
||||
: Calamares::ViewStep( parent )
|
||||
|
@ -109,8 +111,12 @@ FinishedViewStep::sendNotification()
|
|||
QString( "Calamares" ),
|
||||
QVariant( 0U ),
|
||||
QString( "calamares" ),
|
||||
tr( "Installation Complete" ),
|
||||
tr( "The installation of %1 is complete." ).arg( *Calamares::Branding::VersionedName ),
|
||||
Calamares::Settings::instance()->isSetupMode()
|
||||
? tr( "Setup Complete" )
|
||||
: tr( "Installation Complete" ),
|
||||
Calamares::Settings::instance()->isSetupMode()
|
||||
? tr( "The setup of %1 is complete." ).arg( *Calamares::Branding::VersionedName )
|
||||
: tr( "The installation of %1 is complete." ).arg( *Calamares::Branding::VersionedName ),
|
||||
QStringList(),
|
||||
QVariantMap(),
|
||||
QVariant( 0 )
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue