From 5cdb4c29ea9e736ea5a52483c2e62009c4c7d27e Mon Sep 17 00:00:00 2001 From: Wojtek Kosior Date: Fri, 2 Sep 2022 13:51:25 +0200 Subject: [proxy] allow packages to be frozen and unfrozen in the web UI This commit also makes some minor changes and fixes in other parts of the web UI. --- src/hydrilla/locales/en_US/LC_MESSAGES/messages.po | 112 ++++++++++++++++----- 1 file changed, 85 insertions(+), 27 deletions(-) (limited to 'src/hydrilla/locales') diff --git a/src/hydrilla/locales/en_US/LC_MESSAGES/messages.po b/src/hydrilla/locales/en_US/LC_MESSAGES/messages.po index bb52222..e637de1 100644 --- a/src/hydrilla/locales/en_US/LC_MESSAGES/messages.po +++ b/src/hydrilla/locales/en_US/LC_MESSAGES/messages.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: hydrilla 2.0\n" "Report-Msgid-Bugs-To: koszko@koszko.org\n" -"POT-Creation-Date: 2022-09-01 21:22+0200\n" +"POT-Creation-Date: 2022-09-02 13:49+0200\n" "PO-Revision-Date: 2022-02-12 00:00+0000\n" "Last-Translator: Wojtek Kosior \n" "Language: en_US\n" @@ -311,29 +311,33 @@ msgstr "Available versions" msgid "web_ui.items.single_version.library.title" msgstr "Library version view" -#: src/hydrilla/proxy/web_ui/templates/items/library_viewversion.html.jinja:29 +#: src/hydrilla/proxy/web_ui/templates/items/library_viewversion.html.jinja:30 +msgid "web_ui.items.single_version.library_local.heading.name_{}" +msgstr "Local library '{}'" + +#: src/hydrilla/proxy/web_ui/templates/items/library_viewversion.html.jinja:35 msgid "web_ui.items.single_version.library.heading.name_{}" msgstr "Library '{}'" -#: src/hydrilla/proxy/web_ui/templates/items/library_viewversion.html.jinja:35 +#: src/hydrilla/proxy/web_ui/templates/items/library_viewversion.html.jinja:42 msgid "web_ui.items.single_version.library.item_required" msgstr "This library is required by an enabled mapping. It cannot be uninstalled." -#: src/hydrilla/proxy/web_ui/templates/items/library_viewversion.html.jinja:39 +#: src/hydrilla/proxy/web_ui/templates/items/library_viewversion.html.jinja:46 msgid "web_ui.items.single_version.library.item_auto_activated" msgstr "This library is used by a package which can be activated automatically." -#: src/hydrilla/proxy/web_ui/templates/items/library_viewversion.html.jinja:43 +#: src/hydrilla/proxy/web_ui/templates/items/library_viewversion.html.jinja:50 msgid "web_ui.items.single_version.library.item_not_activated" -msgstr "This library is not used by any active mapping." +msgstr "This library is not used by any active package." -#: src/hydrilla/proxy/web_ui/templates/items/library_viewversion.html.jinja:47 +#: src/hydrilla/proxy/web_ui/templates/items/library_viewversion.html.jinja:54 msgid "web_ui.items.single_version.library.install_failed" msgstr "Couldn't install this library." -#: src/hydrilla/proxy/web_ui/templates/items/library_viewversion.html.jinja:51 +#: src/hydrilla/proxy/web_ui/templates/items/library_viewversion.html.jinja:58 msgid "web_ui.items.single_version.library.version_list_heading" -msgstr "Other available versions of this library." +msgstr "Other available versions of this library" #: src/hydrilla/proxy/web_ui/templates/items/load_from_disk.html.jinja:22 msgid "web_ui.load_from_disk.title" @@ -367,49 +371,103 @@ msgstr "Available versions" msgid "web_ui.items.single_version.package.title" msgstr "Package version view" -#: src/hydrilla/proxy/web_ui/templates/items/package_viewversion.html.jinja:29 +#: src/hydrilla/proxy/web_ui/templates/items/package_viewversion.html.jinja:30 +msgid "web_ui.items.single_version.package_local.heading.name_{}" +msgstr "Local package '{}'" + +#: src/hydrilla/proxy/web_ui/templates/items/package_viewversion.html.jinja:35 msgid "web_ui.items.single_version.package.heading.name_{}" msgstr "Package '{}'" -#: src/hydrilla/proxy/web_ui/templates/items/package_viewversion.html.jinja:35 +#: src/hydrilla/proxy/web_ui/templates/items/package_viewversion.html.jinja:42 msgid "web_ui.items.single_version.package.item_required" msgstr "This package is required. It cannot be uninstalled." -#: src/hydrilla/proxy/web_ui/templates/items/package_viewversion.html.jinja:39 +#: src/hydrilla/proxy/web_ui/templates/items/package_viewversion.html.jinja:46 msgid "web_ui.items.single_version.package.item_auto_activated" msgstr "This package can be activated automatically." -#: src/hydrilla/proxy/web_ui/templates/items/package_viewversion.html.jinja:43 +#: src/hydrilla/proxy/web_ui/templates/items/package_viewversion.html.jinja:50 msgid "web_ui.items.single_version.package.item_not_activated" msgstr "This package is not active." -#: src/hydrilla/proxy/web_ui/templates/items/package_viewversion.html.jinja:47 +#: src/hydrilla/proxy/web_ui/templates/items/package_viewversion.html.jinja:54 msgid "web_ui.items.single_version.package.install_failed" msgstr "Couldn't install this package." -#: src/hydrilla/proxy/web_ui/templates/items/package_viewversion.html.jinja:51 +#: src/hydrilla/proxy/web_ui/templates/items/package_viewversion.html.jinja:58 msgid "web_ui.items.single_version.package.version_list_heading" -msgstr "Available versions" +msgstr "Other available versions of this package" -#: src/hydrilla/proxy/web_ui/templates/items/package_viewversion.html.jinja:67 +#: src/hydrilla/proxy/web_ui/templates/items/package_viewversion.html.jinja:74 msgid "web_ui.items.single_version.unenable_button" msgstr "Forget" -#: src/hydrilla/proxy/web_ui/templates/items/package_viewversion.html.jinja:68 +#: src/hydrilla/proxy/web_ui/templates/items/package_viewversion.html.jinja:75 msgid "web_ui.items.single_version.disable_button" msgstr "Disable" -#: src/hydrilla/proxy/web_ui/templates/items/package_viewversion.html.jinja:75 -msgid "web_ui.items.single_version.freeze_to_this_button" -msgstr "Pin to this version" - -#: src/hydrilla/proxy/web_ui/templates/items/package_viewversion.html.jinja:78 +#: src/hydrilla/proxy/web_ui/templates/items/package_viewversion.html.jinja:76 msgid "web_ui.items.single_version.enable_button" msgstr "Enable" -#: src/hydrilla/proxy/web_ui/templates/items/package_viewversion.html.jinja:89 -msgid "web_ui.items.single_version.other_version_enabled" -msgstr "Other available versions of this package." +#: src/hydrilla/proxy/web_ui/templates/items/package_viewversion.html.jinja:80 +msgid "web_ui.items.single_version.item_not_marked" +msgstr "This package isn't enabled." + +#: src/hydrilla/proxy/web_ui/templates/items/package_viewversion.html.jinja:83 +msgid "web_ui.items.single_version.item_disabled" +msgstr "All versions of this package have been explicitly disabled by the user." + +#: src/hydrilla/proxy/web_ui/templates/items/package_viewversion.html.jinja:87 +msgid "web_ui.items.single_version.item_enabled" +msgstr "This package has been enabled by the user." + +#: src/hydrilla/proxy/web_ui/templates/items/package_viewversion.html.jinja:109 +msgid "web_ui.items.single_version.unpin_button" +msgstr "Unpin" + +#: src/hydrilla/proxy/web_ui/templates/items/package_viewversion.html.jinja:113 +msgid "web_ui.items.single_version.not_pinned" +msgstr "This package is not pinned to any version." + +#: src/hydrilla/proxy/web_ui/templates/items/package_viewversion.html.jinja:118 +msgid "web_ui.items.single_version.pinned_repo_local" +msgstr "This package is pinned to only use locally installed versions." + +#: src/hydrilla/proxy/web_ui/templates/items/package_viewversion.html.jinja:122 +msgid "web_ui.items.single_version.pinned_repo_{}" +msgstr "This package is pinned to only use versions from repository '{}'." + +#: src/hydrilla/proxy/web_ui/templates/items/package_viewversion.html.jinja:134 +msgid "web_ui.items.single_version.pin_local_repo_button" +msgstr "Pin to local packages" + +#: src/hydrilla/proxy/web_ui/templates/items/package_viewversion.html.jinja:138 +#: src/hydrilla/proxy/web_ui/templates/items/package_viewversion.html.jinja:149 +msgid "web_ui.items.single_version.pin_repo_button" +msgstr "Pin to repository" + +#: src/hydrilla/proxy/web_ui/templates/items/package_viewversion.html.jinja:145 +msgid "web_ui.items.single_version.repin_repo_button" +msgstr "Pin to this repository" + +#: src/hydrilla/proxy/web_ui/templates/items/package_viewversion.html.jinja:154 +#: src/hydrilla/proxy/web_ui/templates/items/package_viewversion.html.jinja:164 +msgid "web_ui.items.single_version.pin_ver_button" +msgstr "Pin to this version" + +#: src/hydrilla/proxy/web_ui/templates/items/package_viewversion.html.jinja:156 +msgid "web_ui.items.single_version.pinned_ver" +msgstr "This package is pinned to this version." + +#: src/hydrilla/proxy/web_ui/templates/items/package_viewversion.html.jinja:159 +msgid "web_ui.items.single_version.repin_ver_button" +msgstr "Pin to this version" + +#: src/hydrilla/proxy/web_ui/templates/items/package_viewversion.html.jinja:161 +msgid "web_ui.items.single_version.pinned_other_ver" +msgstr "This package is pinned to a different version." #: src/hydrilla/proxy/web_ui/templates/items/packages.html.jinja:22 msgid "web_ui.packages.title" @@ -478,7 +536,7 @@ msgstr "packages: {}" #: src/hydrilla/proxy/web_ui/templates/repos/index.html.jinja:59 #: src/hydrilla/proxy/web_ui/templates/repos/show_single.html.jinja:46 msgid "web_ui.repos.local_packages_semirepo" -msgstr "Local packages" +msgstr "Local items" #: src/hydrilla/proxy/web_ui/templates/repos/show_single.html.jinja:22 msgid "web_ui.repos.single.title" -- cgit v1.2.3