Is it possible to write this as a one-liner?
{% if craft.entries.section('mypage').one() != null %}
{{ craft.entries.section('mypage').one().title }} {# If title is provided - use, but don't translate #}
{% else %}
{{ "My page"|t }} {# Default value should be translated #}
{% endif %}
This is my solution so far, however this will translate both the default and the provided title. Is it possible to group these filters somehow to not translate the title?
{{ craft.entries.section('mypage').one().title|default("My page")|t }}