mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-02-03 19:30:41 +01:00
cli: add missing reason-to-string mappings for NMDeviceStateReason
This commit is contained in:
parent
e6f1c8329f
commit
6f9601030a
1 changed files with 9 additions and 0 deletions
|
|
@ -819,6 +819,15 @@ nmc_device_reason_to_string (NMDeviceStateReason reason)
|
|||
case NM_DEVICE_STATE_REASON_TEAMD_CONTROL_FAILED:
|
||||
return _("teamd control failed");
|
||||
|
||||
case NM_DEVICE_STATE_REASON_MODEM_FAILED:
|
||||
return _("Modem failed or no longer available");
|
||||
|
||||
case NM_DEVICE_STATE_REASON_MODEM_AVAILABLE:
|
||||
return _("Modem now ready and available");
|
||||
|
||||
case NM_DEVICE_STATE_REASON_SIM_PIN_INCORRECT:
|
||||
return _("SIM PIN was incorrect");
|
||||
|
||||
default:
|
||||
/* TRANSLATORS: Unknown reason for a device state change (NMDeviceStateReason) */
|
||||
return _("Unknown");
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue