Initial upload of HyprArch releng configuration
This commit is contained in:
34
airootfs/usr/include/libcalamares/widgets/TranslationFix.h
Normal file
34
airootfs/usr/include/libcalamares/widgets/TranslationFix.h
Normal file
@@ -0,0 +1,34 @@
|
||||
/* === This file is part of Calamares - <https://calamares.io> ===
|
||||
*
|
||||
* SPDX-FileCopyrightText: 2021 Adriaan de Groot <groot@kde.org>
|
||||
* SPDX-License-Identifier: GPL-3.0-or-later
|
||||
*
|
||||
* Calamares is Free Software: see the License-Identifier above.
|
||||
*
|
||||
*/
|
||||
|
||||
#ifndef LIBCALAMARESUI_WIDGETS_TRANSLATIONFIX_H
|
||||
#define LIBCALAMARESUI_WIDGETS_TRANSLATIONFIX_H
|
||||
|
||||
#include "DllMacro.h"
|
||||
|
||||
class QMessageBox;
|
||||
class QDialogButtonBox;
|
||||
|
||||
namespace Calamares
|
||||
{
|
||||
|
||||
/** @brief Fixes the labels on the standard buttons of the message box
|
||||
*
|
||||
* Updates OK / Cancel / Yes / No because there does not
|
||||
* seem to be a way to do so in the Retranslator code
|
||||
* (in libcalamares) since the translated strings may come
|
||||
* from a variety of platform-plugin sources and we can't
|
||||
* guess the context.
|
||||
*/
|
||||
void UIDLLEXPORT fixButtonLabels( QMessageBox* );
|
||||
|
||||
void UIDLLEXPORT fixButtonLabels( QDialogButtonBox* );
|
||||
} // namespace Calamares
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user