Skip to content

Commit 41f6e1c

Browse files
authored
Merge pull request #133 from MightyCreak/french-translation
Add French translation
2 parents ba6ef49 + ae55dc6 commit 41f6e1c

File tree

6 files changed

+1192
-181
lines changed

6 files changed

+1192
-181
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
88

99
### Added
1010
- Documentation: added release process instructions
11+
- Translation: added French translation
1112

1213
## 0.7.4 - 2022-04-03
1314

docs/translators.md

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,17 @@ To create or update the PO template (`po/diffuse.pot`), use this command at the
1414
repo root:
1515

1616
```sh
17-
xgettext -w 84 -o po/diffuse.pot -f po/POTFILES.in
17+
xgettext -w 84 -o po/diffuse.pot -f po/POTFILES
1818
```
1919

20+
Regenerating the POT file will add a bunch of new lines coming from
21+
`data/io.github.mightycreak.Diffuse.appdata.xml.in`. Not all the lines need to
22+
be translated in this file. In `diffuse.pot`, look for the comment
23+
`Translators: no need to translate after this comment`, and remove all the
24+
added lines for this file.
25+
2026
_Note:_ why 84 characters, you ask? because the usage text has to be 80-char
21-
wide, plus the beginning and ending `"` and the final `\n` (literally two
27+
wide, plus the beginning and ending `"` and the final `\n` (which is two
2228
characters).
2329

2430
## Create a new translation
@@ -29,7 +35,7 @@ created, refer to previous section "Create PO template".
2935
1. Create a .po file for the translation (replace `<lang>` with your language):
3036

3137
```sh
32-
msginit -l <lang> -o <lang>.po -i diffuse.pot
38+
msginit -w 84 -l <lang> -o <lang>.po -i diffuse.pot
3339
```
3440

3541
2. Manually complete in the translations in the .po file using either an

po/LINGUAS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
cs
33
de
44
es
5+
fr
56
it
67
ja
78
ko

0 commit comments

Comments
 (0)