Skip to content
Snippets Groups Projects
  • chrisgarrity's avatar
    c906ae55
    Localize library tags · c906ae55
    chrisgarrity authored
    * convert all tags to have a `tag` field corresponding to the query parameter, and `intlLabel` field that defines the title message for `FormattedMessage`
    * define all the tag messages in a shared file so they can be included in multiple places.
    * convert the `TagButton` to use `tag` for the `onclick` handler value, and localize `intlLabel` for the title.
    
    In the library I’ve continued to use `tag.toLowercase()` even though all the tags are currently defined as lowercase. It’s safer, but currently not strictly needed.
    c906ae55
    History
    Localize library tags
    chrisgarrity authored
    * convert all tags to have a `tag` field corresponding to the query parameter, and `intlLabel` field that defines the title message for `FormattedMessage`
    * define all the tag messages in a shared file so they can be included in multiple places.
    * convert the `TagButton` to use `tag` for the `onclick` handler value, and localize `intlLabel` for the title.
    
    In the library I’ve continued to use `tag.toLowercase()` even though all the tags are currently defined as lowercase. It’s safer, but currently not strictly needed.
Code owners
Assign users and groups as approvers for specific file changes. Learn more.