Skip to content

Commit

Permalink
Fix wrong translation string
Browse files Browse the repository at this point in the history
same as in sehmaschine#1049,

while Django's own templates use this new apostrophe character:
https://github.com/django/django/blob/main/django/contrib/admin/templates/admin/delete_selected_confirmation.html#L42

their actual translation characters are a mess with a mix and match
between apostrophes and languages. The `en` language file however
matches the templates:
https://github.com/django/django/blob/main/django/contrib/admin/locale/en/LC_MESSAGES/django.po#L609
  • Loading branch information
atodorov committed Apr 26, 2024
1 parent 8733d26 commit 9ac343c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ <h2>{% blocktrans %}Are you sure you want to delete the selected {{ objects_name
<input type="hidden" name="post" value="yes" />
<ul>
<li class="grp-float-left"><a href="." class="grp-button grp-cancel-link">{% trans "Cancel" %}</a></li>
<li><input type="submit" value="{% trans "Yes, I'm sure" %}" class="grp-button grp-default" /></li>
<li><input type="submit" value="{% trans "Yes, Im sure" %}" class="grp-button grp-default" /></li>
</ul>
<input type="hidden" name="post" value="yes" />
</div>
Expand Down

0 comments on commit 9ac343c

Please # to comment.