mirror of https://github.com/sualko/cloud_bbb
fix: translation of access options
parent
3b86cf5b4a
commit
e9cd6aca20
|
@ -1,17 +1,9 @@
|
|||
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'),
|
||||
[Access.Public]: t('bbb', 'Public'),
|
||||
[Access.Password]: t('bbb', 'Internal + Password protection for guests'),
|
||||
[Access.WaitingRoom]: t('bbb', 'Internal + Waiting room for guests'),
|
||||
[Access.Internal]: t('bbb', 'Internal'),
|
||||
[Access.InternalRestricted]: t('bbb', 'Internal restricted'),
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue