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

[scorecard] Add missing translation keys for German (de) and Spanish (es)

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Normal Normal
    • 1.10.0
    • 1.10.0
    • UI
    • False
    • Hide

      None

      Show
      None
    • False
    • Low

      Description of problem:

      Scorecard plugin e2e tests are skipped for German (de) and Spanish (es) because several translation keys are missing in those locales. The same keys exist in the English ref and in fr, it, and ja.

      Missing keys to add in both de.ts and es.ts:

      Category Key Ref (English) value
      emptyState emptyState.button View documentation
      metric metric.github.open_prs.title GitHub open PRs
      metric metric.github.open_prs.description Current count of open Pull Requests for a given GitHub repository.
      metric metric.jira.open_issues.title Jira open blocking tickets
      metric metric.jira.open_issues.description Highlights the number of critical, blocking issues that are currently open in Jira.
      thresholds thresholds.success Success
      thresholds thresholds.warning Warning
      thresholds thresholds.error Error
      thresholds thresholds.noEntities No entities in category state
      thresholds thresholds.entities_one count entity
      thresholds thresholds.entities_other count entities
      errors errors.metricDataUnavailable Metric data unavailable
      errors errors.noDataFound No data found

       
      (Optional, for completeness: permissionRequired.button, errors.authenticationError, errors.userNotFoundInCatalogMessage, errors.noDataFoundMessage, errors.authenticationErrorMessage.)

      Location: workspaces/scorecard/plugins/scorecard/src/translations/de.ts and es.ts

      Impact: All scorecard e2e tests are skipped for projects de and es. After these keys are added and translated, remove the beforeEach that calls skipIfLocales for ['de','es'] in scorecard.test.ts.

      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: