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/ca/units/?format=api&page=47
https://translations.documentfoundation.org/api/translations/libo_help-7-6/textsbasicshared03/ca/units/?format=api&page=48", "previous": "https://translations.documentfoundation.org/api/translations/libo_help-7-6/textsbasicshared03/ca/units/?format=api&page=46", "results": [ { "translation": "https://translations.documentfoundation.org/api/translations/libo_help-7-6/textsbasicshared03/ca/?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": 98929812, "web_url": "https://translations.documentfoundation.org/translate/libo_help-7-6/textsbasicshared03/ca/?checksum=1a260f662ce84634", "url": "https://translations.documentfoundation.org/api/units/98929812/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2023-09-11T22:40:05.221644Z" }, { "translation": "https://translations.documentfoundation.org/api/translations/libo_help-7-6/textsbasicshared03/ca/?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": 98929815, "web_url": "https://translations.documentfoundation.org/translate/libo_help-7-6/textsbasicshared03/ca/?checksum=028455bf8aae3d90", "url": "https://translations.documentfoundation.org/api/units/98929815/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2023-09-11T22:40:05.222937Z" }, { "translation": "https://translations.documentfoundation.org/api/translations/libo_help-7-6/textsbasicshared03/ca/?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": 98929818, "web_url": "https://translations.documentfoundation.org/translate/libo_help-7-6/textsbasicshared03/ca/?checksum=a3e3ffca4a264712", "url": "https://translations.documentfoundation.org/api/units/98929818/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2023-09-11T22:40:05.224191Z" }, { "translation": "https://translations.documentfoundation.org/api/translations/libo_help-7-6/textsbasicshared03/ca/?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": 98929822, "web_url": "https://translations.documentfoundation.org/translate/libo_help-7-6/textsbasicshared03/ca/?checksum=c8c99e0c317c92ff", "url": "https://translations.documentfoundation.org/api/units/98929822/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2023-09-11T22:40:05.225414Z" }, { "translation": "https://translations.documentfoundation.org/api/translations/libo_help-7-6/textsbasicshared03/ca/?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": 98929825, "web_url": "https://translations.documentfoundation.org/translate/libo_help-7-6/textsbasicshared03/ca/?checksum=8c44ffa4ceb30a32", "url": "https://translations.documentfoundation.org/api/units/98929825/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2023-09-11T22:40:05.226860Z" }, { "translation": "https://translations.documentfoundation.org/api/translations/libo_help-7-6/textsbasicshared03/ca/?format=api", "source": [ "Additional examples" ], "previous_source": "", "target": [ "Més exemples" ], "id_hash": 5654559975642812036, "content_hash": 5654559975642812036, "location": "sf_formcontrol.xhp", "context": "sf_formcontrol.xhp\nhd_id141618777179310\nhelp.text", "note": "haAXC", "flags": "", "labels": [], "state": 20, "fuzzy": false, "translated": true, "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": 98929829, "web_url": "https://translations.documentfoundation.org/translate/libo_help-7-6/textsbasicshared03/ca/?checksum=ce790856b554ce84", "url": "https://translations.documentfoundation.org/api/units/98929829/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2023-09-11T22:40:05.228594Z" }, { "translation": "https://translations.documentfoundation.org/api/translations/libo_help-7-6/textsbasicshared03/ca/?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": 98929834, "web_url": "https://translations.documentfoundation.org/translate/libo_help-7-6/textsbasicshared03/ca/?checksum=e3e3c4e197b4c150", "url": "https://translations.documentfoundation.org/api/units/98929834/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2023-09-11T22:40:05.230189Z" }, { "translation": "https://translations.documentfoundation.org/api/translations/libo_help-7-6/textsbasicshared03/ca/?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": 98929838, "web_url": "https://translations.documentfoundation.org/translate/libo_help-7-6/textsbasicshared03/ca/?checksum=d64f20346ef8829a", "url": "https://translations.documentfoundation.org/api/units/98929838/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2023-09-11T22:40:05.231625Z" }, { "translation": "https://translations.documentfoundation.org/api/translations/libo_help-7-6/textsbasicshared03/ca/?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": 98929843, "web_url": "https://translations.documentfoundation.org/translate/libo_help-7-6/textsbasicshared03/ca/?checksum=796a3f15783648a3", "url": "https://translations.documentfoundation.org/api/units/98929843/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2023-09-11T22:40:05.233270Z" }, { "translation": "https://translations.documentfoundation.org/api/translations/libo_help-7-6/textsbasicshared03/ca/?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": 98929847, "web_url": "https://translations.documentfoundation.org/translate/libo_help-7-6/textsbasicshared03/ca/?checksum=993b978c689a36d3", "url": "https://translations.documentfoundation.org/api/units/98929847/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2023-09-11T22:40:05.234634Z" }, { "translation": "https://translations.documentfoundation.org/api/translations/libo_help-7-6/textsbasicshared03/ca/?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": 98929850, "web_url": "https://translations.documentfoundation.org/translate/libo_help-7-6/textsbasicshared03/ca/?checksum=58513813fc232268", "url": "https://translations.documentfoundation.org/api/units/98929850/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2023-09-11T22:40:05.235758Z" }, { "translation": "https://translations.documentfoundation.org/api/translations/libo_help-7-6/textsbasicshared03/ca/?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": 98929857, "web_url": "https://translations.documentfoundation.org/translate/libo_help-7-6/textsbasicshared03/ca/?checksum=e46217bac8e0d7ae", "url": "https://translations.documentfoundation.org/api/units/98929857/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2023-09-11T22:40:05.236958Z" }, { "translation": "https://translations.documentfoundation.org/api/translations/libo_help-7-6/textsbasicshared03/ca/?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": 98929860, "web_url": "https://translations.documentfoundation.org/translate/libo_help-7-6/textsbasicshared03/ca/?checksum=f0ffab7b8439fb77", "url": "https://translations.documentfoundation.org/api/units/98929860/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2023-09-11T22:40:05.238178Z" }, { "translation": "https://translations.documentfoundation.org/api/translations/libo_help-7-6/textsbasicshared03/ca/?format=api", "source": [ "bas.MsgBox('Selected option: ' + control.Caption)" ], "previous_source": "", "target": [ "bas.MsgBox('Opció seleccionada: ' + control.Caption)" ], "id_hash": -6798488590259580011, "content_hash": -6798488590259580011, "location": "sf_formcontrol.xhp", "context": "sf_formcontrol.xhp\npyc_id441622562080419\nhelp.text", "note": "TNTT9", "flags": "", "labels": [], "state": 20, "fuzzy": false, "translated": true, "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": 98929864, "web_url": "https://translations.documentfoundation.org/translate/libo_help-7-6/textsbasicshared03/ca/?checksum=21a6eaa5a8081395", "url": "https://translations.documentfoundation.org/api/units/98929864/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2023-09-11T22:40:05.239446Z" }, { "translation": "https://translations.documentfoundation.org/api/translations/libo_help-7-6/textsbasicshared03/ca/?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": 98929870, "web_url": "https://translations.documentfoundation.org/translate/libo_help-7-6/textsbasicshared03/ca/?checksum=e2685166a2b0d02a", "url": "https://translations.documentfoundation.org/api/units/98929870/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2023-09-11T22:40:05.241045Z" }, { "translation": "https://translations.documentfoundation.org/api/translations/libo_help-7-6/textsbasicshared03/ca/?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": 98929876, "web_url": "https://translations.documentfoundation.org/translate/libo_help-7-6/textsbasicshared03/ca/?checksum=4f7376a1c19a1f56", "url": "https://translations.documentfoundation.org/api/units/98929876/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2023-09-11T22:40:05.242451Z" }, { "translation": "https://translations.documentfoundation.org/api/translations/libo_help-7-6/textsbasicshared03/ca/?format=api", "source": [ "Differences between Basic and Python" ], "previous_source": "", "target": [ "Diferències entre BASIC i Python" ], "id_hash": 4844909383424617037, "content_hash": 4844909383424617037, "location": "sf_intro.xhp", "context": "sf_intro.xhp\nhd_id361623410405420\nhelp.text", "note": "6JuA3", "flags": "", "labels": [], "state": 20, "fuzzy": false, "translated": true, "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": 98929883, "web_url": "https://translations.documentfoundation.org/translate/libo_help-7-6/textsbasicshared03/ca/?checksum=c33c936a2ffb2a4d", "url": "https://translations.documentfoundation.org/api/units/98929883/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2023-09-11T22:40:05.245215Z" }, { "translation": "https://translations.documentfoundation.org/api/translations/libo_help-7-6/textsbasicshared03/ca/?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": 98929894, "web_url": "https://translations.documentfoundation.org/translate/libo_help-7-6/textsbasicshared03/ca/?checksum=6f0595b2248687cc", "url": "https://translations.documentfoundation.org/api/units/98929894/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2023-09-11T22:40:05.249181Z" }, { "translation": "https://translations.documentfoundation.org/api/translations/libo_help-7-6/textsbasicshared03/ca/?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": 98929898, "web_url": "https://translations.documentfoundation.org/translate/libo_help-7-6/textsbasicshared03/ca/?checksum=01420d406a968bb4", "url": "https://translations.documentfoundation.org/api/units/98929898/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2023-09-11T22:40:05.250865Z" }, { "translation": "https://translations.documentfoundation.org/api/translations/libo_help-7-6/textsbasicshared03/ca/?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": 98929900, "web_url": "https://translations.documentfoundation.org/translate/libo_help-7-6/textsbasicshared03/ca/?checksum=57569404d5102286", "url": "https://translations.documentfoundation.org/api/units/98929900/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2023-09-11T22:40:05.252472Z" }, { "translation": "https://translations.documentfoundation.org/api/translations/libo_help-7-6/textsbasicshared03/ca/?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": 98929904, "web_url": "https://translations.documentfoundation.org/translate/libo_help-7-6/textsbasicshared03/ca/?checksum=1274fccc5b186304", "url": "https://translations.documentfoundation.org/api/units/98929904/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2023-09-11T22:40:05.254010Z" }, { "translation": "https://translations.documentfoundation.org/api/translations/libo_help-7-6/textsbasicshared03/ca/?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": 98929907, "web_url": "https://translations.documentfoundation.org/translate/libo_help-7-6/textsbasicshared03/ca/?checksum=89ee2f1dc888fbc2", "url": "https://translations.documentfoundation.org/api/units/98929907/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2023-09-11T22:40:05.255368Z" }, { "translation": "https://translations.documentfoundation.org/api/translations/libo_help-7-6/textsbasicshared03/ca/?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": 98929912, "web_url": "https://translations.documentfoundation.org/translate/libo_help-7-6/textsbasicshared03/ca/?checksum=e1162564d2b81a2e", "url": "https://translations.documentfoundation.org/api/units/98929912/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2023-09-11T22:40:05.256704Z" }, { "translation": "https://translations.documentfoundation.org/api/translations/libo_help-7-6/textsbasicshared03/ca/?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": 98929915, "web_url": "https://translations.documentfoundation.org/translate/libo_help-7-6/textsbasicshared03/ca/?checksum=e17a6e0f0edcee09", "url": "https://translations.documentfoundation.org/api/units/98929915/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2023-09-11T22:40:05.258378Z" }, { "translation": "https://translations.documentfoundation.org/api/translations/libo_help-7-6/textsbasicshared03/ca/?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": 98929920, "web_url": "https://translations.documentfoundation.org/translate/libo_help-7-6/textsbasicshared03/ca/?checksum=1dd915b7d7e927ee", "url": "https://translations.documentfoundation.org/api/units/98929920/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2023-09-11T22:40:05.259892Z" }, { "translation": "https://translations.documentfoundation.org/api/translations/libo_help-7-6/textsbasicshared03/ca/?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": 98929926, "web_url": "https://translations.documentfoundation.org/translate/libo_help-7-6/textsbasicshared03/ca/?checksum=7f4845dc78cb5062", "url": "https://translations.documentfoundation.org/api/units/98929926/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2023-09-11T22:40:05.261597Z" }, { "translation": "https://translations.documentfoundation.org/api/translations/libo_help-7-6/textsbasicshared03/ca/?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": 98929931, "web_url": "https://translations.documentfoundation.org/translate/libo_help-7-6/textsbasicshared03/ca/?checksum=a7cc9544b36b13c6", "url": "https://translations.documentfoundation.org/api/units/98929931/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2023-09-11T22:40:05.263122Z" }, { "translation": "https://translations.documentfoundation.org/api/translations/libo_help-7-6/textsbasicshared03/ca/?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": 98929937, "web_url": "https://translations.documentfoundation.org/translate/libo_help-7-6/textsbasicshared03/ca/?checksum=73003c68fce24dcf", "url": "https://translations.documentfoundation.org/api/units/98929937/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2023-09-11T22:40:05.264628Z" }, { "translation": "https://translations.documentfoundation.org/api/translations/libo_help-7-6/textsbasicshared03/ca/?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": 98929950, "web_url": "https://translations.documentfoundation.org/translate/libo_help-7-6/textsbasicshared03/ca/?checksum=f041ad67b79a16b1", "url": "https://translations.documentfoundation.org/api/units/98929950/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2023-09-11T22:40:05.268893Z" }, { "translation": "https://translations.documentfoundation.org/api/translations/libo_help-7-6/textsbasicshared03/ca/?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": 98929956, "web_url": "https://translations.documentfoundation.org/translate/libo_help-7-6/textsbasicshared03/ca/?checksum=92e19c1478caf70c", "url": "https://translations.documentfoundation.org/api/units/98929956/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2023-09-11T22:40:05.270801Z" }, { "translation": "https://translations.documentfoundation.org/api/translations/libo_help-7-6/textsbasicshared03/ca/?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": 98929962, "web_url": "https://translations.documentfoundation.org/translate/libo_help-7-6/textsbasicshared03/ca/?checksum=c93db7702d68d865", "url": "https://translations.documentfoundation.org/api/units/98929962/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2023-09-11T22:40:05.272318Z" }, { "translation": "https://translations.documentfoundation.org/api/translations/libo_help-7-6/textsbasicshared03/ca/?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": 98929972, "web_url": "https://translations.documentfoundation.org/translate/libo_help-7-6/textsbasicshared03/ca/?checksum=951d3d649f1d8c48", "url": "https://translations.documentfoundation.org/api/units/98929972/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2023-09-11T22:40:05.274137Z" }, { "translation": "https://translations.documentfoundation.org/api/translations/libo_help-7-6/textsbasicshared03/ca/?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": 98929978, "web_url": "https://translations.documentfoundation.org/translate/libo_help-7-6/textsbasicshared03/ca/?checksum=7a92ec6e44c869cc", "url": "https://translations.documentfoundation.org/api/units/98929978/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2023-09-11T22:40:05.276020Z" }, { "translation": "https://translations.documentfoundation.org/api/translations/libo_help-7-6/textsbasicshared03/ca/?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": 98929986, "web_url": "https://translations.documentfoundation.org/translate/libo_help-7-6/textsbasicshared03/ca/?checksum=17eb42132c3cb2d7", "url": "https://translations.documentfoundation.org/api/units/98929986/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2023-09-11T22:40:05.277992Z" }, { "translation": "https://translations.documentfoundation.org/api/translations/libo_help-7-6/textsbasicshared03/ca/?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": 98929997, "web_url": "https://translations.documentfoundation.org/translate/libo_help-7-6/textsbasicshared03/ca/?checksum=94bd4608a2f0edad", "url": "https://translations.documentfoundation.org/api/units/98929997/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2023-09-11T22:40:05.279997Z" }, { "translation": "https://translations.documentfoundation.org/api/translations/libo_help-7-6/textsbasicshared03/ca/?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": 98930013, "web_url": "https://translations.documentfoundation.org/translate/libo_help-7-6/textsbasicshared03/ca/?checksum=d4a90ec87e226d4a", "url": "https://translations.documentfoundation.org/api/units/98930013/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2023-09-11T22:40:05.288567Z" }, { "translation": "https://translations.documentfoundation.org/api/translations/libo_help-7-6/textsbasicshared03/ca/?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": 98930022, "web_url": "https://translations.documentfoundation.org/translate/libo_help-7-6/textsbasicshared03/ca/?checksum=c21a85ebcec1e422", "url": "https://translations.documentfoundation.org/api/units/98930022/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2023-09-11T22:40:05.295242Z" }, { "translation": "https://translations.documentfoundation.org/api/translations/libo_help-7-6/textsbasicshared03/ca/?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": 98930031, "web_url": "https://translations.documentfoundation.org/translate/libo_help-7-6/textsbasicshared03/ca/?checksum=5b6d47a8598261c0", "url": "https://translations.documentfoundation.org/api/units/98930031/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2023-09-11T22:40:05.298838Z" }, { "translation": "https://translations.documentfoundation.org/api/translations/libo_help-7-6/textsbasicshared03/ca/?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": 98930036, "web_url": "https://translations.documentfoundation.org/translate/libo_help-7-6/textsbasicshared03/ca/?checksum=669267697b691ba3", "url": "https://translations.documentfoundation.org/api/units/98930036/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2023-09-11T22:40:05.301053Z" }, { "translation": "https://translations.documentfoundation.org/api/translations/libo_help-7-6/textsbasicshared03/ca/?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": 98930040, "web_url": "https://translations.documentfoundation.org/translate/libo_help-7-6/textsbasicshared03/ca/?checksum=3b9b5dd6f951a4b1", "url": "https://translations.documentfoundation.org/api/units/98930040/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2023-09-11T22:40:05.303347Z" }, { "translation": "https://translations.documentfoundation.org/api/translations/libo_help-7-6/textsbasicshared03/ca/?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": 98930047, "web_url": "https://translations.documentfoundation.org/translate/libo_help-7-6/textsbasicshared03/ca/?checksum=482fc7ce0d581a3c", "url": "https://translations.documentfoundation.org/api/units/98930047/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2023-09-11T22:40:05.306712Z" }, { "translation": "https://translations.documentfoundation.org/api/translations/libo_help-7-6/textsbasicshared03/ca/?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": 98930053, "web_url": "https://translations.documentfoundation.org/translate/libo_help-7-6/textsbasicshared03/ca/?checksum=a066a4401354db46", "url": "https://translations.documentfoundation.org/api/units/98930053/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2023-09-11T22:40:05.371785Z" }, { "translation": "https://translations.documentfoundation.org/api/translations/libo_help-7-6/textsbasicshared03/ca/?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": 98930056, "web_url": "https://translations.documentfoundation.org/translate/libo_help-7-6/textsbasicshared03/ca/?checksum=711fb22f54441247", "url": "https://translations.documentfoundation.org/api/units/98930056/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2023-09-11T22:40:05.373640Z" }, { "translation": "https://translations.documentfoundation.org/api/translations/libo_help-7-6/textsbasicshared03/ca/?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": 98930060, "web_url": "https://translations.documentfoundation.org/translate/libo_help-7-6/textsbasicshared03/ca/?checksum=a3cb923dbb775e35", "url": "https://translations.documentfoundation.org/api/units/98930060/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2023-09-11T22:40:05.375048Z" }, { "translation": "https://translations.documentfoundation.org/api/translations/libo_help-7-6/textsbasicshared03/ca/?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": 98930064, "web_url": "https://translations.documentfoundation.org/translate/libo_help-7-6/textsbasicshared03/ca/?checksum=63a7339be8a5f70b", "url": "https://translations.documentfoundation.org/api/units/98930064/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2023-09-11T22:40:05.376318Z" }, { "translation": "https://translations.documentfoundation.org/api/translations/libo_help-7-6/textsbasicshared03/ca/?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": 98930068, "web_url": "https://translations.documentfoundation.org/translate/libo_help-7-6/textsbasicshared03/ca/?checksum=de200de1ea92851e", "url": "https://translations.documentfoundation.org/api/units/98930068/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2023-09-11T22:40:05.377830Z" }, { "translation": "https://translations.documentfoundation.org/api/translations/libo_help-7-6/textsbasicshared03/ca/?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": 98930074, "web_url": "https://translations.documentfoundation.org/translate/libo_help-7-6/textsbasicshared03/ca/?checksum=002714e6d12228d3", "url": "https://translations.documentfoundation.org/api/units/98930074/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2023-09-11T22:40:05.379196Z" }, { "translation": "https://translations.documentfoundation.org/api/translations/libo_help-7-6/textsbasicshared03/ca/?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": 98930076, "web_url": "https://translations.documentfoundation.org/translate/libo_help-7-6/textsbasicshared03/ca/?checksum=8e3cff4839737106", "url": "https://translations.documentfoundation.org/api/units/98930076/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2023-09-11T22:40:05.380467Z" }, { "translation": "https://translations.documentfoundation.org/api/translations/libo_help-7-6/textsbasicshared03/ca/?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": 98930082, "web_url": "https://translations.documentfoundation.org/translate/libo_help-7-6/textsbasicshared03/ca/?checksum=168cf55f29b90772", "url": "https://translations.documentfoundation.org/api/units/98930082/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2023-09-11T22:40:05.381915Z" }, { "translation": "https://translations.documentfoundation.org/api/translations/libo_help-7-6/textsbasicshared03/ca/?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": 98930089, "web_url": "https://translations.documentfoundation.org/translate/libo_help-7-6/textsbasicshared03/ca/?checksum=31f71311cbb2d48c", "url": "https://translations.documentfoundation.org/api/units/98930089/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2023-09-11T22:40:05.383350Z" } ] }{ "count": 3638, "next": "