Skip to content

Commit

Permalink
refactor: minor alterations
Browse files Browse the repository at this point in the history
  • Loading branch information
tyliec committed May 4, 2024
1 parent ba90397 commit f07c08d
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 10 deletions.
19 changes: 10 additions & 9 deletions froide/foirequest/views/make_request.py
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ def get_js_context(self):
# Translators: not url
"requests": _("requests"),
"close": _("close"),
"makeRequest": _("make request"),
"makeRequest": _("Make request"),
"writingRequestTo": _("You are writing a request to"),
"toMultiPublicBodies": _("To: {count} public bodies").format(
count="${count}"
Expand All @@ -190,20 +190,20 @@ def get_js_context(self):
_("Jurisdictions"),
],
"topicPlural": [
_("topic"),
_("topics"),
_("Topic"),
_("Topics"),
],
"classificationPlural": [
_("classification"),
_("classifications"),
_("Classification"),
_("Classifications"),
],
"containingGeoregionsPlural": [
_("part of administrative region"),
_("part of administrative regions"),
_("Part of administrative region"),
_("Part of administrative regions"),
],
"administrativeUnitKind": _("type of administrative unit"),
"administrativeUnitKind": _("Type of administrative unit"),
"toPublicBody": _("To: {name}").format(name="${name}"),
"change": _("change"),
"change": _("Change"),
"searchPlaceholder": _("Search..."),
"clearSearchResults": _("clear search"),
"clearSelection": _("clear selection"),
Expand Down Expand Up @@ -280,6 +280,7 @@ def get_js_context(self):
)
% {"format": _("Street address,\nPost Code, City")},
"includeProof": _("Attach a proof of identity"),
'addMoreAuthorities': _('Add more authorities'),
},
"regex": {
"greetings": [_("Dear Sir or Madam")],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<button
class="btn btn-primary btn-lg"
@click.prevent="setStepSelectPublicBody">
&larr; weitere Behörden hinzufügen
&larr; {{ i18n.addMoreAuthorities }}
</button>
</div>
</div>
Expand Down

0 comments on commit f07c08d

Please sign in to comment.