You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by "goldjee (via GitHub)" <gi...@apache.org> on 2026/07/08 17:15:52 UTC
[PR] chore(i18n): update Russian translations [superset]
goldjee opened a new pull request, #41885:
URL: https://github.com/apache/superset/pull/41885
### SUMMARY
Updated some of the Russian translations.
- Filled in previously untranslated strings
- Reviewed and finalised fuzzy translations
- Re-flowed/reformatted existing `.po` entries
### TESTING INSTRUCTIONS
1. Set the locale to Russian (`BABEL_DEFAULT_LOCALE = "ru"` or via the UI language switcher).
2. Navigate through the affected areas (annotations, dashboards, API keys, map layers, etc.) and confirm the Russian strings render correctly and remain within their UI containers.
### ADDITIONAL INFORMATION
As the main menu wording has changed in the base localisation, some translations are missing. It's probably worth to extract new strings in a separate PR.
- [ ] Has associated issue:
- [ ] Required feature flags:
- [ ] Changes UI
- [ ] Includes DB Migration (follow approval process in [SIP-59](https://github.com/apache/superset/issues/13351))
- [ ] Migration is atomic, supports rollback & is backwards-compatible
- [ ] Confirm DB migration upgrade and downgrade tested
- [ ] Runtime estimates and downtime expectations provided
- [ ] Introduces new feature or API
- [ ] Removes existing feature or API
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org
Re: [PR] chore(i18n): update Russian translations [superset]
Posted by "goldjee (via GitHub)" <gi...@apache.org>.
goldjee commented on PR #41885:
URL: https://github.com/apache/superset/pull/41885#issuecomment-4971816220
> Looks like this needs a rebase ... sorry, the repo has been moving fast lately.
Oh well. So, another rebase it is :) I've also fixed the issues you've pointed out. Thanks!
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org
Re: [PR] chore(i18n): update Russian translations [superset]
Posted by "codecov[bot] (via GitHub)" <gi...@apache.org>.
codecov[bot] commented on PR #41885:
URL: https://github.com/apache/superset/pull/41885#issuecomment-4917488406
## [Codecov](https://app.codecov.io/gh/apache/superset/pull/41885?dropdown=coverage&src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) Report
:white_check_mark: All modified and coverable lines are covered by tests.
:white_check_mark: Project coverage is 64.08%. Comparing base ([`d81b135`](https://app.codecov.io/gh/apache/superset/commit/d81b135a04cb51210e838ec8763d327d8b84c2dd?dropdown=coverage&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache)) to head ([`50714cd`](https://app.codecov.io/gh/apache/superset/commit/50714cda3b860c488e7e280983fc74839ba079c1?dropdown=coverage&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache)).
:warning: Report is 8 commits behind head on master.
<details><summary>Additional details and impacted files</summary>
```diff
@@ Coverage Diff @@
## master #41885 +/- ##
==========================================
- Coverage 64.67% 64.08% -0.60%
==========================================
Files 2702 2702
Lines 150198 150222 +24
Branches 34589 34594 +5
==========================================
- Hits 97147 96276 -871
- Misses 51262 52157 +895
Partials 1789 1789
```
| [Flag](https://app.codecov.io/gh/apache/superset/pull/41885/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | Coverage Δ | |
|---|---|---|
| [hive](https://app.codecov.io/gh/apache/superset/pull/41885/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | `39.06% <ø> (-0.02%)` | :arrow_down: |
| [mysql](https://app.codecov.io/gh/apache/superset/pull/41885/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | `?` | |
| [postgres](https://app.codecov.io/gh/apache/superset/pull/41885/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | `57.63% <ø> (-0.02%)` | :arrow_down: |
| [presto](https://app.codecov.io/gh/apache/superset/pull/41885/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | `40.57% <ø> (-0.02%)` | :arrow_down: |
| [python](https://app.codecov.io/gh/apache/superset/pull/41885/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | `57.80% <ø> (-1.24%)` | :arrow_down: |
| [sqlite](https://app.codecov.io/gh/apache/superset/pull/41885/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | `57.22% <ø> (-0.02%)` | :arrow_down: |
| [unit](https://app.codecov.io/gh/apache/superset/pull/41885/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | `?` | |
Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache#carryforward-flags-in-the-pull-request-comment) to find out more.
</details>
[:umbrella: View full report in Codecov by Harness](https://app.codecov.io/gh/apache/superset/pull/41885?dropdown=coverage&src=pr&el=continue&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache).
:loudspeaker: Have feedback on the report? [Share it here](https://about.codecov.io/codecov-pr-comment-feedback/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache).
<details><summary> :rocket: New features to boost your workflow: </summary>
- :snowflake: [Test Analytics](https://docs.codecov.com/docs/test-analytics): Detect flaky tests, report on failures, and find test suite problems.
- :package: [JS Bundle Analysis](https://docs.codecov.com/docs/javascript-bundle-analysis): Save yourself from yourself by tracking and limiting bundle sizes in JS merges.
</details>
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org
Re: [PR] chore(i18n): update Russian translations [superset]
Posted by "rusackas (via GitHub)" <gi...@apache.org>.
rusackas merged PR #41885:
URL: https://github.com/apache/superset/pull/41885
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org
Re: [PR] chore(i18n): update Russian translations [superset]
Posted by "bito-code-review[bot] (via GitHub)" <gi...@apache.org>.
bito-code-review[bot] commented on PR #41885:
URL: https://github.com/apache/superset/pull/41885#issuecomment-4973460404
AI Code Review is in progress (usually takes 3 to 15 minutes unless it's a very large PR).
<details>
<summary>
Bito Usage Guide
</summary>
**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 <a href="https://docs.bito.ai/bito-dev-agents/ai-code-review-agent/available-commands" target="_blank" rel="noopener noreferrer">documentation</a> for additional commands.
**Configuration**
This repository uses `Superset` You can customize the agent settings <a href="https://alpha.bito.ai/home/ai-agents/code-review-agent" target="_blank" rel="noopener noreferrer">here</a> or contact your Bito workspace admin at evan@preset.io.
**Documentation & Help**
- <a href="https://docs.bito.ai/bito-dev-agents/ai-code-review-agent/getting-started/install-run-using-bito-cloud/create-or-customize-an-agent-instance" target="_blank" rel="noopener noreferrer">Customize agent settings</a>
- <a href="https://docs.bito.ai/bito-dev-agents/ai-code-review-agent/implementing-custom-code-review-rules" target="_blank" rel="noopener noreferrer">Review rules</a>
- <a href="https://docs.bito.ai/bito-dev-agents/ai-code-review-agent" target="_blank" rel="noopener noreferrer">General documentation</a>
- <a href="https://docs.bito.ai/bito-dev-agents/ai-code-review-agent/faqs" target="_blank" rel="noopener noreferrer">FAQ</a>
</details>
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org
Re: [PR] chore(i18n): update Russian translations [superset]
Posted by "netlify[bot] (via GitHub)" <gi...@apache.org>.
netlify[bot] commented on PR #41885:
URL: https://github.com/apache/superset/pull/41885#issuecomment-4917371869
### <span aria-hidden="true">✅</span> Deploy Preview for *superset-docs-preview* ready!
| Name | Link |
|:-:|------------------------|
|<span aria-hidden="true">🔨</span> Latest commit | 50714cda3b860c488e7e280983fc74839ba079c1 |
|<span aria-hidden="true">🔍</span> Latest deploy log | https://app.netlify.com/projects/superset-docs-preview/deploys/6a4e85c8cc76d80008622a44 |
|<span aria-hidden="true">😎</span> Deploy Preview | [https://deploy-preview-41885--superset-docs-preview.netlify.app](https://deploy-preview-41885--superset-docs-preview.netlify.app) |
|<span aria-hidden="true">📱</span> Preview on mobile | <details><summary> Toggle QR Code... </summary><br /><br /><br /><br />_Use your smartphone camera to open QR code link._</details> |
|<span aria-hidden="true">🤖</span> Make changes | [Run an agent on this branch](https://app.netlify.com/projects/superset-docs-preview/agent-runs#q1YqKMrPLShRslJS0lFKKkrMS84AsjMNLfJ0i0qBQimpBTn5lZ4pQEGzRJNUC9Nki-Rkc7MUCwMDAwszI6NEExOlWgA) |
---
<!-- [superset-docs-preview Preview](https://deploy-preview-41885--superset-docs-preview.netlify.app) -->
_To edit notification comments on pull requests, go to your [Netlify project configuration](https://app.netlify.com/projects/superset-docs-preview/configuration/notifications#deploy-notifications)._
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org
Re: [PR] chore(i18n): update Russian translations [superset]
Posted by "bito-code-review[bot] (via GitHub)" <gi...@apache.org>.
bito-code-review[bot] commented on PR #41885:
URL: https://github.com/apache/superset/pull/41885#issuecomment-4919976492
AI Code Review is in progress (usually takes 3 to 15 minutes unless it's a very large PR).
<details>
<summary>
Bito Usage Guide
</summary>
**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 <a href="https://docs.bito.ai/bito-dev-agents/ai-code-review-agent/available-commands" target="_blank" rel="noopener noreferrer">documentation</a> for additional commands.
**Configuration**
This repository uses `Superset` You can customize the agent settings <a href="https://alpha.bito.ai/home/ai-agents/code-review-agent" target="_blank" rel="noopener noreferrer">here</a> or contact your Bito workspace admin at evan@preset.io.
**Documentation & Help**
- <a href="https://docs.bito.ai/bito-dev-agents/ai-code-review-agent/getting-started/install-run-using-bito-cloud/create-or-customize-an-agent-instance" target="_blank" rel="noopener noreferrer">Customize agent settings</a>
- <a href="https://docs.bito.ai/bito-dev-agents/ai-code-review-agent/implementing-custom-code-review-rules" target="_blank" rel="noopener noreferrer">Review rules</a>
- <a href="https://docs.bito.ai/bito-dev-agents/ai-code-review-agent" target="_blank" rel="noopener noreferrer">General documentation</a>
- <a href="https://docs.bito.ai/bito-dev-agents/ai-code-review-agent/faqs" target="_blank" rel="noopener noreferrer">FAQ</a>
</details>
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org
Re: [PR] chore(i18n): update Russian translations [superset]
Posted by "bito-code-review[bot] (via GitHub)" <gi...@apache.org>.
bito-code-review[bot] commented on PR #41885:
URL: https://github.com/apache/superset/pull/41885#issuecomment-4917359848
AI Code Review is in progress (usually takes 3 to 15 minutes unless it's a very large PR).
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org
Re: [PR] chore(i18n): update Russian translations [superset]
Posted by "rusackas (via GitHub)" <gi...@apache.org>.
rusackas commented on PR #41885:
URL: https://github.com/apache/superset/pull/41885#issuecomment-4965835712
Looks like this needs a rebase ... sorry, the repo has been moving fast lately.
Thanks for chasing down the codeant flags on the plural/extra-%s strings. Two more of the same kind slipped through. The `An error occurred while fetching semantic layers` and `An error occurred while refreshing the configuration schema` strings still end in a stray `: %s` even though the msgid has no placeholder at all. Maybe copy-paste leftovers from the schema-values string above them? I'm not sure, but would you mind fixing those up too?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org
Re: [PR] chore(i18n): update Russian translations [superset]
Posted by "goldjee (via GitHub)" <gi...@apache.org>.
goldjee commented on PR #41885:
URL: https://github.com/apache/superset/pull/41885#issuecomment-4930144314
Could someone please retrigger the failing test?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org
Re: [PR] chore(i18n): update Russian translations [superset]
Posted by "bito-code-review[bot] (via GitHub)" <gi...@apache.org>.
bito-code-review[bot] commented on PR #41885:
URL: https://github.com/apache/superset/pull/41885#issuecomment-5002988924
AI Code Review is in progress (usually takes 3 to 15 minutes unless it's a very large PR).
<details>
<summary>
Bito Usage Guide
</summary>
**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 <a href="https://docs.bito.ai/bito-dev-agents/ai-code-review-agent/available-commands" target="_blank" rel="noopener noreferrer">documentation</a> for additional commands.
**Configuration**
This repository uses `Superset` You can customize the agent settings <a href="https://alpha.bito.ai/home/ai-agents/code-review-agent" target="_blank" rel="noopener noreferrer">here</a> or contact your Bito workspace admin at evan@preset.io.
**Documentation & Help**
- <a href="https://docs.bito.ai/bito-dev-agents/ai-code-review-agent/getting-started/install-run-using-bito-cloud/create-or-customize-an-agent-instance" target="_blank" rel="noopener noreferrer">Customize agent settings</a>
- <a href="https://docs.bito.ai/bito-dev-agents/ai-code-review-agent/implementing-custom-code-review-rules" target="_blank" rel="noopener noreferrer">Review rules</a>
- <a href="https://docs.bito.ai/bito-dev-agents/ai-code-review-agent" target="_blank" rel="noopener noreferrer">General documentation</a>
- <a href="https://docs.bito.ai/bito-dev-agents/ai-code-review-agent/faqs" target="_blank" rel="noopener noreferrer">FAQ</a>
</details>
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org
Re: [PR] chore(i18n): update Russian translations [superset]
Posted by "bito-code-review[bot] (via GitHub)" <gi...@apache.org>.
bito-code-review[bot] commented on PR #41885:
URL: https://github.com/apache/superset/pull/41885#issuecomment-4925953032
AI Code Review is in progress (usually takes 3 to 15 minutes unless it's a very large PR).
<details>
<summary>
Bito Usage Guide
</summary>
**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 <a href="https://docs.bito.ai/bito-dev-agents/ai-code-review-agent/available-commands" target="_blank" rel="noopener noreferrer">documentation</a> for additional commands.
**Configuration**
This repository uses `Superset` You can customize the agent settings <a href="https://alpha.bito.ai/home/ai-agents/code-review-agent" target="_blank" rel="noopener noreferrer">here</a> or contact your Bito workspace admin at evan@preset.io.
**Documentation & Help**
- <a href="https://docs.bito.ai/bito-dev-agents/ai-code-review-agent/getting-started/install-run-using-bito-cloud/create-or-customize-an-agent-instance" target="_blank" rel="noopener noreferrer">Customize agent settings</a>
- <a href="https://docs.bito.ai/bito-dev-agents/ai-code-review-agent/implementing-custom-code-review-rules" target="_blank" rel="noopener noreferrer">Review rules</a>
- <a href="https://docs.bito.ai/bito-dev-agents/ai-code-review-agent" target="_blank" rel="noopener noreferrer">General documentation</a>
- <a href="https://docs.bito.ai/bito-dev-agents/ai-code-review-agent/faqs" target="_blank" rel="noopener noreferrer">FAQ</a>
</details>
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org
Re: [PR] chore(i18n): update Russian translations [superset]
Posted by "codeant-ai-for-open-source[bot] (via GitHub)" <gi...@apache.org>.
codeant-ai-for-open-source[bot] commented on code in PR #41885:
URL: https://github.com/apache/superset/pull/41885#discussion_r3545981114
##########
superset/translations/ru/LC_MESSAGES/messages.po:
##########
@@ -490,41 +489,35 @@ msgstr[0] "%s строка"
msgstr[1] "%s строки"
msgstr[2] "%s строк"
-#, fuzzy, python-format
+#, python-format
msgid "%s s ago"
msgid_plural "%s s ago"
-msgstr[0] "30 дней назад"
-msgstr[1] ""
-msgstr[2] ""
+msgstr[0] "%s сек. назад"
+msgstr[1] "%s сек. назад"
+msgstr[2] "%s сек. назад"
#, python-format
msgid "%s saved metric(s)"
-msgstr "Сохраненная мер: %s"
+msgstr "Сохраненных мер: %s"
-#, fuzzy, python-format
+#, python-format
msgid "%s second"
msgid_plural "%s seconds"
-msgstr[0] "5 секунд"
-msgstr[1] ""
-msgstr[2] ""
+msgstr[0] "% сек."
+msgstr[1] "% сек."
+msgstr[2] "% сек."
Review Comment:
**Suggestion:** The Russian plural forms dropped the `%s` substitution token (`% сек.`), which will break string interpolation for this python-format message at runtime. Keep the `%s` placeholder in every plural form (for example, before the unit text) so formatting receives and renders the numeric value correctly. [incorrect variable usage]
<details>
<summary><b>Severity Level:</b> Critical 🚨</summary>
```mdx
- ❌ RU locale crashes interpolating second-based time labels.
- ⚠️ Time-ago badges fail for Russian users.
```
</details>
<details>
<summary><b>Steps of Reproduction ✅ </b></summary>
```mdx
1. Configure Superset to use Russian locale as default (see BABEL_DEFAULT_LOCALE in
/workspace/superset/superset/config.py; PR testing instructions also mention setting
BABEL_DEFAULT_LOCALE="ru").
2. Note that the singular/plural message for seconds is defined in the base catalog at
/workspace/superset/superset/translations/messages.pot (grep results) and translated in
the Russian catalog at /workspace/superset/translations/ru/LC_MESSAGES/messages.po lines
504–508.
3. When any view or API code calls ngettext("%s second", "%s seconds", seconds) and then
applies Python %-formatting with the seconds value, Babel will select one of the Russian
msgstr entries from lines 506–508.
4. Because the Russian translations at 506–508 removed the %s placeholder and instead
contain a bare "%" followed by text, Python’s string interpolation raises a ValueError
(“incomplete format”) for RU locale, causing the corresponding UI component (e.g., “X
seconds ago” status labels) to fail rendering.
```
</details>
[](https://app.codeant.ai/fix-in-ide?tool=cursor&prompt_id=a896bfccb90e41e5bc0d2ce931a22da1&service=github&base_url=https%3A%2F%2Fgithub.com&org=apache&repo=apache%2Fsuperset) [](https://app.codeant.ai/fix-in-ide?tool=vscode-claude&prompt_id=a896bfccb90e41e5bc0d2ce931a22da1&service=github&base_url=https%3A%2F%2Fgithub.com&org=apache&repo=apache%2Fsuperset)
*(Use Cmd/Ctrl + Click for best experience)*
<details>
<summary><b>Prompt for AI Agent 🤖 </b></summary>
```mdx
This is a comment left during a code review.
**Path:** superset/translations/ru/LC_MESSAGES/messages.po
**Line:** 504:508
**Comment:**
*Incorrect Variable Usage: The Russian plural forms dropped the `%s` substitution token (`% сек.`), which will break string interpolation for this python-format message at runtime. Keep the `%s` placeholder in every plural form (for example, before the unit text) so formatting receives and renders the numeric value correctly.
Validate the correctness of the flagged issue. If correct, How can I resolve this? If you propose a fix, implement it and please make it concise.
Once fix is implemented, also check other comments on the same PR, and ask user if the user wants to fix the rest of the comments as well. if said yes, then fetch all the comments validate the correctness and implement a minimal fix
```
</details>
<a href='https://app.codeant.ai/feedback?pr_url=https%3A%2F%2Fgithub.com%2Fapache%2Fsuperset%2Fpull%2F41885&comment_hash=f8de4a5e950191e271c31f79e47b668bf3ad882c6f379169cee45be61461cd14&reaction=like'>👍</a> | <a href='https://app.codeant.ai/feedback?pr_url=https%3A%2F%2Fgithub.com%2Fapache%2Fsuperset%2Fpull%2F41885&comment_hash=f8de4a5e950191e271c31f79e47b668bf3ad882c6f379169cee45be61461cd14&reaction=dislike'>👎</a>
##########
superset/translations/ru/LC_MESSAGES/messages.po:
##########
@@ -1822,13 +1781,11 @@ msgstr "Произошла ошибка при получении списка
msgid "An error occurred while fetching schema values: %s"
msgstr "Произошла ошибка при извлечении значений схемы: %s"
-#, fuzzy
msgid "An error occurred while fetching semantic layer types"
-msgstr "Произошла ошибка при получении доступных тем"
+msgstr "Произошла ошибка при получении доступных типов слоев аннотаций"
Review Comment:
**Suggestion:** The translation adds a stray `%s` token that does not exist in the source string, so users will see an unresolved placeholder in UI text. Remove the extra `%s` (or align the source/translation placeholders) so the message renders cleanly. [typo]
<details>
<summary><b>Severity Level:</b> Major ⚠️</summary>
```mdx
- ⚠️ Semantic layer errors show stray “%s” placeholder.
- ⚠️ Future formatting may crash Russian error UI.
```
</details>
<details>
<summary><b>Steps of Reproduction ✅ </b></summary>
```mdx
1. Enable the semantic layer feature in Superset and set locale to Russian
(BABEL_DEFAULT_LOCALE="ru").
2. Observe the base non-parameterized msgid "An error occurred while fetching semantic
layers" in /workspace/superset/superset/translations/messages.pot and its Russian msgstr
with an added "%s" at /workspace/superset/translations/ru/LC_MESSAGES/messages.po lines
1784–1785.
3. Trigger a semantic layer fetch failure (for example, open the semantic views screen in
the UI while the semantic-layer backend is misconfigured), causing the frontend or API
layer to render the plain error string without any formatting arguments.
4. Under RU locale, the translated string at 1785 contains a "%s" token even though no
python-format arguments are supplied; users either see a literal "%s" in the error text
or, if any future code tries to format this string, a formatting error, resulting in
confusing or broken error messages around semantic layer fetch operations.
```
</details>
[](https://app.codeant.ai/fix-in-ide?tool=cursor&prompt_id=2cdd40883f814ebe879f654175c06648&service=github&base_url=https%3A%2F%2Fgithub.com&org=apache&repo=apache%2Fsuperset) [](https://app.codeant.ai/fix-in-ide?tool=vscode-claude&prompt_id=2cdd40883f814ebe879f654175c06648&service=github&base_url=https%3A%2F%2Fgithub.com&org=apache&repo=apache%2Fsuperset)
*(Use Cmd/Ctrl + Click for best experience)*
<details>
<summary><b>Prompt for AI Agent 🤖 </b></summary>
```mdx
This is a comment left during a code review.
**Path:** superset/translations/ru/LC_MESSAGES/messages.po
**Line:** 1784:1785
**Comment:**
*Typo: The translation adds a stray `%s` token that does not exist in the source string, so users will see an unresolved placeholder in UI text. Remove the extra `%s` (or align the source/translation placeholders) so the message renders cleanly.
Validate the correctness of the flagged issue. If correct, How can I resolve this? If you propose a fix, implement it and please make it concise.
Once fix is implemented, also check other comments on the same PR, and ask user if the user wants to fix the rest of the comments as well. if said yes, then fetch all the comments validate the correctness and implement a minimal fix
```
</details>
<a href='https://app.codeant.ai/feedback?pr_url=https%3A%2F%2Fgithub.com%2Fapache%2Fsuperset%2Fpull%2F41885&comment_hash=15883fe287a563e590355f8c08c9f655e6748bf309b983186e38ffd3ec1124d6&reaction=like'>👍</a> | <a href='https://app.codeant.ai/feedback?pr_url=https%3A%2F%2Fgithub.com%2Fapache%2Fsuperset%2Fpull%2F41885&comment_hash=15883fe287a563e590355f8c08c9f655e6748bf309b983186e38ffd3ec1124d6&reaction=dislike'>👎</a>
##########
superset/translations/ru/LC_MESSAGES/messages.po:
##########
@@ -14600,7 +14267,7 @@ msgstr "Произошла ошибка при удалении регистра
msgid "There was an issue deleting rules: %s"
msgstr "Произошла ошибка при удалении правил: %s"
-#, fuzzy, python-format
+#, python-format
msgid "There was an issue deleting the selected %s"
msgstr "Произошла ошибка при удалении выбранных %s: %s"
Review Comment:
**Suggestion:** The singular message was translated with two `%s` placeholders while the source has one, which will trigger formatting errors when rendered. Reduce the translation to a single `%s` placeholder to match the source contract. [incorrect variable usage]
<details>
<summary><b>Severity Level:</b> Critical 🚨</summary>
```mdx
- ❌ Bulk delete errors crash for Russian-language users.
- ⚠️ Users lose diagnostics on failed deletions.
```
</details>
<details>
<summary><b>Steps of Reproduction ✅ </b></summary>
```mdx
1. Set BABEL_DEFAULT_LOCALE="ru" so Russian translations from
/workspace/superset/translations/ru/LC_MESSAGES/messages.po are active in the UI.
2. Note the python-format msgid "There was an issue deleting the selected %s" and its
Russian msgstr at lines 14272–14273, where the translation introduces two "%s"
placeholders.
3. From any list view that supports bulk actions (e.g., charts, dashboards, datasets),
delete a selection that encounters a backend error, causing the server to format this
msgid with a single argument (the object type or name).
4. Under RU locale, the translated string at 14273 expects two substitution values but
only receives one; Python’s %-formatting raises a TypeError, and the bulk-delete error
banner fails to render, leaving users without feedback on why deletion failed.
```
</details>
[](https://app.codeant.ai/fix-in-ide?tool=cursor&prompt_id=d1c78d68fde34538b33d083f419ade66&service=github&base_url=https%3A%2F%2Fgithub.com&org=apache&repo=apache%2Fsuperset) [](https://app.codeant.ai/fix-in-ide?tool=vscode-claude&prompt_id=d1c78d68fde34538b33d083f419ade66&service=github&base_url=https%3A%2F%2Fgithub.com&org=apache&repo=apache%2Fsuperset)
*(Use Cmd/Ctrl + Click for best experience)*
<details>
<summary><b>Prompt for AI Agent 🤖 </b></summary>
```mdx
This is a comment left during a code review.
**Path:** superset/translations/ru/LC_MESSAGES/messages.po
**Line:** 14272:14273
**Comment:**
*Incorrect Variable Usage: The singular message was translated with two `%s` placeholders while the source has one, which will trigger formatting errors when rendered. Reduce the translation to a single `%s` placeholder to match the source contract.
Validate the correctness of the flagged issue. If correct, How can I resolve this? If you propose a fix, implement it and please make it concise.
Once fix is implemented, also check other comments on the same PR, and ask user if the user wants to fix the rest of the comments as well. if said yes, then fetch all the comments validate the correctness and implement a minimal fix
```
</details>
<a href='https://app.codeant.ai/feedback?pr_url=https%3A%2F%2Fgithub.com%2Fapache%2Fsuperset%2Fpull%2F41885&comment_hash=fa7e2b05a9f807d1b302689154b67b71642781ec57e80a080bf8ae75c01fe664&reaction=like'>👍</a> | <a href='https://app.codeant.ai/feedback?pr_url=https%3A%2F%2Fgithub.com%2Fapache%2Fsuperset%2Fpull%2F41885&comment_hash=fa7e2b05a9f807d1b302689154b67b71642781ec57e80a080bf8ae75c01fe664&reaction=dislike'>👎</a>
##########
superset/translations/ru/LC_MESSAGES/messages.po:
##########
@@ -14563,26 +14233,23 @@ msgstr "Произошла ошибка при обновлении роли. П
msgid "There was an error updating the user. Please, try again."
msgstr ""
-"Произошла ошибка при обновлении пользователя. Пожалуйста, попробуйте еще "
-"раз."
+"Произошла ошибка при обновлении пользователя. Пожалуйста, попробуйте еще раз."
-#, fuzzy
msgid "There was an error while fetching groups"
-msgstr "Произошла ошибка при получении списка пользователей"
+msgstr "Произошла ошибка при получении групп"
-#, fuzzy
msgid "There was an error while fetching permissions"
-msgstr "Произошла ошибка при получении списка пользователей"
+msgstr "Произошла ошибка при получении прав"
msgid "There was an error while fetching users"
msgstr "Произошла ошибка при получении списка пользователей"
msgid "There was an error with your request"
msgstr "Произошла ошибка с вашим запросом"
-#, fuzzy, python-format
+#, python-format
msgid "There was an issue cancelling the task: %s"
-msgstr "Произошла ошибка при удалении %s: %s"
+msgstr "Произошла ошибка при удалении задачи %s: %s"
Review Comment:
**Suggestion:** This translation introduces an extra `%s` placeholder even though the source message has only one, so formatting will fail with argument count mismatch. Keep exactly one `%s` placeholder in the translated string. [incorrect variable usage]
<details>
<summary><b>Severity Level:</b> Critical 🚨</summary>
```mdx
- ❌ Task cancellation errors crash RU error display.
- ⚠️ Administrators lose visibility into cancel failures.
```
</details>
<details>
<summary><b>Steps of Reproduction ✅ </b></summary>
```mdx
1. Configure Superset to use Russian locale (BABEL_DEFAULT_LOCALE="ru") and enable the
Global Task Framework so task cancellation errors are surfaced to the UI.
2. Observe that the base message is defined in
/workspace/superset/superset/translations/messages.pot and the Russian translation in
/workspace/superset/translations/ru/LC_MESSAGES/messages.po at lines 14252–14253, marked
with "#, python-format".
3. Trigger a task cancellation failure (for example, cancelling a long-running background
task), which causes backend code to format the msgid "There was an issue cancelling the
task: %s" with a single error string argument.
4. Under RU locale, Babel returns the msgstr at 14253 containing two "%s" placeholders but
only one argument is supplied; Python’s %-formatting raises "TypeError: not enough
arguments for format string", breaking error reporting for task cancellation.
```
</details>
[](https://app.codeant.ai/fix-in-ide?tool=cursor&prompt_id=fa622073725349e1bcacdd6c8b6bcca3&service=github&base_url=https%3A%2F%2Fgithub.com&org=apache&repo=apache%2Fsuperset) [](https://app.codeant.ai/fix-in-ide?tool=vscode-claude&prompt_id=fa622073725349e1bcacdd6c8b6bcca3&service=github&base_url=https%3A%2F%2Fgithub.com&org=apache&repo=apache%2Fsuperset)
*(Use Cmd/Ctrl + Click for best experience)*
<details>
<summary><b>Prompt for AI Agent 🤖 </b></summary>
```mdx
This is a comment left during a code review.
**Path:** superset/translations/ru/LC_MESSAGES/messages.po
**Line:** 14252:14253
**Comment:**
*Incorrect Variable Usage: This translation introduces an extra `%s` placeholder even though the source message has only one, so formatting will fail with argument count mismatch. Keep exactly one `%s` placeholder in the translated string.
Validate the correctness of the flagged issue. If correct, How can I resolve this? If you propose a fix, implement it and please make it concise.
Once fix is implemented, also check other comments on the same PR, and ask user if the user wants to fix the rest of the comments as well. if said yes, then fetch all the comments validate the correctness and implement a minimal fix
```
</details>
<a href='https://app.codeant.ai/feedback?pr_url=https%3A%2F%2Fgithub.com%2Fapache%2Fsuperset%2Fpull%2F41885&comment_hash=c1d01eb5a642cef041feccdec097475147072173c48cc1335b206be012aadbd8&reaction=like'>👍</a> | <a href='https://app.codeant.ai/feedback?pr_url=https%3A%2F%2Fgithub.com%2Fapache%2Fsuperset%2Fpull%2F41885&comment_hash=c1d01eb5a642cef041feccdec097475147072173c48cc1335b206be012aadbd8&reaction=dislike'>👎</a>
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org