# SOME DESCRIPTIVE TITLE.
# Copyright (C) 2020—2026, Glasgow Interface Explorer contributors
# This file is distributed under the same license as the Glasgow Interface Explorer package.
# FIRST AUTHOR <EMAIL@ADDRESS>, 2026.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: Glasgow Interface Explorer \n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2026-07-25 07:37+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language: cn\n"
"Language-Team: cn <LL@li.org>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Generated-By: Babel 2.17.0\n"

#: ../../src/contribute.rst:2
msgid "Contributing"
msgstr ""

#: ../../src/contribute.rst:4
msgid "The Glasgow project relies on many community members to contribute to the extensive scope covered by its hardware and software. The project has a strong commitment to stability: most importantly, every unit of hardware for which design files have been published in the ``main`` branch will be supported forever. This scope and support commitment is challenging and requires us to be careful in evaluating any contributions."
msgstr ""

#: ../../src/contribute.rst:6
msgid "We expect every contributor to work with the maintainers to ensure longevity of their contribution. If your contribution is substantial, please discuss it via our :ref:`community channels <community>` before working on it to ensure that it fits the project goals and to coordinate a long-term support commitment, especially in the cases where exotic or expensive hardware is required to test the changes."
msgstr ""

#: ../../src/contribute.rst:12
msgid "Contributing bug reports"
msgstr ""

#: ../../src/contribute.rst:14
msgid "Bug reports are always welcome! If you are experiencing an issue with your device and you are not sure what kind of issue it is, :ref:`ask the community for assistance <community>`."
msgstr ""

#: ../../src/contribute.rst:16
msgid "For a timely resolution of your issues involving the Glasgow software, include the following information when `reporting a bug on GitHub <issues_>`__:"
msgstr ""

#: ../../src/contribute.rst:18
msgid "The version of the Glasgow software stack and environment components (as printed by ``glasgow --version``);"
msgstr ""

#: ../../src/contribute.rst:20
msgid "The complete debug information produced by the command you are running (as printed by ``glasgow -vvv [command...]``)."
msgstr ""

#: ../../src/contribute.rst:22
msgid "If you believe there is an issue with the design of the Glasgow hardware or firmware, `open an issue on GitHub <issues_>`__. The Glasgow hardware and firmware have been extensively reviewed, evaluated, and tested, and it is relatively unlikely for you to experience a design issue."
msgstr ""

#: ../../src/contribute.rst:24
msgid "If you believe that your device may be damaged or malfunctioning, and the device is unmodified from the design files published in this repository (bearing the \"Glasgow\" name on it), you may :ref:`ask the community for assistance <community>` before referring to the manufacturer of your device. If your device has been :ref:`modified from the original design files <build>` or does not bear the \"Glasgow\" name on it, you must request assistance from the manufacturer of your device. You may ask the community for assistance if you make it clear in your request that your device has been modified from the original design files, but the effort required to evaluate such modifications is scarcely available."
msgstr ""

#: ../../src/contribute.rst:33
msgid "Contributing code or documentation"
msgstr ""

#: ../../src/contribute.rst:35
msgid "Code contributions are expected to be in the form of a `pull request <pulls_>`__ containing a small number of self-contained commits with :ref:`descriptive messages <commit-messages>`, each of which individually captures a functional state of the working tree. If your pull request does not fit this description it will not be merged until it is cleaned up, but it is okay to have a draft pull request containing a large number of temporary commits while it is undergoing review or ongoing work."
msgstr ""

#: ../../src/contribute.rst:37
msgid "As Git is a notoriously difficult version control system to use effectively, feel free to :ref:`ask the community for assistance <community>`. Often, your pull request will be edited by maintainers to ensure it fits the codebase well. In those cases the maintainer will usually rearrange the commits to fit our requirements."
msgstr ""

