aboutsummaryrefslogtreecommitdiff
path: root/src/preferences
diff options
context:
space:
mode:
Diffstat (limited to 'src/preferences')
-rw-r--r--src/preferences/models.rs79
1 files changed, 66 insertions, 13 deletions
diff --git a/src/preferences/models.rs b/src/preferences/models.rs
index 93f3fa0..97fa85a 100644
--- a/src/preferences/models.rs
+++ b/src/preferences/models.rs
@@ -50,12 +50,12 @@ impl CustomStage {
pub fn cynefin_default() -> Self {
Self {
id: Uuid::new_v4(),
- name: tr!("stages.cynefin.name"),
+ name: tr!("Cynefin"),
stage: Stage {
- i: tr!("stages.cynefin.i"),
- ii: tr!("stages.cynefin.ii"),
- iii: tr!("stages.cynefin.iii"),
- iv: tr!("stages.cynefin.iv"),
+ i: tr!("Chaotic"),
+ ii: tr!("Complex"),
+ iii: tr!("Complicated"),
+ iv: tr!("Clear"),
},
}
}
@@ -63,12 +63,12 @@ impl CustomStage {
pub fn placeholder_default() -> Self {
Self {
id: Uuid::new_v4(),
- name: tr!("stages.new.name"),
+ name: tr!("New Stage"),
stage: Stage {
- i: tr!("stages.evolution_stage.i"),
- ii: tr!("stages.evolution_stage.ii"),
- iii: tr!("stages.evolution_stage.iii"),
- iv: tr!("stages.evolution_stage.iv"),
+ i: tr!("Stage I"),
+ ii: tr!("Stage II"),
+ iii: tr!("Stage III"),
+ iv: tr!("Stage IV"),
},
}
}
@@ -177,11 +177,64 @@ impl Default for UserPreferences {
map_templates: vec![
Template::new(
- tr!("templates.defaults.example.title"),
- tr!("templates.defaults.example.source"),
+ tr!("Example Map"),
+ tr!(r"Client (39, 0) [x]
+Consumer (55, 10) [x]
+
+Client -- Consumer
+
+Find out about (65, 15)
+Test printer (42, 20)
+
+Consumer -- Test printer
+Consumer -- Find out about
+
+Microsite (60, 30)
+
+Find out about -- Microsite
+
+[Group] Consumer, Test printer, Find out about, Microsite
+[Note] (63, 10) Team, Settlers
+
+Testing Application (34, 35)
+Microsite -- Testing Application
+Test Printer -- Testing Application
+
+FinDev (30, 50)
+Testing Application -- FinDev
+Microsite -- Findev
+[Group] Testing Application, FinDev
+[Note] (24, 41.5) Team, Pioneers
+[Evolution] Testing Application +15
+[Evolution] FinDev +30
+
+Platform [now] (50, 60) [triangle]
+Platform [then] (71, 60)
+Platform [now] -> Platform [then]
+[Inertia] Platform [now]
+FinDev -- Platform [then]
+[Group] Platform
+[Note] (74, 60) Team, Town Planners
+
+Distribution (65, 70)
+Brochure (60, 75)
+Distribution -- Brochure
+[Evolution] Distribution +20
+Testing Application -- Distribution
+Distribution -- Brochure
+[Group] Distribution, Brochure
+[Note] (65, 75) Team, Town Planners
+
+Large Format Printer (45, 75)
+Testing Application -- Large Format Printer
+[Group] Large Format Printer
+[Note] (42, 78.5) Team, Settlers
+[i] 20
+[ii] 40
+[iii] 70"),
true,
),
- Template::new(tr!("templates.defaults.empty.title"), String::new(), false),
+ Template::new(tr!("Empty"), String::new(), false),
],
custom_stages: vec![CustomStage::cynefin_default()],