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

feat: add region to collection #312

Merged
merged 5 commits into from
Nov 2, 2023
Merged
Show file tree
Hide file tree
Changes from 3 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
1 change: 1 addition & 0 deletions data_registry/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -198,6 +198,7 @@ class CollectionAdmin(TabbedDjangoJqueryTranslationAdmin):
"country_en",
"country_es",
"country_ru",
"region",
"title_en",
"title_es",
"title_ru",
Expand Down
82 changes: 53 additions & 29 deletions data_registry/locale/en/LC_MESSAGES/django.po
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-08-30 14:05-0400\n"
"POT-Creation-Date: 2023-11-02 09:33-0300\n"
"PO-Revision-Date: 2021-08-04 17:44+0000\n"
"Last-Translator: Yohanna Lisnichuk <[email protected]>, 2023\n"
"Language-Team: English (https://app.transifex.com/open-contracting-partnership-1/teams/123427/en/)\n"
Expand Down Expand Up @@ -51,59 +51,79 @@ msgstr "Past year"
msgid "More than a year ago"
msgstr "More than a year ago"

#: data_registry/admin.py:186 data_registry/admin.py:310
#: data_registry/admin.py:186 data_registry/admin.py:311
msgid "Management"
msgstr "Management"

#: data_registry/admin.py:192
msgid "Basics"
msgstr "Basics"

#: data_registry/admin.py:207 data_registry/admin.py:325
#: data_registry/admin.py:208 data_registry/admin.py:326
#: data_registry/templates/detail.html:116
msgid "Overview"
msgstr "Overview"

#: data_registry/admin.py:222
#: data_registry/admin.py:223
msgid "Details"
msgstr "Details"

#: data_registry/admin.py:336
#: data_registry/admin.py:337
msgid "Data availability"
msgstr "Data availability"

#: data_registry/models.py:157 data_registry/models.py:168
#: data_registry/models.py:121
msgid "Africa and Middle East"
msgstr "Africa and Middle East"

#: data_registry/models.py:122
msgid "Asia"
msgstr "Asia"

#: data_registry/models.py:123
msgid "Europe"
msgstr "Europe"

#: data_registry/models.py:124
msgid "Latin America"
msgstr "Latin America"

#: data_registry/models.py:125
msgid "North America"
msgstr "North America"

#: data_registry/models.py:170 data_registry/models.py:179
msgid "Monthly"
msgstr "Monthly"

#: data_registry/models.py:158 data_registry/models.py:170
#: data_registry/models.py:171
msgid "Every 6 months"
msgstr "Every 6 months"

#: data_registry/models.py:159 data_registry/models.py:171
#: data_registry/models.py:172 data_registry/models.py:181
msgid "Annually"
msgstr "Annually"

#: data_registry/models.py:160
#: data_registry/models.py:173
msgid "This dataset is no longer updated by the publisher"
msgstr "This dataset is no longer updated by the publisher"

#: data_registry/models.py:163
msgid "Unknown"
msgstr "Unknown"

#: data_registry/models.py:164
#: data_registry/models.py:176
msgid "Real time"
msgstr "Real time"

#: data_registry/models.py:165
#: data_registry/models.py:177
msgid "Hourly"
msgstr "Hourly"

#: data_registry/models.py:166
#: data_registry/models.py:178
msgid "Daily"
msgstr "Daily"

#: data_registry/models.py:163
msgid "Unknown"
msgstr "Unknown"

#: data_registry/models.py:167
msgid "Weekly"
msgstr "Weekly"
Expand All @@ -127,7 +147,7 @@ msgid "BACK TO DATASETS SEARCH"
msgstr "Back to Datasets Search"

#: data_registry/templates/detail.html:90
#: data_registry/templates/search.html:160
#: data_registry/templates/search.html:161
msgid "Available formats:"
msgstr "Available formats:"

Expand All @@ -136,22 +156,22 @@ msgid "ACCESS"
msgstr "Access"

#: data_registry/templates/detail.html:120
#: data_registry/templates/search.html:147
#: data_registry/templates/search.html:148
msgid "Data date range:"
msgstr "Data date range:"

#: data_registry/templates/detail.html:122
#: data_registry/templates/search.html:149
#: data_registry/templates/search.html:150
msgid "Update frequency:"
msgstr "Update frequency:"

#: data_registry/templates/detail.html:124
#: data_registry/templates/search.html:151
#: data_registry/templates/search.html:152
msgid "Last retrieved:"
msgstr "Last retrieved:"

#: data_registry/templates/detail.html:127
#: data_registry/templates/search.html:154
#: data_registry/templates/search.html:155
#, python-format
msgid "retrieved %(retrieval_frequency)s"
msgstr "retrieved %(retrieval_frequency)s"
Expand Down Expand Up @@ -567,34 +587,38 @@ msgstr[0] "1 dataset"
msgstr[1] "%(counter)s datasets"

#: data_registry/templates/search.html:107
msgid "Region"
msgstr "Region"

#: data_registry/templates/search.html:108
msgid "Data date range"
msgstr "Data date range"

#: data_registry/templates/search.html:108
#: data_registry/templates/search.html:109
msgid "Update frequency"
msgstr "Update frequency"

#: data_registry/templates/search.html:109
#: data_registry/templates/search.html:110
msgid "Data contains"
msgstr "Data contains"

#: data_registry/templates/search.html:116
#: data_registry/templates/search.html:117
#, python-format
msgid "%(counter)s dataset matches the selected filters"
msgid_plural "%(counter)s datasets match the selected filters"
msgstr[0] "%(counter)s dataset matches the selected filters"
msgstr[1] "%(counter)s datasets match the selected filters"

#: data_registry/templates/search.html:122
#: data_registry/templates/search.html:123
#, python-format
msgid "Showing all %(counter)s datasets"
msgstr "Showing all %(counter)s datasets"

#: data_registry/templates/search.html:173
#: data_registry/templates/search.html:174
msgid "See details"
msgstr "See details"

#: data_registry/templates/search.html:186
#: data_registry/templates/search.html:187
msgid "Back to Top"
msgstr "Back to Top"

Expand All @@ -603,7 +627,7 @@ msgstr "Back to Top"
msgid "[data-registry] Re: %(collection)s"
msgstr "[data-registry] Re: %(collection)s"

#: data_registry/views.py:60 data_registry/views.py:189
#: data_registry/views.py:60 data_registry/views.py:195
msgid "All"
msgstr "All"

Expand Down Expand Up @@ -647,6 +671,6 @@ msgstr "Milestones data"
msgid "Amendments data"
msgstr "Amendments data"

#: data_registry/views.py:229
#: data_registry/views.py:235
msgid "OCP Kingfisher Database"
msgstr "OCP Kingfisher Database"
Loading