general: Add translation infrastructure
This commit is contained in:
parent
58a77ec9fa
commit
1db46013d9
9 changed files with 260 additions and 13 deletions
|
|
@ -18,6 +18,7 @@
|
|||
// SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
use crate::deps::*;
|
||||
use crate::i18n::*;
|
||||
|
||||
use adw::prelude::*;
|
||||
use adw::subclass::prelude::*;
|
||||
|
|
@ -173,9 +174,9 @@ impl LpApplication {
|
|||
String::from("Jakub Steiner"),
|
||||
String::from("Tobias Bernard"),
|
||||
])
|
||||
.copyright("© 2021 The GNOME Project")
|
||||
.copyright(&i18n("© 2021 The GNOME Project"))
|
||||
.license_type(gtk::License::Gpl30)
|
||||
.program_name("Image Viewer")
|
||||
.program_name(&i18n("Image Viewer"))
|
||||
.logo_icon_name(config::APP_ID)
|
||||
.version(config::VERSION)
|
||||
.build();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue