Skip to content

feature: mark primary strings#1833

Merged
ErikSin merged 32 commits intodevelopfrom
feature/mark-primary-strings
Apr 17, 2026
Merged

feature: mark primary strings#1833
ErikSin merged 32 commits intodevelopfrom
feature/mark-primary-strings

Conversation

@cimigree
Copy link
Copy Markdown
Contributor

@cimigree cimigree commented Apr 14, 2026

closes #1778
closes #1779
closes #1774
closes #1780

Merged in Erik's PR that has the comments that specify which strings should be primary
Added $1 to the beginning of all of the primary strings
Added an extraction script (in scripts and a command in package.json) to sort the primary strings into a primary file and the rest into a secondary file.
Ran the script and built those files.
Includes a temporary patch for the build-translations file to filter out directories so CI passes

I left the comments in specifying which strings are primary but can easily delete them. What do you think???

@cimigree cimigree requested a review from ErikSin April 14, 2026 21:49
@ErikSin
Copy link
Copy Markdown
Contributor

ErikSin commented Apr 14, 2026

I left the comments in specifying which strings are primary but can easily delete them. What do you think???

I think we should delete them, its feels a little redundant at this point

Copy link
Copy Markdown
Contributor

@ErikSin ErikSin left a comment

Choose a reason for hiding this comment

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

Looks good. I think we should get rid of my "primary-strings" comments and also get rid of the en.json file

Good job with the node extraction script

Comment thread messages/en.json Outdated
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

we should delete this file

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

The build-translations.mjs script still reads from the messages/ folder and en.json is in there. So if we delete it now, the app's English strings would break until step 5. Are you sure we want to do that?

@ErikSin
Copy link
Copy Markdown
Contributor

ErikSin commented Apr 14, 2026

Also, it seems like it is just the language e2e tests that are failing. So i think the best strategy is to just comment them out so CI passes since it seems isolated to that

@ErikSin
Copy link
Copy Markdown
Contributor

ErikSin commented Apr 16, 2026

THere is one failing test that is unrelated, so I am merging into develop!

@ErikSin ErikSin merged commit 0f138b0 into develop Apr 17, 2026
12 of 15 checks passed
@ErikSin ErikSin deleted the feature/mark-primary-strings branch April 17, 2026 00:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

3 participants