forked from liberapay/liberapay.com
-
Notifications
You must be signed in to change notification settings - Fork 0
/
_i18n_warning.html
13 lines (13 loc) · 855 Bytes
/
_i18n_warning.html
1
2
3
4
5
6
7
8
9
10
11
12
13
% if state.get('partial_translation')
<div class="notification notification-warning top">{{ _(
"The translation of this page from English is not yet complete. {link_start}You can contribute{link_end}."
, link_start=('<a href="https://hosted.weblate.org/engage/liberapay/{}/?utm_source=liberapay-incomplete-translation-warning">'|safe).format(locale.global_tag)
, link_end='</a>'|safe
) }}</div>
% elif state.get('fuzzy_translation')
<div class="notification notification-warning top">{{ _(
"This page contains machine-translated text which hasn't yet been reviewed and might be inaccurate. {link_start}You can contribute{link_end}."
, link_start=('<a href="https://hosted.weblate.org/engage/liberapay/{}/?utm_source=liberapay-machine-translation-warning">'|safe).format(locale.global_tag)
, link_end='</a>'|safe
) }}</div>
% endif