Translate Russian comments and user-facing strings to English

Covers OccOutput.php, DbController.php and js/index.js: docblocks,
inline comments, the forbidden-construct labels shown to admins in
error responses, and the SQL template descriptions shown in the
terminal (delete-user, list-user, rename-user).
This commit is contained in:
2026-09-26 00:13:03 +02:00
parent 040743d351
commit 7d05643ee6
3 changed files with 113 additions and 106 deletions
+4 -4
View File
@@ -37,17 +37,17 @@ class OccOutput extends BufferedOutput implements ConsoleOutputInterface
public function fetch(): string
{
// Получаем основной буфер
// Get the main buffer
$content = parent::fetch();
// Если есть stream от секций, читаем его тоже
// If there's a stream from sections, read that too
if ($this->stream !== null) {
rewind($this->stream);
$streamContent = stream_get_contents($this->stream);
if ($streamContent !== false) {
$content .= $streamContent;
}
// Очищаем stream для следующего вызова
// Clear the stream for the next call
ftruncate($this->stream, 0);
rewind($this->stream);
}