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

@ -35,7 +35,9 @@ export function format(
): string {
let seconds = Math.abs(dirtySeconds || 0);
if (!seconds) {
return capitalizeOff ? i18n('off') : i18n('disappearingMessages__off');
return capitalizeOff
? i18n('icu:off')
: i18n('icu:disappearingMessages__off');
}
seconds = Math.max(Math.floor(seconds), 1);