File: README.md

package info (click to toggle)
jabref 3.8.2%2Bds-12
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 18,456 kB
  • sloc: java: 114,177; xml: 3,985; sh: 291; python: 283; perl: 200; ruby: 22; makefile: 6
file content (23 lines) | stat: -rw-r--r-- 939 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Script usage

The Script has following commands available
- `$ python scripts/syncLang.py status [--extended]`
  - prints the current status to the terminal
  - `[--extended]` if the translations keys which create problems should be printed
  - usable with Gradle tasks
    - `$ gradle localizationStatus`
    - `$ gradle localizationStatusExtended`


- `$ python scripts/syncLang.py markdown`
  - Creates a markdown file of the current status and opens it
  - usable with Gradle tasks
    - `$ gradle localizationStatusWithMarkdown`


- `$ python scripts/syncLang.py update [--extended]`
  - compares all the localization files against the English one and fixes unambiguous duplicates, removes obsolete keys, adds missing keys, and sorts them
  - `[--extended]` if the translations keys which create problems should be printed
  - usable with Gradle tasks
    - `$ gradle localizationUpdate`
    - `$ gradle localizationUpdateExtended`