about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authormusiclover <musiclover382@protonmail.com>2022-04-11 23:37:50 +0200
committermusiclover <musiclover382@protonmail.com>2022-04-11 23:37:50 +0200
commitb12fa77c8811f843754cdd9c63284eefcce69a5f (patch)
tree4e3d575a9f8cca76f11de18c2bb267ebc3bd181f /src
parent183de1135da112065f69966d56510417ca4ecd26 (diff)
downloadFurtherance-b12fa77c8811f843754cdd9c63284eefcce69a5f.tar.zst
Make new strings translatable in application.rs
Also add translator credits
Diffstat (limited to 'src')
-rwxr-xr-xsrc/application.rs5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/application.rs b/src/application.rs
index 4891c7d..2e57935 100755
--- a/src/application.rs
+++ b/src/application.rs
@@ -156,6 +156,7 @@ impl FurtheranceApplication {
             .comments(&gettext("Track your time without being tracked."))
             .copyright("© 2022 Ricky Kresslein")
             .authors(vec!["Ricky Kresslein <rk@lakoliu.com>".into()])
+            .translator_credits(&gettext("translator-credits"))
             .website("https://furtherance.app")
             .license_type(gtk::License::Gpl30)
             .build();
@@ -241,8 +242,8 @@ impl FurtheranceApplication {
             }
         }
 
-        notification.add_button("Discard", "app.discard-idle-action");
-        notification.add_button("Continue", "app.continue-idle-action");
+        notification.add_button(&gettext("Discard"), "app.discard-idle-action");
+        notification.add_button(&gettext("Continue"), "app.continue-idle-action");
 
         gio::Application::default()
             .unwrap()