diff options
Diffstat (limited to 'src/main.rs')
| -rw-r--r-- | src/main.rs | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/main.rs b/src/main.rs index 344a30d..e40681f 100644 --- a/src/main.rs +++ b/src/main.rs @@ -22,6 +22,7 @@ mod dialogs; mod file_registry; mod handlers; mod i18n; +mod info; mod preferences; mod stages; @@ -176,9 +177,9 @@ impl AppModel { .unwrap_or(&default_name); if self.modified { - format!("{}* - {}", filename, constants::APP_NAME) + format!("{}* - {}", filename, tr!("application.name")) } else { - format!("{} - {}", filename, constants::APP_NAME) + format!("{} - {}", filename, tr!("application.name")) } } @@ -639,7 +640,7 @@ fn main() { .find(|t| t.is_default) .map(|t| t.content.clone()); - let application = RelmApp::new(constants::APP_ID); + let application = RelmApp::new(info::APP_ID); application.run::<AppModel>(AppInit { zoom: 1.0, orientation: gtk::Orientation::Horizontal, |