-
-
Notifications
You must be signed in to change notification settings - Fork 24
/
about.js
38 lines (36 loc) · 1.35 KB
/
about.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
import Gtk from "gi://Gtk";
import Adw from "gi://Adw";
import { gettext as _ } from "gettext";
export default function About({ application }) {
const dialog = new Adw.AboutWindow({
application,
application_name: "Commit",
developers: ["Sonny Piers https://sonny.re", "Aral Balkan https://ar.al/"],
artists: ["Tobias Bernard <tbernard@gnome.org>"],
copyright: "© 2020-2022 Sonny Piers\n© 2018-2020 Aral Balkan",
license_type: Gtk.License.GPL_3_0,
version: pkg.version,
website: "https://github.com/sonnyp/Commit",
issue_url: "https://github.com/sonnyp/Commit/issues",
transient_for: application.get_active_window(),
modal: true,
application_icon: "re.sonny.Commit",
// TRANSLATORS: eg. 'Translator Name <your.email@domain.com>' or 'Translator Name https://website.example'
translator_credits: _("translator-credits"),
});
dialog.add_credit_section("Contributors", [
// Add yourself as
// "John Doe",
// or
// "John Doe <john@example.com>",
// or
// "John Doe https://john.com",
"Sergey Bugaev https://floss.social/@bugaevc",
"Christopher Davis https://social.libre.fi/brainblasted",
"axtlos https://github.com/axtloss",
"Felipe Kinoshita https://mastodon.social/@fkinoshita",
"EncryptedEasty https://github.com/EncryptedEasty",
]);
dialog.present();
return { dialog };
}