mirror of https://github.com/sualko/cloud_bbb
16 lines
644 B
TypeScript
16 lines
644 B
TypeScript
import parse from 'html-react-parser';
|
|
import { Access } from './Api';
|
|
|
|
export const AccessOptions = {
|
|
[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'),
|
|
[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));
|
|
}
|