KiCad_Manual_zh_CN - en to zh translation catalogue (179 entries)

note: type: Plain text
en: _Reference manual_
zh: _参考手册_

note: type: Plain text
en: *Copyright*
zh: *版权*

note: type: Plain text
en: This document is Copyright (C) 2010-2023 by its contributors as listed below. You may distribute it and/or modify it under the terms of either the GNU General Public License (http://www.gnu.org/licenses/gpl.html), version 3 or later, or the Creative Commons Attribution License (http://creativecommons.org/licenses/by/3.0/), version 3.0 or later.
zh: 本文件的版权 (C) 2010-2023 由下列贡献者所拥有。您可以根据 GNU 通用公共许可证（http://www.gnu.org/licenses/gpl.html）第 3 版或更高版本，或知识共享署名许可证（http://creativecommons.org/licenses/by/3.0/）第 3.0 版或更高版本的条款发布它和/或修改它。

note: type: Plain text
en: All trademarks within this guide belong to their legitimate owners.
zh: 本指南中的所有商标均属于其合法所有者。

note: type: Plain text
en: *Contributors*
zh: *贡献人员*

note: type: Plain text
en: *Feedback*
zh: *反馈*

note: type: Plain text
en: The KiCad project welcomes feedback, bug reports, and suggestions related to the software or its documentation.  For more information on how to sumbit feedback or report an issue, please see the instructions at https://www.kicad.org/help/report-an-issue/
zh: KiCad 项目欢迎与本软件或其文档相关的反馈、错误报告和建议。  关于如何提交反馈意见或报告问题的更多信息，请参见 https://www.kicad.org/help/report-an-issue/ 的说明

note: type: Title ==
en: Introduction
zh: 简介

note: type: Plain text
en: KiCad is an open-source software suite for creating electronic circuit schematics and printed circuit boards (PCBs).  KiCad supports an integrated design workflow in which a schematic and corresponding PCB are designed together, as well as standalone workflows for special uses.  KiCad also includes several utilities to help with circuit and PCB design, including a PCB calculator for determining electrical properties of circuit structures, a Gerber viewer for inspecting manufacturing files, and an integrated SPICE simulator for inspecting circuit behavior.
zh: KiCad 是一款用于创建电子电路原理图和印刷电路板（PCB）的开源软件套件。  KiCad 支持综合设计工作流程，其中原理图和相应的 PCB 一起设计，也支持特殊用途的独立工作流程。  KiCad 还包括一些帮助电路和 PCB 设计的实用程序，包括用于确定电路结构电气属性的 PCB 计算器、用于检查制造文件的 Gerber 浏览器和用于检查电路行为的集成 SPICE 模拟器。

note: type: Plain text
en: KiCad runs on all major operating systems and a wide range of computer hardware.  It supports PCBs with up to 32 copper layers and is suitable for creating designs of all complexities.  KiCad is developed by a volunteer team of software and electrical engineers around the world with a mission of creating free and open-source electronics design software suitable for professional designers.
zh: KiCad 可在所有主要的操作系统和广泛的计算机硬件上运行。  它支持多达 32 个铜层的 PCB，适合创建各种复杂的设计。  KiCad 是由世界各地的软件和电气工程师组成的志愿者团队开发的，其使命是创建适合专业设计师的免费和开源的电子设计软件。

note: type: Plain text
en: The latest version of this documentation is available at https://docs.kicad.org.
zh: 该文件的最新版本可在 https://docs.kicad.org 。

note: type: Title ===
en: System Requirements
zh: 系统要求

note: type: Plain text
en: KiCad is capable of running on a wide variety of hardware and operating systems, but some tasks may be slower or more difficult on lower-end hardware.  For the best experience, a dedicated graphics card and display with 1920x1080 or higher resolution is recommended.
zh: KiCad 能够在多种硬件和操作系统上运行，但在低端硬件上执行某些任务可能会很慢或很困难。为获得最佳体验，建议使用 1920x1080 或更高分辨率的专用显卡和显示器。

note: type: Plain text
en: Please check the KiCad website for the latest system requirements: https://kicad.org/help/system-requirements/
zh: 有关最新的系统要求，请查看 KiCad 网站：https://kicad.org/help/system-requirements/

note: type: Title ===
en: KiCad files and folders
zh: KiCad 文件和文件夹

note: type: Plain text
en: KiCad creates and uses files with the following specific file extensions (and folders)  for schematic and board editing.
zh: KiCad 创建并使用具有以下特定文件扩展名（和文件夹）的文件进行原理图和电路板编辑。

note: type: Title ====
en: Project files
zh: 工程文件

note: type: Table
en: |`*.kicad_pro` |Project file, containing settings that are shared between the schematic and PCB
    |`*.pro` |Legacy (KiCad 5.x and earlier) project file.
    Can be read and will be converted to a `.kicad_pro` file by the project manager.
zh: | `*.kicad_pro` |工程文件，包含原理图和 PCB 之间共享的设置。
    | ``*.pro` |遗留 (KiCad 5.x 及更早版本)工程文件。
    可被读取，并将由工程管理器转换为 `.kicad_pro` 文件。

note: type: Title ====
en: Schematic editor files
zh: 原理图编辑器文件

note: type: Table
en: |`*.kicad_sch` |Schematic files containing all info and the components themselves.
    |`*.kicad_sym` |Schematic symbol library file, containing the component descriptions: graphic shape, pins, fields.
    |`*.sch` |Legacy (KiCad 5.x and earlier) schematic file.
    Can be read and will be converted to a `.kicad_sch` file on write.
    |`*.lib` |Legacy (KiCad 5.x and earlier) schematic library file. Can be read but not written.
    |`*.dcm` |Legacy (KiCad 5.x and earlier) schematic library documentation. Can be read but not written.
    |`*-cache.lib` |Legacy (KiCad 5.x and earlier) schematic component library cache file.
    Required for proper loading of a legacy schematic (`.sch`) file.
    |`sym-lib-table` |Symbol library table:
    list of symbol libraries available in the schematic editor.
zh: |`*.kicad_sch` |包含所有信息和元件本身的原理图文件。
    |`*.kicad_sym` |原理图符号库文件，包含元件描述：图形形状、引脚、字段。
    |`*.sch` |遗留 (KiCad 5.x 及更早版本)原理图文件。可以读取，写入时将转换为 `.kicad_sch` 文件。
    |`*.lib` |遗留（KiCad 5.x 及更早版本）原理图库文件。可以读取但不能写入。
    |`*.dcm` |遗留 (KiCad 5.x 及更早版本) 原理图库文件。可以读取但不能写入。
    |`*-cache.lib` |遗留 (KiCad 5.x 及更早版本) 原理图元件库缓存文件。为正确加载遗留原理图(`.sch`)文件所必需。
    |`sym-lib-table` |原理图编辑器中可用的符号库列表。

note: type: Title ====
en: Board editor files and folders
zh: PCB 编辑器的文件和文件夹

note: type: Table
en: |`*.kicad_pcb` |Board file containing all info but the page layout.
    |`*.pretty` |Footprint library folders. The folder itself is the library.
    |`*.kicad_mod` |Footprint files, containing one footprint description each.
    |`*.kicad_dru` |Design rules file, containing custom design rules for a certain `.kicad_pcb` file.
    |`*.brd` |Legacy (KiCad 4.x and earlier) board file.
    Can be read, but not written, by the current board editor.
    |`*.mod` |Legacy (KiCad 4.x and earlier) footprint library file.
    Can be read by the footprint or the board editor, but not written.
    |`fp-lib-table` |Footprint library table: 
    list of footprint libraries available in the board editor.
    |`fp-info-cache` |Cache to speed up loading of footprint libraries. Does not need to be distributed with the project or put under version control.
zh: |`*.kicad_pcb` |包含除页面布局外的所有信息的板块文件。
    |`*.pretty` |封装库文件夹。该文件夹本身就是库。
    |`*.kicad_mod` |封装文件，每个文件包含一个封装描述。
    |`*.kicad_dru` |设计规则文件，包含某个 `.kicad_pcb` 文件的自定义设计规则。
    |`*.brd` |遗留 (KiCad 4.x 及更早版本) PCB 文件.可以被当前的 PCB 编辑器读取，但不能写入。
    |`*.mod` |遗留 (KiCad 4.x 及更早版本) 封装库文件。可以被封装或 PCB 编辑器读取，但不能写入。
    |`fp-lib-table` |封装库表：在 PCB 编辑器中可用的封装库列表。
    |`fp-info-cache`|缓存，以加快加载封装库的速度。不需要与工程一起发布或置于版本控制之下。

note: type: Title ====
en: Common files
zh: 通用文件

note: type: Table
en: |`*.kicad_prl` |Local settings for the current project; helps Kicad remember
    the last used settings such as layer visibility or selection filter.
    May not need to be distributed with the project or put under version control.
    |`*.kicad_wks` |Page layout (drawing border and title block) description file
    |`*.net` |Netlist file created from the schematic, and read by the board editor.
    Note that the
    xref:../pcbnew/pcbnew_editing.adoc#forward-and-back-annotation[recommended
    workflow for transferring information from the schematic to the board] does not
    require the use of netlist files.
    |`*.cmp` |Association between components used in the schematic and their footprints.
    It can be created by the Board Editor and imported by the Schematic Editor.
    Its purpose is to import changes from the board to the schematic, for users
    who change footprints in the Board Editor (for instance using **Exchange
    Footprints** command) and want to import these changes back to the schematic.
    xref:../pcbnew/pcbnew_editing.adoc#forward-and-back-annotation[recommended
    workflow for transferring information from the board to the schematic] does not
    require the use of `.cmp` files.
zh: | `*.kicad_prl` | 当前工程的本地设置；帮助 Kicad 记住最后一次使用的设置，如图层可见性或选择筛选器。可能不需要与工程一起分发或放在版本控制下。
    | `*.kicad_wks` | 图框布局（绘图边界和标题块）描述文件
    | `*.net` | 从原理图创建的网表文件，由电路板编辑器读取。请注意，xref:../pcbnew/pcbnew_editing.adoc#forward-and-back-annotation[从原理图向电路板传输信息的推荐工作流程] 不要求使用网表文件。
    | `*.cmp` | 原理图中使用的元件与它们的封装之间的关联。它可以由 PCB 编辑器创建，并由原理图编辑器导入。它的目的是将 PCB 上的变化导入原理图，供那些在 PCB 编辑器中改变封装（例如使用* *交换封装** 命令）并希望将这些变化导入原理图的用户使用。xref:../pcbnew/pcbnew_editing.adoc#forward-and-back-annotation[从 PCB 到原理图传输信息的推荐工作流程] 不需要使用 `.cmp` 文件。

note: type: Title ====
en: Fabrication and documentation files
zh: 制造和文档文件

note: type: Table
en: |`*.gbr` |Gerber files, for fabrication.
    |`*.drl` |Drill files (Excellon format), for fabrication.
    |`*.pos` |Position files (ASCII format), for automatic insertion machines.
    |`*.rpt` |Report files (ASCII format), for documentation.
    |`*.ps`  |Plot files (Postscript), for documentation.
    |`*.pdf` |Plot files (PDF format), for documentation.
    |`*.svg` |Plot files (SVG format), for documentation.
    |`*.dxf` |Plot files (DXF format), for documentation.
    |`*.plt` |Plot files (HPGL format), for documentation.
zh: |`*.gbr` |Gerber 文件，用于制造。
    |`*.drl` |钻孔文件（Excellon 格式），用于制造。
    |`*.pos` |位置文件（ASCII 格式），用于自动贴片机。
    |`*.rpt` |报告文件（ASCII 格式），用于记录。
    |`*.ps` |图表文件（Postscript），用于文档。
    |`*.pdf` |图表文件(PDF 格式)，用于文档。
    |`*.svg` |绘图文件（SVG 格式），用于文档。
    |`*.dxf` |图表文件(DXF 格式)，用于文档。
    |`*.plt` |绘图文件(HPGL 格式)，用于文档。

note: type: Title ====
en: Storing and sending KiCad files
zh: 储存和发送 KiCad 文件

note: type: Plain text
en: KiCad schematic and board files contain all the schematic symbols and footprints used in the design, so you can back up or send these files by themselves with no issue.  Some important design information is stored in the project file (`.kicad_pro`), so if you are sending a complete design, make sure to include it.
zh: KiCad 原理图和电路板文件包含设计中使用的所有原理图符号和封装，因此您可以自行备份或发送这些文件，不会有任何问题。 一些重要的设计信息存储在工程文件（`.kicad_pro`）中，所以如果你要发送一个完整的设计，请确保包含这些信息。

note: type: Plain text
en: Some files, such as the project-local settings file (`.kicad_prl`) and the `fp-info-cache` file, are not necessary to send with your project.  If you use a version control system such as Git to keep track of your KiCad projects, you may want to add these files to the list of ignored files so that they are not tracked.
zh: 有些文件，如工程本地设置文件（`.kicad_prl`）和 `fp-info-cache` 文件，没有必要与工程一起发送。 如果你使用版本控制系统（如 Git）来跟踪你的 KiCad 工程，你可能想把这些文件添加到被忽略的文件列表中，这样它们就不会被跟踪了。

note: type: Title ==
en: Installing and Upgrading KiCad
zh: 安装和升级 KiCad

note: type: Title ===
en: Importing settings
zh: 导入设置

note: type: Plain text
en: Each major release of KiCad has its own configuration, so that you may run multiple KiCad versions on the same computer without the configurations interfering.  The first time you run a new version of KiCad, you will be asked how to initialize the settings:
zh: KiCad 的每个主要版本都有自己的配置，因此您可以在同一台计算机上运行多个 KiCad 版本，而不会干扰配置。首次运行新版本的 KiCad 时，系统将询问如何初始化设置：

note: type: Target for macro image
en: images/configure_settings.png
zh: images/zh/configure_settings.png

note: type: Plain text
en: If a previous version of KiCad is detected, you will have the option to import the settings from that version.  The location of the previous configuration files is detected automatically, but you may override it to choose another location if desired.
zh: 如果检测到以前版本的 KiCad，您可以选择从该版本导入设置。系统会自动检测以前配置文件的位置，但如果需要，您可以覆盖该位置以选择其他位置。

note: type: Plain text
en: Please note that, the schematic symbol and footprint library tables from the previous version of KiCad will **not** be imported.
zh: 请注意，KiCad 前一版本的原理图符号和封装库表将 **不会** 被导入。

note: type: Plain text
en: You may also choose to start with default settings if you do not want to import settings from a previous version.
zh: 如果您不想从以前的版本导入设置，也可以选择从默认设置开始。

note: type: Plain text
en: KiCad stores the settings files in a folder inside your user directory.  Each KiCad version will store its settings in a subfolder of that folder (except for KiCad 5.1 and earlier, which did not use subfolders).  Those folders are:
zh: KiCad 将设置文件存储在用户目录内的文件夹中。每个 KiCad 版本都会将其设置存储在该文件夹的子文件夹中 (KiCad 5.1 及更早版本除外，它不使用子文件夹)。这些文件夹是：

note: type: Title ===
en: Migrating files from previous versions
zh: 从早期版本迁移文件

note: type: Plain text
en: Modern versions of KiCad can open files created in earlier versions, but can only write files in the latest formats.  This means that in general, there are no special steps to migrate files from a previous version besides opening the files.  In some cases, the file extension for a file has changed from one KiCad version to the next.  After opening these files, they will be saved in the new format with the new file extension.  The old files will not be deleted automatically.
zh: 现代版本的 KiCad 可以打开在早期版本中创建的文件，但只能写入最新格式的文件。这意味着，通常情况下，除了打开文件外，从以前版本迁移文件不需要特殊步骤。在某些情况下，文件的扩展名从一个 KiCad 版本更改到下一个版本。打开这些文件后，它们将以新的文件扩展名以新格式保存。旧文件不会自动删除。

note: type: Plain text
en: In general, files created or modified by one version of KiCad **cannot** be opened by older versions of KiCad.  For this reason, it is important to keep backup copies of your projects when testing a new KiCad release, until you are confident that you will not need to use the older KiCad version anymore.
zh: 一般来说，一个新版本的 KiCad 创建或修改的文件 **不能** 被旧版本的 KiCad 打开。因此，在测试新的 KiCad 版本时保留项目的备份副本非常重要，直到您确信不再需要使用旧的 KiCad 版本。

note: type: Plain text
en: Hotkey configurations are not imported from previous versions at this time.  You can manually
          import hotkey configurations by copying the various `*.hotkeys` files from the old version
          configuration directory to the new one.  If you do so, please note that KiCad will not
          automatically detect conflicts such as one key being assigned to multiple actions.
zh: 目前不会从以前的版本导入快捷键配置。您可以通过将各种 `*.hotkeys` 文件从旧版本配置目录复制到新版本配置目录中，手动导入快捷键配置。如果这样做，请注意 KiCad 不会自动检测冲突，例如一个键被分配给多个操作。

note: type: Title ==
en: Using KiCad project manager
zh: 使用 KiCad 工程管理器

note: type: Plain text
en: KiCad project manager (kicad or kicad.exe) is a tool which can easily run the other tools (schematic and board editors, Gerber viewer and utility tools) when creating a design.
zh: KiCad 工程管理器 (kicad 或 kicad.exe) 是一个在创建设计时可以轻松运行其他工具 (原理图和电路板编辑器、Gerber 查看器和实用工具) 的工具。

note: type: Plain text
en: Running the other tools from KiCad manager has some advantages:
zh: 从 KiCad 管理器运行其他工具有一些优点：

note: type: Plain text
en: cross probing between schematic editor and board editor.
zh: 在原理图编辑器和电路板编辑器之间交叉探测。

note: type: Plain text
en: synchronization of the design between the schematic editor and board editor (without creating netlist files)
zh: 原理图编辑器和电路板编辑器之间的设计同步 (无需创建网表文件)

note: type: Plain text
en: KiCad currently only supports having one project open at a time.  When running the schematic and board editors from the KiCad project manager, you can only edit the schematics and board associated with the open project.  When these tools are run in _standalone_ mode, you can open any file in any project, but cross probing between tools can give strange results.
zh: KiCad 目前只支持一次打开一个工程。 当从 KiCad 工程管理器中运行原理图和 PCB 编辑器时，你只能编辑与打开的工程相关的原理图和 PCB。 当这些工具以_独立模式运行时，你可以打开任何工程中的任何文件，但是工具之间的交叉探测会产生奇怪的结果。

note: type: Title ===
en: Project manager window
zh: 工程管理器窗口

note: type: Target for macro image
en: images/main_window.png
zh: images/zh/main_window.png

note: type: Plain text
en: The KiCad project manager window is composed of a tree view on the left showing the files associated with the open project, and a launcher on the right containing shortcuts to the various editors and tools.
zh: KiCad 工程管理器窗口由左侧的工作区视图和右侧的启动器组成，前者显示与打开的工程相关的文件，后者则包含各种编辑器和工具的快捷方式。

note: type: Title ===
en: Project tree view
zh: 工程工作区视图

note: type: Plain text
en: The tree view shows a list of files inside the project folder.  Double-clicking on a file in the tree view will open it in the associated editor.  Right-clicking on a file will open a context menu with some file manipulation commands.
zh: 工作区视图显示工程文件夹内的文件列表。  在工作区视图中双击一个文件将在相关的编辑器中打开它。  右键点击一个文件将打开一个包含一些文件操作命令的上下文菜单。

note: type: Target for macro image
en: images/project_tree.png
zh: images/zh/project_tree.png

note: type: Plain text
en: Only files that KiCad understands how to open are displayed in the project tree view.
zh: 只有 KiCad 知道如何打开的文件才会显示在工程工作区视图中。

note: type: Title ===
en: Side toolbar
zh: 侧面工具栏

note: type: Plain text
en: The toolbar on the left side of the window provides shortcuts for common project operations:
zh: 窗口左侧的工具栏为常见的工程操作提供快捷键：

note: type: Table
en: |image:images/icons/new_project_24.png[]
    |Create a new project.
    |image:images/icons/open_project_24.png[]
    |Open an existing project.
    |image:images/icons/zip_24.png[]
    |Create a zip archive of the whole project. This includes schematic
    files, libraries, PCB, etc.
    |image:images/icons/unzip_24.png[]
    |Extract a project zip archive into a directory. Files in the destination
    directory will be overwritten.
    |image:images/icons/reload_24.png[]
    |Refresh the tree view, to detect changes made on the filesystem.
    |image:images/icons/directory_browser_24.png[]
    |Open the project working directory in a file explorer.
zh: |image:images/icons/new_project_24.png[] 
    |创建一个新的工程。
    |image:images/icons/open_project_24.png[] 
    |打开一个现有的工程。
    |image:images/icons/zip_24.png[]
    |创建整个工程的压缩文件。
    这包括原理图文件、库、PCB 等。
    |image:images/icons/unzip_24.png[] 
    |将工程压缩文件解压到一个目录中。
    目标目录中的文件将被覆盖。
    |image:images/icons/reload_24.png[]
    |刷新工作区视图，以检测文件系统上的变化。
    |image:images/icons/directory_browser_24.png[]
    |在文件资源管理器中打开工程工作目录。

note: type: Title ===
en: Creating a new project
zh: 创建一个新工程

note: type: Plain text
en: Most KiCad designs start with the creation of a project.  There are two ways to create a project from the KiCad project manager: you may create an empty project, or create a project based on an existing template.  This section will cover the creation of a new, empty project.  Creating projects from templates is covered in the <<project-templates,Project Templates>> section.
zh: 大多数 KiCad 设计都是从创建工程开始的。从 KiCad 工程管理器创建工程有两种方式：可以创建空工程，也可以基于现有模板创建工程。本节将介绍如何创建一个新的空工程。从模板创建工程在 《工程 - 模板，工程模板》一节中介绍。

note: type: Plain text
en: To create a new project, use the **New Project...** command in the **File** menu, click the **New Project** button in the top toolbar, or use the keyboard shortcut (`Ctrl+N` by default).
zh: 若要创建新工程，请使用 **文件** 菜单中的 **新建工程...** 命令，或单击顶部工具栏中的 **新建工程** 按钮，或使用键盘快捷键 (默认为 `Ctrl+N`)。

note: type: Plain text
en: You will be prompted for a name to give your project.  By default, a directory will be created for your project with the same name.  For example, if you enter the name `MyProject`, KiCad will create the directory `MyProject` and the project file `MyProject/MyProject.kicad_pro` inside it.
zh: 系统将提示您输入工程名称。默认情况下，将使用相同的名称为您的工程创建一个目录。例如输入名称 `MyProject`，KiCad 会在其中创建 `MyProject` 目录和工程文件 `MyProject/MyProject.kicad_pro`。

note: type: Plain text
en: If you already have a directory to store your project files in, you can uncheck the _Create a new directory for the project_ checkbox in the **New Project** dialog.
zh: 如果您已经有一个存储工程文件的目录，可以在 **新建工程** 对话框中取消选中 _为工程创建新目录_ 复选框。

note: type: Plain text
en: It is strongly recommended that you store each KiCad project inside its own directory.
zh: 强烈建议您将每个 KiCad 工程保存在其自己的目录中。

note: type: Plain text
en: Once you select the name of your project, KiCad will create the following files inside the project directory:
zh: 选择工程名称后，KiCad 将在工程目录中创建以下文件：

note: type: Table
en: |`example.kicad_pro` |KiCad project file.
    |`example.kicad_sch` |Main schematic file.
    |`example.kicad_pcb` |Printed circuit board file.
zh: |`example.kicad_pro` |KiCad 工程文件。
    |`example.kicad_sch` |主原理图文件。
    |`example.kicad_pcb` |PCB 文件。

note: type: Title ===
en: Importing a project from another EDA tool
zh: 从其他 EDA 工具导入工程

note: type: Plain text
en: KiCad is able to import files created by some other software packages. Currently the following types of project are supported:
zh: KiCad 可以导入由其他一些软件包创建的文件。目前支持以下工程类型：

note: type: Table
en: |`\*.sch`, `*.brd` |Eagle 6.x or newer (XML format)
    |`\*.csa`, `*.cpa` |CADSTAR archive format
zh: |`*.sch`, `*.brd` |Eagle 6.x 或更新版本(XML 格式)
    |`*.csa`, `*.cpa` |CADSTAR 格式

note: type: Plain text
en: To import a project from one of these tools, choose the appropriate option from the **Import Non-KiCad Project** submenu of the **File** menu.
zh: 要从这些工具中导入工程，请在 **文件** 菜单的 **导入非 KiCad 工程** 子菜单中选择合适的选项。

note: type: Plain text
en: You will be prompted to select either a schematic or a board file in the import file browser dialog. The imported schematic and board files should have the same base file name (e.g.  project.sch and project.brd). Once the requested files are selected, you will be asked to select a directory to store the resulting KiCad project.
zh: 系统将提示您在导入文件浏览器对话框中选择原理图或电路板文件。导入的原理图和电路板文件应具有相同的基本文件名 (例如，project.sch 和 project.brd)。一旦选择了请求的文件，系统将要求您选择一个目录来存储生成的 KiCad 工程。

note: type: Title ==
en: KiCad configuration
zh: KiCad 配置

note: type: Plain text
en: The KiCad preferences can always be accessed from the **Preferences** menu, or by using the hotkey (default `Ctrl+,`). The Preferences dialog is shared between the running KiCad tools.  Some preferences apply to all tools, and some are specific to a certain tool (such as the schematic or board editor).
zh: KiCad 偏好设置始终可以从 **偏好设置** 菜单访问，也可以使用快捷键 (默认为 `Ctrl+,`)访问。
    偏好设置对话框在运行的 KiCad 工具之间共享。有些偏好设置适用于所有工具，有些则特定于某个工具 (如原理图或电路板编辑器)。

note: type: Title ===
en: Common preferences
zh: 共同偏好设置

note: type: Target for macro image
en: images/preferences_common.png
zh: images/zh/preferences_common.png

note: type: Plain text
en: **Accelerated graphics antialising:** KiCad can use different methods to prevent aliasing
    (jagged lines) when rendering using a graphics card.  Different methods may look better on
    different hardware, so you may want to experiment to find the one that looks best to you.
zh: **硬件加速抗锯齿：** KiCad 在使用显卡渲染时可以使用不同的方法来防止走样 (锯齿线)。
    不同的方法在不同的硬件上可能看起来更好，所以您可能想要尝试一下，找出对您来说最好的一种。

note: type: Plain text
en: **Fallback graphics antialiasing:** KiCad can also apply antialiasing when using the fallback
    graphics mode.  Enabling this feature may result in poor performance on some hardware.
zh: **软件加速抗锯齿：** KiCad 在使用软件加速模式时也可以应用抗锯齿。
    启用此功能可能会导致某些硬件的性能下降。

note: type: Plain text
en: **Text editor:** Choose a text editor to use when opening text files from the project tree view.
zh: **文本编辑器：** 选择从工程工作区视图打开文本文件时要使用的文本编辑器。

note: type: Plain text
en: **PDF viewer:** Choose a program to use when opening PDF files.
zh: **PDF 阅读器：** 选择一个在打开 PDF 文件时使用的程序。

note: type: Plain text
en: **Show icons in menus:** Enables icons in drop-down menus throughout the KiCad user interface.
zh: **在菜单中显示图标：** 在整个 KiCad 用户界面中启用下拉菜单中的图标。

note: type: Plain text
en: Icons in menus are not displayed on some operating systems.
zh: 菜单中的图标在某些操作系统上不显示。

note: type: Plain text
en: **Show scrollbars in editors:** When enabled, scrollbars are displayed next to the editing
    canvases in each tool. When disabled, scrollbars are not shown.
zh: **在编辑器中显示滚动条：** 当启用时，滚动条会显示在每个工具的编辑画布旁边。当禁用时，不显示滚动条。

note: type: Plain text
en: **Focus follows mouse between schematic and PCB editors:** When enabled, the window under the
    mouse cursor will automatically become focused.
zh: **在原理图和 PCB 编辑器之间焦点跟随鼠标：** 启用后，鼠标指针下的窗口将自动成为焦点。

note: type: Plain text
en: **Icon scale:** Sets the size of the icons used in menus and buttons throughout KiCad.  Choose
    _Automatic_ to pick an appropriate icon scale automatically based on your operating system
    settings.
zh: **图标比例：** 设置 KiCad 中菜单和按钮使用的图标大小。选择 _自动_ 根据您的操作系统设置自动选择合适的图标比例。

note: type: Plain text
en: **Icon theme:** Sets whether to use the icon theme designed for light window backgrounds or dark
    window backgrounds.  The default setting of Automatic will choose the theme based on the lightness
    of the operating system window theme.
zh: **图标主题：** 设置是为浅色窗口背景设计的图标主题，还是为深色窗口背景设计的图标主题。
    自动的默认设置将根据操作系统窗口主题的亮度选择主题。

note: type: Plain text
en: **High-contrast mode dimming factor:** Sets how much non-focused items are
    dimmed in high-contrast display mode.
zh: **高对比度模式的调光系数：** 设定在高对比度显示模式下非焦点项目的调光程度。

note: type: Plain text
en: **Warp mouse to origin of moved object:** When enabled, the mouse cursor will be repositioned
    (warped) to the origin of an object when you start a move command on that object.
zh: **将鼠标扭曲到移动对象的原点：** 启用后，当您在对象上启动移动命令时，鼠标光标将重新定位 (扭曲) 到该对象的原点。

note: type: Plain text
en: **First hotkey selects tool:** When disabled, pressing the hotkey for a command such as _Add Wire_
    will immediately start the command at the current cursor location.  When enabled, pressing the
    hotkey the first time will just select the _Add Wire_ tool but will not immediately begin a wire.
zh: **第一个快捷键选择工具：** 禁用时，按下 _添加线_ 等命令的快捷键将立即在当前光标位置启动该命令。
    启用后，第一次按快捷键将仅选择 _添加线_ 工具，但不会立即开始一条线。

note: type: Plain text
en: **Remember open files for next project launch:** When enabled, KiCad will automatically re-open any
    files that were previously open when a project is re-opened.
zh: **记住下次启动项目时打开的文件：** 启用后，当重新打开工程时，KiCad 会自动重新打开之前打开的所有文件。

note: type: Plain text
en: **Auto save:** When editing schematics and board files, KiCad can automatically save your work
    periodically.  Set to `0` to disable this feature.
zh: **自动保存：** 在编辑原理图和电路板文件时，KiCad 会定期自动保存您的工作。设置为 `0` 将禁用此功能。

note: type: Plain text
en: **File history size:** Configure the number of entries in the list of recently-opened files
zh: **文件历史大小：** 配置最近打开的文件列表中的条目数

note: type: Plain text
en: **3D cache file duration:** KiCad creates a cache of 3D models in order to speed up the 3D viewer.
    You can configure how long to keep this cache before deleting old files.
zh: **3D 缓存文件时长：** KiCad 创建 3D 模型缓存，以提高 3D 观看速度。
    您可以配置在删除旧文件之前保留此缓存的时间。

note: type: Plain text
en: **Automatically backup projects:** When enabled, KiCad projects will be archived to ZIP files
    automatically according to the settings below.  The archives will be stored in a subfolder of the
    project folder.  Backups are created when saving files in the project.
zh: **自动备份工程：**开启后，KiCad 工程将根据以下设置自动存档为 ZIP 文件。
    存档将保存在工程文件夹的子文件夹中。
    在工程中保存文件时会创建备份。

note: type: Plain text
en: **Create backups when auto save occurs:** When enabled, a backup will be created every time an
    automatic file save occurs (if the backup is permitted by the settings below).  This setting has
    no effect if the auto save interval is set to `0` (disabled).
zh: **自动保存时创建备份：** 启用后，每次自动保存文件时都会创建备份 (如果下面的设置允许备份)。
    如果自动保存间隔设置为 `0` (禁用)，则此设置无效。

note: type: Plain text
en: **Maximum backups to keep:** When creating a new backup, the oldest backup file will be deleted to
    keep the total number of backup files below this limit.
zh: **要保留的最大备份数：** 创建新备份时，将删除最旧的备份文件，以将备份文件总数控制在此限制以下。

note: type: Plain text
en: **Maximum backups per day:** When creating a new backup, the oldest backup file created on the
    current day will be deleted to stay below this limit.
zh: **每日最大备份次数：** 新建备份时，将删除当天创建的最旧备份文件，使其保持在该限制以下。

note: type: Plain text
en: **Minimum time between backups:** If backup is triggered (for example, by saving a board file),
    the backup will not be created if an existing backup file is newer than this limit.
zh: **最小备份间隔时间：** 如果触发备份 (例如保存电路板文件)，如果已有备份文件超过该限制，则不会创建备份。

note: type: Plain text
en: **Maximum total backup size:** When creating a new backup file, the oldest backup files will be
    deleted to keep the total size of the backup files directory below this limit.
zh: **最大总备份大小：** 创建新的备份文件时，将删除最旧的备份文件，以使备份文件目录的总大小低于该限制。

note: type: Title ===
en: Mouse and touchpad preferences
zh: 鼠标和触摸板偏好设置

note: type: Target for macro image
en: images/preferences_mouse_and_touchpad.png
zh: images/zh/preferences_mouse_and_touchpad.png

note: type: Plain text
en: **Center and warp cursor on zoom:** When enabled, zooming using the hotkeys or mouse wheel will
    cause the view to be centered on the cursor location.
zh: **缩放时居中和扭曲光标：** 启用后，使用快捷键或鼠标滚轮进行缩放将导致视图在光标位置居中。

note: type: Plain text
en: **Use zoom acceleration:** When enabled, scrolling the mouse wheel or touchpad faster will cause
    the zoom to change faster.
zh: **使用缩放加速：** 启用后，滚动鼠标滚轮或触摸板的速度越快，缩放的变化也会越快。

note: type: Plain text
en: **Zoom speed:** Controls how much the zoom changes for a given amount of scrolling the mouse wheel
    or touchpad.  Use _Automatic_ to set a default value depending on your operating system.
zh: **缩放速度：** 控制鼠标滚轮或触摸板滚动一定量时的缩放变化量。
    使用 _自动_ 根据您的操作系统设置默认值。

note: type: Plain text
en: **Automatically pan while moving object:** When enabled, the view can be panned while moving an
    object by moving close to the edge of the canvas.
zh: **移动对象时自动平移：** 开启后，可以通过靠近画布边缘的方式在移动对象时平移视图。

note: type: Plain text
en: **Auto pan speed:** Controls how fast the canvas pans while moving an object.
zh: **自动平移速度：** 控制画布移动对象时的平移速度。

note: type: Plain text
en: **Mouse buttons:** You can set the behavior of dragging the middle and right mouse buttons to zoom
    the view, pan the view, or have no effect.  You can also set the behavior of dragging the left
    mouse button depending on whether or not any objects are already selected in the editing canvas.
zh: **鼠标键：** 您可以设置拖动鼠标中键和鼠标右键来缩放视图、平移视图或无效果的行为。
    您还可以根据编辑画布中是否已选择任何对象来设置拖动鼠标左键的行为。

note: type: Plain text
en: The left mouse button is always used for selecting and manipulating objects.
zh: 鼠标左键始终用于选择和操作对象。

note: type: Plain text
en: **Mouse wheel and touchpad scrolling:** You can set the behavior of scrolling the mouse wheel or
    vertical motion of the touchpad while pressing certain modifier keys.
zh: **鼠标滚轮和触摸板滚动：** 您可以设置在按特定修改键的同时滚动鼠标滚轮或触摸板垂直运动的行为。

note: type: Plain text
en: **Pan left/right with horizontal movement:** When enabled, you can pan the view using the touchpad
    or horizontal scroll wheel (if present on your mouse).
zh: **触摸板水平移动左右平移：** 启用后，您可以使用触摸板或水平滚轮 (如果鼠标上有) 平移视图。

note: type: Title ===
en: Hotkey preferences
zh: 快捷键偏好设置

note: type: Target for macro image
en: images/preferences_hotkeys.png
zh: images/zh/preferences_hotkeys.png

note: type: Plain text
en: You can use this dialog to customize the hotkeys used to control KiCad.  The hotkeys in the _Common_ section are shared between every KiCad program. Hotkeys for each specific KiCad program are shown when that program is running.  You can assign the same hotkey to a different action in different KiCad programs (for example, the schematic editor and the board editor), but you cannot assign a hotkey to more than one action in the same program.
zh: 可以使用此对话框自定义用于控制 KiCad 的快捷键。_公用_ 部分中的快捷键在每个 KiCad 程序之间共享。当程序运行时，会显示每个特定 KiCad 程序的快捷键。您可以将相同的快捷键分配给不同 KiCad 程序 (例如原理图编辑器和电路板编辑器) 中的不同操作，但不能将一个快捷键分配给同一程序中的多个操作。

note: type: Plain text
en: There are many available commands, and so not all of them have a hotkey assigned by default.  You can add a hotkey to any command by double-clicking on the command in the list.  If you choose a hotkey that is already assigned to a different command, you can choose to use that hotkey on your chosen command, which will remove the hotkey assignment from the conflicting command.
zh: 有许多可用命令，因此并非所有命令都默认分配了快捷键。您可以通过双击列表中的命令将快捷键添加到任何命令。如果选择已分配给其他命令的快捷键，则可以选择在所选命令上使用该快捷键，这将从冲突的命令中删除指定的快捷键。

note: type: Plain text
en: Changes that you have made to hotkey assignments are shown with a `*` character at the end of the command name.  You can undo changes to a specific command by right-clicking that command and selecting **Undo Changes**, or you can undo all changes with the button below the command list.
zh: 你对快捷键分配所做的改变会在命令名称的末尾显示一个 `\*` 字符。 你可以通过右键单击某个特定的命令并选择 **撤销更改** 来撤销对该命令的更改，或者你可以通过命令列表下面的按钮撤销所有的更改。

note: type: Plain text
en: **Importing hotkeys**
zh: **导入快捷键**

note: type: Plain text
en: Hotkey preferences are stored in `.hotkeys` files in the KiCad settings directory (see the <<settings,Settings>> section for information about where the settings directory is on your operating system).  If you have configured KiCad hotkeys the way you like on one computer, you can transfer that configuration to another computer by importing the appropriate `.hotkeys` file(s).
zh: 快捷键偏好设置存储在 KiCad 设置目录的 `.hotkeys` 文件中 (有关设置目录在操作系统上的位置，请参阅 《设置，设置》一节)。如果您在一台计算机上以您喜欢的方式配置了 KiCad 快捷键，则可以通过导入适当的 `.hotkeys` 文件将该配置传输到另一台计算机。

note: type: Title ===
en: Paths configuration
zh: 路径配置

note: type: Plain text
en: In KiCad, one can define paths using an *environment variable*.  A few environment variables are internally defined by KiCad, and can be used to define paths for libraries, 3D shapes, etc.
zh: 在 KiCad 中，人们可以使用 *环境变量* 定义路径。 一些环境变量是由 KiCad 内部定义的，可以用来定义库、3D 形状等的路径。

note: type: Plain text
en: This is useful when absolute paths are not known or are subject to change (e.g.  when you transfer a project to a different computer), and also when one base path is shared by many similar items. Consider the following which may be installed in varying locations:
zh: 当绝对路径未知或可能发生变化时（例如，当您将工程传输到另一台计算机时），以及许多类似工程共享一个基本路径时，这非常有用。 请考虑以下可能安装在不同位置的内容：

note: type: Plain text
en: Schematic symbol libraries
zh: 原理图符号库

note: type: Plain text
en: Footprint libraries
zh: 封装库

note: type: Plain text
en: 3D model files used in footprint definitions
zh: 封装定义中使用的 3D 模型文件

note: type: Plain text
en: For instance, the path to the `connect.pretty` footprint library, when using the `KICAD7_FOOTPRINT_DIR` environment variable, would be defined as `$\{KICAD7_FOOTPRINT_DIR\}/connect.pretty`.
zh: 例如，当使用 `KICAD7_FOOTPRINT_DIR` 环境变量时，`connect.pretty` 封装库的路径将被定义为 `$\{KICAD7_FOOTPRINT_DIR\}/connect.pret`。

note: type: Plain text
en: The *Preferences* -> *Configure Paths...* menu allows you to define paths for some built-in KiCad environment variables, and add your own environment variables to define personal paths, if needed.
zh: 在 *偏好设置* -> *配置路径...* 菜单中，您可以为一些内置的 KiCad 环境变量定义路径，如果需要，还可以添加自己的环境变量来定义个人路径。

note: type: Title ====
en: KiCad environment variables
zh: KiCad 环境变量

note: type: Table
en: |KICAD7_3DMODEL_DIR |Base path of KiCad's standard 3D footprint model library files.
    |KICAD7_3RD_PARTY |Location for plugins, libraries, and color themes installed by the <<plugin-content-manager,Plugin and Content Manager>>.
    |KICAD7_FOOTPRINT_DIR |Base path of KiCad's standard footprint library files.
    |KICAD7_SYMBOL_DIR |Base path of KiCad's standard symbol library files.
    |KICAD7_TEMPLATE_DIR |Location of KiCad's standard project template library files.
    |KICAD_USER_TEMPLATE_DIR |Location of personal project templates.
zh: |KICAD7_3DMODEL_DIR | KiCad 的标准 3D 封装模型库文件的基本路径。
    |KICAD7_3RD_PARTY | 由 《插件内容管理器，插件和内容管理器》安装的插件、库和颜色主题的位置。
    |KICAD7_FOOTPRINT_DIR | KiCad 的标准封装库文件的基本路径。
    |KICAD7_SYMBOL_DIR | KiCad 的标准符号库文件的基本路径。
    |KICAD7_TEMPLATE_DIR | KiCad 的标准项目模板库文件的位置。
    |KICAD_USER_TEMPLATE_DIR | 个人工程模板的位置。

note: type: Target for macro image
en: images/configure_path_dlg.png
zh: images/zh/configure_path_dlg.png

note: type: Plain text
en: Paths set in the Configure Paths dialog are internal to KiCad and are not visible as environment variables outside of KiCad. They are stored in <<config-file-location,KiCad's user configuration files>>.
zh: 在配置路径对话框中设置的路径是 KiCad 内部的，在 KiCad 之外不可见环境变量。它们被保存在《配置文件位置，KiCad 的用户配置文件》。

note: type: Plain text
en: Paths can also be set as environment variables outside of KiCad, which will override any settings in the user's configuration.
zh: 路径也可以设置为 KiCad 之外的环境变量，这将覆盖用户配置中的任何设置。

note: type: Plain text
en: You cannot override an environment
          variable that has been set outside of KiCad by using the Configure Paths dialog.
          Any variable that has been set externally will be shown as read-only in the
          dialog.
zh: 你不能通过使用配置路径对话框覆盖在 KiCad 之外设置的环境变量。任何从外部设置的变量在对话框中都将显示为只读。

note: type: Plain text
en: Note also that the environment variable `KIPRJMOD` is *always* internally defined by KiCad, and expands to the **current project absolute path**.
zh: 请注意，环境变量 `KIPRJMOD` 总是由 KiCad 内部定义，并扩展到 **当前工程的绝对路径**。

note: type: Plain text
en: For instance, `$\{KIPRJMOD\}/connect.pretty` is always the `connect.pretty` folder (the footprint library) inside **the current project folder**.
zh: 例如，`${KIPRJMOD\}/connect.pretty` 总是 **当前项目文件夹** 内的 `connect.pretty` 文件夹（封装库）。

note: type: Plain text
en: The `KIPRJMOD` variable cannot be changed in the Configure Paths dialog or overridden by an external environment variable.
zh: `KIPRJMOD` 变量不能在配置路径对话框中改变，也不能被外部环境变量所覆盖。

note: type: Title ====
en: Advanced environment variables
zh: 高级环境变量

note: type: Plain text
en: Some advanced environment variables can be set to customize KiCad's behavior.  These variables are not shown in the environment variable configuration and cannot be used in path substitutions. They cannot be modified in the Configure Paths dialog, but they can be overridden by system environment variables.
zh: 一些高级环境变量可以被设置来定制 KiCad 的行为。 这些变量不在环境变量配置中显示，也不能在路径替换中使用。它们不能在配置路径对话框中被修改，但它们可以被系统环境变量覆盖。

note: type: Plain text
en: Changing these variables will not result in KiCad moving any files from the default location to the new location, so if you change these variables you will need to copy any desired settings or files manually.
zh: 改变这些变量不会导致 KiCad 将任何文件从默认位置移动到新的位置，所以如果你改变这些变量，你将需要手动复制任何需要的设置或文件。

note: type: Plain text
en: *Additional environment variables:*
zh: *其他环境变量：*

note: type: Table
en: |KICAD_CONFIG_HOME |Base path of KiCad configuration files. Subdirectories will be created
        within this directory for each KiCad minor version.
    |KICAD_DOCUMENTS_HOME |Base path of KiCad user-modifiable documents, such as projects, templates,
        Python scripts, libraries, etc. Subdirectories will be created within this directory for each
        KiCad minor version. This directory is provided as a suggested user data location, but does
        not need to be used.
zh: |`KICAD_CONFIG_HOME` |KiCad 配置文件的基本路径。每个 KiCad 次要版本都会在此目录下创建子目录。
    |`KICAD_DOCUMENTS_HOME` |KiCad 用户可修改的文件的基本路径，如工程、模板、Python 脚本、库等。每个 KiCad 小版本都会在此目录下创建子目录。这个目录是作为建议的用户数据位置提供的，但不需要使用。

note: type: Plain text
en: If you modify the configuration of paths, please quit and restart KiCad to avoid any issues in path handling.
zh: 如果您修改了路径的配置，请退出并重新启动 KiCad，以避免在路径处理方面出现任何问题。

note: type: Title ===
en: Libraries configuration
zh: 库配置

note: type: Plain text
en: The *Preferences* -> *Manage Symbol Libraries...* menu lets you manage the list of symbol libraries (xref:../eeschema/eeschema_symbols_and_libraries.adoc#managing-symbol-libraries[symbol library table]).
zh: 通过 *偏好设置* -> *管理符号库...* 菜单，你可以管理符号库的列表（xref:../eeschema/eeschema_symbols_and_libraries.adoc#managing-symbol-libraries[符号库表]）。

note: type: Plain text
en: Likewise, use the *Preferences* -> *Manage Footprint Libraries...* menu to manage the list of footprint libraries (xref:../pcbnew/pcbnew_footprints_and_libraries.adoc#managing-footprint-libraries[footprint library table]).
zh: 同样，使用 *偏好设置* -> *管理封装库...* 菜单来管理封装库的列表（xref:../pcbnew/pcbnew_footprints_and_libraries.adoc#managing-footprint-libraries[封装库表]）。

note: type: Plain text
en: For each type of library (symbol and footprint), there are 2 library tables: global and project specific. The global library table is located in the <<config-file-location,user configuration directory>> and contains a list of libraries available to all projects. The project-specific library table is optional and contains a list of libraries specific to the project. It is located in the project directory.
zh: 对于每一种类型的库（符号和封装），都有2个库表：全局和工程专用。全局库表位于《配置文件位置，用户配置目录》中，包含所有工程可用的库列表。工程专用库表是可选的，包含工程专用的库列表。它位于工程目录中。

note: type: Title ==
en: Project templates
zh: 工程模板

note: type: Plain text
en: Using a project template facilitates setting up a new project with predefined settings. Templates may contain pre-defined board outlines, connector positions, schematic elements, design rules, etc. Complete schematics and/or PCBs used as seed files for the new project may even be included.
zh: 使用工程模板有助于使用预定义设置设置新工程。 模板可能包含预定义的电路板边框，连接器位置，原理图元素，设计规则等。甚至可以包括用作新工程的种子文件的完整原理图和/或 PCB。

note: type: Title ===
en: Using templates
zh: 使用模板

note: type: Plain text
en: The **File** -> **New Project from Template** menu will open the Project Template Selector dialog:
zh: **文件** -> **从模板新建工程** 菜单将打开工程模板选择器对话框：

note: type: Plain text
en: A single click on a template's icon will display the template information, and a further click on the OK button creates the new project. The template files will be copied to the new project location and renamed to reflect the new project's name.
zh: 单击模板的图标将显示模板信息，再单击“确定”按钮将创建新工程。 模板文件将复制到新工程位置并重命名以反映新工程的名称。

note: type: Target for macro image
en: images/template_selected.png
zh: images/zh/template_selected.png

note: type: Title ===
en: Template locations
zh: 模板位置

note: type: Plain text
en: KiCad looks for template files in the following paths: KiCad looks for system templates in the path defined in the `KICAD7_TEMPLATE_DIR` path variable, and user templates in the path defined in `KICAD_USER_TEMPLATE_DIR`. However, you can browse for templates in an arbitrary directory using the **Folder** control at the top of the dialog.
zh: KiCad 会在以下路径中寻找模板文件。KiCad 在 `KICAD7_TEMPLATE_DIR` 路径变量定义的路径中寻找系统模板，在 `KICAD_USER_TEMPLATE_DIR` 定义的路径中寻找用户模板。然而，你可以使用对话框顶部的 **文件夹** 控件浏览任意目录下的模板。

note: type: Title ===
en: Creating templates
zh: 创建模板

note: type: Plain text
en: The template name is the directory name where the template files are stored. The metadata directory is a subdirectory named `meta` containing files describing the template.
zh: 模板名称是存储模板文件的目录名称。元数据目录是一个名为 `meta` 的子目录，包含描述模板的文件。

note: type: Plain text
en: The metadata consists of one required file, and may contain optional files.  All files must be created by the user using a text editor or previous KiCad project files, and placed into the required directory structure.
zh: 元数据由一个必需文件组成，可能包含可选文件。 所有文件必须由用户使用文本编辑器或以前的 KiCad 工程文件创建，并放入所需的目录结构中。

note: type: Plain text
en: All files and directories in a template are copied to the new project path when a project is created using a template, except `meta`.  Files and directories containing the template name will be renamed with the new project file name.
zh: 当使用模板创建工程时，模板中的所有文件和目录都被复制到新的工程路径中，除了 `meta'。 包含模板名称的文件和目录将被重命名为新的工程文件名。

note: type: Plain text
en: For example, creating a project called `newproject` from a template named `example`:
zh: 例如，从一个名为 `example` 的模板创建一个名为 `newproject` 的工程：

note: type: Table
en: |Files in template `example` directory
    |Files created in project `newproject` directory
    |
    `example.kicad_pro` +
    `example.kicad_sch` +
    `example.kicad_pcb` +
    `example-first.kicad_sch` +
    `second-example.kicad_sch` +
    `third.kicad_sch` +
    `third.kicad_pcb`
    |
    `*newproject.kicad_pro*` +
    `*newproject.kicad_sch*` +
    `*newproject.kicad_pcb*` +
    `*newproject-first.kicad_sch*` +
    `*second-newproject.kicad_sch*` +
    `third.kicad_sch` +
    `third.kicad_pcb`
zh: |模板 `example` 目录下的文件
    |在工程 `newproject` 目录下创建的文件
    |
    `example.kicad_pro` +
    `example.kicad_sch` +
    `example.kicad_pcb` +
    `example-first.kicad_sch` +
    `second-example.kicad_sch` +
    `third.kicad_sch` +
    `third.kicad_pcb`
    |
    `*newproject.kicad_pro*` +
    `*newproject.kicad_sch*` +
    `*newproject.kicad_pcb*` +
    `*newproject-first.kicad_sch*` +
    `*second-newproject.kicad_sch*` +
    `third.kicad_sch` +
    `third.kicad_pcb`

note: type: Plain text
en: A template does not need to contain a complete project. If a required project file is missing, KiCad will create it using its default create project behavior:
zh: 一个模板不需要包含一个完整的工程。如果缺少必要的工程文件，KiCad 将使用其默认的创建工程行为来创建它：

note: type: Table
en: |Files in template `example` directory
    |Files created in `newproject` directory
    |
    `example.kicad_sch` +
    `first-example.kicad_sch` +
    `first-example.kicad_pcb` +
    `second-example.kicad_sch` +
    `second-example.kicad_pcb`
    |
    `*newproject.kicad_sch*` +
    `*first-newproject.kicad_sch*` +
    `*first-newproject.kicad_pcb*` +
    `*second-newproject.kicad_sch*` +
    `*second-newproject.kicad_pcb*` +
    `*newproject.kicad_pro*` (default) +
    `*newproject.kicad_pcb*` (default)
zh: |模板 `example` 目录下的文件
    |在 `newproject` 目录下创建的文件
    |
    `example.kicad_sch` +
    `first-example.kicad_sch` +
    `first-example.kicad_pcb` +
    `second-example.kicad_sch` +
    `second-example.kicad_pcb`
    |
    `*newproject.kicad_sch*` +
    `*first-newproject.kicad_sch*` +
    `*first-newproject.kicad_pcb*` +
    `*second-newproject.kicad_sch*` +
    `*second-newproject.kicad_pcb*` +
    `*newproject.kicad_pro*` (default) +
    `*newproject.kicad_pcb*` (default)

note: type: Plain text
en: As an exception to the template name renaming rule, if one project file (`.kicad_pro`) exists and its name doesn't match the template name, KiCad will do the renaming based on that project file name instead:
zh: 作为模板名称重命名规则的一个例外，如果存在一个工程文件（`.kicad_pro`），且其名称与模板名称不一致，KiCad 将根据该工程文件名称进行重命名：

note: type: Table
en: |Files in template `example` directory
    |Files created in `newproject` directory
    |
    `example.kicad_sch` +
    `example.kicad_pcb` +
    `*first-example.kicad_pro*` +
    `first-example.kicad_sch` +
    `first-example.kicad_pcb` +
    `second-example.kicad_sch` +
    `second-example.kicad_pcb`
    |
    `example.kicad_sch` +
    `example.kicad_pcb` +
    `*newproject.kicad_pro*` +
    `*newproject.kicad_sch*` +
    `*newproject.kicad_pcb*` +
    `second-example.kicad_sch` +
    `second-example.kicad_pcb`
zh: |模板 `example` 目录下的文件
    |在 `newproject` 目录下创建的文件
    |
    `example.kicad_sch` +
    `example.kicad_pcb` +
    `*first-example.kicad_pro*` +
    `first-example.kicad_sch` +
    `first-example.kicad_pcb` +
    `second-example.kicad_sch` +
    `second-example.kicad_pcb`
    |
    `example.kicad_sch` +
    `example.kicad_pcb` +
    `*newproject.kicad_pro*` +
    `*newproject.kicad_sch*` +
    `*newproject.kicad_pcb*` +
    `second-example.kicad_sch` +
    `second-example.kicad_pcb`

note: type: Plain text
en: It is not recommended to create a template with multiple project files.
zh: 不建议创建包含多个工程文件的模板。

note: type: Title ====
en: Template example
zh: 模板示例

note: type: Plain text
en: Here is an example showing project files for *raspberrypi-gpio* template:
zh: 这是一个显示 *raspberrypi-gpio* 模板的工程文件的示例：

note: type: Plain text
en: And the metadata files:
zh: 和元数据文件：

note: type: Title ====
en: Required file
zh: 所需文件

note: type: Table
en: |`meta/info.html` |HTML-formatted information describing the template.
zh: |`meta/info.html` |描述模板的 HTML 格式的信息。

note: type: Plain text
en: The `<title>` tag determines the actual name of the template that is exposed to the user for template selection. Note that the project template name will be cut off if it's too long.
zh: `<title>` 标签决定了暴露在用户面前的模板的实际名称，用于模板选择。注意，如果工程模板名称太长，将被切断。

note: type: Plain text
en: Using HTML means that images can be easily in-lined without having to invent a new scheme. Only basic HTML tags can be used in this document.
zh: 使用 HTML 意味着可以轻松地对图像进行内联，而无需发明新方案。 本文档中只能使用基本 HTML 标记。

note: type: Plain text
en: Here is a sample `info.html` file:
zh: 这里有一个 `info.html` 文件的例子：

note: type: Title ====
en: Optional files
zh: 可选文件

note: type: Table
en: |`meta/icon.png` |A 64 x 64 pixel PNG icon file which is used as a
    clickable icon in the template selection dialog.
zh: |`meta/icon.png` |一个 64 x 64 像素的 PNG 图标文件，在模板选择对话框中作为一个可点击的图标。

note: type: Plain text
en: Any other image files used by `meta/info.html`, such as the image of the board file in the dialog above, are placed in this folder as well.
zh: `meta/info.html` 使用的任何其他图像文件，如上面对话框中的板文件的图像，也放在这个文件夹中。

note: type: Title ==
en: Plugin and Content Manager
zh: 插件和内容管理器

note: type: Plain text
en: TODO: Write this section
zh: TODO: 撰写本节

note: type: Title ==
en: Actions reference
zh: 操作参考

note: type: Plain text
en: Below is a list of every available *action* in the KiCad Project Manager: a command that can be assigned to a hotkey.
zh: 以下是 KiCad 工程管理器中每个可用的 *操作* 列表：可以分配给快捷键的命令。

note: Note to translators: you do not need to translate this table by hand. It is generated from KiCad using the Dump Hotkeys button that is shown in the hotkeys editor if you add the line `HotkeysDumper=1` to your advanced config file (`kicad_advanced` file in the config directory) type: Title ===
en: KiCad Project Manager
zh: KiCad 工程管理器

note: NOTE: this text between the section header and the table is *required* or asciidoctor-web-pdf will not insert page breaks in the table correctly and the PDF will be truncated. type: Plain text
en: The actions below are available in the KiCad Project Manager. Hotkeys can be assigned to any of these actions in the **Hotkeys** section of the preferences.
zh: 以下操作在 KiCad 工程管理器中是可用的。热键可以分配给偏好设置中的 **快捷键** 部分的任何动作。

note: type: Table
en: | Action | Default Hotkey | Description
    | New Project...
      | kbd:[Ctrl+N]
      | Create new blank project
    | New Project from Template...
      | kbd:[Ctrl+T]
      | Create new project from template
    | Open Project...
      | kbd:[Ctrl+O]
      | Open an existing project
    | Open Demo Project...
      |
      | Open a demo project
    | Close Project
      |
      | Close the current project
    | Schematic Editor
      | kbd:[Ctrl+E]
      | Edit schematic
    | Symbol Editor
      | kbd:[Ctrl+L]
      | Edit schematic symbols
    | PCB Editor
      | kbd:[Ctrl+P]
      | Edit PCB
    | Footprint Editor
      | kbd:[Ctrl+F]
      | Edit PCB footprints
    | Gerber Viewer
      | kbd:[Ctrl+G]
      | Preview Gerber output files
    | Image Converter
      | kbd:[Ctrl+B]
      | Convert bitmap images to schematic or PCB components
    | Calculator Tools
      |
      | Run component calculations, track width calculations, etc.
    | Drawing Sheet Editor
      | kbd:[Ctrl+Y]
      | Edit drawing sheet borders and title block
    | Plugin and Content Manager
      | kbd:[Ctrl+M]
      | Manage downloadable packages from KiCad and 3rd party repositories
    | Open Text Editor
      |
      | Launch preferred text editor
zh: | 动作 | 默认快捷键 | 描述
    | 新建工程...
      | kbd:[Ctrl+N]
      | 创建新的空白工程
    | 从模板新建工程...
      | kbd:[Ctrl+T] 
      | 从模板中创建新的工程
    | 打开工程...
      | kbd:[Ctrl+O] 
      | 打开一个现有的工程
    | 打开演示工程...
      |
      | 打开一个演示工程
    | 关闭工程
      |
      | 关闭当前工程
    |原理图编辑器
      | kbd:[Ctrl+E] 
      | 编辑原理图
    | 符号编辑器
      | kbd:[Ctrl+L] 
      | 编辑原理图符号
    | PCB 编辑器
      | kbd:[Ctrl+P] 
      | 编辑 PCB
    | 封装编辑器
      | kbd:[Ctrl+F] 
      | 编辑 PCB 封装
    | Gerber 浏览器
      | kbd:[Ctrl+G] 
      | 预览 Gerber 输出文件
    | 图像转换器
      | kbd:[Ctrl+B] 
      | 将位图图像转换为原理图或 PCB 元件
    | 计算器工具
      |
      | 运行元件计算、布线宽度计算等。
    | 图框编辑器
      | kbd:[Ctrl+Y] 
      | 编辑图框边框和标题块
    | 插件和内容管理器
      | kbd:[Ctrl+M] 
      | 管理从 KiCad 和第三方软件库下载的软件包
    | 打开文本编辑器
      |
      | 启动偏好设置文本编辑器
