Update i18n tasks from latest gem

This commit is contained in:
Tom Hughes 2023-10-17 18:25:38 +01:00
parent be7248bace
commit 391728c8eb

View file

@ -13,7 +13,7 @@ data:
## Provide a custom adapter: ## Provide a custom adapter:
# adapter: I18n::Tasks::Data::FileSystem # adapter: I18n::Tasks::Data::FileSystem
# Locale files or `File.find` patterns where translations are read from: # Locale files or `Find.find` patterns where translations are read from:
read: read:
## Default: ## Default:
- config/locales/en.yml - config/locales/en.yml
@ -52,7 +52,7 @@ data:
# Find translate calls # Find translate calls
search: search:
## Paths or `File.find` patterns to search in: ## Paths or `Find.find` patterns to search in:
# paths: # paths:
# - app/ # - app/
@ -110,7 +110,9 @@ search:
# deepl_api_key: "48E92789-57A3-466A-9959-1A1A1A1A1A1A" # deepl_api_key: "48E92789-57A3-466A-9959-1A1A1A1A1A1A"
# # deepl_host: "https://api.deepl.com" # # deepl_host: "https://api.deepl.com"
# # deepl_version: "v2" # # deepl_version: "v2"
# # add additional options to the DeepL.translate call: https://www.deepl.com/docs-api/translate-text/translate-text/
# deepl_options:
# formality: prefer_less
## Do not consider these keys missing: ## Do not consider these keys missing:
# ignore_missing: # ignore_missing:
# - 'errors.messages.{accepted,blank,invalid,too_short,too_long}' # - 'errors.messages.{accepted,blank,invalid,too_short,too_long}'