make instructions clearer
parent
f9f31cf887
commit
f67904c6ec
25
README.md
25
README.md
|
@ -54,7 +54,7 @@ relevant for our build process (Drone, Ansible, Docker, Apache).
|
||||||
Visit [TRANSLATE.md](https://git.fsfe.org/pmpc/website/src/master/TRANSLATE.md)
|
Visit [TRANSLATE.md](https://git.fsfe.org/pmpc/website/src/master/TRANSLATE.md)
|
||||||
for detailed instructions how to translate publiccode.eu.
|
for detailed instructions how to translate publiccode.eu.
|
||||||
|
|
||||||
### Build locally
|
### Build
|
||||||
|
|
||||||
To see a preview of the website you need to have Hugo installed and be able to
|
To see a preview of the website you need to have Hugo installed and be able to
|
||||||
execute Bash scripts in your command line.
|
execute Bash scripts in your command line.
|
||||||
|
@ -72,15 +72,26 @@ execute Bash scripts in your command line.
|
||||||
|
|
||||||
If you want to make changes to the official website, please read [our
|
If you want to make changes to the official website, please read [our
|
||||||
Git guides](https://wiki.fsfe.org/TechDocs/Git). There you'll find out
|
Git guides](https://wiki.fsfe.org/TechDocs/Git). There you'll find out
|
||||||
about the necessary commands pull, status, add, commit, or push.
|
about the necessary commands `pull`, `status`, `add`, `commit`, and
|
||||||
|
`push`.
|
||||||
|
|
||||||
Beginners can directly commit to the repository which saves them some
|
There are three ways to upload/edit files in the Git repository, sorted
|
||||||
steps, but they have to ask @max.mehl or @jonas in advance to give them
|
by preference and complexity:
|
||||||
the necessary permission. For more experienced Git users we recommend
|
1. For more experienced Git users we recommend the Fork & Pull Request
|
||||||
the Fork & Pull Request workflow, which you'll also find in the [wiki's
|
workflow, which you'll also find in the [wiki's Git Guides
|
||||||
Git Guides
|
|
||||||
section](https://wiki.fsfe.org/TechDocs/Git#Guides_on_specific_actions)
|
section](https://wiki.fsfe.org/TechDocs/Git#Guides_on_specific_actions)
|
||||||
(not available yet).
|
(not available yet).
|
||||||
|
2. Advanced and interested beginners can directly commit to the
|
||||||
|
repository ("push to master") which saves them some steps, but they
|
||||||
|
have to ask @max.mehl or @jonas in advance to give them the necessary
|
||||||
|
permissions. You'll find guides in the [Wiki's Git
|
||||||
|
section](https://wiki.fsfe.org/TechDocs/Git#Guides_on_specific_actions).
|
||||||
|
3. Beginners can work directly in the [web
|
||||||
|
interface](https://git.fsfe.org/pmpc/website) of git.fsfe.org. As
|
||||||
|
soon as you have given write permissions by @max.mehl or @jonas, you
|
||||||
|
can edit opened text files and upload/create new files. This is the
|
||||||
|
least preferred option because it may cause conflicts, but it is easy
|
||||||
|
and may give you some first experience with the system.
|
||||||
|
|
||||||
|
|
||||||
## Important file paths
|
## Important file paths
|
||||||
|
|
30
TRANSLATE.md
30
TRANSLATE.md
|
@ -15,7 +15,10 @@ to be a programmer to get Git working for you :)
|
||||||
What you should have:
|
What you should have:
|
||||||
|
|
||||||
- An account on git.fsfe.org
|
- An account on git.fsfe.org
|
||||||
- Know how to clone, pull, commit, and push with Git (read the [general Git guides](https://wiki.fsfe.org/TechDocs/Git) and/or the [typical Git workflow](https://wiki.fsfe.org/TechDocs/Mainpage/Editing#Edit_and_push_files_to_the_website))
|
- Know how to clone, pull, commit, and push with Git (read the [general
|
||||||
|
Git guides](https://wiki.fsfe.org/TechDocs/Git) and/or the [typical
|
||||||
|
Git
|
||||||
|
workflow](https://wiki.fsfe.org/TechDocs/Mainpage/Editing#Edit_and_push_files_to_the_website))
|
||||||
- Optional: Hugo installed on your computer
|
- Optional: Hugo installed on your computer
|
||||||
- Optional: The ability to run Bash scripts from command line
|
- Optional: The ability to run Bash scripts from command line
|
||||||
|
|
||||||
|
@ -78,16 +81,25 @@ logos, and other communication is using this brand. So if you can, just stick
|
||||||
to the English term.
|
to the English term.
|
||||||
|
|
||||||
|
|
||||||
## Finished? What's next
|
## Where to upload the translations?
|
||||||
|
|
||||||
Before submitting the translations you can test them locally if you have Hugo
|
**Before submitting** the translations you can test them locally if you
|
||||||
installed and are able to execute Bash scripts on your command line. Please
|
have Hugo installed and are able to execute Bash scripts on your command
|
||||||
refer to README.me for instructions.
|
line. Please refer to [build section in
|
||||||
|
README.me](https://git.fsfe.org/pmpc/website/src/master/README.md#build)
|
||||||
|
for instructions.
|
||||||
|
|
||||||
You're welcome to work with the Git repository to upload your translations. If
|
You're welcome to work with the Git repository to upload your
|
||||||
you feel confident enough with Git, please open a pull request of a separate
|
translations. If you feel confident enough with Git, please open a pull
|
||||||
branch in this repository or your fork. @max.mehl can help you if you have
|
request of a separate branch in this repository or your fork. @max.mehl
|
||||||
questions or lack permissions.
|
can help you if you have questions or lack permissions.
|
||||||
|
|
||||||
|
For Git, there are three ways which are explained in the aforementioned
|
||||||
|
build README section:
|
||||||
|
1. Git Pull Requests from your repository forks
|
||||||
|
2. Git pushes to the central master branch (requires write access)
|
||||||
|
3. Edit the files directly in the git.fsfe.org web interface (requires
|
||||||
|
write access)
|
||||||
|
|
||||||
If you are unsure, you can also send the translations to [FSFE's translators
|
If you are unsure, you can also send the translations to [FSFE's translators
|
||||||
list](https://lists.fsfe.org/mailman/listinfo/translators) to let them
|
list](https://lists.fsfe.org/mailman/listinfo/translators) to let them
|
||||||
|
|
Loading…
Reference in New Issue