i18n: Use gettext function instead of wrapper
No need to deviate from the default here. Part-of: <https://gitlab.gnome.org/Incubator/loupe/-/merge_requests/170>
This commit is contained in:
parent
695693cf74
commit
f8cc9f5f84
16 changed files with 83 additions and 274 deletions
|
|
@ -18,8 +18,8 @@
|
|||
// SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
use crate::deps::*;
|
||||
use crate::i18n::*;
|
||||
use crate::util;
|
||||
use crate::util::gettext::*;
|
||||
|
||||
use std::path::{Path, PathBuf};
|
||||
|
||||
|
|
@ -111,7 +111,7 @@ impl LpFileModel {
|
|||
gio::FileQueryInfoFlags::NONE,
|
||||
gio::Cancellable::NONE,
|
||||
)
|
||||
.context(i18n("Could not list other files in directory."))?;
|
||||
.context(gettext("Could not list other files in directory."))?;
|
||||
|
||||
enumerator.for_each(|info| {
|
||||
if let Ok(info) = info {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue