Turn hardcoded strings into constants to resolve #4

This commit is contained in:
2024-07-10 20:04:11 -04:00
parent 0d50da7ceb
commit 4fbd53efa5
5 changed files with 146 additions and 132 deletions
+11
View File
@@ -0,0 +1,11 @@
pub const APP_TITLE: &str = "AntiDrift";
pub const INTENTION_TITLE: &str = "Intention";
pub const DURATION_TITLE: &str = "Duration";
pub const PREVIOUS_SESSIONS_TITLE: &str = "Previous Sessions";
pub const SESSION_STATS_TITLE: &str = "Session Stats";
pub const STATUS_TITLE: &str = "Status";
pub const PROVIDE_INTENTION: &str = "Provide intention! ";
pub const PROVIDE_VALID_DURATION: &str = "Provide valid duration in minutes! ";
pub const READY_TO_START: &str = "Ready to start next session.";
pub const SESSION_IN_PROGRESS: &str = "Session In-Progress";
pub const RATE_TITLES: &str = "Press 1, 2, 3 to rate titles!";