Units
Translation components API.
See the Weblate's Web API documentation for detailed description of the API.
GET /api/translations/documentation/booksdevelopers-handbookl10n_index/fa/units/?format=api&page=2
https://translate-dev.freebsd.org/api/translations/documentation/booksdevelopers-handbookl10n_index/fa/units/?format=api", "results": [ { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksdevelopers-handbookl10n_index/fa/?format=api", "source": [ "After opening a catalog man:catgets[3] can be used to retrieve a message. The first parameter is the catalog identifier returned by man:catopen[3], the second one is the number of the set, the third one is the number of the messages, and the fourth one is a fallback message, which will be returned if the requested message cannot be retrieved from the catalog file." ], "previous_source": "", "target": [ "" ], "id_hash": -4787182018651347581, "content_hash": -4787182018651347581, "location": "documentation/content/en/books/developers-handbook/l10n/_index.adoc:139", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 27, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 63, "source_unit": "https://translate-dev.freebsd.org/api/units/1191662/?format=api", "priority": 100, "id": 1191706, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksdevelopers-handbookl10n_index/fa/?checksum=3d9083514f262583", "url": "https://translate-dev.freebsd.org/api/units/1191706/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2021-06-08T11:23:54.668294Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksdevelopers-handbookl10n_index/fa/?format=api", "source": [ "There is a good way of reducing the strings that need to be localized by using libc error messages. This is also useful to just avoid duplication and provide consistent error messages for the common errors that can be encountered by a great many of programs." ], "previous_source": "", "target": [ "روشی مناسب برای کاستن رشتههایی که نیاز به محلیسازی دارند با استفاده از پیامهای خطای <application>libc</application> وجود دارد. این همچنین برای اجتناب از تکرار مفید است و پیامهای خطای یکپارچهای را برای خطاهای رایجی که ممکن است برنامههای بسیاری با آنها مواجه شوند ارائه میدهد." ], "id_hash": -7179973150193978797, "content_hash": -7179973150193978797, "location": "documentation/content/en/books/developers-handbook/l10n/_index.adoc:206", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 10, "fuzzy": true, "translated": false, "approved": false, "position": 44, "has_suggestion": false, "has_comment": false, "has_failing_check": true, "num_words": 46, "source_unit": "https://translate-dev.freebsd.org/api/units/1191664/?format=api", "priority": 100, "id": 1191707, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksdevelopers-handbookl10n_index/fa/?checksum=1c5b9c7605d87253", "url": "https://translate-dev.freebsd.org/api/units/1191707/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2021-06-08T11:23:55.147734Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksdevelopers-handbookl10n_index/fa/?format=api", "source": [ "In this example, the custom string is eliminated, thus translators will have less work when localizing the program and users will see the usual \"Not a directory\" error message when they encounter this error. This message will probably seem more familiar to them. Please note that it was necessary to include [.filename]#errno.h# in order to directly access `errno`." ], "previous_source": "", "target": [ "در این مثال، رشتهٔ سفارشی حذف شده است، از این رو مترجمین هنگام بومیسازی برنامه کار کمتری انجام خواهند داد و کاربران پیام خطای متداول <quote>Not a directory</quote> را در مواجه با این خطا مشاهده میکنند. این پیام احتمالاً برای آنها آشناتر خواهد بود. لطفاً توجه داشته باشید برشمردن <filename>errno.h</filename> بهمنظور دسترسی مستقیم به <varname>errno</varname> لازم بود." ], "id_hash": -9188047023561411723, "content_hash": -9188047023561411723, "location": "documentation/content/en/books/developers-handbook/l10n/_index.adoc:233", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 10, "fuzzy": true, "translated": false, "approved": false, "position": 49, "has_suggestion": false, "has_comment": false, "has_failing_check": true, "num_words": 58, "source_unit": "https://translate-dev.freebsd.org/api/units/1191666/?format=api", "priority": 100, "id": 1191708, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksdevelopers-handbookl10n_index/fa/?checksum=007d7fe995097375", "url": "https://translate-dev.freebsd.org/api/units/1191708/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2021-06-08T11:23:55.259275Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksdevelopers-handbookl10n_index/fa/?format=api", "source": [ "Using the catalog files requires few repeatable steps, such as compiling the catalogs and installing them to the proper location. In order to simplify this process even more, [.filename]#bsd.nls.mk# introduces some macros. It is not necessary to include [.filename]#bsd.nls.mk# explicitly, it is pulled in from the common Makefiles, such as [.filename]#bsd.prog.mk# or [.filename]#bsd.lib.mk#." ], "previous_source": "", "target": [ "استفاده از پروندههای فهرست مستلزم چند قدم تکراری است، مانند همگردانی فهرستها و نصب آنها در مکان مناسب. برای آنکه این فرآیند سادهتر شود، <filename>bsd.nls.mk</filename> تعدادی ماکرو را معرفی میکند. برشمردن <filename>bsd.nls.mk</filename> بهطور صریح ضرورتی ندارد، زیرا از Makefiles های رایج برداشته میشود، مانند <filename>bsd.prog.mk</filename> یا <filename>bsd.lib.mk</filename>." ], "id_hash": -4753347688577151107, "content_hash": -4753347688577151107, "location": "documentation/content/en/books/developers-handbook/l10n/_index.adoc:250", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 10, "fuzzy": true, "translated": false, "approved": false, "position": 53, "has_suggestion": false, "has_comment": false, "has_failing_check": true, "num_words": 53, "source_unit": "https://translate-dev.freebsd.org/api/units/1191668/?format=api", "priority": 100, "id": 1191709, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksdevelopers-handbookl10n_index/fa/?checksum=3e08b776286f4f7d", "url": "https://translate-dev.freebsd.org/api/units/1191709/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2021-06-08T11:23:55.449359Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksdevelopers-handbookl10n_index/fa/?format=api", "source": [ "Usually it is enough to define `NLSNAME`, which should have the catalog name mentioned as the first argument of man:catopen[3] and list the catalog files in `NLS` without their `.msg` extension. Here is an example, which makes it possible to to disable NLS when used with the code examples before. The `WITHOUT_NLS` man:make[1] variable has to be defined in order to build the program without NLS support." ], "previous_source": "", "target": [ "" ], "id_hash": -6182045384794604573, "content_hash": -6182045384794604573, "location": "documentation/content/en/books/developers-handbook/l10n/_index.adoc:254", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 54, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 67, "source_unit": "https://translate-dev.freebsd.org/api/units/1191670/?format=api", "priority": 100, "id": 1191710, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksdevelopers-handbookl10n_index/fa/?checksum=2a34f679f5f97be3", "url": "https://translate-dev.freebsd.org/api/units/1191710/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2021-06-08T11:23:55.457321Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksdevelopers-handbookl10n_index/fa/?format=api", "source": [ "Conventionally, the catalog files are placed under the [.filename]#nls# subdirectory and this is the default behavior of [.filename]#bsd.nls.mk#. It is possible, though to override the location of the catalogs with the `NLSSRCDIR` man:make[1] variable. The default name of the precompiled catalog files also follow the naming convention mentioned before. It can be overridden by setting the `NLSNAME` variable. There are other options to fine tune the processing of the catalog files but usually it is not needed, thus they are not described here. For further information on [.filename]#bsd.nls.mk#, please refer to the file itself, it is short and easy to understand." ], "previous_source": "", "target": [ "" ], "id_hash": 3953282806054382204, "content_hash": 3953282806054382204, "location": "documentation/content/en/books/developers-handbook/l10n/_index.adoc:271", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 56, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 101, "source_unit": "https://translate-dev.freebsd.org/api/units/1191672/?format=api", "priority": 100, "id": 1191711, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksdevelopers-handbookl10n_index/fa/?checksum=b6dce1c44787ea7c", "url": "https://translate-dev.freebsd.org/api/units/1191711/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2021-06-08T11:23:55.553952Z" } ] }{ "count": 56, "next": null, "previous": "