general: Change user-facing name to Image Viewer
This is part of the move to Core. Part-of: <https://gitlab.gnome.org/GNOME/loupe/-/merge_requests/256>
This commit is contained in:
parent
dba63ac6fe
commit
186401fb57
23 changed files with 41 additions and 41 deletions
|
|
@ -862,13 +862,13 @@ impl LpWindow {
|
|||
fn window_title(&self, file: Option<&gio::File>) -> String {
|
||||
// ensure that templates are initialized
|
||||
if file.is_none() {
|
||||
gettext("Loupe")
|
||||
gettext("Image Viewer")
|
||||
} else {
|
||||
self.imp()
|
||||
.image_view
|
||||
.current_file()
|
||||
.and_then(|f| util::get_file_display_name(&f)) // If the file exists, get display name
|
||||
.unwrap_or_else(|| gettext("Loupe")) // Return that or the default if there's nothing
|
||||
.unwrap_or_else(|| gettext("Image Viewer")) // Return that or the default if there's nothing
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue