Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace duplicated strings #3710

Merged
merged 3 commits into from
May 15, 2024
Merged

Replace duplicated strings #3710

merged 3 commits into from
May 15, 2024

Conversation

qwerty287
Copy link
Contributor

Mainly the secrets strings.

Is there a way how we can not lose the translations?

Closes #1347

@qwerty287 qwerty287 added ui frontend related refactor delete or replace old code translation labels May 15, 2024
@qwerty287 qwerty287 added this to the 2.6.0 milestone May 15, 2024
@anbraten
Copy link
Member

Is there a way how we can not lose the translations?

I think the translation memory should do that.

Copy link
Member

@anbraten anbraten left a comment

Choose a reason for hiding this comment

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

code lgtm. not 100% sure if all translations exists (might be a nice idea to add https://eslint-plugin-vue-i18n.intlify.dev/rules/no-missing-keys.html)

@qwerty287
Copy link
Contributor Author

Yes, that's a good idea. I manually tested it and didn't find any problems

@qwerty287 qwerty287 merged commit b08133b into woodpecker-ci:main May 15, 2024
6 of 7 checks passed
@qwerty287 qwerty287 deleted the dupl-str branch May 15, 2024 16:52
@woodpecker-bot woodpecker-bot mentioned this pull request May 22, 2024
1 task
@qwerty287 qwerty287 modified the milestones: 2.6.0, 2.5.0 May 25, 2024
6543 pushed a commit to 6543-forks/woodpecker that referenced this pull request Sep 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
refactor delete or replace old code translation ui frontend related
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Remove redundancy in translation entrys
2 participants