Since NumberDisplay and NumberControl now support {{value}}, there are 4 replacements involving '{0}' that should be changed to NumberDisplay.NAMED_PLACEHOLDER:
In the future, such replacements could be avoided altogether by using '{{value}}' in the string file. For example:
// instead of this:
"metersPattern": {
"value": "{{meters}} m"
},
// use this:
"metersPattern": {
"value": "{{value}} m"
},
Noted in https://github.com/phetsims/scenery-phet/issues/446#issuecomment-460732512.
Since NumberDisplay and NumberControl now support
{{value}}
, there are 4 replacements involving'{0}'
that should be changed toNumberDisplay.NAMED_PLACEHOLDER
:In the future, such replacements could be avoided altogether by using '{{value}}' in the string file. For example: