Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ru] Update the comment block & added new lines #469

Merged
merged 1 commit into from
Sep 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions Language/ru/CLI.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

declare(strict_types=1);

/**
* This file is part of CodeIgniter 4 framework.
*
Expand All @@ -26,8 +28,9 @@
'filter' => 'Имя класса фильтра',
'migration' => 'Имя класса миграции',
'model' => 'Имя класса модели',
'seeder' => 'Имя класса Seeder `а',
'validation' => 'Имя класса валидации', // TODO: проверки???
'seeder' => 'Имя класса Seeder`а',
'test' => 'Имя тестового класса',
'validation' => 'Имя класса валидации', // TODO: проверки??? - Честно хз, но я оставил перевод оригиналного слова =D
],
'commandType' => 'Тип команды',
'databaseGroup' => 'Группа базы данных',
Expand Down
2 changes: 2 additions & 0 deletions Language/ru/Cache.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

declare(strict_types=1);

/**
* This file is part of CodeIgniter 4 framework.
*
Expand Down
2 changes: 2 additions & 0 deletions Language/ru/Cast.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

declare(strict_types=1);

/**
* This file is part of CodeIgniter 4 framework.
*
Expand Down
2 changes: 2 additions & 0 deletions Language/ru/Cookie.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

declare(strict_types=1);

/**
* This file is part of CodeIgniter 4 framework.
*
Expand Down
2 changes: 2 additions & 0 deletions Language/ru/Core.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

declare(strict_types=1);

/**
* This file is part of CodeIgniter 4 framework.
*
Expand Down
2 changes: 2 additions & 0 deletions Language/ru/Database.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

declare(strict_types=1);

/**
* This file is part of CodeIgniter 4 framework.
*
Expand Down
2 changes: 2 additions & 0 deletions Language/ru/Email.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

declare(strict_types=1);

/**
* This file is part of CodeIgniter 4 framework.
*
Expand Down
2 changes: 2 additions & 0 deletions Language/ru/Encryption.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

declare(strict_types=1);

/**
* This file is part of CodeIgniter 4 framework.
*
Expand Down
2 changes: 2 additions & 0 deletions Language/ru/Errors.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

declare(strict_types=1);

/**
* This file is part of CodeIgniter 4 framework.
*
Expand Down
2 changes: 2 additions & 0 deletions Language/ru/Fabricator.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

declare(strict_types=1);

/**
* This file is part of CodeIgniter 4 framework.
*
Expand Down
2 changes: 2 additions & 0 deletions Language/ru/Files.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

declare(strict_types=1);

/**
* This file is part of CodeIgniter 4 framework.
*
Expand Down
2 changes: 2 additions & 0 deletions Language/ru/Filters.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

declare(strict_types=1);

/**
* This file is part of CodeIgniter 4 framework.
*
Expand Down
2 changes: 2 additions & 0 deletions Language/ru/Format.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

declare(strict_types=1);

/**
* This file is part of CodeIgniter 4 framework.
*
Expand Down
4 changes: 4 additions & 0 deletions Language/ru/HTTP.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

declare(strict_types=1);

/**
* This file is part of CodeIgniter 4 framework.
*
Expand All @@ -19,6 +21,8 @@

// IncomingRequest
'invalidNegotiationType' => '{0} не является допустимым типом согласования. Должен быть один из: media, charset, encoding, language.',
'invalidJSON' => 'Не удалось разобрать строку JSON. Ошибка: {0}',
'unsupportedJSONFormat' => 'Предоставленный формат JSON не поддерживается.',

// Message
'invalidHTTPProtocol' => 'Неверная версия протокола HTTP. Должно быть одно из следующих значений: {0}',
Expand Down
2 changes: 2 additions & 0 deletions Language/ru/Images.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

declare(strict_types=1);

/**
* This file is part of CodeIgniter 4 framework.
*
Expand Down
17 changes: 17 additions & 0 deletions Language/ru/Language.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
<?php

declare(strict_types=1);

/**
* This file is part of CodeIgniter 4 framework.
*
* (c) CodeIgniter Foundation <[email protected]>
*
* For the full copyright and license information, please view
* the LICENSE file that was distributed with this source code.
*/

// "Language" language settings
return [
'invalidMessageFormat' => 'Недопустимый формат сообщения: "{0}", аргументы: "{1}"',
];
2 changes: 2 additions & 0 deletions Language/ru/Log.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

declare(strict_types=1);

/**
* This file is part of CodeIgniter 4 framework.
*
Expand Down
2 changes: 2 additions & 0 deletions Language/ru/Migrations.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

declare(strict_types=1);

/**
* This file is part of CodeIgniter 4 framework.
*
Expand Down
2 changes: 2 additions & 0 deletions Language/ru/Number.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

declare(strict_types=1);

/**
* This file is part of CodeIgniter 4 framework.
*
Expand Down
2 changes: 2 additions & 0 deletions Language/ru/Pager.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

declare(strict_types=1);

/**
* This file is part of CodeIgniter 4 framework.
*
Expand Down
2 changes: 2 additions & 0 deletions Language/ru/Publisher.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

declare(strict_types=1);

/**
* This file is part of CodeIgniter 4 framework.
*
Expand Down
2 changes: 2 additions & 0 deletions Language/ru/RESTful.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

declare(strict_types=1);

/**
* This file is part of CodeIgniter 4 framework.
*
Expand Down
2 changes: 2 additions & 0 deletions Language/ru/Router.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

declare(strict_types=1);

/**
* This file is part of CodeIgniter 4 framework.
*
Expand Down
3 changes: 3 additions & 0 deletions Language/ru/Security.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

declare(strict_types=1);

/**
* This file is part of CodeIgniter 4 framework.
*
Expand All @@ -12,6 +14,7 @@
// Security language settings
return [
'disallowedAction' => 'Запрошенное вами действие не разрешено.',
'insecureCookie' => 'Попытка отправить защищенный файл cookie через незащищенное соединение.',

// @deprecated
'invalidSameSite' => 'Значение SameSite должно быть None, Lax, Strict или пустая строка. Дано: "{0}"',
Expand Down
2 changes: 2 additions & 0 deletions Language/ru/Session.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

declare(strict_types=1);

/**
* This file is part of CodeIgniter 4 framework.
*
Expand Down
2 changes: 2 additions & 0 deletions Language/ru/Test.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

declare(strict_types=1);

/**
* This file is part of CodeIgniter 4 framework.
*
Expand Down
2 changes: 2 additions & 0 deletions Language/ru/Time.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

declare(strict_types=1);

/**
* This file is part of CodeIgniter 4 framework.
*
Expand Down
3 changes: 3 additions & 0 deletions Language/ru/Validation.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

declare(strict_types=1);

/**
* This file is part of CodeIgniter 4 framework.
*
Expand Down Expand Up @@ -29,6 +31,7 @@
'differs' => 'Поле {field} должно отличаться от поля {param}.',
'equals' => 'Поле {field} должно совпадать с полем {param}.',
'exact_length' => 'Поле {field} должно быть ровно {param} символов в длину.',
'field_exists' => 'Поле {field} должно существовать.',
'greater_than' => 'Поле {field} должно содержать число, большее, чем {param}.',
'greater_than_equal_to' => 'Поле {field} должно содержать число, большее или равное {param}.',
'hex' => 'Поле {field} должно содержать только шестнадцатеричные символы.',
Expand Down
2 changes: 2 additions & 0 deletions Language/ru/View.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

declare(strict_types=1);

/**
* This file is part of CodeIgniter 4 framework.
*
Expand Down