cloud_bbb/ts/Common/Translation.ts

16 lines
644 B
TypeScript
Raw Normal View History

import parse from 'html-react-parser';
import { Access } from './Api';
export const AccessOptions = {
2021-01-22 19:19:43 +01:00
[Access.Public]: t('bbb', 'Public'),
[Access.Password]: t('bbb', 'Internal + Password protection for guests'),
[Access.WaitingRoom]: t('bbb', 'Internal + Waiting room for guests'),
[Access.WaitingRoomAll]: t('bbb', 'Waiting room for all users'),
2021-01-22 19:19:43 +01:00
[Access.Internal]: t('bbb', 'Internal'),
[Access.InternalRestricted]: t('bbb', 'Internal restricted'),
};
export function t_raw(app: string, string: string, vars?: { [key: string]: string }, count?: number, options?: EscapeOptions){
return parse(t(app, string, vars, count, options));
}