From f62f5c593117a1519e11179048ce5ea843d34d50 Mon Sep 17 00:00:00 2001 From: Ricky Kresslein Date: Fri, 29 Apr 2022 16:18:38 +0300 Subject: Update localization support --- src/application.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') 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) { -- cgit 1.4.1