From b63f70dcd30daf0755ee202ced8db07467250d0b Mon Sep 17 00:00:00 2001 From: Ricky Kresslein Date: Sun, 29 May 2022 18:14:08 +0300 Subject: Update internationalization --- Cargo.lock | 2 +- src/ui/task_details.rs | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index d44808f..9c8a54e 100755 --- a/Cargo.lock +++ b/Cargo.lock @@ -211,7 +211,7 @@ dependencies = [ [[package]] name = "furtherance" -version = "1.2.0" +version = "1.3.0" dependencies = [ "chrono", "dbus", diff --git a/src/ui/task_details.rs b/src/ui/task_details.rs index 28d1cd1..b44e857 100755 --- a/src/ui/task_details.rs +++ b/src/ui/task_details.rs @@ -503,8 +503,8 @@ impl FurTaskDetails { let message_area = dialog.message_area().downcast::().unwrap(); let new_name_entry = gtk::Entry::new(); - new_name_entry.set_placeholder_text(Some("New Name #tags")); - let cant_be_empty = gtk::Label::new(Some("Task name cannot be empty.")); + new_name_entry.set_placeholder_text(Some(&gettext("New Name #tags"))); + let cant_be_empty = gtk::Label::new(Some(&gettext("Task name cannot be empty."))); cant_be_empty.add_css_class("error_message"); cant_be_empty.hide(); message_area.append(&new_name_entry); -- cgit 1.4.1