mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-03-26 02:11:53 +00:00
fix missing about text
This commit is contained in:
@@ -2919,6 +2919,13 @@ about.commands-host-system-ui:
|
||||
fr_FR: "Commandes pour modifier l'hôte pour l'interface système"
|
||||
pl_PL: "Polecenia modyfikacji hosta dla interfejsu systemowego"
|
||||
|
||||
about.commands-init:
|
||||
en_US: "Commands for initialization"
|
||||
de_DE: "Befehle zur Initialisierung"
|
||||
es_ES: "Comandos de inicialización"
|
||||
fr_FR: "Commandes d'initialisation"
|
||||
pl_PL: "Polecenia inicjalizacji"
|
||||
|
||||
about.commands-index-add-get-packages:
|
||||
en_US: "Commands to index, add, or get packages"
|
||||
de_DE: "Befehle zum Indizieren, Hinzufügen oder Abrufen von Paketen"
|
||||
@@ -2933,6 +2940,13 @@ about.commands-interact-with-db-dump-apply:
|
||||
fr_FR: "Commandes pour interagir avec la base de données, comme dump et apply"
|
||||
pl_PL: "Polecenia interakcji z bazą danych, np. dump i apply"
|
||||
|
||||
about.commands-kiosk:
|
||||
en_US: "Commands for kiosk mode"
|
||||
de_DE: "Befehle für den Kioskmodus"
|
||||
es_ES: "Comandos para el modo kiosco"
|
||||
fr_FR: "Commandes pour le mode kiosque"
|
||||
pl_PL: "Polecenia trybu kiosku"
|
||||
|
||||
about.commands-notifications:
|
||||
en_US: "Create, delete, or list notifications"
|
||||
de_DE: "Benachrichtigungen erstellen, löschen oder auflisten"
|
||||
@@ -2989,6 +3003,13 @@ about.commands-server:
|
||||
fr_FR: "Commandes liées au serveur, comme redémarrer, mettre à jour et arrêter"
|
||||
pl_PL: "Polecenia związane z serwerem, np. restart, aktualizacja i zamknięcie"
|
||||
|
||||
about.commands-setup:
|
||||
en_US: "Commands related to the initial setup"
|
||||
de_DE: "Befehle zur Ersteinrichtung"
|
||||
es_ES: "Comandos relacionados con la configuración inicial"
|
||||
fr_FR: "Commandes liées à la configuration initiale"
|
||||
pl_PL: "Polecenia związane z początkową konfiguracją"
|
||||
|
||||
about.commands-ssh-keys:
|
||||
en_US: "Commands for interacting with ssh keys i.e. add, delete, list"
|
||||
de_DE: "Befehle zur Interaktion mit SSH-Schlüsseln, z.B. hinzufügen, löschen, auflisten"
|
||||
@@ -3220,6 +3241,13 @@ about.edit-s9pk-manifest:
|
||||
fr_FR: "Modifier le manifeste s9pk"
|
||||
pl_PL: "Edytuj manifest s9pk"
|
||||
|
||||
about.edit-signer:
|
||||
en_US: "Edit signer information"
|
||||
de_DE: "Unterzeichner-Informationen bearbeiten"
|
||||
es_ES: "Editar información del firmante"
|
||||
fr_FR: "Modifier les informations du signataire"
|
||||
pl_PL: "Edytuj informacje o podpisującym"
|
||||
|
||||
about.enable-disable-wifi:
|
||||
en_US: "Enable or disable wifi"
|
||||
de_DE: "WLAN aktivieren oder deaktivieren"
|
||||
|
||||
@@ -96,10 +96,10 @@ pub fn disk<C: Context>() -> ParentHandler<C> {
|
||||
.subcommand(
|
||||
"repair",
|
||||
CallRemoteHandler::<CliContext, _, _>::new(
|
||||
from_fn_async(|_: RpcContext| repair())
|
||||
.no_display()
|
||||
.with_about("about.repair-disk-corruption"),
|
||||
),
|
||||
from_fn_async(|_: RpcContext| repair()).no_display(),
|
||||
)
|
||||
.no_display()
|
||||
.with_about("about.repair-disk-corruption"),
|
||||
)
|
||||
}
|
||||
|
||||
|
||||
@@ -232,10 +232,16 @@ pub fn main_api<C: Context>() -> ParentHandler<C> {
|
||||
"diagnostic",
|
||||
diagnostic::diagnostic::<C>().with_about("about.commands-diagnostic"),
|
||||
)
|
||||
.subcommand("init", init::init_api::<C>())
|
||||
.subcommand("setup", setup::setup::<C>());
|
||||
.subcommand(
|
||||
"init",
|
||||
init::init_api::<C>().with_about("about.commands-init"),
|
||||
)
|
||||
.subcommand(
|
||||
"setup",
|
||||
setup::setup::<C>().with_about("about.commands-setup"),
|
||||
);
|
||||
if &*PLATFORM != "raspberrypi" {
|
||||
api = api.subcommand("kiosk", kiosk::<C>());
|
||||
api = api.subcommand("kiosk", kiosk::<C>().with_about("about.commands-kiosk"));
|
||||
}
|
||||
#[cfg(target_os = "linux")]
|
||||
{
|
||||
|
||||
@@ -80,6 +80,7 @@ fn signers_api<C: Context>() -> ParentHandler<C> {
|
||||
from_fn_async(edit_signer)
|
||||
.with_metadata("admin", Value::Bool(true))
|
||||
.no_display()
|
||||
.with_about("about.edit-signer")
|
||||
.with_call_remote::<CliContext>(),
|
||||
)
|
||||
}
|
||||
|
||||
@@ -70,7 +70,9 @@ pub fn setup<C: Context>() -> ParentHandler<C> {
|
||||
.subcommand("logs", crate::system::logs::<SetupContext>())
|
||||
.subcommand(
|
||||
"logs",
|
||||
from_fn_async(crate::logs::cli_logs::<SetupContext, Empty>).no_display(),
|
||||
from_fn_async(crate::logs::cli_logs::<SetupContext, Empty>)
|
||||
.no_display()
|
||||
.with_about("about.display-os-logs"),
|
||||
)
|
||||
.subcommand("restart", from_fn_async(restart).no_cli())
|
||||
}
|
||||
|
||||
@@ -129,14 +129,14 @@ pub fn auth_api<C: Context>() -> ParentHandler<C> {
|
||||
.subcommand(
|
||||
"set-password",
|
||||
from_fn_async(set_password_cli)
|
||||
.with_about("about.set-user-interface-password")
|
||||
.no_display(),
|
||||
.no_display()
|
||||
.with_about("about.set-user-interface-password"),
|
||||
)
|
||||
.subcommand(
|
||||
"reset-password",
|
||||
from_fn_async(reset_password)
|
||||
.with_about("about.reset-user-interface-password")
|
||||
.no_display(),
|
||||
.no_display()
|
||||
.with_about("about.reset-user-interface-password"),
|
||||
)
|
||||
.subcommand(
|
||||
"key",
|
||||
|
||||
@@ -156,8 +156,8 @@ pub fn web_api<C: Context>() -> ParentHandler<C> {
|
||||
.subcommand(
|
||||
"enable",
|
||||
from_fn_async(enable_web)
|
||||
.with_about("about.enable-webserver")
|
||||
.no_display()
|
||||
.with_about("about.enable-webserver")
|
||||
.with_call_remote::<CliContext>(),
|
||||
)
|
||||
.subcommand(
|
||||
|
||||
Reference in New Issue
Block a user