Units
Translation components API.
See the Weblate's Web API documentation for detailed description of the API.
GET /api/translations/libo_help-7-6/textsbasicshared03/id/units/?format=api&page=47
https://translations.documentfoundation.org/api/translations/libo_help-7-6/textsbasicshared03/id/units/?format=api&page=48", "previous": "https://translations.documentfoundation.org/api/translations/libo_help-7-6/textsbasicshared03/id/units/?format=api&page=46", "results": [ { "translation": "https://translations.documentfoundation.org/api/translations/libo_help-7-6/textsbasicshared03/id/?format=api", "source": [ "' Returns an Array with the names of all controls in \"myTableControl\"" ], "previous_source": "", "target": [ "" ], "id_hash": -7339161611239143884, "content_hash": -7339161611239143884, "location": "sf_formcontrol.xhp", "context": "sf_formcontrol.xhp\nbas_id471618778075117\nhelp.text", "note": "F4Sdy", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 2301, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 12, "source_unit": "https://translations.documentfoundation.org/api/units/98625591/?format=api", "priority": 100, "id": 99714594, "web_url": "https://translations.documentfoundation.org/translate/libo_help-7-6/textsbasicshared03/id/?checksum=1a260f662ce84634", "url": "https://translations.documentfoundation.org/api/units/99714594/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2023-09-11T23:03:40.611441Z" }, { "translation": "https://translations.documentfoundation.org/api/translations/libo_help-7-6/textsbasicshared03/id/?format=api", "source": [ "' Returns a FormControl class instance corresponding to \"myCheckBox\"" ], "previous_source": "", "target": [ "" ], "id_hash": -9042007870699324016, "content_hash": -9042007870699324016, "location": "sf_formcontrol.xhp", "context": "sf_formcontrol.xhp\npar_id931618778110273\nhelp.text", "note": "YoHSo", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 2302, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 9, "source_unit": "https://translations.documentfoundation.org/api/units/98625628/?format=api", "priority": 100, "id": 99714598, "web_url": "https://translations.documentfoundation.org/translate/libo_help-7-6/textsbasicshared03/id/?checksum=028455bf8aae3d90", "url": "https://translations.documentfoundation.org/api/units/99714598/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2023-09-11T23:03:40.612637Z" }, { "translation": "https://translations.documentfoundation.org/api/translations/libo_help-7-6/textsbasicshared03/id/?format=api", "source": [ "Using Python:" ], "previous_source": "", "target": [ "" ], "id_hash": 2586191855333295890, "content_hash": 2586191855333295890, "location": "sf_formcontrol.xhp", "context": "sf_formcontrol.xhp\npar_id391622559441530\nhelp.text", "note": "AGA7Z", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 2303, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 2, "source_unit": "https://translations.documentfoundation.org/api/units/98625638/?format=api", "priority": 100, "id": 99714600, "web_url": "https://translations.documentfoundation.org/translate/libo_help-7-6/textsbasicshared03/id/?checksum=a3e3ffca4a264712", "url": "https://translations.documentfoundation.org/api/units/99714600/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2023-09-11T23:03:40.613939Z" }, { "translation": "https://translations.documentfoundation.org/api/translations/libo_help-7-6/textsbasicshared03/id/?format=api", "source": [ "Sets the focus on the control. Returns <literal>True</literal> if focusing was successful." ], "previous_source": "", "target": [ "" ], "id_hash": 5244897016256697087, "content_hash": 5244897016256697087, "location": "sf_formcontrol.xhp", "context": "sf_formcontrol.xhp\npar_id871583933076448\nhelp.text", "note": "CprjV", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 2304, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 12, "source_unit": "https://translations.documentfoundation.org/api/units/98625705/?format=api", "priority": 100, "id": 99714604, "web_url": "https://translations.documentfoundation.org/translate/libo_help-7-6/textsbasicshared03/id/?checksum=c8c99e0c317c92ff", "url": "https://translations.documentfoundation.org/api/units/99714604/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2023-09-11T23:03:40.615255Z" }, { "translation": "https://translations.documentfoundation.org/api/translations/libo_help-7-6/textsbasicshared03/id/?format=api", "source": [ "This method is often called from a form or control event." ], "previous_source": "", "target": [ "" ], "id_hash": 884112510179019314, "content_hash": 884112510179019314, "location": "sf_formcontrol.xhp", "context": "sf_formcontrol.xhp\npar_id151598178880227\nhelp.text", "note": "LuxFE", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 2305, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 11, "source_unit": "https://translations.documentfoundation.org/api/units/98625748/?format=api", "priority": 100, "id": 99714607, "web_url": "https://translations.documentfoundation.org/translate/libo_help-7-6/textsbasicshared03/id/?checksum=8c44ffa4ceb30a32", "url": "https://translations.documentfoundation.org/api/units/99714607/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2023-09-11T23:03:40.616732Z" }, { "translation": "https://translations.documentfoundation.org/api/translations/libo_help-7-6/textsbasicshared03/id/?format=api", "source": [ "Additional examples" ], "previous_source": "", "target": [ "" ], "id_hash": 5654559975642812036, "content_hash": 5654559975642812036, "location": "sf_formcontrol.xhp", "context": "sf_formcontrol.xhp\nhd_id141618777179310\nhelp.text", "note": "haAXC", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 2306, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 2, "source_unit": "https://translations.documentfoundation.org/api/units/98625789/?format=api", "priority": 100, "id": 99714609, "web_url": "https://translations.documentfoundation.org/translate/libo_help-7-6/textsbasicshared03/id/?checksum=ce790856b554ce84", "url": "https://translations.documentfoundation.org/api/units/99714609/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2023-09-11T23:03:40.618115Z" }, { "translation": "https://translations.documentfoundation.org/api/translations/libo_help-7-6/textsbasicshared03/id/?format=api", "source": [ "Below are two examples that illustrate the use of the <literal>FormControl</literal> service." ], "previous_source": "", "target": [ "" ], "id_hash": 7197813102660075856, "content_hash": 7197813102660075856, "location": "sf_formcontrol.xhp", "context": "sf_formcontrol.xhp\npar_id331618777195723\nhelp.text", "note": "JopFS", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 2307, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 12, "source_unit": "https://translations.documentfoundation.org/api/units/98625827/?format=api", "priority": 100, "id": 99714612, "web_url": "https://translations.documentfoundation.org/translate/libo_help-7-6/textsbasicshared03/id/?checksum=e3e3c4e197b4c150", "url": "https://translations.documentfoundation.org/api/units/99714612/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2023-09-11T23:03:40.619407Z" }, { "translation": "https://translations.documentfoundation.org/api/translations/libo_help-7-6/textsbasicshared03/id/?format=api", "source": [ "The first example reads the current value in a ComboBox containing city names and writes it to a FixedTest control in a Form:" ], "previous_source": "", "target": [ "" ], "id_hash": 6219225019994112666, "content_hash": 6219225019994112666, "location": "sf_formcontrol.xhp", "context": "sf_formcontrol.xhp\npar_id371618776324489\nhelp.text", "note": "5iGmg", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 2308, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 23, "source_unit": "https://translations.documentfoundation.org/api/units/98625864/?format=api", "priority": 100, "id": 99714615, "web_url": "https://translations.documentfoundation.org/translate/libo_help-7-6/textsbasicshared03/id/?checksum=d64f20346ef8829a", "url": "https://translations.documentfoundation.org/api/units/99714615/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2023-09-11T23:03:40.620813Z" }, { "translation": "https://translations.documentfoundation.org/api/translations/libo_help-7-6/textsbasicshared03/id/?format=api", "source": [ "bas = CreateScriptService('ScriptForge.Basic') # Basic-like methods" ], "previous_source": "", "target": [ "" ], "id_hash": -474497449290479453, "content_hash": -474497449290479453, "location": "sf_formcontrol.xhp", "context": "sf_formcontrol.xhp\npyc_id991622562833004\nhelp.text", "note": "3eh6E", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 2309, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 6, "source_unit": "https://translations.documentfoundation.org/api/units/98625887/?format=api", "priority": 100, "id": 99714620, "web_url": "https://translations.documentfoundation.org/translate/libo_help-7-6/textsbasicshared03/id/?checksum=796a3f15783648a3", "url": "https://translations.documentfoundation.org/api/units/99714620/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2023-09-11T23:03:40.622669Z" }, { "translation": "https://translations.documentfoundation.org/api/translations/libo_help-7-6/textsbasicshared03/id/?format=api", "source": [ "lbl_city.Caption = \"Selected city: \" + combo_city.Value" ], "previous_source": "", "target": [ "" ], "id_hash": 1818213503880279763, "content_hash": 1818213503880279763, "location": "sf_formcontrol.xhp", "context": "sf_formcontrol.xhp\npyc_id781622561048794\nhelp.text", "note": "8jneo", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 2310, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 7, "source_unit": "https://translations.documentfoundation.org/api/units/98625903/?format=api", "priority": 100, "id": 99714625, "web_url": "https://translations.documentfoundation.org/translate/libo_help-7-6/textsbasicshared03/id/?checksum=993b978c689a36d3", "url": "https://translations.documentfoundation.org/api/units/99714625/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2023-09-11T23:03:40.624660Z" }, { "translation": "https://translations.documentfoundation.org/api/translations/libo_help-7-6/textsbasicshared03/id/?format=api", "source": [ "The following code snippet can be used to process RadioButton controls that share the same group name. In this example, suppose there are three radio buttons with names <literal>optA</literal>, <literal>optB</literal> and <literal>optC</literal> and we wish to display the caption of the selected control." ], "previous_source": "", "target": [ "" ], "id_hash": -2859442629917859224, "content_hash": -2859442629917859224, "location": "sf_formcontrol.xhp", "context": "sf_formcontrol.xhp\npar_id251618776614814\nhelp.text", "note": "kz9SK", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 2311, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 43, "source_unit": "https://translations.documentfoundation.org/api/units/98625904/?format=api", "priority": 100, "id": 99714629, "web_url": "https://translations.documentfoundation.org/translate/libo_help-7-6/textsbasicshared03/id/?checksum=58513813fc232268", "url": "https://translations.documentfoundation.org/api/units/99714629/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2023-09-11T23:03:40.626086Z" }, { "translation": "https://translations.documentfoundation.org/api/translations/libo_help-7-6/textsbasicshared03/id/?format=api", "source": [ "MsgBox \"Selected option: \" & optControl.Caption" ], "previous_source": "", "target": [ "" ], "id_hash": 7233370042511972270, "content_hash": 7233370042511972270, "location": "sf_formcontrol.xhp", "context": "sf_formcontrol.xhp\nbas_id251618776933304\nhelp.text", "note": "hRhNC", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 2312, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 6, "source_unit": "https://translations.documentfoundation.org/api/units/98625905/?format=api", "priority": 100, "id": 99714633, "web_url": "https://translations.documentfoundation.org/translate/libo_help-7-6/textsbasicshared03/id/?checksum=e46217bac8e0d7ae", "url": "https://translations.documentfoundation.org/api/units/99714633/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2023-09-11T23:03:40.627387Z" }, { "translation": "https://translations.documentfoundation.org/api/translations/libo_help-7-6/textsbasicshared03/id/?format=api", "source": [ "bas = CreateScriptService('ScriptForge.Basic') # Basic-like methods" ], "previous_source": "", "target": [ "" ], "id_hash": 8142415198296865655, "content_hash": 8142415198296865655, "location": "sf_formcontrol.xhp", "context": "sf_formcontrol.xhp\npyc_id991622562822004\nhelp.text", "note": "YnBgM", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 2313, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 6, "source_unit": "https://translations.documentfoundation.org/api/units/98625935/?format=api", "priority": 100, "id": 99714638, "web_url": "https://translations.documentfoundation.org/translate/libo_help-7-6/textsbasicshared03/id/?checksum=f0ffab7b8439fb77", "url": "https://translations.documentfoundation.org/api/units/99714638/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2023-09-11T23:03:40.628408Z" }, { "translation": "https://translations.documentfoundation.org/api/translations/libo_help-7-6/textsbasicshared03/id/?format=api", "source": [ "bas.MsgBox('Selected option: ' + control.Caption)" ], "previous_source": "", "target": [ "" ], "id_hash": -6798488590259580011, "content_hash": -6798488590259580011, "location": "sf_formcontrol.xhp", "context": "sf_formcontrol.xhp\npyc_id441622562080419\nhelp.text", "note": "TNTT9", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 2314, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 5, "source_unit": "https://translations.documentfoundation.org/api/units/98625958/?format=api", "priority": 100, "id": 99714641, "web_url": "https://translations.documentfoundation.org/translate/libo_help-7-6/textsbasicshared03/id/?checksum=21a6eaa5a8081395", "url": "https://translations.documentfoundation.org/api/units/99714641/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2023-09-11T23:03:40.629545Z" }, { "translation": "https://translations.documentfoundation.org/api/translations/libo_help-7-6/textsbasicshared03/id/?format=api", "source": [ "Creating Python Scripts with ScriptForge" ], "previous_source": "", "target": [ "" ], "id_hash": 7091007114552856618, "content_hash": 7091007114552856618, "location": "sf_intro.xhp", "context": "sf_intro.xhp\ntit\nhelp.text", "note": "czP76", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 2315, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 5, "source_unit": "https://translations.documentfoundation.org/api/units/98625979/?format=api", "priority": 100, "id": 99714644, "web_url": "https://translations.documentfoundation.org/translate/libo_help-7-6/textsbasicshared03/id/?checksum=e2685166a2b0d02a", "url": "https://translations.documentfoundation.org/api/units/99714644/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2023-09-11T23:03:40.630705Z" }, { "translation": "https://translations.documentfoundation.org/api/translations/libo_help-7-6/textsbasicshared03/id/?format=api", "source": [ "<variable id=\"title\"><link href=\"text/sbasic/shared/03/sf_intro.xhp\">Creating Python Scripts with <literal>ScriptForge</literal></link></variable>" ], "previous_source": "", "target": [ "" ], "id_hash": -3498322048426827946, "content_hash": -3498322048426827946, "location": "sf_intro.xhp", "context": "sf_intro.xhp\nhd_id461623364876507\nhelp.text", "note": "QFG5C", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 2316, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 7, "source_unit": "https://translations.documentfoundation.org/api/units/98625993/?format=api", "priority": 100, "id": 99714648, "web_url": "https://translations.documentfoundation.org/translate/libo_help-7-6/textsbasicshared03/id/?checksum=4f7376a1c19a1f56", "url": "https://translations.documentfoundation.org/api/units/99714648/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2023-09-11T23:03:40.631610Z" }, { "translation": "https://translations.documentfoundation.org/api/translations/libo_help-7-6/textsbasicshared03/id/?format=api", "source": [ "Differences between Basic and Python" ], "previous_source": "", "target": [ "" ], "id_hash": 4844909383424617037, "content_hash": 4844909383424617037, "location": "sf_intro.xhp", "context": "sf_intro.xhp\nhd_id361623410405420\nhelp.text", "note": "6JuA3", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 2317, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 5, "source_unit": "https://translations.documentfoundation.org/api/units/98626020/?format=api", "priority": 100, "id": 99714650, "web_url": "https://translations.documentfoundation.org/translate/libo_help-7-6/textsbasicshared03/id/?checksum=c33c936a2ffb2a4d", "url": "https://translations.documentfoundation.org/api/units/99714650/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2023-09-11T23:03:40.632537Z" }, { "translation": "https://translations.documentfoundation.org/api/translations/libo_help-7-6/textsbasicshared03/id/?format=api", "source": [ "The <link href=\"text/sbasic/shared/03/lib_ScriptForge.xhp\">ScriptForge library</link> is available both for Basic and Python. Most services, methods and properties work identically in both programming languages. However, due to differences in how each language works, <literal>ScriptForge</literal> users must be aware of some characteristics of the library when using Python:" ], "previous_source": "", "target": [ "" ], "id_hash": -1223407131411707956, "content_hash": -1223407131411707956, "location": "sf_intro.xhp", "context": "sf_intro.xhp\npar_id41623410443946\nhelp.text", "note": "GwT9x", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 2318, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 45, "source_unit": "https://translations.documentfoundation.org/api/units/98626084/?format=api", "priority": 100, "id": 99714654, "web_url": "https://translations.documentfoundation.org/translate/libo_help-7-6/textsbasicshared03/id/?checksum=6f0595b2248687cc", "url": "https://translations.documentfoundation.org/api/units/99714654/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2023-09-11T23:03:40.633465Z" }, { "translation": "https://translations.documentfoundation.org/api/translations/libo_help-7-6/textsbasicshared03/id/?format=api", "source": [ "<emph>Methods and Property names:</emph> In Python, all methods and properties can be used in lowercased, ProperCased or camelCased formats." ], "previous_source": "", "target": [ "" ], "id_hash": -9132722524036625484, "content_hash": -9132722524036625484, "location": "sf_intro.xhp", "context": "sf_intro.xhp\npar_id551623410718241\nhelp.text", "note": "HsKzK", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 2319, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 19, "source_unit": "https://translations.documentfoundation.org/api/units/98626130/?format=api", "priority": 100, "id": 99714658, "web_url": "https://translations.documentfoundation.org/translate/libo_help-7-6/textsbasicshared03/id/?checksum=01420d406a968bb4", "url": "https://translations.documentfoundation.org/api/units/99714658/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2023-09-11T23:03:40.634407Z" }, { "translation": "https://translations.documentfoundation.org/api/translations/libo_help-7-6/textsbasicshared03/id/?format=api", "source": [ "<emph>Arguments:</emph> All keyword arguments passed on to methods are lowercased." ], "previous_source": "", "target": [ "" ], "id_hash": -2929991759082544506, "content_hash": -2929991759082544506, "location": "sf_intro.xhp", "context": "sf_intro.xhp\npar_id741623411104297\nhelp.text", "note": "Rg29x", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 2320, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 10, "source_unit": "https://translations.documentfoundation.org/api/units/98626171/?format=api", "priority": 100, "id": 99714660, "web_url": "https://translations.documentfoundation.org/translate/libo_help-7-6/textsbasicshared03/id/?checksum=57569404d5102286", "url": "https://translations.documentfoundation.org/api/units/99714660/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2023-09-11T23:03:40.635546Z" }, { "translation": "https://translations.documentfoundation.org/api/translations/libo_help-7-6/textsbasicshared03/id/?format=api", "source": [ "<emph>Dates:</emph> All date objects are passed and returned as <literal>datetime.datetime</literal> native Python objects." ], "previous_source": "", "target": [ "" ], "id_hash": -7893406292241784060, "content_hash": -7893406292241784060, "location": "sf_intro.xhp", "context": "sf_intro.xhp\npar_id441623411216354\nhelp.text", "note": "C6VCu", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 2321, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 13, "source_unit": "https://translations.documentfoundation.org/api/units/98626181/?format=api", "priority": 100, "id": 99714664, "web_url": "https://translations.documentfoundation.org/translate/libo_help-7-6/textsbasicshared03/id/?checksum=1274fccc5b186304", "url": "https://translations.documentfoundation.org/api/units/99714664/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2023-09-11T23:03:40.636482Z" }, { "translation": "https://translations.documentfoundation.org/api/translations/libo_help-7-6/textsbasicshared03/id/?format=api", "source": [ "<emph>Arrays:</emph> One-dimensional arrays are passed and returned as tuples (which is an immutable object). Two-dimensional arrays are passed and returned as tuples of tuples." ], "previous_source": "", "target": [ "" ], "id_hash": 715561195763465154, "content_hash": 715561195763465154, "location": "sf_intro.xhp", "context": "sf_intro.xhp\npar_id891623411367669\nhelp.text", "note": "FcX93", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 2322, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 24, "source_unit": "https://translations.documentfoundation.org/api/units/98626208/?format=api", "priority": 100, "id": 99714667, "web_url": "https://translations.documentfoundation.org/translate/libo_help-7-6/textsbasicshared03/id/?checksum=89ee2f1dc888fbc2", "url": "https://translations.documentfoundation.org/api/units/99714667/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2023-09-11T23:03:40.637341Z" }, { "translation": "https://translations.documentfoundation.org/api/translations/libo_help-7-6/textsbasicshared03/id/?format=api", "source": [ "<emph>None:</emph> Python's <literal>None</literal> keyword is equivalent to Basic's <literal>Null</literal>, <literal>Empty</literal> or <literal>Nothing</literal>." ], "previous_source": "", "target": [ "" ], "id_hash": 6995820186128882222, "content_hash": 6995820186128882222, "location": "sf_intro.xhp", "context": "sf_intro.xhp\npar_id981623411507442\nhelp.text", "note": "S6wwX", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 2323, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 12, "source_unit": "https://translations.documentfoundation.org/api/units/98626243/?format=api", "priority": 100, "id": 99714669, "web_url": "https://translations.documentfoundation.org/translate/libo_help-7-6/textsbasicshared03/id/?checksum=e1162564d2b81a2e", "url": "https://translations.documentfoundation.org/api/units/99714669/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2023-09-11T23:03:40.638177Z" }, { "translation": "https://translations.documentfoundation.org/api/translations/libo_help-7-6/textsbasicshared03/id/?format=api", "source": [ "<emph>UNO objects:</emph> All UNO structures are exchanged between Basic and Python without any changes." ], "previous_source": "", "target": [ "" ], "id_hash": 7024047579790634505, "content_hash": 7024047579790634505, "location": "sf_intro.xhp", "context": "sf_intro.xhp\npar_id21623411611447\nhelp.text", "note": "2G2uk", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 2324, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 14, "source_unit": "https://translations.documentfoundation.org/api/units/98626281/?format=api", "priority": 100, "id": 99714673, "web_url": "https://translations.documentfoundation.org/translate/libo_help-7-6/textsbasicshared03/id/?checksum=e17a6e0f0edcee09", "url": "https://translations.documentfoundation.org/api/units/99714673/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2023-09-11T23:03:40.639126Z" }, { "translation": "https://translations.documentfoundation.org/api/translations/libo_help-7-6/textsbasicshared03/id/?format=api", "source": [ "<emph>Debugging:</emph> Whenever an error occurs in Python scripts that use <literal>ScriptForge</literal>, the error message provided by the Python execution stack displays the line of code that triggered the error. In Basic error messages do not display this information." ], "previous_source": "", "target": [ "" ], "id_hash": -7072597860463073298, "content_hash": -7072597860463073298, "location": "sf_intro.xhp", "context": "sf_intro.xhp\npar_id651623412069496\nhelp.text", "note": "WFDrN", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 2325, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 38, "source_unit": "https://translations.documentfoundation.org/api/units/98626315/?format=api", "priority": 100, "id": 99714677, "web_url": "https://translations.documentfoundation.org/translate/libo_help-7-6/textsbasicshared03/id/?checksum=1dd915b7d7e927ee", "url": "https://translations.documentfoundation.org/api/units/99714677/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2023-09-11T23:03:40.640170Z" }, { "translation": "https://translations.documentfoundation.org/api/translations/libo_help-7-6/textsbasicshared03/id/?format=api", "source": [ "Visit <link href=\"text/sbasic/python/main0000.xhp#\">%PRODUCTNAME Python Scripts Help</link> for more information on Python scripting using %PRODUCTNAME." ], "previous_source": "", "target": [ "" ], "id_hash": -51714582493048734, "content_hash": -51714582493048734, "location": "sf_intro.xhp", "context": "sf_intro.xhp\npar_id31623411828158\nhelp.text", "note": "9zGtM", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 2326, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 14, "source_unit": "https://translations.documentfoundation.org/api/units/98626343/?format=api", "priority": 100, "id": 99714679, "web_url": "https://translations.documentfoundation.org/translate/libo_help-7-6/textsbasicshared03/id/?checksum=7f4845dc78cb5062", "url": "https://translations.documentfoundation.org/api/units/99714679/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2023-09-11T23:03:40.641058Z" }, { "translation": "https://translations.documentfoundation.org/api/translations/libo_help-7-6/textsbasicshared03/id/?format=api", "source": [ "Running Python scripts on %PRODUCTNAME" ], "previous_source": "", "target": [ "" ], "id_hash": 2867831185028617158, "content_hash": 2867831185028617158, "location": "sf_intro.xhp", "context": "sf_intro.xhp\nhd_id391623411150080\nhelp.text", "note": "CZiTF", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 2327, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 5, "source_unit": "https://translations.documentfoundation.org/api/units/98626357/?format=api", "priority": 100, "id": 99714683, "web_url": "https://translations.documentfoundation.org/translate/libo_help-7-6/textsbasicshared03/id/?checksum=a7cc9544b36b13c6", "url": "https://translations.documentfoundation.org/api/units/99714683/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2023-09-11T23:03:40.641892Z" }, { "translation": "https://translations.documentfoundation.org/api/translations/libo_help-7-6/textsbasicshared03/id/?format=api", "source": [ "Depending on what you intend to achieve, you may choose one of the following approaches to running Python scripts in %PRODUCTNAME:" ], "previous_source": "", "target": [ "" ], "id_hash": -936682300876108337, "content_hash": -936682300876108337, "location": "sf_intro.xhp", "context": "sf_intro.xhp\npar_id411623364895100\nhelp.text", "note": "2j29F", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 2328, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 21, "source_unit": "https://translations.documentfoundation.org/api/units/98626392/?format=api", "priority": 100, "id": 99714687, "web_url": "https://translations.documentfoundation.org/translate/libo_help-7-6/textsbasicshared03/id/?checksum=73003c68fce24dcf", "url": "https://translations.documentfoundation.org/api/units/99714687/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2023-09-11T23:03:40.642860Z" }, { "translation": "https://translations.documentfoundation.org/api/translations/libo_help-7-6/textsbasicshared03/id/?format=api", "source": [ "<emph>Run Scripts inside the current %PRODUCTNAME process:</emph> Python scripts are executed from within the %PRODUCTNAME process by using the <menuitem>Tools - Macros - Run Macro</menuitem> menu or the APSO extension to call user scripts stored in the Python scripts folder. You can also use the APSO Python shell to interactively run Python scripts." ], "previous_source": "", "target": [ "" ], "id_hash": 8088937066707687089, "content_hash": 8088937066707687089, "location": "sf_intro.xhp", "context": "sf_intro.xhp\npar_id681623365274024\nhelp.text", "note": "XHP4Z", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 2329, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 53, "source_unit": "https://translations.documentfoundation.org/api/units/98626417/?format=api", "priority": 100, "id": 99714690, "web_url": "https://translations.documentfoundation.org/translate/libo_help-7-6/textsbasicshared03/id/?checksum=f041ad67b79a16b1", "url": "https://translations.documentfoundation.org/api/units/99714690/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2023-09-11T23:03:40.643855Z" }, { "translation": "https://translations.documentfoundation.org/api/translations/libo_help-7-6/textsbasicshared03/id/?format=api", "source": [ "<emph>Run Scripts separately from the %PRODUCTNAME process:</emph> Python scripts are executed from an external process that connects to an ongoing %PRODUCTNAME process using a socket." ], "previous_source": "", "target": [ "" ], "id_hash": 1360540174182446860, "content_hash": 1360540174182446860, "location": "sf_intro.xhp", "context": "sf_intro.xhp\npar_id761623365278133\nhelp.text", "note": "pnXQT", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 2330, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 25, "source_unit": "https://translations.documentfoundation.org/api/units/98626466/?format=api", "priority": 100, "id": 99714695, "web_url": "https://translations.documentfoundation.org/translate/libo_help-7-6/textsbasicshared03/id/?checksum=92e19c1478caf70c", "url": "https://translations.documentfoundation.org/api/units/99714695/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2023-09-11T23:03:40.645087Z" }, { "translation": "https://translations.documentfoundation.org/api/translations/libo_help-7-6/textsbasicshared03/id/?format=api", "source": [ "If you plan to run scripts from inside the %PRODUCTNAME process, it is recommended to install the <link href=\"https://extensions.libreoffice.org/en/extensions/show/apso-alternative-script-organizer-for-python\">APSO (Alternative Script Organizer for Python) extension</link>. However, to develop Python scripts from outside %PRODUCTNAME, you can choose your preferred Python IDE." ], "previous_source": "", "target": [ "" ], "id_hash": 5277576030774155365, "content_hash": 5277576030774155365, "location": "sf_intro.xhp", "context": "sf_intro.xhp\npar_id631623365667011\nhelp.text", "note": "DzGf6", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 2331, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 40, "source_unit": "https://translations.documentfoundation.org/api/units/98626488/?format=api", "priority": 100, "id": 99714698, "web_url": "https://translations.documentfoundation.org/translate/libo_help-7-6/textsbasicshared03/id/?checksum=c93db7702d68d865", "url": "https://translations.documentfoundation.org/api/units/99714698/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2023-09-11T23:03:40.646104Z" }, { "translation": "https://translations.documentfoundation.org/api/translations/libo_help-7-6/textsbasicshared03/id/?format=api", "source": [ "Running Scripts from inside the %PRODUCTNAME process" ], "previous_source": "", "target": [ "" ], "id_hash": 1521439751496633416, "content_hash": 1521439751496633416, "location": "sf_intro.xhp", "context": "sf_intro.xhp\nhd_id431623365836802\nhelp.text", "note": "R4Rfk", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 2332, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 7, "source_unit": "https://translations.documentfoundation.org/api/units/98626508/?format=api", "priority": 100, "id": 99714703, "web_url": "https://translations.documentfoundation.org/translate/libo_help-7-6/textsbasicshared03/id/?checksum=951d3d649f1d8c48", "url": "https://translations.documentfoundation.org/api/units/99714703/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2023-09-11T23:03:40.647124Z" }, { "translation": "https://translations.documentfoundation.org/api/translations/libo_help-7-6/textsbasicshared03/id/?format=api", "source": [ "Using the APSO extension" ], "previous_source": "", "target": [ "" ], "id_hash": -390990259283269172, "content_hash": -390990259283269172, "location": "sf_intro.xhp", "context": "sf_intro.xhp\nhd_id111623365861568\nhelp.text", "note": "UFGaA", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 2333, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 4, "source_unit": "https://translations.documentfoundation.org/api/units/98626533/?format=api", "priority": 100, "id": 99714706, "web_url": "https://translations.documentfoundation.org/translate/libo_help-7-6/textsbasicshared03/id/?checksum=7a92ec6e44c869cc", "url": "https://translations.documentfoundation.org/api/units/99714706/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2023-09-11T23:03:40.648037Z" }, { "translation": "https://translations.documentfoundation.org/api/translations/libo_help-7-6/textsbasicshared03/id/?format=api", "source": [ "The easiest way to get started with Python scripting in %PRODUCTNAME is by installing the APSO extension. After installing it, open any %PRODUCTNAME component and go to <menuitem>Tools - Macros - Organize Python Scripts</menuitem>." ], "previous_source": "", "target": [ "" ], "id_hash": -7499828104341441833, "content_hash": -7499828104341441833, "location": "sf_intro.xhp", "context": "sf_intro.xhp\npar_id681623365892513\nhelp.text", "note": "GAQwg", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 2334, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 34, "source_unit": "https://translations.documentfoundation.org/api/units/98626575/?format=api", "priority": 100, "id": 99714710, "web_url": "https://translations.documentfoundation.org/translate/libo_help-7-6/textsbasicshared03/id/?checksum=17eb42132c3cb2d7", "url": "https://translations.documentfoundation.org/api/units/99714710/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2023-09-11T23:03:40.649055Z" }, { "translation": "https://translations.documentfoundation.org/api/translations/libo_help-7-6/textsbasicshared03/id/?format=api", "source": [ "In APSO's main window go to <menuitem>Menu - Python Shell</menuitem>." ], "previous_source": "", "target": [ "" ], "id_hash": 1494427654264253869, "content_hash": 1494427654264253869, "location": "sf_intro.xhp", "context": "sf_intro.xhp\npar_id111623366334727\nhelp.text", "note": "iXiDt", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 2335, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 10, "source_unit": "https://translations.documentfoundation.org/api/units/98626613/?format=api", "priority": 100, "id": 99714715, "web_url": "https://translations.documentfoundation.org/translate/libo_help-7-6/textsbasicshared03/id/?checksum=94bd4608a2f0edad", "url": "https://translations.documentfoundation.org/api/units/99714715/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2023-09-11T23:03:40.650190Z" }, { "translation": "https://translations.documentfoundation.org/api/translations/libo_help-7-6/textsbasicshared03/id/?format=api", "source": [ "Alternatively you can open APSO using the default shortcut <keycode>Alt + Shift + F11</keycode>." ], "previous_source": "", "target": [ "" ], "id_hash": 6100423424522480970, "content_hash": 6100423424522480970, "location": "sf_intro.xhp", "context": "sf_intro.xhp\npar_id931623366329927\nhelp.text", "note": "JBFa3", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 2336, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 14, "source_unit": "https://translations.documentfoundation.org/api/units/98626642/?format=api", "priority": 100, "id": 99714718, "web_url": "https://translations.documentfoundation.org/translate/libo_help-7-6/textsbasicshared03/id/?checksum=d4a90ec87e226d4a", "url": "https://translations.documentfoundation.org/api/units/99714718/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2023-09-11T23:03:40.651215Z" }, { "translation": "https://translations.documentfoundation.org/api/translations/libo_help-7-6/textsbasicshared03/id/?format=api", "source": [ "Now you can start typing Python commands and the shell will print the corresponding output after each line of code is executed." ], "previous_source": "", "target": [ "" ], "id_hash": 4763266803730342946, "content_hash": 4763266803730342946, "location": "sf_intro.xhp", "context": "sf_intro.xhp\npar_id661623366478092\nhelp.text", "note": "TKAXE", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 2337, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 22, "source_unit": "https://translations.documentfoundation.org/api/units/98626678/?format=api", "priority": 100, "id": 99714722, "web_url": "https://translations.documentfoundation.org/translate/libo_help-7-6/textsbasicshared03/id/?checksum=c21a85ebcec1e422", "url": "https://translations.documentfoundation.org/api/units/99714722/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2023-09-11T23:03:40.652264Z" }, { "translation": "https://translations.documentfoundation.org/api/translations/libo_help-7-6/textsbasicshared03/id/?format=api", "source": [ "To start using the <literal>ScriptForge</literal> library, you need to import the <literal>CreateScriptService</literal> method, with which you will be able to access the services provided by the library. The example below uses the <literal>Basic</literal> service to display a message box." ], "previous_source": "", "target": [ "" ], "id_hash": -2635371418560077376, "content_hash": -2635371418560077376, "location": "sf_intro.xhp", "context": "sf_intro.xhp\npar_id581623366559478\nhelp.text", "note": "zGCxS", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 2338, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 39, "source_unit": "https://translations.documentfoundation.org/api/units/98626698/?format=api", "priority": 100, "id": 99714727, "web_url": "https://translations.documentfoundation.org/translate/libo_help-7-6/textsbasicshared03/id/?checksum=5b6d47a8598261c0", "url": "https://translations.documentfoundation.org/api/units/99714727/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2023-09-11T23:03:40.653369Z" }, { "translation": "https://translations.documentfoundation.org/api/translations/libo_help-7-6/textsbasicshared03/id/?format=api", "source": [ "To run the example above, enter each line in the Python shell, one by one, pressing the Enter key after you type each line of code." ], "previous_source": "", "target": [ "" ], "id_hash": -1832288395646657629, "content_hash": -1832288395646657629, "location": "sf_intro.xhp", "context": "sf_intro.xhp\npar_id701623366829587\nhelp.text", "note": "F7c8N", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 2339, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 26, "source_unit": "https://translations.documentfoundation.org/api/units/98626740/?format=api", "priority": 100, "id": 99714731, "web_url": "https://translations.documentfoundation.org/translate/libo_help-7-6/textsbasicshared03/id/?checksum=669267697b691ba3", "url": "https://translations.documentfoundation.org/api/units/99714731/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2023-09-11T23:03:40.654506Z" }, { "translation": "https://translations.documentfoundation.org/api/translations/libo_help-7-6/textsbasicshared03/id/?format=api", "source": [ "Now you can start executing Python commands using any of the ScriptForge services. For example, the code snippet below uses the <literal>UI</literal> service to create a blank Writer document." ], "previous_source": "", "target": [ "" ], "id_hash": -4928242189339614031, "content_hash": -4928242189339614031, "location": "sf_intro.xhp", "context": "sf_intro.xhp\npar_id471623366906045\nhelp.text", "note": "4PS26", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 2340, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 29, "source_unit": "https://translations.documentfoundation.org/api/units/98626781/?format=api", "priority": 100, "id": 99714736, "web_url": "https://translations.documentfoundation.org/translate/libo_help-7-6/textsbasicshared03/id/?checksum=3b9b5dd6f951a4b1", "url": "https://translations.documentfoundation.org/api/units/99714736/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2023-09-11T23:03:40.655554Z" }, { "translation": "https://translations.documentfoundation.org/api/translations/libo_help-7-6/textsbasicshared03/id/?format=api", "source": [ "Creating Python script files" ], "previous_source": "", "target": [ "" ], "id_hash": -4021776254417495492, "content_hash": -4021776254417495492, "location": "sf_intro.xhp", "context": "sf_intro.xhp\nhd_id961623367376768\nhelp.text", "note": "N5A9E", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 2341, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 4, "source_unit": "https://translations.documentfoundation.org/api/units/98626813/?format=api", "priority": 100, "id": 99714738, "web_url": "https://translations.documentfoundation.org/translate/libo_help-7-6/textsbasicshared03/id/?checksum=482fc7ce0d581a3c", "url": "https://translations.documentfoundation.org/api/units/99714738/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2023-09-11T23:03:40.656728Z" }, { "translation": "https://translations.documentfoundation.org/api/translations/libo_help-7-6/textsbasicshared03/id/?format=api", "source": [ "You can create your own Python files and edit them with your preferred text editor. Later you can call them from within any %PRODUCTNAME component." ], "previous_source": "", "target": [ "" ], "id_hash": 2334734051947371334, "content_hash": 2334734051947371334, "location": "sf_intro.xhp", "context": "sf_intro.xhp\npar_id821623367433650\nhelp.text", "note": "xqmvY", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 2342, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 25, "source_unit": "https://translations.documentfoundation.org/api/units/98626845/?format=api", "priority": 100, "id": 99714743, "web_url": "https://translations.documentfoundation.org/translate/libo_help-7-6/textsbasicshared03/id/?checksum=a066a4401354db46", "url": "https://translations.documentfoundation.org/api/units/99714743/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2023-09-11T23:03:40.657870Z" }, { "translation": "https://translations.documentfoundation.org/api/translations/libo_help-7-6/textsbasicshared03/id/?format=api", "source": [ "The first step is to locate where your user scripts are stored. For that, refer to <link href=\"text/sbasic/python/python_locations.xhp\">Python Scripts Organization and Location</link> help page." ], "previous_source": "", "target": [ "" ], "id_hash": -1071942269943934393, "content_hash": -1071942269943934393, "location": "sf_intro.xhp", "context": "sf_intro.xhp\npar_id51623367560321\nhelp.text", "note": "AkXUk", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 2343, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 24, "source_unit": "https://translations.documentfoundation.org/api/units/98626872/?format=api", "priority": 100, "id": 99714747, "web_url": "https://translations.documentfoundation.org/translate/libo_help-7-6/textsbasicshared03/id/?checksum=711fb22f54441247", "url": "https://translations.documentfoundation.org/api/units/99714747/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2023-09-11T23:03:40.658958Z" }, { "translation": "https://translations.documentfoundation.org/api/translations/libo_help-7-6/textsbasicshared03/id/?format=api", "source": [ "Now you can create a text file inside your Python user scripts folder, for instance <emph>sf_test.py</emph>, and start typing your scripts." ], "previous_source": "", "target": [ "" ], "id_hash": 2579316005435563573, "content_hash": 2579316005435563573, "location": "sf_intro.xhp", "context": "sf_intro.xhp\npar_id821623367773032\nhelp.text", "note": "NdM4Y", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 2344, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 21, "source_unit": "https://translations.documentfoundation.org/api/units/98626894/?format=api", "priority": 100, "id": 99714752, "web_url": "https://translations.documentfoundation.org/translate/libo_help-7-6/textsbasicshared03/id/?checksum=a3cb923dbb775e35", "url": "https://translations.documentfoundation.org/api/units/99714752/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2023-09-11T23:03:40.780034Z" }, { "translation": "https://translations.documentfoundation.org/api/translations/libo_help-7-6/textsbasicshared03/id/?format=api", "source": [ "Next is a simple example that gets the numeric value from a Calc cell and increments it by 1. Simply type the following code into the <emph>sf_test.py</emph> file." ], "previous_source": "", "target": [ "" ], "id_hash": -2042607161273092341, "content_hash": -2042607161273092341, "location": "sf_intro.xhp", "context": "sf_intro.xhp\npar_id271623367917630\nhelp.text", "note": "rFyBp", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 2345, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 28, "source_unit": "https://translations.documentfoundation.org/api/units/98626928/?format=api", "priority": 100, "id": 99714756, "web_url": "https://translations.documentfoundation.org/translate/libo_help-7-6/textsbasicshared03/id/?checksum=63a7339be8a5f70b", "url": "https://translations.documentfoundation.org/api/units/99714756/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2023-09-11T23:03:40.782068Z" }, { "translation": "https://translations.documentfoundation.org/api/translations/libo_help-7-6/textsbasicshared03/id/?format=api", "source": [ "This example creates the <literal>increment_cell</literal> function. Note that <literal>g_exportedScripts</literal> is a tuple that tells which functions will be displayed in %PRODUCTNAME as user scripts." ], "previous_source": "", "target": [ "" ], "id_hash": 6782436302774240542, "content_hash": 6782436302774240542, "location": "sf_intro.xhp", "context": "sf_intro.xhp\npar_id171623368511426\nhelp.text", "note": "EQxF2", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 2346, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 24, "source_unit": "https://translations.documentfoundation.org/api/units/98626959/?format=api", "priority": 100, "id": 99714759, "web_url": "https://translations.documentfoundation.org/translate/libo_help-7-6/textsbasicshared03/id/?checksum=de200de1ea92851e", "url": "https://translations.documentfoundation.org/api/units/99714759/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2023-09-11T23:03:40.783685Z" }, { "translation": "https://translations.documentfoundation.org/api/translations/libo_help-7-6/textsbasicshared03/id/?format=api", "source": [ "To run this script from within a Calc document:" ], "previous_source": "", "target": [ "" ], "id_hash": -9212371531179349805, "content_hash": -9212371531179349805, "location": "sf_intro.xhp", "context": "sf_intro.xhp\npar_id471623368615244\nhelp.text", "note": "UUnv4", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 2347, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 9, "source_unit": "https://translations.documentfoundation.org/api/units/98626986/?format=api", "priority": 100, "id": 99714764, "web_url": "https://translations.documentfoundation.org/translate/libo_help-7-6/textsbasicshared03/id/?checksum=002714e6d12228d3", "url": "https://translations.documentfoundation.org/api/units/99714764/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2023-09-11T23:03:40.785861Z" }, { "translation": "https://translations.documentfoundation.org/api/translations/libo_help-7-6/textsbasicshared03/id/?format=api", "source": [ "Create or open a Calc file." ], "previous_source": "", "target": [ "" ], "id_hash": 1025975500800225542, "content_hash": 1025975500800225542, "location": "sf_intro.xhp", "context": "sf_intro.xhp\npar_id811623368677444\nhelp.text", "note": "FynYm", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 2348, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 6, "source_unit": "https://translations.documentfoundation.org/api/units/98627013/?format=api", "priority": 100, "id": 99714769, "web_url": "https://translations.documentfoundation.org/translate/libo_help-7-6/textsbasicshared03/id/?checksum=8e3cff4839737106", "url": "https://translations.documentfoundation.org/api/units/99714769/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2023-09-11T23:03:40.787516Z" }, { "translation": "https://translations.documentfoundation.org/api/translations/libo_help-7-6/textsbasicshared03/id/?format=api", "source": [ "Enter some numeric value into cell \"A1\" in the current sheet." ], "previous_source": "", "target": [ "" ], "id_hash": -7598428682210179214, "content_hash": -7598428682210179214, "location": "sf_intro.xhp", "context": "sf_intro.xhp\npar_id281623368679141\nhelp.text", "note": "qdWEL", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 2349, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 11, "source_unit": "https://translations.documentfoundation.org/api/units/98627037/?format=api", "priority": 100, "id": 99714772, "web_url": "https://translations.documentfoundation.org/translate/libo_help-7-6/textsbasicshared03/id/?checksum=168cf55f29b90772", "url": "https://translations.documentfoundation.org/api/units/99714772/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2023-09-11T23:03:40.789124Z" }, { "translation": "https://translations.documentfoundation.org/api/translations/libo_help-7-6/textsbasicshared03/id/?format=api", "source": [ "Go to <menuitem>Tools - Macros - Run Macros</menuitem> ." ], "previous_source": "", "target": [ "" ], "id_hash": -5623004642595908468, "content_hash": -5623004642595908468, "location": "sf_intro.xhp", "context": "sf_intro.xhp\npar_id111623368679893\nhelp.text", "note": "bFQSh", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 2350, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 9, "source_unit": "https://translations.documentfoundation.org/api/units/98627072/?format=api", "priority": 100, "id": 99714777, "web_url": "https://translations.documentfoundation.org/translate/libo_help-7-6/textsbasicshared03/id/?checksum=31f71311cbb2d48c", "url": "https://translations.documentfoundation.org/api/units/99714777/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2023-09-11T23:03:40.790690Z" } ] }{ "count": 3638, "next": "