Uploaded image for project: 'Red Hat Developer Hub Bugs'
  1. Red Hat Developer Hub Bugs
  2. RHDHBUGS-2792

Bulk Import: Add missing German (de) and Spanish (es) translation keys used in e2e tests

XMLWordPrintable

    • False
    • Hide

      None

      Show
      None
    • False

      Description of problem:

      **

      The Bulk Import plugin’s German (de) and Spanish (es) locale files are missing translation keys that exist in the reference (ref) and in other locales (fr, it, ja). The app falls back to English for these keys. E2E tests use getTranslations(locale), which only reads the locale file (no ref fallback), so those keys are undefined in de/es and cause test failures.

      Impact

      • UI: Mixed language in de/es (e.g. “GitHub”, “Preview”, “PR” in English next to translated text).
      • E2E: The following tests fail in de and es and are currently skipped with a comment to re-enable after this bug is fixed:
        • should render bulk import page with source control options, search, and repositories table — expected snapshot contains undefined for the GitHub radio label (missing addRepositories.approvalTool.github).
        • Verify preview sidebar — expected snapshot contains undefined pull-anforderung for the heading (missing previewFile.preview).
        • Verify Import flow — TypeError: Cannot read properties of undefined (reading 'pr') (missing repositories.pr; entire repositories section absent in de/es).

      Missing keys in both de and es

      Key Ref value (English)
      addRepositories.approvalTool.github GitHub
      previewFile.preview Preview
      repositories.pr PR

      Files to update

      workspaces/bulk-import/plugins/bulk-import/src/translations/de.ts
      workspaces/bulk-import/plugins/bulk-import/src/translations/es.ts

      Reference

      Use plugins/bulk-import/src/translations/ref.ts and fr.ts / it.ts / ja.ts for key names and values when adding the missing entries.

       

      Prerequisites (if any, like setup, operators/versions):

      Steps to Reproduce

       # <steps>

      Actual results:

      Expected results:

      Reproducibility (Always/Intermittent/Only Once):

      Build Details:

      Additional info (Such as Logs, Screenshots, etc):

              Unassigned Unassigned
              rh-ee-hushaik Husne Shabbir Shaik
              RHDH Frontend Plugins & UI
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: