Skip to content

Commit 6960363

Browse files
authored
Merge pull request #131 from MightyCreak/fix-translations
Fix translation files
2 parents c47e01a + 69106d1 commit 6960363

File tree

18 files changed

+4237
-620
lines changed

18 files changed

+4237
-620
lines changed

docs/translators.md

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

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

20+
_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
22+
characters).
23+
2024
## Create a new translation
2125

2226
To create a new translation file, you'll need a PO template. If not already

po/POTFILES

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,22 @@
44
data/io.github.mightycreak.Diffuse.desktop.in
55
data/io.github.mightycreak.Diffuse.appdata.xml.in
66
src/diffuse/constants.py.in
7+
src/diffuse/dialogs.py
78
src/diffuse/diffuse.in
89
src/diffuse/main.py
10+
src/diffuse/preferences.py
11+
src/diffuse/resources.py
12+
src/diffuse/utils.py
13+
src/diffuse/vcs/bzr.py
914
src/diffuse/vcs/cvs.py
15+
src/diffuse/vcs/darcs.py
16+
src/diffuse/vcs/folder_set.py
17+
src/diffuse/vcs/git.py
18+
src/diffuse/vcs/hg.py
19+
src/diffuse/vcs/mtn.py
1020
src/diffuse/vcs/rcs.py
21+
src/diffuse/vcs/svk.py
1122
src/diffuse/vcs/svn.py
23+
src/diffuse/vcs/vcs_interface.py
1224
src/diffuse/vcs/vcs_registry.py
25+
src/diffuse/widgets.py

0 commit comments

Comments
 (0)