File: README.md

package info (click to toggle)
jabref 3.8.1%2Bds-3%2Bdeb9u1
  • links: PTS, VCS
  • area: main
  • in suites:
  • size: 18,336 kB
  • sloc: java: 114,114; xml: 3,985; python: 283; sh: 282; 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`