diff options
author | saturneric <[email protected]> | 2024-08-17 15:00:39 +0000 |
---|---|---|
committer | saturneric <[email protected]> | 2024-08-17 15:00:39 +0000 |
commit | e387f93d75629d1b85c8c694832de0eb7c18974c (patch) | |
tree | 33a3d9c06b2537acbdcc90cf5b4717ba79d70fd1 /src/content/docs/appendix | |
parent | fix: update docs for v2.1.4 (diff) | |
download | Manual-e387f93d75629d1b85c8c694832de0eb7c18974c.tar.gz Manual-e387f93d75629d1b85c8c694832de0eb7c18974c.zip |
fix: add contents and fix broken links
Diffstat (limited to 'src/content/docs/appendix')
-rw-r--r-- | src/content/docs/appendix/contribute.md | 4 | ||||
-rw-r--r-- | src/content/docs/appendix/setup-dev-env.md | 11 | ||||
-rw-r--r-- | src/content/docs/appendix/translate-interface.md | 12 |
3 files changed, 8 insertions, 19 deletions
diff --git a/src/content/docs/appendix/contribute.md b/src/content/docs/appendix/contribute.md index 434fd12..7380e89 100644 --- a/src/content/docs/appendix/contribute.md +++ b/src/content/docs/appendix/contribute.md @@ -61,7 +61,7 @@ the repository and clone it locally. For email contributions, ensure Git is installed on your machine. For setting up local development Environment, you can refer to [this -section](../setup-dev-env/). +section](/appendix/setup-dev-env). ### Step 2: Making Changes @@ -87,4 +87,4 @@ description of your changes and the reasons for them in your email. If you have any technical questions or need assistance, refer to the Contact document for the maintainer's email address. We are here to help and encourage a -collaborative development process.
\ No newline at end of file +collaborative development process. diff --git a/src/content/docs/appendix/setup-dev-env.md b/src/content/docs/appendix/setup-dev-env.md index 9e7e080..0e2f01d 100644 --- a/src/content/docs/appendix/setup-dev-env.md +++ b/src/content/docs/appendix/setup-dev-env.md @@ -59,15 +59,6 @@ cd GpgFrontend This step ensures that line endings are consistent across different operating systems. -- **For Windows:** - -```bash -git config --global core.autocrlf false -git config --global core.eol lf -``` - -- **For macOS:** - ```bash git config --global core.autocrlf false git config --global core.eol lf @@ -82,7 +73,7 @@ sudo apt-get update sudo apt-get install -y build-essential cmake ninja-build libarchive-dev libssl-dev libgpgme-dev ``` -- **On macOS (11 and 12):** +- **On macOS 12 or later:** ```bash brew install cmake openssl@3 ninja libarchive gpgme diff --git a/src/content/docs/appendix/translate-interface.md b/src/content/docs/appendix/translate-interface.md index b436895..6eed5a6 100644 --- a/src/content/docs/appendix/translate-interface.md +++ b/src/content/docs/appendix/translate-interface.md @@ -9,9 +9,7 @@ contributions to achieve this goal. Fortunately, translation work does not require an understanding of difficult technology. Volunteers simply need to use their skills to get the job done and make it accessible to everyone. -## Work Offline - -### What you need to know about translation work +## What you need to know about translation work From v2.1.2, GpgFrontend uses the Qt translation support library [Qt Linguist](https://doc.qt.io/qt-6/qtlinguist-index.html) in the Qt project. @@ -19,7 +17,7 @@ Before starting everything, you need to know something about this library. After you are sure about the content of the document, you can first try to see how GpgFrontend uses the tools provided by this library. -### About translation files +## About translation files 1. Download or clone source code [HERE](https://github.com/saturneric/GpgFrontend) @@ -27,13 +25,13 @@ GpgFrontend uses the tools provided by this library. 3. Add a new language: Create a new file; see [locale codes](https://saimana.com/list-of-country-locale-code/). 4. To edit or update an existing language, navigate to the path `resource/lfs/locale/ts`. -### Before starting your work +## Before starting your work Before starting your work, it is no longer necessary to contact me. Please ensure you have a thorough understanding of Qt Linguist and its usage. You can directly edit the files, or use the Qt Linguist GUI Tool for editing. -### Updates to Translation Work Process +## Updates to Translation Work Process - **For correcting existing translations**: You can directly modify the ts files and then send them to me via email. @@ -42,7 +40,7 @@ directly edit the files, or use the Qt Linguist GUI Tool for editing. are unsure how to use these tools, you can email me, and I will provide you with the appropriate ts file. -### Hand in your work +## Hand in your work You can submit your great work in two ways: |