Skip to content

Commit

Permalink
fix(add-ons): consistently use levels and not scopes
Browse files Browse the repository at this point in the history
Inspired by WeblateOrg#12448
  • Loading branch information
nijel committed Dec 20, 2024
1 parent c3b1e8d commit 5eb2685
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions weblate/templates/addons/addon_list.html
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ <h4 class="panel-title">
</table>
<div class="panel-footer">
{% if scope == "sitewide" %}
{% trans "Add-ons can be installed on project and component scope as well." %}
{% trans "Add-ons can also be installed at the project and the component levels." %}
{% endif %}
{% if scope == "component" %}
<a href="{% url 'addons' path=object.project.get_url_path %}"
Expand Down Expand Up @@ -104,7 +104,7 @@ <h4 class="panel-title">
{% if scope != "component" and addon.needs_component %}
<button class="btn btn-primary"
disabled
title="{% trans "The add-on can only be installed on the component." %}">
title="{% trans "The add-on can only be installed on the component level." %}">
{% trans "Install" %}
</button>
{% else %}
Expand Down

0 comments on commit 5eb2685

Please sign in to comment.