Skip to content

fix(i18n): add Slovenian translation for 'Range type' in DateFilter#40287

Open
miharejec wants to merge 1 commit into
apache:masterfrom
miharejec:fix/slovenian-range-type-translation
Open

fix(i18n): add Slovenian translation for 'Range type' in DateFilter#40287
miharejec wants to merge 1 commit into
apache:masterfrom
miharejec:fix/slovenian-range-type-translation

Conversation

@miharejec
Copy link
Copy Markdown

SUMMARY
The "Range type" label in the DateFilter popover was showing untranslated in Slovenian. The translation entries for "Range Type" and "Range type" existed in the .po file but were marked as #, fuzzy, which means they are ignored by the translation system. This PR removes the fuzzy flag and corrects the translation casing to "Tip obdobja".

TESTING INSTRUCTIONS
Configure Superset with Slovenian locale
Open a chart or dashboard time range filter
The label above the range type dropdown should now show "Tip obdobja" instead of "Range type"

ADDITIONAL INFORMATION

  • Changes UI

The 'Range type' and 'Range Type' translation entries were marked as
fuzzy, so they were not being used. Remove the fuzzy flag and fix
the translation casing from 'TIP OBDOBJA' to 'Tip obdobja'.
@miharejec miharejec requested a review from sfirke as a code owner May 20, 2026 08:34
@github-actions github-actions Bot added the i18n Namespace | Anything related to localization label May 20, 2026
Copy link
Copy Markdown
Contributor

@bito-code-review bito-code-review Bot left a comment

Choose a reason for hiding this comment

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

Code Review Agent Run #18855a

Actionable Suggestions - 1
  • superset/translations/sl/LC_MESSAGES/messages.po - 1
Additional Suggestions - 1
  • superset/translations/sl/LC_MESSAGES/messages.po - 1
    • Translation style inconsistency · Line 9930-9931
      The translation changed from all-caps "TIP OBDOBJA" to title case "Tip obdobja". While title case is generally preferred, this creates a style inconsistency with the original translation pattern. Verify this matches the intended style for the translation file.
Review Details
  • Files reviewed - 1 · Commit Range: e0f5ed2..e0f5ed2
    • superset/translations/sl/LC_MESSAGES/messages.po
  • Files skipped - 0
  • Tools
    • Whispers (Secret Scanner) - ✔︎ Successful
    • Detect-secrets (Secret Scanner) - ✔︎ Successful

Bito Usage Guide

Commands

Type the following command in the pull request comment and save the comment.

  • /review - Manually triggers a full AI review.

  • /pause - Pauses automatic reviews on this pull request.

  • /resume - Resumes automatic reviews.

  • /resolve - Marks all Bito-posted review comments as resolved.

  • /abort - Cancels all in-progress reviews.

Refer to the documentation for additional commands.

Configuration

This repository uses Superset You can customize the agent settings here or contact your Bito workspace admin at evan@preset.io.

Documentation & Help

AI Code Review powered by Bito Logo

Comment on lines 9930 to +9931
msgid "Range Type"
msgstr "TIP OBDOBJA"
msgstr "Tip obdobja"
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Semantic duplication in translations

The msgid "Range Type" (line 9930) and msgid "Range type" (line 9942) are distinct case-sensitive strings that now share the identical translation "Tip obdobja". These likely appear as different UI labels and should have distinct translations to prevent user confusion.

Code Review Run #18855a


Should Bito avoid suggestions like this for future reviews? (Manage Rules)

  • Yes, avoid them

@sadpandajoe sadpandajoe added the merge-if-green If approved and tests are green, please go ahead and merge it for me label May 20, 2026
@codecov
Copy link
Copy Markdown

codecov Bot commented May 20, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 64.16%. Comparing base (e617903) to head (e0f5ed2).
⚠️ Report is 21 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master   #40287   +/-   ##
=======================================
  Coverage   64.16%   64.16%           
=======================================
  Files        2591     2591           
  Lines      138293   138293           
  Branches    32084    32084           
=======================================
  Hits        88736    88736           
  Misses      48027    48027           
  Partials     1530     1530           
Flag Coverage Δ
hive 39.44% <ø> (ø)
mysql 59.13% <ø> (ø)
postgres 59.21% <ø> (ø)
presto 41.13% <ø> (ø)
python 60.64% <ø> (ø)
sqlite 58.85% <ø> (ø)
unit 100.00% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

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

Labels

i18n:slovenian i18n Namespace | Anything related to localization merge-if-green If approved and tests are green, please go ahead and merge it for me size/XS

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants