liamnichols / xcstrings-tool

A plugin to generate Swift constants for your Strings Catalogs.
https://swiftpackageindex.com/liamnichols/xcstrings-tool/documentation/documentation
MIT License
134 stars 24 forks source link

Include the source localisation value in the headerdoc comments #69

Closed liamnichols closed 2 weeks ago

liamnichols commented 2 weeks ago

Closes #68

Screenshot 2024-05-16 at 20 15 17

It's useful to see the source localisation, especially now that it's no longer included in the generated code after #67. This change replaces the Resource.defaultValue property with a new sourceLocalization property and uses it for the /// doc comment for each generated accessor.