[GH-ISSUE #3558] Duplicate translation keys in localization file #1280

Closed
opened 2026-03-07 21:02:02 +03:00 by kerem · 4 comments
Owner

Originally created by @maryam4s26 on GitHub (Jun 28, 2025).
Original GitHub issue: https://github.com/dbeaver/cloudbeaver/issues/3558

Originally assigned to: @sergeyteleshev, @mr-anton-t on GitHub.

Description

There are duplicate keys in the translation file:

export default [
  ['plugin_browser_update_dialog_title', 'Installing application...'],
  ['plugin_browser_update_dialog_title', 'Installing an update...'],
];

This causes the first value ('Installing application...') to be overwritten by the second ('Installing an update...'). As a result, the intended translation for 'Installing application...' is lost.

Suggested solution

Use distinct keys, for example:

export default [
  ['plugin_browser_install_dialog_title', 'Installing application...'],
  ['plugin_browser_update_dialog_title', 'Installing an update...'],
];

File location:
webapp/packages/plugin-browser/src/locales/en.ts

Steps to reproduce

No response

Expected/Desired Behavior

The localization file should have unique keys for each string. Each key should appear only once with the correct message.

Actual Behavior

The key 'plugin_browser_update_dialog_title' appears twice with different values, causing ambiguity and potential issues in the UI rendering.

CloudBeaver Version

devel

Additional context

No response

Originally created by @maryam4s26 on GitHub (Jun 28, 2025). Original GitHub issue: https://github.com/dbeaver/cloudbeaver/issues/3558 Originally assigned to: @sergeyteleshev, @mr-anton-t on GitHub. ### Description There are duplicate keys in the translation file: ``` export default [ ['plugin_browser_update_dialog_title', 'Installing application...'], ['plugin_browser_update_dialog_title', 'Installing an update...'], ]; ``` This causes the first value ('Installing application...') to be overwritten by the second ('Installing an update...'). As a result, the intended translation for 'Installing application...' is lost. **Suggested solution** Use distinct keys, for example: ``` export default [ ['plugin_browser_install_dialog_title', 'Installing application...'], ['plugin_browser_update_dialog_title', 'Installing an update...'], ]; ``` **File location:** [webapp/packages/plugin-browser/src/locales/en.ts](https://github.com/dbeaver/cloudbeaver/blob/devel/webapp/packages/plugin-browser/src/locales/en.ts#L3) ### Steps to reproduce _No response_ ### Expected/Desired Behavior The localization file should have unique keys for each string. Each key should appear only once with the correct message. Actual Behavior The key 'plugin_browser_update_dialog_title' appears twice with different values, causing ambiguity and potential issues in the UI rendering. ### CloudBeaver Version devel ### Additional context _No response_
kerem 2026-03-07 21:02:02 +03:00
  • closed this issue
  • added the
    xf:i18n
    label
Author
Owner

@LonwoLonwo commented on GitHub (Jun 30, 2025):

Hello @maryam4s26

Thanks for this detailed explanation.
We will fix it

<!-- gh-comment-id:3018103563 --> @LonwoLonwo commented on GitHub (Jun 30, 2025): Hello @maryam4s26 Thanks for this detailed explanation. We will fix it
Author
Owner

@sergeyteleshev commented on GitHub (Jul 2, 2025):

Everything was removed, because it is not used at all + we have no questions about updating/installing the app behavior

For QA:
Just to let you know, no tests are required. We simply need to be sure that the app builds fine

<!-- gh-comment-id:3027174912 --> @sergeyteleshev commented on GitHub (Jul 2, 2025): Everything was removed, because it is not used at all + we have no questions about updating/installing the app behavior **For QA:** Just to let you know, no tests are required. We simply need to be sure that the app builds fine
Author
Owner

@EvgeniaBzzz commented on GitHub (Jul 7, 2025):

@maryam4s26 fix is now available in v.25.1.2
Thank you 💙

<!-- gh-comment-id:3044183719 --> @EvgeniaBzzz commented on GitHub (Jul 7, 2025): @maryam4s26 fix is now available in v.25.1.2 Thank you 💙
Author
Owner

@maryam4s26 commented on GitHub (Jul 7, 2025):

@maryam4s26 fix is now available in v.25.1.2 Thank you 💙

Thank you very much for addressing this so quickly!
I’ll test the new version and get back to you if I have any further feedback.

<!-- gh-comment-id:3046138139 --> @maryam4s26 commented on GitHub (Jul 7, 2025): > [@maryam4s26](https://github.com/maryam4s26) fix is now available in v.25.1.2 Thank you 💙 Thank you very much for addressing this so quickly! I’ll test the new version and get back to you if I have any further feedback.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/cloudbeaver#1280
No description provided.