diff --git a/README.md b/README.md index e31eb8d35..6ac1dd6f6 100644 --- a/README.md +++ b/README.md @@ -81,8 +81,8 @@ The language given here must be present in `supportedLocales`. ### supportedLocales A list of languages to show in the STAC Browser UI. -The languages given here must have a corresponding JSON file in the `src/locales` folder, e.g. -`src/locales/en.json` for English. +The languages given here must have a corresponding JSON file in the `src/locales` folder, +e.g. provide `en` (English) for the file at `src/locales/en.json`. In CLI, please provide the languages separated by a space, e.g. `--supportedLocales en de fr it` @@ -246,7 +246,7 @@ There are four options you can set in the `authConfig` object: * `type` (string): `null` (disabled), `query` (use token in query parameters), or `header` (use token in HTTP request headers). * `key` (string): The query string parameter name or the HTTP header name respecively. * `formatter` (function|null): You can optionally specify a formatter for the query string value or HTTP header value respectively. If not given, the token is provided as provided by the user. -* `description` (string|null): Optionally a description that is shown to the user. This should explain how the token can be obtained for example. CommonMark is allowed. +* `description` (string|null): Optionally a description that is shown to the user. This should explain how the token can be obtained for example. CommonMark is allowed. **Note:** You can leave the description empty in the config file and instead provide a localized string with the key `authConfig` -> `description` in the file for custom phrases (`src/locales/custom.json`). Please note that this option can only be provided through a config file and is not available via CLI. diff --git a/src/StacBrowser.vue b/src/StacBrowser.vue index 6a62a3379..056daa37f 100644 --- a/src/StacBrowser.vue +++ b/src/StacBrowser.vue @@ -1,7 +1,7 @@