Skip to content

[NAE-2453] System processes translations#465

Open
Retoocs wants to merge 3 commits into
release/6.5.0from
NAE-2453
Open

[NAE-2453] System processes translations#465
Retoocs wants to merge 3 commits into
release/6.5.0from
NAE-2453

Conversation

@Retoocs

@Retoocs Retoocs commented Jul 10, 2026

Copy link
Copy Markdown
Contributor

Description

Add missing translations to system processes

Implements NAE-2453

Dependencies

No new dependencies were introduced

Third party dependencies

No new dependencies were introduced

Blocking Pull requests

There are no dependencies on other PR

How Has Been This Tested?

Manually

Test Configuration

Name Tested on
OS Ubuntu 24.04.1 LTS
Runtime Java 11
Dependency Manager Maven 3.6.3
Framework version Spring Boot 2.7.8
Run parameters
Other configuration

Checklist:

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • My changes have been checked, personally or remotely, with @...
  • I have commented my code, particularly in hard-to-understand areas
  • I have resolved all conflicts with the target branch of the PR
  • I have updated and synced my code with the target branch
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing tests pass locally with my changes:
    • Lint test
    • Unit tests
    • Integration tests
  • I have checked my contribution with code analysis tools:
  • I have made corresponding changes to the documentation:
    • Developer documentation
    • User Guides
    • Migration Guides

Summary by CodeRabbit

  • New Features
    • Added/expanded Slovak and German UI translations for dashboard, menu, task, ticket, case-view, process, and organization-group screens.
    • Updated interface metadata to use named i18n keys for titles, labels, placeholders, and descriptions, improving consistent localization coverage.
  • Bug Fixes
    • Fixed missing or unnamed UI text keys (including transition and action prompts) to ensure localized content renders correctly.

Retoocs added 2 commits July 10, 2026 12:25
- add todo place holders for missing translations
@Retoocs Retoocs self-assigned this Jul 10, 2026
@coderabbitai

coderabbitai Bot commented Jul 10, 2026

Copy link
Copy Markdown

Review Change Stack

Walkthrough

The XML process definitions now use named i18n keys for UI titles, labels, placeholders, fields, and messages, with added Slovak and German translations across dashboard, menu, organization-group, and process configurations.

Changes

Localized UI metadata

