mirror of https://github.com/sualko/cloud_bbb
18 lines
545 B
TypeScript
18 lines
545 B
TypeScript
import { Access } from './Api';
|
|
|
|
interface EscapeOptions {
|
|
escape?: boolean;
|
|
}
|
|
|
|
export function bt(string: string, vars?: { [key: string]: string }, count?: number, options?: EscapeOptions): string {
|
|
return t('bbb', string, vars, count, options);
|
|
}
|
|
|
|
export const AccessOptions = {
|
|
[Access.Public]: bt('Public'),
|
|
[Access.Password]: bt('Internal + Password protection for guests'),
|
|
[Access.WaitingRoom]: bt('Internal + Waiting room for guests'),
|
|
[Access.Internal]: bt('Internal'),
|
|
[Access.InternalRestricted]: bt('Internal restricted'),
|
|
};
|