WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

GitHub Action / Pre-Commit Test - Non-Internationalized Text on Screens #4749

@palisadoes

Description

@palisadoes

Is your feature request related to a problem? Please describe.

  1. The app is intended to be international
  2. Most text on screens is automatically changed if the language is changed in a user's profile
  3. The change is not consistent
    1. Some screen text is not translated
    2. Some error and status messages are not translated. This applies to toast and non-toast messages
  4. This will limit the international adoption of the application.

Describe the solution you'd like

  1. Convert all screen visible text to automatically use
  2. Create a script to parse non-test related files in the src/ tree and notify the user of the following if non-translated text is found:
    1. File path
    2. Line number
    3. The text of the line that is in violation
  3. Each grouping of messages above must be separated by a line
  4. The first line of the output explain that user visible text was found in the listed files where translations were not provided.
  5. This script must be applied to the pre-commit and GitHub action pull-request.yml workflow and exit with a error status code if violations are discovered.

Describe alternatives you've considered

  • N/A

Approach to be followed (optional)

  • See above

Additional context

  • N/A

Metadata

Metadata

Assignees

Labels

ci/cdPull requests that update GitHub Actions codefeature requesttestTesting applicationui/uxissue related and being worked with the figma file of the Admin UI

Type

No type

Projects

Status

Backlog

Status

Backlog

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions