Skip to content

Commit

Permalink
feat: Add "Download the CSV files, instead.", closes #280
Browse files Browse the repository at this point in the history
  • Loading branch information
jpmckinney committed Nov 1, 2024
1 parent 5e9045c commit cf08f2a
Show file tree
Hide file tree
Showing 5 changed files with 34 additions and 29 deletions.
12 changes: 7 additions & 5 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: 2024-11-01 21:44+0000\n"
"POT-Creation-Date: 2024-11-01 22:18+0000\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-"
Expand Down Expand Up @@ -387,12 +387,14 @@ msgid ""
"Excel files can have at most <a href=\"https://support.microsoft.com/en-us/"
"office/excel-specifications-and-"
"limits-1672b34d-7043-467e-8e27-269d656771c3\" target=\"_blank\">1,048,576 "
"rows</a>. If a year is missing, it had too many rows."
"rows</a>. If a year is missing, it had too many rows. Download the CSV "
"files, instead."
msgstr ""
"Excel files can have at most <a href=\"https://support.microsoft.com/en-us/"
"office/excel-specifications-and-"
"limits-1672b34d-7043-467e-8e27-269d656771c3\" target=\"_blank\">1,048,576 "
"rows</a>. If a year is missing, it had too many rows."
"rows</a>. If a year is missing, it had too many rows. Download the CSV "
"files, instead."

#: data_registry/templates/detail.html:337
msgid ""
Expand Down Expand Up @@ -643,7 +645,7 @@ msgstr "Back to Top"
msgid "[data-registry] Re: %(collection)s"
msgstr "[data-registry] Re: %(collection)s"

#: data_registry/views.py:59 data_registry/views.py:234
#: data_registry/views.py:59 data_registry/views.py:238
msgid "All"
msgstr "All"

Expand Down Expand Up @@ -695,6 +697,6 @@ msgstr "Milestones data"
msgid "Amendments data"
msgstr "Amendments data"

#: data_registry/views.py:274
#: data_registry/views.py:278
msgid "OCP Kingfisher Database"
msgstr "OCP Kingfisher Database"
9 changes: 5 additions & 4 deletions data_registry/locale/en_US/LC_MESSAGES/django.po
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2024-11-01 21:44+0000\n"
"POT-Creation-Date: 2024-11-01 22:18+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <[email protected]>\n"
Expand Down Expand Up @@ -360,7 +360,8 @@ msgid ""
"Excel files can have at most <a href=\"https://support.microsoft.com/en-us/"
"office/excel-specifications-and-"
"limits-1672b34d-7043-467e-8e27-269d656771c3\" target=\"_blank\">1,048,576 "
"rows</a>. If a year is missing, it had too many rows."
"rows</a>. If a year is missing, it had too many rows. Download the CSV "
"files, instead."
msgstr ""

#: data_registry/templates/detail.html:337
Expand Down Expand Up @@ -586,7 +587,7 @@ msgstr ""
msgid "[data-registry] Re: %(collection)s"
msgstr ""

#: data_registry/views.py:59 data_registry/views.py:234
#: data_registry/views.py:59 data_registry/views.py:238
msgid "All"
msgstr ""

Expand Down Expand Up @@ -638,6 +639,6 @@ msgstr ""
msgid "Amendments data"
msgstr ""

#: data_registry/views.py:274
#: data_registry/views.py:278
msgid "OCP Kingfisher Database"
msgstr ""
11 changes: 6 additions & 5 deletions data_registry/locale/es/LC_MESSAGES/django.po
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2024-11-01 21:44+0000\n"
"POT-Creation-Date: 2024-11-01 22:18+0000\n"
"PO-Revision-Date: 2021-08-04 17:44+0000\n"
"Last-Translator: Yohanna Lisnichuk <[email protected]>, 2023\n"
"Language-Team: Spanish (https://app.transifex.com/open-contracting-"
Expand Down Expand Up @@ -391,12 +391,13 @@ msgid ""
"Excel files can have at most <a href=\"https://support.microsoft.com/en-us/"
"office/excel-specifications-and-"
"limits-1672b34d-7043-467e-8e27-269d656771c3\" target=\"_blank\">1,048,576 "
"rows</a>. If a year is missing, it had too many rows."
"rows</a>. If a year is missing, it had too many rows. Download the CSV "
"files, instead."
msgstr ""
"Los archivos Excel pueden tener como máximo <a href=\"https://support."
"microsoft.com/en-us/office/excel-specifications-and-"
"limits-1672b34d-7043-467e-8e27-269d656771c3\" target=\"_blank\">1,048,576 "
"filas</a>. Si un año no está, es que tiene demasiadas filas."
"filas</a>. Si un año no está, es que tiene demasiadas filas. Descargue los archivos CSV en su lugar."

#: data_registry/templates/detail.html:337
msgid ""
Expand Down Expand Up @@ -656,7 +657,7 @@ msgstr "Volver arriba"
msgid "[data-registry] Re: %(collection)s"
msgstr "[data-registry] Re: %(collection)s"

#: data_registry/views.py:59 data_registry/views.py:234
#: data_registry/views.py:59 data_registry/views.py:238
msgid "All"
msgstr "Todos"

Expand Down Expand Up @@ -708,6 +709,6 @@ msgstr "Datos de hitos"
msgid "Amendments data"
msgstr "Datos de enmiendas"

#: data_registry/views.py:274
#: data_registry/views.py:278
msgid "OCP Kingfisher Database"
msgstr "Base de datos Kingfisher de OCP"
29 changes: 15 additions & 14 deletions data_registry/locale/ru/LC_MESSAGES/django.po
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2024-11-01 21:44+0000\n"
"POT-Creation-Date: 2024-11-01 22:18+0000\n"
"PO-Revision-Date: 2021-08-04 17:44+0000\n"
"Last-Translator: Yohanna Lisnichuk <[email protected]>, 2023\n"
"Language-Team: Russian (https://app.transifex.com/open-contracting-"
Expand All @@ -30,9 +30,9 @@ msgid ""
"<em>Remember to provide information in all languages. You can use the "
"dropdown at the top of the page to toggle the language for all fields.</em>"
msgstr ""
"<em> Не забудьте предоставить информацию на всех языках. Вы можете "
"<em>Не забудьте предоставить информацию на всех языках. Вы можете "
"использовать выпадающий список в верхней части страницы, чтобы переключить "
"язык для всех полей. </em>"
"язык для всех полей.</em>"

#: data_registry/admin.py:121
msgid "no active job"
Expand Down Expand Up @@ -363,7 +363,7 @@ msgid ""
"<code>.jsonl</code> file."
msgstr ""
"Каждый процесс заключения контракта представлен в виде одной строки текста "
"JSON в <code> .jsonl </code> файле."
"JSON в <code>.jsonl</code> файле."

#: data_registry/templates/detail.html:314
msgid ""
Expand All @@ -384,30 +384,31 @@ msgid ""
"Each contracting process is represented as one row in the <code>main</code> "
"sheet. Other sheets link to it via the <code>_link_main</code> column."
msgstr ""
"Каждый процесс заключения контракта представлен одной строкой на <code> "
"основном </code> листе. Другие листы ссылаются на него через столбец <code> "
"_link_main </code>."
"Каждый процесс заключения контракта представлен одной строкой на <code>"
"основном</code> листе. Другие листы ссылаются на него через столбец <code>"
"_link_main</code>."

#: data_registry/templates/detail.html:328
msgid ""
"Excel files can have at most <a href=\"https://support.microsoft.com/en-us/"
"office/excel-specifications-and-"
"limits-1672b34d-7043-467e-8e27-269d656771c3\" target=\"_blank\">1,048,576 "
"rows</a>. If a year is missing, it had too many rows."
"rows</a>. If a year is missing, it had too many rows. Download the CSV "
"files, instead."
msgstr ""
"Файлы Excel могут содержать не более <a href=\"https://support.microsoft.com/"
"en-us/office/excel-specifications-and-"
"limits-1672b34d-7043-467e-8e27-269d656771c3\" target=\"_blank\">1,048,576 "
"строк</a>. Если год отсутствует, в нем было слишком много строк."
"строк</a>. Если год отсутствует, в нем было слишком много строк. Вместо этого загрузите CSV-файлы."

#: data_registry/templates/detail.html:337
msgid ""
"Each contracting process is represented as one row in the <code>main.csv</"
"code> file. Other files link to it via the <code>_link_main</code> column."
msgstr ""
"Каждый процесс заключения контракта представлен одной строкой в ​​файле <code> "
"main.csv </code>. Другие файлы ссылаются на него через столбец <code> "
"_link_main </code>."
"Каждый процесс заключения контракта представлен одной строкой в файле <code>"
"main.csv</code>. Другие файлы ссылаются на него через столбец <code>"
"_link_main</code>."

#: data_registry/templates/detail.html:342
msgid ""
Expand Down Expand Up @@ -656,7 +657,7 @@ msgstr "вернуться наверх"
msgid "[data-registry] Re: %(collection)s"
msgstr "[Реестр данных]: %(collection)s"

#: data_registry/views.py:59 data_registry/views.py:234
#: data_registry/views.py:59 data_registry/views.py:238
msgid "All"
msgstr "Все"

Expand Down Expand Up @@ -708,6 +709,6 @@ msgstr "Данные о этапах"
msgid "Amendments data"
msgstr "Данные о изменениях"

#: data_registry/views.py:274
#: data_registry/views.py:278
msgid "OCP Kingfisher Database"
msgstr "База данных OCP Kingfisher"
2 changes: 1 addition & 1 deletion data_registry/templates/detail.html
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,7 @@ <h3>Excel</h3>
</p>
<p>
{% blocktranslate trimmed %}
Excel files can have at most <a href="https://support.microsoft.com/en-us/office/excel-specifications-and-limits-1672b34d-7043-467e-8e27-269d656771c3" target="_blank">1,048,576 rows</a>. If a year is missing, it had too many rows.
Excel files can have at most <a href="https://support.microsoft.com/en-us/office/excel-specifications-and-limits-1672b34d-7043-467e-8e27-269d656771c3" target="_blank">1,048,576 rows</a>. If a year is missing, it had too many rows. Download the CSV files, instead.
{% endblocktranslate %}
</p>
{% include "includes/files.html" with files=files.xlsx suffix="xlsx" hideempty=True %}
Expand Down

0 comments on commit cf08f2a

Please sign in to comment.