Changes
Translation components API.
See the Weblate's Web API documentation for detailed description of the API.
GET /api/components/libo_help-7-6/textsbasicpython/changes/?format=api&page=25
https://translations.documentfoundation.org/api/components/libo_help-7-6/textsbasicpython/changes/?format=api&page=26", "previous": "https://translations.documentfoundation.org/api/components/libo_help-7-6/textsbasicpython/changes/?format=api&page=24", "results": [ { "unit": "https://translations.documentfoundation.org/api/units/98673479/?format=api", "component": "https://translations.documentfoundation.org/api/components/libo_help-7-6/textsbasicpython/?format=api", "translation": "https://translations.documentfoundation.org/api/translations/libo_help-7-6/textsbasicpython/zh_Hans/?format=api", "user": null, "author": null, "timestamp": "2023-09-11T22:31:52.198476Z", "action": 59, "target": "_MY_LABEL = 'Python 监听中..'", "id": 36050951, "action_name": "String updated in the repository", "url": "https://translations.documentfoundation.org/api/changes/36050951/?format=api" }, { "unit": "https://translations.documentfoundation.org/api/units/98673472/?format=api", "component": "https://translations.documentfoundation.org/api/components/libo_help-7-6/textsbasicpython/?format=api", "translation": "https://translations.documentfoundation.org/api/translations/libo_help-7-6/textsbasicpython/zh_Hans/?format=api", "user": null, "author": null, "timestamp": "2023-09-11T22:31:52.198430Z", "action": 59, "target": "使用 Python", "id": 36050950, "action_name": "String updated in the repository", "url": "https://translations.documentfoundation.org/api/changes/36050950/?format=api" }, { "unit": "https://translations.documentfoundation.org/api/units/98673468/?format=api", "component": "https://translations.documentfoundation.org/api/components/libo_help-7-6/textsbasicpython/?format=api", "translation": "https://translations.documentfoundation.org/api/translations/libo_help-7-6/textsbasicpython/zh_Hans/?format=api", "user": null, "author": null, "timestamp": "2023-09-11T22:31:52.198383Z", "action": 59, "target": "本示例为 <literal>标准</literal> 库中的对话框 <literal>Dialog1</literal> 的<literal>Button1</literal> 控件创建监听器。", "id": 36050949, "action_name": "String updated in the repository", "url": "https://translations.documentfoundation.org/api/changes/36050949/?format=api" }, { "unit": "https://translations.documentfoundation.org/api/units/98673460/?format=api", "component": "https://translations.documentfoundation.org/api/components/libo_help-7-6/textsbasicpython/?format=api", "translation": "https://translations.documentfoundation.org/api/translations/libo_help-7-6/textsbasicpython/zh_Hans/?format=api", "user": null, "author": null, "timestamp": "2023-09-11T22:31:52.198337Z", "action": 59, "target": "监听器附加到对话框中的控件, 以及文档或表单事件。在创建运行时对话框或向对话框中动态添加控件时, 也会使用监听器。", "id": 36050948, "action_name": "String updated in the repository", "url": "https://translations.documentfoundation.org/api/changes/36050948/?format=api" }, { "unit": "https://translations.documentfoundation.org/api/units/98673456/?format=api", "component": "https://translations.documentfoundation.org/api/components/libo_help-7-6/textsbasicpython/?format=api", "translation": "https://translations.documentfoundation.org/api/translations/libo_help-7-6/textsbasicpython/zh_Hans/?format=api", "user": null, "author": null, "timestamp": "2023-09-11T22:31:52.198289Z", "action": 59, "target": "创建事件监听器", "id": 36050947, "action_name": "String updated in the repository", "url": "https://translations.documentfoundation.org/api/changes/36050947/?format=api" }, { "unit": "https://translations.documentfoundation.org/api/units/98673452/?format=api", "component": "https://translations.documentfoundation.org/api/components/libo_help-7-6/textsbasicpython/?format=api", "translation": "https://translations.documentfoundation.org/api/translations/libo_help-7-6/textsbasicpython/zh_Hans/?format=api", "user": null, "author": null, "timestamp": "2023-09-11T22:31:52.198241Z", "action": 59, "target": "", "id": 36050946, "action_name": "String updated in the repository", "url": "https://translations.documentfoundation.org/api/changes/36050946/?format=api" }, { "unit": "https://translations.documentfoundation.org/api/units/98673447/?format=api", "component": "https://translations.documentfoundation.org/api/components/libo_help-7-6/textsbasicpython/?format=api", "translation": "https://translations.documentfoundation.org/api/translations/libo_help-7-6/textsbasicpython/zh_Hans/?format=api", "user": null, "author": null, "timestamp": "2023-09-11T22:31:52.198192Z", "action": 59, "target": "对话框、文档、表单或图形控件引发的事件可以链接到宏, 这称为「事件驱动编程」。将事件与宏关联的最常见方法是<literal>工具 – 自定义</literal>菜单中的<menuitem>事件</menuitem>选项卡,以及「工具 - 宏 – 组织对话框...」菜单中的「<link href=\"text/sbasic/guide/create_dialog.xhp\">对话框编辑器</link><menuitem></menuitem>」控件属性窗格。", "id": 36050945, "action_name": "String updated in the repository", "url": "https://translations.documentfoundation.org/api/changes/36050945/?format=api" }, { "unit": "https://translations.documentfoundation.org/api/units/98673441/?format=api", "component": "https://translations.documentfoundation.org/api/components/libo_help-7-6/textsbasicpython/?format=api", "translation": "https://translations.documentfoundation.org/api/translations/libo_help-7-6/textsbasicpython/zh_Hans/?format=api", "user": null, "author": null, "timestamp": "2023-09-11T22:31:52.198145Z", "action": 59, "target": "<variable id=\"pythonlistener\"><link href=\"text/sbasic/python/python_listener.xhp\">创建事件监听器</link></variable>", "id": 36050944, "action_name": "String updated in the repository", "url": "https://translations.documentfoundation.org/api/changes/36050944/?format=api" }, { "unit": "https://translations.documentfoundation.org/api/units/98673436/?format=api", "component": "https://translations.documentfoundation.org/api/components/libo_help-7-6/textsbasicpython/?format=api", "translation": "https://translations.documentfoundation.org/api/translations/libo_help-7-6/textsbasicpython/zh_Hans/?format=api", "user": null, "author": null, "timestamp": "2023-09-11T22:31:52.198095Z", "action": 59, "target": "<bookmark_value>Python;事件监听器</bookmark_value> <bookmark_value>Python;createUnoListener</bookmark_value> <bookmark_value>Basic;事件监听器</bookmark_value> <bookmark_value>API;ActionEvent</bookmark_value> <bookmark_value>API;DialogProvider</bookmark_value> <bookmark_value>API;EventObject</bookmark_value> <bookmark_value>API;ExecutableDialogResults</bookmark_value> <bookmark_value>API;XActionListener</bookmark_value>", "id": 36050943, "action_name": "String updated in the repository", "url": "https://translations.documentfoundation.org/api/changes/36050943/?format=api" }, { "unit": "https://translations.documentfoundation.org/api/units/98673432/?format=api", "component": "https://translations.documentfoundation.org/api/components/libo_help-7-6/textsbasicpython/?format=api", "translation": "https://translations.documentfoundation.org/api/translations/libo_help-7-6/textsbasicpython/zh_Hans/?format=api", "user": null, "author": null, "timestamp": "2023-09-11T22:31:52.198048Z", "action": 59, "target": "Python 监听器 : 创建事件监听器", "id": 36050942, "action_name": "String updated in the repository", "url": "https://translations.documentfoundation.org/api/changes/36050942/?format=api" }, { "unit": "https://translations.documentfoundation.org/api/units/98673424/?format=api", "component": "https://translations.documentfoundation.org/api/components/libo_help-7-6/textsbasicpython/?format=api", "translation": "https://translations.documentfoundation.org/api/translations/libo_help-7-6/textsbasicpython/zh_Hans/?format=api", "user": null, "author": null, "timestamp": "2023-09-11T22:31:52.198002Z", "action": 59, "target": "有关事件驱动宏的示例, 请参阅《<link href=\"text/sbasic/python/python_listener.xhp\">创建 Python 监听器</link>》。", "id": 36050941, "action_name": "String updated in the repository", "url": "https://translations.documentfoundation.org/api/changes/36050941/?format=api" }, { "unit": "https://translations.documentfoundation.org/api/units/98673421/?format=api", "component": "https://translations.documentfoundation.org/api/components/libo_help-7-6/textsbasicpython/?format=api", "translation": "https://translations.documentfoundation.org/api/translations/libo_help-7-6/textsbasicpython/zh_Hans/?format=api", "user": null, "author": null, "timestamp": "2023-09-11T22:31:52.197958Z", "action": 59, "target": "\"\"\" 从 PYTHON_PATH 删除目录 \"\"\"", "id": 36050940, "action_name": "String updated in the repository", "url": "https://translations.documentfoundation.org/api/changes/36050940/?format=api" }, { "unit": "https://translations.documentfoundation.org/api/units/98673416/?format=api", "component": "https://translations.documentfoundation.org/api/components/libo_help-7-6/textsbasicpython/?format=api", "translation": "https://translations.documentfoundation.org/api/translations/libo_help-7-6/textsbasicpython/zh_Hans/?format=api", "user": null, "author": null, "timestamp": "2023-09-11T22:31:52.197914Z", "action": 59, "target": "\"\"\" 将路径添加到 PYTHON_PATH,导入已命名模块 \"\"\"", "id": 36050939, "action_name": "String updated in the repository", "url": "https://translations.documentfoundation.org/api/changes/36050939/?format=api" }, { "unit": "https://translations.documentfoundation.org/api/units/98673399/?format=api", "component": "https://translations.documentfoundation.org/api/components/libo_help-7-6/textsbasicpython/?format=api", "translation": "https://translations.documentfoundation.org/api/translations/libo_help-7-6/textsbasicpython/zh_Hans/?format=api", "user": null, "author": null, "timestamp": "2023-09-11T22:31:52.197870Z", "action": 59, "target": "\"\"\" 检查 PYTHON_PATH 内容 \"\"\"", "id": 36050938, "action_name": "String updated in the repository", "url": "https://translations.documentfoundation.org/api/changes/36050938/?format=api" }, { "unit": "https://translations.documentfoundation.org/api/units/98673393/?format=api", "component": "https://translations.documentfoundation.org/api/components/libo_help-7-6/textsbasicpython/?format=api", "translation": "https://translations.documentfoundation.org/api/translations/libo_help-7-6/textsbasicpython/zh_Hans/?format=api", "user": null, "author": null, "timestamp": "2023-09-11T22:31:52.197825Z", "action": 59, "target": "\"\"\" 检查运行时模块列表 \"\"\"", "id": 36050937, "action_name": "String updated in the repository", "url": "https://translations.documentfoundation.org/api/changes/36050937/?format=api" }, { "unit": "https://translations.documentfoundation.org/api/units/98673389/?format=api", "component": "https://translations.documentfoundation.org/api/components/libo_help-7-6/textsbasicpython/?format=api", "translation": "https://translations.documentfoundation.org/api/translations/libo_help-7-6/textsbasicpython/zh_Hans/?format=api", "user": null, "author": null, "timestamp": "2023-09-11T22:31:52.197781Z", "action": 59, "target": "位于 https://forum.openoffice.org/fr/forum/viewtopic.php?p=286213 \"\"\"", "id": 36050936, "action_name": "String updated in the repository", "url": "https://translations.documentfoundation.org/api/changes/36050936/?format=api" }, { "unit": "https://translations.documentfoundation.org/api/units/98673384/?format=api", "component": "https://translations.documentfoundation.org/api/components/libo_help-7-6/textsbasicpython/?format=api", "translation": "https://translations.documentfoundation.org/api/translations/libo_help-7-6/textsbasicpython/zh_Hans/?format=api", "user": null, "author": null, "timestamp": "2023-09-11T22:31:52.197741Z", "action": 59, "target": "引自 Hubert Lambert《函数库》", "id": 36050935, "action_name": "String updated in the repository", "url": "https://translations.documentfoundation.org/api/changes/36050935/?format=api" }, { "unit": "https://translations.documentfoundation.org/api/units/98673380/?format=api", "component": "https://translations.documentfoundation.org/api/components/libo_help-7-6/textsbasicpython/?format=api", "translation": "https://translations.documentfoundation.org/api/translations/libo_help-7-6/textsbasicpython/zh_Hans/?format=api", "user": null, "author": null, "timestamp": "2023-09-11T22:31:52.197698Z", "action": 59, "target": "\"\"\" Python 库加载器与模块导入器", "id": 36050934, "action_name": "String updated in the repository", "url": "https://translations.documentfoundation.org/api/changes/36050934/?format=api" }, { "unit": "https://translations.documentfoundation.org/api/units/98673376/?format=api", "component": "https://translations.documentfoundation.org/api/components/libo_help-7-6/textsbasicpython/?format=api", "translation": "https://translations.documentfoundation.org/api/translations/libo_help-7-6/textsbasicpython/zh_Hans/?format=api", "user": null, "author": null, "timestamp": "2023-09-11T22:31:52.197657Z", "action": 59, "target": "", "id": 36050933, "action_name": "String updated in the repository", "url": "https://translations.documentfoundation.org/api/changes/36050933/?format=api" }, { "unit": "https://translations.documentfoundation.org/api/units/98673371/?format=api", "component": "https://translations.documentfoundation.org/api/components/libo_help-7-6/textsbasicpython/?format=api", "translation": "https://translations.documentfoundation.org/api/translations/libo_help-7-6/textsbasicpython/zh_Hans/?format=api", "user": null, "author": null, "timestamp": "2023-09-11T22:31:52.197612Z", "action": 59, "target": "PythonLibraries.unloadLibrary('my_gui') # 清理 Python 运行时路径", "id": 36050932, "action_name": "String updated in the repository", "url": "https://translations.documentfoundation.org/api/changes/36050932/?format=api" }, { "unit": "https://translations.documentfoundation.org/api/units/98673365/?format=api", "component": "https://translations.documentfoundation.org/api/components/libo_help-7-6/textsbasicpython/?format=api", "translation": "https://translations.documentfoundation.org/api/translations/libo_help-7-6/textsbasicpython/zh_Hans/?format=api", "user": null, "author": null, "timestamp": "2023-09-11T22:31:52.197569Z", "action": 59, "target": "\"\"\" 文档关闭后清理 PYTHON_PATH \"\"\"", "id": 36050931, "action_name": "String updated in the repository", "url": "https://translations.documentfoundation.org/api/changes/36050931/?format=api" }, { "unit": "https://translations.documentfoundation.org/api/units/98673360/?format=api", "component": "https://translations.documentfoundation.org/api/components/libo_help-7-6/textsbasicpython/?format=api", "translation": "https://translations.documentfoundation.org/api/translations/libo_help-7-6/textsbasicpython/zh_Hans/?format=api", "user": null, "author": null, "timestamp": "2023-09-11T22:31:52.197528Z", "action": 59, "target": "PythonLibraries.loadLibrary('my_gui', 'screen_io') # 添加目录 & 导入 screen_io", "id": 36050930, "action_name": "String updated in the repository", "url": "https://translations.documentfoundation.org/api/changes/36050930/?format=api" }, { "unit": "https://translations.documentfoundation.org/api/units/98673357/?format=api", "component": "https://translations.documentfoundation.org/api/components/libo_help-7-6/textsbasicpython/?format=api", "translation": "https://translations.documentfoundation.org/api/translations/libo_help-7-6/textsbasicpython/zh_Hans/?format=api", "user": null, "author": null, "timestamp": "2023-09-11T22:31:52.197490Z", "action": 59, "target": "PythonLibraries.loadLibrary('lib/子目录') # 将目录添加到搜索路径", "id": 36050929, "action_name": "String updated in the repository", "url": "https://translations.documentfoundation.org/api/changes/36050929/?format=api" }, { "unit": "https://translations.documentfoundation.org/api/units/98673349/?format=api", "component": "https://translations.documentfoundation.org/api/components/libo_help-7-6/textsbasicpython/?format=api", "translation": "https://translations.documentfoundation.org/api/translations/libo_help-7-6/textsbasicpython/zh_Hans/?format=api", "user": null, "author": null, "timestamp": "2023-09-11T22:31:52.197445Z", "action": 59, "target": "\"\"\" 文档加载完成后,准备 Python 模块导入 \"\"\"", "id": 36050928, "action_name": "String updated in the repository", "url": "https://translations.documentfoundation.org/api/changes/36050928/?format=api" }, { "unit": "https://translations.documentfoundation.org/api/units/98673342/?format=api", "component": "https://translations.documentfoundation.org/api/components/libo_help-7-6/textsbasicpython/?format=api", "translation": "https://translations.documentfoundation.org/api/translations/libo_help-7-6/textsbasicpython/zh_Hans/?format=api", "user": null, "author": null, "timestamp": "2023-09-11T22:31:52.197399Z", "action": 59, "target": "导入 Python 文档内嵌模块的操作如下图所示。错误处理未详细展示。当文档处于打开状态时,将更新 Python 运行时路径。要了解如何将 Python 宏与文档事件相关联,请参阅《<link href=\"text/sbasic/shared/01040000.xhp\">事件驱动的宏</link>》。", "id": 36050927, "action_name": "String updated in the repository", "url": "https://translations.documentfoundation.org/api/changes/36050927/?format=api" }, { "unit": "https://translations.documentfoundation.org/api/units/98673338/?format=api", "component": "https://translations.documentfoundation.org/api/components/libo_help-7-6/textsbasicpython/?format=api", "translation": "https://translations.documentfoundation.org/api/translations/libo_help-7-6/textsbasicpython/zh_Hans/?format=api", "user": null, "author": null, "timestamp": "2023-09-11T22:31:52.197358Z", "action": 59, "target": "文档模块导入", "id": 36050926, "action_name": "String updated in the repository", "url": "https://translations.documentfoundation.org/api/changes/36050926/?format=api" }, { "unit": "https://translations.documentfoundation.org/api/units/98673334/?format=api", "component": "https://translations.documentfoundation.org/api/components/libo_help-7-6/textsbasicpython/?format=api", "translation": "https://translations.documentfoundation.org/api/translations/libo_help-7-6/textsbasicpython/zh_Hans/?format=api", "user": null, "author": null, "timestamp": "2023-09-11T22:31:52.197314Z", "action": 59, "target": "使用 Python shell:", "id": 36050925, "action_name": "String updated in the repository", "url": "https://translations.documentfoundation.org/api/changes/36050925/?format=api" }, { "unit": "https://translations.documentfoundation.org/api/units/98673330/?format=api", "component": "https://translations.documentfoundation.org/api/components/libo_help-7-6/textsbasicpython/?format=api", "translation": "https://translations.documentfoundation.org/api/translations/libo_help-7-6/textsbasicpython/zh_Hans/?format=api", "user": null, "author": null, "timestamp": "2023-09-11T22:31:52.197269Z", "action": 59, "target": "与个人与共享脚本不同, %PRODUCTNAME 自带脚本可以随时导入。除 <literal>uno</literal> 与 <literal>unohelper</literal> %PRODUCTNAME Python 模块以外, 位于 <literal><安装路径>/program</literal> 目录中的其他脚本可以直接导入, 例如 <literal>msgbox</literal> 模块。", "id": 36050924, "action_name": "String updated in the repository", "url": "https://translations.documentfoundation.org/api/changes/36050924/?format=api" }, { "unit": "https://translations.documentfoundation.org/api/units/98673327/?format=api", "component": "https://translations.documentfoundation.org/api/components/libo_help-7-6/textsbasicpython/?format=api", "translation": "https://translations.documentfoundation.org/api/translations/libo_help-7-6/textsbasicpython/zh_Hans/?format=api", "user": null, "author": null, "timestamp": "2023-09-11T22:31:52.197227Z", "action": 59, "target": "为应用程序安装模块", "id": 36050923, "action_name": "String updated in the repository", "url": "https://translations.documentfoundation.org/api/changes/36050923/?format=api" }, { "unit": "https://translations.documentfoundation.org/api/units/98673325/?format=api", "component": "https://translations.documentfoundation.org/api/components/libo_help-7-6/textsbasicpython/?format=api", "translation": "https://translations.documentfoundation.org/api/translations/libo_help-7-6/textsbasicpython/zh_Hans/?format=api", "user": null, "author": null, "timestamp": "2023-09-11T22:31:52.197184Z", "action": 59, "target": "# 您的代码在此继续", "id": 36050922, "action_name": "String updated in the repository", "url": "https://translations.documentfoundation.org/api/changes/36050922/?format=api" }, { "unit": "https://translations.documentfoundation.org/api/units/98673323/?format=api", "component": "https://translations.documentfoundation.org/api/components/libo_help-7-6/textsbasicpython/?format=api", "translation": "https://translations.documentfoundation.org/api/translations/libo_help-7-6/textsbasicpython/zh_Hans/?format=api", "user": null, "author": null, "timestamp": "2023-09-11T22:31:52.197142Z", "action": 59, "target": "from IDE_utils import ScriptContext # 「IDE_utils.py」位于共享 Python 脚本目录。", "id": 36050921, "action_name": "String updated in the repository", "url": "https://translations.documentfoundation.org/api/changes/36050921/?format=api" }, { "unit": "https://translations.documentfoundation.org/api/units/98673320/?format=api", "component": "https://translations.documentfoundation.org/api/components/libo_help-7-6/textsbasicpython/?format=api", "translation": "https://translations.documentfoundation.org/api/translations/libo_help-7-6/textsbasicpython/zh_Hans/?format=api", "user": null, "author": null, "timestamp": "2023-09-11T22:31:52.197099Z", "action": 59, "target": "sys.path.insert(0, share_lib) # 添加到搜索路径", "id": 36050920, "action_name": "String updated in the repository", "url": "https://translations.documentfoundation.org/api/changes/36050920/?format=api" }, { "unit": "https://translations.documentfoundation.org/api/units/98673314/?format=api", "component": "https://translations.documentfoundation.org/api/components/libo_help-7-6/textsbasicpython/?format=api", "translation": "https://translations.documentfoundation.org/api/translations/libo_help-7-6/textsbasicpython/zh_Hans/?format=api", "user": null, "author": null, "timestamp": "2023-09-11T22:31:52.197056Z", "action": 59, "target": "share_lib = Session.SharedPythonScripts() # 共享脚本位置", "id": 36050919, "action_name": "String updated in the repository", "url": "https://translations.documentfoundation.org/api/changes/36050919/?format=api" }, { "unit": "https://translations.documentfoundation.org/api/units/98673311/?format=api", "component": "https://translations.documentfoundation.org/api/components/libo_help-7-6/textsbasicpython/?format=api", "translation": "https://translations.documentfoundation.org/api/translations/libo_help-7-6/textsbasicpython/zh_Hans/?format=api", "user": null, "author": null, "timestamp": "2023-09-11T22:31:52.197014Z", "action": 59, "target": "此 Python 示例将本地 XSCRIPTCONTEXT 变量暴露给导入的模块:", "id": 36050918, "action_name": "String updated in the repository", "url": "https://translations.documentfoundation.org/api/changes/36050918/?format=api" }, { "unit": "https://translations.documentfoundation.org/api/units/98673308/?format=api", "component": "https://translations.documentfoundation.org/api/components/libo_help-7-6/textsbasicpython/?format=api", "translation": "https://translations.documentfoundation.org/api/translations/libo_help-7-6/textsbasicpython/zh_Hans/?format=api", "user": null, "author": null, "timestamp": "2023-09-11T22:31:52.196973Z", "action": 59, "target": "# 您的代码在此继续", "id": 36050917, "action_name": "String updated in the repository", "url": "https://translations.documentfoundation.org/api/changes/36050917/?format=api" }, { "unit": "https://translations.documentfoundation.org/api/units/98673305/?format=api", "component": "https://translations.documentfoundation.org/api/components/libo_help-7-6/textsbasicpython/?format=api", "translation": "https://translations.documentfoundation.org/api/translations/libo_help-7-6/textsbasicpython/zh_Hans/?format=api", "user": null, "author": null, "timestamp": "2023-09-11T22:31:52.196932Z", "action": 59, "target": "import screen_io as ui # 「screen_io.py」模块位于 user_lib 目录", "id": 36050916, "action_name": "String updated in the repository", "url": "https://translations.documentfoundation.org/api/changes/36050916/?format=api" }, { "unit": "https://translations.documentfoundation.org/api/units/98673299/?format=api", "component": "https://translations.documentfoundation.org/api/components/libo_help-7-6/textsbasicpython/?format=api", "translation": "https://translations.documentfoundation.org/api/translations/libo_help-7-6/textsbasicpython/zh_Hans/?format=api", "user": null, "author": null, "timestamp": "2023-09-11T22:31:52.196889Z", "action": 59, "target": "sys.path.insert(0, user_lib) # 添加到搜索路径", "id": 36050915, "action_name": "String updated in the repository", "url": "https://translations.documentfoundation.org/api/changes/36050915/?format=api" }, { "unit": "https://translations.documentfoundation.org/api/units/98673292/?format=api", "component": "https://translations.documentfoundation.org/api/components/libo_help-7-6/textsbasicpython/?format=api", "translation": "https://translations.documentfoundation.org/api/translations/libo_help-7-6/textsbasicpython/zh_Hans/?format=api", "user": null, "author": null, "timestamp": "2023-09-11T22:31:52.196844Z", "action": 59, "target": "user_lib = Session().UserPythonScripts # 用户脚本位置", "id": 36050914, "action_name": "String updated in the repository", "url": "https://translations.documentfoundation.org/api/changes/36050914/?format=api" }, { "unit": "https://translations.documentfoundation.org/api/units/98673288/?format=api", "component": "https://translations.documentfoundation.org/api/components/libo_help-7-6/textsbasicpython/?format=api", "translation": "https://translations.documentfoundation.org/api/translations/libo_help-7-6/textsbasicpython/zh_Hans/?format=api", "user": null, "author": null, "timestamp": "2023-09-11T22:31:52.196800Z", "action": 59, "target": "将个人与共享的 Python 脚本的目录包含在 Python 运行时路径中, 就可以导入这些脚本。有关省略的「会话类」的详细信息, 请参阅<link href=\"text/sbasic/python/python_session.xhp\">获取会话信息</link>页面。", "id": 36050913, "action_name": "String updated in the repository", "url": "https://translations.documentfoundation.org/api/changes/36050913/?format=api" }, { "unit": "https://translations.documentfoundation.org/api/units/98673284/?format=api", "component": "https://translations.documentfoundation.org/api/components/libo_help-7-6/textsbasicpython/?format=api", "translation": "https://translations.documentfoundation.org/api/translations/libo_help-7-6/textsbasicpython/zh_Hans/?format=api", "user": null, "author": null, "timestamp": "2023-09-11T22:31:52.196759Z", "action": 59, "target": "用户或共享模块", "id": 36050912, "action_name": "String updated in the repository", "url": "https://translations.documentfoundation.org/api/changes/36050912/?format=api" }, { "unit": "https://translations.documentfoundation.org/api/units/98673280/?format=api", "component": "https://translations.documentfoundation.org/api/components/libo_help-7-6/textsbasicpython/?format=api", "translation": "https://translations.documentfoundation.org/api/translations/libo_help-7-6/textsbasicpython/zh_Hans/?format=api", "user": null, "author": null, "timestamp": "2023-09-11T22:31:52.196719Z", "action": 59, "target": "文件系统模块导入", "id": 36050911, "action_name": "String updated in the repository", "url": "https://translations.documentfoundation.org/api/changes/36050911/?format=api" }, { "unit": "https://translations.documentfoundation.org/api/units/98673276/?format=api", "component": "https://translations.documentfoundation.org/api/components/libo_help-7-6/textsbasicpython/?format=api", "translation": "https://translations.documentfoundation.org/api/translations/libo_help-7-6/textsbasicpython/zh_Hans/?format=api", "user": null, "author": null, "timestamp": "2023-09-11T22:31:52.196679Z", "action": 59, "target": "请注意,从 <literal><User Profile>/Scripts/python</literal> 运行 Python 宏时, 总会在本地目录 <literal><User Profile>/Scripts/python/pythonpath</literal> 中查找。", "id": 36050910, "action_name": "String updated in the repository", "url": "https://translations.documentfoundation.org/api/changes/36050910/?format=api" }, { "unit": "https://translations.documentfoundation.org/api/units/98673273/?format=api", "component": "https://translations.documentfoundation.org/api/components/libo_help-7-6/textsbasicpython/?format=api", "translation": "https://translations.documentfoundation.org/api/translations/libo_help-7-6/textsbasicpython/zh_Hans/?format=api", "user": null, "author": null, "timestamp": "2023-09-11T22:31:52.196634Z", "action": 59, "target": "针对基于文件系统的模块与基于文档的模块展示该机制。为简明起见, 异常处理已省略。术语「库」与「目录」同义,「脚本」与「模块」同义,会交替使用。「Python 宏」指模块内的函数。", "id": 36050909, "action_name": "String updated in the repository", "url": "https://translations.documentfoundation.org/api/changes/36050909/?format=api" }, { "unit": "https://translations.documentfoundation.org/api/units/98673267/?format=api", "component": "https://translations.documentfoundation.org/api/components/libo_help-7-6/textsbasicpython/?format=api", "translation": "https://translations.documentfoundation.org/api/translations/libo_help-7-6/textsbasicpython/zh_Hans/?format=api", "user": null, "author": null, "timestamp": "2023-09-11T22:31:52.196588Z", "action": 59, "target": "%PRODUCTNAME Python 脚本有三种不同的分类, 分别为「个人」「共享」或「文档内嵌」。它们存储在 <link href=\"text/sbasic/python/python_locations.xhp\">Python 脚本组织与位置</link> 中描述的不同位置。要导入 Python 模块, 模块必须位于 Python 运行时已知的位置。", "id": 36050908, "action_name": "String updated in the repository", "url": "https://translations.documentfoundation.org/api/changes/36050908/?format=api" }, { "unit": "https://translations.documentfoundation.org/api/units/98673263/?format=api", "component": "https://translations.documentfoundation.org/api/components/libo_help-7-6/textsbasicpython/?format=api", "translation": "https://translations.documentfoundation.org/api/translations/libo_help-7-6/textsbasicpython/zh_Hans/?format=api", "user": null, "author": null, "timestamp": "2023-09-11T22:31:52.196544Z", "action": 59, "target": "<variable id=\"pythonimporth1\"><link href=\"text/sbasic/python/python_import.xhp\">导入 Python 模块</link></variable>", "id": 36050907, "action_name": "String updated in the repository", "url": "https://translations.documentfoundation.org/api/changes/36050907/?format=api" }, { "unit": "https://translations.documentfoundation.org/api/units/98673260/?format=api", "component": "https://translations.documentfoundation.org/api/components/libo_help-7-6/textsbasicpython/?format=api", "translation": "https://translations.documentfoundation.org/api/translations/libo_help-7-6/textsbasicpython/zh_Hans/?format=api", "user": null, "author": null, "timestamp": "2023-09-11T22:31:52.196500Z", "action": 59, "target": "<bookmark_value>Python;导入</bookmark_value> <bookmark_value>Python;模块</bookmark_value> <bookmark_value>Python;pythonpath</bookmark_value> <bookmark_value>PythonLibraries</bookmark_value>", "id": 36050906, "action_name": "String updated in the repository", "url": "https://translations.documentfoundation.org/api/changes/36050906/?format=api" }, { "unit": "https://translations.documentfoundation.org/api/units/98673255/?format=api", "component": "https://translations.documentfoundation.org/api/components/libo_help-7-6/textsbasicpython/?format=api", "translation": "https://translations.documentfoundation.org/api/translations/libo_help-7-6/textsbasicpython/zh_Hans/?format=api", "user": null, "author": null, "timestamp": "2023-09-11T22:31:52.196455Z", "action": 59, "target": "Python : 导入模块", "id": 36050905, "action_name": "String updated in the repository", "url": "https://translations.documentfoundation.org/api/changes/36050905/?format=api" }, { "unit": "https://translations.documentfoundation.org/api/units/98673250/?format=api", "component": "https://translations.documentfoundation.org/api/components/libo_help-7-6/textsbasicpython/?format=api", "translation": "https://translations.documentfoundation.org/api/translations/libo_help-7-6/textsbasicpython/zh_Hans/?format=api", "user": null, "author": null, "timestamp": "2023-09-11T22:31:52.196407Z", "action": 59, "target": "「<link href=\"https://extensions.libreoffice.org/extensions/apso-alternative-script-organizer-for-python\">替代 Python 脚本管理器 (APSO)</link>」扩展可简化 Python 脚本的编辑,尤其是当脚本内嵌于文档中时。使用 APSO,您可以配置偏好的源代码编辑器,或者启动集成的 Python shell 以便调试 Python 脚本。也存在可审查任意 UNO 对象的扩展,更多细节请参见《<link href=\"https://wiki.documentfoundation.org/Macros/Python_Design_Guide\">设计与开发 Python 应用程序</link>》。", "id": 36050904, "action_name": "String updated in the repository", "url": "https://translations.documentfoundation.org/api/changes/36050904/?format=api" }, { "unit": "https://translations.documentfoundation.org/api/units/98673247/?format=api", "component": "https://translations.documentfoundation.org/api/components/libo_help-7-6/textsbasicpython/?format=api", "translation": "https://translations.documentfoundation.org/api/translations/libo_help-7-6/textsbasicpython/zh_Hans/?format=api", "user": null, "author": null, "timestamp": "2023-09-11T22:31:52.196363Z", "action": 59, "target": "APSO 扩展", "id": 36050903, "action_name": "String updated in the repository", "url": "https://translations.documentfoundation.org/api/changes/36050903/?format=api" }, { "unit": "https://translations.documentfoundation.org/api/units/98673242/?format=api", "component": "https://translations.documentfoundation.org/api/components/libo_help-7-6/textsbasicpython/?format=api", "translation": "https://translations.documentfoundation.org/api/translations/libo_help-7-6/textsbasicpython/zh_Hans/?format=api", "user": null, "author": null, "timestamp": "2023-09-11T22:31:52.196316Z", "action": 59, "target": "与 %PRODUCTNAME 的 Basic 语言宏开发不同,为 %PRODUCTNAME 开发 Python 脚本需要配置一款外部集成开发环境 (IDE)。有多款 IDE 可供选择,适合初学者到骨灰级 Python 玩家。使用 Python IDE 可为开发者提供很多辅助功能,如语法高亮,代码折叠,类浏览,代码自动补全,编码标准适配,测试驱动开发,调试,版本控制等等。关于配置 IDE 与 %PRODUCTNAME 实例之间桥梁的更多深入信息,可参阅 Wiki 中的《<link href=\"https://wiki.documentfoundation.org/Macros/Python_Design_Guide\">设计与开发 Python 应用程序</link>》。", "id": 36050902, "action_name": "String updated in the repository", "url": "https://translations.documentfoundation.org/api/changes/36050902/?format=api" } ] }{ "count": 37649, "next": "