Skip to content

Commit

Permalink
Translate everything, fixes #716
Browse files Browse the repository at this point in the history
  • Loading branch information
tgloeggl committed Jun 15, 2023
1 parent 1c815bd commit 042800c
Show file tree
Hide file tree
Showing 15 changed files with 1,789 additions and 955 deletions.
6 changes: 3 additions & 3 deletions lib/Models/CoursewareBlockMappings.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@ protected static function configure($config = [])

/**
* Adds a new mapping record
*
*
* @param string $seminar_id id of course
* @param int $video_id id of video
* @param string $block_id id of block
*
*
* @return bool
* @throws Exception
*/
Expand All @@ -31,7 +31,7 @@ public static function setRecord($token, $video_id, $new_seminar_id)
$video_cw_mapping->setData(compact('token', 'video_id', 'new_seminar_id'));
return $video_cw_mapping->store();
} else {
throw new \Exception(_('Falsche Informationen zum Speichern von Daten.'));
throw new \Exception('Could not store course mappings, missing data.');
}
}

Expand Down
2 changes: 1 addition & 1 deletion lib/Models/Videos.php
Original file line number Diff line number Diff line change
Expand Up @@ -762,7 +762,7 @@ public function reportVideo($description)

return $feedback->send();
} catch (\Throwable $th) {
throw new Error(_('Unable to send email'), 500);
throw new Error('Unable to send email', 500);
}
return false;
}
Expand Down
Binary file modified locale/en/LC_MESSAGES/opencast.mo
Binary file not shown.
Loading

0 comments on commit 042800c

Please sign in to comment.