|
|
|
@ -6,7 +6,7 @@
|
|
|
|
|
# Copyright 2016, Artoo <artoo@manjaro.org>
|
|
|
|
|
# Copyright 2017, Philip Müller <philm@manjaro.org>
|
|
|
|
|
# Copyright 2018, Artoo <artoo@artixlinux.org>
|
|
|
|
|
# Copyright 2018, Adriaan de Groot <groot@kde.org>
|
|
|
|
|
# Copyright 2018-2019, Adriaan de Groot <groot@kde.org>
|
|
|
|
|
#
|
|
|
|
|
# Calamares is free software: you can redistribute it and/or modify
|
|
|
|
|
# it under the terms of the GNU General Public License as published by
|
|
|
|
@ -27,6 +27,17 @@ from libcalamares.utils import target_env_call, warning
|
|
|
|
|
from os.path import exists, join
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
import gettext
|
|
|
|
|
_ = gettext.translation("calamares-python",
|
|
|
|
|
localedir=libcalamares.utils.gettext_path(),
|
|
|
|
|
languages=libcalamares.utils.gettext_languages(),
|
|
|
|
|
fallback=True).gettext
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
def pretty_name():
|
|
|
|
|
return _("Configure OpenRC services")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
class OpenrcController:
|
|
|
|
|
"""
|
|
|
|
|
This is the openrc service controller.
|
|
|
|
|