Skip to content

Commit

Permalink
translate: always show read-only reason
Browse files Browse the repository at this point in the history
  • Loading branch information
nijel committed Nov 28, 2023
1 parent faeae86 commit 48863d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion weblate/templates/translate.html
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ <h4 class="panel-title">
{% elif not user_can_translate and not user_can_edit_flags %}
<p class="text-danger">{{ user_can_translate.reason }}</p>
{% elif not user_can_translate and user_can_edit_flags and not unit.translation.component.is_glossary %}
<p class="text-danger">{% trans "Insufficient privileges for saving translations." %}</p>
<p class="text-danger">{{ user_can_translate.reason }}</p>
{% endif %}
<div>
{% with flag_actions=unit.get_flag_actions %}
Expand Down

0 comments on commit 48863d1

Please sign in to comment.