Units
Translation components API.
See the Weblate's Web API documentation for detailed description of the API.
GET /api/translations/documentation/booksporters-handbookporting-dads_index/ru/units/?format=api
{ "count": 159, "next": "https://translate-dev.freebsd.org/api/translations/documentation/booksporters-handbookporting-dads_index/ru/units/?format=api&page=2", "previous": null, "results": [ { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksporters-handbookporting-dads_index/ru/?format=api", "source": [ "A list of common dos and don'ts that are encountered during the FreeBSD porting process" ], "previous_source": "", "target": [ "Список распространённых рекомендаций и ошибок, встречающихся в процессе портирования на FreeBSD" ], "id_hash": 5504099741787446938, "content_hash": 5504099741787446938, "location": "documentation/content/en/books/porters-handbook/porting-dads/_index.adoc:1", "context": "", "note": "type: YAML Front Matter: description", "flags": "no-wrap", "labels": [], "state": 20, "fuzzy": false, "translated": true, "approved": false, "position": 1, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 15, "source_unit": "https://translate-dev.freebsd.org/api/units/1176864/?format=api", "priority": 100, "id": 1776932, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksporters-handbookporting-dads_index/ru/?checksum=cc627d8d9d8f5e9a", "url": "https://translate-dev.freebsd.org/api/units/1776932/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2025-05-25T07:57:37.447585Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksporters-handbookporting-dads_index/ru/?format=api", "source": [ "Chapter 13. Dos and Don'ts" ], "previous_source": "", "target": [ "Глава 13. Что делать нужно, и что делать нельзя" ], "id_hash": 4667278880192807081, "content_hash": 4667278880192807081, "location": "documentation/content/en/books/porters-handbook/porting-dads/_index.adoc:1", "context": "", "note": "type: YAML Front Matter: title", "flags": "no-wrap", "labels": [], "state": 20, "fuzzy": false, "translated": true, "approved": false, "position": 2, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 5, "source_unit": "https://translate-dev.freebsd.org/api/units/1116930/?format=api", "priority": 100, "id": 1776933, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksporters-handbookporting-dads_index/ru/?checksum=c0c58169c99340a9", "url": "https://translate-dev.freebsd.org/api/units/1776933/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2025-05-25T07:57:37.448309Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksporters-handbookporting-dads_index/ru/?format=api", "source": [ "Dos and Don'ts" ], "previous_source": "", "target": [ "Что делать нужно, и что делать нельзя" ], "id_hash": -1318758529615126407, "content_hash": -1318758529615126407, "location": "documentation/content/en/books/porters-handbook/porting-dads/_index.adoc:14", "context": "", "note": "type: Title =", "flags": "no-wrap", "labels": [], "state": 20, "fuzzy": false, "translated": true, "approved": false, "position": 3, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 3, "source_unit": "https://translate-dev.freebsd.org/api/units/1116932/?format=api", "priority": 100, "id": 1776934, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksporters-handbookporting-dads_index/ru/?checksum=6db2d41ab9c62079", "url": "https://translate-dev.freebsd.org/api/units/1776934/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2025-05-25T07:57:37.448908Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksporters-handbookporting-dads_index/ru/?format=api", "source": [ "Introduction" ], "previous_source": "", "target": [ "Введение" ], "id_hash": 5330140601372690748, "content_hash": 5330140601372690748, "location": "documentation/content/en/books/porters-handbook/porting-dads/_index.adoc:54", "context": "", "note": "type: Title ==", "flags": "no-wrap", "labels": [], "state": 20, "fuzzy": false, "translated": true, "approved": false, "position": 4, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 1, "source_unit": "https://translate-dev.freebsd.org/api/units/1116934/?format=api", "priority": 100, "id": 1776935, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksporters-handbookporting-dads_index/ru/?checksum=c9f876a2fbb4c93c", "url": "https://translate-dev.freebsd.org/api/units/1776935/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2025-05-25T07:57:37.449490Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksporters-handbookporting-dads_index/ru/?format=api", "source": [ "Here is a list of common dos and don'ts that are encountered during the porting process. Check the port against this list, but also check ports in the https://bugs.FreeBSD.org/search/[PR database] that others have submitted. Submit any comments on ports as described in extref:{contributing}[Bug Reports and General Commentary, CONTRIB-GENERAL]. Checking ports in the PR database will both make it faster for us to commit them, and prove that you know what you are doing." ], "previous_source": "", "target": [ "Вот список часто встречающихся действий, которые нужно и которые нельзя делать во время процесса портирования. Проверьте порт по этому списку, и также проверьте порты в https://bugs.FreeBSD.org/search/[базе сообщений PR], которые присланы другими людьми. Присылайте любые комментарии о портах, которые вы проверили, так, как это описано в статье о extref:{contributing}[Сообщениях об ошибках и общих замечаниях, CONTRIB-GENERAL]. Проверка портов в базе сообщений PR позволит нам быстрее коммитить их и удостовериться, что вы знаете, что делаете." ], "id_hash": -8238707781005704878, "content_hash": -8238707781005704878, "location": "documentation/content/en/books/porters-handbook/porting-dads/_index.adoc:60", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 20, "fuzzy": false, "translated": true, "approved": false, "position": 5, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 73, "source_unit": "https://translate-dev.freebsd.org/api/units/1254314/?format=api", "priority": 100, "id": 1776936, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksporters-handbookporting-dads_index/ru/?checksum=0daa3aec78e88152", "url": "https://translate-dev.freebsd.org/api/units/1776936/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2025-05-25T07:57:37.450029Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksporters-handbookporting-dads_index/ru/?format=api", "source": [ "`WRKDIR`" ], "previous_source": "", "target": [ "`WRKDIR`" ], "id_hash": 5582211070387482722, "content_hash": 5582211070387482722, "location": "documentation/content/en/books/porters-handbook/porting-dads/_index.adoc:62", "context": "", "note": "type: Title ==", "flags": "no-wrap", "labels": [], "state": 20, "fuzzy": false, "translated": true, "approved": false, "position": 6, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 1, "source_unit": "https://translate-dev.freebsd.org/api/units/1116938/?format=api", "priority": 100, "id": 1776937, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksporters-handbookporting-dads_index/ru/?checksum=cd77ff6487b2f062", "url": "https://translate-dev.freebsd.org/api/units/1776937/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2025-05-25T07:57:37.450624Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksporters-handbookporting-dads_index/ru/?format=api", "source": [ "Do not write anything to files outside `WRKDIR`. `WRKDIR` is the only place that is guaranteed to be writable during the port build (see extref:{handbook}[ installing ports from a CDROM, PORTS-CD] for an example of building ports from a read-only tree). The [.filename]##pkg-*## files can be modified by crossref:pkg-files[pkg-names,redefining a variable] rather than overwriting the file." ], "previous_source": "", "target": [ "Не пишите ничего в файлы вне каталога `WRKDIR`. Каталог `WRKDIR` является единственным местом, которое гарантированно будет доступно для записи во время построения порта (обратитесь к главе об extref:{handbook}[установке портов с CDROM, PORTS-CD] за примером построения портов из дерева, доступного только для чтения). Если вам нужно изменить какой-либо из файлов [.filename]##pkg-*##, сделайте это, crossref:pkg-files[pkg-names,переопределив переменную], но не перезаписывая их." ], "id_hash": 6474090406136890909, "content_hash": 6474090406136890909, "location": "documentation/content/en/books/porters-handbook/porting-dads/_index.adoc:66", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 20, "fuzzy": false, "translated": true, "approved": false, "position": 7, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 56, "source_unit": "https://translate-dev.freebsd.org/api/units/1254316/?format=api", "priority": 100, "id": 1776938, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksporters-handbookporting-dads_index/ru/?checksum=d9d896ec558dc61d", "url": "https://translate-dev.freebsd.org/api/units/1776938/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2025-05-25T07:57:37.451174Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksporters-handbookporting-dads_index/ru/?format=api", "source": [ "`WRKDIRPREFIX`" ], "previous_source": "", "target": [ "`WRKDIRPREFIX`" ], "id_hash": 6015920935215657060, "content_hash": 6015920935215657060, "location": "documentation/content/en/books/porters-handbook/porting-dads/_index.adoc:68", "context": "", "note": "type: Title ==", "flags": "no-wrap", "labels": [], "state": 20, "fuzzy": false, "translated": true, "approved": false, "position": 8, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 1, "source_unit": "https://translate-dev.freebsd.org/api/units/1116942/?format=api", "priority": 100, "id": 1776939, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksporters-handbookporting-dads_index/ru/?checksum=d37cd837845d7064", "url": "https://translate-dev.freebsd.org/api/units/1776939/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2025-05-25T07:57:37.451768Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksporters-handbookporting-dads_index/ru/?format=api", "source": [ "Make sure the port honors `WRKDIRPREFIX`. Most ports do not have to worry about this. In particular, when referring to a `WRKDIR` of another port, note that the correct location is [.filename]#${WRKDIRPREFIX}${PORTSDIR}/subdir/name/work# not [.filename]#${PORTSDIR}/subdir/name/work# or [.filename]#${.CURDIR}/../../subdir/name/work# or some such." ], "previous_source": "", "target": [ "Добейтесь того, чтобы ваш порт принимал во внимание значение переменной `WRKDIRPREFIX`. Большинство портов об этом не заботятся. В частности, если вы обращаетесь к каталогу `WRKDIR` другого порта, заметьте, что его правильным местоположением является [.filename]#WRKDIRPREFIXPORTSDIR/subdir/name/work#, а не [.filename]#PORTSDIR/subdir/work# или [.filename]#.CURDIR/../../subdir/name/work# или что-то подобное. Кроме того, если вы сами задаете `WRKDIR`, то должны поставить перед ним знак `${WRKDIRPREFIX}${.CURDIR}`." ], "id_hash": -7090735842723513408, "content_hash": -7090735842723513408, "location": "documentation/content/en/books/porters-handbook/porting-dads/_index.adoc:73", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 20, "fuzzy": false, "translated": true, "approved": false, "position": 9, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 39, "source_unit": "https://translate-dev.freebsd.org/api/units/1176866/?format=api", "priority": 100, "id": 1776940, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksporters-handbookporting-dads_index/ru/?checksum=1d98a551c255bbc0", "url": "https://translate-dev.freebsd.org/api/units/1776940/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2025-05-25T07:57:37.452292Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksporters-handbookporting-dads_index/ru/?format=api", "source": [ "Differentiating Operating Systems and OS Versions" ], "previous_source": "", "target": [ "Различение операционных систем и версий ОС" ], "id_hash": 8785368461202700659, "content_hash": 8785368461202700659, "location": "documentation/content/en/books/porters-handbook/porting-dads/_index.adoc:75", "context": "", "note": "type: Title ==", "flags": "no-wrap", "labels": [], "state": 20, "fuzzy": false, "translated": true, "approved": false, "position": 10, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 6, "source_unit": "https://translate-dev.freebsd.org/api/units/1116948/?format=api", "priority": 100, "id": 1776941, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksporters-handbookporting-dads_index/ru/?checksum=f9ebe6118ee83973", "url": "https://translate-dev.freebsd.org/api/units/1776941/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2025-05-25T07:57:37.452855Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksporters-handbookporting-dads_index/ru/?format=api", "source": [ "Some code needs modifications or conditional compilation based upon what version of FreeBSD Unix it is running under. The preferred way to tell FreeBSD versions apart are the `{freebsd-version}` and `{freebsd}` macros defined in https://cgit.freebsd.org/src/tree/sys/sys/param.h[sys/param.h]. If this file is not included add the code," ], "previous_source": "", "target": [ "Вы можете встретиться с кодом, который требует модификаций или условной компиляции в зависимости от того, с какой версией FreeBSD Unix он работает. Предпочтительным способом отделения кода для версий FreeBSD является использование макросов {freebsd-version} и {freebsd}, определённых в https://cgit.freebsd.org/src/tree/sys/sys/param.h[sys/param.h]. Если этот файл не подключен, добавьте код" ], "id_hash": 6901249102987121903, "content_hash": 6901249102987121903, "location": "documentation/content/en/books/porters-handbook/porting-dads/_index.adoc:79", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 20, "fuzzy": false, "translated": true, "approved": false, "position": 11, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 44, "source_unit": "https://translate-dev.freebsd.org/api/units/1238692/?format=api", "priority": 100, "id": 1776942, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksporters-handbookporting-dads_index/ru/?checksum=dfc6297eaa07d4ef", "url": "https://translate-dev.freebsd.org/api/units/1776942/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2025-05-25T07:57:37.453407Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksporters-handbookporting-dads_index/ru/?format=api", "source": [ "#include <sys/param.h>\n" ], "previous_source": "", "target": [ "#include <sys/param.h>\n" ], "id_hash": -2313193924691443547, "content_hash": -2313193924691443547, "location": "documentation/content/en/books/porters-handbook/porting-dads/_index.adoc:83", "context": "", "note": "type: delimited block . 4", "flags": "no-wrap", "labels": [], "state": 20, "fuzzy": false, "translated": true, "approved": false, "position": 12, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 2, "source_unit": "https://translate-dev.freebsd.org/api/units/1116952/?format=api", "priority": 100, "id": 1776943, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksporters-handbookporting-dads_index/ru/?checksum=5fe5e2619e2cc0a5", "url": "https://translate-dev.freebsd.org/api/units/1776943/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2025-05-25T07:57:37.453984Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksporters-handbookporting-dads_index/ru/?format=api", "source": [ "to the proper place in the [.filename]#.c# file." ], "previous_source": "", "target": [ "в нужном месте файла [.filename]#.c#." ], "id_hash": -2955177890068575048, "content_hash": -2955177890068575048, "location": "documentation/content/en/books/porters-handbook/porting-dads/_index.adoc:86", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 20, "fuzzy": false, "translated": true, "approved": false, "position": 13, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 8, "source_unit": "https://translate-dev.freebsd.org/api/units/1116954/?format=api", "priority": 100, "id": 1776944, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksporters-handbookporting-dads_index/ru/?checksum=56fd195dbe5fccb8", "url": "https://translate-dev.freebsd.org/api/units/1776944/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2025-05-25T07:57:37.454546Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksporters-handbookporting-dads_index/ru/?format=api", "source": [ "`{freebsd}` is defined in all versions of FreeBSD as their major version number. For example, in FreeBSD 9.x, `{freebsd}` is defined to be `9`." ], "previous_source": "", "target": [ "{freebsd} определён во всех версиях FreeBSD в качестве старшего номера версии системы. Например, в FreeBSD 9.x {freebsd} определён со значением `9`." ], "id_hash": 1281856929782355534, "content_hash": 1281856929782355534, "location": "documentation/content/en/books/porters-handbook/porting-dads/_index.adoc:89", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 20, "fuzzy": false, "translated": true, "approved": false, "position": 14, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 24, "source_unit": "https://translate-dev.freebsd.org/api/units/1238694/?format=api", "priority": 100, "id": 1776945, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksporters-handbookporting-dads_index/ru/?checksum=91ca1216088cd64e", "url": "https://translate-dev.freebsd.org/api/units/1776945/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2025-05-25T07:57:37.455073Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksporters-handbookporting-dads_index/ru/?format=api", "source": [ "#if __FreeBSD__ >= 9\n# if __FreeBSD_version >= 901000\n\t /* 9.1+ release specific code here */\n# endif\n#endif\n" ], "previous_source": "", "target": [ "#if __FreeBSD__ >= 9\n# if __FreeBSD_version >= 901000\n\t /* 9.1+ release specific code here */\n# endif\n#endif\n" ], "id_hash": -2025018852260907240, "content_hash": -2025018852260907240, "location": "documentation/content/en/books/porters-handbook/porting-dads/_index.adoc:97", "context": "", "note": "type: delimited block . 4", "flags": "no-wrap", "labels": [], "state": 20, "fuzzy": false, "translated": true, "approved": false, "position": 15, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 19, "source_unit": "https://translate-dev.freebsd.org/api/units/1116958/?format=api", "priority": 100, "id": 1776946, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksporters-handbookporting-dads_index/ru/?checksum=63e5b0153784f718", "url": "https://translate-dev.freebsd.org/api/units/1776946/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2025-05-25T07:57:37.455674Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksporters-handbookporting-dads_index/ru/?format=api", "source": [ "A complete list of `{freebsd-version}` values is available in crossref:versions[versions,__FreeBSD_version Values]." ], "previous_source": "", "target": [ "Полный список значений `{freebsd-version}` доступен в crossref:versions[versions,Значения __FreeBSD_version]." ], "id_hash": -6484822629267650968, "content_hash": -6484822629267650968, "location": "documentation/content/en/books/porters-handbook/porting-dads/_index.adoc:100", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 20, "fuzzy": false, "translated": true, "approved": false, "position": 16, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 11, "source_unit": "https://translate-dev.freebsd.org/api/units/1116960/?format=api", "priority": 100, "id": 1776947, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksporters-handbookporting-dads_index/ru/?checksum=2601482d3f164668", "url": "https://translate-dev.freebsd.org/api/units/1776947/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2025-05-25T07:57:37.456227Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksporters-handbookporting-dads_index/ru/?format=api", "source": [ "Writing Something After bsd.port.mk" ], "previous_source": "", "target": [ "Написание чего-либо после bsd.port.mk" ], "id_hash": -8480506349093146928, "content_hash": -8480506349093146928, "location": "documentation/content/en/books/porters-handbook/porting-dads/_index.adoc:102", "context": "", "note": "type: Title ==", "flags": "no-wrap", "labels": [], "state": 20, "fuzzy": false, "translated": true, "approved": false, "position": 17, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 4, "source_unit": "https://translate-dev.freebsd.org/api/units/1116962/?format=api", "priority": 100, "id": 1776948, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksporters-handbookporting-dads_index/ru/?checksum=0a4f30683adbaed0", "url": "https://translate-dev.freebsd.org/api/units/1776948/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2025-05-25T07:57:37.456781Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksporters-handbookporting-dads_index/ru/?format=api", "source": [ "Do not write anything after the `.include <bsd.port.mk>` line. It usually can be avoided by including [.filename]#bsd.port.pre.mk# somewhere in the middle of the [.filename]#Makefile# and [.filename]#bsd.port.post.mk# at the end." ], "previous_source": "", "target": [ "Не пишите ничего после строки `.include <bsd.port.mk>`. Этой строки можно избежать, включив в где-то в середину вашего файла [.filename]#Makefile# файл [.filename]#bsd.port.pre.mk#, и файл [.filename]#bsd.port.post.mk# в конец." ], "id_hash": -3575847879251799253, "content_hash": -3575847879251799253, "location": "documentation/content/en/books/porters-handbook/porting-dads/_index.adoc:106", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 20, "fuzzy": false, "translated": true, "approved": false, "position": 18, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 29, "source_unit": "https://translate-dev.freebsd.org/api/units/1238696/?format=api", "priority": 100, "id": 1776949, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksporters-handbookporting-dads_index/ru/?checksum=4e60094caa5cd32b", "url": "https://translate-dev.freebsd.org/api/units/1776949/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2025-05-25T07:57:37.457298Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksporters-handbookporting-dads_index/ru/?format=api", "source": [ "Include either the [.filename]#bsd.port.pre.mk#/[.filename]#bsd.port.post.mk# pair or [.filename]#bsd.port.mk# only; do not mix these two usages." ], "previous_source": "", "target": [ "Вам нужно включить либо пару файлов [.filename]#bsd.port.pre.mk#/[.filename]#bsd.port.post.mk#, либо только [.filename]#bsd.port.mk#; не используйте оба этих метода одновременно." ], "id_hash": -7663195940747581626, "content_hash": -7663195940747581626, "location": "documentation/content/en/books/porters-handbook/porting-dads/_index.adoc:110", "context": "", "note": "type: delimited block = 4", "flags": "", "labels": [], "state": 20, "fuzzy": false, "translated": true, "approved": false, "position": 19, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 14, "source_unit": "https://translate-dev.freebsd.org/api/units/1116966/?format=api", "priority": 100, "id": 1776950, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksporters-handbookporting-dads_index/ru/?checksum=15a6dbe4ab866746", "url": "https://translate-dev.freebsd.org/api/units/1776950/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2025-05-25T07:57:37.457840Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksporters-handbookporting-dads_index/ru/?format=api", "source": [ "[.filename]#bsd.port.pre.mk# only defines a few variables, which can be used in tests in the [.filename]#Makefile#, [.filename]#bsd.port.post.mk# defines the rest." ], "previous_source": "", "target": [ "В файле [.filename]#bsd.port.pre.mk# определяются лишь несколько переменных, которые могут быть использованы в тестах из файла [.filename]#Makefile#, в файле [.filename]#bsd.port.post.mk# заданы остальные." ], "id_hash": 7100583644283299906, "content_hash": 7100583644283299906, "location": "documentation/content/en/books/porters-handbook/porting-dads/_index.adoc:113", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 20, "fuzzy": false, "translated": true, "approved": false, "position": 20, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 19, "source_unit": "https://translate-dev.freebsd.org/api/units/1116968/?format=api", "priority": 100, "id": 1776951, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksporters-handbookporting-dads_index/ru/?checksum=e28a573437746842", "url": "https://translate-dev.freebsd.org/api/units/1776951/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2025-05-25T07:57:37.458394Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksporters-handbookporting-dads_index/ru/?format=api", "source": [ "Here are some important variables defined in [.filename]#bsd.port.pre.mk# (this is not the complete list, please read [.filename]#bsd.port.mk# for the complete list)." ], "previous_source": "", "target": [ "Вот некоторые важные переменные, определённые в файле [.filename]#bsd.port.pre.mk# (это не полный список, для выяснения полного списка прочтите, пожалуйста, сам файл [.filename]#bsd.port.mk#)." ], "id_hash": -6938202269004805603, "content_hash": -6938202269004805603, "location": "documentation/content/en/books/porters-handbook/porting-dads/_index.adoc:115", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 20, "fuzzy": false, "translated": true, "approved": false, "position": 21, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 21, "source_unit": "https://translate-dev.freebsd.org/api/units/1116970/?format=api", "priority": 100, "id": 1776952, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksporters-handbookporting-dads_index/ru/?checksum=1fb68dcbe828ca1d", "url": "https://translate-dev.freebsd.org/api/units/1776952/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2025-05-25T07:57:37.458945Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksporters-handbookporting-dads_index/ru/?format=api", "source": [ "Variable" ], "previous_source": "", "target": [ "Переменная" ], "id_hash": -7737477878591146079, "content_hash": -7737477878591146079, "location": "documentation/content/en/books/porters-handbook/porting-dads/_index.adoc:120", "context": "", "note": "type: Table", "flags": "no-wrap", "labels": [], "state": 20, "fuzzy": false, "translated": true, "approved": false, "position": 22, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 1, "source_unit": "https://translate-dev.freebsd.org/api/units/1372956/?format=api", "priority": 100, "id": 1776953, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksporters-handbookporting-dads_index/ru/?checksum=149ef4dd4521b7a1", "url": "https://translate-dev.freebsd.org/api/units/1776953/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2025-05-25T07:57:37.459477Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksporters-handbookporting-dads_index/ru/?format=api", "source": [ "Description" ], "previous_source": "", "target": [ "Описание" ], "id_hash": 8644027359224476804, "content_hash": 8644027359224476804, "location": "documentation/content/en/books/porters-handbook/porting-dads/_index.adoc:122", "context": "", "note": "type: Table", "flags": "no-wrap", "labels": [], "state": 20, "fuzzy": false, "translated": true, "approved": false, "position": 23, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 1, "source_unit": "https://translate-dev.freebsd.org/api/units/1372958/?format=api", "priority": 100, "id": 1776954, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksporters-handbookporting-dads_index/ru/?checksum=f7f5c115cf553484", "url": "https://translate-dev.freebsd.org/api/units/1776954/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2025-05-25T07:57:37.460016Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksporters-handbookporting-dads_index/ru/?format=api", "source": [ "`ARCH`" ], "previous_source": "", "target": [ "`ARCH`" ], "id_hash": 1425096459503589789, "content_hash": 1425096459503589789, "location": "documentation/content/en/books/porters-handbook/porting-dads/_index.adoc:123", "context": "", "note": "type: Table", "flags": "no-wrap", "labels": [], "state": 20, "fuzzy": false, "translated": true, "approved": false, "position": 24, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 1, "source_unit": "https://translate-dev.freebsd.org/api/units/1372960/?format=api", "priority": 100, "id": 1776955, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksporters-handbookporting-dads_index/ru/?checksum=93c6f5adef60d99d", "url": "https://translate-dev.freebsd.org/api/units/1776955/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2025-05-25T07:57:37.460567Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksporters-handbookporting-dads_index/ru/?format=api", "source": [ "The architecture as returned by `uname -m` (for example, `i386`)" ], "previous_source": "", "target": [ "Архитектура машины в виде, получаемом по команде `uname -m` (например, `i386`)" ], "id_hash": 5186443298301282492, "content_hash": 5186443298301282492, "location": "documentation/content/en/books/porters-handbook/porting-dads/_index.adoc:125", "context": "", "note": "type: Table", "flags": "no-wrap", "labels": [], "state": 20, "fuzzy": false, "translated": true, "approved": false, "position": 25, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 10, "source_unit": "https://translate-dev.freebsd.org/api/units/1372962/?format=api", "priority": 100, "id": 1776956, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksporters-handbookporting-dads_index/ru/?checksum=c7f9f2b36af408bc", "url": "https://translate-dev.freebsd.org/api/units/1776956/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2025-05-25T07:57:37.461105Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksporters-handbookporting-dads_index/ru/?format=api", "source": [ "`OPSYS`" ], "previous_source": "", "target": [ "`OPSYS`" ], "id_hash": -3097426521734748221, "content_hash": -3097426521734748221, "location": "documentation/content/en/books/porters-handbook/porting-dads/_index.adoc:126", "context": "", "note": "type: Table", "flags": "no-wrap", "labels": [], "state": 20, "fuzzy": false, "translated": true, "approved": false, "position": 26, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 1, "source_unit": "https://translate-dev.freebsd.org/api/units/1372964/?format=api", "priority": 100, "id": 1776957, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksporters-handbookporting-dads_index/ru/?checksum=5503bafd462067c3", "url": "https://translate-dev.freebsd.org/api/units/1776957/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2025-05-25T07:57:37.461651Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksporters-handbookporting-dads_index/ru/?format=api", "source": [ "The operating system type, as returned by `uname -s` (for example, `FreeBSD`)" ], "previous_source": "", "target": [ "Тип операционной системы, получаемый по команде `uname -s` (например, `FreeBSD`)" ], "id_hash": 2724365054978474168, "content_hash": 2724365054978474168, "location": "documentation/content/en/books/porters-handbook/porting-dads/_index.adoc:128", "context": "", "note": "type: Table", "flags": "no-wrap", "labels": [], "state": 20, "fuzzy": false, "translated": true, "approved": false, "position": 27, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 12, "source_unit": "https://translate-dev.freebsd.org/api/units/1372966/?format=api", "priority": 100, "id": 1776958, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksporters-handbookporting-dads_index/ru/?checksum=a5cee3954c7ac0b8", "url": "https://translate-dev.freebsd.org/api/units/1776958/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2025-05-25T07:57:37.462173Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksporters-handbookporting-dads_index/ru/?format=api", "source": [ "`OSREL`" ], "previous_source": "", "target": [ "`OSREL`" ], "id_hash": 5804497600095894092, "content_hash": 5804497600095894092, "location": "documentation/content/en/books/porters-handbook/porting-dads/_index.adoc:129", "context": "", "note": "type: Table", "flags": "no-wrap", "labels": [], "state": 20, "fuzzy": false, "translated": true, "approved": false, "position": 28, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 1, "source_unit": "https://translate-dev.freebsd.org/api/units/1372968/?format=api", "priority": 100, "id": 1776959, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksporters-handbookporting-dads_index/ru/?checksum=d08db7d05152ba4c", "url": "https://translate-dev.freebsd.org/api/units/1776959/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2025-05-25T07:57:37.462721Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksporters-handbookporting-dads_index/ru/?format=api", "source": [ "The release version of the operating system (for example, `2.1.5` or `2.2.7`)" ], "previous_source": "", "target": [ "Версия релиза операционной системы (например, `2.1.5` или `2.2.7`)" ], "id_hash": -5466819973643085793, "content_hash": -5466819973643085793, "location": "documentation/content/en/books/porters-handbook/porting-dads/_index.adoc:131", "context": "", "note": "type: Table", "flags": "no-wrap", "labels": [], "state": 20, "fuzzy": false, "translated": true, "approved": false, "position": 29, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 12, "source_unit": "https://translate-dev.freebsd.org/api/units/1372970/?format=api", "priority": 100, "id": 1776960, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksporters-handbookporting-dads_index/ru/?checksum=3421f432cbfe581f", "url": "https://translate-dev.freebsd.org/api/units/1776960/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2025-05-25T07:57:37.463238Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksporters-handbookporting-dads_index/ru/?format=api", "source": [ "`OSVERSION`" ], "previous_source": "", "target": [ "`OSVERSION`" ], "id_hash": 5495714629985975429, "content_hash": 5495714629985975429, "location": "documentation/content/en/books/porters-handbook/porting-dads/_index.adoc:132", "context": "", "note": "type: Table", "flags": "no-wrap", "labels": [], "state": 20, "fuzzy": false, "translated": true, "approved": false, "position": 30, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 1, "source_unit": "https://translate-dev.freebsd.org/api/units/1372972/?format=api", "priority": 100, "id": 1776961, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksporters-handbookporting-dads_index/ru/?checksum=cc44b356a33b3c85", "url": "https://translate-dev.freebsd.org/api/units/1776961/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2025-05-25T07:57:37.463760Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksporters-handbookporting-dads_index/ru/?format=api", "source": [ "The numeric version of the operating system; the same as crossref:versions[versions,`{freebsd-version}`]." ], "previous_source": "", "target": [ "Версия операционной системы в виде числа, та же, что и crossref:versions[versions,`{freebsd-version}`]." ], "id_hash": -5708453846602387, "content_hash": -5708453846602387, "location": "documentation/content/en/books/porters-handbook/porting-dads/_index.adoc:134", "context": "", "note": "type: Table", "flags": "no-wrap", "labels": [], "state": 20, "fuzzy": false, "translated": true, "approved": false, "position": 31, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 11, "source_unit": "https://translate-dev.freebsd.org/api/units/1372974/?format=api", "priority": 100, "id": 1776962, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksporters-handbookporting-dads_index/ru/?checksum=7febb8310441ad6d", "url": "https://translate-dev.freebsd.org/api/units/1776962/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2025-05-25T07:57:37.464266Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksporters-handbookporting-dads_index/ru/?format=api", "source": [ "`LOCALBASE`" ], "previous_source": "", "target": [ "`LOCALBASE`" ], "id_hash": 193371787137303940, "content_hash": 193371787137303940, "location": "documentation/content/en/books/porters-handbook/porting-dads/_index.adoc:135", "context": "", "note": "type: Table", "flags": "no-wrap", "labels": [], "state": 20, "fuzzy": false, "translated": true, "approved": false, "position": 32, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 1, "source_unit": "https://translate-dev.freebsd.org/api/units/1372976/?format=api", "priority": 100, "id": 1776963, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksporters-handbookporting-dads_index/ru/?checksum=82aefe9da9e6c584", "url": "https://translate-dev.freebsd.org/api/units/1776963/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2025-05-25T07:57:37.465207Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksporters-handbookporting-dads_index/ru/?format=api", "source": [ "The base of the \"local\" tree (for example, `/usr/local`)" ], "previous_source": "", "target": [ "Корень дерева \"local\" (например, `/usr/local`)" ], "id_hash": 664769676884871578, "content_hash": 664769676884871578, "location": "documentation/content/en/books/porters-handbook/porting-dads/_index.adoc:137", "context": "", "note": "type: Table", "flags": "no-wrap", "labels": [], "state": 20, "fuzzy": false, "translated": true, "approved": false, "position": 33, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 9, "source_unit": "https://translate-dev.freebsd.org/api/units/1372978/?format=api", "priority": 100, "id": 1776964, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksporters-handbookporting-dads_index/ru/?checksum=8939bc7fc02c899a", "url": "https://translate-dev.freebsd.org/api/units/1776964/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2025-05-25T07:57:37.465749Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksporters-handbookporting-dads_index/ru/?format=api", "source": [ "`PREFIX`" ], "previous_source": "", "target": [ "`PREFIX`" ], "id_hash": -8732096982362619254, "content_hash": -8732096982362619254, "location": "documentation/content/en/books/porters-handbook/porting-dads/_index.adoc:138", "context": "", "note": "type: Table", "flags": "no-wrap", "labels": [], "state": 20, "fuzzy": false, "translated": true, "approved": false, "position": 34, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 1, "source_unit": "https://translate-dev.freebsd.org/api/units/1372980/?format=api", "priority": 100, "id": 1776965, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksporters-handbookporting-dads_index/ru/?checksum=06d15c0f2604028a", "url": "https://translate-dev.freebsd.org/api/units/1776965/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2025-05-25T07:57:37.466292Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksporters-handbookporting-dads_index/ru/?format=api", "source": [ "Where the port installs itself (see crossref:testing[porting-prefix,more on `PREFIX`])." ], "previous_source": "", "target": [ "Куда, собственно, устанавливается порт (обратитесь к crossref:testing[porting-prefix,подробной информации о `PREFIX`])." ], "id_hash": -7969673164780172836, "content_hash": -7969673164780172836, "location": "documentation/content/en/books/porters-handbook/porting-dads/_index.adoc:139", "context": "", "note": "type: Table", "flags": "no-wrap", "labels": [], "state": 20, "fuzzy": false, "translated": true, "approved": false, "position": 35, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 9, "source_unit": "https://translate-dev.freebsd.org/api/units/1372982/?format=api", "priority": 100, "id": 1776966, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksporters-handbookporting-dads_index/ru/?checksum=1166087b555089dc", "url": "https://translate-dev.freebsd.org/api/units/1776966/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2025-05-25T07:57:37.466815Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksporters-handbookporting-dads_index/ru/?format=api", "source": [ "When `MASTERDIR` is needed, always define it before including [.filename]#bsd.port.pre.mk#." ], "previous_source": "", "target": [ "Если вы задаете переменную `MASTERDIR`, делайте это до подключения [.filename]#bsd.port.pre.mk#." ], "id_hash": -7052464480305655359, "content_hash": -7052464480305655359, "location": "documentation/content/en/books/porters-handbook/porting-dads/_index.adoc:144", "context": "", "note": "type: delimited block = 4", "flags": "", "labels": [], "state": 20, "fuzzy": false, "translated": true, "approved": false, "position": 36, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 10, "source_unit": "https://translate-dev.freebsd.org/api/units/1116974/?format=api", "priority": 100, "id": 1776967, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksporters-handbookporting-dads_index/ru/?checksum=1e209cebb45251c1", "url": "https://translate-dev.freebsd.org/api/units/1776967/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2025-05-25T07:57:37.467342Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksporters-handbookporting-dads_index/ru/?format=api", "source": [ "Here are some examples of things that can be added after [.filename]#bsd.port.pre.mk#:" ], "previous_source": "", "target": [ "Вот несколько примеров того, что вы можете написать после [.filename]#bsd.port.pre.mk#:" ], "id_hash": -8113574607320720446, "content_hash": -8113574607320720446, "location": "documentation/content/en/books/porters-handbook/porting-dads/_index.adoc:147", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 20, "fuzzy": false, "translated": true, "approved": false, "position": 37, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 12, "source_unit": "https://translate-dev.freebsd.org/api/units/1116976/?format=api", "priority": 100, "id": 1776968, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksporters-handbookporting-dads_index/ru/?checksum=0f66cae1d804dbc2", "url": "https://translate-dev.freebsd.org/api/units/1776968/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2025-05-25T07:57:37.467875Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksporters-handbookporting-dads_index/ru/?format=api", "source": [ "# no need to compile lang/perl5 if perl5 is already in system\n.if ${OSVERSION} > 300003\nBROKEN=\tperl is in system\n.endif\n" ], "previous_source": "", "target": [ "# no need to compile lang/perl5 if perl5 is already in system\n.if ${OSVERSION} > 300003\nBROKEN=\tperl is in system\n.endif\n" ], "id_hash": 5973426758454027727, "content_hash": 5973426758454027727, "location": "documentation/content/en/books/porters-handbook/porting-dads/_index.adoc:154", "context": "", "note": "type: delimited block . 4", "flags": "no-wrap", "labels": [], "state": 20, "fuzzy": false, "translated": true, "approved": false, "position": 38, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 22, "source_unit": "https://translate-dev.freebsd.org/api/units/1116978/?format=api", "priority": 100, "id": 1776969, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksporters-handbookporting-dads_index/ru/?checksum=d2e5dffcfd7725cf", "url": "https://translate-dev.freebsd.org/api/units/1776969/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2025-05-25T07:57:37.468422Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksporters-handbookporting-dads_index/ru/?format=api", "source": [ "Always use tab instead of spaces after `BROKEN=`." ], "previous_source": "", "target": [ "Вы не забываете об использовании табуляции вместо пробелов после `BROKEN=`." ], "id_hash": -1930739183955861187, "content_hash": -1930739183955861187, "location": "documentation/content/en/books/porters-handbook/porting-dads/_index.adoc:157", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 20, "fuzzy": false, "translated": true, "approved": false, "position": 39, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 8, "source_unit": "https://translate-dev.freebsd.org/api/units/1116980/?format=api", "priority": 100, "id": 1776970, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksporters-handbookporting-dads_index/ru/?checksum=6534a2f11262213d", "url": "https://translate-dev.freebsd.org/api/units/1776970/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2025-05-25T07:57:37.468964Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksporters-handbookporting-dads_index/ru/?format=api", "source": [ "Use the `exec` Statement in Wrapper Scripts" ], "previous_source": "", "target": [ "Использование выражения `exec` в сценариях обёртках" ], "id_hash": 6761538970400192101, "content_hash": 6761538970400192101, "location": "documentation/content/en/books/porters-handbook/porting-dads/_index.adoc:159", "context": "", "note": "type: Title ==", "flags": "no-wrap", "labels": [], "state": 20, "fuzzy": false, "translated": true, "approved": false, "position": 40, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 7, "source_unit": "https://translate-dev.freebsd.org/api/units/1116982/?format=api", "priority": 100, "id": 1776971, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksporters-handbookporting-dads_index/ru/?checksum=ddd5cfde91a9f665", "url": "https://translate-dev.freebsd.org/api/units/1776971/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2025-05-25T07:57:37.469502Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksporters-handbookporting-dads_index/ru/?format=api", "source": [ "If the port installs a shell script whose purpose is to launch another program, and if launching that program is the last action performed by the script, make sure to launch the program using the `exec` statement, for instance:" ], "previous_source": "", "target": [ "Если порт устанавливает сценарий на языке shell, который служит для запуска другой программы, и если запуск этой программы является последним действием сценария, убедитесь, что запуск программы производится с использованием выражения `exec`, например:" ], "id_hash": -7991087210212109805, "content_hash": -7991087210212109805, "location": "documentation/content/en/books/porters-handbook/porting-dads/_index.adoc:164", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 20, "fuzzy": false, "translated": true, "approved": false, "position": 41, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 39, "source_unit": "https://translate-dev.freebsd.org/api/units/1116984/?format=api", "priority": 100, "id": 1776972, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksporters-handbookporting-dads_index/ru/?checksum=1119f4855a23d213", "url": "https://translate-dev.freebsd.org/api/units/1776972/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2025-05-25T07:57:37.470031Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksporters-handbookporting-dads_index/ru/?format=api", "source": [ "#!/bin/sh\nexec %%LOCALBASE%%/bin/java -jar %%DATADIR%%/foo.jar \"$@\"\n" ], "previous_source": "", "target": [ "#!/bin/sh\nexec %%LOCALBASE%%/bin/java -jar %%DATADIR%%/foo.jar \"$@\"\n" ], "id_hash": -6323972126321823635, "content_hash": -6323972126321823635, "location": "documentation/content/en/books/porters-handbook/porting-dads/_index.adoc:169", "context": "", "note": "type: delimited block . 4", "flags": "no-wrap", "labels": [], "state": 20, "fuzzy": false, "translated": true, "approved": false, "position": 42, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 6, "source_unit": "https://translate-dev.freebsd.org/api/units/1116986/?format=api", "priority": 100, "id": 1776973, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksporters-handbookporting-dads_index/ru/?checksum=283cbcdb611db06d", "url": "https://translate-dev.freebsd.org/api/units/1776973/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2025-05-25T07:57:37.470586Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksporters-handbookporting-dads_index/ru/?format=api", "source": [ "The `exec` statement replaces the shell process with the specified program. If `exec` is omitted, the shell process remains in memory while the program is executing, and needlessly consumes system resources." ], "previous_source": "", "target": [ "Выражение `exec` заменяет процесс сценария на указанную программу. Если `exec` опущен, то процесс сценария во время работы программы остается в памяти, бесполезно потребляя системные ресурсы." ], "id_hash": 5689164734045775000, "content_hash": 5689164734045775000, "location": "documentation/content/en/books/porters-handbook/porting-dads/_index.adoc:174", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 20, "fuzzy": false, "translated": true, "approved": false, "position": 43, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 31, "source_unit": "https://translate-dev.freebsd.org/api/units/1238698/?format=api", "priority": 100, "id": 1776974, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksporters-handbookporting-dads_index/ru/?checksum=cef3f92ee17a6498", "url": "https://translate-dev.freebsd.org/api/units/1776974/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2025-05-25T07:57:37.471104Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksporters-handbookporting-dads_index/ru/?format=api", "source": [ "Do Things Rationally" ], "previous_source": "", "target": [ "Поступайте разумно" ], "id_hash": 7102165076837817980, "content_hash": 7102165076837817980, "location": "documentation/content/en/books/porters-handbook/porting-dads/_index.adoc:176", "context": "", "note": "type: Title ==", "flags": "no-wrap", "labels": [], "state": 20, "fuzzy": false, "translated": true, "approved": false, "position": 44, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 3, "source_unit": "https://translate-dev.freebsd.org/api/units/1116990/?format=api", "priority": 100, "id": 1776975, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksporters-handbookporting-dads_index/ru/?checksum=e28ff5822d1a5e7c", "url": "https://translate-dev.freebsd.org/api/units/1776975/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2025-05-25T07:57:37.471634Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksporters-handbookporting-dads_index/ru/?format=api", "source": [ "The [.filename]#Makefile# should do things in a simple and reasonable manner. Making it a couple of lines shorter or more readable is always better. Examples include using a make `.if` construct instead of a shell `if` construct, not redefining `do-extract` if redefining `EXTRACT*` is enough, and using `GNU_CONFIGURE` instead of `CONFIGURE_ARGS += --prefix=${PREFIX}`." ], "previous_source": "", "target": [ "Файл [.filename]#Makefile# должен выполнять действия просто и небеспричинно. Если вы можете сделать что-то на несколько строк короче или более читабельно, сделайте это. В качестве примеров можно привести использование конструкций `.if` утилиты make вместо соответствующей конструкции `if` командного процессора, ненужность переопределения цели `do-extract` при возможности переопределения `EXTRACT*` и использование `GNU_CONFIGURE` вместо `CONFIGURE_ARGS += --prefix=${PREFIX}`." ], "id_hash": -4993980640280863900, "content_hash": -4993980640280863900, "location": "documentation/content/en/books/porters-handbook/porting-dads/_index.adoc:181", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 20, "fuzzy": false, "translated": true, "approved": false, "position": 45, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 53, "source_unit": "https://translate-dev.freebsd.org/api/units/1238700/?format=api", "priority": 100, "id": 1776976, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksporters-handbookporting-dads_index/ru/?checksum=3ab1d11120e19b64", "url": "https://translate-dev.freebsd.org/api/units/1776976/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2025-05-25T07:57:37.472172Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksporters-handbookporting-dads_index/ru/?format=api", "source": [ "If a lot of new code is needed to do something, there may already be an implementation of it in [.filename]#bsd.port.mk#. While hard to read, there are a great many seemingly-hard problems for which [.filename]#bsd.port.mk# already provides a shorthand solution." ], "previous_source": "", "target": [ "Если вы обнаружите, что для выполнения чего-то приходится писать много нового кода, то, пожалуйста, просмотрите файл [.filename]#bsd.port.mk# на предмет того, не содержит ли он решение именно вашей проблемы. Хотя его трудно читать, имеется много проблем, выглядящих сложными, для которых файл [.filename]#bsd.port.mk# уже содержит быстрое решение." ], "id_hash": -8602351410192380784, "content_hash": -8602351410192380784, "location": "documentation/content/en/books/porters-handbook/porting-dads/_index.adoc:184", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 20, "fuzzy": false, "translated": true, "approved": false, "position": 46, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 40, "source_unit": "https://translate-dev.freebsd.org/api/units/1238702/?format=api", "priority": 100, "id": 1776977, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksporters-handbookporting-dads_index/ru/?checksum=089e4ef83a670c90", "url": "https://translate-dev.freebsd.org/api/units/1776977/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2025-05-25T07:57:37.472767Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksporters-handbookporting-dads_index/ru/?format=api", "source": [ "Respect Both `CC` and `CXX`" ], "previous_source": "", "target": [ "Относитесь внимательно как к `CC`, так и `CXX`" ], "id_hash": -4094258237988930601, "content_hash": -4094258237988930601, "location": "documentation/content/en/books/porters-handbook/porting-dads/_index.adoc:186", "context": "", "note": "type: Title ==", "flags": "no-wrap", "labels": [], "state": 20, "fuzzy": false, "translated": true, "approved": false, "position": 47, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 5, "source_unit": "https://translate-dev.freebsd.org/api/units/1116996/?format=api", "priority": 100, "id": 1776978, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksporters-handbookporting-dads_index/ru/?checksum=472e45d329f3fbd7", "url": "https://translate-dev.freebsd.org/api/units/1776978/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2025-05-25T07:57:37.473336Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksporters-handbookporting-dads_index/ru/?format=api", "source": [ "The port must respect both `CC` and `CXX`. What we mean by this is that the port must not set the values of these variables absolutely, overriding existing values; instead, it may append whatever values it needs to the existing values. This is so that build options that affect all ports can be set globally." ], "previous_source": "", "target": [ "Порт должен принимать во внимание как переменную `CC`, так и `CXX`. Под этим мы подразумеваем, что порт ни в коем случае не должен устанавливать значения этих переменных, переопределяя имеющиеся значения; вместо этого можно добавлять нужные значения к уже имеющимся. Это связано с тем, что параметры построения, относящиеся ко всем портам, могут быть заданы глобально." ], "id_hash": 51228248692120178, "content_hash": 51228248692120178, "location": "documentation/content/en/books/porters-handbook/porting-dads/_index.adoc:192", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 20, "fuzzy": false, "translated": true, "approved": false, "position": 48, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 55, "source_unit": "https://translate-dev.freebsd.org/api/units/1238704/?format=api", "priority": 100, "id": 1776979, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksporters-handbookporting-dads_index/ru/?checksum=80b5ffd21dc25a72", "url": "https://translate-dev.freebsd.org/api/units/1776979/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2025-05-25T07:57:37.473879Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksporters-handbookporting-dads_index/ru/?format=api", "source": [ "If the port does not respect these variables, please add `NO_PACKAGE=ignores either cc or cxx` to the [.filename]#Makefile#." ], "previous_source": "", "target": [ "Если порт не учитывает значения этих переменных, добавьте строку `NO_PACKAGE=ignores either cc or cxx` в файл [.filename]#Makefile#." ], "id_hash": 3809915748982510115, "content_hash": 3809915748982510115, "location": "documentation/content/en/books/porters-handbook/porting-dads/_index.adoc:194", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 20, "fuzzy": false, "translated": true, "approved": false, "position": 49, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 18, "source_unit": "https://translate-dev.freebsd.org/api/units/1117000/?format=api", "priority": 100, "id": 1776980, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksporters-handbookporting-dads_index/ru/?checksum=b4df8a301a44d223", "url": "https://translate-dev.freebsd.org/api/units/1776980/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2025-05-25T07:57:37.474435Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksporters-handbookporting-dads_index/ru/?format=api", "source": [ "Here is an example of a [.filename]#Makefile# respecting both `CC` and `CXX`. Note the `?=`:" ], "previous_source": "", "target": [ "Далее следует пример файла [.filename]#Makefile#, использующего как переменную `CC`, так и `CXX`. Обратите внимание на использование символов `?=`:" ], "id_hash": 4712983027660732428, "content_hash": 4712983027660732428, "location": "documentation/content/en/books/porters-handbook/porting-dads/_index.adoc:197", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 20, "fuzzy": false, "translated": true, "approved": false, "position": 50, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 15, "source_unit": "https://translate-dev.freebsd.org/api/units/1238706/?format=api", "priority": 100, "id": 1776981, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksporters-handbookporting-dads_index/ru/?checksum=c167e117dc29b80c", "url": "https://translate-dev.freebsd.org/api/units/1776981/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2025-05-25T07:57:37.474992Z" } ] }