Units
Translation components API.
See the Weblate's Web API documentation for detailed description of the API.
GET /api/translations/documentation/booksporters-handbookslow-porting_index/ru/units/?format=api&page=2
{ "count": 89, "next": null, "previous": "https://translate-dev.freebsd.org/api/translations/documentation/booksporters-handbookslow-porting_index/ru/units/?format=api", "results": [ { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksporters-handbookslow-porting_index/ru/?format=api", "source": [ "% diff -u file.orig file > patch-pathname-file\n" ], "previous_source": "", "target": [ "% diff -u file.orig file > patch-pathname-file\n" ], "id_hash": -4575217807677014972, "content_hash": -4575217807677014972, "location": "documentation/content/en/books/porters-handbook/slow-porting/_index.adoc:200", "context": "", "note": "type: delimited block . 4", "flags": "no-wrap", "labels": [], "state": 20, "fuzzy": false, "translated": true, "approved": false, "position": 51, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 7, "source_unit": "https://translate-dev.freebsd.org/api/units/1115192/?format=api", "priority": 100, "id": 1812006, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksporters-handbookslow-porting_index/ru/?checksum=40818fa4fb5ebc44", "url": "https://translate-dev.freebsd.org/api/units/1812006/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2025-05-25T08:25:47.664709Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksporters-handbookslow-porting_index/ru/?format=api", "source": [ "When generating patches for new, added files, `-N` is used to tell man:diff[1] to treat the non-existent original file as if it existed but was empty:" ], "previous_source": "", "target": [ "Для порождении патчей для новых добавляемых файлов используется параметр `-N`, который заставляет man:diff[1] трактовать несуществующие прежде файлы как если бы они существовали, но имели пустое содержимое:" ], "id_hash": 3090471950310986243, "content_hash": 3090471950310986243, "location": "documentation/content/en/books/porters-handbook/slow-porting/_index.adoc:203", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 20, "fuzzy": false, "translated": true, "approved": false, "position": 52, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 26, "source_unit": "https://translate-dev.freebsd.org/api/units/1115194/?format=api", "priority": 100, "id": 1812007, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksporters-handbookslow-porting_index/ru/?checksum=aae38fdd62985203", "url": "https://translate-dev.freebsd.org/api/units/1812007/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2025-05-25T08:25:47.665236Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksporters-handbookslow-porting_index/ru/?format=api", "source": [ "% diff -u -N newfile.orig newfile > patch-pathname-newfile\n" ], "previous_source": "", "target": [ "% diff -u -N newfile.orig newfile > patch-pathname-newfile\n" ], "id_hash": 5280034482867838713, "content_hash": 5280034482867838713, "location": "documentation/content/en/books/porters-handbook/slow-porting/_index.adoc:207", "context": "", "note": "type: delimited block . 4", "flags": "no-wrap", "labels": [], "state": 20, "fuzzy": false, "translated": true, "approved": false, "position": 53, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 8, "source_unit": "https://translate-dev.freebsd.org/api/units/1115196/?format=api", "priority": 100, "id": 1812008, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksporters-handbookslow-porting_index/ru/?checksum=c946736329269ef9", "url": "https://translate-dev.freebsd.org/api/units/1812008/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2025-05-25T08:25:47.665772Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksporters-handbookslow-porting_index/ru/?format=api", "source": [ "Using the recurse (`-r`) option to man:diff[1] to generate patches is fine, but please look at the resulting patches to make sure there is no unnecessary junk in there. In particular, diffs between two backup files, [.filename]##Makefile##s when the port uses `Imake` or GNU `configure`, etc., are unnecessary and have to be deleted. If it was necessary to edit [.filename]#configure.in# and run `autoconf` to regenerate `configure`, do not take the diffs of `configure` (it often grows to a few thousand lines!). Instead, define `USES=autoreconf` and take the diffs of [.filename]#configure.in#." ], "previous_source": "", "target": [ "Использование опции рекурсии (`-r`) в man:diff[1] для создания патчей допустимо, но пожалуйста, проверяйте полученные патчи, чтобы убедиться в отсутствии ненужных данных. В частности, различия между резервными файлами, [.filename]##Makefile##, когда порт использует `Imake` или GNU `configure`, и т.д., являются избыточными и должны быть удалены. Если потребовалось отредактировать [.filename]#configure.in# и запустить `autoconf` для перегенерации `configure`, не включайте различия в `configure` (его объём часто достигает нескольких тысяч строк!). Вместо этого определите `USES=autoreconf` и возьмите различия для [.filename]#configure.in#." ], "id_hash": 3520710513089883708, "content_hash": 3520710513089883708, "location": "documentation/content/en/books/porters-handbook/slow-porting/_index.adoc:213", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 20, "fuzzy": false, "translated": true, "approved": false, "position": 54, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 90, "source_unit": "https://translate-dev.freebsd.org/api/units/1238342/?format=api", "priority": 100, "id": 1812009, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksporters-handbookslow-porting_index/ru/?checksum=b0dc138ee1b4ae3c", "url": "https://translate-dev.freebsd.org/api/units/1812009/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2025-05-25T08:25:47.666279Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksporters-handbookslow-porting_index/ru/?format=api", "source": [ "Simple Automatic Replacements" ], "previous_source": "", "target": [ "Простая автоматическая замена" ], "id_hash": -3446426712567853201, "content_hash": -3446426712567853201, "location": "documentation/content/en/books/porters-handbook/slow-porting/_index.adoc:215", "context": "", "note": "type: Title ===", "flags": "no-wrap", "labels": [], "state": 20, "fuzzy": false, "translated": true, "approved": false, "position": 55, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 3, "source_unit": "https://translate-dev.freebsd.org/api/units/1115200/?format=api", "priority": 100, "id": 1812010, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksporters-handbookslow-porting_index/ru/?checksum=502bd52a34f9cf6f", "url": "https://translate-dev.freebsd.org/api/units/1812010/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2025-05-25T08:25:47.666884Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksporters-handbookslow-porting_index/ru/?format=api", "source": [ "Simple replacements can be performed directly from the port [.filename]#Makefile# using the in-place mode of man:sed[1]. This is useful when changes use the value of a variable:" ], "previous_source": "", "target": [ "Простые замены могут быть выполнены напрямую из [.filename]#Makefile# порта, используя режим редактирования на месте утилиты man:sed[1]. Это полезно, когда изменения используют значение переменной:" ], "id_hash": -7330144515847126980, "content_hash": -7330144515847126980, "location": "documentation/content/en/books/porters-handbook/slow-porting/_index.adoc:219", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 20, "fuzzy": false, "translated": true, "approved": false, "position": 56, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 27, "source_unit": "https://translate-dev.freebsd.org/api/units/1238344/?format=api", "priority": 100, "id": 1812011, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksporters-handbookslow-porting_index/ru/?checksum=1a4618664ca7803c", "url": "https://translate-dev.freebsd.org/api/units/1812011/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2025-05-25T08:25:47.667391Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksporters-handbookslow-porting_index/ru/?format=api", "source": [ "post-patch:\n\t@${REINPLACE_CMD} -e 's|/usr/local|${PREFIX}|g' ${WRKSRC}/Makefile\n" ], "previous_source": "", "target": [ "post-patch:\n\t@${REINPLACE_CMD} -e 's|/usr/local|${PREFIX}|g' ${WRKSRC}/Makefile\n" ], "id_hash": 6135791637104257517, "content_hash": 6135791637104257517, "location": "documentation/content/en/books/porters-handbook/slow-porting/_index.adoc:224", "context": "", "note": "type: delimited block . 4", "flags": "no-wrap", "labels": [], "state": 20, "fuzzy": false, "translated": true, "approved": false, "position": 57, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 5, "source_unit": "https://translate-dev.freebsd.org/api/units/1115204/?format=api", "priority": 100, "id": 1812012, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksporters-handbookslow-porting_index/ru/?checksum=d526b5fc316969ed", "url": "https://translate-dev.freebsd.org/api/units/1812012/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2025-05-25T08:25:47.667919Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksporters-handbookslow-porting_index/ru/?format=api", "source": [ "Only use man:sed[1] to replace variable content. You must use patch files instead of man:sed[1] to replace static content." ], "previous_source": "", "target": [ "Используйте man:sed[1] только для замены изменяемого содержимого. Для замены статического содержимого необходимо использовать файлы исправлений вместо man:sed[1]." ], "id_hash": 3373595713747723729, "content_hash": 3373595713747723729, "location": "documentation/content/en/books/porters-handbook/slow-porting/_index.adoc:230", "context": "", "note": "type: delimited block = 4", "flags": "", "labels": [], "state": 20, "fuzzy": false, "translated": true, "approved": false, "position": 58, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 19, "source_unit": "https://translate-dev.freebsd.org/api/units/1238346/?format=api", "priority": 100, "id": 1812013, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksporters-handbookslow-porting_index/ru/?checksum=aed16b6d75b6a5d1", "url": "https://translate-dev.freebsd.org/api/units/1812013/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2025-05-25T08:25:47.668457Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksporters-handbookslow-porting_index/ru/?format=api", "source": [ "Quite often, software being ported uses the CR/LF convention in source files. This may cause problems with further patching, compiler warnings, or script execution (like `/bin/sh^M not found`.) To quickly convert all files from CR/LF to just LF, add this entry to the port [.filename]#Makefile#:" ], "previous_source": "", "target": [ "Довольно часто портируемое программное обеспечение использует соглашение CR/LF в исходных файлах. Это может вызвать проблемы с дальнейшим наложением патчей, предупреждениями компилятора или выполнением скриптов (например, `/bin/sh^M не найден`). Для быстрого преобразования всех файлов из CR/LF в просто LF добавьте следующую запись в [.filename]#Makefile# порта:" ], "id_hash": 7510841161341175692, "content_hash": 7510841161341175692, "location": "documentation/content/en/books/porters-handbook/slow-porting/_index.adoc:235", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 20, "fuzzy": false, "translated": true, "approved": false, "position": 59, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 45, "source_unit": "https://translate-dev.freebsd.org/api/units/1238348/?format=api", "priority": 100, "id": 1812014, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksporters-handbookslow-porting_index/ru/?checksum=e83bde3dfa1f878c", "url": "https://translate-dev.freebsd.org/api/units/1812014/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2025-05-25T08:25:47.669012Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksporters-handbookslow-porting_index/ru/?format=api", "source": [ "USES=\tdos2unix\n" ], "previous_source": "", "target": [ "USES=\tdos2unix\n" ], "id_hash": 3141849073091079973, "content_hash": 3141849073091079973, "location": "documentation/content/en/books/porters-handbook/slow-porting/_index.adoc:239", "context": "", "note": "type: delimited block . 4", "flags": "no-wrap", "labels": [], "state": 20, "fuzzy": false, "translated": true, "approved": false, "position": 60, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 2, "source_unit": "https://translate-dev.freebsd.org/api/units/1115210/?format=api", "priority": 100, "id": 1812015, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksporters-handbookslow-porting_index/ru/?checksum=ab9a1715f37bef25", "url": "https://translate-dev.freebsd.org/api/units/1812015/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2025-05-25T08:25:47.669563Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksporters-handbookslow-porting_index/ru/?format=api", "source": [ "A list of specific files to convert can be given:" ], "previous_source": "", "target": [ "Список конкретных файлов для преобразования может быть указан:" ], "id_hash": -6415877028497033341, "content_hash": -6415877028497033341, "location": "documentation/content/en/books/porters-handbook/slow-porting/_index.adoc:242", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 20, "fuzzy": false, "translated": true, "approved": false, "position": 61, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 10, "source_unit": "https://translate-dev.freebsd.org/api/units/1115212/?format=api", "priority": 100, "id": 1812016, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksporters-handbookslow-porting_index/ru/?checksum=26f639d5d9d87783", "url": "https://translate-dev.freebsd.org/api/units/1812016/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2025-05-25T08:25:47.670085Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksporters-handbookslow-porting_index/ru/?format=api", "source": [ "USES=\tdos2unix\nDOS2UNIX_FILES=\tutil.c util.h\n" ], "previous_source": "", "target": [ "USES=\tdos2unix\nDOS2UNIX_FILES=\tutil.c util.h\n" ], "id_hash": -5767008786900270475, "content_hash": -5767008786900270475, "location": "documentation/content/en/books/porters-handbook/slow-porting/_index.adoc:247", "context": "", "note": "type: delimited block . 4", "flags": "no-wrap", "labels": [], "state": 20, "fuzzy": false, "translated": true, "approved": false, "position": 62, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 5, "source_unit": "https://translate-dev.freebsd.org/api/units/1115214/?format=api", "priority": 100, "id": 1812017, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksporters-handbookslow-porting_index/ru/?checksum=2ff778103040c275", "url": "https://translate-dev.freebsd.org/api/units/1812017/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2025-05-25T08:25:47.670616Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksporters-handbookslow-porting_index/ru/?format=api", "source": [ "Use `DOS2UNIX_REGEX` to convert a group of files across subdirectories. Its argument is a man:find[1]-compatible regular expression. More on the format is in man:re_format[7]. This option is useful for converting all files of a given extension. For example, convert all source code files, leaving binary files intact:" ], "previous_source": "", "target": [ "Используйте `DOS2UNIX_REGEX` для преобразования группы файлов во вложенных каталогах. Его аргумент — это совместимое с man:find[1] регулярное выражение. Подробнее о формате можно узнать в man:re_format[7]. Эта опция полезна для преобразования всех файлов с заданным расширением. Например, преобразовать все исходные файлы кода, оставив двоичные файлы без изменений:" ], "id_hash": 1637380126277573574, "content_hash": 1637380126277573574, "location": "documentation/content/en/books/porters-handbook/slow-porting/_index.adoc:254", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 20, "fuzzy": false, "translated": true, "approved": false, "position": 63, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 47, "source_unit": "https://translate-dev.freebsd.org/api/units/1238350/?format=api", "priority": 100, "id": 1812018, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksporters-handbookslow-porting_index/ru/?checksum=96b9248cb50f1bc6", "url": "https://translate-dev.freebsd.org/api/units/1812018/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2025-05-25T08:25:47.671114Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksporters-handbookslow-porting_index/ru/?format=api", "source": [ "USES=\tdos2unix\nDOS2UNIX_REGEX=\t.*\\.([ch]|cpp)\n" ], "previous_source": "", "target": [ "USES=\tdos2unix\nDOS2UNIX_REGEX=\t.*\\.([ch]|cpp)\n" ], "id_hash": 5273867654234008094, "content_hash": 5273867654234008094, "location": "documentation/content/en/books/porters-handbook/slow-porting/_index.adoc:259", "context": "", "note": "type: delimited block . 4", "flags": "no-wrap", "labels": [], "state": 20, "fuzzy": false, "translated": true, "approved": false, "position": 64, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 4, "source_unit": "https://translate-dev.freebsd.org/api/units/1115218/?format=api", "priority": 100, "id": 1812019, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksporters-handbookslow-porting_index/ru/?checksum=c9308ab07b0a6a1e", "url": "https://translate-dev.freebsd.org/api/units/1812019/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2025-05-25T08:25:47.671672Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksporters-handbookslow-porting_index/ru/?format=api", "source": [ "A similar option is `DOS2UNIX_GLOB`, which runs `find` for each element listed in it." ], "previous_source": "", "target": [ "Аналогичной опцией является `DOS2UNIX_GLOB`, которая запускает `find` для каждого указанного в ней элемента." ], "id_hash": -3180368234941333933, "content_hash": -3180368234941333933, "location": "documentation/content/en/books/porters-handbook/slow-porting/_index.adoc:262", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 20, "fuzzy": false, "translated": true, "approved": false, "position": 65, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 14, "source_unit": "https://translate-dev.freebsd.org/api/units/1115220/?format=api", "priority": 100, "id": 1812020, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksporters-handbookslow-porting_index/ru/?checksum=53dd0ff0cd62be53", "url": "https://translate-dev.freebsd.org/api/units/1812020/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2025-05-25T08:25:47.672186Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksporters-handbookslow-porting_index/ru/?format=api", "source": [ "USES=\tdos2unix\nDOS2UNIX_GLOB=\t*.c *.cpp *.h\n" ], "previous_source": "", "target": [ "USES=\tdos2unix\nDOS2UNIX_GLOB=\t*.c *.cpp *.h\n" ], "id_hash": -4303715468995161843, "content_hash": -4303715468995161843, "location": "documentation/content/en/books/porters-handbook/slow-porting/_index.adoc:267", "context": "", "note": "type: delimited block . 4", "flags": "no-wrap", "labels": [], "state": 20, "fuzzy": false, "translated": true, "approved": false, "position": 66, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 6, "source_unit": "https://translate-dev.freebsd.org/api/units/1115222/?format=api", "priority": 100, "id": 1812021, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksporters-handbookslow-porting_index/ru/?checksum=444621954030910d", "url": "https://translate-dev.freebsd.org/api/units/1812021/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2025-05-25T08:25:47.672710Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksporters-handbookslow-porting_index/ru/?format=api", "source": [ "The base directory for the conversion can be set. This is useful when there are multiple distfiles and several contain files which require line-ending conversion." ], "previous_source": "", "target": [ "Базовый каталог для преобразования может быть установлен. Это полезно, когда имеется несколько distfiles и в нескольких из них содержатся файлы, требующие преобразования окончаний строк." ], "id_hash": 4206769962363319346, "content_hash": 4206769962363319346, "location": "documentation/content/en/books/porters-handbook/slow-porting/_index.adoc:271", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 20, "fuzzy": false, "translated": true, "approved": false, "position": 67, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 25, "source_unit": "https://translate-dev.freebsd.org/api/units/1238352/?format=api", "priority": 100, "id": 1812022, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksporters-handbookslow-porting_index/ru/?checksum=ba6172fe0a72f432", "url": "https://translate-dev.freebsd.org/api/units/1812022/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2025-05-25T08:25:47.673201Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksporters-handbookslow-porting_index/ru/?format=api", "source": [ "USES=\tdos2unix\nDOS2UNIX_WRKSRC=\t${WRKDIR}\n" ], "previous_source": "", "target": [ "USES=\tdos2unix\nDOS2UNIX_WRKSRC=\t${WRKDIR}\n" ], "id_hash": -6978764077194238525, "content_hash": -6978764077194238525, "location": "documentation/content/en/books/porters-handbook/slow-porting/_index.adoc:276", "context": "", "note": "type: delimited block . 4", "flags": "no-wrap", "labels": [], "state": 20, "fuzzy": false, "translated": true, "approved": false, "position": 68, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 4, "source_unit": "https://translate-dev.freebsd.org/api/units/1115226/?format=api", "priority": 100, "id": 1812023, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksporters-handbookslow-porting_index/ru/?checksum=1f26730bff94a5c3", "url": "https://translate-dev.freebsd.org/api/units/1812023/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2025-05-25T08:25:47.673762Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksporters-handbookslow-porting_index/ru/?format=api", "source": [ "Patching Conditionally" ], "previous_source": "", "target": [ "Внесение исправлений при условии" ], "id_hash": 4291685630853133720, "content_hash": 4291685630853133720, "location": "documentation/content/en/books/porters-handbook/slow-porting/_index.adoc:279", "context": "", "note": "type: Title ===", "flags": "no-wrap", "labels": [], "state": 20, "fuzzy": false, "translated": true, "approved": false, "position": 69, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 2, "source_unit": "https://translate-dev.freebsd.org/api/units/1115228/?format=api", "priority": 100, "id": 1812024, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksporters-handbookslow-porting_index/ru/?checksum=bb8f2157caa63598", "url": "https://translate-dev.freebsd.org/api/units/1812024/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2025-05-25T08:25:47.674274Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksporters-handbookslow-porting_index/ru/?format=api", "source": [ "Some ports need patches that are only applied for specific FreeBSD versions or when a particular option is enabled or disabled. Conditional patches are specified by placing the full paths to the patch files in `EXTRA_PATCHES`. Conditional patch file names usually start with [.filename]#extra-# although this is not necessary. However, their file names _must not_ start with [.filename]#patch-#. If they do, they are applied unconditionally by the framework which is undesired for conditional patches." ], "previous_source": "", "target": [ "Некоторые порты требуют патчей, которые применяются только для определённых версий FreeBSD или при включении или отключении конкретной опции. Условные патчи указываются путём размещения полных путей к файлам патчей в `EXTRA_PATCHES`. Имена файлов условных патчей обычно начинаются с [.filename]#extra-#, хотя это и не обязательно. Однако их имена _не должны_ начинаться с [.filename]#patch-#. Если это произойдёт, они будут применены безусловно фреймворком, что нежелательно для условных патчей." ], "id_hash": -7917782762143572876, "content_hash": -7917782762143572876, "location": "documentation/content/en/books/porters-handbook/slow-porting/_index.adoc:286", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 20, "fuzzy": false, "translated": true, "approved": false, "position": 70, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 74, "source_unit": "https://translate-dev.freebsd.org/api/units/1238354/?format=api", "priority": 100, "id": 1812025, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksporters-handbookslow-porting_index/ru/?checksum=121e62872db89c74", "url": "https://translate-dev.freebsd.org/api/units/1812025/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2025-05-25T08:25:47.674778Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksporters-handbookslow-porting_index/ru/?format=api", "source": [ "Applying a Patch for a Specific FreeBSD Version" ], "previous_source": "", "target": [ "Применение патча для конкретной версии FreeBSD" ], "id_hash": -1507603090176664159, "content_hash": -1507603090176664159, "location": "documentation/content/en/books/porters-handbook/slow-porting/_index.adoc:288", "context": "", "note": "type: Block title", "flags": "no-wrap", "labels": [], "state": 20, "fuzzy": false, "translated": true, "approved": false, "position": 71, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 8, "source_unit": "https://translate-dev.freebsd.org/api/units/1115232/?format=api", "priority": 100, "id": 1812026, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksporters-handbookslow-porting_index/ru/?checksum=6b13eafa23bd1da1", "url": "https://translate-dev.freebsd.org/api/units/1812026/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2025-05-25T08:25:47.675355Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksporters-handbookslow-porting_index/ru/?format=api", "source": [ ".include <bsd.port.options.mk>\n" ], "previous_source": "", "target": [ ".include <bsd.port.options.mk>\n" ], "id_hash": -823811048123176793, "content_hash": -823811048123176793, "location": "documentation/content/en/books/porters-handbook/slow-porting/_index.adoc:294", "context": "", "note": "type: delimited block . 4", "flags": "no-wrap", "labels": [], "state": 20, "fuzzy": false, "translated": true, "approved": false, "position": 72, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 2, "source_unit": "https://translate-dev.freebsd.org/api/units/1115234/?format=api", "priority": 100, "id": 1812027, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksporters-handbookslow-porting_index/ru/?checksum=74913c376a9368a7", "url": "https://translate-dev.freebsd.org/api/units/1812027/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2025-05-25T08:25:47.675885Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksporters-handbookslow-porting_index/ru/?format=api", "source": [ "# Patch in the iconv const qualifier before this\n.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1100069\nEXTRA_PATCHES=\t${PATCHDIR}/extra-patch-fbsd10\n.endif\n" ], "previous_source": "", "target": [ "# Patch in the iconv const qualifier before this\n.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1100069\nEXTRA_PATCHES=\t${PATCHDIR}/extra-patch-fbsd10\n.endif\n" ], "id_hash": 7661145685028785237, "content_hash": 7661145685028785237, "location": "documentation/content/en/books/porters-handbook/slow-porting/_index.adoc:299", "context": "", "note": "type: delimited block . 4", "flags": "no-wrap", "labels": [], "state": 20, "fuzzy": false, "translated": true, "approved": false, "position": 73, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 20, "source_unit": "https://translate-dev.freebsd.org/api/units/1115236/?format=api", "priority": 100, "id": 1812028, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksporters-handbookslow-porting_index/ru/?checksum=ea51db68f8a84c55", "url": "https://translate-dev.freebsd.org/api/units/1812028/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2025-05-25T08:25:47.676438Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksporters-handbookslow-porting_index/ru/?format=api", "source": [ ".include <bsd.port.mk>\n" ], "previous_source": "", "target": [ ".include <bsd.port.mk>\n" ], "id_hash": 5002209166483044708, "content_hash": 5002209166483044708, "location": "documentation/content/en/books/porters-handbook/slow-porting/_index.adoc:301", "context": "", "note": "type: delimited block . 4", "flags": "no-wrap", "labels": [], "state": 20, "fuzzy": false, "translated": true, "approved": false, "position": 74, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 2, "source_unit": "https://translate-dev.freebsd.org/api/units/1115238/?format=api", "priority": 100, "id": 1812029, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksporters-handbookslow-porting_index/ru/?checksum=c56b6abbec6cb964", "url": "https://translate-dev.freebsd.org/api/units/1812029/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2025-05-25T08:25:47.676975Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksporters-handbookslow-porting_index/ru/?format=api", "source": [ "Optionally Applying a Patch" ], "previous_source": "", "target": [ "Опциональное применение патча" ], "id_hash": 3427714064453549997, "content_hash": 3427714064453549997, "location": "documentation/content/en/books/porters-handbook/slow-porting/_index.adoc:306", "context": "", "note": "type: Block title", "flags": "no-wrap", "labels": [], "state": 20, "fuzzy": false, "translated": true, "approved": false, "position": 75, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 4, "source_unit": "https://translate-dev.freebsd.org/api/units/1115240/?format=api", "priority": 100, "id": 1812030, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksporters-handbookslow-porting_index/ru/?checksum=af91afc7e35d3fad", "url": "https://translate-dev.freebsd.org/api/units/1812030/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2025-05-25T08:25:47.677485Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksporters-handbookslow-porting_index/ru/?format=api", "source": [ "When an crossref:makefiles[makefile-options,option] requires a patch, use ``opt_EXTRA_PATCHES`` and ``opt_EXTRA_PATCHES_OFF`` to make the patch conditional on the `opt` option. See crossref:makefiles[options-variables,Generic Variables Replacement, `OPT_VARIABLE` and `OPT_VARIABLE_OFF`] for more information." ], "previous_source": "", "target": [ "Когда для crossref:makefiles[makefile-options,опции] требуется патч, используйте ``opt_EXTRA_PATCHES`` и ``opt_EXTRA_PATCHES_OFF``, чтобы сделать исправление зависимым от опции `opt`. Дополнительные сведения см. в crossref:makefiles[options-variables,Generic Variables Replacement, `OPT_VARIABLE` и `OPT_VARIABLE_OFF`]." ], "id_hash": -5845815678638506565, "content_hash": -5845815678638506565, "location": "documentation/content/en/books/porters-handbook/slow-porting/_index.adoc:311", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 20, "fuzzy": false, "translated": true, "approved": false, "position": 76, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 29, "source_unit": "https://translate-dev.freebsd.org/api/units/1238356/?format=api", "priority": 100, "id": 1812031, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksporters-handbookslow-porting_index/ru/?checksum=2edf7d9cdc57bdbb", "url": "https://translate-dev.freebsd.org/api/units/1812031/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2025-05-25T08:25:47.678288Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksporters-handbookslow-porting_index/ru/?format=api", "source": [ "OPTIONS_DEFINE=\t FOO BAR\nFOO_EXTRA_PATCHES= ${PATCHDIR}/extra-patch-foo\nBAR_EXTRA_PATCHES_OFF=\t${PATCHDIR}/extra-patch-bar.c \\\n\t\t${PATCHDIR}/extra-patch-bar.h\n" ], "previous_source": "", "target": [ "OPTIONS_DEFINE=\t FOO BAR\nFOO_EXTRA_PATCHES= ${PATCHDIR}/extra-patch-foo\nBAR_EXTRA_PATCHES_OFF=\t${PATCHDIR}/extra-patch-bar.c \\\n\t\t${PATCHDIR}/extra-patch-bar.h\n" ], "id_hash": -8167805010291182401, "content_hash": -8167805010291182401, "location": "documentation/content/en/books/porters-handbook/slow-porting/_index.adoc:318", "context": "", "note": "type: delimited block . 4", "flags": "no-wrap", "labels": [], "state": 20, "fuzzy": false, "translated": true, "approved": false, "position": 77, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 9, "source_unit": "https://translate-dev.freebsd.org/api/units/1115244/?format=api", "priority": 100, "id": 1812032, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksporters-handbookslow-porting_index/ru/?checksum=0ea6209e36f034bf", "url": "https://translate-dev.freebsd.org/api/units/1812032/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2025-05-25T08:25:47.678871Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksporters-handbookslow-porting_index/ru/?format=api", "source": [ "Using `EXTRA_PATCHES` With a Directory" ], "previous_source": "", "target": [ "Использование `EXTRA_PATCHES` с каталогом" ], "id_hash": 1813239723655262338, "content_hash": 1813239723655262338, "location": "documentation/content/en/books/porters-handbook/slow-porting/_index.adoc:323", "context": "", "note": "type: Block title", "flags": "no-wrap", "labels": [], "state": 20, "fuzzy": false, "translated": true, "approved": false, "position": 78, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 5, "source_unit": "https://translate-dev.freebsd.org/api/units/1115246/?format=api", "priority": 100, "id": 1812033, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksporters-handbookslow-porting_index/ru/?checksum=9929ebebf5197082", "url": "https://translate-dev.freebsd.org/api/units/1812033/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2025-05-25T08:25:47.679416Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksporters-handbookslow-porting_index/ru/?format=api", "source": [ "Sometimes, there are many patches that are needed for a feature, in this case, it is possible to point `EXTRA_PATCHES` to a directory, and it will automatically apply all files named [.filename]#patch-*# in it." ], "previous_source": "", "target": [ "Иногда для функции требуется множество патчей, в таком случае можно указать `EXTRA_PATCHES` на каталог, и все файлы с именем [.filename]#patch-*# в нём будут применены автоматически." ], "id_hash": 3967162940120716830, "content_hash": 3967162940120716830, "location": "documentation/content/en/books/porters-handbook/slow-porting/_index.adoc:328", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 20, "fuzzy": false, "translated": true, "approved": false, "position": 79, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 34, "source_unit": "https://translate-dev.freebsd.org/api/units/1115248/?format=api", "priority": 100, "id": 1812034, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksporters-handbookslow-porting_index/ru/?checksum=b70e31acd3fd561e", "url": "https://translate-dev.freebsd.org/api/units/1812034/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2025-05-25T08:25:47.679930Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksporters-handbookslow-porting_index/ru/?format=api", "source": [ "Create a subdirectory in [.filename]#${PATCHDIR}#, and move the patches in it. For example:" ], "previous_source": "", "target": [ "Создайте подкаталог в [.filename]#${PATCHDIR}# и переместите в него патчи. Например:" ], "id_hash": -2806785073082718585, "content_hash": -2806785073082718585, "location": "documentation/content/en/books/porters-handbook/slow-porting/_index.adoc:331", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 20, "fuzzy": false, "translated": true, "approved": false, "position": 80, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 13, "source_unit": "https://translate-dev.freebsd.org/api/units/1238358/?format=api", "priority": 100, "id": 1812035, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksporters-handbookslow-porting_index/ru/?checksum=590c4bd8d6092687", "url": "https://translate-dev.freebsd.org/api/units/1812035/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2025-05-25T08:25:47.680466Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksporters-handbookslow-porting_index/ru/?format=api", "source": [ "% ls -l files/foo-patches\n-rw-r--r-- 1 root wheel 350 Jan 16 01:27 patch-Makefile.in\n-rw-r--r-- 1 root wheel 3084 Jan 18 15:37 patch-configure.ac\n" ], "previous_source": "", "target": [ "% ls -l files/foo-patches\n-rw-r--r-- 1 root wheel 350 Jan 16 01:27 patch-Makefile.in\n-rw-r--r-- 1 root wheel 3084 Jan 18 15:37 patch-configure.ac\n" ], "id_hash": 464037407088459353, "content_hash": 464037407088459353, "location": "documentation/content/en/books/porters-handbook/slow-porting/_index.adoc:337", "context": "", "note": "type: delimited block . 4", "flags": "no-wrap", "labels": [], "state": 20, "fuzzy": false, "translated": true, "approved": false, "position": 81, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 22, "source_unit": "https://translate-dev.freebsd.org/api/units/1616242/?format=api", "priority": 100, "id": 1812036, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksporters-handbookslow-porting_index/ru/?checksum=867097902c003e59", "url": "https://translate-dev.freebsd.org/api/units/1812036/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2025-05-25T08:25:47.681015Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksporters-handbookslow-porting_index/ru/?format=api", "source": [ "Then add this to the [.filename]#Makefile#:" ], "previous_source": "", "target": [ "Затем добавьте это в [.filename]#Makefile#:" ], "id_hash": 997836799741716151, "content_hash": 997836799741716151, "location": "documentation/content/en/books/porters-handbook/slow-porting/_index.adoc:340", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 20, "fuzzy": false, "translated": true, "approved": false, "position": 82, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 6, "source_unit": "https://translate-dev.freebsd.org/api/units/1115254/?format=api", "priority": 100, "id": 1812037, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksporters-handbookslow-porting_index/ru/?checksum=8dd90748586ae6b7", "url": "https://translate-dev.freebsd.org/api/units/1812037/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2025-05-25T08:25:47.681561Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksporters-handbookslow-porting_index/ru/?format=api", "source": [ "OPTIONS_DEFINE=\tFOO\nFOO_EXTRA_PATCHES=\t${PATCHDIR}/foo-patches\n" ], "previous_source": "", "target": [ "OPTIONS_DEFINE=\tFOO\nFOO_EXTRA_PATCHES=\t${PATCHDIR}/foo-patches\n" ], "id_hash": 6152804545923439382, "content_hash": 6152804545923439382, "location": "documentation/content/en/books/porters-handbook/slow-porting/_index.adoc:345", "context": "", "note": "type: delimited block . 4", "flags": "no-wrap", "labels": [], "state": 20, "fuzzy": false, "translated": true, "approved": false, "position": 83, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 4, "source_unit": "https://translate-dev.freebsd.org/api/units/1115256/?format=api", "priority": 100, "id": 1812038, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksporters-handbookslow-porting_index/ru/?checksum=d5632722b42cdb16", "url": "https://translate-dev.freebsd.org/api/units/1812038/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2025-05-25T08:25:47.682079Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksporters-handbookslow-porting_index/ru/?format=api", "source": [ "The framework will then use all the files named [.filename]#patch-*# in that directory." ], "previous_source": "", "target": [ "Затем фреймворк использует все файлы с именем [.filename]#patch-*# в этом каталоге." ], "id_hash": -752756199605312038, "content_hash": -752756199605312038, "location": "documentation/content/en/books/porters-handbook/slow-porting/_index.adoc:348", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 20, "fuzzy": false, "translated": true, "approved": false, "position": 84, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 13, "source_unit": "https://translate-dev.freebsd.org/api/units/1115258/?format=api", "priority": 100, "id": 1812039, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksporters-handbookslow-porting_index/ru/?checksum=758dac39880d65da", "url": "https://translate-dev.freebsd.org/api/units/1812039/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2025-05-25T08:25:47.682583Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksporters-handbookslow-porting_index/ru/?format=api", "source": [ "Configuring" ], "previous_source": "", "target": [ "Конфигурирование" ], "id_hash": -1124987994523085363, "content_hash": -1124987994523085363, "location": "documentation/content/en/books/porters-handbook/slow-porting/_index.adoc:351", "context": "", "note": "type: Title ==", "flags": "no-wrap", "labels": [], "state": 20, "fuzzy": false, "translated": true, "approved": false, "position": 85, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 1, "source_unit": "https://translate-dev.freebsd.org/api/units/1115260/?format=api", "priority": 100, "id": 1812040, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksporters-handbookslow-porting_index/ru/?checksum=70633d6121df55cd", "url": "https://translate-dev.freebsd.org/api/units/1812040/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2025-05-25T08:25:47.683105Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksporters-handbookslow-porting_index/ru/?format=api", "source": [ "Include any additional customization commands in the [.filename]#configure# script and save it in the [.filename]#scripts# subdirectory. As mentioned above, it is also possible do this with [.filename]#Makefile# targets and/or scripts with the name [.filename]#pre-configure# or [.filename]#post-configure#." ], "previous_source": "", "target": [ "Поместите все дополнительные команды, требуемые для настройки, в ваш скрипт [.filename]#configure# и сохраните его в подкаталоге [.filename]#scripts#. Как отмечено выше, вы можете сделать это целями в файле [.filename]#Makefile# и/или скриптами с именами [.filename]#pre-configure# или [.filename]#post-configure#." ], "id_hash": -376117054968173845, "content_hash": -376117054968173845, "location": "documentation/content/en/books/porters-handbook/slow-porting/_index.adoc:355", "context": "", "note": "type: delimited block = 4", "flags": "", "labels": [], "state": 20, "fuzzy": false, "translated": true, "approved": false, "position": 86, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 36, "source_unit": "https://translate-dev.freebsd.org/api/units/1238360/?format=api", "priority": 100, "id": 1812041, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksporters-handbookslow-porting_index/ru/?checksum=7ac7c38800a7eaeb", "url": "https://translate-dev.freebsd.org/api/units/1812041/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2025-05-25T08:25:47.683610Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksporters-handbookslow-porting_index/ru/?format=api", "source": [ "Handling User Input" ], "previous_source": "", "target": [ "Обработка пользовательского ввода" ], "id_hash": -481896497804129971, "content_hash": -481896497804129971, "location": "documentation/content/en/books/porters-handbook/slow-porting/_index.adoc:357", "context": "", "note": "type: Title ==", "flags": "no-wrap", "labels": [], "state": 20, "fuzzy": false, "translated": true, "approved": false, "position": 87, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 3, "source_unit": "https://translate-dev.freebsd.org/api/units/1115264/?format=api", "priority": 100, "id": 1812042, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksporters-handbookslow-porting_index/ru/?checksum=794ff5b03de1494d", "url": "https://translate-dev.freebsd.org/api/units/1812042/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2025-05-25T08:25:47.684132Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksporters-handbookslow-porting_index/ru/?format=api", "source": [ "If the port requires user input to build, configure, or install, set `IS_INTERACTIVE` in the [.filename]#Makefile#. This will allow \"overnight builds\" to skip it. If the user sets the variable `BATCH` in their environment (and if the user sets the variable `INTERACTIVE`, then _only_ those ports requiring interaction are built). This will save a lot of wasted time on the set of machines that continually build ports (see below)." ], "previous_source": "", "target": [ "Если для построения, конфигурации или установки вашего порта требуется некоторый ввод со стороны пользователя, то вы должны задать переменную `IS_INTERACTIVE` в вашем файле [.filename]#Makefile#. В случае \"ночного построения\" это позволит пропустить ваш порт, если пользователь в своём окружении задал переменную `BATCH` (и если пользователь установил переменную `INTERACTIVE`, то будут строиться _только_ порты, которые требуют взаимодействия с пользователем. Это сэкономит значительное количество времени на части машин, которые постоянно строят порты (смотрите ниже)." ], "id_hash": -4248237216427100418, "content_hash": -4248237216427100418, "location": "documentation/content/en/books/porters-handbook/slow-porting/_index.adoc:364", "context": "", "note": "type: delimited block = 4", "flags": "", "labels": [], "state": 20, "fuzzy": false, "translated": true, "approved": false, "position": 88, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 69, "source_unit": "https://translate-dev.freebsd.org/api/units/1238362/?format=api", "priority": 100, "id": 1812043, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksporters-handbookslow-porting_index/ru/?checksum=450b3ac28144b6fe", "url": "https://translate-dev.freebsd.org/api/units/1812043/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2025-05-25T08:25:47.684665Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksporters-handbookslow-porting_index/ru/?format=api", "source": [ "It is also recommended that if there are reasonable default answers to the questions, `PACKAGE_BUILDING` be used to turn off the interactive script when it is set. This will allow us to build the packages for CDROMs and FTP." ], "previous_source": "", "target": [ "При наличии разумных ответов на задаваемые вопросы, подходящих по умолчанию, также рекомендуется проверять переменную `PACKAGE_BUILDING` и выключать интерактивный скрипт, если он есть. Это позволит нам строить пакеты для помещения на компакт-диски и FTP-серверы." ], "id_hash": 6967190930684660052, "content_hash": 6967190930684660052, "location": "documentation/content/en/books/porters-handbook/slow-porting/_index.adoc:366", "context": "", "note": "type: delimited block = 4", "flags": "", "labels": [], "state": 20, "fuzzy": false, "translated": true, "approved": false, "position": 89, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 39, "source_unit": "https://translate-dev.freebsd.org/api/units/1238364/?format=api", "priority": 100, "id": 1812044, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksporters-handbookslow-porting_index/ru/?checksum=e0b06f3cd9c84954", "url": "https://translate-dev.freebsd.org/api/units/1812044/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2025-05-25T08:25:47.685214Z" } ] }