Layer / File(s) Summary
Standard model title localization
src/main/resources/petriNets/engine-processes/dashboard_item.xml, src/main/resources/petriNets/engine-processes/menu/*.xml
Dashboard and menu configuration titles are bound to model_title, with Slovak and German translations added.
Dashboard management localization
src/main/resources/petriNets/engine-processes/dashboard_management.xml
Dashboard titles and item placeholders use named localization keys with Slovak and German entries.
Organization-group UI localization
src/main/resources/petriNets/engine-processes/org_group.xml
Organization-group fields, menu import controls, transition labels, and locale strings are converted to i18n bindings.
Process metadata localization
src/main/resources/petriNets/engine-processes/process.xml
Process fields, dynamic messages, transition labels, finish titles, and Slovak/German translations are made i18n-capable.

Estimated code review effort: 3 (Moderate) | ~20 minutes

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title matches the main change: adding translations to system processes.
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.

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.

@Retoocs Retoocs marked this pull request as ready for review July 10, 2026 11:21

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Actionable comments posted: 1

Caution

Some comments are outside the diff and can’t be posted inline due to platform limitations.

⚠️ Outside diff range comments (2)
src/main/resources/petriNets/engine-processes/org_group.xml (1)

93-93: 📐 Maintainability & Code Quality | 🟡 Minor | ⚡ Quick win

Typo in English default text: "e-meail" should be "e-mail".

📝 Proposed fix
-		<desc name="invite_by_mail_desc">Add e-meail address to send invitation</desc>
+		<desc name="invite_by_mail_desc">Add e-mail address to send invitation</desc>
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@src/main/resources/petriNets/engine-processes/org_group.xml` at line 93,
Correct the typo in the default description identified by the
invite_by_mail_desc element, changing “e-meail” to “e-mail”.
src/main/resources/petriNets/engine-processes/process.xml (1)

892-892: 🎯 Functional Correctness | 🟠 Major | ⚡ Quick win

t6_finish title is missing i18n binding.

All other finish titles (deploy_finish, t10_finish, t11_finish, view_finish) have name="..." attributes and corresponding sk/de i18n entries, but t6_finish at line 892 uses a plain <title>Delete</title> with no name and no i18n entries. This is inconsistent with the PR's objective of adding missing translations.

🔧 Proposed fix: add name attribute and i18n entries
-		<title>Delete</title>
+		<title name="t6_finish">Delete</title>

And add corresponding i18n entries in both locale blocks:

 		<i18nString name="t6_label">Odstrániť</i18nString>
+		<i18nString name="t6_finish">Odstrániť</i18nString>
 		<i18nString name="t9_label">Archivovať</i18nString>
 		<i18nString name="t6_label">Löschen</i18nString>
+		<i18nString name="t6_finish">Löschen</i18nString>
 		<i18nString name="t9_label">Archivieren</i18nString>
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@src/main/resources/petriNets/engine-processes/process.xml` at line 892, Add
an i18n binding to the t6_finish title by assigning it a unique name attribute
consistent with the other finish titles, then add matching translations for that
key in both the sk and de locale blocks.
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@src/main/resources/petriNets/engine-processes/org_group.xml`:
- Around line 23-24: Swap the i18n name attributes for the group_id elements to
match the group_name pattern: use group_id_placeh for the placeholder and
group_id_desc for the description. Also swap the corresponding German
translation entries so group_id_placeh contains “Gruppen-ID eingeben” and
group_id_desc contains “ID der Organisationsgruppe”.

---

Outside diff comments:
In `@src/main/resources/petriNets/engine-processes/org_group.xml`:
- Line 93: Correct the typo in the default description identified by the
invite_by_mail_desc element, changing “e-meail” to “e-mail”.

In `@src/main/resources/petriNets/engine-processes/process.xml`:
- Line 892: Add an i18n binding to the t6_finish title by assigning it a unique
name attribute consistent with the other finish titles, then add matching
translations for that key in both the sk and de locale blocks.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Pro

Run ID: 3fd0bb57-2906-4fe6-a8e8-d85418720be9

📥 Commits

Reviewing files that changed from the base of the PR and between 49e9ed6 and 8a7eb7c.

📒 Files selected for processing (9)
  • src/main/resources/petriNets/engine-processes/dashboard_item.xml
  • src/main/resources/petriNets/engine-processes/dashboard_management.xml
  • src/main/resources/petriNets/engine-processes/menu/case_view_configuration.xml
  • src/main/resources/petriNets/engine-processes/menu/menu_item.xml
  • src/main/resources/petriNets/engine-processes/menu/single_task_view_configuration.xml
  • src/main/resources/petriNets/engine-processes/menu/tabbed_ticket_view_configuration.xml
  • src/main/resources/petriNets/engine-processes/menu/task_view_configuration.xml
  • src/main/resources/petriNets/engine-processes/org_group.xml
  • src/main/resources/petriNets/engine-processes/process.xml

Comment thread src/main/resources/petriNets/engine-processes/org_group.xml Outdated

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Caution

Some comments are outside the diff and can’t be posted inline due to platform limitations.

⚠️ Outside diff range comments (1)
src/main/resources/petriNets/engine-processes/org_group.xml (1)

306-307: 🎯 Functional Correctness | 🔴 Critical | ⚡ Quick win

German translations for group_id_desc and group_id_placeh are still swapped.

The previous review identified this issue and the data field name attributes (lines 23–24) were correctly fixed, but the German i18n values were not swapped to match. Currently:

  • group_id_desc = "Gruppen-ID eingeben" (this is placeholder prompt text, not a description)
  • group_id_placeh = "ID der Organisationsgruppe" (this is a description, not a placeholder prompt)

The Slovak entries (lines 259–260) are correct, confirming the intended mapping. German users will see the wrong text in both the placeholder and description fields.

🔧 Fix: swap the German values to match the corrected key names
-		<i18nString name="group_id_desc">Gruppen-ID eingeben</i18nString>
-		<i18nString name="group_id_placeh">ID der Organisationsgruppe</i18nString>
+		<i18nString name="group_id_desc">ID der Organisationsgruppe</i18nString>
+		<i18nString name="group_id_placeh">Gruppen-ID eingeben</i18nString>
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@src/main/resources/petriNets/engine-processes/org_group.xml` around lines 306
- 307, Swap the German i18n values for group_id_desc and group_id_placeh in the
relevant resource: group_id_desc must use “ID der Organisationsgruppe”, while
group_id_placeh must use “Gruppen-ID eingeben”, matching the corrected
field-name mapping and Slovak entries.
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Outside diff comments:
In `@src/main/resources/petriNets/engine-processes/org_group.xml`:
- Around line 306-307: Swap the German i18n values for group_id_desc and
group_id_placeh in the relevant resource: group_id_desc must use “ID der
Organisationsgruppe”, while group_id_placeh must use “Gruppen-ID eingeben”,
matching the corrected field-name mapping and Slovak entries.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Pro

Run ID: 40a59a9b-6445-4501-b8d3-72b71ebc3234

📥 Commits

Reviewing files that changed from the base of the PR and between 8a7eb7c and 83db30f.

📒 Files selected for processing (1)
  • src/main/resources/petriNets/engine-processes/org_group.xml

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