application: Update about window

* Use team name instead of just my name
* Don't use `vec!` macro
* Add translator-credits

Closes https://gitlab.gnome.org/Incubator/loupe/-/issues/98
This commit is contained in:
Christopher Davis 2023-03-10 18:21:08 -05:00
parent f5b027c496
commit dfebfb7470

View file

@ -193,18 +193,16 @@ impl LpApplication {
.application_name(i18n("Loupe")) .application_name(i18n("Loupe"))
.application_icon(config::APP_ID) .application_icon(config::APP_ID)
.version(config::VERSION) .version(config::VERSION)
.developer_name(i18n("Christopher Davis")) .developer_name(i18n("The Loupe Team"))
.website("https://gitlab.gnome.org/Incubator/loupe") .website("https://gitlab.gnome.org/Incubator/loupe")
.issue_url("https://gitlab.gnome.org/Incubator/loupe/-/issues/new") .issue_url("https://gitlab.gnome.org/Incubator/loupe/-/issues/new")
.developers(vec![ .developers([
String::from("Christopher Davis <christopherdavis@gnome.org>"), "Christopher Davis <christopherdavis@gnome.org>",
String::from("Sophie Herold <sophieherold@gnome.org>"), "Sophie Herold <sophieherold@gnome.org>",
])
.designers(vec![
String::from("Allan Day"),
String::from("Jakub Steiner"),
String::from("Tobias Bernard"),
]) ])
.designers(["Allan Day", "Jakub Steiner", "Tobias Bernard"])
// Translators: Replace "translator-credits" with your names, one name per line
.translator_credits(i18n("translator-credits"))
.copyright(i18n("Copyright © 2020–2022 Christopher Davis et al.")) .copyright(i18n("Copyright © 2020–2022 Christopher Davis et al."))
.license_type(gtk::License::Gpl30) .license_type(gtk::License::Gpl30)
.build(); .build();