Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion sormas-api/src/main/java/de/symeda/sormas/api/Disease.java
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,6 @@ public enum Disease
INVASIVE_MENINGOCOCCAL_INFECTION(true, true, true, false, true, 7, false, false, false, true, 1, 10),
GIARDIASIS(true, true, true, false, true, 14, false, false, false, true, 7, 21),
CRYPTOSPORIDIOSIS(true, true, true, false, true, 14, false, false, false, true, 2, 12),
SHIGELLOSIS(true, true, true, false, true, 14, false, false, false, true, 1, 7),
SALMONELLOSIS(true, true, true, false, true, 14, false, false, false, true, 1, 3),
OTHER(true, true, true, false, true, 21, false, false, false, false, 0, 0),
UNDEFINED(true, true, true, false, true, 0, false, false, false, false, 0, 0);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -236,8 +236,7 @@ public enum SampleMaterial {
Disease.GIARDIASIS,
Disease.CRYPTOSPORIDIOSIS,
Disease.MALARIA,
Disease.DENGUE,
Disease.SHIGELLOSIS }, hide = true)
Disease.DENGUE }, hide = true)
BRAIN_TISSUE,

@Diseases(value = {
Expand All @@ -248,8 +247,7 @@ public enum SampleMaterial {
Disease.GIARDIASIS,
Disease.CRYPTOSPORIDIOSIS,
Disease.MALARIA,
Disease.DENGUE,
Disease.SHIGELLOSIS }, hide = true)
Disease.DENGUE }, hide = true)
ANTERIOR_NARES_SWAB,

@Diseases(value = {
Expand All @@ -260,8 +258,7 @@ public enum SampleMaterial {
Disease.GIARDIASIS,
Disease.CRYPTOSPORIDIOSIS,
Disease.MALARIA,
Disease.DENGUE,
Disease.SHIGELLOSIS }, hide = true)
Disease.DENGUE }, hide = true)
OP_ASPIRATE,

@Diseases(value = {
Expand All @@ -270,8 +267,7 @@ public enum SampleMaterial {
Disease.GIARDIASIS,
Disease.CRYPTOSPORIDIOSIS,
Disease.MALARIA,
Disease.DENGUE,
Disease.SHIGELLOSIS }, hide = true)
Disease.DENGUE }, hide = true)
NP_ASPIRATE,

@Diseases(value = {
Expand All @@ -281,8 +277,7 @@ public enum SampleMaterial {
Disease.GIARDIASIS,
Disease.CRYPTOSPORIDIOSIS,
Disease.MALARIA,
Disease.DENGUE,
Disease.SHIGELLOSIS }, hide = true)
Disease.DENGUE }, hide = true)
PLEURAL_FLUID,

@Diseases(value = {
Expand All @@ -299,8 +294,7 @@ public enum SampleMaterial {
Disease.GIARDIASIS,
Disease.CRYPTOSPORIDIOSIS,
Disease.MALARIA,
Disease.DENGUE,
Disease.SHIGELLOSIS }, hide = true)
Disease.DENGUE }, hide = true)
AMNIOTIC_FLUID,

@Diseases(value = {
Expand All @@ -315,8 +309,7 @@ public enum SampleMaterial {
Disease.GIARDIASIS,
Disease.CRYPTOSPORIDIOSIS,
Disease.MALARIA,
Disease.DENGUE,
Disease.SHIGELLOSIS }, hide = true)
Disease.DENGUE }, hide = true)
PERITONEAL_FLUID,

@Diseases(value = {
Expand All @@ -325,15 +318,13 @@ public enum SampleMaterial {
Disease.GIARDIASIS,
Disease.CRYPTOSPORIDIOSIS,
Disease.MALARIA,
Disease.DENGUE,
Disease.SHIGELLOSIS }, hide = true)
Disease.DENGUE }, hide = true)
SYNOVIAL_FLUID,

@Diseases(value = {
Disease.RESPIRATORY_SYNCYTIAL_VIRUS,
Disease.GIARDIASIS,
Disease.CRYPTOSPORIDIOSIS,
Disease.SHIGELLOSIS }, hide = true)
Disease.CRYPTOSPORIDIOSIS }, hide = true)
EDTA_WHOLE_BLOOD,

@Diseases(value = {
Expand All @@ -344,10 +335,6 @@ public enum SampleMaterial {
Disease.GIARDIASIS })
DUODENUM_FLUID,

@Diseases(value = {
Disease.SHIGELLOSIS })
PUS,

OTHER;

@Override
Expand Down
2 changes: 1 addition & 1 deletion sormas-api/src/main/resources/captions.properties
Original file line number Diff line number Diff line change
Expand Up @@ -1956,7 +1956,7 @@ PathogenTest.prescriberCity=City
PathogenTest.prescriberCountry=Country
PathogenTest.rifampicinResistant=Rifampicin resistant
PathogenTest.isoniazidResistant=Isoniazid resistant
PathogenTest.specie=Species
PathogenTest.specie=Specie
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟡 Minor | ⚡ Quick win

Fix caption typo: use “Species” instead of “Specie”

This change introduces a user-facing wording regression. In this context, the correct label is “Species”.

Suggested fix
-PathogenTest.specie=Specie
+PathogenTest.specie=Species
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
PathogenTest.specie=Specie
PathogenTest.specie=Species
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@sormas-api/src/main/resources/captions.properties` at line 1959, The caption
key PathogenTest.specie has a typo in its value; update the properties entry so
the user-facing label reads "Species" instead of "Specie" by changing the value
for PathogenTest.specie to "Species" (also search for other uses of
PathogenTest.specie to update any duplicates or translations to maintain
consistency).

PathogenTest.patternProfile=Pattern profile
PathogenTest.strainCallStatus=Strain Call Status
PathogenTest.testScale=Test Scale
Expand Down
Loading