Skip to content

Commit

Permalink
Merge pull request mozilla#6141 from emilghittasv/l10n-moderate-forum…
Browse files Browse the repository at this point in the history
…-content-fix

[l10n] Fix missing localization strings inside the Moderate Forum page
  • Loading branch information
emilghittasv authored Jul 25, 2024
2 parents b0f9e5d + a2640d1 commit da7fedc
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion kitsune/flagit/jinja2/flagit/includes/flagged_answer.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ <h3 class="sumo-page-intro">{{ _('Flagged:') }}</h3>
</p>
<h3 class="sumo-page-intro">{{ _('Take Action:') }}</h3>
<div class="actions sumo-button-wrap">
<a class="sumo-button button-sm" href="{{ object.content_object.get_absolute_url() }}">View</a>
<a class="sumo-button button-sm" href="{{ object.content_object.get_absolute_url() }}">{{ _('View') }}</a>
{% if user.has_perm('questions.change_answer') %}
<a class="sumo-button button-sm edit" href="{{ url('questions.edit_answer', object.content_object.question.id, object.content_object.id) }}">{{ _('Edit') }}</a>
{% endif %}
Expand Down
2 changes: 1 addition & 1 deletion kitsune/flagit/jinja2/flagit/includes/flagged_post.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ <h3 class="sumo-page-intro">{{ _('Flagged:') }}</h3>
</p>
<h3 class="sumo-page-intro">{{ _('Take Action:') }}</h3>
<div class="actions sumo-button-wrap">
<a class="sumo-button button-sm" href="{{ object.content_object.get_absolute_url() }}">View</a>
<a class="sumo-button button-sm" href="{{ object.content_object.get_absolute_url() }}">{{ _('View') }}</a>
{% if object.content_type.name == 'KB Forum Post' %}
{% if user.has_perm('kbforums.change_post') %}
<a class="sumo-button button-sm edit" rel="ugc nofollow" href="{{ url('wiki.discuss.edit_post', object.content_object.thread.document.slug, object.content_object.thread.id, object.content_object.id) }}">{{ _('Edit') }}</a>
Expand Down
2 changes: 1 addition & 1 deletion kitsune/flagit/jinja2/flagit/includes/flagged_profile.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ <h3 class="sumo-page-intro">{{ _('Flagged:') }}</h3>
</p>
<h3 class="sumo-page-intro">{{ _('Take Action:') }}</h3>
<div class="actions sumo-button-wrap">
<a class="sumo-button button-sm" href="{{ object.content_object.get_absolute_url() }}">View</a>
<a class="sumo-button button-sm" href="{{ object.content_object.get_absolute_url() }}">{{ _('View') }}</a>
{% if user.is_staff and user.has_perm('profile.change_profile') %}
<a class="sumo-button button-sm edit" href="{{ url('admin:users_profile_change', object.object_id) }}">{{ _('Edit') }}</a>
{% endif %}
Expand Down
4 changes: 2 additions & 2 deletions kitsune/flagit/jinja2/flagit/includes/flagged_question.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ <h3 class="sumo-page-intro">{{ _('Flagged:') }}</h3>
</p>
<h3 class="sumo-page-intro">{{ _('Take Action:') }}</h3>
<div class="actions sumo-button-wrap">
<a class="sumo-button button-sm" href="{{ object.content_object.get_absolute_url() }}">View</a>
<a class="sumo-button button-sm edit" href="{{ url('questions.edit_question', object.content_object.id) }}">Edit</a>
<a class="sumo-button button-sm" href="{{ object.content_object.get_absolute_url() }}">{{ _('View') }}</a>
<a class="sumo-button button-sm edit" href="{{ url('questions.edit_question', object.content_object.id) }}">{{ _('Edit') }}</a>
{% if user.has_perm('questions.delete_question') %}
<a class="sumo-button button-sm delete" href="{{ url('questions.delete', object.content_object.id) }}">{{ _('Delete') }}</a>
{% endif %}
Expand Down
2 changes: 1 addition & 1 deletion kitsune/flagit/jinja2/flagit/queue.html
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ <h3 class="sumo-card-heading"><br>{{ _('Update Status:') }}</h3>
<option value="1">{{ _('The flag is valid and I fixed the issue.') }}</option>
<option value="2">{{ _('The flag is invalid.') }}</option>
</select>
<input type="submit" class="sumo-button primary-button button-lg btn" value="Update" />
<input type="submit" class="sumo-button primary-button button-lg btn" value={{ _('Update') }} />
</form>
</div>
</li>
Expand Down

0 comments on commit da7fedc

Please sign in to comment.