Skip to content

Commit

Permalink
Update Ministry of in messages to Department of
Browse files Browse the repository at this point in the history
  • Loading branch information
sthapa committed Feb 7, 2025
1 parent a71213b commit 83ddee7
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion froide/foirequest/foi_mail.py
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ def __init__(self, *args, foirequest=None, **kwargs):
super().__init__(*args, **kwargs)


def _deliver_mail(email: ParsedEmail, mail_bytes=None, manual=False):
def 0_deliver_mail(email: ParsedEmail, mail_bytes=None, manual=False):
received_list = (
email.to + email.cc + email.resent_to + email.resent_cc + email.x_original_to
)
Expand Down
4 changes: 2 additions & 2 deletions froide/foirequest/views/message.py
Original file line number Diff line number Diff line change
Expand Up @@ -227,12 +227,12 @@ def edit_postal_message(request, foirequest, message_id):
"uppy": get_uppy_i18n(),
# from publicbody/widgets
"missingPublicBody": _("Are we missing a public agency?"),
"publicBodySearchPlaceholder": _("Ministry of..."),
"publicBodySearchPlaceholder": _("Department of..."),
"search": _("Search"),
"searchPublicBodyLabel": _("Search for public authorities"),
"examples": _("Examples:"),
"environment": _("Environment"),
"ministryOfLabour": _("Ministry of Labour"),
"ministryOfLabour": _("Department of Labor"),
"or": _("or"),
"noPublicBodiesFound": _("No Public Agencies found for this query."),
"letUsKnow": _("Please let us know!"),
Expand Down
2 changes: 1 addition & 1 deletion froide/locale/de/LC_MESSAGES/django.po
Original file line number Diff line number Diff line change
Expand Up @@ -12156,7 +12156,7 @@ msgstr ""
#~ msgid ""
#~ "Freedom of Information Request\n"
#~ "\n"
#~ " To: Ministry of Interior\n"
#~ " To: Department of Interior\n"
#~ "\n"
#~ " Dear Sir or Madam,\n"
#~ " I request information about the following:\n"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@
(function () {
var i18n = {
missingPublicBody: '{% trans "Are we missing a public agency?" %}',
publicBodySearchPlaceholder: '{% trans "Ministry of..." %}',
publicBodySearchPlaceholder: '{% trans "Department of..." %}',
search: '{% trans "Search" %}',
examples: '{% trans "Examples:" %}',
environment: '{% trans "Environment" %}',
ministryOfLabour: '{% trans "Ministry of Labour" %}',
ministryOfLabour: '{% trans "Department of Labor" %}',
or: '{% trans "or" %}',
noPublicBodiesFound: '{% trans "No Public Agencies found for this query." %}',
letUsKnow: '{% trans "Please let us know!" %}'
Expand Down
4 changes: 2 additions & 2 deletions froide/publicbody/widgets.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,12 @@ def get_widget_context():
},
"i18n": {
"missingPublicBody": _("Are we missing a public agency?"),
"publicBodySearchPlaceholder": _("Ministry of..."),
"publicBodySearchPlaceholder": _("Department of..."),
"search": _("Search"),
"searchPublicBodyLabel": _("Search for public authorities"),
"examples": _("Examples:"),
"environment": _("Environment"),
"ministryOfLabour": _("Ministry of Labour"),
"ministryOfLabour": _("Department of Labor"),
"or": _("or"),
"noPublicBodiesFound": _("No Public Agencies found for this query."),
"letUsKnow": _("Please let us know!"),
Expand Down
2 changes: 1 addition & 1 deletion froide/templates/snippets/homepage_hero.html
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ <h3>
{% else %}
<div class="sample-letter">
{% blocktrans %}Freedom of Information Request
To: Ministry of Interior
To: Department of Labor

Dear Sir or Madam,
I request information about the following:
Expand Down

0 comments on commit 83ddee7

Please sign in to comment.