Skip to content

Update Resources.tt to sort the .resx file #22156

Description

@bricelam

Most of my merge conflicts these days are caused by added resource strings. We should update the .tt file to sort the .resx file when it generates the .cs file. I have a gist that does that; I used to use it on my ImageResizer project to merge in updated translations.

Activity

  1. self-assigned this
    on Aug 20, 2020
  2. ajcvickers commented on Aug 21, 2020

    @ajcvickers
    Contributor

    I use the random insertion approach: put the new string at some random location in the file, not the beginning or end, and preferably somewhere with related strings. 🙃

    But this is better.

  3. added this to the 5.0.0 milestone on Aug 21, 2020
  4. added a commit that references this issue on Aug 21, 2020
    c59ed17
  5. modified the milestones: 5.0.0, on Aug 21, 2020
  6. ghost closed this as completedin #22171on Aug 22, 2020
  7. ghost added a commit that references this issue on Aug 22, 2020
    dd3fc4f
  8. modified the milestones: , 5.0.0 on Nov 7, 2020
  9. added theissue type on Jun 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions