Skip to content

Docs: Update task priority label to use translation keys#1976

Merged
andrablaj merged 1 commit intomedic:mainfrom
SinghCod3r:patch-1
Sep 2, 2025
Merged

Docs: Update task priority label to use translation keys#1976
andrablaj merged 1 commit intomedic:mainfrom
SinghCod3r:patch-1

Conversation

@SinghCod3r
Copy link
Contributor

Updates the tasks.js documentation to reflect the correct method for internationalizing task priority labels.

  • Replaces the outdated array-style label with the recommended translation key (string) format.
  • Adds an explanatory note clarifying that using translation keys is the standard practice for internationalization.

This change aligns the documentation with the current validation schema in cht-conf.

Fixes #1974

Updates the `tasks.js` documentation to reflect the correct method for internationalizing task priority labels.

- Replaces the outdated array-style label with the recommended translation key (string) format.
- Adds an explanatory note clarifying that using translation keys is the standard practice for internationalization.

This change aligns the documentation with the current validation schema in `cht-conf`.

Fixes medic#1974
Copy link
Member

@dianabarsan dianabarsan left a comment

Choose a reason for hiding this comment

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

very nice!

@andrablaj andrablaj merged commit e716c15 into medic:main Sep 2, 2025
1 check passed
mrjones-plip pushed a commit that referenced this pull request Sep 10, 2025
Updates the `tasks.js` documentation to reflect the correct method for internationalizing task priority labels.

- Replaces the outdated array-style label with the recommended translation key (string) format.
- Adds an explanatory note clarifying that using translation keys is the standard practice for internationalization.

This change aligns the documentation with the current validation schema in `cht-conf`.

Fixes #1974
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.

Task priority labels are not internationalized with old array style

3 participants