mirror of https://github.com/sualko/cloud_bbb
Compare commits
3 Commits
b69a5a7aab
...
9a6891f915
Author | SHA1 | Date |
---|---|---|
Kai | 9a6891f915 | |
Nextcloud bot | b60d1e77a6 | |
Kai | 5c4b95ea11 |
|
@ -1,6 +1,10 @@
|
|||
OC.L10N.register(
|
||||
"bbb",
|
||||
{
|
||||
"You shared the room %s with {shareWith}." : "Du delade rummet %s med {shareWith}.",
|
||||
"{user} shared the room %s with you." : "{user} delade rummet %s med dig.",
|
||||
"You unshared the room %s with {shareWith}." : "Du slutade dela rummet %s med {shareWith}.",
|
||||
"{user} unshared the room %s with you." : "{user} slutade dela rummet %s med dig.",
|
||||
"Public" : "Offentlig",
|
||||
"Internal" : "Intern",
|
||||
"Back to %s" : "Tillbaka till %s",
|
||||
|
@ -35,6 +39,7 @@ OC.L10N.register(
|
|||
"Server error" : "Serverfel",
|
||||
"Start" : "Start",
|
||||
"Loading" : "Läser in",
|
||||
"You are not allowed to change this option, because this room is shared with you." : "Du får inte ändra det här alternativet eftersom detta rum delas med dig.",
|
||||
"Settings saved" : "Inställningar sparade",
|
||||
"Unexpected error occurred" : "Ett oväntat fel inträffade",
|
||||
"Send to" : "Skicka till",
|
||||
|
|
|
@ -1,4 +1,8 @@
|
|||
{ "translations": {
|
||||
"You shared the room %s with {shareWith}." : "Du delade rummet %s med {shareWith}.",
|
||||
"{user} shared the room %s with you." : "{user} delade rummet %s med dig.",
|
||||
"You unshared the room %s with {shareWith}." : "Du slutade dela rummet %s med {shareWith}.",
|
||||
"{user} unshared the room %s with you." : "{user} slutade dela rummet %s med dig.",
|
||||
"Public" : "Offentlig",
|
||||
"Internal" : "Intern",
|
||||
"Back to %s" : "Tillbaka till %s",
|
||||
|
@ -33,6 +37,7 @@
|
|||
"Server error" : "Serverfel",
|
||||
"Start" : "Start",
|
||||
"Loading" : "Läser in",
|
||||
"You are not allowed to change this option, because this room is shared with you." : "Du får inte ändra det här alternativet eftersom detta rum delas med dig.",
|
||||
"Settings saved" : "Inställningar sparade",
|
||||
"Unexpected error occurred" : "Ett oväntat fel inträffade",
|
||||
"Send to" : "Skicka till",
|
||||
|
|
|
@ -0,0 +1,36 @@
|
|||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace OCA\BigBlueButton\Migration;
|
||||
|
||||
use Closure;
|
||||
use OCP\DB\ISchemaWrapper;
|
||||
use OCP\Migration\IOutput;
|
||||
use OCP\Migration\SimpleMigrationStep;
|
||||
|
||||
/**
|
||||
* Auto-generated migration step: Please modify to your needs!
|
||||
*/
|
||||
class Version000000Date20230727145600 extends SimpleMigrationStep {
|
||||
/**
|
||||
* @param IOutput $output
|
||||
* @param Closure $schemaClosure The `\Closure` returns a `ISchemaWrapper`
|
||||
* @param array $options
|
||||
* @return null|ISchemaWrapper
|
||||
*/
|
||||
public function changeSchema(IOutput $output, Closure $schemaClosure, array $options): ?ISchemaWrapper {
|
||||
/** @var ISchemaWrapper $schema */
|
||||
$schema = $schemaClosure();
|
||||
|
||||
if ($schema->hasTable('bbb_rooms')) {
|
||||
$table = $schema->getTable('bbb_rooms');
|
||||
|
||||
if ($table->hasColumn('welcome') && $table->getColumn('welcome')->getNotnull()) {
|
||||
$table->getColumn('welcome')->setNotnull(false);
|
||||
}
|
||||
}
|
||||
|
||||
return null;
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue