Skip to content

Commit

Permalink
Merge branch 'master' into DHIS2-9661
Browse files Browse the repository at this point in the history
  • Loading branch information
simonadomnisoru committed Sep 28, 2023
2 parents 6e6a463 + ebe67c2 commit 3c7fe40
Show file tree
Hide file tree
Showing 36 changed files with 2,541 additions and 943 deletions.
2 changes: 1 addition & 1 deletion .tx/config
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[main]
host = https://www.transifex.com
lang_map = fa_AF: prs, uz@Cyrl: uz, uz@Latn: uz_Latn
lang_map = fa_AF: prs, uz@Cyrl: uz_UZ_Cyrl, uz@Latn: uz_UZ_Latn

[o:hisp-uio:p:app-capture-app:r:en-pot]
file_filter = i18n/<lang>.po
Expand Down
35 changes: 35 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,38 @@
# [100.40.0](https://github.com/dhis2/capture-app/compare/v100.39.4...v100.40.0) (2023-09-20)


### Features

* [DHIS2-15830] Add orgUnitId to plugin context ([b9ec237](https://github.com/dhis2/capture-app/commit/b9ec237af595a1112dc6db01206e8332c9bb6647))

## [100.39.4](https://github.com/dhis2/capture-app/compare/v100.39.3...v100.39.4) (2023-09-19)


### Bug Fixes

* **translations:** sync translations from transifex (master) ([712b56e](https://github.com/dhis2/capture-app/commit/712b56e749d08432ac18d854cf06cc45dabeda55))

## [100.39.3](https://github.com/dhis2/capture-app/compare/v100.39.2...v100.39.3) (2023-09-14)


### Bug Fixes

* [DHIS2-15356] change tei search parameter from `ou` to `orgUnit` ([#3362](https://github.com/dhis2/capture-app/issues/3362)) ([c7ab828](https://github.com/dhis2/capture-app/commit/c7ab82826254be24959ff25d643b68c1e525c893))

## [100.39.2](https://github.com/dhis2/capture-app/compare/v100.39.1...v100.39.2) (2023-09-14)


### Bug Fixes

* **translations:** sync translations from transifex (master) ([c17c663](https://github.com/dhis2/capture-app/commit/c17c6637f0e6ce93bdd5f5ef3d534d3ac9206c86))

## [100.39.1](https://github.com/dhis2/capture-app/compare/v100.39.0...v100.39.1) (2023-09-13)


### Bug Fixes

* **translations:** sync translations from transifex (master) ([0fab0eb](https://github.com/dhis2/capture-app/commit/0fab0eba7b63cbfd080990913313fc6b6ff2d38f))

# [100.39.0](https://github.com/dhis2/capture-app/compare/v100.38.0...v100.39.0) (2023-09-07)


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -159,9 +159,9 @@ And you apply the current filter
When you click the last name column header
Then the sort arrow should indicate ascending order
And the list should display data ordered ascendingly by last name
When you click the WHOMCH Smoking column header
When you click the WHOMCH Hemoglobin value column header
Then the sort arrow should indicate descending order
And the list should display data ordered ascendingly by WHOMCH Smoking
And the list should display data ordered descending by WHOMCH Hemoglobin

@v>=39
Scenario: The user can remove the program stage filter
Expand Down Expand Up @@ -233,7 +233,7 @@ And the Custom Program stage list is deleted

@v>=40
Scenario: The user can save a program stage working list, based on a TEI working list configuration
Given you open the main page with Ngelehun and Malaria focus investigation context
Given you open a clean main page with Ngelehun and Malaria focus investigation context
Then you see the custom TEI working lists
And you can load the view with the name Ongoing foci responses
And you open the program stage filters from the more filters dropdown menu
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,19 @@ import { v4 as uuid } from 'uuid';
import '../../sharedSteps';
import '../../../sharedSteps';

const cleanUpIfApplicable = () => {
cy.buildApiUrl('programStageWorkingLists?filter=program.id:eq:qDkgAbB5Jlk&fields=id,displayName')
.then(url => cy.request(url))
.then(({ body }) => {
const workingList = body.programStageWorkingLists?.find(e => e.displayName === 'Custom Program stage list');
if (!workingList) {
return null;
}
return cy
.buildApiUrl('programStageWorkingLists', workingList.id)
.then(workingListUrl => cy.request('DELETE', workingListUrl));
});
};
Given('you open the main page with Ngelehun and child programme context', () => {
cy.visit('#/?programId=IpHINAT79UW&orgUnitId=DiszpKrYNg8');
});
Expand Down Expand Up @@ -42,6 +55,7 @@ Given('you open the main page with Ngelehun and Malaria case diagnosis context',
});

Given('you open the main page with Ngelehun and Malaria case diagnosis and Household investigation context', () => {
cleanUpIfApplicable();
cy.visit('#/?programId=qDkgAbB5Jlk&orgUnitId=DiszpKrYNg8');

cy.get('[data-test="tei-working-lists"]')
Expand All @@ -60,6 +74,11 @@ Given('you open the main page with Ngelehun and Malaria case diagnosis and House
.click();
});

Given('you open a clean main page with Ngelehun and Malaria focus investigation context', () => {
cleanUpIfApplicable();
cy.visit('#/?programId=M3xtLkYBlKI&orgUnitId=DiszpKrYNg8');
});

Then('the default working list should be displayed', () => {
const names = [
'Filona',
Expand Down Expand Up @@ -343,9 +362,9 @@ When('you click the last name column header', () => {
.click();
});

When('you click the WHOMCH Smoking column header', () => {
When('you click the WHOMCH Hemoglobin value column header', () => {
cy.get('[data-test="dhis2-uicore-tableheadercellaction"]')
.eq(6)
.last()
.click()
.click();
});
Expand Down Expand Up @@ -400,10 +419,10 @@ Then('the list should display data ordered ascendingly by last name', () => {
});
});

Then('the list should display data ordered ascendingly by WHOMCH Smoking', () => {
Then('the list should display data ordered descending by WHOMCH Hemoglobin', () => {
const names = [
'Siren',
'Hertz',
'Siren',
];

cy.get('[data-test="tei-working-lists"]')
Expand Down Expand Up @@ -740,3 +759,4 @@ Then('the program stage custom working list filters are loaded', () => {
.find('[data-test="more-filters"]')
.should('have.length', 2);
});

64 changes: 21 additions & 43 deletions i18n/ar.po
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
#
# Translators:
# KRG HIS <antonia.bezenchek@informa.pro>, 2020
# phil_dhis2, 2022
# Philip Larsen Donnelly, 2022
# Viktor Varland <viktor@dhis2.org>, 2023
# Hamza Assada <7amza.it@gmail.com>, 2023
#
msgid ""
msgstr ""
"Project-Id-Version: i18next-conv\n"
"POT-Creation-Date: 2023-06-27T06:20:33.460Z\n"
"POT-Creation-Date: 2023-09-04T07:07:59.195Z\n"
"PO-Revision-Date: 2019-06-27 07:31+0000\n"
"Last-Translator: Hamza Assada <7amza.it@gmail.com>, 2023\n"
"Language-Team: Arabic (https://app.transifex.com/hisp-uio/teams/100509/ar/)\n"
Expand Down Expand Up @@ -75,6 +75,16 @@ msgstr "تاريخ التسجيل"
msgid "Last updated"
msgstr "آخر تحديث"

msgid "error encountered during field validation"
msgstr "حدث خطأ أثناء التحقق من صحة الحقل"

msgid "error"
msgstr "خطأ"

msgid ""
"Plugins are not yet available - Please contact your system administrator"
msgstr ""

msgid "This value is validating"
msgstr "يتم التحقق من القيمة"

Expand Down Expand Up @@ -368,9 +378,6 @@ msgstr "لا تزال بعض العمليات قيد التشغيل. يرجى ا
msgid "Operations running"
msgstr "العمليات الجارية"

msgid "Sort"
msgstr "فرز"

msgid ""
"This event has unsaved changes. Leaving this page without saving will lose "
"these changes. Are you sure you want to discard unsaved changes?"
Expand Down Expand Up @@ -755,7 +762,7 @@ msgstr "المجدولة زمنياً"
msgid "Refer"
msgstr ""

msgid "You cant add any more {{ programStageName }} events"
msgid "You can't add any more {{ programStageName }} events"
msgstr ""

msgid "Cancel without saving"
Expand Down Expand Up @@ -819,6 +826,9 @@ msgstr ""
msgid "New Enrollment in program{{escape}} {{programName}}"
msgstr ""

msgid "Save {{trackedEntityTypeName}}"
msgstr ""

msgid "Save {{trackedEntityName}}"
msgstr ""

Expand Down Expand Up @@ -972,15 +982,6 @@ msgstr "يمكنك أيضًا اختيار برنامج من الشريط الع
msgid "Choose a type to start searching"
msgstr "اختر نوعًا لبدء البحث"

msgid "Fill in at least {{count}} attribute to search"
msgid_plural "Fill in at least {{count}} attribute to search"
msgstr[0] ""
msgstr[1] ""
msgstr[2] ""
msgstr[3] ""
msgstr[4] ""
msgstr[5] ""

msgid "Search {{name}}"
msgstr "البحث عن {{name}}"

Expand Down Expand Up @@ -1135,6 +1136,9 @@ msgstr ""
msgid "Mark for follow-up"
msgstr "اشر من أجل الملحق"

msgid "Existing dates for auto-generated events will not be updated."
msgstr ""

msgid "Enrollment date"
msgstr "تاريخ التسجيل"

Expand Down Expand Up @@ -1223,32 +1227,12 @@ msgid ""
"The scheduled date matches the suggested date, but can be changed if needed."
msgstr ""

msgid "The scheduled date is {{count}} days {{position}} the suggested date."
msgid_plural ""
"The scheduled date is {{count}} days {{position}} the suggested date."
msgstr[0] ""
msgstr[1] ""
msgstr[2] ""
msgstr[3] ""
msgstr[4] ""
msgstr[5] ""

msgid "after"
msgstr "بعد"

msgid "before"
msgstr "قبل"

msgid "There are {{count}} scheduled event in {{orgUnitName}} on this day."
msgid_plural ""
"There are {{count}} scheduled event in {{orgUnitName}} on this day."
msgstr[0] ""
msgstr[1] ""
msgstr[2] ""
msgstr[3] ""
msgstr[4] ""
msgstr[5] ""

msgid ""
"Scheduling an event in {{stageName}} for {{programName}} in {{orgUnitName}}"
msgstr ""
Expand Down Expand Up @@ -1496,9 +1480,6 @@ msgstr ""
msgid "Set coordinate"
msgstr "ضبط الإحداثية"

msgid "Page {{currentPage}}"
msgstr "صفحة {{currentPage}}"

msgid "Date"
msgstr "التاريخ"

Expand All @@ -1517,11 +1498,8 @@ msgstr "حتى تاريخ"
msgid "To time"
msgstr "إلى وقت"

msgid "error encountered during field validation"
msgstr "حدث خطأ أثناء التحقق من صحة الحقل"

msgid "error"
msgstr "خطأ"
msgid "Page {{currentPage}}"
msgstr "صفحة {{currentPage}}"

msgid "Delete polygon"
msgstr "حذف المضلع"
Expand Down
Loading

0 comments on commit 3c7fe40

Please sign in to comment.