Skip to content

Commit

Permalink
Updated custom translations example
Browse files Browse the repository at this point in the history
  • Loading branch information
squidfunk committed Oct 27, 2021
1 parent 541c51e commit cffb592
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/setup/changing-the-language.md
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,8 @@ adjust the ones you want to override:
<!-- Define custom translations -->
{% macro override(key) %}{{ {
"toc.title": "Auf dieser Seite" <!-- (2) -->
"source.file.date.created": "Erstellt am", <!-- (2) -->
"source.file.date.updated": "Aktualisiert am"
}[key] }}{% endmacro %}
<!-- Re-export translations -->
Expand Down

0 comments on commit cffb592

Please sign in to comment.