Skip to content

Commit

Permalink
Fix translator credits not appearing in Adw.AboutDialog
Browse files Browse the repository at this point in the history
  • Loading branch information
Darazaki committed Apr 14, 2024
1 parent 0654744 commit 3b3ebb0
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/SpedreadWindow.vala
Original file line number Diff line number Diff line change
Expand Up @@ -530,13 +530,17 @@ class SpedreadWindow : Gtk.ApplicationWindow {

popover.popdown ();

// TR: "Name <[email protected]>", "Name https://website.example" or "Name"
var translator_credits = _ ("translator-credits");

#if ADW_1_2
if (SpedreadSettings.is_using_libadwaita) {
var win = new Adw.AboutWindow () {
application_name = "Spedread",
application_icon = "com.github.Darazaki.Spedread",
version = VERSION,
comments = _ ("Read like a speedrunner!"),
translator_credits = translator_credits,
license_type = Gtk.License.GPL_3_0,
developers = authors,
website = "https://github.com/Darazaki/Spedread"
Expand All @@ -554,8 +558,7 @@ class SpedreadWindow : Gtk.ApplicationWindow {
"license-type", Gtk.License.GPL_3_0,
"logo-icon-name", "com.github.Darazaki.Spedread",
"comments", _ ("Read like a speedrunner!"),
// TRANSLATORS: 'Name <[email protected]>' or 'Name https://website.example'
"translator-credits", _("translator-credits"),
"translator-credits", translator_credits,
"version", VERSION,
"authors", authors
);
Expand Down

0 comments on commit 3b3ebb0

Please sign in to comment.