Closed AndyKilmory closed 1 month ago
This change allows an organisation to customise the labels seen on the sort control (an provides a pattern for general label customisation).
It uses the strings.json to hold the label overrides. The key for the entry in strings.json takes the form "<>_<>", e.g. "gr-sort-control_oldest". The entry would then be;
"gr-sort-control_oldest": "Upload - oldest first"
If there isn't a key matching the format required in strings.json then the default label is used.
Ensure that when an appropriate configured entry is added to string.json it appears correctly in the UI for the sort control.
What does this change?
This change allows an organisation to customise the labels seen on the sort control (an provides a pattern for general label customisation).
It uses the strings.json to hold the label overrides. The key for the entry in strings.json takes the form "<>_<
"gr-sort-control_oldest": "Upload - oldest first"
If there isn't a key matching the format required in strings.json then the default label is used.
How should a reviewer test this change?
Ensure that when an appropriate configured entry is added to string.json it appears correctly in the UI for the sort control.
Who should look at this?
Tested? Documented?