Skip to content

Commit

Permalink
#12605 - rename parameters with EventPerson to EventParticipant
Browse files Browse the repository at this point in the history
  • Loading branch information
carina29 committed Oct 17, 2023
1 parent f006bbe commit 5735b62
Show file tree
Hide file tree
Showing 49 changed files with 54 additions and 54 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -59,25 +59,25 @@ private void setUpFieldVisibilities(FragmentEventParticipantEditLayoutBinding co
setFieldVisibilitiesAndAccesses(EventDto.class, contentBinding.mainContent);

if (record.getResultingCaseUuid() != null) {
contentBinding.createCaseFromEventPerson.setVisibility(GONE);
contentBinding.createCaseFromEventParticipant.setVisibility(GONE);
if (DatabaseHelper.getCaseDao().queryUuidBasic(record.getResultingCaseUuid()) == null) {
contentBinding.eventParticipantButtonsPanel.setVisibility(GONE);
}
} else {
contentBinding.openEventPersonCase.setVisibility(GONE);
contentBinding.openEventParticipantCase.setVisibility(GONE);
}
}

private void setUpControlListeners(FragmentEventParticipantEditLayoutBinding contentBinding) {
contentBinding.openEventPersonCase.setOnClickListener(new View.OnClickListener() {
contentBinding.openEventParticipantCase.setOnClickListener(new View.OnClickListener() {

@Override
public void onClick(View v) {
CaseReadActivity.startActivity(getActivity(), record.getResultingCaseUuid(), true);
}
});

contentBinding.createCaseFromEventPerson.setOnClickListener(new View.OnClickListener() {
contentBinding.createCaseFromEventParticipant.setOnClickListener(new View.OnClickListener() {

@Override
public void onClick(View v) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ private void setUpFieldVisibilities(FragmentEventParticipantReadLayoutBinding co
}

private void setUpControlListeners(FragmentEventParticipantReadLayoutBinding contentBinding) {
contentBinding.openEventPersonCase.setOnClickListener(new View.OnClickListener() {
contentBinding.openEventParticipantCase.setOnClickListener(new View.OnClickListener() {

@Override
public void onClick(View v) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -116,18 +116,18 @@
app:userViewRight="@{UserRight.CASE_VIEW}">

<de.symeda.sormas.app.component.controls.ControlButton
android:id="@+id/create_case_from_event_person"
android:id="@+id/create_case_from_event_participant"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentStart="true"
app:buttonType="@{ControlButtonType.LINE_PRIMARY}"
app:iconStart="@drawable/ic_create_case_black_24dp"
app:rounded="true"
android:text="@string/action_create_case_from_event_person"
android:text="@string/action_create_case_from_event_participant"
app:userViewRight="@{UserRight.CASE_CREATE}" />

<de.symeda.sormas.app.component.controls.ControlButton
android:id="@+id/open_event_person_case"
android:id="@+id/open_event_participant_case"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/action_open_event_participant_case"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@
app:userViewRight="@{UserRight.CASE_VIEW}">

<de.symeda.sormas.app.component.controls.ControlButton
android:id="@+id/open_event_person_case"
android:id="@+id/open_event_participant_case"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/action_open_event_participant_case"
Expand Down
2 changes: 1 addition & 1 deletion sormas-app/app/src/main/res/values-ar-rSA/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
<string name="action_confirm">Confirm</string>
<string name="action_create">Create</string>
<string name="action_create_case_from_contact">Create a case for this contact person</string>
<string name="action_create_case_from_event_person">Create a case for this event person</string>
<string name="action_create_case_from_event_participant">Create a case for this event person</string>
<string name="action_create_treatment">Create treatment</string>
<string name="action_edit_data">Edit data</string>
<string name="action_delete">Delete</string>
Expand Down
2 changes: 1 addition & 1 deletion sormas-app/app/src/main/res/values-ar/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
<string name="action_confirm">Confirm</string>
<string name="action_create">Create</string>
<string name="action_create_case_from_contact">Create a case for this contact person</string>
<string name="action_create_case_from_event_person">Create a case for this event person</string>
<string name="action_create_case_from_event_participant">Create a case for this event person</string>
<string name="action_create_treatment">Create treatment</string>
<string name="action_edit_data">Edit data</string>
<string name="action_delete">Delete</string>
Expand Down
2 changes: 1 addition & 1 deletion sormas-app/app/src/main/res/values-cs-rCZ/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
<string name="action_confirm">Potvrdit</string>
<string name="action_create">Vytvořit</string>
<string name="action_create_case_from_contact">Vytvořit případ pro tuto kontaktní osobu</string>
<string name="action_create_case_from_event_person">Vytvořit případ pro tuto osobu události</string>
<string name="action_create_case_from_event_participant">Vytvořit případ pro tuto osobu události</string>
<string name="action_create_treatment">Vytvořit léčbu</string>
<string name="action_edit_data">Upravit data</string>
<string name="action_delete">Vymazat</string>
Expand Down
2 changes: 1 addition & 1 deletion sormas-app/app/src/main/res/values-de-rCH/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
<string name="action_confirm">Bestätigen</string>
<string name="action_create">Erstellen</string>
<string name="action_create_case_from_contact">In Fall konvertieren</string>
<string name="action_create_case_from_event_person">Fall für diese Ereignisperson erstellen</string>
<string name="action_create_case_from_event_participant">Fall für diese Ereignisperson erstellen</string>
<string name="action_create_treatment">Behandlung erstellen</string>
<string name="action_edit_data">Daten bearbeiten</string>
<string name="action_delete">Löschen</string>
Expand Down
2 changes: 1 addition & 1 deletion sormas-app/app/src/main/res/values-de-rDE/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
<string name="action_confirm">Bestätigen</string>
<string name="action_create">Erstellen</string>
<string name="action_create_case_from_contact">In Fall konvertieren</string>
<string name="action_create_case_from_event_person">Fall für diese Ereignisperson erstellen</string>
<string name="action_create_case_from_event_participant">Fall für diese Ereignisperson erstellen</string>
<string name="action_create_treatment">Behandlung erstellen</string>
<string name="action_edit_data">Daten bearbeiten</string>
<string name="action_delete">Löschen</string>
Expand Down
2 changes: 1 addition & 1 deletion sormas-app/app/src/main/res/values-en-rAF/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
<string name="action_confirm">Confirm</string>
<string name="action_create">Create</string>
<string name="action_create_case_from_contact">Create a case for this contact person</string>
<string name="action_create_case_from_event_person">Create a case for this event person</string>
<string name="action_create_case_from_event_participant">Create a case for this event person</string>
<string name="action_create_treatment">Create treatment</string>
<string name="action_edit_data">Edit data</string>
<string name="action_delete">Delete</string>
Expand Down
2 changes: 1 addition & 1 deletion sormas-app/app/src/main/res/values-en-rGH/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
<string name="action_confirm">Confirm</string>
<string name="action_create">Create</string>
<string name="action_create_case_from_contact">Create a case for this contact person</string>
<string name="action_create_case_from_event_person">Create a case for this event person</string>
<string name="action_create_case_from_event_participant">Create a case for this event person</string>
<string name="action_create_treatment">Create treatment</string>
<string name="action_edit_data">Edit data</string>
<string name="action_delete">Delete</string>
Expand Down
2 changes: 1 addition & 1 deletion sormas-app/app/src/main/res/values-en-rNG/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
<string name="action_confirm">Confirm</string>
<string name="action_create">Create</string>
<string name="action_create_case_from_contact">Create a case for this contact person</string>
<string name="action_create_case_from_event_person">Create a case for this event person</string>
<string name="action_create_case_from_event_participant">Create a case for this event person</string>
<string name="action_create_treatment">Create treatment</string>
<string name="action_edit_data">Edit data</string>
<string name="action_delete">Delete</string>
Expand Down
2 changes: 1 addition & 1 deletion sormas-app/app/src/main/res/values-es-rCU/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
<string name="action_confirm">Confirmar</string>
<string name="action_create">Crear</string>
<string name="action_create_case_from_contact">Crear un caso para esta persona de contacto</string>
<string name="action_create_case_from_event_person">Crear un caso para esta persona de evento</string>
<string name="action_create_case_from_event_participant">Crear un caso para esta persona de evento</string>
<string name="action_create_treatment">Crear tratamiento</string>
<string name="action_edit_data">Editar datos</string>
<string name="action_delete">Eliminar</string>
Expand Down
2 changes: 1 addition & 1 deletion sormas-app/app/src/main/res/values-es-rEC/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
<string name="action_confirm">Confirmar</string>
<string name="action_create">Crear</string>
<string name="action_create_case_from_contact">Crear un caso para esta persona de contacto</string>
<string name="action_create_case_from_event_person">Crear un caso para este evento de persona</string>
<string name="action_create_case_from_event_participant">Crear un caso para este evento de persona</string>
<string name="action_create_treatment">Crear tratamiento</string>
<string name="action_edit_data">Editar datos</string>
<string name="action_delete">Eliminar</string>
Expand Down
2 changes: 1 addition & 1 deletion sormas-app/app/src/main/res/values-es-rES/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
<string name="action_confirm">Confirm</string>
<string name="action_create">Create</string>
<string name="action_create_case_from_contact">Create a case for this contact person</string>
<string name="action_create_case_from_event_person">Create a case for this event person</string>
<string name="action_create_case_from_event_participant">Create a case for this event person</string>
<string name="action_create_treatment">Create treatment</string>
<string name="action_edit_data">Edit data</string>
<string name="action_delete">Delete</string>
Expand Down
2 changes: 1 addition & 1 deletion sormas-app/app/src/main/res/values-fa-rAF/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
<string name="action_confirm">Confirm</string>
<string name="action_create">Create</string>
<string name="action_create_case_from_contact">Create a case for this contact person</string>
<string name="action_create_case_from_event_person">Create a case for this event person</string>
<string name="action_create_case_from_event_participant">Create a case for this event person</string>
<string name="action_create_treatment">Create treatment</string>
<string name="action_edit_data">Edit data</string>
<string name="action_delete">Delete</string>
Expand Down
2 changes: 1 addition & 1 deletion sormas-app/app/src/main/res/values-fi-rFI/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
<string name="action_confirm">Vahvista</string>
<string name="action_create">Luo</string>
<string name="action_create_case_from_contact">Lisää tämä kontaktihenkilö potilaaksi</string>
<string name="action_create_case_from_event_person">Lisää tapahtuman henkilö potilaaksi</string>
<string name="action_create_case_from_event_participant">Lisää tapahtuman henkilö potilaaksi</string>
<string name="action_create_treatment">Luo hoito</string>
<string name="action_edit_data">Muokkaa arvoja</string>
<string name="action_delete">Poista</string>
Expand Down
2 changes: 1 addition & 1 deletion sormas-app/app/src/main/res/values-fil-rPH/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
<string name="action_confirm">Confirm</string>
<string name="action_create">Create</string>
<string name="action_create_case_from_contact">Create a case for this contact person</string>
<string name="action_create_case_from_event_person">Create a case for this event person</string>
<string name="action_create_case_from_event_participant">Create a case for this event person</string>
<string name="action_create_treatment">Create treatment</string>
<string name="action_edit_data">Edit data</string>
<string name="action_delete">Delete</string>
Expand Down
2 changes: 1 addition & 1 deletion sormas-app/app/src/main/res/values-fj-rFJ/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
<string name="action_confirm">Confirm</string>
<string name="action_create">Create</string>
<string name="action_create_case_from_contact">Create a case for this contact person</string>
<string name="action_create_case_from_event_person">Create a case for this event person</string>
<string name="action_create_case_from_event_participant">Create a case for this event person</string>
<string name="action_create_treatment">Create treatment</string>
<string name="action_edit_data">Edit data</string>
<string name="action_delete">Delete</string>
Expand Down
2 changes: 1 addition & 1 deletion sormas-app/app/src/main/res/values-fr-rCD/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
<string name="action_confirm">Confirm</string>
<string name="action_create">Create</string>
<string name="action_create_case_from_contact">Create a case for this contact person</string>
<string name="action_create_case_from_event_person">Create a case for this event person</string>
<string name="action_create_case_from_event_participant">Create a case for this event person</string>
<string name="action_create_treatment">Create treatment</string>
<string name="action_edit_data">Edit data</string>
<string name="action_delete">Delete</string>
Expand Down
2 changes: 1 addition & 1 deletion sormas-app/app/src/main/res/values-fr-rCH/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
<string name="action_confirm">Confirmer</string>
<string name="action_create">Créer</string>
<string name="action_create_case_from_contact">Créer un cas pour cette personne de contact</string>
<string name="action_create_case_from_event_person">Créer un cas pour cette personne de l\'événement</string>
<string name="action_create_case_from_event_participant">Créer un cas pour cette personne de l\'événement</string>
<string name="action_create_treatment">Créer un traitement</string>
<string name="action_edit_data">Modifier les données</string>
<string name="action_delete">Effacer</string>
Expand Down
2 changes: 1 addition & 1 deletion sormas-app/app/src/main/res/values-fr-rFR/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
<string name="action_confirm">Confirmer</string>
<string name="action_create">Créer</string>
<string name="action_create_case_from_contact">Créer un cas pour cette personne de contact</string>
<string name="action_create_case_from_event_person">Créer un cas pour cette personne de l\'événement</string>
<string name="action_create_case_from_event_participant">Créer un cas pour cette personne de l\'événement</string>
<string name="action_create_treatment">Créer un traitement</string>
<string name="action_edit_data">Modifier les données</string>
<string name="action_delete">Effacer</string>
Expand Down
2 changes: 1 addition & 1 deletion sormas-app/app/src/main/res/values-fr-rTN/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
<string name="action_confirm">Confirmer</string>
<string name="action_create">Créer</string>
<string name="action_create_case_from_contact">Créer un cas pour cette personne de contact</string>
<string name="action_create_case_from_event_person">Créer un cas pour cette personne de l\'événement</string>
<string name="action_create_case_from_event_participant">Créer un cas pour cette personne de l\'événement</string>
<string name="action_create_treatment">Créer un traitement</string>
<string name="action_edit_data">Modifier les données</string>
<string name="action_delete">Effacer</string>
Expand Down
2 changes: 1 addition & 1 deletion sormas-app/app/src/main/res/values-haw-rUS/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
<string name="action_confirm">Confirm</string>
<string name="action_create">Create</string>
<string name="action_create_case_from_contact">Create a case for this contact person</string>
<string name="action_create_case_from_event_person">Create a case for this event person</string>
<string name="action_create_case_from_event_participant">Create a case for this event person</string>
<string name="action_create_treatment">Create treatment</string>
<string name="action_edit_data">Edit data</string>
<string name="action_delete">Delete</string>
Expand Down
2 changes: 1 addition & 1 deletion sormas-app/app/src/main/res/values-hi-rIN/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
<string name="action_confirm">Confirm</string>
<string name="action_create">Create</string>
<string name="action_create_case_from_contact">Create a case for this contact person</string>
<string name="action_create_case_from_event_person">Create a case for this event person</string>
<string name="action_create_case_from_event_participant">Create a case for this event person</string>
<string name="action_create_treatment">Create treatment</string>
<string name="action_edit_data">Edit data</string>
<string name="action_delete">Delete</string>
Expand Down
2 changes: 1 addition & 1 deletion sormas-app/app/src/main/res/values-hr-rHR/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
<string name="action_confirm">Confirm</string>
<string name="action_create">Create</string>
<string name="action_create_case_from_contact">Create a case for this contact person</string>
<string name="action_create_case_from_event_person">Create a case for this event person</string>
<string name="action_create_case_from_event_participant">Create a case for this event person</string>
<string name="action_create_treatment">Create treatment</string>
<string name="action_edit_data">Edit data</string>
<string name="action_delete">Delete</string>
Expand Down
2 changes: 1 addition & 1 deletion sormas-app/app/src/main/res/values-it-rCH/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
<string name="action_confirm">Conferma</string>
<string name="action_create">Crea</string>
<string name="action_create_case_from_contact">Crea un caso per questa persona di contatto</string>
<string name="action_create_case_from_event_person">Crea un caso per questo evento</string>
<string name="action_create_case_from_event_participant">Crea un caso per questo evento</string>
<string name="action_create_treatment">Crea trattamento</string>
<string name="action_edit_data">Modifica dati</string>
<string name="action_delete">Elimina</string>
Expand Down
2 changes: 1 addition & 1 deletion sormas-app/app/src/main/res/values-it-rIT/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
<string name="action_confirm">Conferma</string>
<string name="action_create">Crea</string>
<string name="action_create_case_from_contact">Crea un caso per questa persona di contatto</string>
<string name="action_create_case_from_event_person">Crea un caso per questo evento</string>
<string name="action_create_case_from_event_participant">Crea un caso per questo evento</string>
<string name="action_create_treatment">Crea trattamento</string>
<string name="action_edit_data">Modifica dati</string>
<string name="action_delete">Elimina</string>
Expand Down
2 changes: 1 addition & 1 deletion sormas-app/app/src/main/res/values-ja-rJP/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
<string name="action_confirm">Confirm</string>
<string name="action_create">Create</string>
<string name="action_create_case_from_contact">Create a case for this contact person</string>
<string name="action_create_case_from_event_person">Create a case for this event person</string>
<string name="action_create_case_from_event_participant">Create a case for this event person</string>
<string name="action_create_treatment">Create treatment</string>
<string name="action_edit_data">Edit data</string>
<string name="action_delete">Delete</string>
Expand Down
2 changes: 1 addition & 1 deletion sormas-app/app/src/main/res/values-ks-rPK/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
<string name="action_confirm">Confirm</string>
<string name="action_create">Create</string>
<string name="action_create_case_from_contact">Create a case for this contact person</string>
<string name="action_create_case_from_event_person">Create a case for this event person</string>
<string name="action_create_case_from_event_participant">Create a case for this event person</string>
<string name="action_create_treatment">Create treatment</string>
<string name="action_edit_data">Edit data</string>
<string name="action_delete">Delete</string>
Expand Down
2 changes: 1 addition & 1 deletion sormas-app/app/src/main/res/values-ku-rTR/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
<string name="action_confirm">Confirm</string>
<string name="action_create">Create</string>
<string name="action_create_case_from_contact">Create a case for this contact person</string>
<string name="action_create_case_from_event_person">Create a case for this event person</string>
<string name="action_create_case_from_event_participant">Create a case for this event person</string>
<string name="action_create_treatment">Create treatment</string>
<string name="action_edit_data">Edit data</string>
<string name="action_delete">Delete</string>
Expand Down
Loading

0 comments on commit 5735b62

Please sign in to comment.