diff options
-rwxr-xr-x | Cargo.lock | 2 | ||||
-rw-r--r-- | po/Furtherance.pot | 10 | ||||
-rwxr-xr-x | src/ui/task_details.rs | 4 |
3 files changed, 12 insertions, 4 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/po/Furtherance.pot b/po/Furtherance.pot index c36daf6..22f75ac 100644 --- a/po/Furtherance.pot +++ b/po/Furtherance.pot @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: furtherance\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-05-28 14:09+0300\n" +"POT-Creation-Date: 2022-05-29 18:16+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Language-Team: LANGUAGE <LL@li.org>\n" @@ -342,6 +342,14 @@ msgstr "" msgid "Delete task?" msgstr "" +#: src/ui/task_details.rs:506 +msgid "New Name #tags" +msgstr "" + +#: src/ui/task_details.rs:507 +msgid "Task name cannot be empty." +msgstr "" + #: src/ui/task_details.rs:568 msgid "Delete All?" msgstr "" 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::<gtk::Box>().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); |