Updated How to translate (markdown)
parent
a926928f4b
commit
25fe7d456b
@ -13,13 +13,15 @@ Anyway, the following text will assume that you have chosen Ubuntu or Kubuntu or
|
||||
|
||||
|
||||
2. If not already done, create a github account.
|
||||
then [add it to your github account](https://help.github.com/articles/adding-a-new-ssh-key-to-your-github-account/).
|
||||
3. Go to [this github project page](https://github.com/pampanic/pam_panic/wiki/How-to-translate) and fork this project. (Click on **Fork** in the upper right.)
|
||||
then [add a new ssh key to your github account](https://help.github.com/articles/adding-a-new-ssh-key-to-your-github-account/).
|
||||
3. [Create a GPG key](https://help.github.com/articles/generating-a-new-gpg-key/) and [add it to your GitHub account](https://help.github.com/articles/adding-a-new-gpg-key-to-your-github-account).
|
||||
4. Enable gpg signed commits by typing `git config --global commit.gpgsign true` in your command line.
|
||||
5. Go to [this github project page](https://github.com/pampanic/pam_panic/wiki/How-to-translate) and fork this project. (Click on **Fork** in the upper right.)
|
||||
> **Forking:** You are about to create an own version of a project. It will copy its content to your account under a new project, and github will note that this fork exist. After you pressed the Fork button you will be in your **own** project afterwards.
|
||||
|
||||
4. [Clone your fork](https://help.github.com/articles/cloning-a-repository/) you just made from this project.
|
||||
6. [Clone your fork](https://help.github.com/articles/cloning-a-repository/) you just made from this project.
|
||||
|
||||
5. _Optional:_ Get an editor for po files like `poedit` or use an online service for it.
|
||||
7. _Optional:_ Get an editor for po files like `poedit` or use an online service for it.
|
||||
**Installation on (K)Ubuntu:** `sudo apt-get install poedit`
|
||||
|
||||
Are you new to .po files? You might want to read about [The .po structure](https://github.com/pampanic/pam_panic/wiki/The-.po-structure).
|
||||
@ -88,6 +90,11 @@ Are you new to .po files? You might want to read about [The .po structure](https
|
||||
1. Open `src/pam_panic/man/Makefile.am` and put your new language in the `nobase_dist_cant_believe_its_not_man_DATA` list. Note that you have to add a `\` at the end of the last entry. It will look like "<yourISOlanghere>/man8/pam_panic.8.gz \".
|
||||
2. Same thing for `src/pam_panic_pw/man/Makefile.am`.
|
||||
|
||||
# Translating the `.desktop` file
|
||||
The `.desktop` file is the link and icon for Desktop Environments.
|
||||
You can find the desktop file here:
|
||||
`src/pam_panic_config/applications/pampanic-config.desktop`
|
||||
The program behind the desktop file is not translatable yet.
|
||||
|
||||
# Send a pull request
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user