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
rakekniven 2020-05-22 09:33:30 +02:00 committed by GitHub
parent 277e4a4fec
commit 9c1100a22d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 6 additions and 6 deletions

View File

@ -34,7 +34,7 @@ class Personal implements ISettings
$warning = ''; $warning = '';
if (empty($this->config->getAppValue('bbb', 'api.url')) || empty($this->config->getAppValue('bbb', 'api.secret'))) { 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]); return new TemplateResponse('bbb', 'manager', ['warning' => $warning]);

View File

@ -8,10 +8,10 @@ script('bbb', 'admin');
<div id="bbb-settings" class="section"> <div id="bbb-settings" class="section">
<h2>BigBlueButton</h2> <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> <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="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')); ?>" /> <input type="submit" value="<?php p($l->t('Save')); ?>" />

View File

@ -57,7 +57,7 @@ $(() => {
let message = t('bbb', 'Unexpected error occurred'); let message = t('bbb', 'Unexpected error occurred');
if (err === 'invalid-url') { if (err === 'invalid-url') {
message = t('bbb', 'API url is invalid'); message = t('bbb', 'API URL is invalid');
} else if (err === 'invalid-secret') { } else if (err === 'invalid-secret') {
message = t('bbb', 'API secret is invalid'); message = t('bbb', 'API secret is invalid');
} }