mirror of https://github.com/sualko/cloud_bbb
chore: Changed spelling of URL (#37)
* l10n: Changed spelling of URL Signed-off-by: rakekniven <mark.ziegler@rakekniven.de> * l10n: Changed spelling of URL Signed-off-by: rakekniven <mark.ziegler@rakekniven.de> * l10n: Changed spelling of URL Signed-off-by: rakekniven <mark.ziegler@rakekniven.de>pull/63/head
parent
277e4a4fec
commit
9c1100a22d
|
@ -34,7 +34,7 @@ class Personal implements ISettings
|
|||
$warning = '';
|
||||
|
||||
if (empty($this->config->getAppValue('bbb', 'api.url')) || empty($this->config->getAppValue('bbb', 'api.secret'))) {
|
||||
$warning = $this->l->t('API url or secret not configured. Please contact your administrator.');
|
||||
$warning = $this->l->t('API URL or secret not configured. Please contact your administrator.');
|
||||
}
|
||||
|
||||
return new TemplateResponse('bbb', 'manager', ['warning' => $warning]);
|
||||
|
|
|
@ -8,10 +8,10 @@ script('bbb', 'admin');
|
|||
<div id="bbb-settings" class="section">
|
||||
<h2>BigBlueButton</h2>
|
||||
|
||||
<p><?php p($l->t('Get your API url and secret by executing "sudo bbb-conf --secret" on your BigBlueButton server.')); ?></p>
|
||||
<p><?php p($l->t('Get your API URL and secret by executing "sudo bbb-conf --secret" on your BigBlueButton server.')); ?></p>
|
||||
|
||||
<form>
|
||||
<input type="url" name="api.url" value="<?php p($_['api.url']); ?>" placeholder="<?php p($l->t('API url')); ?>" pattern="https://.*" required />
|
||||
<input type="url" name="api.url" value="<?php p($_['api.url']); ?>" placeholder="<?php p($l->t('API URL')); ?>" pattern="https://.*" required />
|
||||
<input type="password" name="api.secret" value="<?php p($_['api.secret']); ?>" placeholder="<?php p($l->t('API secret')); ?>" autocomplete="new-password" required />
|
||||
<input type="submit" value="<?php p($l->t('Save')); ?>" />
|
||||
|
||||
|
|
|
@ -57,7 +57,7 @@ $(() => {
|
|||
let message = t('bbb', 'Unexpected error occurred');
|
||||
|
||||
if (err === 'invalid-url') {
|
||||
message = t('bbb', 'API url is invalid');
|
||||
message = t('bbb', 'API URL is invalid');
|
||||
} else if (err === 'invalid-secret') {
|
||||
message = t('bbb', 'API secret is invalid');
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue