💥 deprecate(i18n)!: force config.toml copyright translation (#255)
This commit is contained in:
parent
1a1a7f79f2
commit
9f39b7fe47
@ -7,9 +7,7 @@
|
||||
{%- endif -%}
|
||||
{%- elif config.extra.translate_copyright -%}
|
||||
{# Old way to translate the copyright through toml files #}
|
||||
{# When the feature is removed, uncomment below to throw a descriptive error #}
|
||||
{# {{ throw(message="ERROR: The 'translate_copyright' feature has been deprecated. Please set 'copyright_translations' in config.toml. See the documentation: https://welpo.github.io/tabi/blog/mastering-tabi-settings/#copyright") }} #}
|
||||
{% set copyright = macros_translate::translate(key="copyright", default=config.extra.copyright, language_strings=language_strings) %}
|
||||
{{ throw(message="ERROR: The 'translate_copyright' feature has been deprecated. Please set 'copyright_translations' in config.toml. See the documentation: https://welpo.github.io/tabi/blog/mastering-tabi-settings/#copyright") }}
|
||||
{%- endif -%}
|
||||
|
||||
{# Check for missing variables in the notice #}
|
||||
|
Loading…
x
Reference in New Issue
Block a user