From e2577aa825924e3ecb012b61aa2894cbd041e36e Mon Sep 17 00:00:00 2001 From: Nathan Bonnemains Date: Fri, 21 Jan 2022 17:52:33 +0100 Subject: [PATCH] Improve meson build --- COPYING => LICENSE | 0 README.md | 4 +- ...from.josipantolis.starfish.appdata.xml.in} | 0 ... hr.from.josipantolis.starfish.desktop.in} | 0 ....from.josipantolis.starfish.gresource.xml} | 0 ...hr.from.josipantolis.starfish.gschema.xml} | 0 .../hr.from.josipantolis.starfish.svg} | 0 .../hr.from.josipantolis.starfish.svg} | 0 .../hr.from.josipantolis.starfish.svg} | 0 .../hr.from.josipantolis.starfish.svg} | 0 .../hr.from.josipantolis.starfish.svg} | 0 .../hr.from.josipantolis.starfish.svg} | 0 data/meson.build | 55 + meson.build | 212 +--- meson/post_install.py | 28 +- po/LINGUAS | 1 - po/POTFILES | 72 +- po/extra/LINGUAS | 0 po/extra/POTFILES | 2 + po/extra/extra.pot | 246 ++++ po/extra/meson.build | 8 + po/hr.from.josipantolis.starfish.pot | 1115 ++++++++--------- po/hr.po | 955 -------------- po/meson.build | 16 +- src/meson.build | 70 ++ test/meson.build | 12 + 26 files changed, 1008 insertions(+), 1788 deletions(-) rename COPYING => LICENSE (100%) rename data/{starfish.appdata.xml.in => hr.from.josipantolis.starfish.appdata.xml.in} (100%) rename data/{starfish.desktop.in => hr.from.josipantolis.starfish.desktop.in} (100%) rename data/{gresource.xml => hr.from.josipantolis.starfish.gresource.xml} (100%) rename data/{gschema.xml => hr.from.josipantolis.starfish.gschema.xml} (100%) rename data/icons/{128.svg => 128/hr.from.josipantolis.starfish.svg} (100%) rename data/icons/{16.svg => 16/hr.from.josipantolis.starfish.svg} (100%) rename data/icons/{24.svg => 24/hr.from.josipantolis.starfish.svg} (100%) rename data/icons/{32.svg => 32/hr.from.josipantolis.starfish.svg} (100%) rename data/icons/{48.svg => 48/hr.from.josipantolis.starfish.svg} (100%) rename data/icons/{64.svg => 64/hr.from.josipantolis.starfish.svg} (100%) create mode 100644 data/meson.build create mode 100644 po/extra/LINGUAS create mode 100644 po/extra/POTFILES create mode 100644 po/extra/extra.pot create mode 100644 po/extra/meson.build delete mode 100644 po/hr.po create mode 100644 src/meson.build create mode 100644 test/meson.build diff --git a/COPYING b/LICENSE similarity index 100% rename from COPYING rename to LICENSE diff --git a/README.md b/README.md index 7c551a9..cff31d1 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ - +

Starfish

