diff options
author | lakoliu <99976966+lakoliu@users.noreply.github.com> | 2022-04-12 08:45:40 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-12 08:45:40 +0300 |
commit | a83457814faddf91b50bf9216a74f87b5a0f9361 (patch) | |
tree | 47778374aa82d552f59d4b45a4e4b8ff227f7646 /src | |
parent | 183de1135da112065f69966d56510417ca4ecd26 (diff) | |
parent | 750b5be233c3d4a40e88679a5be26ad1425b08ce (diff) | |
download | Furtherance-a83457814faddf91b50bf9216a74f87b5a0f9361.tar.zst |
Merge pull request #18 from musiclover382/i18n
Update localization
Diffstat (limited to 'src')
-rwxr-xr-x | src/application.rs | 5 |
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() |