aboutsummaryrefslogtreecommitdiff
path: root/Map/Business/CustomStage.swift
diff options
context:
space:
mode:
authorRuben Beltran del Rio <git@r.bdr.sh>2025-07-05 23:40:26 +0200
committerRuben Beltran del Rio <git@r.bdr.sh>2025-07-05 23:40:26 +0200
commit3cd8f1f7200109d505b5e105d5ebe53f0c93d337 (patch)
tree9c997bc3287998b2944a015a919eb59ea424814a /Map/Business/CustomStage.swift
parentcb4a713afc81326485becba4fa3a635f112114d4 (diff)
Improve defaults and style for stages
Diffstat (limited to 'Map/Business/CustomStage.swift')
-rw-r--r--Map/Business/CustomStage.swift24
1 files changed, 24 insertions, 0 deletions
diff --git a/Map/Business/CustomStage.swift b/Map/Business/CustomStage.swift
index 32d4c2c..388531b 100644
--- a/Map/Business/CustomStage.swift
+++ b/Map/Business/CustomStage.swift
@@ -24,4 +24,28 @@ struct CustomStage: Identifiable, Codable {
self.name = name
self.stage = stage
}
+
+ static func cynefinDefault() -> CustomStage {
+ return CustomStage(
+ name: String(localized: "stage_type.cynefin"),
+ stage: Stage(
+ i: String(localized: "stage_type.cynefin.i"),
+ ii: String(localized: "stage_type.cynefin.ii"),
+ iii: String(localized: "stage_type.cynefin.iii"),
+ iv: String(localized: "stage_type.cynefin.iv")
+ )
+ )
+ }
+
+ static func placeholderDefault() -> CustomStage {
+ return CustomStage(
+ name: String(localized: "stage_type.placeholder"),
+ stage: Stage(
+ i: String(localized: "stage_type.placeholder.i"),
+ ii: String(localized: "stage_type.placeholder.ii"),
+ iii: String(localized: "stage_type.placeholder.iii"),
+ iv: String(localized: "stage_type.placeholder.iv")
+ )
+ )
+ }
} \ No newline at end of file