about summary refs log tree commit diff
diff options
context:
space:
mode:
authorRicky Kresslein <rk@lakoliu.com>2022-04-29 16:18:38 +0300
committerRicky Kresslein <rk@lakoliu.com>2022-04-29 16:18:38 +0300
commitf62f5c593117a1519e11179048ce5ea843d34d50 (patch)
tree62dbf1e0a7d014ac1a3ee40f4dbada05dc63f276
parente11fc6944baa240989066334ea6baff4e9fd82c5 (diff)
downloadFurtherance-f62f5c593117a1519e11179048ce5ea843d34d50.tar.zst
Update localization support
-rwxr-xr-xCargo.lock2
-rwxr-xr-xsrc/application.rs4
2 files changed, 3 insertions, 3 deletions
diff --git a/Cargo.lock b/Cargo.lock
index 11c000c..d44808f 100755
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -211,7 +211,7 @@ dependencies = [
 
 [[package]]
 name = "furtherance"
-version = "1.1.3"
+version = "1.2.0"
 dependencies = [
  "chrono",
  "dbus",
diff --git a/src/application.rs b/src/application.rs
index cc9998b..ce7a26f 100755
--- a/src/application.rs
+++ b/src/application.rs
@@ -266,8 +266,8 @@ impl FurtheranceApplication {
         let imp = imp::FurtheranceApplication::from_instance(self);
         *imp.pomodoro_dialog.lock().unwrap() = dialog;
         let icon = Some("alarm-symbolic");
-        let notification = gio::Notification::new("Time's up!");
-        notification.set_body(Some("Your Furtherance timer ended."));
+        let notification = gio::Notification::new(&gettext("Time's up!"));
+        notification.set_body(Some(&gettext("Your Furtherance timer ended.")));
 
         if let Some(icon) = icon {
             match gio::Icon::for_string(icon) {