From b2055032cb914fd160270971dd1da46f8c7c838d Mon Sep 17 00:00:00 2001 From: Wojtek Kosior Date: Sat, 8 Oct 2022 19:07:12 +0200 Subject: [proxy] remove TODOs from library and package pages and make package page display enable/disable/forget buttons --- src/hydrilla/locales/en_US/LC_MESSAGES/messages.po | 125 +++++++++++++++------ 1 file changed, 90 insertions(+), 35 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 55cf02a..aeff285 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-10-07 15:39+0200\n" +"POT-Creation-Date: 2022-10-08 17:33+0200\n" "PO-Revision-Date: 2022-02-12 00:00+0000\n" "Last-Translator: Wojtek Kosior \n" "Language: en_US\n" @@ -455,79 +455,79 @@ msgstr "" msgid "web_ui.home.prune_orphans_button" msgstr "Prune orphans" -#: src/hydrilla/proxy/web_ui/templates/items/item_viewversion.html.jinja:69 +#: src/hydrilla/proxy/web_ui/templates/items/item_view.html.jinja:44 #: src/hydrilla/proxy/web_ui/templates/prompts/package_suggestion.html.jinja:30 #: src/hydrilla/proxy/web_ui/templates/repos/show_single.html.jinja:35 msgid "web_ui.err.file_installation_error" msgstr "Failed to install needed items from repository." -#: src/hydrilla/proxy/web_ui/templates/items/item_viewversion.html.jinja:73 -msgid "web_ui.err.uninstall_disallowed" -msgstr "This item is required and cannot be uninstalled." +#: src/hydrilla/proxy/web_ui/templates/items/item_view.html.jinja:48 +msgid "web_ui.err.impossible_situation_error" +msgstr "Item constraints prevent the action from succeeding." -#: src/hydrilla/proxy/web_ui/templates/items/item_viewversion.html.jinja:77 +#: src/hydrilla/proxy/web_ui/templates/items/item_view.html.jinja:52 #: src/hydrilla/proxy/web_ui/templates/prompts/package_suggestion.html.jinja:34 #: src/hydrilla/proxy/web_ui/templates/repos/show_single.html.jinja:39 msgid "web_ui.err.repo_communication_error" msgstr "Couldn't communicate with repository." -#: src/hydrilla/proxy/web_ui/templates/items/item_viewversion.html.jinja:81 +#: src/hydrilla/proxy/web_ui/templates/items/item_viewversion.html.jinja:69 msgid "web_ui.err.item_not_compatible" msgstr "This item is not compatible with current Haketilo version." -#: src/hydrilla/proxy/web_ui/templates/items/item_viewversion.html.jinja:86 +#: src/hydrilla/proxy/web_ui/templates/items/item_viewversion.html.jinja:76 msgid "web_ui.items.single_version.identifier_label" msgstr "Identifier" -#: src/hydrilla/proxy/web_ui/templates/items/item_viewversion.html.jinja:94 +#: src/hydrilla/proxy/web_ui/templates/items/item_viewversion.html.jinja:84 msgid "web_ui.items.single_version.version_label" msgstr "Version" -#: src/hydrilla/proxy/web_ui/templates/items/item_viewversion.html.jinja:103 +#: src/hydrilla/proxy/web_ui/templates/items/item_viewversion.html.jinja:93 msgid "web_ui.items.single_version.uuid_label" msgstr "UUID" -#: src/hydrilla/proxy/web_ui/templates/items/item_viewversion.html.jinja:113 +#: src/hydrilla/proxy/web_ui/templates/items/item_viewversion.html.jinja:103 msgid "web_ui.items.single_version.description_label" msgstr "Description" -#: src/hydrilla/proxy/web_ui/templates/items/item_viewversion.html.jinja:122 +#: src/hydrilla/proxy/web_ui/templates/items/item_viewversion.html.jinja:112 msgid "web_ui.items.single_version.licenses_label" msgstr "License and copyright files" -#: src/hydrilla/proxy/web_ui/templates/items/item_viewversion.html.jinja:128 +#: src/hydrilla/proxy/web_ui/templates/items/item_viewversion.html.jinja:118 msgid "web_ui.items.single_version.no_license_files" msgstr "There are no designated files with legal information." -#: src/hydrilla/proxy/web_ui/templates/items/item_viewversion.html.jinja:135 +#: src/hydrilla/proxy/web_ui/templates/items/item_viewversion.html.jinja:125 msgid "web_ui.items.single_version.required_mappings_label" msgstr "Required packages" -#: src/hydrilla/proxy/web_ui/templates/items/item_viewversion.html.jinja:155 +#: src/hydrilla/proxy/web_ui/templates/items/item_viewversion.html.jinja:145 msgid "web_ui.items.single_version.min_haketilo_ver_label" msgstr "Minimum compatible Haketilo version" -#: src/hydrilla/proxy/web_ui/templates/items/item_viewversion.html.jinja:165 +#: src/hydrilla/proxy/web_ui/templates/items/item_viewversion.html.jinja:155 msgid "web_ui.items.single_version.max_haketilo_ver_label" msgstr "Maximum compatible Haketilo version" -#: src/hydrilla/proxy/web_ui/templates/items/item_viewversion.html.jinja:182 +#: src/hydrilla/proxy/web_ui/templates/items/item_viewversion.html.jinja:172 msgid "web_ui.items.single_version.install_uninstall_label" msgstr "Installation status" -#: src/hydrilla/proxy/web_ui/templates/items/item_viewversion.html.jinja:189 +#: src/hydrilla/proxy/web_ui/templates/items/item_viewversion.html.jinja:179 msgid "web_ui.items.single_version.retry_install_button" msgstr "Retry installation" -#: src/hydrilla/proxy/web_ui/templates/items/item_viewversion.html.jinja:193 +#: src/hydrilla/proxy/web_ui/templates/items/item_viewversion.html.jinja:183 msgid "web_ui.items.single_version.leave_uninstalled_button" msgstr "Leave uninstalled" -#: src/hydrilla/proxy/web_ui/templates/items/item_viewversion.html.jinja:197 +#: src/hydrilla/proxy/web_ui/templates/items/item_viewversion.html.jinja:187 msgid "web_ui.items.single_version.install_button" msgstr "Install" -#: src/hydrilla/proxy/web_ui/templates/items/item_viewversion.html.jinja:199 +#: src/hydrilla/proxy/web_ui/templates/items/item_viewversion.html.jinja:189 msgid "web_ui.items.single_version.uninstall_button" msgstr "Uninstall" @@ -547,7 +547,7 @@ msgstr "Library view" msgid "web_ui.items.single.library.heading.name_{}" msgstr "Libraries named '{}'" -#: src/hydrilla/proxy/web_ui/templates/items/library_view.html.jinja:41 +#: src/hydrilla/proxy/web_ui/templates/items/library_view.html.jinja:37 msgid "web_ui.items.single.library.version_list_heading" msgstr "Available versions" @@ -622,7 +622,74 @@ msgstr "Package view" msgid "web_ui.items.single.package.heading.name_{}" msgstr "Packages named '{}'" -#: src/hydrilla/proxy/web_ui/templates/items/package_view.html.jinja:41 +#: src/hydrilla/proxy/web_ui/templates/items/package_view.html.jinja:40 +msgid "web_ui.items.single.package.enabled_label" +msgstr "Usage status" + +#: src/hydrilla/proxy/web_ui/templates/items/package_view.html.jinja:46 +#: src/hydrilla/proxy/web_ui/templates/items/package_viewversion.html.jinja:117 +msgid "web_ui.items.unenable_button" +msgstr "Forget" + +#: src/hydrilla/proxy/web_ui/templates/items/package_view.html.jinja:47 +#: src/hydrilla/proxy/web_ui/templates/items/package_viewversion.html.jinja:118 +msgid "web_ui.items.disable_button" +msgstr "Disable" + +#: src/hydrilla/proxy/web_ui/templates/items/package_view.html.jinja:48 +#: src/hydrilla/proxy/web_ui/templates/items/package_viewversion.html.jinja:119 +msgid "web_ui.items.enable_button" +msgstr "Enable" + +#: src/hydrilla/proxy/web_ui/templates/items/package_view.html.jinja:53 +msgid "web_ui.items.single.package.item_not_enabled" +msgstr "The package has not been explicitly configured by the user." + +#: src/hydrilla/proxy/web_ui/templates/items/package_view.html.jinja:56 +msgid "web_ui.items.single.package.item_disabled" +msgstr "The package has been explicitly disabled by the user." + +#: src/hydrilla/proxy/web_ui/templates/items/package_view.html.jinja:60 +msgid "web_ui.items.single.package.item_enabled" +msgstr "The package has been enabled by the user." + +#: src/hydrilla/proxy/web_ui/templates/items/package_view.html.jinja:75 +msgid "web_ui.items.single.package.pinning_label" +msgstr "Enabled package pinning" + +#: src/hydrilla/proxy/web_ui/templates/items/package_view.html.jinja:81 +msgid "web_ui.items.single.package.unpin_button" +msgstr "Unpin" + +#: src/hydrilla/proxy/web_ui/templates/items/package_view.html.jinja:86 +msgid "web_ui.items.single.package.pin_local_repo_button" +msgstr "Pin to local packages" + +#: src/hydrilla/proxy/web_ui/templates/items/package_view.html.jinja:89 +msgid "web_ui.items.single.package.pin_repo_button" +msgstr "Pin to repository" + +#: src/hydrilla/proxy/web_ui/templates/items/package_view.html.jinja:92 +msgid "web_ui.items.single.package.pin_ver_button" +msgstr "Pin to current version" + +#: src/hydrilla/proxy/web_ui/templates/items/package_view.html.jinja:97 +msgid "web_ui.items.single.package.not_pinned" +msgstr "The package is not pinned to any version." + +#: src/hydrilla/proxy/web_ui/templates/items/package_view.html.jinja:101 +msgid "web_ui.items.single.package.pinned_repo_local" +msgstr "The package is pinned to only use locally installed versions." + +#: src/hydrilla/proxy/web_ui/templates/items/package_view.html.jinja:104 +msgid "web_ui.items.single.package.pinned_repo_{}" +msgstr "The package is pinned to only use versions from repository '{}'." + +#: src/hydrilla/proxy/web_ui/templates/items/package_view.html.jinja:110 +msgid "web_ui.items.single.package.pinned_ver" +msgstr "The package is pinned to a specific version." + +#: src/hydrilla/proxy/web_ui/templates/items/package_view.html.jinja:125 msgid "web_ui.items.single.package.version_list_heading" msgstr "Available versions" @@ -666,18 +733,6 @@ msgstr "This package has no payloads." msgid "web_ui.items.single_version.package.enabled_label" msgstr "Usage status" -#: src/hydrilla/proxy/web_ui/templates/items/package_viewversion.html.jinja:117 -msgid "web_ui.items.single_version.unenable_button" -msgstr "Forget" - -#: src/hydrilla/proxy/web_ui/templates/items/package_viewversion.html.jinja:118 -msgid "web_ui.items.single_version.disable_button" -msgstr "Disable" - -#: src/hydrilla/proxy/web_ui/templates/items/package_viewversion.html.jinja:119 -msgid "web_ui.items.single_version.enable_button" -msgstr "Enable" - #: src/hydrilla/proxy/web_ui/templates/items/package_viewversion.html.jinja:128 msgid "web_ui.items.single_version.package.item_not_activated" msgstr "This package is not enabled. This version won't be used." -- cgit v1.2.3