Skip to content

Update incorrect range translations#4589

Open
xkello wants to merge 1 commit into
masterfrom
bugfix/fix-incorrect-range-texts
Open

Update incorrect range translations#4589
xkello wants to merge 1 commit into
masterfrom
bugfix/fix-incorrect-range-texts

Conversation

@xkello

@xkello xkello commented Jul 9, 2026

Copy link
Copy Markdown
Contributor

Description

Fixes a misleading validation message shown when a user enters a number outside the allowed range.
Ticket: #4499
Previously, the message told users to select a number strictly lower/higher than the range boundary, when it should say lower/higher or equal to the boundary - since the boundary value itself is valid.

Current behavior

For an allowed range of 1–100:
Entering 101 shows: "Value must be lower than 100" - but 100 is a valid value, so the message is misleading.
Entering 0 shows: "Value must be higher than 1" - same issue in the other direction.

What changed

Updated the validation message strings to say "less than or equal to X" / "greater than or equal to X"

Changes were made to fieldvalidator.cpp manually and to input_en.ts using script.

Expected behavior

  • Entering 101 now shows: "Value must be less than or equal to 100"
  • Entering 0 now shows: "Value must be greater than or equal to 1"

@xkello xkello requested a review from Withalion July 9, 2026 10:41
@github-actions

github-actions Bot commented Jul 9, 2026

Copy link
Copy Markdown

Coverage Report for CI Build 29011321355

Coverage increased (+0.1%) to 59.115%

Details

  • Coverage increased (+0.1%) from the base build.
  • Patch coverage: No coverable lines changed in this PR.
  • 3 coverage regressions across 1 file.

Uncovered Changes

No uncovered changes found.

Coverage Regressions

3 previously-covered lines in 1 file lost coverage.

File Lines Losing Coverage Coverage
mm/core/merginapi.cpp 3 75.3%

Coverage Stats

Coverage Status
Relevant Lines: 15639
Covered Lines: 9245
Line Coverage: 59.12%
Coverage Strength: 97.54 hits per line

💛 - Coveralls

@github-actions

github-actions Bot commented Jul 9, 2026

Copy link
Copy Markdown

📦 Build Artifacts Ready

OS Status Build Info Workflow run
macOS Build 📬 Mergin Maps 70101 dmg Expires: 07/10/2026 #7010
linux Build 📬 Mergin Maps 70361 x86_64 Expires: 07/10/2026 #7036
win64 Build 📬 Mergin Maps 62081 win64 Expires: 07/10/2026 #6208
Android Build 📬 Mergin Maps 832011 APK [armeabi-v7a] Expires: 07/10/2026 #8320
📬 Mergin Maps 832011 APK [armeabi-v7a] Google Play Store #8320
Android Build 📬 Mergin Maps 832051 APK [arm64-v8a] Expires: 07/10/2026 #8320
📬 Mergin Maps 832051 APK [arm64-v8a] Google Play Store #8320
iOS Build 📬 Build number: 26.07.926211 #9262

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