feat: improve about window
Build / Flatpak (x86_64) (push) Failing after 1h11m35s Details

This commit is contained in:
0xMRTT 2023-07-20 14:06:52 +02:00
parent d0e73754be
commit d380a1aa7c
4 changed files with 22 additions and 9 deletions

View File

@ -10,11 +10,10 @@ python = import('python')
# Constants
PROJECT_RDNN_NAME = 'io.github.Bavarder.Bavarder'
BUGTRACKER_URL = 'https://gnome.org'
HELP_URL = 'https://gnome.org'
TRANSLATE_URL = 'https://gnome.org'
PROJECT_URL = 'https://gnome.org'
BUGTRACKER_URL = 'https://codeberg.org/Bavarder/Bavarder/issues'
HELP_URL = 'https://matrix.to/#/#bavarder:projectsegfau.lt'
TRANSLATE_URL = 'https://translate.codeberg.org/engage/bavarder/'
PROJECT_URL = 'https://bavarder.codeberg.page'
dependency('gtk4', version: '>= 4.5.0')
dependency('libadwaita-1', version: '>= 1.3.99')

View File

@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-07-19 20:24+0200\n"
"POT-Creation-Date: 2023-07-20 14:06+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
@ -34,10 +34,18 @@ msgstr ""
msgid "translator-credits"
msgstr ""
#: src/views/about_window.py:42
msgid "Chit-Chat with AI"
msgstr ""
#: src/views/about_window.py:44
msgid "Copyright © 2023 0xMRTT"
msgstr ""
#: src/views/about_window.py:51
msgid "Translate"
msgstr ""
#: src/views/preferences_window.py:47 src/views/preferences_window.blp:17
msgid "Models"
msgstr ""

View File

@ -22,5 +22,6 @@ src/widgets/model_item.py
src/widgets/thread_item.blp
src/widgets/thread_item.py
src/__init__.py
src/constants.py.in
src/main.py
src/threading.py

View File

@ -34,12 +34,12 @@ class AboutWindow:
"0xMRTT https://github.com/0xMRTT",
],
designers=[
"David Lapshin https://github.com/daudix-UFO",
],
artists=[
"David Lapshin https://github.com/daudix-UFO",
],
comments=_("Chit-Chat with AI"),
translator_credits=translator_credits,
copyright=_("Copyright © 2023 0xMRTT"),
license_type=Gtk.License.GPL_3_0,
@ -47,6 +47,11 @@ class AboutWindow:
release_notes_version=constants.rel_ver,
)
self.about_window.add_link(
_("Translate"),
constants.translate_url
)
self.about_window.set_debug_info(
f"""{constants.app_id} {constants.version}
Environment: {os.environ.get("XDG_CURRENT_DESKTOP", "Unknown")}