mirror of
https://github.com/parchlinux/calamares.git
synced 2025-06-27 01:15:38 -04:00
[mount] [networkcfg] [openrcdmcryptcfg] Translate module name
This commit is contained in:
parent
dd5c0d1629
commit
ff6a3608a6
3 changed files with 36 additions and 1 deletions
|
@ -5,6 +5,7 @@
|
|||
#
|
||||
# Copyright 2014, Aurélien Gâteau <agateau@kde.org>
|
||||
# Copyright 2017, Alf Gaida <agaida@siduction.org>
|
||||
# Copyright 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
|
||||
|
@ -24,6 +25,16 @@ import subprocess
|
|||
|
||||
import libcalamares
|
||||
|
||||
import gettext
|
||||
_ = gettext.translation("calamares-python",
|
||||
localedir=libcalamares.utils.gettext_path(),
|
||||
languages=libcalamares.utils.gettext_languages(),
|
||||
fallback=True).gettext
|
||||
|
||||
|
||||
def pretty_name():
|
||||
return _("Mounting partitions.")
|
||||
|
||||
|
||||
def mount_partitions(root_mount_point, partitions):
|
||||
"""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue