Skip to content

Commit

Permalink
Form text update and make lang
Browse files Browse the repository at this point in the history
  • Loading branch information
Donnype committed Oct 16, 2024
1 parent 73b96fe commit 6c97ae9
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 8 deletions.
7 changes: 4 additions & 3 deletions rocky/reports/templates/partials/report_names_header.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,10 @@ <h2>{% translate "Report name" %}</h2>
<p>
{% blocktranslate trimmed %}
To make the report names more descriptive, you can include placeholders for the
object name, the report type and/or the reference date. Use the placeholder "{ooi}" for the
object name, "{report type}" for the report type and use a <a href="https://strftime.org/" target="_blank" rel="noopener">Python
strftime code</a> for the reference date.
object name, the report type and/or the reference date. For subreports and reports over a single object,
use the placeholder "{ooi}" for the object name, "{report type}" for the report type and use a
<a href="https://strftime.org/" target="_blank" rel="noopener">Python strftime code</a> for the reference
date. For reports over multiple objects, use "{oois_count}" for the number of objects in the report.
{% endblocktranslate %}
</p>
<p>
Expand Down
12 changes: 7 additions & 5 deletions rocky/rocky/locale/django.pot
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2024-10-09 14:20+0000\n"
"POT-Creation-Date: 2024-10-16 14:17+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 @@ -3793,10 +3793,12 @@ msgstr ""
#: reports/templates/partials/report_names_header.html
msgid ""
"To make the report names more descriptive, you can include placeholders for "
"the object name, the report type and/or the reference date. Use the "
"placeholder \"{ooi}\" for the object name, \"{report type}\" for the report "
"type and use a <a href=\"https://strftime.org/\" target=\"_blank\" "
"rel=\"noopener\">Python strftime code</a> for the reference date."
"the object name, the report type and/or the reference date. For subreports "
"and reports over a single object, use the placeholder \"{ooi}\" for the "
"object name, \"{report type}\" for the report type and use a <a "
"href=\"https://strftime.org/\" target=\"_blank\" rel=\"noopener\">Python "
"strftime code</a> for the reference date. For reports over multiple objects, "
"use \"{oois_count}\" for the number of objects in the report."
msgstr ""

#: reports/templates/partials/report_names_header.html
Expand Down

0 comments on commit 6c97ae9

Please sign in to comment.