about: Change app name to Loupe and update devs

- Rename to Loupe to avoid confusion during incubation
  and potentially allow for release on Flathub
- Replace GNOME as developer since it violates software policy
- Put a more useful copyright statement
- Add me as developer
This commit is contained in:
Sophie Herold 2022-11-23 21:13:51 +01:00
parent aa781d3864
commit 3876f55b4c
4 changed files with 13 additions and 12 deletions

View file

@ -148,21 +148,22 @@ impl LpApplication {
// an object and set all relevant properties very
// easily in a way that's idiomatic to Rust.
let about = adw::AboutWindow::builder()
.application_name(&i18n("Image Viewer"))
.application_name(&i18n("Loupe"))
.application_icon(config::APP_ID)
.version(config::VERSION)
.developer_name(&i18n("The GNOME Project"))
.developer_name(&i18n("Christopher Davis"))
.website("https://gitlab.gnome.org/BrainBlasted/loupe")
.issue_url("https://gitlab.gnome.org/BrainBlasted/loupe/-/issues/new")
.developers(vec![String::from(
"Christopher Davis <christopherdavis@gnome.org>",
)])
.developers(vec![
String::from("Christopher Davis <christopherdavis@gnome.org>"),
String::from("Sophie Herold <sophieherold@gnome.org>"),
])
.designers(vec![
String::from("Allan Day"),
String::from("Jakub Steiner"),
String::from("Tobias Bernard"),
])
.copyright(&i18n("© 2022 The GNOME Project"))
.copyright(&i18n("Copyright © 2020–2022 Christopher Davis et al."))
.license_type(gtk::License::Gpl30)
.build();

View file

@ -450,7 +450,7 @@ impl LpWindow {
#[template_callback]
fn window_title(&self, file: Option<gio::File>) -> String {
file.and_then(|f| util::get_file_display_name(&f)) // If the file exists, get display name
.unwrap_or_else(|| i18n("Image Viewer")) // Return that or the default if there's nothing
.unwrap_or_else(|| i18n("Loupe")) // Return that or the default if there's nothing
}
// We also have a closure that returns `adw::FlapFoldPolicy`.