Fully migrate to ICU

This commit is contained in:
Jamie Kyle 2023-03-29 17:03:25 -07:00 committed by GitHub
parent d4e7177ba6
commit 5e647c55d1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
274 changed files with 7948 additions and 1944 deletions

View file

@ -67,15 +67,15 @@ export function MiniPlayer({
let mod: 'play' | 'pause' | 'pending';
switch (state) {
case PlayerState.playing:
label = i18n('MessageAudio--pause');
label = i18n('icu:MessageAudio--pause');
mod = 'pause';
break;
case PlayerState.paused:
label = i18n('MessageAudio--play');
label = i18n('icu:MessageAudio--play');
mod = 'play';
break;
case PlayerState.loading:
label = i18n('MessageAudio--pending');
label = i18n('icu:MessageAudio--pending');
mod = 'pending';
break;
default:
@ -121,7 +121,7 @@ export function MiniPlayer({
type="button"
className="MiniPlayer__close-button"
onClick={onClose}
aria-label={i18n('close')}
aria-label={i18n('icu:close')}
/>
</div>
);