mirror of
https://github.com/openwrt/luci
synced 2025-01-09 04:28:37 +08:00
luci-proto-ncm: register further network error codes
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
This commit is contained in:
parent
80ed1af639
commit
5f2aa8d475
@ -59,3 +59,11 @@ function proto.contains_interface(self, ifc)
|
||||
end
|
||||
|
||||
netmod:register_pattern_virtual("^ncm%-%w")
|
||||
|
||||
netmod:register_error_code("CONFIGURE_FAILED", luci.i18n.translate("Configuration failed"))
|
||||
netmod:register_error_code("DISCONNECT_FAILED", luci.i18n.translate("Disconnection attempt failed"))
|
||||
netmod:register_error_code("FINALIZE_FAILED", luci.i18n.translate("Finalizing failed"))
|
||||
netmod:register_error_code("GETINFO_FAILED", luci.i18n.translate("Modem information query failed"))
|
||||
netmod:register_error_code("INITIALIZE_FAILED", luci.i18n.translate("Initialization failure"))
|
||||
netmod:register_error_code("SETMODE_FAILED", luci.i18n.translate("Setting operation mode failed"))
|
||||
netmod:register_error_code("UNSUPPORTED_MODEM", luci.i18n.translate("Unsupported modem"))
|
||||
|
Loading…
Reference in New Issue
Block a user