File: README.md

package info (click to toggle)
secrets 12.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 3,616 kB
  • sloc: python: 6,838; xml: 7; makefile: 4
file content (18 lines) | stat: -rw-r--r-- 516 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
## Update pot files from source files:

```bash
cd po  
intltool-update --maintain  
cd ..  
find secrets -iname "*.py" | xargs xgettext --from-code=UTF-8 --output=po/secrets-python.pot  
find data -iname "*.ui" | xargs xgettext --from-code=UTF-8 --output=po/secrets-glade.pot -L Glade  
msgcat --use-first po/secrets-glade.pot po/secrets-python.pot > po/secrets.pot  
rm po/secrets-glade.pot po/secrets-python.pot  
```

## Generate po file for language

```bash
cd po  
msginit --locale=xx --input=secrets.pot
```