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

Rename translation strings to avoid conflict #8958

Merged
merged 2 commits into from Mar 12, 2021

Conversation

drewnoakes
Copy link
Member

Proposed changes

Rename translation strings to avoid conflict.

So long as we target .NET Framework, we do not have annotated versions of string.IsNullOrEmpty and friends. We've worked around this by introducing a Strings class that has annotated versions of these, but that class had a naming conflict with existing translation string resources.

Test methodology

  • Manual testing.

✒️ I contribute this code under The Developer Certificate of Origin.

@ghost ghost assigned drewnoakes Mar 8, 2021
@RussKie
Copy link
Member

RussKie commented Mar 8, 2021

image

Is this change modifying translations?

@RussKie RussKie added the 📭 needs: author feedback More info/confirmation awaited from OP; issues typically get closed after 30 days of inactivity label Mar 8, 2021
@drewnoakes
Copy link
Member Author

Is this change modifying translations?

Not intentionally. I'll take a look.

@ghost ghost removed the 📭 needs: author feedback More info/confirmation awaited from OP; issues typically get closed after 30 days of inactivity label Mar 8, 2021
So long as we target .NET Framework, we do not have annotated versions of string.IsNullOrEmpty and friends. We've worked around this by introducing a `Strings` class that has annotated versions of these, but that class had a naming conflict with existing translation string resources.

This commit renames the translation strings to avoid the conflict, which simplifies several usages of the `Strings` type.
@drewnoakes
Copy link
Member Author

@RussKie I just had to run a command to regenerate some files.

Rebased to fix merge conflict. There was no actual conflict when rebasing, so the diff is identical, just a different base now.

@RussKie RussKie merged commit e721aad into gitextensions:master Mar 12, 2021
@ghost ghost added this to the 3.6 milestone Mar 12, 2021
@drewnoakes drewnoakes deleted the strings-naming-conflict branch March 13, 2021 07:55
@drewnoakes
Copy link
Member Author

drewnoakes commented Mar 13, 2021

@RussKie did you squash merge this? The commit description was lost.

@RussKie
Copy link
Member

RussKie commented Mar 13, 2021 via email

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.

None yet

2 participants