diff --git a/docs/locales/en/LC_MESSAGES/cli_version.po b/docs/locales/en/LC_MESSAGES/cli_version.po index 93debe9c1..be79f101a 100644 --- a/docs/locales/en/LC_MESSAGES/cli_version.po +++ b/docs/locales/en/LC_MESSAGES/cli_version.po @@ -2,14 +2,14 @@ msgid "" msgstr "" "Project-Id-Version: pgcodekeeper-docs\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-10-16 15:10+0300\n" -"PO-Revision-Date: 2025-10-20 11:34\n" +"POT-Creation-Date: 2026-02-26 15:17+0300\n" +"PO-Revision-Date: 2026-03-02 08:48\n" "Last-Translator: \n" "Language-Team: English\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"Generated-By: Babel 2.10.3\n" +"Generated-By: Babel 2.17.0\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" "X-Crowdin-Project: pgcodekeeper-docs\n" "X-Crowdin-Project-ID: 301130\n" @@ -46,7 +46,7 @@ msgstr "Operation modes" msgid "Полный набор параметров, доступных для работы с программой Вы можете посмотреть выполнив команду: ::" msgstr "You can view the full set of parameters available for working with the program by executing the command: ::" -#: ../../cli_version.rst:29 +#: ../../cli_version.rst:27 msgid "Консольная версия имеет следующие режимы работы:" msgstr "The console version has the following operation modes:" @@ -62,402 +62,155 @@ msgstr ":ref:`parseMode`" msgid ":ref:`graphMode`" msgstr ":ref:`graphMode`" -#: ../../cli_version.rst:28 -msgid ":ref:`insertMode`" -msgstr ":ref:`insertMode`" - -#: ../../cli_version.rst:29 -msgid ":ref:`verifyMode`" -msgstr ":ref:`verifyMode`" - -#: ../../cli_version.rst:34 +#: ../../cli_version.rst:32 msgid "diff" msgstr "diff" -#: ../../cli_version.rst:36 +#: ../../cli_version.rst:34 msgid "Режим по-умолчанию, команда для вызова **--mode DIFF**. Сравнивает два источника данных и формирует скрипт миграции. В качестве источника данных может использоваться дамп, проект pgCodeKeeper или база данных." msgstr "This is the default mode, **--mode DIFF** command to call. It compares the two sources and generates a migration script. A dump, a pgCodeKeeper project, or a database can be used as a data source." -#: ../../cli_version.rst:38 +#: ../../cli_version.rst:36 msgid "Пример команды для сравнения двух баз данных PostgreSQL и сохранения скрипта миграции в файл. ::" msgstr "Example of a command for comparing two PostgreSQL databases and saving the migration script to the file. ::" -#: ../../cli_version.rst:47 +#: ../../cli_version.rst:45 msgid "**--db-type PG** - тип БД." msgstr "**--db-type PG** - database type." -#: ../../cli_version.rst:48 +#: ../../cli_version.rst:46 msgid "**-s ** - путь до источника изменений." msgstr "**-s ** - path to the source of changes." -#: ../../cli_version.rst:49 +#: ../../cli_version.rst:47 msgid "**-t ** - путь до приемника изменений." msgstr "**-t ** - path to the recipient of changes." -#: ../../cli_version.rst:50 +#: ../../cli_version.rst:48 msgid "**- o ** - путь до файла, куда будет сохранен скрипт миграции. Без этого параметра результат отобразится в консоли." msgstr "**- o ** - path to the file the migration script is going to be saved to. If you don't specify this parameter, the result will be displayed in the console." -#: ../../cli_version.rst:52 +#: ../../cli_version.rst:50 msgid "Сами указатели `-s / --source` и `-t / --target` (не ) могут быть опущены, тогда первые два аргумента без указателя будут использоваться в качестве источника и приемника соответственно." msgstr "You can omit the `-s / --source` and `-t / --target` indices (not ). If you do that, the first two arguments without an index will be used as a source and a recipient respectively." -#: ../../cli_version.rst:54 +#: ../../cli_version.rst:52 msgid "Пример команды для сравнения MS SQL проекта и базы данных и вывода результата в консоль. ::" msgstr "Example of a command for comparing an MS SQL project and a database and displaying the result in the console. ::" -#: ../../cli_version.rst:64 +#: ../../cli_version.rst:62 msgid "Пример команды для сравнения ClickHouse дампа и базы данных и выполнение скрипта на этой же базе данных. ::" msgstr "Example of a command for comparing a ClickHouse dump and a database and executing the script in the same database. ::" -#: ../../cli_version.rst:75 ../../cli_version.rst:174 +#: ../../cli_version.rst:73 ../../cli_version.rst:172 msgid "Пример вывода результата: ::" msgstr "Example of a result output: ::" -#: ../../cli_version.rst:91 +#: ../../cli_version.rst:89 msgid "parse" msgstr "parse" -#: ../../cli_version.rst:93 +#: ../../cli_version.rst:91 msgid "Команда **--mode PARSE** позволяет переключить работу в режим сохранения базы данных в виде проекта. Команды, доступные в этом режиме:" msgstr "**--mode PARSE** is a command that allows you to enable saving the database as a project. In this mode, the following commands are available:" -#: ../../cli_version.rst:95 +#: ../../cli_version.rst:93 msgid "**--update-project** - обновление существующего проекта." msgstr "**--update-project** - update of an existing project." -#: ../../cli_version.rst:97 +#: ../../cli_version.rst:95 msgid "Пример команды для создания нового проекта на основе данной БД. ::" msgstr "Example of a command for creating a new project based on this database. ::" -#: ../../cli_version.rst:106 ../../cli_version.rst:150 -#: ../../cli_version.rst:215 ../../cli_version.rst:233 +#: ../../cli_version.rst:104 ../../cli_version.rst:148 msgid "где" msgstr "where" -#: ../../cli_version.rst:108 ../../cli_version.rst:152 -#: ../../cli_version.rst:217 +#: ../../cli_version.rst:106 ../../cli_version.rst:150 msgid "**--db-type ** - тип БД." msgstr "**--db-type ** - database type." -#: ../../cli_version.rst:109 +#: ../../cli_version.rst:107 msgid "**-o ** - указание пути, куда будет сохранен проект." msgstr "**-o ** - path the project is going to be saved to." -#: ../../cli_version.rst:111 +#: ../../cli_version.rst:109 msgid "Пример команды для обновления существующего проекта на основе данной БД. ::" msgstr "Example of a command for updating an existing project based on this database. ::" -#: ../../cli_version.rst:124 +#: ../../cli_version.rst:122 msgid "graph" msgstr "graph" -#: ../../cli_version.rst:126 +#: ../../cli_version.rst:124 msgid "Команда **--mode GRAPH** позволяет переключить работу в режим поиска зависимостей объекта. Команды, доступные в этом режиме:" msgstr "**--mode GRAPH** is a command that allows you to enable search for dependencies of an object. In this mode, the following commands are available:" -#: ../../cli_version.rst:128 +#: ../../cli_version.rst:126 msgid "**--graph-name ** - имя искомого объекта, поддерживает регулярные выражения, при отсутствии параметра, будут показаны зависимости всех объектов. Для функций сигнатура является частью имени." msgstr "**--graph-name ** - name of the target object, it supports regular expressions. If this parameter is not specified, the dependencies of all objects will be displayed. For functions, the signature is part of the name." -#: ../../cli_version.rst:129 +#: ../../cli_version.rst:127 msgid "**--graph-reverse** - обратное направление поиска зависимостей, с данным параметром выполняется поиск объектов, от которых зависит искомый объект. Без этого параметра выполняется поиск всех объектов, которые зависят от искомого." msgstr "**--graph-reverse** - reverse direction of search for dependencies. If this parameter is enabled, the system is searching for objects that the target object depends on. If it's disabled, the system is searching for all the objects that depend on the target one." -#: ../../cli_version.rst:130 +#: ../../cli_version.rst:128 msgid "**--graph-depth ** - глубина поиска зависимостей, по-умолчанию 10." msgstr "**--graph-depth ** - dependencies search depth. By default, it's 10." -#: ../../cli_version.rst:131 +#: ../../cli_version.rst:129 msgid "**--graph-filter-object ** - фильтрация зависимых объектов по типу, отображаются только выбранные типы объектов." msgstr "**--graph-filter-object ** - filtering of dependent objects by type, with displaying only the selected object types." -#: ../../cli_version.rst:132 +#: ../../cli_version.rst:130 msgid "**--graph-invert-filter** - изменение поведения параметра **--graph-filter-object**, выбранные типы объектов скрываются." msgstr "**--graph-invert-filter** - changing the **--graph-filter-object** parameter operations. The object types you select will be hidden." -#: ../../cli_version.rst:134 +#: ../../cli_version.rst:132 msgid "Пример команды для поиска зависимостей в локальном проекте: ::" msgstr "Example of a command for searching for dependencies in a local project: ::" -#: ../../cli_version.rst:153 +#: ../../cli_version.rst:151 msgid "**--enable-function-bodies-dependencies** - поиск зависимостей в телах функций." msgstr "**--enable-function-bodies-dependencies** - search for dependencies in function bodies." -#: ../../cli_version.rst:154 +#: ../../cli_version.rst:152 msgid "**--src-lib-xml ** - файл библиотек для проекта." msgstr "**--src-lib-xml ** - file with libraries for the project." -#: ../../cli_version.rst:155 ../../cli_version.rst:219 +#: ../../cli_version.rst:153 msgid "**-o ** - файл, куда запишется результат, без этого параметра вывод отобразится в консоли." msgstr "**-o ** - file the result is going to be recorded to. If you don't specifiy this parameter, the output will be displayed in the console." -#: ../../cli_version.rst:156 +#: ../../cli_version.rst:154 msgid "**/path/to/rep/** - путь до проекта или url базы данных." msgstr "**/path/to/rep/** - path to project or database url." -#: ../../cli_version.rst:158 +#: ../../cli_version.rst:156 msgid "Пример команды для поиска зависимостей в MS SQL базе: ::" msgstr "Example of a command for searching for dependencies in an MS SQL database: ::" -#: ../../cli_version.rst:194 -msgid "insert" -msgstr "insert" - -#: ../../cli_version.rst:196 -msgid "Команда **--mode INSERT** позволяет переключить работу в режим сбора данных из базы источника с учетом зависимостей по FK. Команды, доступные в этом режиме:" -msgstr "**--mode INSERT** is a command that allows you to enable gathering data from the source database taking into account the FK dependencies. In this mode, the following commands are available:" - -#: ../../cli_version.rst:198 -msgid "**--insert-name ** - имя таблицы, для который собираются данные." -msgstr "**--insert-name ** - name of the table the data is gathered for." - -#: ../../cli_version.rst:199 -msgid "**--insert-filter ** - условие по которому будут собираться данные из первоначальной таблицы." -msgstr "**--insert-filter ** - condition under which the data will be gathered from the initial table." - -#: ../../cli_version.rst:201 -msgid "В данном режиме геометрические типы оборачиваются в специальные функции с указанием типа геометрии **4326**." -msgstr "In this mode, geometric types are wrapped in special functions with specifying the geometry type **4326**." - -#: ../../cli_version.rst:203 -msgid "Пример команды для сбора данных в локальный файл: ::" -msgstr "Example of a command for gathering the data into a local file: ::" - -#: ../../cli_version.rst:218 -msgid "**-X** - оборачивает сгенерированный скрипт в транзакцию." -msgstr "**-X** - wraps the generated script into a transaction." - -#: ../../cli_version.rst:221 -msgid "Пример команды для сбора данных и выполнения скрипта в БД: ::" -msgstr "Example of a command for gathering the data and executing a script in the database: ::" - -#: ../../cli_version.rst:235 -msgid "**-R ** - база данных, в которой будет выполнен полученный скрипт." -msgstr "**-R ** - database where the resulting scrip is going to be executed." - -#: ../../cli_version.rst:237 -msgid "Пример вывода результата:" -msgstr "Example of a result output:" - -#: ../../cli_version.rst:259 -msgid "verify (beta)" -msgstr "verify (beta)" - -#: ../../cli_version.rst:261 -msgid "Команда **--mode VERIFY** позволяет переключить работу в режим верификации SQL кода по набору правил. Команды, доступные в этом режиме:" -msgstr "**--mode VERIFY** allows you to switch the work to the SQL code verification based on a set of rules. In this mode, the following commands are available:" - -#: ../../cli_version.rst:263 -msgid "**--verify-source ** - путь к директории или файлу с исходниками для проверки." -msgstr "**--verify-source ** - path to the directory or file with sources to be verified." - -#: ../../cli_version.rst:264 -msgid "**--verify-rule-set ** - путь к файлу с правилами." -msgstr "**--verify-rule-set ** - path to the file containing rules." - -#: ../../cli_version.rst:266 -msgid "Правила настраиваются с помощью файла с расширением properties, который представляет собой список пар ключ-значение. Список доступных ключей:" -msgstr "Rules are set using the file with the .properties extension which contains a list of key-value pairs. Here is the list of available keys:" - -#: ../../cli_version.rst:272 -msgid "Правило" -msgstr "Rule" - -#: ../../cli_version.rst:273 -msgid "Тип значения" -msgstr "Value type" - -#: ../../cli_version.rst:274 -msgid "Значение по умолчанию" -msgstr "Default value" - -#: ../../cli_version.rst:275 -msgid "Описание" -msgstr "Description" - -#: ../../cli_version.rst:276 -msgid "check_quotes_in_table_column" -msgstr "check_quotes_in_table_column" - -#: ../../cli_version.rst:277 ../../cli_version.rst:281 -#: ../../cli_version.rst:285 ../../cli_version.rst:289 -#: ../../cli_version.rst:293 ../../cli_version.rst:297 -#: ../../cli_version.rst:301 -msgid "boolean" -msgstr "boolean" - -#: ../../cli_version.rst:278 ../../cli_version.rst:282 -#: ../../cli_version.rst:286 ../../cli_version.rst:290 -#: ../../cli_version.rst:294 ../../cli_version.rst:298 -#: ../../cli_version.rst:302 -msgid "false" -msgstr "false" - -#: ../../cli_version.rst:279 -msgid "проверка отсутствия кавычек в имени столбца таблицы" -msgstr "check if there are no quotation marks in the table column name" - -#: ../../cli_version.rst:280 -msgid "check_semicolon_after_simple_sql" -msgstr "check_semicolon_after_simple_sql" - -#: ../../cli_version.rst:283 -msgid "проверка символа ; после простого sql-выражения в теле функции" -msgstr "checking the semicolon (;) symbol after a simple sql expression in the body of a function" - -#: ../../cli_version.rst:284 -msgid "check_space_after_if" -msgstr "check_space_after_if" - -#: ../../cli_version.rst:287 -msgid "проверка наличия пробела после if в теле функции" -msgstr "check if there is a space symbol after 'if' in the body of a function" - -#: ../../cli_version.rst:288 -msgid "check_space_on_math" -msgstr "check_space_on_math" - -#: ../../cli_version.rst:291 -msgid "проверка наличия пробелов до и после математических выражений в теле функции" -msgstr "check if there are spaces before and after mathematical expressions in the body of a function" - -#: ../../cli_version.rst:292 -msgid "check_space_after_comma" -msgstr "check_space_after_comma" - -#: ../../cli_version.rst:295 -msgid "проверка наличия пробела после запятой в теле функции" -msgstr "check if there is a space after a comma in the body of a function" - -#: ../../cli_version.rst:296 -msgid "check_temp_table" -msgstr "check_temp_table" - -#: ../../cli_version.rst:299 -msgid "проверка наличия созданий не temp таблицы в теле функции" -msgstr "check if non-temp tables are created in the body of a function" - -#: ../../cli_version.rst:300 -msgid "check_indents" -msgstr "check_indents" - -#: ../../cli_version.rst:303 -msgid "проверка отступов в теле функции (в разработке)" -msgstr "check if there are indents in the body of a function (in development)" - -#: ../../cli_version.rst:304 -msgid "indent_size" -msgstr "indent_size" - -#: ../../cli_version.rst:305 ../../cli_version.rst:309 -#: ../../cli_version.rst:313 ../../cli_version.rst:317 -#: ../../cli_version.rst:321 -msgid "integer" -msgstr "integer" - -#: ../../cli_version.rst:306 -msgid "2" -msgstr "2" - -#: ../../cli_version.rst:307 -msgid "значение отступа в теле функции, используется с check_indents (в разработке)" -msgstr "indent value in the body of a function, used with check_indents (in development)" - -#: ../../cli_version.rst:308 -msgid "cyclomatic_complexity" -msgstr "cyclomatic_complexity" - -#: ../../cli_version.rst:310 ../../cli_version.rst:314 -#: ../../cli_version.rst:318 ../../cli_version.rst:322 -msgid "-1" -msgstr "-1" - -#: ../../cli_version.rst:311 -msgid "максимально допустимая вложенность кода в теле функции" -msgstr "maximum allowed code nesting in the body of a function" - -#: ../../cli_version.rst:312 -msgid "max_function_length" -msgstr "max_function_length" - -#: ../../cli_version.rst:315 -msgid "максимальная длина тела функции (в строках)" -msgstr "maximum length of the body of a function (in strings)" - -#: ../../cli_version.rst:316 -msgid "max_function_params" -msgstr "max_function_params" - -#: ../../cli_version.rst:319 -msgid "максимальное количество входных параметров функции (без учета OUT параметров)" -msgstr "maximum number of input parameters of a function (excluding OUT parameters)" - -#: ../../cli_version.rst:320 -msgid "method_count" -msgstr "method_count" - -#: ../../cli_version.rst:323 -msgid "максимально допустимое количество выражений в функции" -msgstr "maximum allowed number of expressions in a function" - -#: ../../cli_version.rst:324 -msgid "deny_grant" -msgstr "deny_grant" - -#: ../../cli_version.rst:325 ../../cli_version.rst:329 -msgid "list" -msgstr "list" - -#: ../../cli_version.rst:326 ../../cli_version.rst:330 -msgid "`-`" -msgstr "`-`" - -#: ../../cli_version.rst:327 -msgid "список пользователей, которым запрещено выдавать права" -msgstr "list of users who are not allowed to be granted rights" - -#: ../../cli_version.rst:328 -msgid "allowed_function_start" -msgstr "allowed_function_start" - -#: ../../cli_version.rst:331 -msgid "список допустимых значений, с которых может начинаться функция и проверка наличия переноса в начале функции" -msgstr "list of allowed values with which a function can start and a check if there is a syllabification at the beginning of a function" - -#: ../../cli_version.rst:333 -msgid "Пример файла с настройками" -msgstr "Example of a file containing settings" - -#: ../../cli_version.rst:351 -msgid "Пример команды для верификации кода:" -msgstr "Example of a command used to verify code:" - -#: ../../cli_version.rst:362 -msgid "Пример вывода результата" -msgstr "Example of a result output" - -#: ../../cli_version.rst:385 +#: ../../cli_version.rst:191 msgid "vmargs" msgstr "vmargs" -#: ../../cli_version.rst:386 +#: ../../cli_version.rst:192 msgid "Все параметры после специального параметра **-vmargs** будут переданы VM." msgstr "All parameters after **-vmargs** will be transferred to VM." -#: ../../cli_version.rst:388 +#: ../../cli_version.rst:194 msgid "Использование с ограничениями потребляемой памяти:" msgstr "Usage with restrictions of the memory used:" -#: ../../cli_version.rst:394 +#: ../../cli_version.rst:200 msgid "Параметр VM *ru.taximaxim.codekeeper.parser.poolsize* позволяет указать количество потоков парсера:" msgstr "The VM parameter *ru.taximaxim.codekeeper.parser.poolsize* allows you to specify the number of parser threads:" -#: ../../cli_version.rst:400 +#: ../../cli_version.rst:206 msgid "Параметр VM *-Dlogback.configurationFile* позволяет указать файл с пользовательскими настройками логирования." msgstr "The VM *-Dlogback.configurationFile* parameter allows you to select a file with customized logging settings." -#: ../../cli_version.rst:407 +#: ../../cli_version.rst:213 msgid "Пример файла конфигурации с логированием debug вывода в файл:" msgstr "Example of a configuration file with debug output logging to the file:" @@ -2133,3 +1886,120 @@ msgstr "Example of a configuration file with debug output logging to the file:" #~ " логирования." #~ msgstr "" +#~ msgid ":ref:`verifyMode`" +#~ msgstr "" + +#~ msgid "insert" +#~ msgstr "" + +#~ msgid "" +#~ "Команда **--mode INSERT** позволяет " +#~ "переключить работу в режим сбора данных" +#~ " из базы источника с учетом " +#~ "зависимостей по FK. Команды, доступные в" +#~ " этом режиме:" +#~ msgstr "" + +#~ msgid "" +#~ "**--insert-name ** - имя " +#~ "таблицы, для который собираются данные." +#~ msgstr "" + +#~ msgid "" +#~ "**--insert-filter ** - условие " +#~ "по которому будут собираться данные из" +#~ " первоначальной таблицы." +#~ msgstr "" + +#~ msgid "" +#~ "В данном режиме геометрические типы " +#~ "оборачиваются в специальные функции с " +#~ "указанием типа геометрии **4326**." +#~ msgstr "" + +#~ msgid "Пример команды для сбора данных в локальный файл: ::" +#~ msgstr "" + +#~ msgid "**-X** - оборачивает сгенерированный скрипт в транзакцию." +#~ msgstr "" + +#~ msgid "Пример команды для сбора данных и выполнения скрипта в БД: ::" +#~ msgstr "" + +#~ msgid "**-R ** - база данных, в которой будет выполнен полученный скрипт." +#~ msgstr "" + +#~ msgid "Пример вывода результата:" +#~ msgstr "" + +#~ msgid "verify (beta)" +#~ msgstr "" + +#~ msgid "" +#~ "Команда **--mode VERIFY** позволяет " +#~ "переключить работу в режим верификации " +#~ "SQL кода по набору правил. Команды, " +#~ "доступные в этом режиме:" +#~ msgstr "" + +#~ msgid "" +#~ "**--verify-source ** - путь к " +#~ "директории или файлу с исходниками для" +#~ " проверки." +#~ msgstr "" + +#~ msgid "**--verify-rule-set ** - путь к файлу с правилами." +#~ msgstr "" + +#~ msgid "" +#~ "Правила настраиваются с помощью файла с" +#~ " расширением properties, который представляет " +#~ "собой список пар ключ-значение. Список " +#~ "доступных ключей:" +#~ msgstr "" + +#~ msgid "проверка символа ; после простого sql-выражения в теле функции" +#~ msgstr "" + +#~ msgid "проверка наличия пробела после if в теле функции" +#~ msgstr "" + +#~ msgid "" +#~ "проверка наличия пробелов до и после " +#~ "математических выражений в теле функции" +#~ msgstr "" + +#~ msgid "проверка наличия пробела после запятой в теле функции" +#~ msgstr "" + +#~ msgid "проверка наличия созданий не temp таблицы в теле функции" +#~ msgstr "" + +#~ msgid "проверка отступов в теле функции (в разработке)" +#~ msgstr "" + +#~ msgid "" +#~ "значение отступа в теле функции, " +#~ "используется с check_indents (в разработке)" +#~ msgstr "" + +#~ msgid "максимально допустимая вложенность кода в теле функции" +#~ msgstr "" + +#~ msgid "максимальная длина тела функции (в строках)" +#~ msgstr "" + +#~ msgid "" +#~ "максимальное количество входных параметров " +#~ "функции (без учета OUT параметров)" +#~ msgstr "" + +#~ msgid "Пример файла с настройками" +#~ msgstr "" + +#~ msgid "Пример команды для верификации кода:" +#~ msgstr "" + +#~ msgid "Пример вывода результата" +#~ msgstr "" +