Skip to content

Commit

Permalink
Update translations and small fix
Browse files Browse the repository at this point in the history
  • Loading branch information
madelondohmen committed Jan 8, 2025
1 parent 818a8eb commit 978cfc2
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 37 deletions.
63 changes: 28 additions & 35 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: 2025-01-07 08:34+0000\n"
"POT-Creation-Date: 2025-01-08 08:21+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 @@ -613,6 +613,15 @@ msgstr ""
msgid "Will be displayed on the findings dashboard for all organizations"
msgstr ""

#: crisis_room/templates/crisis_room.html rocky/templates/403.html
#: rocky/templates/404.html
msgid "Crisis Room"
msgstr ""

#: crisis_room/templates/crisis_room.html
msgid "Crisis Room overview for all organizations"
msgstr ""

#: crisis_room/templates/crisis_room_dashboards.html
msgid "Dashboards"
msgstr ""
Expand All @@ -634,15 +643,6 @@ msgstr ""
msgid "There are no dashboards to display."
msgstr ""

#: crisis_room/templates/crisis_room_findings.html rocky/templates/403.html
#: rocky/templates/404.html
msgid "Crisis Room"
msgstr ""

#: crisis_room/templates/crisis_room_findings.html
msgid "Crisis Room overview for all organizations"
msgstr ""

#: crisis_room/templates/crisis_room_findings.html
#: reports/report_types/findings_report/report.html
#: reports/templates/partials/report_findings_table.html
Expand All @@ -653,11 +653,11 @@ msgstr ""
#: crisis_room/templates/crisis_room_findings.html
msgid ""
"\n"
" This overview shows the total number "
"of findings per\n"
" severity that have been identified "
"for all organizations.\n"
" "
" This overview shows the total number of findings "
"per\n"
" severity that have been identified for all "
"organizations.\n"
" "
msgstr ""

#: crisis_room/templates/crisis_room_findings.html
Expand All @@ -667,30 +667,29 @@ msgstr ""
#: crisis_room/templates/crisis_room_findings.html
msgid ""
"\n"
" This table shows the findings that "
"have been identiefied for each organization,\n"
" sorted by the finding types and "
"grouped by organizations.\n"
" "
" This table shows the findings that have been "
"identiefied for each organization,\n"
" sorted by the finding types and grouped by "
"organizations.\n"
" "
msgstr ""

#: crisis_room/templates/crisis_room_findings.html
msgid ""
"\n"
" No findings have been identified yet. As soon as "
"they have been\n"
" identified, they will be shown on this page.\n"
" "
" No findings have been identified yet. As soon as they have "
"been\n"
" identified, they will be shown on this page.\n"
" "
msgstr ""

#: crisis_room/templates/crisis_room_findings.html
msgid ""
"\n"
" There are no organizations yet. After creating an "
"organization,\n"
" the identified findings with severity 'critical' and "
"'high' will be shown here.\n"
" "
" There are no organizations yet. After creating an organization,\n"
" the identified findings with severity 'critical' and 'high' will "
"be shown here.\n"
" "
msgstr ""

#: crisis_room/templates/crisis_room_header.html
Expand Down Expand Up @@ -721,12 +720,6 @@ msgstr ""
msgid "Findings"
msgstr ""

#: crisis_room/views.py
msgid ""
"Failed to get list of findings for organization {}, check server logs for "
"more details."
msgstr ""

#: katalogus/client.py
msgid ""
"The KATalogus has an unexpected error. Check the logs for further details."
Expand Down
4 changes: 2 additions & 2 deletions rocky/tests/test_dashboard.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from crisis_room.views import CrisisRoomFindings, DashboardService
from crisis_room.views import CrisisRoom, DashboardService
from pytest_django.asserts import assertContains

from tests.conftest import setup_request
Expand All @@ -14,7 +14,7 @@ def test_crisis_room_findings_dashboard(rf, mocker, client_member, findings_dash
summary(findings_dashboard_mock_data)

request = setup_request(rf.get("crisis_room"), client_member.user)
response = CrisisRoomFindings.as_view()(request)
response = CrisisRoom.as_view()(request)

assert response.status_code == 200
# View should show the 'Findings overview' for all organizations
Expand Down

0 comments on commit 978cfc2

Please sign in to comment.