snapshot of https://github.com/jitsi/jitsi-meet.git @ fd1749dd28f4138aa80234fc7f311b19aaffa0e7 (2026-09-15)
This commit is contained in:
17
react/features/time-timer/functions.native.ts
Normal file
17
react/features/time-timer/functions.native.ts
Normal file
@@ -0,0 +1,17 @@
|
||||
import { getLocalizedDurationFormatter } from '../base/i18n/dateUtil';
|
||||
import i18next from '../base/i18n/i18next';
|
||||
|
||||
export * from './functions.any';
|
||||
|
||||
/**
|
||||
* Description for the "Timer ended" notification on native: a plain string.
|
||||
* The middleware re-posts it each tick so the overrun counter stays live.
|
||||
*
|
||||
* @param {number} overSeconds - Seconds over the scheduled end.
|
||||
* @returns {string}
|
||||
*/
|
||||
export function buildTimerEndedDescription(overSeconds: number) {
|
||||
return i18next.t('timeTimer.endedOver', {
|
||||
time: getLocalizedDurationFormatter(overSeconds * 1000)
|
||||
});
|
||||
}
|
||||
Reference in New Issue
Block a user