Compare commits

...

3 Commits

Author SHA1 Message Date
Kai 9a6891f915
Merge 5c4b95ea11 into b60d1e77a6 2024-11-28 14:09:57 +01:00
Nextcloud bot b60d1e77a6
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-11-28 02:33:16 +00:00
Kai 5c4b95ea11 fix: add notnull to welcome table (#250) 2023-07-27 15:45:21 +02:00
3 changed files with 46 additions and 0 deletions

View File

@ -1,6 +1,10 @@
OC.L10N.register( OC.L10N.register(
"bbb", "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", "Public" : "Offentlig",
"Internal" : "Intern", "Internal" : "Intern",
"Back to %s" : "Tillbaka till %s", "Back to %s" : "Tillbaka till %s",
@ -35,6 +39,7 @@ OC.L10N.register(
"Server error" : "Serverfel", "Server error" : "Serverfel",
"Start" : "Start", "Start" : "Start",
"Loading" : "Läser in", "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", "Settings saved" : "Inställningar sparade",
"Unexpected error occurred" : "Ett oväntat fel inträffade", "Unexpected error occurred" : "Ett oväntat fel inträffade",
"Send to" : "Skicka till", "Send to" : "Skicka till",

View File

@ -1,4 +1,8 @@
{ "translations": { { "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", "Public" : "Offentlig",
"Internal" : "Intern", "Internal" : "Intern",
"Back to %s" : "Tillbaka till %s", "Back to %s" : "Tillbaka till %s",
@ -33,6 +37,7 @@
"Server error" : "Serverfel", "Server error" : "Serverfel",
"Start" : "Start", "Start" : "Start",
"Loading" : "Läser in", "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", "Settings saved" : "Inställningar sparade",
"Unexpected error occurred" : "Ett oväntat fel inträffade", "Unexpected error occurred" : "Ett oväntat fel inträffade",
"Send to" : "Skicka till", "Send to" : "Skicka till",

View File

@ -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;
}
}