From 4e286e1f10b60936495b1724c0d0e914a53150ad Mon Sep 17 00:00:00 2001 From: nytpu Date: Tue, 11 May 2021 15:18:07 -0600 Subject: [PATCH] add errors.yaml with english --- localizations_src/en-US/errors.yaml | 32 +++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 localizations_src/en-US/errors.yaml diff --git a/localizations_src/en-US/errors.yaml b/localizations_src/en-US/errors.yaml new file mode 100644 index 0000000..c9d55fe --- /dev/null +++ b/localizations_src/en-US/errors.yaml @@ -0,0 +1,32 @@ +## comitium.go +no_data_dir: Error finding a suitable directory! Falling back to the current working directory. See \"comitium help\" or comitium(1) for more information. +no_command: Please provide a command. +bad_command: Unrecognized Command. +version: comitium v{{.version}}, commit {{.commit}} +core_init: 'Error in initialization: {{.error}}' +no_url_add: Please provide a URL to add. +no_url_remove: Please provide a URL to remove. +url_parse: 'Error parsing URL: {{.error}}' +url_add: 'Error adding URL: {{.error}}' + +# of the format "'' doesn't take an argument!" +no_argument: doesn't take an argument! + +## core/core.go +read_file_error: 'error reading ''{{.file}}'': {{.error}}' +corrupt_json_error: 'comitium.json is corrupted: {{.error}}' + +## fetch/fetch.go +unsupported_protocol: Unsupported protocol '{{.scheme}}' + +## fetch/gemini.go +gem_bad_response: Unexpected Gemini response {{.code}} {{.meta}} +bad_content_type: 'Unintelligible content type: {{.mime}}' +bad_feed: Cannot interpret {{.meta}} as a feed + +## fetch/http.go +http_bad_repsonse: Unexpected HTTP response {{.status}} +http_no_extract: Extracting feed from HTML pages is currently unsupported. + +## fetch/gopher.go +gopher_no_extract: Gemini-style feeds served over gopher are currently unsupported.