mirror of https://github.com/sualko/cloud_bbb
parent
6d0c3d65a3
commit
e1da5ebffc
|
@ -0,0 +1,9 @@
|
||||||
|
[main]
|
||||||
|
host = https://www.transifex.com
|
||||||
|
lang_map = bg_BG: bg, cs_CZ: cs, fi_FI: fi, hu_HU: hu, nb_NO: nb, sk_SK: sk, th_TH: th, ja_JP: ja
|
||||||
|
|
||||||
|
[nextcloud.bbb]
|
||||||
|
file_filter = translationfiles/<lang>/bbb.po
|
||||||
|
source_file = translationfiles/templates/bbb.pot
|
||||||
|
source_lang = en
|
||||||
|
type = PO
|
|
@ -9,8 +9,8 @@ script('bbb', 'admin');
|
||||||
<h2>BigBlueButton</h2>
|
<h2>BigBlueButton</h2>
|
||||||
|
|
||||||
<form>
|
<form>
|
||||||
<input type="url" name="api.url" value="<?php p($_['api.url']); ?>" placeholder="API url" pattern="https://.*" />
|
<input type="url" name="api.url" value="<?php p($_['api.url']); ?>" placeholder="<?php p($l->t('API url')); ?>" pattern="https://.*" />
|
||||||
<input type="password" name="api.secret" value="<?php p($_['api.secret']); ?>" placeholder="API secret" />
|
<input type="password" name="api.secret" value="<?php p($_['api.secret']); ?>" placeholder="<?php p($l->t('API secret')); ?>" />
|
||||||
<input type="submit" value="<?php p($l->t('Save')); ?>" />
|
<input type="submit" value="<?php p($l->t('Save')); ?>" />
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
|
@ -98,16 +98,16 @@ const App: React.FC<Props> = () => {
|
||||||
<th />
|
<th />
|
||||||
<th />
|
<th />
|
||||||
<th onClick={() => onOrderBy('name')}>
|
<th onClick={() => onOrderBy('name')}>
|
||||||
Name <SortArrow name='name' value={orderBy} direction={sortOrder} />
|
{t('bbb', 'Name')} <SortArrow name='name' value={orderBy} direction={sortOrder} />
|
||||||
</th>
|
</th>
|
||||||
<th onClick={() => onOrderBy('welcome')}>
|
<th onClick={() => onOrderBy('welcome')}>
|
||||||
Welcome <SortArrow name='welcome' value={orderBy} direction={sortOrder} />
|
{t('bbb', 'Welcome')} <SortArrow name='welcome' value={orderBy} direction={sortOrder} />
|
||||||
</th>
|
</th>
|
||||||
<th onClick={() => onOrderBy('maxParticipants')}>
|
<th onClick={() => onOrderBy('maxParticipants')}>
|
||||||
Max <SortArrow name='maxParticipants' value={orderBy} direction={sortOrder} />
|
{t('bbb', 'Max')} <SortArrow name='maxParticipants' value={orderBy} direction={sortOrder} />
|
||||||
</th>
|
</th>
|
||||||
<th onClick={() => onOrderBy('record')}>
|
<th onClick={() => onOrderBy('record')}>
|
||||||
Record <SortArrow name='record' value={orderBy} direction={sortOrder} />
|
{t('bbb', 'Record')} <SortArrow name='record' value={orderBy} direction={sortOrder} />
|
||||||
</th>
|
</th>
|
||||||
<th />
|
<th />
|
||||||
</tr>
|
</tr>
|
||||||
|
|
|
@ -20,10 +20,10 @@ const NewRoomForm: React.FC<Props> = (props) => {
|
||||||
<input
|
<input
|
||||||
className="newgroup-name"
|
className="newgroup-name"
|
||||||
value={name}
|
value={name}
|
||||||
placeholder="Room name"
|
placeholder={t('bbb', 'Room name')}
|
||||||
onChange={(event) => {setName(event.target.value);}} />
|
onChange={(event) => {setName(event.target.value);}} />
|
||||||
|
|
||||||
<input type="submit" value="Create" />
|
<input type="submit" value={t('bbb', 'Create')} />
|
||||||
</form>
|
</form>
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|
|
@ -96,7 +96,7 @@ const RoomRow: React.FC<Props> = (props) => {
|
||||||
<td className="remove icon-col">
|
<td className="remove icon-col">
|
||||||
<a className="icon icon-delete icon-visible"
|
<a className="icon icon-delete icon-visible"
|
||||||
onClick={deleteRow as any}
|
onClick={deleteRow as any}
|
||||||
title="Delete" />
|
title={t('bbb', 'Delete')} />
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
);
|
);
|
||||||
|
|
|
@ -74,8 +74,6 @@ $(() => {
|
||||||
const createResponse = await axios.post(url, {
|
const createResponse = await axios.post(url, {
|
||||||
path,
|
path,
|
||||||
shareType: OC.Share.SHARE_TYPE_LINK,
|
shareType: OC.Share.SHARE_TYPE_LINK,
|
||||||
note: 'foobar foobar foobar',
|
|
||||||
expireDate: '2020-07-01',
|
|
||||||
});
|
});
|
||||||
|
|
||||||
const { meta, data } = createResponse.data.ocs;
|
const { meta, data } = createResponse.data.ocs;
|
||||||
|
|
Loading…
Reference in New Issue