Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[l10n] Fix missing localization strings inside the Moderate Forum page #6141

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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