Skip to content

New Crowdin updates#13996

Open
SORMAS-Robot wants to merge 10000 commits into
developmentfrom
l10n_development
Open

New Crowdin updates#13996
SORMAS-Robot wants to merge 10000 commits into
developmentfrom
l10n_development

Conversation

@SORMAS-Robot

@SORMAS-Robot SORMAS-Robot commented Jun 19, 2026

Copy link
Copy Markdown
Contributor

Summary by CodeRabbit

  • New Features
    • Added “Watery diarrhoea” as a trackable symptom across supported locales.
    • Added “Direct microscopy” as a pathogen test type option.
    • Added SHIG as a country/residence label for epidemiological data.
  • Localization / UI Text
    • Standardized case lab result captions by replacing MIC/zone/surveillance labels with a single value label (while keeping clinical interpretation).
    • Updated pathogen test quantitative captions by removing the free-text variant in favor of value/unit-style labels.
    • Refined exposure sub-setting wording to “High-contact environments” and “Sexual contact” across translations, including updated Spanish UI text.

@coderabbitai

coderabbitai Bot commented Jun 19, 2026

Copy link
Copy Markdown

Review Change Stack

Note

Reviews paused

It looks like this branch is under active development. To avoid overwhelming you with review comments due to an influx of new commits, CodeRabbit has automatically paused this review. You can configure this behavior by changing the reviews.auto_review.auto_pause_after_reviewed_commits setting.

Use the following commands to manage reviews:

  • @coderabbitai resume to resume automatic reviews.
  • @coderabbitai review to trigger a single review.

Use the checkboxes below for quick actions:

  • ▶️ Resume reviews
  • 🔍 Trigger review
📝 Walkthrough

Walkthrough

Caption and enum property files across 28 locales are updated: the case lab results section replaces MIC/zone/surveillance-specific keys with caseLabResultsValue; PathogenTest.quantitativeText is removed; EpiData.country.SHIG is added; and Symptoms.wateryDiarrhea is added. Enum files add PathogenTestType.DIRECT_MICROSCOPY and update ExposureSubSetting captions. The Serbian (sr-CS) and Spanish (es-CU) property files receive major translation expansions.

Changes

i18n Caption and Enum Updates

