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';
|
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 = {
|
export const AccessOptions = {
|
||||||
[Access.Public]: bt('Public'),
|
[Access.Public]: t('bbb', 'Public'),
|
||||||
[Access.Password]: bt('Internal + Password protection for guests'),
|
[Access.Password]: t('bbb', 'Internal + Password protection for guests'),
|
||||||
[Access.WaitingRoom]: bt('Internal + Waiting room for guests'),
|
[Access.WaitingRoom]: t('bbb', 'Internal + Waiting room for guests'),
|
||||||
[Access.Internal]: bt('Internal'),
|
[Access.Internal]: t('bbb', 'Internal'),
|
||||||
[Access.InternalRestricted]: bt('Internal restricted'),
|
[Access.InternalRestricted]: t('bbb', 'Internal restricted'),
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue