Units
Translation components API.
See the Weblate's Web API documentation for detailed description of the API.
GET /api/translations/freebsd-doc/boooks_developers-handbook/fa/units/?format=api&page=40
https://translate-dev.freebsd.org/api/translations/freebsd-doc/boooks_developers-handbook/fa/units/?format=api&page=41", "previous": "https://translate-dev.freebsd.org/api/translations/freebsd-doc/boooks_developers-handbook/fa/units/?format=api&page=39", "results": [ { "translation": "https://translate-dev.freebsd.org/api/translations/freebsd-doc/boooks_developers-handbook/fa/?format=api", "source": [ "<userinput>100, 150, 210</userinput>" ], "previous_source": "", "target": [ "<userinput>100, 150, 210</userinput>" ], "id_hash": 7861345925842866050, "content_hash": 7861345925842866050, "location": "book.translate.xml:12983", "context": "", "note": "(itstool) path: sect3/screen", "flags": "no-wrap", "labels": [], "state": 20, "fuzzy": false, "translated": true, "approved": false, "position": 2027, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 3, "source_unit": "https://translate-dev.freebsd.org/api/units/107558/?format=api", "priority": 100, "id": 189980, "web_url": "https://translate-dev.freebsd.org/translate/freebsd-doc/boooks_developers-handbook/fa/?checksum=ed191c77e6540f82", "url": "https://translate-dev.freebsd.org/api/units/189980/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2020-07-06T12:25:44.197146Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/freebsd-doc/boooks_developers-handbook/fa/?format=api", "source": [ "Our program needs to consider more than a single byte of input at a time. When it sees the first <constant>1</constant>, it must understand it is seeing the first digit of a decimal number. When it sees the <constant>0</constant> and the other <constant>0</constant>, it must know it is seeing more digits of the same number." ], "previous_source": "", "target": [ "" ], "id_hash": -815457769357825957, "content_hash": -815457769357825957, "location": "book.translate.xml:12985", "context": "", "note": "(itstool) path: sect3/para", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 2028, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 55, "source_unit": "https://translate-dev.freebsd.org/api/units/107559/?format=api", "priority": 100, "id": 189981, "web_url": "https://translate-dev.freebsd.org/translate/freebsd-doc/boooks_developers-handbook/fa/?checksum=74aee97ab018285b", "url": "https://translate-dev.freebsd.org/api/units/189981/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2020-07-06T12:25:44.205767Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/freebsd-doc/boooks_developers-handbook/fa/?format=api", "source": [ "When it encounters the first comma, it must know it is no longer receiving the digits of the first number. It must be able to convert the digits of the first number into the value of <constant>100</constant>. And the digits of the second number into the value of <constant>150</constant>. And, of course, the digits of the third number into the numeric value of <constant>210</constant>." ], "previous_source": "", "target": [ "" ], "id_hash": 91820007585503683, "content_hash": 91820007585503683, "location": "book.translate.xml:12993", "context": "", "note": "(itstool) path: sect3/para", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 2029, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 64, "source_unit": "https://translate-dev.freebsd.org/api/units/107560/?format=api", "priority": 100, "id": 189982, "web_url": "https://translate-dev.freebsd.org/translate/freebsd-doc/boooks_developers-handbook/fa/?checksum=814635cf776859c3", "url": "https://translate-dev.freebsd.org/api/units/189982/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2020-07-06T12:25:44.219561Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/freebsd-doc/boooks_developers-handbook/fa/?format=api", "source": [ "We need to decide what delimiters to accept: Do the input numbers have to be separated by a comma? If so, how do we treat two numbers separated by something else?" ], "previous_source": "", "target": [ "" ], "id_hash": 4968673543989884134, "content_hash": 4968673543989884134, "location": "book.translate.xml:13002", "context": "", "note": "(itstool) path: sect3/para", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 2030, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 31, "source_unit": "https://translate-dev.freebsd.org/api/units/107561/?format=api", "priority": 100, "id": 189983, "web_url": "https://translate-dev.freebsd.org/translate/freebsd-doc/boooks_developers-handbook/fa/?checksum=c4f446435a65f4e6", "url": "https://translate-dev.freebsd.org/api/units/189983/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2020-07-06T12:25:44.231251Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/freebsd-doc/boooks_developers-handbook/fa/?format=api", "source": [ "Personally, I like to keep it simple. Something either is a number, so I process it. Or it is not a number, so I discard it. I do not like the computer complaining about me typing in an extra character when it is <emphasis>obvious</emphasis> that it is an extra character. Duh!" ], "previous_source": "", "target": [ "" ], "id_hash": 2431012452000960208, "content_hash": 2431012452000960208, "location": "book.translate.xml:13007", "context": "", "note": "(itstool) path: sect3/para", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 2031, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 51, "source_unit": "https://translate-dev.freebsd.org/api/units/107562/?format=api", "priority": 100, "id": 189984, "web_url": "https://translate-dev.freebsd.org/translate/freebsd-doc/boooks_developers-handbook/fa/?checksum=a1bcb0f1ee118ed0", "url": "https://translate-dev.freebsd.org/api/units/189984/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2020-07-06T12:25:44.239857Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/freebsd-doc/boooks_developers-handbook/fa/?format=api", "source": [ "Plus, it allows me to break up the monotony of computing and type in a query instead of just a number:" ], "previous_source": "", "target": [ "" ], "id_hash": -2350021514026324518, "content_hash": -2350021514026324518, "location": "book.translate.xml:13014", "context": "", "note": "(itstool) path: sect3/para", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 2032, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 21, "source_unit": "https://translate-dev.freebsd.org/api/units/107563/?format=api", "priority": 100, "id": 189985, "web_url": "https://translate-dev.freebsd.org/translate/freebsd-doc/boooks_developers-handbook/fa/?checksum=5f630be249ef6dda", "url": "https://translate-dev.freebsd.org/api/units/189985/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2020-07-06T12:25:44.250292Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/freebsd-doc/boooks_developers-handbook/fa/?format=api", "source": [ "<userinput>What is the best pinhole diameter for the\n\t focal length of 150?</userinput>" ], "previous_source": "", "target": [ "<userinput>What is the best pinhole diameter for the\n\t focal length of 150?</userinput>" ], "id_hash": -9215921858638288051, "content_hash": -9215921858638288051, "location": "book.translate.xml:13018", "context": "", "note": "(itstool) path: sect3/screen", "flags": "no-wrap", "labels": [], "state": 20, "fuzzy": false, "translated": true, "approved": false, "position": 2033, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 12, "source_unit": "https://translate-dev.freebsd.org/api/units/92251/?format=api", "priority": 100, "id": 189986, "web_url": "https://translate-dev.freebsd.org/translate/freebsd-doc/boooks_developers-handbook/fa/?checksum=001a77e5ca1b6b4d", "url": "https://translate-dev.freebsd.org/api/units/189986/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2020-07-06T12:25:44.262719Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/freebsd-doc/boooks_developers-handbook/fa/?format=api", "source": [ "There is no reason for the computer to spit out a number of complaints:" ], "previous_source": "", "target": [ "هیچ دلیلی برای شکایت کردن رایانه وجود ندارد:" ], "id_hash": -8406641435828823674, "content_hash": -8406641435828823674, "location": "book.translate.xml:13021", "context": "", "note": "(itstool) path: sect3/para", "flags": "", "labels": [], "state": 20, "fuzzy": false, "translated": true, "approved": false, "position": 2034, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 14, "source_unit": "https://translate-dev.freebsd.org/api/units/107564/?format=api", "priority": 100, "id": 189987, "web_url": "https://translate-dev.freebsd.org/translate/freebsd-doc/boooks_developers-handbook/fa/?checksum=0b559c278757d986", "url": "https://translate-dev.freebsd.org/api/units/189987/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2020-07-06T12:25:44.275722Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/freebsd-doc/boooks_developers-handbook/fa/?format=api", "source": [ "Syntax error: What\nSyntax error: is\nSyntax error: the\nSyntax error: best" ], "previous_source": "", "target": [ "Syntax error: What\nSyntax error: is\nSyntax error: the\nSyntax error: best" ], "id_hash": 1987641456147037226, "content_hash": 1987641456147037226, "location": "book.translate.xml:13024", "context": "", "note": "(itstool) path: sect3/screen", "flags": "no-wrap", "labels": [], "state": 20, "fuzzy": false, "translated": true, "approved": false, "position": 2035, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 12, "source_unit": "https://translate-dev.freebsd.org/api/units/107565/?format=api", "priority": 100, "id": 189988, "web_url": "https://translate-dev.freebsd.org/translate/freebsd-doc/boooks_developers-handbook/fa/?checksum=9b95855f967bfc2a", "url": "https://translate-dev.freebsd.org/api/units/189988/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2020-07-06T12:25:44.284006Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/freebsd-doc/boooks_developers-handbook/fa/?format=api", "source": [ "Et cetera, et cetera, et cetera." ], "previous_source": "", "target": [ "و غیره، و غیره، و غیره." ], "id_hash": 8047886170755799747, "content_hash": 8047886170755799747, "location": "book.translate.xml:13029", "context": "", "note": "(itstool) path: sect3/para", "flags": "", "labels": [], "state": 20, "fuzzy": false, "translated": true, "approved": false, "position": 2036, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 6, "source_unit": "https://translate-dev.freebsd.org/api/units/107566/?format=api", "priority": 100, "id": 189989, "web_url": "https://translate-dev.freebsd.org/translate/freebsd-doc/boooks_developers-handbook/fa/?checksum=efafd5d530ad9ac3", "url": "https://translate-dev.freebsd.org/api/units/189989/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2020-07-06T12:25:44.292965Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/freebsd-doc/boooks_developers-handbook/fa/?format=api", "source": [ "Secondly, I like the <constant>#</constant> character to denote the start of a comment which extends to the end of the line. This does not take too much effort to code, and lets me treat input files for my software as executable scripts." ], "previous_source": "", "target": [ "" ], "id_hash": -5400177540011433321, "content_hash": -5400177540011433321, "location": "book.translate.xml:13031", "context": "", "note": "(itstool) path: sect3/para", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 2037, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 42, "source_unit": "https://translate-dev.freebsd.org/api/units/107567/?format=api", "priority": 100, "id": 189990, "web_url": "https://translate-dev.freebsd.org/translate/freebsd-doc/boooks_developers-handbook/fa/?checksum=350eb72383936297", "url": "https://translate-dev.freebsd.org/api/units/189990/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2020-07-06T12:25:44.302120Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/freebsd-doc/boooks_developers-handbook/fa/?format=api", "source": [ "In our case, we also need to decide what units the input should come in: We choose <emphasis>millimeters</emphasis> because that is how most photographers measure the focus length." ], "previous_source": "", "target": [ "" ], "id_hash": -1390760468373467273, "content_hash": -1390760468373467273, "location": "book.translate.xml:13037", "context": "", "note": "(itstool) path: sect3/para", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 2038, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 28, "source_unit": "https://translate-dev.freebsd.org/api/units/107568/?format=api", "priority": 100, "id": 189991, "web_url": "https://translate-dev.freebsd.org/translate/freebsd-doc/boooks_developers-handbook/fa/?checksum=6cb306b8faf18f77", "url": "https://translate-dev.freebsd.org/api/units/189991/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2020-07-06T12:25:44.310433Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/freebsd-doc/boooks_developers-handbook/fa/?format=api", "source": [ "Finally, we need to decide whether to allow the use of the decimal point (in which case we must also consider the fact that much of the world uses a decimal <emphasis>comma</emphasis>)." ], "previous_source": "", "target": [ "" ], "id_hash": 2697064128817751446, "content_hash": 2697064128817751446, "location": "book.translate.xml:13042", "context": "", "note": "(itstool) path: sect3/para", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 2039, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 32, "source_unit": "https://translate-dev.freebsd.org/api/units/107569/?format=api", "priority": 100, "id": 189992, "web_url": "https://translate-dev.freebsd.org/translate/freebsd-doc/boooks_developers-handbook/fa/?checksum=a56de58916a16596", "url": "https://translate-dev.freebsd.org/api/units/189992/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2020-07-06T12:25:44.318832Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/freebsd-doc/boooks_developers-handbook/fa/?format=api", "source": [ "In our case allowing for the decimal point/comma would offer a false sense of precision: There is little if any noticeable difference between the focus lengths of <constant>50</constant> and <constant>51</constant>, so allowing the user to input something like <constant>50.5</constant> is not a good idea. This is my opinion, mind you, but I am the one writing this program. You can make other choices in yours, of course." ], "previous_source": "", "target": [ "" ], "id_hash": -99446857109285491, "content_hash": -99446857109285491, "location": "book.translate.xml:13047", "context": "", "note": "(itstool) path: sect3/para", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 2040, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 67, "source_unit": "https://translate-dev.freebsd.org/api/units/107570/?format=api", "priority": 100, "id": 189993, "web_url": "https://translate-dev.freebsd.org/translate/freebsd-doc/boooks_developers-handbook/fa/?checksum=7e9eb19c3ff8d58d", "url": "https://translate-dev.freebsd.org/api/units/189993/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2020-07-06T12:25:44.327402Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/freebsd-doc/boooks_developers-handbook/fa/?format=api", "source": [ "Offering Options" ], "previous_source": "", "target": [ "گزینههای پیشنهادی" ], "id_hash": 915481556803574536, "content_hash": 915481556803574536, "location": "book.translate.xml:13059", "context": "", "note": "(itstool) path: sect3/title", "flags": "", "labels": [], "state": 20, "fuzzy": false, "translated": true, "approved": false, "position": 2041, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 2, "source_unit": "https://translate-dev.freebsd.org/api/units/107571/?format=api", "priority": 100, "id": 189994, "web_url": "https://translate-dev.freebsd.org/translate/freebsd-doc/boooks_developers-handbook/fa/?checksum=8cb471a01fb2db08", "url": "https://translate-dev.freebsd.org/api/units/189994/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2020-07-06T12:25:44.335370Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/freebsd-doc/boooks_developers-handbook/fa/?format=api", "source": [ "The most important thing we need to know when building a pinhole camera is the diameter of the pinhole. Since we want to shoot sharp images, we will use the above formula to calculate the pinhole diameter from focal length. As experts are offering several different values for the <constant>PC</constant> constant, we will need to have the choice." ], "previous_source": "", "target": [ "" ], "id_hash": 3090895486544510200, "content_hash": 3090895486544510200, "location": "book.translate.xml:13061", "context": "", "note": "(itstool) path: sect3/para", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 2042, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 58, "source_unit": "https://translate-dev.freebsd.org/api/units/107572/?format=api", "priority": 100, "id": 189995, "web_url": "https://translate-dev.freebsd.org/translate/freebsd-doc/boooks_developers-handbook/fa/?checksum=aae511119957fcf8", "url": "https://translate-dev.freebsd.org/api/units/189995/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2020-07-06T12:25:44.343863Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/freebsd-doc/boooks_developers-handbook/fa/?format=api", "source": [ "It is traditional in <trademark class=\"registered\">UNIX</trademark> programming to have two main ways of choosing program parameters, plus to have a default for the time the user does not make a choice." ], "previous_source": "", "target": [ "" ], "id_hash": -7837686142821193846, "content_hash": -7837686142821193846, "location": "book.translate.xml:13069", "context": "", "note": "(itstool) path: sect3/para", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 2043, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 31, "source_unit": "https://translate-dev.freebsd.org/api/units/107573/?format=api", "priority": 100, "id": 189996, "web_url": "https://translate-dev.freebsd.org/translate/freebsd-doc/boooks_developers-handbook/fa/?checksum=133af1fa9c24278a", "url": "https://translate-dev.freebsd.org/api/units/189996/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2020-07-06T12:25:44.351839Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/freebsd-doc/boooks_developers-handbook/fa/?format=api", "source": [ "Why have two ways of choosing?" ], "previous_source": "", "target": [ "چرا دو روش برای انتخاب داریم؟" ], "id_hash": -5567082947383958291, "content_hash": -5567082947383958291, "location": "book.translate.xml:13074", "context": "", "note": "(itstool) path: sect3/para", "flags": "", "labels": [], "state": 20, "fuzzy": false, "translated": true, "approved": false, "position": 2044, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 6, "source_unit": "https://translate-dev.freebsd.org/api/units/107574/?format=api", "priority": 100, "id": 189997, "web_url": "https://translate-dev.freebsd.org/translate/freebsd-doc/boooks_developers-handbook/fa/?checksum=32bdbf8e160b64ed", "url": "https://translate-dev.freebsd.org/api/units/189997/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2020-07-06T12:25:44.361961Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/freebsd-doc/boooks_developers-handbook/fa/?format=api", "source": [ "One is to allow a (relatively) <emphasis>permanent</emphasis> choice that applies automatically each time the software is run without us having to tell it over and over what we want it to do." ], "previous_source": "", "target": [ "" ], "id_hash": 2854670458682197086, "content_hash": 2854670458682197086, "location": "book.translate.xml:13076", "context": "", "note": "(itstool) path: sect3/para", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 2045, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 32, "source_unit": "https://translate-dev.freebsd.org/api/units/107575/?format=api", "priority": 100, "id": 189998, "web_url": "https://translate-dev.freebsd.org/translate/freebsd-doc/boooks_developers-handbook/fa/?checksum=a79dd3a8508dc45e", "url": "https://translate-dev.freebsd.org/api/units/189998/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2020-07-06T12:25:44.369920Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/freebsd-doc/boooks_developers-handbook/fa/?format=api", "source": [ "The permanent choices may be stored in a configuration file, typically found in the user's home directory. The file usually has the same name as the application but is started with a dot. Often <emphasis>\"rc\"</emphasis> is added to the file name. So, ours could be <filename>~/.pinhole</filename> or <filename>~/.pinholerc</filename>. (The <filename>~/</filename> means current user's home directory.)" ], "previous_source": "", "target": [ "" ], "id_hash": -3946260300982894643, "content_hash": -3946260300982894643, "location": "book.translate.xml:13082", "context": "", "note": "(itstool) path: sect3/para", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 2046, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 55, "source_unit": "https://translate-dev.freebsd.org/api/units/107576/?format=api", "priority": 100, "id": 189999, "web_url": "https://translate-dev.freebsd.org/translate/freebsd-doc/boooks_developers-handbook/fa/?checksum=493c112a18b03fcd", "url": "https://translate-dev.freebsd.org/api/units/189999/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2020-07-06T12:25:44.379678Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/freebsd-doc/boooks_developers-handbook/fa/?format=api", "source": [ "The configuration file is used mostly by programs that have many configurable parameters. Those that have only one (or a few) often use a different method: They expect to find the parameter in an <emphasis>environment variable</emphasis>. In our case, we might look at an environment variable named <varname>PINHOLE</varname>." ], "previous_source": "", "target": [ "" ], "id_hash": 729255629703585175, "content_hash": 729255629703585175, "location": "book.translate.xml:13092", "context": "", "note": "(itstool) path: sect3/para", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 2047, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 48, "source_unit": "https://translate-dev.freebsd.org/api/units/107577/?format=api", "priority": 100, "id": 190000, "web_url": "https://translate-dev.freebsd.org/translate/freebsd-doc/boooks_developers-handbook/fa/?checksum=8a1ed621a6ef9d97", "url": "https://translate-dev.freebsd.org/api/units/190000/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2020-07-06T12:25:44.389001Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/freebsd-doc/boooks_developers-handbook/fa/?format=api", "source": [ "Usually, a program uses one or the other of the above methods. Otherwise, if a configuration file said one thing, but an environment variable another, the program might get confused (or just too complicated)." ], "previous_source": "", "target": [ "" ], "id_hash": 2576931620684895732, "content_hash": 2576931620684895732, "location": "book.translate.xml:13100", "context": "", "note": "(itstool) path: sect3/para", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 2048, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 34, "source_unit": "https://translate-dev.freebsd.org/api/units/107578/?format=api", "priority": 100, "id": 190001, "web_url": "https://translate-dev.freebsd.org/translate/freebsd-doc/boooks_developers-handbook/fa/?checksum=a3c319a7e56515f4", "url": "https://translate-dev.freebsd.org/api/units/190001/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2020-07-06T12:25:44.398280Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/freebsd-doc/boooks_developers-handbook/fa/?format=api", "source": [ "Because we only need to choose <emphasis>one</emphasis> such parameter, we will go with the second method and search the environment for a variable named <varname>PINHOLE</varname>." ], "previous_source": "", "target": [ "" ], "id_hash": -1195926735144490011, "content_hash": -1195926735144490011, "location": "book.translate.xml:13105", "context": "", "note": "(itstool) path: sect3/para", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 2049, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 25, "source_unit": "https://translate-dev.freebsd.org/api/units/107579/?format=api", "priority": 100, "id": 190002, "web_url": "https://translate-dev.freebsd.org/translate/freebsd-doc/boooks_developers-handbook/fa/?checksum=6f6736f87e51ebe5", "url": "https://translate-dev.freebsd.org/api/units/190002/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2020-07-06T12:25:44.406900Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/freebsd-doc/boooks_developers-handbook/fa/?format=api", "source": [ "The other way allows us to make <emphasis>ad hoc</emphasis> decisions: <emphasis>\"Though I usually want you to use 0.039, this time I want 0.03872.\"</emphasis> In other words, it allows us to <emphasis>override</emphasis> the permanent choice." ], "previous_source": "", "target": [ "" ], "id_hash": -1508535514726178723, "content_hash": -1508535514726178723, "location": "book.translate.xml:13110", "context": "", "note": "(itstool) path: sect3/para", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 2050, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 34, "source_unit": "https://translate-dev.freebsd.org/api/units/107580/?format=api", "priority": 100, "id": 190003, "web_url": "https://translate-dev.freebsd.org/translate/freebsd-doc/boooks_developers-handbook/fa/?checksum=6b109af121af605d", "url": "https://translate-dev.freebsd.org/api/units/190003/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2020-07-06T12:25:44.415479Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/freebsd-doc/boooks_developers-handbook/fa/?format=api", "source": [ "This type of choice is usually done with command line parameters." ], "previous_source": "", "target": [ "این نوع انتخاب معمولاً توسط پارامترهای خط فرمان صورت میگیرد." ], "id_hash": 6123899881517778937, "content_hash": 6123899881517778937, "location": "book.translate.xml:13116", "context": "", "note": "(itstool) path: sect3/para", "flags": "", "labels": [], "state": 20, "fuzzy": false, "translated": true, "approved": false, "position": 2051, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 11, "source_unit": "https://translate-dev.freebsd.org/api/units/107581/?format=api", "priority": 100, "id": 190004, "web_url": "https://translate-dev.freebsd.org/translate/freebsd-doc/boooks_developers-handbook/fa/?checksum=d4fc767f15ec87f9", "url": "https://translate-dev.freebsd.org/api/units/190004/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2020-07-06T12:25:44.424267Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/freebsd-doc/boooks_developers-handbook/fa/?format=api", "source": [ "Finally, a program <emphasis>always</emphasis> needs a <emphasis>default</emphasis>. The user may not make any choices. Perhaps he does not know what to choose. Perhaps he is \"just browsing.\" Preferably, the default will be the value most users would choose anyway. That way they do not need to choose. Or, rather, they can choose the default without an additional effort." ], "previous_source": "", "target": [ "" ], "id_hash": 8517013598019138764, "content_hash": 8517013598019138764, "location": "book.translate.xml:13119", "context": "", "note": "(itstool) path: sect3/para", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 2052, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 58, "source_unit": "https://translate-dev.freebsd.org/api/units/107582/?format=api", "priority": 100, "id": 190005, "web_url": "https://translate-dev.freebsd.org/translate/freebsd-doc/boooks_developers-handbook/fa/?checksum=f63282be091a34cc", "url": "https://translate-dev.freebsd.org/api/units/190005/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2020-07-06T12:25:44.433316Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/freebsd-doc/boooks_developers-handbook/fa/?format=api", "source": [ "Given this system, the program may find conflicting options, and handle them this way:" ], "previous_source": "", "target": [ "با توجه به این سامانه، برنامه ممکن است گزینههایی متعارض پیدا کند، و بدین شکل به آنها رسیدگی کند:" ], "id_hash": 6071798312688632472, "content_hash": 6071798312688632472, "location": "book.translate.xml:13127", "context": "", "note": "(itstool) path: sect3/para", "flags": "", "labels": [], "state": 20, "fuzzy": false, "translated": true, "approved": false, "position": 2053, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 14, "source_unit": "https://translate-dev.freebsd.org/api/units/107583/?format=api", "priority": 100, "id": 190006, "web_url": "https://translate-dev.freebsd.org/translate/freebsd-doc/boooks_developers-handbook/fa/?checksum=d4435c65479f4298", "url": "https://translate-dev.freebsd.org/api/units/190006/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2020-07-06T12:25:44.442126Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/freebsd-doc/boooks_developers-handbook/fa/?format=api", "source": [ "If it finds an <emphasis>ad hoc</emphasis> choice (e.g., command line parameter), it should accept that choice. It must ignore any permanent choice and any default." ], "previous_source": "", "target": [ "" ], "id_hash": -3557264407957546848, "content_hash": -3557264407957546848, "location": "book.translate.xml:13132", "context": "", "note": "(itstool) path: step/para", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 2054, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 25, "source_unit": "https://translate-dev.freebsd.org/api/units/107584/?format=api", "priority": 100, "id": 190007, "web_url": "https://translate-dev.freebsd.org/translate/freebsd-doc/boooks_developers-handbook/fa/?checksum=4ea20ede3f8cd8a0", "url": "https://translate-dev.freebsd.org/api/units/190007/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2020-07-06T12:25:44.450841Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/freebsd-doc/boooks_developers-handbook/fa/?format=api", "source": [ "<emphasis>Otherwise</emphasis>, if it finds a permanent option (e.g., an environment variable), it should accept it, and ignore the default." ], "previous_source": "", "target": [ "" ], "id_hash": 7682147855870054708, "content_hash": 7682147855870054708, "location": "book.translate.xml:13139", "context": "", "note": "(itstool) path: step/para", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 2055, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 19, "source_unit": "https://translate-dev.freebsd.org/api/units/107585/?format=api", "priority": 100, "id": 190008, "web_url": "https://translate-dev.freebsd.org/translate/freebsd-doc/boooks_developers-handbook/fa/?checksum=ea9c78c5ed29d134", "url": "https://translate-dev.freebsd.org/api/units/190008/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2020-07-06T12:25:44.459605Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/freebsd-doc/boooks_developers-handbook/fa/?format=api", "source": [ "<emphasis>Otherwise</emphasis>, it should use the default." ], "previous_source": "", "target": [ "<emphasis>در غیر اینصورت</emphasis>، باید از حالت پیشفرض استفاده کند." ], "id_hash": -1565045306058187238, "content_hash": -1565045306058187238, "location": "book.translate.xml:13145", "context": "", "note": "(itstool) path: step/para", "flags": "", "labels": [], "state": 20, "fuzzy": false, "translated": true, "approved": false, "position": 2056, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 6, "source_unit": "https://translate-dev.freebsd.org/api/units/107586/?format=api", "priority": 100, "id": 190009, "web_url": "https://translate-dev.freebsd.org/translate/freebsd-doc/boooks_developers-handbook/fa/?checksum=6a47d7960b025e1a", "url": "https://translate-dev.freebsd.org/api/units/190009/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2020-07-06T12:25:44.468613Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/freebsd-doc/boooks_developers-handbook/fa/?format=api", "source": [ "We also need to decide what <emphasis>format</emphasis> our <constant>PC</constant> option should have." ], "previous_source": "", "target": [ "همچنین لازم است <emphasis>قالبی</emphasis> که گزینهٔ <constant>PC</constant> ما باید دارا باشد را انتخاب کنیم." ], "id_hash": 1983320526726601276, "content_hash": 1983320526726601276, "location": "book.translate.xml:13150", "context": "", "note": "(itstool) path: sect3/para", "flags": "", "labels": [], "state": 20, "fuzzy": false, "translated": true, "approved": false, "position": 2057, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 12, "source_unit": "https://translate-dev.freebsd.org/api/units/107587/?format=api", "priority": 100, "id": 190010, "web_url": "https://translate-dev.freebsd.org/translate/freebsd-doc/boooks_developers-handbook/fa/?checksum=9b862b82cf479a3c", "url": "https://translate-dev.freebsd.org/api/units/190010/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2020-07-06T12:25:44.477498Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/freebsd-doc/boooks_developers-handbook/fa/?format=api", "source": [ "At first site, it seems obvious to use the <varname>PINHOLE=0.04</varname> format for the environment variable, and <parameter>-p0.04</parameter> for the command line." ], "previous_source": "", "target": [ "در ابتدا، بهنظر استفاده از قالب <varname>PINHOLE=0.04</varname> برای متغیر محلی امری بدیهیست، و همچنین <parameter>-p0.04</parameter> برای خط فرمان." ], "id_hash": -3616749620517990021, "content_hash": -3616749620517990021, "location": "book.translate.xml:13154", "context": "", "note": "(itstool) path: sect3/para", "flags": "", "labels": [], "state": 20, "fuzzy": false, "translated": true, "approved": false, "position": 2058, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 21, "source_unit": "https://translate-dev.freebsd.org/api/units/107588/?format=api", "priority": 100, "id": 190011, "web_url": "https://translate-dev.freebsd.org/translate/freebsd-doc/boooks_developers-handbook/fa/?checksum=4dceb961eb7f117b", "url": "https://translate-dev.freebsd.org/api/units/190011/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2020-07-06T12:25:44.485983Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/freebsd-doc/boooks_developers-handbook/fa/?format=api", "source": [ "Allowing that is actually a security risk. The <constant>PC</constant> constant is a very small number. Naturally, we will test our software using various small values of <constant>PC</constant>. But what will happen if someone runs the program choosing a huge value?" ], "previous_source": "", "target": [ "" ], "id_hash": 4774097367924487823, "content_hash": 4774097367924487823, "location": "book.translate.xml:13159", "context": "", "note": "(itstool) path: sect3/para", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 2059, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 40, "source_unit": "https://translate-dev.freebsd.org/api/units/107589/?format=api", "priority": 100, "id": 190012, "web_url": "https://translate-dev.freebsd.org/translate/freebsd-doc/boooks_developers-handbook/fa/?checksum=c24100430a44368f", "url": "https://translate-dev.freebsd.org/api/units/190012/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2020-07-06T12:25:44.494689Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/freebsd-doc/boooks_developers-handbook/fa/?format=api", "source": [ "It may crash the program because we have not designed it to handle huge numbers." ], "previous_source": "", "target": [ "ممکن است برنامه را خراب کند زیرا آن را به گونهای طراحی نکردهایم تا اعداد بزرگ را ساماندهی کند." ], "id_hash": 5379629320089398705, "content_hash": 5379629320089398705, "location": "book.translate.xml:13165", "context": "", "note": "(itstool) path: sect3/para", "flags": "", "labels": [], "state": 20, "fuzzy": false, "translated": true, "approved": false, "position": 2060, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 15, "source_unit": "https://translate-dev.freebsd.org/api/units/107590/?format=api", "priority": 100, "id": 190013, "web_url": "https://translate-dev.freebsd.org/translate/freebsd-doc/boooks_developers-handbook/fa/?checksum=caa8485d37346db1", "url": "https://translate-dev.freebsd.org/api/units/190013/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2020-07-06T12:25:44.503988Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/freebsd-doc/boooks_developers-handbook/fa/?format=api", "source": [ "Or, we may spend more time on the program so it can handle huge numbers. We might do that if we were writing commercial software for computer illiterate audience." ], "previous_source": "", "target": [ "" ], "id_hash": 868508002957868533, "content_hash": 868508002957868533, "location": "book.translate.xml:13168", "context": "", "note": "(itstool) path: sect3/para", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 2061, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 29, "source_unit": "https://translate-dev.freebsd.org/api/units/107591/?format=api", "priority": 100, "id": 190014, "web_url": "https://translate-dev.freebsd.org/translate/freebsd-doc/boooks_developers-handbook/fa/?checksum=8c0d8f6d58e33df5", "url": "https://translate-dev.freebsd.org/api/units/190014/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2020-07-06T12:25:44.514593Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/freebsd-doc/boooks_developers-handbook/fa/?format=api", "source": [ "Or, we might say, <emphasis>\"Tough! The user should know better.\"\"</emphasis>" ], "previous_source": "", "target": [ "یا ممکن است بگوییم، <emphasis>\"سخت است! کاربر باید بهتر بداند.\"</emphasis>" ], "id_hash": -3927354464545753283, "content_hash": -3927354464545753283, "location": "book.translate.xml:13173", "context": "", "note": "(itstool) path: sect3/para", "flags": "", "labels": [], "state": 20, "fuzzy": false, "translated": true, "approved": false, "position": 2062, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 10, "source_unit": "https://translate-dev.freebsd.org/api/units/107592/?format=api", "priority": 100, "id": 190015, "web_url": "https://translate-dev.freebsd.org/translate/freebsd-doc/boooks_developers-handbook/fa/?checksum=497f3bec29b4b73d", "url": "https://translate-dev.freebsd.org/api/units/190015/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2020-07-06T12:25:44.524600Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/freebsd-doc/boooks_developers-handbook/fa/?format=api", "source": [ "Or, we just may make it impossible for the user to enter a huge number. This is the approach we will take: We will use an <emphasis>implied 0.</emphasis> prefix." ], "previous_source": "", "target": [ "" ], "id_hash": -6198196201284498213, "content_hash": -6198196201284498213, "location": "book.translate.xml:13176", "context": "", "note": "(itstool) path: sect3/para", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 2063, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 29, "source_unit": "https://translate-dev.freebsd.org/api/units/107593/?format=api", "priority": 100, "id": 190016, "web_url": "https://translate-dev.freebsd.org/translate/freebsd-doc/boooks_developers-handbook/fa/?checksum=29fb9564f6430cdb", "url": "https://translate-dev.freebsd.org/api/units/190016/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2020-07-06T12:25:44.534843Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/freebsd-doc/boooks_developers-handbook/fa/?format=api", "source": [ "In other words, if the user wants <constant>0.04</constant>, we will expect him to type <parameter>-p04</parameter>, or set <varname>PINHOLE=04</varname> in his environment. So, if he says <parameter>-p9999999</parameter>, we will interpret it as <constant>0.9999999</constant>—still ridiculous but at least safer." ], "previous_source": "", "target": [ "" ], "id_hash": -7965125926376417447, "content_hash": -7965125926376417447, "location": "book.translate.xml:13181", "context": "", "note": "(itstool) path: sect3/para", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 2064, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 37, "source_unit": "https://translate-dev.freebsd.org/api/units/107594/?format=api", "priority": 100, "id": 190017, "web_url": "https://translate-dev.freebsd.org/translate/freebsd-doc/boooks_developers-handbook/fa/?checksum=1176302bc7145759", "url": "https://translate-dev.freebsd.org/api/units/190017/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2020-07-06T12:25:44.544133Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/freebsd-doc/boooks_developers-handbook/fa/?format=api", "source": [ "Secondly, many users will just want to go with either Bender's constant or Connors' constant. To make it easier on them, we will interpret <parameter>-b</parameter> as identical to <parameter>-p04</parameter>, and <parameter>-c</parameter> as identical to <parameter>-p037</parameter>." ], "previous_source": "", "target": [ "" ], "id_hash": -4473413905002782008, "content_hash": -4473413905002782008, "location": "book.translate.xml:13189", "context": "", "note": "(itstool) path: sect3/para", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 2065, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 35, "source_unit": "https://translate-dev.freebsd.org/api/units/107595/?format=api", "priority": 100, "id": 190018, "web_url": "https://translate-dev.freebsd.org/translate/freebsd-doc/boooks_developers-handbook/fa/?checksum=41eb3dc12b0422c8", "url": "https://translate-dev.freebsd.org/api/units/190018/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2020-07-06T12:25:44.552460Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/freebsd-doc/boooks_developers-handbook/fa/?format=api", "source": [ "The Output" ], "previous_source": "", "target": [ "خروجی" ], "id_hash": 2816066328672748897, "content_hash": 2816066328672748897, "location": "book.translate.xml:13198", "context": "", "note": "(itstool) path: sect3/title", "flags": "", "labels": [], "state": 20, "fuzzy": false, "translated": true, "approved": false, "position": 2066, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 2, "source_unit": "https://translate-dev.freebsd.org/api/units/107596/?format=api", "priority": 100, "id": 190019, "web_url": "https://translate-dev.freebsd.org/translate/freebsd-doc/boooks_developers-handbook/fa/?checksum=a714ad67e07a4561", "url": "https://translate-dev.freebsd.org/api/units/190019/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2020-07-06T12:25:44.561012Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/freebsd-doc/boooks_developers-handbook/fa/?format=api", "source": [ "We need to decide what we want our software to send to the output, and in what format." ], "previous_source": "", "target": [ "" ], "id_hash": 4268822382661404863, "content_hash": 4268822382661404863, "location": "book.translate.xml:13200", "context": "", "note": "(itstool) path: sect3/para", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 2067, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 18, "source_unit": "https://translate-dev.freebsd.org/api/units/107597/?format=api", "priority": 100, "id": 190020, "web_url": "https://translate-dev.freebsd.org/translate/freebsd-doc/boooks_developers-handbook/fa/?checksum=bb3de756ffc508bf", "url": "https://translate-dev.freebsd.org/api/units/190020/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2020-07-06T12:25:44.569539Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/freebsd-doc/boooks_developers-handbook/fa/?format=api", "source": [ "Since our input allows for an unspecified number of focal length entries, it makes sense to use a traditional database–style output of showing the result of the calculation for each focal length on a separate line, while separating all values on one line by a <constant>tab</constant> character." ], "previous_source": "", "target": [ "" ], "id_hash": 6086658347366741749, "content_hash": 6086658347366741749, "location": "book.translate.xml:13203", "context": "", "note": "(itstool) path: sect3/para", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 2068, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 47, "source_unit": "https://translate-dev.freebsd.org/api/units/107598/?format=api", "priority": 100, "id": 190021, "web_url": "https://translate-dev.freebsd.org/translate/freebsd-doc/boooks_developers-handbook/fa/?checksum=d4782784b7f5f6f5", "url": "https://translate-dev.freebsd.org/api/units/190021/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2020-07-06T12:25:44.577882Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/freebsd-doc/boooks_developers-handbook/fa/?format=api", "source": [ "Optionally, we should also allow the user to specify the use of the <acronym>CSV</acronym> format we have studied earlier. In this case, we will print out a line of comma–separated names describing each field of every line, then show our results as before, but substituting a <constant>comma</constant> for the <constant>tab</constant>." ], "previous_source": "", "target": [ "" ], "id_hash": 2000371611703082767, "content_hash": 2000371611703082767, "location": "book.translate.xml:13210", "context": "", "note": "(itstool) path: sect3/para", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 2069, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 50, "source_unit": "https://translate-dev.freebsd.org/api/units/107599/?format=api", "priority": 100, "id": 190022, "web_url": "https://translate-dev.freebsd.org/translate/freebsd-doc/boooks_developers-handbook/fa/?checksum=9bc2bf61e6567f0f", "url": "https://translate-dev.freebsd.org/api/units/190022/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2020-07-06T12:25:44.586416Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/freebsd-doc/boooks_developers-handbook/fa/?format=api", "source": [ "We need a command line option for the <acronym>CSV</acronym> format. We cannot use <parameter>-c</parameter> because that already means <emphasis>use Connors' constant</emphasis>. For some strange reason, many web sites refer to <acronym>CSV</acronym> files as <emphasis>\"Excel spreadsheet\"</emphasis> (though the <acronym>CSV</acronym> format predates Excel). We will, therefore, use the <parameter>-e</parameter> switch to inform our software we want the output in the <acronym>CSV</acronym> format." ], "previous_source": "", "target": [ "" ], "id_hash": 8232960216742747839, "content_hash": 8232960216742747839, "location": "book.translate.xml:13218", "context": "", "note": "(itstool) path: sect3/para", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 2070, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 60, "source_unit": "https://translate-dev.freebsd.org/api/units/107600/?format=api", "priority": 100, "id": 190023, "web_url": "https://translate-dev.freebsd.org/translate/freebsd-doc/boooks_developers-handbook/fa/?checksum=f24159b270dfdebf", "url": "https://translate-dev.freebsd.org/api/units/190023/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2020-07-06T12:25:44.595648Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/freebsd-doc/boooks_developers-handbook/fa/?format=api", "source": [ "We will start each line of the output with the focal length. This may sound repetitious at first, especially in the interactive mode: The user types in the focal length, and we are repeating it." ], "previous_source": "", "target": [ "" ], "id_hash": 5073723308198735869, "content_hash": 5073723308198735869, "location": "book.translate.xml:13230", "context": "", "note": "(itstool) path: sect3/para", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 2071, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 35, "source_unit": "https://translate-dev.freebsd.org/api/units/107601/?format=api", "priority": 100, "id": 190024, "web_url": "https://translate-dev.freebsd.org/translate/freebsd-doc/boooks_developers-handbook/fa/?checksum=c6697c7791ce2ffd", "url": "https://translate-dev.freebsd.org/api/units/190024/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2020-07-06T12:25:44.603974Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/freebsd-doc/boooks_developers-handbook/fa/?format=api", "source": [ "But the user can type several focal lengths on one line. The input can also come in from a file or from the output of another program. In that case the user does not see the input at all." ], "previous_source": "", "target": [ "" ], "id_hash": -6342426860836943955, "content_hash": -6342426860836943955, "location": "book.translate.xml:13235", "context": "", "note": "(itstool) path: sect3/para", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 2072, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 39, "source_unit": "https://translate-dev.freebsd.org/api/units/107602/?format=api", "priority": 100, "id": 190025, "web_url": "https://translate-dev.freebsd.org/translate/freebsd-doc/boooks_developers-handbook/fa/?checksum=27fb2c5fa9eb07ad", "url": "https://translate-dev.freebsd.org/api/units/190025/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2020-07-06T12:25:44.613466Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/freebsd-doc/boooks_developers-handbook/fa/?format=api", "source": [ "By the same token, the output can go to a file which we will want to examine later, or it could go to the printer, or become the input of another program." ], "previous_source": "", "target": [ "" ], "id_hash": 4060095854386711990, "content_hash": 4060095854386711990, "location": "book.translate.xml:13240", "context": "", "note": "(itstool) path: sect3/para", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 2073, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 32, "source_unit": "https://translate-dev.freebsd.org/api/units/107603/?format=api", "priority": 100, "id": 190026, "web_url": "https://translate-dev.freebsd.org/translate/freebsd-doc/boooks_developers-handbook/fa/?checksum=b8585bab12c18db6", "url": "https://translate-dev.freebsd.org/api/units/190026/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2020-07-06T12:25:44.622119Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/freebsd-doc/boooks_developers-handbook/fa/?format=api", "source": [ "So, it makes perfect sense to start each line with the focal length as entered by the user." ], "previous_source": "", "target": [ "" ], "id_hash": -3791771986476026263, "content_hash": -3791771986476026263, "location": "book.translate.xml:13244", "context": "", "note": "(itstool) path: sect3/para", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 2074, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 18, "source_unit": "https://translate-dev.freebsd.org/api/units/107604/?format=api", "priority": 100, "id": 190027, "web_url": "https://translate-dev.freebsd.org/translate/freebsd-doc/boooks_developers-handbook/fa/?checksum=4b60eb77ccd1b669", "url": "https://translate-dev.freebsd.org/api/units/190027/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2020-07-06T12:25:44.631001Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/freebsd-doc/boooks_developers-handbook/fa/?format=api", "source": [ "No, wait! Not as entered by the user. What if the user types in something like this:" ], "previous_source": "", "target": [ "" ], "id_hash": 935365388054418748, "content_hash": 935365388054418748, "location": "book.translate.xml:13247", "context": "", "note": "(itstool) path: sect3/para", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 2075, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 17, "source_unit": "https://translate-dev.freebsd.org/api/units/107605/?format=api", "priority": 100, "id": 190028, "web_url": "https://translate-dev.freebsd.org/translate/freebsd-doc/boooks_developers-handbook/fa/?checksum=8cfb15dd5a2dd53c", "url": "https://translate-dev.freebsd.org/api/units/190028/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2020-07-06T12:25:44.639579Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/freebsd-doc/boooks_developers-handbook/fa/?format=api", "source": [ "<userinput>00000000150</userinput>" ], "previous_source": "", "target": [ "<userinput>00000000150</userinput>" ], "id_hash": -2517659593695865651, "content_hash": -2517659593695865651, "location": "book.translate.xml:13250", "context": "", "note": "(itstool) path: sect3/screen", "flags": "no-wrap", "labels": [], "state": 20, "fuzzy": false, "translated": true, "approved": false, "position": 2076, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 1, "source_unit": "https://translate-dev.freebsd.org/api/units/107606/?format=api", "priority": 100, "id": 190029, "web_url": "https://translate-dev.freebsd.org/translate/freebsd-doc/boooks_developers-handbook/fa/?checksum=5d0f79f04c6754cd", "url": "https://translate-dev.freebsd.org/api/units/190029/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2020-07-06T12:25:44.648621Z" } ] }{ "count": 2274, "next": "