A [Gemini](https://gemini.circumlunar.space/) browser made for [elementary OS](https://elementary.io/). @@ -89,7 +89,7 @@ flatpak run hr.from.josipantolis.starfish ## License -[GNU GPLv3](COPYING) +[GNU GPLv3](LICENSE) Copyright © 2021 Josip Antoliš, josip.antolis@protonmail.com. diff --git a/data/starfish.appdata.xml.in b/data/hr.from.josipantolis.starfish.appdata.xml.in similarity index 100% rename from data/starfish.appdata.xml.in rename to data/hr.from.josipantolis.starfish.appdata.xml.in diff --git a/data/starfish.desktop.in b/data/hr.from.josipantolis.starfish.desktop.in similarity index 100% rename from data/starfish.desktop.in rename to data/hr.from.josipantolis.starfish.desktop.in diff --git a/data/gresource.xml b/data/hr.from.josipantolis.starfish.gresource.xml similarity index 100% rename from data/gresource.xml rename to data/hr.from.josipantolis.starfish.gresource.xml diff --git a/data/gschema.xml b/data/hr.from.josipantolis.starfish.gschema.xml similarity index 100% rename from data/gschema.xml rename to data/hr.from.josipantolis.starfish.gschema.xml diff --git a/data/icons/128.svg b/data/icons/128/hr.from.josipantolis.starfish.svg similarity index 100% rename from data/icons/128.svg rename to data/icons/128/hr.from.josipantolis.starfish.svg diff --git a/data/icons/16.svg b/data/icons/16/hr.from.josipantolis.starfish.svg similarity index 100% rename from data/icons/16.svg rename to data/icons/16/hr.from.josipantolis.starfish.svg diff --git a/data/icons/24.svg b/data/icons/24/hr.from.josipantolis.starfish.svg similarity index 100% rename from data/icons/24.svg rename to data/icons/24/hr.from.josipantolis.starfish.svg diff --git a/data/icons/32.svg b/data/icons/32/hr.from.josipantolis.starfish.svg similarity index 100% rename from data/icons/32.svg rename to data/icons/32/hr.from.josipantolis.starfish.svg diff --git a/data/icons/48.svg b/data/icons/48/hr.from.josipantolis.starfish.svg similarity index 100% rename from data/icons/48.svg rename to data/icons/48/hr.from.josipantolis.starfish.svg diff --git a/data/icons/64.svg b/data/icons/64/hr.from.josipantolis.starfish.svg similarity index 100% rename from data/icons/64.svg rename to data/icons/64/hr.from.josipantolis.starfish.svg diff --git a/data/meson.build b/data/meson.build new file mode 100644 index 0000000..289e87a --- /dev/null +++ b/data/meson.build @@ -0,0 +1,55 @@ +# Install icons +icon_sizes = ['16', '24', '32', '48', '64', '128'] + +foreach i : icon_sizes + install_data ( + join_paths ('icons', i, meson.project_name () + '.svg'), + install_dir: join_paths (get_option ('datadir'), 'icons', 'hicolor', i + 'x' + i, 'apps') + ) + install_data ( + join_paths ('icons', i, meson.project_name () + '.svg'), + install_dir: join_paths (get_option ('datadir'), 'icons', 'hicolor', i + 'x' + i + '@2', 'apps') + ) +endforeach + +# Translate and install our .desktop file so the Applications Menu will see it +i18n.merge_file ( + input: meson.project_name () + '.desktop.in', + output: meson.project_name () + '.desktop', + po_dir: join_paths (meson.source_root (), 'po', 'extra'), + type: 'desktop', + install: true, + install_dir: join_paths (get_option ('datadir'), 'applications') +) + +# Translate and install our .appdata.xml file so AppCenter will see it +i18n.merge_file ( + input: meson.project_name () + '.appdata.xml.in', + output: meson.project_name () + '.appdata.xml', + po_dir: join_paths (meson.source_root (), 'po', 'extra'), + install: true, + install_dir: join_paths (get_option ('datadir'), 'metainfo') +) + +# Install gschema +install_data ( + meson.project_name () + '.gschema.xml', + install_dir: join_paths (get_option ('datadir'), 'glib-2.0', 'schemas') +) + +# Register gemini MIME type +install_data ( + 'gemini-mime-type.xml', + install_dir: join_paths (get_option ('datadir'), 'mime', 'packages'), + rename: meson.project_name () + '.xml' +) + +# Install docs +doc_files = ['index.gmi', 'discover.gmi', 'apps.gmi', 'terminology.gmi'] + +foreach doc_file : doc_files + install_data ( + join_paths ('static', doc_file), + install_dir: join_paths (get_option ('datadir'), 'doc', 'starfish') + ) +endforeach diff --git a/meson.build b/meson.build index 34bce89..de1e689 100644 --- a/meson.build +++ b/meson.build @@ -1,182 +1,64 @@ -project('hr.from.josipantolis.starfish', 'vala', 'c') - -# Include required modules -gnome = import('gnome') -i18n = import('i18n') - -# Set translation domain -add_global_arguments('-DGETTEXT_PACKAGE="@0@"'.format (meson.project_name()), language:'c') +# Project name, programming language and version +project ( + 'hr.from.josipantolis.starfish', + 'c', 'vala', + version: '1.3.1' +) -# Common build -dependencies = [ - dependency('glib-2.0'), - dependency('gobject-2.0'), - dependency('gee-0.8'), - dependency('gtk+-3.0'), - dependency('granite'), - dependency('libhandy-1'), - dependency('gnutls'), - dependency('gtkspell3-3.0'), - meson.get_compiler('vala').find_library('posix'), -] +# Translation module +i18n = import ('i18n') -gresource = gnome.compile_resources( - 'gresource', - join_paths('data', 'gresource.xml'), - source_dir: 'data' +# Project arguments +add_project_arguments ( + '-DGETTEXT_PACKAGE="@0@"'.format (meson.project_name ()), + language: 'c' ) -sources = gresource + files( - 'src/UI/Application.vala', - 'src/UI/Window.vala', - 'src/UI/HeaderBar.vala', - 'src/UI/CertPopover.vala', - 'src/UI/ClientCertListBox.vala', - 'src/UI/ClientCertCreateDialog.vala', - 'src/UI/PreferencesDialog.vala', - 'src/UI/ContentStack.vala', - 'src/UI/InputView.vala', - 'src/UI/ResponseView.vala', - 'src/UI/PageStaticErrorView.vala', - 'src/UI/PageCertErrorView.vala', - 'src/UI/PageClientCertPickerView.vala', - 'src/UI/PageImageView.vala', - 'src/UI/PageTextView.vala', - 'src/UI/PageDownloadView.vala', - 'src/UI/GemtextRef.vala', - 'src/UI/GemtextView.vala', - 'src/UI/GemtextSearchBar.vala', - 'src/UI/TableOfContent.vala', - 'src/UI/LinkEventType.vala', - 'src/UI/LinkEvent.vala', - 'src/UI/TabContent.vala', - 'src/UI/TextViewHighlighter.vala', - 'src/Templates/Template.vala', - 'src/Templates/Bookmarks.vala', - 'src/Templates/TempFailure.vala', - 'src/Templates/InvalidResponse.vala', - 'src/Templates/ConnectionFailed.vala', - 'src/Templates/SlowDown.vala', - 'src/Templates/NonGeminiRedirect.vala', - 'src/Templates/TooManyRedirects.vala', - 'src/Templates/NotFound.vala', - 'src/Templates/Gone.vala', - 'src/Templates/BadRequest.vala', - 'src/Templates/UnsuportedSchema.vala', - 'src/Templates/PermFailure.vala', - 'src/Templates/CertNotApplicable.vala', - 'src/Templates/FileAccessDenied.vala', - 'src/Core/Client.vala', - 'src/Core/CertError.vala', - 'src/Core/CertInfo.vala', - 'src/Core/CertHash.vala', - 'src/Core/CertManager.vala', - 'src/Core/ClientCertFactory.vala', - 'src/Core/ClientCertRepo.vala', - 'src/Core/Uri.vala', - 'src/Core/Mime.vala', - 'src/Core/Response.vala', - 'src/Core/InternalErrorResponse.vala', - 'src/Core/Line.vala', - 'src/Core/LineType.vala', - 'src/Core/TextBody.vala', - 'src/Core/GeminiBody.vala', - 'src/Core/Storage.vala', - 'src/Core/SettingsBackedStorage.vala', - 'src/Core/BookmarksManager.vala', - 'src/Core/SessionManager.vala', - 'src/Core/Session.vala', - 'src/Core/Theme.vala', - 'src/Core/Tab.vala', - 'src/Core/TabManager.vala' -) +# GNOME module +gnome = import ('gnome') -# Test build -test_sources = files( - 'test/TestMain.vala', - 'test/TestBase.vala', - 'test/Core/MimeTest.vala', - 'test/Core/ResponseTest.vala', - 'test/Core/LineTest.vala', - 'test/Core/BodyTestBase.vala', - 'test/Core/TextBodyTest.vala', - 'test/Core/GeminiBodyTest.vala', - 'test/Core/UriTest.vala' +# Compiling resources +gresource = gnome.compile_resources ( + 'gresource', + join_paths ('data', meson.project_name ()) + '.gresource.xml', + source_dir: 'data', + c_name: 'as' ) -test_executeable = executable( - meson.project_name() + '-tests', - sources + test_sources, - dependencies: dependencies -) +# Listing dependencies +dependencies = [ + dependency ('glib-2.0'), + dependency ('gobject-2.0'), + dependency ('gee-0.8'), + dependency ('gtk+-3.0'), + dependency ('granite'), + dependency ('libhandy-1'), + dependency ('gnutls'), + dependency ('gtkspell3-3.0'), + meson.get_compiler ('vala').find_library ('posix') +] -test('tests', test_executeable) +subdir ('src') -# Production build -executable( - meson.project_name(), - sources + files('src/Main.vala'), +# Defining executable +executable ( + meson.project_name (), + sources, + gresource, dependencies: dependencies, install: true ) -# Install gschema and register gemini MIME type -install_data( - join_paths('data', 'gschema.xml'), - install_dir: join_paths(get_option('datadir'), 'glib-2.0', 'schemas'), - rename: meson.project_name () + '.gschema.xml' -) -install_data( - join_paths('data', 'gemini-mime-type.xml'), - install_dir: join_paths(get_option('datadir'), 'mime', 'packages'), - rename: meson.project_name () + '.xml' -) -meson.add_install_script('meson/post_install.py', meson.project_name ()) - -# Translate and install .desktop file -i18n.merge_file( - input: join_paths('data', 'starfish.desktop.in'), - output: meson.project_name() + '.desktop', - po_dir: join_paths(meson.source_root(), 'po'), - type: 'desktop', - install: true, - install_dir: join_paths(get_option('datadir'), 'applications') -) - -# Translate and install .appdata file -i18n.merge_file( - input: join_paths('data', 'starfish.appdata.xml.in'), - output: meson.project_name() + '.appdata.xml', - po_dir: join_paths(meson.source_root(), 'po'), - install: true, - install_dir: join_paths(get_option('datadir'), 'metainfo') -) - -# Install icons -icon_sizes = ['16', '24', '32', '48', '64', '128'] - -foreach i : icon_sizes - install_data( - join_paths('data', 'icons', i + '.svg'), - install_dir: join_paths(get_option('datadir'), 'icons', 'hicolor', i + 'x' + i, 'apps'), - rename: meson.project_name() + '.svg' - ) - install_data( - join_paths('data', 'icons', i + '.svg'), - install_dir: join_paths(get_option('datadir'), 'icons', 'hicolor', i + 'x' + i + '@2', 'apps'), - rename: meson.project_name() + '.svg' - ) -endforeach +subdir ('test') -# Install docs -doc_files = ['index.gmi', 'discover.gmi', 'apps.gmi', 'terminology.gmi'] - -foreach doc_file : doc_files - install_data( - join_paths('data', 'static', doc_file), - install_dir: join_paths(get_option('datadir'), 'doc', 'starfish') - ) -endforeach +# Defning tests executable +test('tests', executable ( + meson.project_name () + '-tests', + common_sources + test_sources, + dependencies: dependencies +)) +subdir('data') subdir('po') +meson.add_install_script('meson/post_install.py', meson.project_name ()) diff --git a/meson/post_install.py b/meson/post_install.py index bfb4197..81b7693 100644 --- a/meson/post_install.py +++ b/meson/post_install.py @@ -1,29 +1,35 @@ #!/usr/bin/env python3 -import os +from os import path, environ import subprocess import sys project_name = sys.argv[1] -prefix = os.environ['MESON_INSTALL_PREFIX'] -schemadir = os.path.join(prefix, 'share', 'glib-2.0', 'schemas') -schema_file = os.path.join(schemadir, project_name + '.gschema.xml') -mimedir = os.path.join(prefix, 'share', 'mime') +prefix = environ.get('MESON_INSTALL_PREFIX', '/usr/local') +datadir = path.join(prefix, 'share') +schemadir = path.join(datadir, 'glib-2.0', 'schemas') +schema_file = path.join(schemadir, project_name + '.gschema.xml') +desktop_database_dir = path.join(datadir, 'applications') +mimedir = path.join(datadir, 'mime') def fill_schema_placeholders(): with open(schema_file, 'rt') as file: schema_content = file.read() - for param in os.environ.keys(): + for param in environ.keys(): key = '{{' + param + '}}' - value = os.environ[param] + value = environ[param] schema_content = schema_content.replace(key, value) with open(schema_file, 'wt') as file: file.write(schema_content) -if not os.environ.get('DESTDIR'): - print('Replacing gsettings placeholders in ' + schema_file + '...') +if not environ.get('DESTDIR'): + print('Replacing gsettings placeholders in ' + schema_file + '…') fill_schema_placeholders() - print('Compiling gsettings schemas...') + print('Compiling gsettings schemas…') subprocess.call(['glib-compile-schemas', schemadir]) - print('Registering text/gemini MIME type...') + print('Updating desktop database…') + subprocess.call(['update-desktop-database', '-q', desktop_database_dir]) + print('Updating icon cache…') + subprocess.call(['gtk-update-icon-cache', '-qtf', path.join(datadir, 'icons', 'hicolor')]) + print('Registering text/gemini MIME type…') subprocess.call(['update-mime-database', mimedir]) diff --git a/po/LINGUAS b/po/LINGUAS index fcb5e9c..e69de29 100644 --- a/po/LINGUAS +++ b/po/LINGUAS @@ -1 +0,0 @@ -hr diff --git a/po/POTFILES b/po/POTFILES index 20b1612..6da9b70 100644 --- a/po/POTFILES +++ b/po/POTFILES @@ -1,52 +1,30 @@ -src/UI/Application.vala -src/UI/Window.vala -src/UI/HeaderBar.vala -src/UI/CertPopover.vala -src/UI/PreferencesDialog.vala -src/UI/ContentStack.vala -src/UI/InputView.vala -src/UI/ResponseView.vala -src/UI/PageStaticErrorView.vala -src/UI/PageCertErrorView.vala -src/UI/PageClientCertPickerView.vala -src/UI/PageImageView.vala -src/UI/PageTextView.vala -src/UI/PageDownloadView.vala -src/UI/LinkEventType.vala -src/UI/LinkEvent.vala -src/UI/TabContent.vala -src/UI/TextViewHighlighter.vala -src/Templates/Template.vala +src/Core/CertManager.vala + +src/Templates/BadRequest.vala src/Templates/Bookmarks.vala -src/Templates/TempFailure.vala -src/Templates/InvalidResponse.vala +src/Templates/CertNotApplicable.vala src/Templates/ConnectionFailed.vala -src/Templates/SlowDown.vala +src/Templates/FileAccessDenied.vala +src/Templates/Gone.vala +src/Templates/InvalidResponse.vala src/Templates/NonGeminiRedirect.vala -src/Templates/TooManyRedirects.vala src/Templates/NotFound.vala -src/Templates/Gone.vala -src/Templates/BadRequest.vala -src/Templates/UnsuportedSchema.vala src/Templates/PermFailure.vala -src/Templates/CertNotApplicable.vala -src/Templates/FileAccessDenied.vala -src/Core/Client.vala -src/Core/Uri.vala -src/Core/Mime.vala -src/Core/Response.vala -src/Core/InternalErrorResponse.vala -src/Core/Line.vala -src/Core/LineType.vala -src/Core/TextBody.vala -src/Core/GeminiBody.vala -src/Core/Storage.vala -src/Core/SettingsBackedStorage.vala -src/Core/BookmarksManager.vala -src/Core/SessionManager.vala -src/Core/Session.vala -src/Core/Theme.vala -src/Core/Tab.vala -src/Core/TabManager.vala -data/starfish.desktop.in -data/starfish.appdata.xml.in +src/Templates/SlowDown.vala +src/Templates/TempFailure.vala +src/Templates/TooManyRedirects.vala +src/Templates/UnsuportedSchema.vala + +src/UI/CertPopover.vala +src/UI/ClientCertCreateDialog.vala +src/UI/ClientCertListBox.vala +src/UI/GemtextSearchBar.vala +src/UI/GemtextView.vala +src/UI/HeaderBar.vala +src/UI/InputView.vala +src/UI/PageCertErrorView.vala +src/UI/PageClientCertPickerView.vala +src/UI/PageDownloadView.vala +src/UI/PreferencesDialog.vala +src/UI/TableOfContent.vala +src/UI/Window.vala diff --git a/po/extra/LINGUAS b/po/extra/LINGUAS new file mode 100644 index 0000000..e69de29 diff --git a/po/extra/POTFILES b/po/extra/POTFILES new file mode 100644 index 0000000..0a1de10 --- /dev/null +++ b/po/extra/POTFILES @@ -0,0 +1,2 @@ +data/hr.from.josipantolis.starfish.desktop.in +data/hr.from.josipantolis.starfish.appdata.xml.in diff --git a/po/extra/extra.pot b/po/extra/extra.pot new file mode 100644 index 0000000..ef554e8 --- /dev/null +++ b/po/extra/extra.pot @@ -0,0 +1,246 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the extra package. +# FIRST AUTHOR , YEAR. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: extra\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2022-01-21 14:46+0100\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"Language: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#: data/hr.from.josipantolis.starfish.desktop.in:3 +#: data/hr.from.josipantolis.starfish.appdata.xml.in:7 +msgid "Starfish" +msgstr "" + +#: data/hr.from.josipantolis.starfish.desktop.in:4 +msgid "Starfish Gemini browser" +msgstr "" + +#: data/hr.from.josipantolis.starfish.desktop.in:5 +#: data/hr.from.josipantolis.starfish.appdata.xml.in:8 +msgid "Surf the Geminispace" +msgstr "" + +#: data/hr.from.josipantolis.starfish.desktop.in:8 +msgid "hr.from.josipantolis.starfish" +msgstr "" + +#: data/hr.from.josipantolis.starfish.desktop.in:11 +msgid "gemini;browser;client;gemtext;geminispace;" +msgstr "" + +#: data/hr.from.josipantolis.starfish.appdata.xml.in:10 +msgid "" +"Browse Gemini sites on the small internet. Read blogs and fiction, enjoy " +"text without distractions, keep your browsing private." +msgstr "" + +#: data/hr.from.josipantolis.starfish.appdata.xml.in:11 +msgid "" +"Starfish is a beginner-friendly desktop client for Gemini protol. It " +"supports all core features of Gemini, such as beautiful rendering of text " +"based content and encrypted communication with servers. On top of those " +"Starfish offers comforts of modern browsers, like local browsing history, " +"tabs and favorites." +msgstr "" + +#: data/hr.from.josipantolis.starfish.appdata.xml.in:16 +msgid "A smaller release with some housekeeping and a couple of bug fixes:" +msgstr "" + +#: data/hr.from.josipantolis.starfish.appdata.xml.in:18 +msgid "" +"Deleting client certificates is fixed: you can now send them to trash, and " +"restore them from there if you change your mind." +msgstr "" + +#: data/hr.from.josipantolis.starfish.appdata.xml.in:19 +msgid "" +"The \"Show file\" button in the download page is renamed to \"Show Downloads" +"\" and now opens the Downloads directory." +msgstr "" + +#: data/hr.from.josipantolis.starfish.appdata.xml.in:20 +msgid "" +"Address bar now stretches to fill more horizontal space making longer Gemini " +"addresses readable." +msgstr "" + +#: data/hr.from.josipantolis.starfish.appdata.xml.in:21 +msgid "The app is updated to use the new elementary 6.1 runtime." +msgstr "" + +#: data/hr.from.josipantolis.starfish.appdata.xml.in:27 +msgid "Input page received a series of improvements this time around:" +msgstr "" + +#: data/hr.from.josipantolis.starfish.appdata.xml.in:29 +msgid "" +"You can now input multiple lines, and fill them with all kinds of " +"characters, including emoji 😉️." +msgstr "" + +#: data/hr.from.josipantolis.starfish.appdata.xml.in:30 +msgid "" +"The input text is spell-checked and its size is validated against the limits " +"of Gemini protocol." +msgstr "" + +#: data/hr.from.josipantolis.starfish.appdata.xml.in:31 +msgid "" +"There is an obvious distinction between posting input anonymously and with a " +"client identity." +msgstr "" + +#: data/hr.from.josipantolis.starfish.appdata.xml.in:33 +msgid "In addition to new features, there are a few smaller fixes:" +msgstr "" + +#: data/hr.from.josipantolis.starfish.appdata.xml.in:35 +msgid "Text alignment in gemtext pages is improved." +msgstr "" + +#: data/hr.from.josipantolis.starfish.appdata.xml.in:36 +msgid "Consistent styling is applied on all Linux distributions." +msgstr "" + +#: data/hr.from.josipantolis.starfish.appdata.xml.in:37 +msgid "" +"Intermittent issues with loading pages served by the gmnisrv server are " +"fixed." +msgstr "" + +#: data/hr.from.josipantolis.starfish.appdata.xml.in:43 +msgid "This update is all about making gemtext more beautiful and functional:" +msgstr "" + +#: data/hr.from.josipantolis.starfish.appdata.xml.in:45 +msgid "Links style now matches your OS-level accent color." +msgstr "" + +#: data/hr.from.josipantolis.starfish.appdata.xml.in:46 +msgid "You can see where a link leads without opening it." +msgstr "" + +#: data/hr.from.josipantolis.starfish.appdata.xml.in:47 +msgid "" +"A table of contents makes navigating to a specific heading on a gemtext page " +"easy." +msgstr "" + +#: data/hr.from.josipantolis.starfish.appdata.xml.in:48 +msgid "" +"A text search of gemtext pages helps you quickly find any term you are " +"looking for." +msgstr "" + +#: data/hr.from.josipantolis.starfish.appdata.xml.in:54 +msgid "A smaller release with two improvements:" +msgstr "" + +#: data/hr.from.josipantolis.starfish.appdata.xml.in:56 +msgid "" +"A redesigned app icon now fits better with the rest of your system and " +"remains sharp at lower resolutions." +msgstr "" + +#: data/hr.from.josipantolis.starfish.appdata.xml.in:57 +msgid "" +"There's no longer a danger of overriding an existing client certificate when " +"creating a new one." +msgstr "" + +#: data/hr.from.josipantolis.starfish.appdata.xml.in:63 +msgid "This release focuses on improving certificate handling. In particular:" +msgstr "" + +#: data/hr.from.josipantolis.starfish.appdata.xml.in:65 +msgid "" +"Information about server certificates is now prominently shown in the " +"address bar, similar to how other web browsers are usually doing it." +msgstr "" + +#: data/hr.from.josipantolis.starfish.appdata.xml.in:66 +msgid "" +"Client certificates are now fully supported. This allows you access to sites " +"that require user identification, like Astrobotany or Station." +msgstr "" + +#: data/hr.from.josipantolis.starfish.appdata.xml.in:72 +msgid "Initial release, bringing you features such as:" +msgstr "" + +#: data/hr.from.josipantolis.starfish.appdata.xml.in:74 +msgid "" +"Beautiful rendering of gemtext content, both served over the network via " +"Gemini protocol and read from local files." +msgstr "" + +#: data/hr.from.josipantolis.starfish.appdata.xml.in:75 +msgid "" +"In-app rendering of images and a download option for other file types that " +"you might encounter in the Geminispace." +msgstr "" + +#: data/hr.from.josipantolis.starfish.appdata.xml.in:76 +msgid "" +"A gentle introduction to Gemini, with pointers on how to get around and " +"discover more content." +msgstr "" + +#: data/hr.from.josipantolis.starfish.appdata.xml.in:77 +msgid "" +"Stuff you'd normally expect from a browser, like tabs, favorites, history-" +"based navigation, etc." +msgstr "" + +#: data/hr.from.josipantolis.starfish.appdata.xml.in:87 +msgid "Josip Antoliš" +msgstr "" + +#: data/hr.from.josipantolis.starfish.appdata.xml.in:93 +msgid "" +"Gemini pages are displayed with your chosen accent color and light or dark " +"style" +msgstr "" + +#: data/hr.from.josipantolis.starfish.appdata.xml.in:97 +msgid "" +"gentle introduction to Gemini is provided to help you find your bearings" +msgstr "" + +#: data/hr.from.josipantolis.starfish.appdata.xml.in:101 +msgid "" +"page search and table of contents help you navigate larger gemtext pages" +msgstr "" + +#: data/hr.from.josipantolis.starfish.appdata.xml.in:105 +msgid "" +"connection to Gemini sites is secured by both server and client certificates" +msgstr "" + +#: data/hr.from.josipantolis.starfish.appdata.xml.in:109 +msgid "" +"using multiple client certificates you can create as many online identities " +"as you wish" +msgstr "" + +#: data/hr.from.josipantolis.starfish.appdata.xml.in:113 +msgid "images, in addition to gemtext pages, are displayed inside the app" +msgstr "" + +#: data/hr.from.josipantolis.starfish.appdata.xml.in:117 +msgid "" +"Gemini pages can be displayed using the dyslexia friendly font and varying " +"text size" +msgstr "" diff --git a/po/extra/meson.build b/po/extra/meson.build new file mode 100644 index 0000000..526e40f --- /dev/null +++ b/po/extra/meson.build @@ -0,0 +1,8 @@ +# Install metadata translations +i18n.gettext ('extra', + args: [ + '--directory=' + meson.source_root (), + '--from-code=UTF-8' + ], + install: false +) diff --git a/po/hr.from.josipantolis.starfish.pot b/po/hr.from.josipantolis.starfish.pot index 6f3e453..0bc31c0 100644 --- a/po/hr.from.josipantolis.starfish.pot +++ b/po/hr.from.josipantolis.starfish.pot @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: hr.from.josipantolis.starfish\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-12-18 21:37+0100\n" +"POT-Creation-Date: 2022-01-21 14:46+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -17,342 +17,41 @@ msgstr "" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -#: src/UI/Window.vala:74 data/starfish.desktop.in:3 -#: data/starfish.appdata.xml.in:7 -msgid "Starfish" -msgstr "" - -#: src/UI/HeaderBar.vala:81 src/UI/HeaderBar.vala:154 -msgid "Reload" -msgstr "" - -#: src/UI/HeaderBar.vala:83 src/UI/PageCertErrorView.vala:49 -msgid "Go back" -msgstr "" - -#: src/UI/HeaderBar.vala:84 -msgid "Go forward" -msgstr "" - -#: src/UI/HeaderBar.vala:85 -msgid "Go up" -msgstr "" - -#: src/UI/HeaderBar.vala:86 -msgid "Go to root" -msgstr "" - -#: src/UI/HeaderBar.vala:87 -msgid "Go home" -msgstr "" - -#: src/UI/HeaderBar.vala:89 -msgid "Open bookmarks" -msgstr "" - -#: src/UI/HeaderBar.vala:163 -msgid "Stop" -msgstr "" - -#: src/UI/HeaderBar.vala:193 -msgid "Check identity" -msgstr "" - -#: src/UI/HeaderBar.vala:197 src/UI/HeaderBar.vala:219 -#: src/UI/HeaderBar.vala:239 -msgid "Bookmark this page" -msgstr "" - -#: src/UI/HeaderBar.vala:223 src/UI/HeaderBar.vala:236 -msgid "Remove this page rom bookmarks" -msgstr "" - -#: src/UI/HeaderBar.vala:244 -msgid "Zoom out" -msgstr "" - -#: src/UI/HeaderBar.vala:245 -msgid "Zoom in" -msgstr "" - -#: src/UI/HeaderBar.vala:250 -msgid "Reset zoom level" -msgstr "" - -#: src/UI/HeaderBar.vala:268 src/UI/PreferencesDialog.vala:10 -msgid "Preferences" -msgstr "" - -#: src/UI/HeaderBar.vala:273 -msgid "Introduction to Gemini" -msgstr "" - -#: src/UI/HeaderBar.vala:303 -msgid "Menu" -msgstr "" - -#: src/UI/HeaderBar.vala:328 -msgid "Find..." -msgstr "" - -#: src/UI/CertPopover.vala:56 -msgid "Server identity" -msgstr "" - -#: src/UI/CertPopover.vala:63 src/UI/CertPopover.vala:145 -msgid "Name" -msgstr "" - -#: src/UI/CertPopover.vala:63 -msgid "Server certificate is not applicable to the domain you are requesting." -msgstr "" - -#: src/UI/CertPopover.vala:64 -msgid "Country" -msgstr "" - -#: src/UI/CertPopover.vala:65 -msgid "Orgamization" -msgstr "" - -#: src/UI/CertPopover.vala:66 -msgid "Active from" -msgstr "" - -#: src/UI/CertPopover.vala:66 -msgid "Server certificate's activation date has not yet arrived." -msgstr "" - -#: src/UI/CertPopover.vala:67 -msgid "Expires at" -msgstr "" - -#: src/UI/CertPopover.vala:67 -msgid "Server certificate's expiration date has passed." -msgstr "" - -#: src/UI/CertPopover.vala:68 -msgid "Fingerprint" -msgstr "" - -#: src/UI/CertPopover.vala:70 src/UI/CertPopover.vala:163 -msgid "Show Details" -msgstr "" - -#: src/UI/CertPopover.vala:93 src/UI/CertPopover.vala:137 -msgid "Client identity" -msgstr "" - -#: src/UI/CertPopover.vala:102 +#: src/Core/CertManager.vala:61 #, c-format -msgid "You have identities associated with other pages on the %s domain." +msgid "Certificate for %s does not match previously seen one" msgstr "" -#: src/UI/CertPopover.vala:116 -msgid "Use Identity" -msgstr "" - -#: src/UI/CertPopover.vala:146 -msgid "Stop Using Identity" -msgstr "" - -#: src/UI/CertPopover.vala:189 -msgid "Your connection is insecure" -msgstr "" - -#: src/UI/CertPopover.vala:192 -#, c-format -msgid "Your connection to %s is insecure" -msgstr "" - -#: src/UI/CertPopover.vala:195 -#, c-format -msgid "Your connection to %s might be insecure" -msgstr "" - -#: src/UI/CertPopover.vala:198 -#, c-format -msgid "Your connection to %s is secure" -msgstr "" - -#: src/UI/CertPopover.vala:246 -msgid "Certificate details" -msgstr "" - -#: src/UI/CertPopover.vala:247 -#, c-format -msgid "Full details on the currently used %s certificate." -msgstr "" - -#: src/UI/CertPopover.vala:292 -msgid "Pick identity" -msgstr "" - -#: src/UI/CertPopover.vala:307 src/UI/PageDownloadView.vala:159 -msgid "Cancel" -msgstr "" - -#: src/UI/PreferencesDialog.vala:21 -msgid "Home" -msgstr "" - -#: src/UI/PreferencesDialog.vala:22 src/UI/PreferencesDialog.vala:23 -msgid "Homepage URL" -msgstr "" - -#: src/UI/PreferencesDialog.vala:47 -msgid "Please provide a link to a gemini site." -msgstr "" - -#: src/UI/PreferencesDialog.vala:54 -msgid "Please define a domain." -msgstr "" - -#: src/UI/PreferencesDialog.vala:61 -#, c-format -msgid "Could not resolve domain %s." -msgstr "" - -#: src/UI/PreferencesDialog.vala:68 -#, c-format -msgid "Could not parse the link. Error: %s" -msgstr "" - -#: src/UI/PreferencesDialog.vala:82 -msgid "Close" -msgstr "" - -#: src/UI/InputView.vala:27 -msgid "Input" -msgstr "" - -#: src/UI/InputView.vala:74 -msgid "" -"Because of the way input is defined in Gemini a single character you type " -"might take up more than one space." -msgstr "" - -#: src/UI/InputView.vala:93 src/UI/InputView.vala:200 -msgid "Send" -msgstr "" - -#: src/UI/InputView.vala:124 -msgid "Please provide input." -msgstr "" - -#: src/UI/InputView.vala:150 -msgid "Please provide some input." -msgstr "" - -#: src/UI/InputView.vala:152 -msgid "Input size exceeds maximum size. Please shorten your input." -msgstr "" - -#: src/UI/InputView.vala:166 -#, c-format -msgid "Total input size: %d/%d" -msgstr "" - -#: src/UI/InputView.vala:190 -msgid "Send with identity" -msgstr "" - -#: src/UI/InputView.vala:191 -#, c-format -msgid "" -"You are currently using your %s identity. The page at %s may associate the " -"input you provide with this identity." -msgstr "" - -#: src/UI/InputView.vala:191 -msgid "unnamed" -msgstr "" - -#: src/UI/PageCertErrorView.vala:39 -msgid "" -"Received an invalid " -"certificate" -msgstr "" - -#: src/UI/PageCertErrorView.vala:74 -#, c-format -msgid "" -"Certificate for %s appears to be invalid. To proceed you can:" -msgstr "" - -#: src/UI/PageCertErrorView.vala:77 -msgid "Trust the new certificate" -msgstr "" - -#: src/UI/PageCertErrorView.vala:82 -#, c-format -msgid "" -"Certificate for %s has changed since last time you wisited it. To " -"proceed you can:" -msgstr "" - -#: src/UI/PageClientCertPickerView.vala:36 -msgid "Client identification required" -msgstr "" - -#: src/UI/PageClientCertPickerView.vala:45 -#, c-format -msgid "" -" The page at %s requires you to use a client certificate to identify " -"yourself. This is usually reuired in order for the pod to show you some " -"personalized content. For example by using the same certificate as last time " -"you accessed this pod you may be able to pick up where you left off or your " -"saved prefferences may be applied. Alternativelly, if you want to present a " -"new identity to the server you can generate and use a new client certifcate." -msgstr "" - -#: src/UI/PageClientCertPickerView.vala:63 -msgid "Create New Identity" -msgstr "" - -#: src/UI/PageDownloadView.vala:58 -msgid "Go Back" -msgstr "" - -#: src/UI/PageDownloadView.vala:68 src/UI/PageDownloadView.vala:158 -msgid "Download" -msgstr "" - -#: src/UI/PageDownloadView.vala:75 -msgid "Downloading..." -msgstr "" - -#: src/UI/PageDownloadView.vala:85 -msgid "Download aborted." -msgstr "" - -#: src/UI/PageDownloadView.vala:90 -msgid "Retry" -msgstr "" - -#: src/UI/PageDownloadView.vala:96 src/UI/PageDownloadView.vala:196 -msgid "Download finished!" -msgstr "" - -#: src/UI/PageDownloadView.vala:148 -#, c-format -msgid "Cannot display %s" -msgstr "" - -#: src/UI/PageDownloadView.vala:149 -#, c-format +#: src/Templates/BadRequest.vala:8 msgid "" -"Starfish does not support %s content.\n" -"Do you want to download %s instead?" -msgstr "" - -#: src/UI/PageDownloadView.vala:155 -msgid "Save file" -msgstr "" - -#: src/UI/PageDownloadView.vala:197 -#, c-format -msgid "Finished downloading %s." +"# Bad request\n" +"\n" +"```\n" +" Λ\n" +"___/ \\___\n" +"‛𑑍 _ ⸲’ Bad request 🗳️\n" +" /,” ‛⹁\\\n" +"/’ ‛\\\n" +"```\n" +"\n" +"Gemini pod at ${domain} cannot process the request to load page at ${uri}. " +"This may be because of an invalid input value, or unsuported proxy feature " +"on the server. To proceed you can:\n" +"\n" +"* Go back to the last visited page.\n" +"* In case you provided input check its value.\n" +"\n" +"Technical details:\n" +"\n" +"```\n" +"\n" +"Gemini response details\n" +"\n" +": ${status-code}\n" +"\n" +": ${meta}\n" +"\n" +"```\n" msgstr "" #: src/Templates/Bookmarks.vala:5 @@ -377,54 +76,46 @@ msgid "" "Your bookmarks:\n" msgstr "" -#: src/Templates/TempFailure.vala:7 +#: src/Templates/CertNotApplicable.vala:6 msgid "" -"# Temporary faliure\n" +"# Certificate is not applicable\n" "\n" "```\n" " Λ\n" "___/ \\___\n" -"‛𑑍 _ ⸲’ Temporary faliure ⏳️\n" +"‛𑑍 _ ⸲’ Certificate is not applicable 🎭️\n" " /,” ‛⹁\\\n" "/’ ‛\\\n" "```\n" "\n" -"There was a temporary issue with loading the page at ${uri}. The issue is on " -"the server side. To proceed you can:\n" +"The page at ${uri} provided a certificate that is not applicable to its own " +"domain ${host}. This is a mistake on the server's side and it will need to " +"be fixed there. To proceed you can:\n" "\n" "* Go back to the last visited page.\n" -"* Try reloading this page now.\n" -"* Try visiting this page later.\n" -"\n" -"Technical details:\n" -"\n" -"```\n" -"\n" -"Gemini response details\n" -"\n" -": ${status-code}\n" -"\n" -": ${meta}\n" +"* Try visiting this page again later.\n" "\n" -"```\n" msgstr "" -#: src/Templates/InvalidResponse.vala:6 +#: src/Templates/ConnectionFailed.vala:7 msgid "" -"# Received an invalid response\n" +"# Failed to connect\n" "\n" "```\n" " Λ\n" "___/ \\___\n" -"‛𑑍 _ ⸲’ Received an invalid response ⁉️\n" +"‛𑑍 _ ⸲’ Failed to connect 🔌️\n" " /,” ‛⹁\\\n" "/’ ‛\\\n" "```\n" "\n" -"Received an invalid response from the server for the page ${uri}. This may " -"be caused by a bug on the server, or an unsuported feature in the Starfish " -"browser itself. To proceed you can:\n" +"Failed to connect to the page at ${uri}. This may be caused by issues with " +"your internet connection, page's domain or the server serging the page. To " +"proceed you can:\n" "\n" +"* Check your internet connection.\n" +"* Check that Starfish app has permission to access network.\n" +"* Check that domain ${domain} is correct.\n" "* Go back to the last visited page.\n" "* Try reloading this page now.\n" "* Try visiting this page later.\n" @@ -437,70 +128,86 @@ msgid "" "\n" "${error-message}\n" "\n" -"```\n" +"```\n" +msgstr "" + +#: src/Templates/FileAccessDenied.vala:5 +msgid "" +"# Access to file denied\n" +"\n" +"```\n" +" Λ\n" +"___/ \\___\n" +"‛𑑍 _ ⸲’ Permissions denied 🔐️\n" +" /,” ‛⹁\\\n" +"/’ ‛\\\n" +"```\n" +"\n" +"Starfish browser does not have the permissions to read the file ${path}. To " +"proceed you can:\n" +"\n" +"* Go back to the last visited page.\n" +"* Check if you have permissions to access the file.\n" +"* Check if Starfish app has permissions to access home and / or system " +"folders.\n" +"\n" msgstr "" -#: src/Templates/ConnectionFailed.vala:7 +#: src/Templates/Gone.vala:6 msgid "" -"# Failed to connect\n" +"# Gone\n" "\n" "```\n" " Λ\n" "___/ \\___\n" -"‛𑑍 _ ⸲’ Failed to connect 🔌️\n" +"‛𑑍 _ ⸲’ Gone 🗑️\n" " /,” ‛⹁\\\n" "/’ ‛\\\n" "```\n" "\n" -"Failed to connect to the page at ${uri}. This may be caused by issues with " -"your internet connection, page's domain or the server serging the page. To " -"proceed you can:\n" -"\n" -"* Check your internet connection.\n" -"* Check that Starfish app has permission to access network.\n" -"* Check that domain ${domain} is correct.\n" -"* Go back to the last visited page.\n" -"* Try reloading this page now.\n" -"* Try visiting this page later.\n" +"The page ${uri} used to exist but has since been repoved. It will never be " +"available again. To proceed you can go back to the last visited page.\n" "\n" "Technical details:\n" "\n" "```\n" "\n" -"Loacal error message\n" +"Gemini response details\n" "\n" -"${error-message}\n" +": 52\n" +"\n" +": ${meta}\n" "\n" "```\n" msgstr "" -#: src/Templates/SlowDown.vala:6 +#: src/Templates/InvalidResponse.vala:6 msgid "" -"# Too many requests\n" +"# Received an invalid response\n" "\n" "```\n" " Λ\n" "___/ \\___\n" -"‛𑑍 _ ⸲’ Slow down 🐢️\n" +"‛𑑍 _ ⸲’ Received an invalid response ⁉️\n" " /,” ‛⹁\\\n" "/’ ‛\\\n" "```\n" "\n" -"The page at ${uri} under too much load right now, it requested you wait a " -"little before making another request to it. To proceed you can:\n" +"Received an invalid response from the server for the page ${uri}. This may " +"be caused by a bug on the server, or an unsuported feature in the Starfish " +"browser itself. To proceed you can:\n" "\n" "* Go back to the last visited page.\n" -"* Try reloading this page again in ${seconds-to-wait} seconds.\n" +"* Try reloading this page now.\n" +"* Try visiting this page later.\n" "\n" "Technical details:\n" "\n" "```\n" "\n" -"Gemini response details\n" -"\n" -": 44\n" +"Loacal error message\n" "\n" -": ${seconds-to-wait}\n" +"${error-message}\n" "\n" "```\n" msgstr "" @@ -527,28 +234,6 @@ msgid "" "\n" msgstr "" -#: src/Templates/TooManyRedirects.vala:6 -msgid "" -"# Too many redirects\n" -"\n" -"```\n" -" Λ\n" -"___/ \\___\n" -"‛𑑍 _ ⸲’ Too many redirects 🏓️\n" -" /,” ‛⹁\\\n" -"/’ ‛\\\n" -"```\n" -"\n" -"The page at ${uri} is attempting to redirect you through many hoops. " -"Redirect will not be followed automatically to prevent loops. If you want " -"you can open it yourself:\n" -"\n" -"=> ${redirect-uri}\n" -"\n" -"Or you can go back to the last visited page.\n" -"\n" -msgstr "" - #: src/Templates/NotFound.vala:6 msgid "" "# Not found\n" @@ -581,20 +266,21 @@ msgid "" "```\n" msgstr "" -#: src/Templates/Gone.vala:6 +#: src/Templates/PermFailure.vala:7 msgid "" -"# Gone\n" +"# Permanent faliure\n" "\n" "```\n" " Λ\n" "___/ \\___\n" -"‛𑑍 _ ⸲’ Gone 🗑️\n" +"‛𑑍 _ ⸲’ Permanent faliure 💩️\n" " /,” ‛⹁\\\n" "/’ ‛\\\n" "```\n" "\n" -"The page ${uri} used to exist but has since been repoved. It will never be " -"available again. To proceed you can go back to the last visited page.\n" +"There was a temporary issue with loading the page at ${uri}. The issue is on " +"the server side. Reloading the same page in the future will not work. To " +"proceed you can go back to the last visited page.\n" "\n" "Technical details:\n" "\n" @@ -602,31 +288,30 @@ msgid "" "\n" "Gemini response details\n" "\n" -": 52\n" +": ${status-code}\n" "\n" ": ${meta}\n" "\n" "```\n" msgstr "" -#: src/Templates/BadRequest.vala:8 +#: src/Templates/SlowDown.vala:6 msgid "" -"# Bad request\n" +"# Too many requests\n" "\n" "```\n" " Λ\n" "___/ \\___\n" -"‛𑑍 _ ⸲’ Bad request 🗳️\n" +"‛𑑍 _ ⸲’ Slow down 🐢️\n" " /,” ‛⹁\\\n" "/’ ‛\\\n" "```\n" "\n" -"Gemini pod at ${domain} cannot process the request to load page at ${uri}. " -"This may be because of an invalid input value, or unsuported proxy feature " -"on the server. To proceed you can:\n" +"The page at ${uri} under too much load right now, it requested you wait a " +"little before making another request to it. To proceed you can:\n" "\n" "* Go back to the last visited page.\n" -"* In case you provided input check its value.\n" +"* Try reloading this page again in ${seconds-to-wait} seconds.\n" "\n" "Technical details:\n" "\n" @@ -634,321 +319,547 @@ msgid "" "\n" "Gemini response details\n" "\n" -": ${status-code}\n" +": 44\n" "\n" -": ${meta}\n" +": ${seconds-to-wait}\n" "\n" "```\n" msgstr "" -#: src/Templates/UnsuportedSchema.vala:6 +#: src/Templates/TempFailure.vala:7 msgid "" -"# Unsuported protocol\n" +"# Temporary faliure\n" "\n" "```\n" " Λ\n" "___/ \\___\n" -"‛𑑍 _ ⸲’ Unsuported protocol 🔮️\n" +"‛𑑍 _ ⸲’ Temporary faliure ⏳️\n" " /,” ‛⹁\\\n" "/’ ‛\\\n" "```\n" "\n" -"The page at ${uri} is served over ${protocol} protocol, which is not " -"supported and cannot be opened. To proceed you can go back to the last " -"visited page.\n" +"There was a temporary issue with loading the page at ${uri}. The issue is on " +"the server side. To proceed you can:\n" +"\n" +"* Go back to the last visited page.\n" +"* Try reloading this page now.\n" +"* Try visiting this page later.\n" "\n" +"Technical details:\n" +"\n" +"```\n" +"\n" +"Gemini response details\n" +"\n" +": ${status-code}\n" +"\n" +": ${meta}\n" +"\n" +"```\n" msgstr "" -#: src/Templates/PermFailure.vala:7 +#: src/Templates/TooManyRedirects.vala:6 msgid "" -"# Permanent faliure\n" +"# Too many redirects\n" "\n" "```\n" " Λ\n" "___/ \\___\n" -"‛𑑍 _ ⸲’ Permanent faliure 💩️\n" +"‛𑑍 _ ⸲’ Too many redirects 🏓️\n" " /,” ‛⹁\\\n" "/’ ‛\\\n" "```\n" "\n" -"There was a temporary issue with loading the page at ${uri}. The issue is on " -"the server side. Reloading the same page in the future will not work. To " -"proceed you can go back to the last visited page.\n" +"The page at ${uri} is attempting to redirect you through many hoops. " +"Redirect will not be followed automatically to prevent loops. If you want " +"you can open it yourself:\n" "\n" -"Technical details:\n" +"=> ${redirect-uri}\n" "\n" -"```\n" +"Or you can go back to the last visited page.\n" "\n" -"Gemini response details\n" +msgstr "" + +#: src/Templates/UnsuportedSchema.vala:6 +msgid "" +"# Unsuported protocol\n" "\n" -": ${status-code}\n" +"```\n" +" Λ\n" +"___/ \\___\n" +"‛𑑍 _ ⸲’ Unsuported protocol 🔮️\n" +" /,” ‛⹁\\\n" +"/’ ‛\\\n" +"```\n" "\n" -": ${meta}\n" +"The page at ${uri} is served over ${protocol} protocol, which is not " +"supported and cannot be opened. To proceed you can go back to the last " +"visited page.\n" "\n" -"```\n" msgstr "" -#: src/Templates/CertNotApplicable.vala:6 +#: src/UI/CertPopover.vala:56 +msgid "Server identity" +msgstr "" + +#: src/UI/CertPopover.vala:63 src/UI/CertPopover.vala:145 +msgid "Name" +msgstr "" + +#: src/UI/CertPopover.vala:63 +msgid "Server certificate is not applicable to the domain you are requesting." +msgstr "" + +#: src/UI/CertPopover.vala:64 +msgid "Country" +msgstr "" + +#: src/UI/CertPopover.vala:65 +msgid "Orgamization" +msgstr "" + +#: src/UI/CertPopover.vala:66 +msgid "Active from" +msgstr "" + +#: src/UI/CertPopover.vala:66 +msgid "Server certificate's activation date has not yet arrived." +msgstr "" + +#: src/UI/CertPopover.vala:67 +msgid "Expires at" +msgstr "" + +#: src/UI/CertPopover.vala:67 +msgid "Server certificate's expiration date has passed." +msgstr "" + +#: src/UI/CertPopover.vala:68 +msgid "Fingerprint" +msgstr "" + +#: src/UI/CertPopover.vala:70 src/UI/CertPopover.vala:163 +msgid "Show Details" +msgstr "" + +#: src/UI/CertPopover.vala:93 src/UI/CertPopover.vala:137 +msgid "Client identity" +msgstr "" + +#: src/UI/CertPopover.vala:102 +#, c-format +msgid "You have identities associated with other pages on the %s domain." +msgstr "" + +#: src/UI/CertPopover.vala:116 +msgid "Use Identity" +msgstr "" + +#: src/UI/CertPopover.vala:146 +msgid "Stop Using Identity" +msgstr "" + +#: src/UI/CertPopover.vala:189 +msgid "Your connection is insecure" +msgstr "" + +#: src/UI/CertPopover.vala:192 +#, c-format +msgid "Your connection to %s is insecure" +msgstr "" + +#: src/UI/CertPopover.vala:195 +#, c-format +msgid "Your connection to %s might be insecure" +msgstr "" + +#: src/UI/CertPopover.vala:198 +#, c-format +msgid "Your connection to %s is secure" +msgstr "" + +#: src/UI/CertPopover.vala:246 +msgid "Certificate details" +msgstr "" + +#: src/UI/CertPopover.vala:247 +#, c-format +msgid "Full details on the currently used %s certificate." +msgstr "" + +#: src/UI/CertPopover.vala:292 +msgid "Pick identity" +msgstr "" + +#: src/UI/CertPopover.vala:307 src/UI/ClientCertCreateDialog.vala:87 +#: src/UI/PageDownloadView.vala:159 +msgid "Cancel" +msgstr "" + +#: src/UI/ClientCertCreateDialog.vala:30 +msgid "Create identity" +msgstr "" + +#: src/UI/ClientCertCreateDialog.vala:32 +msgid "Certificate name" +msgstr "" + +#: src/UI/ClientCertCreateDialog.vala:47 msgid "" -"# Certificate is not applicable\n" -"\n" -"```\n" -" Λ\n" -"___/ \\___\n" -"‛𑑍 _ ⸲’ Certificate is not applicable 🎭️\n" -" /,” ‛⹁\\\n" -"/’ ‛\\\n" -"```\n" -"\n" -"The page at ${uri} provided a certificate that is not applicable to its own " -"domain ${host}. This is a mistake on the server's side and it will need to " -"be fixed there. To proceed you can:\n" -"\n" -"* Go back to the last visited page.\n" -"* Try visiting this page again later.\n" -"\n" +"It is a good practice to use different identity for each site. Give it a " +"name that reflects the site you are planning to use it with." msgstr "" -#: src/Templates/FileAccessDenied.vala:5 +#: src/UI/ClientCertCreateDialog.vala:59 +msgid "Use for" +msgstr "" + +#: src/UI/ClientCertCreateDialog.vala:66 +#, c-format +msgid "requests to pages under %s" +msgstr "" + +#: src/UI/ClientCertCreateDialog.vala:73 msgid "" -"# Access to file denied\n" -"\n" -"```\n" -" Λ\n" -"___/ \\___\n" -"‛𑑍 _ ⸲’ Permissions denied 🔐️\n" -" /,” ‛⹁\\\n" -"/’ ‛\\\n" -"```\n" -"\n" -"Starfish browser does not have the permissions to read the file ${path}. To " -"proceed you can:\n" -"\n" -"* Go back to the last visited page.\n" -"* Check if you have permissions to access the file.\n" -"* Check if Starfish app has permissions to access home and / or system " -"folders.\n" -"\n" +"While it is a good practice to present identity only to pages under this " +"one, some sites require it on all pages. Notable case of this is Station " +"capsule." msgstr "" -#: data/starfish.desktop.in:4 -msgid "Starfish Gemini browser" +#: src/UI/ClientCertCreateDialog.vala:78 +#, c-format +msgid "all requests to %s domain" msgstr "" -#: data/starfish.desktop.in:5 data/starfish.appdata.xml.in:8 -msgid "Surf the Geminispace" +#: src/UI/ClientCertCreateDialog.vala:88 +msgid "Create" msgstr "" -#: data/starfish.desktop.in:8 -msgid "hr.from.josipantolis.starfish" +#: src/UI/ClientCertCreateDialog.vala:98 +msgid "Please pick a name." msgstr "" -#: data/starfish.desktop.in:11 -msgid "gemini;browser;client;gemtext;geminispace;" +#: src/UI/ClientCertCreateDialog.vala:107 +#, c-format +msgid "Identity named %s already exists. Please pick a unique name." msgstr "" -#: data/starfish.appdata.xml.in:10 -msgid "" -"Browse Gemini sites on the small internet. Read blogs and fiction, enjoy " -"text without distractions, keep your browsing private." +#: src/UI/ClientCertCreateDialog.vala:144 +msgid "Failed to crete identity" msgstr "" -#: data/starfish.appdata.xml.in:11 +#: src/UI/ClientCertCreateDialog.vala:145 msgid "" -"Starfish is a beginner-friendly desktop client for Gemini protol. It " -"supports all core features of Gemini, such as beautiful rendering of text " -"based content and encrypted communication with servers. On top of those " -"Starfish offers comforts of modern browsers, like local browsing history, " -"tabs and favorites." +"Failed to create client certificate. To proceed you can retry creating " +"identity, or pick an existing one." msgstr "" -#: data/starfish.appdata.xml.in:16 -msgid "A smaller release with some housekeeping and a couple of bug fixes:" +#: src/UI/ClientCertListBox.vala:53 +msgid "Use" msgstr "" -#: data/starfish.appdata.xml.in:18 -msgid "" -"Deleting client certificates is fixed: you can now send them to trash, and " -"restore them from there if you change your mind." +#: src/UI/ClientCertListBox.vala:55 +#, c-format +msgid "Use %s identity for requests to pages under %s." msgstr "" -#: data/starfish.appdata.xml.in:19 -msgid "" -"The \"Show file\" button in the download page is renamed to \"Show Downloads" -"\" and now opens the Downloads directory." +#: src/UI/ClientCertListBox.vala:62 +msgid "Use For Domain" msgstr "" -#: data/starfish.appdata.xml.in:20 +#: src/UI/ClientCertListBox.vala:63 +#, c-format msgid "" -"Address bar now stretches to fill more horizontal space making longer Gemini " -"addresses readable." +"Use %s identity for all requests to %s domain. This might be required for " +"some gempods, such as station." msgstr "" -#: data/starfish.appdata.xml.in:21 -msgid "The app is updated to use the new elementary 6.1 runtime." +#: src/UI/ClientCertListBox.vala:74 +#, c-format +msgid "Show certificate and private key files for %s" msgstr "" -#: data/starfish.appdata.xml.in:27 -msgid "Input page received a series of improvements this time around:" +#: src/UI/ClientCertListBox.vala:91 +#, c-format +msgid "Stop using %s identity and send its files to trash" msgstr "" -#: data/starfish.appdata.xml.in:29 -msgid "" -"You can now input multiple lines, and fill them with all kinds of " -"characters, including emoji 😉️." +#: src/UI/GemtextSearchBar.vala:36 +msgid "Find next occurrence" msgstr "" -#: data/starfish.appdata.xml.in:30 -msgid "" -"The input text is spell-checked and its size is validated against the limits " -"of Gemini protocol." +#: src/UI/GemtextSearchBar.vala:43 +msgid "Find previous occurrence" msgstr "" -#: data/starfish.appdata.xml.in:31 -msgid "" -"There is an obvious distinction between posting input anonymously and with a " -"client identity." +#: src/UI/GemtextSearchBar.vala:55 src/UI/GemtextSearchBar.vala:60 +msgid "Case insensitive" msgstr "" -#: data/starfish.appdata.xml.in:33 -msgid "In addition to new features, there are a few smaller fixes:" +#: src/UI/GemtextSearchBar.vala:60 +msgid "Case sensitive" msgstr "" -#: data/starfish.appdata.xml.in:35 -msgid "Text alignment in gemtext pages is improved." +#: src/UI/GemtextView.vala:268 +msgid "Preformatted text without description." msgstr "" -#: data/starfish.appdata.xml.in:36 -msgid "Consistent styling is applied on all Linux distributions." +#: src/UI/GemtextView.vala:400 +msgid "Open link" msgstr "" -#: data/starfish.appdata.xml.in:37 -msgid "" -"Intermittent issues with loading pages served by the gmnisrv server are " -"fixed." +#: src/UI/GemtextView.vala:412 +msgid "Open link in a new tab" msgstr "" -#: data/starfish.appdata.xml.in:43 -msgid "This update is all about making gemtext more beautiful and functional:" +#: src/UI/GemtextView.vala:430 +msgid "Copy link" msgstr "" -#: data/starfish.appdata.xml.in:45 -msgid "Links style now matches your OS-level accent color." +#: src/UI/GemtextView.vala:437 +msgid "Copy description" msgstr "" -#: data/starfish.appdata.xml.in:46 -msgid "You can see where a link leads without opening it." +#: src/UI/HeaderBar.vala:81 src/UI/HeaderBar.vala:154 +msgid "Reload" msgstr "" -#: data/starfish.appdata.xml.in:47 -msgid "" -"A table of contents makes navigating to a specific heading on a gemtext page " -"easy." +#: src/UI/HeaderBar.vala:83 src/UI/PageCertErrorView.vala:49 +msgid "Go back" msgstr "" -#: data/starfish.appdata.xml.in:48 -msgid "" -"A text search of gemtext pages helps you quickly find any term you are " -"looking for." +#: src/UI/HeaderBar.vala:84 +msgid "Go forward" msgstr "" -#: data/starfish.appdata.xml.in:54 -msgid "A smaller release with two improvements:" +#: src/UI/HeaderBar.vala:85 +msgid "Go up" msgstr "" -#: data/starfish.appdata.xml.in:56 -msgid "" -"A redesigned app icon now fits better with the rest of your system and " -"remains sharp at lower resolutions." +#: src/UI/HeaderBar.vala:86 +msgid "Go to root" msgstr "" -#: data/starfish.appdata.xml.in:57 -msgid "" -"There's no longer a danger of overriding an existing client certificate when " -"creating a new one." +#: src/UI/HeaderBar.vala:87 +msgid "Go home" msgstr "" -#: data/starfish.appdata.xml.in:63 -msgid "This release focuses on improving certificate handling. In particular:" +#: src/UI/HeaderBar.vala:89 +msgid "Open bookmarks" msgstr "" -#: data/starfish.appdata.xml.in:65 -msgid "" -"Information about server certificates is now prominently shown in the " -"address bar, similar to how other web browsers are usually doing it." +#: src/UI/HeaderBar.vala:163 +msgid "Stop" msgstr "" -#: data/starfish.appdata.xml.in:66 -msgid "" -"Client certificates are now fully supported. This allows you access to sites " -"that require user identification, like Astrobotany or Station." +#: src/UI/HeaderBar.vala:193 +msgid "Check identity" msgstr "" -#: data/starfish.appdata.xml.in:72 -msgid "Initial release, bringing you features such as:" +#: src/UI/HeaderBar.vala:197 src/UI/HeaderBar.vala:219 +#: src/UI/HeaderBar.vala:239 +msgid "Bookmark this page" msgstr "" -#: data/starfish.appdata.xml.in:74 -msgid "" -"Beautiful rendering of gemtext content, both served over the network via " -"Gemini protocol and read from local files." +#: src/UI/HeaderBar.vala:223 src/UI/HeaderBar.vala:236 +msgid "Remove this page rom bookmarks" msgstr "" -#: data/starfish.appdata.xml.in:75 -msgid "" -"In-app rendering of images and a download option for other file types that " -"you might encounter in the Geminispace." +#: src/UI/HeaderBar.vala:244 +msgid "Zoom out" msgstr "" -#: data/starfish.appdata.xml.in:76 -msgid "" -"A gentle introduction to Gemini, with pointers on how to get around and " -"discover more content." +#: src/UI/HeaderBar.vala:245 +msgid "Zoom in" +msgstr "" + +#: src/UI/HeaderBar.vala:250 +msgid "Reset zoom level" +msgstr "" + +#: src/UI/HeaderBar.vala:268 src/UI/PreferencesDialog.vala:10 +msgid "Preferences" +msgstr "" + +#: src/UI/HeaderBar.vala:273 +msgid "Introduction to Gemini" +msgstr "" + +#: src/UI/HeaderBar.vala:303 +msgid "Menu" +msgstr "" + +#: src/UI/HeaderBar.vala:328 +msgid "Find..." +msgstr "" + +#: src/UI/InputView.vala:27 +msgid "Input" msgstr "" -#: data/starfish.appdata.xml.in:77 +#: src/UI/InputView.vala:74 msgid "" -"Stuff you'd normally expect from a browser, like tabs, favorites, history-" -"based navigation, etc." +"Because of the way input is defined in Gemini a single character you type " +"might take up more than one space." +msgstr "" + +#: src/UI/InputView.vala:93 src/UI/InputView.vala:200 +msgid "Send" +msgstr "" + +#: src/UI/InputView.vala:124 +msgid "Please provide input." msgstr "" -#: data/starfish.appdata.xml.in:87 -msgid "Josip Antoliš" +#: src/UI/InputView.vala:150 +msgid "Please provide some input." +msgstr "" + +#: src/UI/InputView.vala:152 +msgid "Input size exceeds maximum size. Please shorten your input." +msgstr "" + +#: src/UI/InputView.vala:166 +#, c-format +msgid "Total input size: %d/%d" +msgstr "" + +#: src/UI/InputView.vala:190 +msgid "Send with identity" msgstr "" -#: data/starfish.appdata.xml.in:93 +#: src/UI/InputView.vala:191 +#, c-format msgid "" -"Gemini pages are displayed with your chosen accent color and light or dark " -"style" +"You are currently using your %s identity. The page at %s may associate the " +"input you provide with this identity." +msgstr "" + +#: src/UI/InputView.vala:191 +msgid "unnamed" msgstr "" -#: data/starfish.appdata.xml.in:97 +#: src/UI/PageCertErrorView.vala:39 msgid "" -"gentle introduction to Gemini is provided to help you find your bearings" +"Received an invalid " +"certificate" msgstr "" -#: data/starfish.appdata.xml.in:101 +#: src/UI/PageCertErrorView.vala:74 +#, c-format msgid "" -"page search and table of contents help you navigate larger gemtext pages" +"Certificate for %s appears to be invalid. To proceed you can:" +msgstr "" + +#: src/UI/PageCertErrorView.vala:77 +msgid "Trust the new certificate" msgstr "" -#: data/starfish.appdata.xml.in:105 +#: src/UI/PageCertErrorView.vala:82 +#, c-format msgid "" -"connection to Gemini sites is secured by both server and client certificates" +"Certificate for %s has changed since last time you wisited it. To " +"proceed you can:" +msgstr "" + +#: src/UI/PageClientCertPickerView.vala:36 +msgid "Client identification required" msgstr "" -#: data/starfish.appdata.xml.in:109 +#: src/UI/PageClientCertPickerView.vala:45 +#, c-format msgid "" -"using multiple client certificates you can create as many online identities " -"as you wish" +" The page at %s requires you to use a client certificate to identify " +"yourself. This is usually reuired in order for the pod to show you some " +"personalized content. For example by using the same certificate as last time " +"you accessed this pod you may be able to pick up where you left off or your " +"saved prefferences may be applied. Alternativelly, if you want to present a " +"new identity to the server you can generate and use a new client certifcate." +msgstr "" + +#: src/UI/PageClientCertPickerView.vala:63 +msgid "Create New Identity" +msgstr "" + +#: src/UI/PageDownloadView.vala:58 +msgid "Go Back" +msgstr "" + +#: src/UI/PageDownloadView.vala:68 src/UI/PageDownloadView.vala:158 +msgid "Download" +msgstr "" + +#: src/UI/PageDownloadView.vala:75 +msgid "Downloading..." +msgstr "" + +#: src/UI/PageDownloadView.vala:85 +msgid "Download aborted." +msgstr "" + +#: src/UI/PageDownloadView.vala:90 +msgid "Retry" +msgstr "" + +#: src/UI/PageDownloadView.vala:96 src/UI/PageDownloadView.vala:196 +msgid "Download finished!" msgstr "" -#: data/starfish.appdata.xml.in:113 -msgid "images, in addition to gemtext pages, are displayed inside the app" +#: src/UI/PageDownloadView.vala:148 +#, c-format +msgid "Cannot display %s" msgstr "" -#: data/starfish.appdata.xml.in:117 +#: src/UI/PageDownloadView.vala:149 +#, c-format msgid "" -"Gemini pages can be displayed using the dyslexia friendly font and varying " -"text size" +"Starfish does not support %s content.\n" +"Do you want to download %s instead?" +msgstr "" + +#: src/UI/PageDownloadView.vala:155 +msgid "Save file" +msgstr "" + +#: src/UI/PageDownloadView.vala:197 +#, c-format +msgid "Finished downloading %s." +msgstr "" + +#: src/UI/PreferencesDialog.vala:21 +msgid "Home" +msgstr "" + +#: src/UI/PreferencesDialog.vala:22 src/UI/PreferencesDialog.vala:23 +msgid "Homepage URL" +msgstr "" + +#: src/UI/PreferencesDialog.vala:47 +msgid "Please provide a link to a gemini site." +msgstr "" + +#: src/UI/PreferencesDialog.vala:54 +msgid "Please define a domain." +msgstr "" + +#: src/UI/PreferencesDialog.vala:61 +#, c-format +msgid "Could not resolve domain %s." +msgstr "" + +#: src/UI/PreferencesDialog.vala:68 +#, c-format +msgid "Could not parse the link. Error: %s" +msgstr "" + +#: src/UI/PreferencesDialog.vala:82 +msgid "Close" +msgstr "" + +#: src/UI/TableOfContent.vala:12 +msgid "Table of contents" +msgstr "" + +#: src/UI/Window.vala:74 +msgid "Starfish" msgstr "" diff --git a/po/hr.po b/po/hr.po deleted file mode 100644 index 4e1d27a..0000000 --- a/po/hr.po +++ /dev/null @@ -1,955 +0,0 @@ -# Croatian translations for hr.from.josipantolis.starfish package. -# Copyright (C) 2021 THE hr.from.josipantolis.starfish'S COPYRIGHT HOLDER -# This file is distributed under the same license as the hr.from.josipantolis.starfish package. -# Automatically generated, 2021. -# -msgid "" -msgstr "" -"Project-Id-Version: hr.from.josipantolis.starfish\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-12-18 21:37+0100\n" -"PO-Revision-Date: 2021-08-15 02:42+0200\n" -"Last-Translator: Automatically generated\n" -"Language-Team: none\n" -"Language: hr\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n" -"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" - -#: src/UI/Window.vala:74 data/starfish.desktop.in:3 -#: data/starfish.appdata.xml.in:7 -msgid "Starfish" -msgstr "" - -#: src/UI/HeaderBar.vala:81 src/UI/HeaderBar.vala:154 -msgid "Reload" -msgstr "" - -#: src/UI/HeaderBar.vala:83 src/UI/PageCertErrorView.vala:49 -msgid "Go back" -msgstr "" - -#: src/UI/HeaderBar.vala:84 -msgid "Go forward" -msgstr "" - -#: src/UI/HeaderBar.vala:85 -msgid "Go up" -msgstr "" - -#: src/UI/HeaderBar.vala:86 -msgid "Go to root" -msgstr "" - -#: src/UI/HeaderBar.vala:87 -msgid "Go home" -msgstr "" - -#: src/UI/HeaderBar.vala:89 -msgid "Open bookmarks" -msgstr "" - -#: src/UI/HeaderBar.vala:163 -msgid "Stop" -msgstr "" - -#: src/UI/HeaderBar.vala:193 -msgid "Check identity" -msgstr "" - -#: src/UI/HeaderBar.vala:197 src/UI/HeaderBar.vala:219 -#: src/UI/HeaderBar.vala:239 -msgid "Bookmark this page" -msgstr "" - -#: src/UI/HeaderBar.vala:223 src/UI/HeaderBar.vala:236 -msgid "Remove this page rom bookmarks" -msgstr "" - -#: src/UI/HeaderBar.vala:244 -msgid "Zoom out" -msgstr "" - -#: src/UI/HeaderBar.vala:245 -msgid "Zoom in" -msgstr "" - -#: src/UI/HeaderBar.vala:250 -msgid "Reset zoom level" -msgstr "" - -#: src/UI/HeaderBar.vala:268 src/UI/PreferencesDialog.vala:10 -msgid "Preferences" -msgstr "" - -#: src/UI/HeaderBar.vala:273 -msgid "Introduction to Gemini" -msgstr "" - -#: src/UI/HeaderBar.vala:303 -msgid "Menu" -msgstr "" - -#: src/UI/HeaderBar.vala:328 -msgid "Find..." -msgstr "" - -#: src/UI/CertPopover.vala:56 -msgid "Server identity" -msgstr "" - -#: src/UI/CertPopover.vala:63 src/UI/CertPopover.vala:145 -msgid "Name" -msgstr "" - -#: src/UI/CertPopover.vala:63 -msgid "Server certificate is not applicable to the domain you are requesting." -msgstr "" - -#: src/UI/CertPopover.vala:64 -msgid "Country" -msgstr "" - -#: src/UI/CertPopover.vala:65 -msgid "Orgamization" -msgstr "" - -#: src/UI/CertPopover.vala:66 -msgid "Active from" -msgstr "" - -#: src/UI/CertPopover.vala:66 -msgid "Server certificate's activation date has not yet arrived." -msgstr "" - -#: src/UI/CertPopover.vala:67 -msgid "Expires at" -msgstr "" - -#: src/UI/CertPopover.vala:67 -msgid "Server certificate's expiration date has passed." -msgstr "" - -#: src/UI/CertPopover.vala:68 -msgid "Fingerprint" -msgstr "" - -#: src/UI/CertPopover.vala:70 src/UI/CertPopover.vala:163 -msgid "Show Details" -msgstr "" - -#: src/UI/CertPopover.vala:93 src/UI/CertPopover.vala:137 -msgid "Client identity" -msgstr "" - -#: src/UI/CertPopover.vala:102 -#, c-format -msgid "You have identities associated with other pages on the %s domain." -msgstr "" - -#: src/UI/CertPopover.vala:116 -msgid "Use Identity" -msgstr "" - -#: src/UI/CertPopover.vala:146 -msgid "Stop Using Identity" -msgstr "" - -#: src/UI/CertPopover.vala:189 -msgid "Your connection is insecure" -msgstr "" - -#: src/UI/CertPopover.vala:192 -#, c-format -msgid "Your connection to %s is insecure" -msgstr "" - -#: src/UI/CertPopover.vala:195 -#, c-format -msgid "Your connection to %s might be insecure" -msgstr "" - -#: src/UI/CertPopover.vala:198 -#, c-format -msgid "Your connection to %s is secure" -msgstr "" - -#: src/UI/CertPopover.vala:246 -msgid "Certificate details" -msgstr "" - -#: src/UI/CertPopover.vala:247 -#, c-format -msgid "Full details on the currently used %s certificate." -msgstr "" - -#: src/UI/CertPopover.vala:292 -msgid "Pick identity" -msgstr "" - -#: src/UI/CertPopover.vala:307 src/UI/PageDownloadView.vala:159 -msgid "Cancel" -msgstr "" - -#: src/UI/PreferencesDialog.vala:21 -msgid "Home" -msgstr "" - -#: src/UI/PreferencesDialog.vala:22 src/UI/PreferencesDialog.vala:23 -msgid "Homepage URL" -msgstr "" - -#: src/UI/PreferencesDialog.vala:47 -msgid "Please provide a link to a gemini site." -msgstr "" - -#: src/UI/PreferencesDialog.vala:54 -msgid "Please define a domain." -msgstr "" - -#: src/UI/PreferencesDialog.vala:61 -#, c-format -msgid "Could not resolve domain %s." -msgstr "" - -#: src/UI/PreferencesDialog.vala:68 -#, c-format -msgid "Could not parse the link. Error: %s" -msgstr "" - -#: src/UI/PreferencesDialog.vala:82 -msgid "Close" -msgstr "" - -#: src/UI/InputView.vala:27 -msgid "Input" -msgstr "" - -#: src/UI/InputView.vala:74 -msgid "" -"Because of the way input is defined in Gemini a single character you type " -"might take up more than one space." -msgstr "" - -#: src/UI/InputView.vala:93 src/UI/InputView.vala:200 -msgid "Send" -msgstr "" - -#: src/UI/InputView.vala:124 -msgid "Please provide input." -msgstr "" - -#: src/UI/InputView.vala:150 -msgid "Please provide some input." -msgstr "" - -#: src/UI/InputView.vala:152 -msgid "Input size exceeds maximum size. Please shorten your input." -msgstr "" - -#: src/UI/InputView.vala:166 -#, c-format -msgid "Total input size: %d/%d" -msgstr "" - -#: src/UI/InputView.vala:190 -msgid "Send with identity" -msgstr "" - -#: src/UI/InputView.vala:191 -#, c-format -msgid "" -"You are currently using your %s identity. The page at %s may associate the " -"input you provide with this identity." -msgstr "" - -#: src/UI/InputView.vala:191 -msgid "unnamed" -msgstr "" - -#: src/UI/PageCertErrorView.vala:39 -msgid "" -"Received an invalid " -"certificate" -msgstr "" - -#: src/UI/PageCertErrorView.vala:74 -#, c-format -msgid "" -"Certificate for %s appears to be invalid. To proceed you can:" -msgstr "" - -#: src/UI/PageCertErrorView.vala:77 -msgid "Trust the new certificate" -msgstr "" - -#: src/UI/PageCertErrorView.vala:82 -#, c-format -msgid "" -"Certificate for %s has changed since last time you wisited it. To " -"proceed you can:" -msgstr "" - -#: src/UI/PageClientCertPickerView.vala:36 -msgid "Client identification required" -msgstr "" - -#: src/UI/PageClientCertPickerView.vala:45 -#, c-format -msgid "" -" The page at %s requires you to use a client certificate to identify " -"yourself. This is usually reuired in order for the pod to show you some " -"personalized content. For example by using the same certificate as last time " -"you accessed this pod you may be able to pick up where you left off or your " -"saved prefferences may be applied. Alternativelly, if you want to present a " -"new identity to the server you can generate and use a new client certifcate." -msgstr "" - -#: src/UI/PageClientCertPickerView.vala:63 -msgid "Create New Identity" -msgstr "" - -#: src/UI/PageDownloadView.vala:58 -msgid "Go Back" -msgstr "" - -#: src/UI/PageDownloadView.vala:68 src/UI/PageDownloadView.vala:158 -msgid "Download" -msgstr "" - -#: src/UI/PageDownloadView.vala:75 -msgid "Downloading..." -msgstr "" - -#: src/UI/PageDownloadView.vala:85 -msgid "Download aborted." -msgstr "" - -#: src/UI/PageDownloadView.vala:90 -msgid "Retry" -msgstr "" - -#: src/UI/PageDownloadView.vala:96 src/UI/PageDownloadView.vala:196 -msgid "Download finished!" -msgstr "" - -#: src/UI/PageDownloadView.vala:148 -#, c-format -msgid "Cannot display %s" -msgstr "" - -#: src/UI/PageDownloadView.vala:149 -#, c-format -msgid "" -"Starfish does not support %s content.\n" -"Do you want to download %s instead?" -msgstr "" - -#: src/UI/PageDownloadView.vala:155 -msgid "Save file" -msgstr "" - -#: src/UI/PageDownloadView.vala:197 -#, c-format -msgid "Finished downloading %s." -msgstr "" - -#: src/Templates/Bookmarks.vala:5 -msgid "" -"# Bookmarks\n" -"\n" -"These are links to Gemini pages bookmarked from the Starfish browser. You " -"can add or remove links from the Starfish app or by editing this page " -"manually. You can find this file at:\n" -"\n" -"=> file://${parent-directory}\n" -"\n" -"Some usefull links (feel free to remove these):\n" -"\n" -"=> gemini://gemini.circumlunar.space/capcom/ CAPCOM, an agregator of Gemini " -"content\n" -"\n" -"=> gemini://geminispace.info/ Geminispace.info, a search engine\n" -"\n" -"=> gemini://josipantolis.from.hr/starfish/ Starfish project's home page\n" -"\n" -"Your bookmarks:\n" -msgstr "" - -#: src/Templates/TempFailure.vala:7 -msgid "" -"# Temporary faliure\n" -"\n" -"```\n" -" Λ\n" -"___/ \\___\n" -"‛𑑍 _ ⸲’ Temporary faliure ⏳️\n" -" /,” ‛⹁\\\n" -"/’ ‛\\\n" -"```\n" -"\n" -"There was a temporary issue with loading the page at ${uri}. The issue is on " -"the server side. To proceed you can:\n" -"\n" -"* Go back to the last visited page.\n" -"* Try reloading this page now.\n" -"* Try visiting this page later.\n" -"\n" -"Technical details:\n" -"\n" -"```\n" -"\n" -"Gemini response details\n" -"\n" -": ${status-code}\n" -"\n" -": ${meta}\n" -"\n" -"```\n" -msgstr "" - -#: src/Templates/InvalidResponse.vala:6 -msgid "" -"# Received an invalid response\n" -"\n" -"```\n" -" Λ\n" -"___/ \\___\n" -"‛𑑍 _ ⸲’ Received an invalid response ⁉️\n" -" /,” ‛⹁\\\n" -"/’ ‛\\\n" -"```\n" -"\n" -"Received an invalid response from the server for the page ${uri}. This may " -"be caused by a bug on the server, or an unsuported feature in the Starfish " -"browser itself. To proceed you can:\n" -"\n" -"* Go back to the last visited page.\n" -"* Try reloading this page now.\n" -"* Try visiting this page later.\n" -"\n" -"Technical details:\n" -"\n" -"```\n" -"\n" -"Loacal error message\n" -"\n" -"${error-message}\n" -"\n" -"```\n" -msgstr "" - -#: src/Templates/ConnectionFailed.vala:7 -msgid "" -"# Failed to connect\n" -"\n" -"```\n" -" Λ\n" -"___/ \\___\n" -"‛𑑍 _ ⸲’ Failed to connect 🔌️\n" -" /,” ‛⹁\\\n" -"/’ ‛\\\n" -"```\n" -"\n" -"Failed to connect to the page at ${uri}. This may be caused by issues with " -"your internet connection, page's domain or the server serging the page. To " -"proceed you can:\n" -"\n" -"* Check your internet connection.\n" -"* Check that Starfish app has permission to access network.\n" -"* Check that domain ${domain} is correct.\n" -"* Go back to the last visited page.\n" -"* Try reloading this page now.\n" -"* Try visiting this page later.\n" -"\n" -"Technical details:\n" -"\n" -"```\n" -"\n" -"Loacal error message\n" -"\n" -"${error-message}\n" -"\n" -"```\n" -msgstr "" - -#: src/Templates/SlowDown.vala:6 -msgid "" -"# Too many requests\n" -"\n" -"```\n" -" Λ\n" -"___/ \\___\n" -"‛𑑍 _ ⸲’ Slow down 🐢️\n" -" /,” ‛⹁\\\n" -"/’ ‛\\\n" -"```\n" -"\n" -"The page at ${uri} under too much load right now, it requested you wait a " -"little before making another request to it. To proceed you can:\n" -"\n" -"* Go back to the last visited page.\n" -"* Try reloading this page again in ${seconds-to-wait} seconds.\n" -"\n" -"Technical details:\n" -"\n" -"```\n" -"\n" -"Gemini response details\n" -"\n" -": 44\n" -"\n" -": ${seconds-to-wait}\n" -"\n" -"```\n" -msgstr "" - -#: src/Templates/NonGeminiRedirect.vala:7 -msgid "" -"# Non Gemini redirect\n" -"\n" -"```\n" -" Λ\n" -"___/ \\___\n" -"‛𑑍 _ ⸲’ Non Gemini redirect 🌐️\n" -" /,” ‛⹁\\\n" -"/’ ‛\\\n" -"```\n" -"\n" -"The page at ${uri} is attempting to automatically redirect you to a page " -"served over ${redirect-protocol}, which will not open automatically. If you " -"want you can open it yourself:\n" -"\n" -"=> ${redirect-uri}\n" -"\n" -"Or you can go back to the last visited page.\n" -"\n" -msgstr "" - -#: src/Templates/TooManyRedirects.vala:6 -msgid "" -"# Too many redirects\n" -"\n" -"```\n" -" Λ\n" -"___/ \\___\n" -"‛𑑍 _ ⸲’ Too many redirects 🏓️\n" -" /,” ‛⹁\\\n" -"/’ ‛\\\n" -"```\n" -"\n" -"The page at ${uri} is attempting to redirect you through many hoops. " -"Redirect will not be followed automatically to prevent loops. If you want " -"you can open it yourself:\n" -"\n" -"=> ${redirect-uri}\n" -"\n" -"Or you can go back to the last visited page.\n" -"\n" -msgstr "" - -#: src/Templates/NotFound.vala:6 -msgid "" -"# Not found\n" -"\n" -"```\n" -" Λ\n" -"___/ \\___\n" -"‛𑑍 _ ⸲’ Not found 👽️\n" -" /,” ‛⹁\\\n" -"/’ ‛\\\n" -"```\n" -"\n" -"The page ${uri} wasn't found. It doesn't exist yet, but may be created in " -"the future. For now you can:\n" -"\n" -"* Go back to the last visited page.\n" -"* Check if page URL is spelled correctly.\n" -"* Try visiting this page again later.\n" -"\n" -"Technical details:\n" -"\n" -"```\n" -"\n" -"Gemini response details\n" -"\n" -": 51\n" -"\n" -": ${meta}\n" -"\n" -"```\n" -msgstr "" - -#: src/Templates/Gone.vala:6 -msgid "" -"# Gone\n" -"\n" -"```\n" -" Λ\n" -"___/ \\___\n" -"‛𑑍 _ ⸲’ Gone 🗑️\n" -" /,” ‛⹁\\\n" -"/’ ‛\\\n" -"```\n" -"\n" -"The page ${uri} used to exist but has since been repoved. It will never be " -"available again. To proceed you can go back to the last visited page.\n" -"\n" -"Technical details:\n" -"\n" -"```\n" -"\n" -"Gemini response details\n" -"\n" -": 52\n" -"\n" -": ${meta}\n" -"\n" -"```\n" -msgstr "" - -#: src/Templates/BadRequest.vala:8 -msgid "" -"# Bad request\n" -"\n" -"```\n" -" Λ\n" -"___/ \\___\n" -"‛𑑍 _ ⸲’ Bad request 🗳️\n" -" /,” ‛⹁\\\n" -"/’ ‛\\\n" -"```\n" -"\n" -"Gemini pod at ${domain} cannot process the request to load page at ${uri}. " -"This may be because of an invalid input value, or unsuported proxy feature " -"on the server. To proceed you can:\n" -"\n" -"* Go back to the last visited page.\n" -"* In case you provided input check its value.\n" -"\n" -"Technical details:\n" -"\n" -"```\n" -"\n" -"Gemini response details\n" -"\n" -": ${status-code}\n" -"\n" -": ${meta}\n" -"\n" -"```\n" -msgstr "" - -#: src/Templates/UnsuportedSchema.vala:6 -msgid "" -"# Unsuported protocol\n" -"\n" -"```\n" -" Λ\n" -"___/ \\___\n" -"‛𑑍 _ ⸲’ Unsuported protocol 🔮️\n" -" /,” ‛⹁\\\n" -"/’ ‛\\\n" -"```\n" -"\n" -"The page at ${uri} is served over ${protocol} protocol, which is not " -"supported and cannot be opened. To proceed you can go back to the last " -"visited page.\n" -"\n" -msgstr "" - -#: src/Templates/PermFailure.vala:7 -msgid "" -"# Permanent faliure\n" -"\n" -"```\n" -" Λ\n" -"___/ \\___\n" -"‛𑑍 _ ⸲’ Permanent faliure 💩️\n" -" /,” ‛⹁\\\n" -"/’ ‛\\\n" -"```\n" -"\n" -"There was a temporary issue with loading the page at ${uri}. The issue is on " -"the server side. Reloading the same page in the future will not work. To " -"proceed you can go back to the last visited page.\n" -"\n" -"Technical details:\n" -"\n" -"```\n" -"\n" -"Gemini response details\n" -"\n" -": ${status-code}\n" -"\n" -": ${meta}\n" -"\n" -"```\n" -msgstr "" - -#: src/Templates/CertNotApplicable.vala:6 -msgid "" -"# Certificate is not applicable\n" -"\n" -"```\n" -" Λ\n" -"___/ \\___\n" -"‛𑑍 _ ⸲’ Certificate is not applicable 🎭️\n" -" /,” ‛⹁\\\n" -"/’ ‛\\\n" -"```\n" -"\n" -"The page at ${uri} provided a certificate that is not applicable to its own " -"domain ${host}. This is a mistake on the server's side and it will need to " -"be fixed there. To proceed you can:\n" -"\n" -"* Go back to the last visited page.\n" -"* Try visiting this page again later.\n" -"\n" -msgstr "" - -#: src/Templates/FileAccessDenied.vala:5 -msgid "" -"# Access to file denied\n" -"\n" -"```\n" -" Λ\n" -"___/ \\___\n" -"‛𑑍 _ ⸲’ Permissions denied 🔐️\n" -" /,” ‛⹁\\\n" -"/’ ‛\\\n" -"```\n" -"\n" -"Starfish browser does not have the permissions to read the file ${path}. To " -"proceed you can:\n" -"\n" -"* Go back to the last visited page.\n" -"* Check if you have permissions to access the file.\n" -"* Check if Starfish app has permissions to access home and / or system " -"folders.\n" -"\n" -msgstr "" - -#: data/starfish.desktop.in:4 -msgid "Starfish Gemini browser" -msgstr "" - -#: data/starfish.desktop.in:5 data/starfish.appdata.xml.in:8 -msgid "Surf the Geminispace" -msgstr "" - -#: data/starfish.desktop.in:8 -msgid "hr.from.josipantolis.starfish" -msgstr "" - -#: data/starfish.desktop.in:11 -msgid "gemini;browser;client;gemtext;geminispace;" -msgstr "" - -#: data/starfish.appdata.xml.in:10 -msgid "" -"Browse Gemini sites on the small internet. Read blogs and fiction, enjoy " -"text without distractions, keep your browsing private." -msgstr "" - -#: data/starfish.appdata.xml.in:11 -msgid "" -"Starfish is a beginner-friendly desktop client for Gemini protol. It " -"supports all core features of Gemini, such as beautiful rendering of text " -"based content and encrypted communication with servers. On top of those " -"Starfish offers comforts of modern browsers, like local browsing history, " -"tabs and favorites." -msgstr "" - -#: data/starfish.appdata.xml.in:16 -msgid "A smaller release with some housekeeping and a couple of bug fixes:" -msgstr "" - -#: data/starfish.appdata.xml.in:18 -msgid "" -"Deleting client certificates is fixed: you can now send them to trash, and " -"restore them from there if you change your mind." -msgstr "" - -#: data/starfish.appdata.xml.in:19 -msgid "" -"The \"Show file\" button in the download page is renamed to \"Show Downloads" -"\" and now opens the Downloads directory." -msgstr "" - -#: data/starfish.appdata.xml.in:20 -msgid "" -"Address bar now stretches to fill more horizontal space making longer Gemini " -"addresses readable." -msgstr "" - -#: data/starfish.appdata.xml.in:21 -msgid "The app is updated to use the new elementary 6.1 runtime." -msgstr "" - -#: data/starfish.appdata.xml.in:27 -msgid "Input page received a series of improvements this time around:" -msgstr "" - -#: data/starfish.appdata.xml.in:29 -msgid "" -"You can now input multiple lines, and fill them with all kinds of " -"characters, including emoji 😉️." -msgstr "" - -#: data/starfish.appdata.xml.in:30 -msgid "" -"The input text is spell-checked and its size is validated against the limits " -"of Gemini protocol." -msgstr "" - -#: data/starfish.appdata.xml.in:31 -msgid "" -"There is an obvious distinction between posting input anonymously and with a " -"client identity." -msgstr "" - -#: data/starfish.appdata.xml.in:33 -msgid "In addition to new features, there are a few smaller fixes:" -msgstr "" - -#: data/starfish.appdata.xml.in:35 -msgid "Text alignment in gemtext pages is improved." -msgstr "" - -#: data/starfish.appdata.xml.in:36 -msgid "Consistent styling is applied on all Linux distributions." -msgstr "" - -#: data/starfish.appdata.xml.in:37 -msgid "" -"Intermittent issues with loading pages served by the gmnisrv server are " -"fixed." -msgstr "" - -#: data/starfish.appdata.xml.in:43 -msgid "This update is all about making gemtext more beautiful and functional:" -msgstr "" - -#: data/starfish.appdata.xml.in:45 -msgid "Links style now matches your OS-level accent color." -msgstr "" - -#: data/starfish.appdata.xml.in:46 -msgid "You can see where a link leads without opening it." -msgstr "" - -#: data/starfish.appdata.xml.in:47 -msgid "" -"A table of contents makes navigating to a specific heading on a gemtext page " -"easy." -msgstr "" - -#: data/starfish.appdata.xml.in:48 -msgid "" -"A text search of gemtext pages helps you quickly find any term you are " -"looking for." -msgstr "" - -#: data/starfish.appdata.xml.in:54 -msgid "A smaller release with two improvements:" -msgstr "" - -#: data/starfish.appdata.xml.in:56 -msgid "" -"A redesigned app icon now fits better with the rest of your system and " -"remains sharp at lower resolutions." -msgstr "" - -#: data/starfish.appdata.xml.in:57 -msgid "" -"There's no longer a danger of overriding an existing client certificate when " -"creating a new one." -msgstr "" - -#: data/starfish.appdata.xml.in:63 -msgid "This release focuses on improving certificate handling. In particular:" -msgstr "" - -#: data/starfish.appdata.xml.in:65 -msgid "" -"Information about server certificates is now prominently shown in the " -"address bar, similar to how other web browsers are usually doing it." -msgstr "" - -#: data/starfish.appdata.xml.in:66 -msgid "" -"Client certificates are now fully supported. This allows you access to sites " -"that require user identification, like Astrobotany or Station." -msgstr "" - -#: data/starfish.appdata.xml.in:72 -msgid "Initial release, bringing you features such as:" -msgstr "" - -#: data/starfish.appdata.xml.in:74 -msgid "" -"Beautiful rendering of gemtext content, both served over the network via " -"Gemini protocol and read from local files." -msgstr "" - -#: data/starfish.appdata.xml.in:75 -msgid "" -"In-app rendering of images and a download option for other file types that " -"you might encounter in the Geminispace." -msgstr "" - -#: data/starfish.appdata.xml.in:76 -msgid "" -"A gentle introduction to Gemini, with pointers on how to get around and " -"discover more content." -msgstr "" - -#: data/starfish.appdata.xml.in:77 -msgid "" -"Stuff you'd normally expect from a browser, like tabs, favorites, history-" -"based navigation, etc." -msgstr "" - -#: data/starfish.appdata.xml.in:87 -msgid "Josip Antoliš" -msgstr "" - -#: data/starfish.appdata.xml.in:93 -msgid "" -"Gemini pages are displayed with your chosen accent color and light or dark " -"style" -msgstr "" - -#: data/starfish.appdata.xml.in:97 -msgid "" -"gentle introduction to Gemini is provided to help you find your bearings" -msgstr "" - -#: data/starfish.appdata.xml.in:101 -msgid "" -"page search and table of contents help you navigate larger gemtext pages" -msgstr "" - -#: data/starfish.appdata.xml.in:105 -msgid "" -"connection to Gemini sites is secured by both server and client certificates" -msgstr "" - -#: data/starfish.appdata.xml.in:109 -msgid "" -"using multiple client certificates you can create as many online identities " -"as you wish" -msgstr "" - -#: data/starfish.appdata.xml.in:113 -msgid "images, in addition to gemtext pages, are displayed inside the app" -msgstr "" - -#: data/starfish.appdata.xml.in:117 -msgid "" -"Gemini pages can be displayed using the dyslexia friendly font and varying " -"text size" -msgstr "" diff --git a/po/meson.build b/po/meson.build index 0df3d83..011a4ae 100644 --- a/po/meson.build +++ b/po/meson.build @@ -1,5 +1,11 @@ - i18n.gettext( - meson.project_name(), - args: '--directory=' + meson.source_root(), - preset: 'glib' - ) +# Install main translations +i18n.gettext (meson.project_name (), + args: [ + '--directory=' + meson.source_root (), + '--from-code=UTF-8', + '-cTRANSLATORS' + ], + preset: 'glib' +) + +subdir ('extra') diff --git a/src/meson.build b/src/meson.build new file mode 100644 index 0000000..d2d784d --- /dev/null +++ b/src/meson.build @@ -0,0 +1,70 @@ +common_sources = files ( + 'Core/BookmarksManager.vala', + 'Core/CertError.vala', + 'Core/CertHash.vala', + 'Core/CertInfo.vala', + 'Core/CertManager.vala', + 'Core/Client.vala', + 'Core/ClientCertFactory.vala', + 'Core/ClientCertRepo.vala', + 'Core/GeminiBody.vala', + 'Core/InternalErrorResponse.vala', + 'Core/Line.vala', + 'Core/LineType.vala', + 'Core/Mime.vala', + 'Core/Response.vala', + 'Core/Session.vala', + 'Core/SessionManager.vala', + 'Core/SettingsBackedStorage.vala', + 'Core/Storage.vala', + 'Core/Tab.vala', + 'Core/TabManager.vala', + 'Core/TextBody.vala', + 'Core/Theme.vala', + 'Core/Uri.vala', + + 'Templates/BadRequest.vala', + 'Templates/Bookmarks.vala', + 'Templates/CertNotApplicable.vala', + 'Templates/ConnectionFailed.vala', + 'Templates/FileAccessDenied.vala', + 'Templates/Gone.vala', + 'Templates/InvalidResponse.vala', + 'Templates/NonGeminiRedirect.vala', + 'Templates/NotFound.vala', + 'Templates/PermFailure.vala', + 'Templates/SlowDown.vala', + 'Templates/TempFailure.vala', + 'Templates/Template.vala', + 'Templates/TooManyRedirects.vala', + 'Templates/UnsuportedSchema.vala', + + 'UI/Application.vala', + 'UI/CertPopover.vala', + 'UI/ClientCertListBox.vala', + 'UI/ClientCertCreateDialog.vala', + 'UI/ContentStack.vala', + 'UI/GemtextRef.vala', + 'UI/GemtextSearchBar.vala', + 'UI/GemtextView.vala', + 'UI/HeaderBar.vala', + 'UI/InputView.vala', + 'UI/LinkEvent.vala', + 'UI/LinkEventType.vala', + 'UI/PageCertErrorView.vala', + 'UI/PageClientCertPickerView.vala', + 'UI/PageDownloadView.vala', + 'UI/PageImageView.vala', + 'UI/PageStaticErrorView.vala', + 'UI/PageTextView.vala', + 'UI/PreferencesDialog.vala', + 'UI/ResponseView.vala', + 'UI/TabContent.vala', + 'UI/TableOfContent.vala', + 'UI/TextViewHighlighter.vala', + 'UI/Window.vala' +) + +sources = common_sources + files ( + 'Main.vala' +) diff --git a/test/meson.build b/test/meson.build new file mode 100644 index 0000000..864bf67 --- /dev/null +++ b/test/meson.build @@ -0,0 +1,12 @@ +test_sources = files ( + 'Core/BodyTestBase.vala', + 'Core/GeminiBodyTest.vala', + 'Core/LineTest.vala', + 'Core/MimeTest.vala', + 'Core/ResponseTest.vala', + 'Core/TextBodyTest.vala', + 'Core/UriTest.vala', + + 'TestBase.vala', + 'TestMain.vala' +)