Fix some things about IP module

- Reword module description to "Routing"
- Make route modal title .inline
This commit is contained in:
Davide De Rosa 2024-10-04 00:42:09 +02:00
parent ca03d057fc
commit 07703fda9c
No known key found for this signature in database
GPG Key ID: A48836171C759F5E
4 changed files with 5 additions and 1 deletions

View File

@ -42,7 +42,7 @@ extension ModuleType: LocalizableEntity {
return Strings.Unlocalized.httpProxy return Strings.Unlocalized.httpProxy
case .ip: case .ip:
return Strings.Unlocalized.ip return Strings.Global.routing
case .onDemand: case .onDemand:
return Strings.Global.onDemand return Strings.Global.onDemand

View File

@ -253,6 +253,8 @@ public enum Strings {
public static let route = Strings.tr("Localizable", "global.route", fallback: "Route") public static let route = Strings.tr("Localizable", "global.route", fallback: "Route")
/// Routes /// Routes
public static let routes = Strings.tr("Localizable", "global.routes", fallback: "Routes") public static let routes = Strings.tr("Localizable", "global.routes", fallback: "Routes")
/// Routing
public static let routing = Strings.tr("Localizable", "global.routing", fallback: "Routing")
/// Save /// Save
public static let save = Strings.tr("Localizable", "global.save", fallback: "Save") public static let save = Strings.tr("Localizable", "global.save", fallback: "Save")
/// Server /// Server

View File

@ -52,6 +52,7 @@
"global.restart" = "Restart"; "global.restart" = "Restart";
"global.route" = "Route"; "global.route" = "Route";
"global.routes" = "Routes"; "global.routes" = "Routes";
"global.routing" = "Routing";
"global.save" = "Save"; "global.save" = "Save";
"global.server" = "Server"; "global.server" = "Server";
"global.servers" = "Servers"; "global.servers" = "Servers";

View File

@ -68,6 +68,7 @@ extension IPView {
Button(Strings.Global.ok, action: parseAndSubmit) Button(Strings.Global.ok, action: parseAndSubmit)
} }
} }
.themeNavigationDetail()
} }
} }
} }