diff --git a/js/Dialog.ts b/js/Dialog.ts index 0d7c2239..48e2f55f 100644 --- a/js/Dialog.ts +++ b/js/Dialog.ts @@ -293,7 +293,7 @@ export default class Dialog extends Popupable( Panel, 1 ) { let voicingNameMultilink: UnknownMultilink; if ( options.closeButtonVoicingDialogTitle ) { const titleProperty = typeof options.closeButtonVoicingDialogTitle === 'string' ? new TinyProperty( options.closeButtonVoicingDialogTitle ) : options.closeButtonVoicingDialogTitle; - voicingNameMultilink = Multilink.multilink( [ sunStrings.a11y.titleClosePatternProperty, titleProperty ], ( titleClosePattern, titleString ) => { + voicingNameMultilink = Multilink.multilink( [ sunStrings.a11y.titleClosePatternStringProperty, titleProperty ], ( titleClosePattern, titleString ) => { closeButton.voicingNameResponse = StringUtils.fillIn( titleClosePattern, { title: titleString } ); diff --git a/js/sunStrings.ts b/js/sunStrings.ts index cddc3ba3..dbe9891f 100644 --- a/js/sunStrings.ts +++ b/js/sunStrings.ts @@ -11,17 +11,17 @@ import sun from './sun.js'; type StringsType = { 'sun': { 'title': string; - 'titleProperty': TReadOnlyProperty; + 'titleStringProperty': TReadOnlyProperty; }; 'a11y': { 'numberSpinnerRoleDescription': string; - 'numberSpinnerRoleDescriptionProperty': TReadOnlyProperty; + 'numberSpinnerRoleDescriptionStringProperty': TReadOnlyProperty; 'close': string; - 'closeProperty': TReadOnlyProperty; + 'closeStringProperty': TReadOnlyProperty; 'closed': string; - 'closedProperty': TReadOnlyProperty; + 'closedStringProperty': TReadOnlyProperty; 'titleClosePattern': string; - 'titleClosePatternProperty': TReadOnlyProperty; + 'titleClosePatternStringProperty': TReadOnlyProperty; } };