#: ../../src/contribute.rst:39
msgid "The Glasgow project does not strictly adhere to any specific Python or C coding standards. If your code is structured and formatted similarly to existing code, it is good enough. We use `pre-commit.ci <pre-commit-ci_>`__, a system that automatically remediates code style issues where possible, and highlights them otherwise. Code review is a dialogue focused on function, not form."
msgstr ""

#: ../../src/contribute.rst:41
msgid "We do not accept contributions where code was generated partly or in whole using LLMs. These tools are designed to be extractive and place an unreasonable burden on OSS maintainers, both on the level of individual pull requests and for the ecosystem as a whole. If you didn't bother writing it, we won't bother reading."
msgstr ""

#: ../../src/contribute.rst:49
msgid "Writing commit messages"
msgstr ""

#: ../../src/contribute.rst:51
msgid "When modifying Python code, the first line of a commit message should, if possible, start with the name of the module (not including the leading ``glasgow.``) that is being modified, such that ``git log --grep`` can be used to filter changes by scope:"
msgstr ""

#: ../../src/contribute.rst:57
msgid "The format is the same for Python code implementing applets:"
msgstr ""

#: ../../src/contribute.rst:63
msgid "When modifying documentation, the first line of a commit message should start with ``manual:``, followed by the base name of the ``.rst`` file that is being modified:"
msgstr ""

#: ../../src/contribute.rst:69
msgid "When modifying firmware, the first line of a commit message should start with ``firmware:``:"
msgstr ""

#: ../../src/contribute.rst:75
msgid "If none of the cases above are a good fit, any descriptive message is sufficient."
msgstr ""

#: ../../src/contribute.rst:81
msgid "Working with `pre-commit.ci <https://pre-commit.ci>`_"
msgstr ""

#: ../../src/contribute.rst:83
msgid "Whenever our continuous integration system notices issues with your code that it can automatically fix, it will push a commit to your branch (provided you have allowed edits from maintainers for your pull request, which you should). You are encouraged to examine this commit and integrate the changes it suggests into your code, but it is not a requirement to do so. Such issues will not clutter the \"Files changed\" view of your pull request, and the \"lint\" check will ignore them."
msgstr ""

#: ../../src/contribute.rst:85
msgid "Less commonly, our continuous integration system will encounter an issue it cannot resolve on its own. Such issues will appear as an annotation in the \"Files changed\" view of your PR (as well as in the commit diffs), and the \"lint\" check will reject your code. You will have to resolve the issue before the pull request can be merged, but you can ignore it until then, and all other checks will still run."
msgstr ""

#: ../../src/contribute.rst:87
msgid "Whenever your branch is edited by our automated system, you will not be able to update it using ``git push`` right away because your local system and the Git server disagree on the state of the branch. You can either retrieve the suggested changes using ``git pull``, or discard them using ``git push --force``, at your discretion; you do not have to keep the ``[pre-commit.ci]`` commit in your branch."
msgstr ""

#: ../../src/contribute.rst:89
msgid "To expedite the workflow, you may run the ``pre-commit`` tool locally on your system such that it can tidy up your commits while you create them. To do so, `install the pre-commit tool <https://pre-commit.com/#install>`_ and run ``pre-commit install`` in the Glasgow repository. From that point on, running ``git commit`` will invoke ``pre-commit run`` first, and your branch will not be edited by the continuous integration system."
msgstr ""

#: ../../src/contribute.rst:95
msgid "Vendor documentation"
msgstr ""

#: ../../src/contribute.rst:97
msgid "If you have used vendor documentation while writing the code you're contributing, you are required to:"
msgstr ""

#: ../../src/contribute.rst:99
msgid "upload the documentation to the `Glasgow archive repository <archive_>`__; and"
msgstr ""

#: ../../src/contribute.rst:101
msgid "reference the documentation at the top of the file in the following format:"
msgstr ""

#: ../../src/contribute.rst:109
msgid "If you cannot upload the documentation to the archive because it is under NDA and/or watermarked, :ref:`ask the community for assistance <community>`. Often, it is possible to collate enough information by using existing leaked documents or through parallel construction."
msgstr ""