Layer / File(s) Summary
Case lab results, PathogenTest, EpiData, and Symptoms captions (all locales)
sormas-api/src/main/resources/captions_ar-SA.properties, captions_cs-CZ.properties, captions_de-CH.properties, captions_de-DE.properties, captions_en-AF.properties, captions_en-GH.properties, captions_en-GM.properties, captions_en-KE.properties, captions_en-LR.properties, captions_en-NG.properties, captions_es-BO.properties, captions_fa-AF.properties, captions_fi-FI.properties, captions_fr-CH.properties, captions_fr-FR.properties, captions_fr-TN.properties, captions_it-CH.properties, captions_it-IT.properties, captions_ka-GE.properties, captions_pl-PL.properties, captions_ps-AF.properties, captions_pt-BR.properties, captions_pt-CV.properties, captions_ru-RU.properties, captions_sw-TZ.properties, captions_ur-PK.properties, captions_zh-CN.properties
caseLabResultsMicValue, caseLabResultsZoneDiameter, and caseLabResultsSurveillanceInterpretation are removed and replaced with caseLabResultsValue; PathogenTest.quantitativeText is removed; EpiData.country.SHIG is added; and Symptoms.wateryDiarrhea is added — applied identically across all listed locales.
PathogenTestType.DIRECT_MICROSCOPY and ExposureSubSetting updates (all locales)
sormas-api/src/main/resources/enum_ar-SA.properties, enum_cs-CZ.properties, enum_de-CH.properties, enum_de-DE.properties, enum_en-AF.properties, enum_en-GH.properties, enum_en-GM.properties, enum_en-KE.properties, enum_en-LR.properties, enum_en-NG.properties, enum_es-BO.properties, enum_fa-AF.properties, enum_fi-FI.properties, enum_fr-CH.properties, enum_fr-FR.properties, enum_fr-TN.properties, enum_it-CH.properties, enum_it-IT.properties, enum_ka-GE.properties, enum_pl-PL.properties, enum_ps-AF.properties, enum_pt-BR.properties, enum_pt-CV.properties, enum_ru-RU.properties, enum_sr-CS.properties, enum_sw-TZ.properties, enum_ur-PK.properties, enum_zh-CN.properties
A new PathogenTestType.DIRECT_MICROSCOPY entry is added with caption "Direct microscopy"; ExposureSubSetting.HIGH_TOUCH_ENVIRONMENTS is reworded to "High-contact environments (e.g. childcare centers, healthcare facilities)"; and ExposureSubSetting.SEXUAL_ACTIVITY is changed to "Sexual contact".
Serbian (sr-CS) caption translation expansion
sormas-api/src/main/resources/captions_sr-CS.properties
~262 lines of new or corrected Serbian translations spanning campaign metadata, case lab results, contact exports, dashboard, events, exposure, facility, health conditions, external messages, location, login, maternal history, pathogen test fields, person demographics, sample operations, immunization, adverse events, and symptoms.
Spanish (es-CU) caption, enum, and string translation expansion
sormas-api/src/main/resources/captions_es-CU.properties, enum_es-CU.properties, strings_es-CU.properties
Extended Spanish translations for case lab results, case data (date, lab results, postal/hospital fields), exposure, health conditions, and symptoms; Spanish enum translations for PathogenTestType.DIRECT_MICROSCOPY, ExposureSubSetting variations, and SexualContact values; external-message mismatch prompts and lab-result information strings translated to Spanish.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~12 minutes

Possibly related PRs

  • SORMAS-Foundation/SORMAS-Project#13963: The main PR's i18n caption updates add/adjust SHIG-related UI keys (e.g., EpiData.country.SHIG and new symptom caption) that align with the retrieved PR's introduction of the SHIGELLOSIS disease and its UI/domain expansion.
  • SORMAS-Foundation/SORMAS-Project#13992: Both PRs update the same i18n caption keys in sormas-api/src/main/resources/captions_*—notably the case lab results/key refactor, removal of PathogenTest.quantitativeText, addition of Symptoms.wateryDiarrhea, and EpiData.country.SHIG.
  • SORMAS-Foundation/SORMAS-Project#13993: The main PR's i18n caption changes (removing caseLabResultsMicValue/zone/surveillance and PathogenTest.quantitativeText, adding caseLabResultsValue and Symptoms.wateryDiarrhea) directly mirror the retrieved PR's underlying removal of quantitative-text support and addition of the watery-diarrhea symptom.

Suggested reviewers

  • roldy
  • raulbob

Poem

🐇 Hopping through captions, locale by locale,
Old MIC and zone labels? Replaced without fail.
DIRECT_MICROSCOPY joins the pathogen test array,
High-contact environments now have their say.
Serbian translations bloom, Spanish takes its turn—
A tidy i18n update for all folk to learn! 🌍

🚥 Pre-merge checks | ✅ 3 | ❌ 2

❌ Failed checks (1 warning, 1 inconclusive)

Check name Status Explanation Resolution
Description check ⚠️ Warning The pull request description is entirely empty, missing all required template sections including the issue reference and any explanation of changes. Add a complete description following the repository template, including the related issue number (e.g., 'Fixes #13996') and a summary of the localization updates made.
Title check ❓ Inconclusive The title 'New Crowdin updates' is vague and generic, failing to convey meaningful information about the changeset's specific modifications. Replace with a more descriptive title that summarizes the primary changes, such as 'Update localization captions and enums across multiple languages' or 'Refactor lab result and symptom captions in i18n files'.
✅ Passed checks (3 passed)
Check name Status Explanation
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch l10n_development

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant