#zng #ui #cross-platform-gui #command-line-tool #gui-framework #user-interface

app zng-l10n-scraper

Command-line tool that scraps l10n text from Zng apps code

7 releases

new 0.3.0 May 12, 2024
0.2.5 Apr 20, 2024

#166 in GUI

Download history 104/week @ 2024-04-02 239/week @ 2024-04-09 160/week @ 2024-04-16 8/week @ 2024-04-23 73/week @ 2024-05-07

293 downloads per month

Apache-2.0 OR MIT

33KB
786 lines

This crate is part of the zng project.

Command-line tool that scraps l10n text from Zng apps code. See documentation for more details.

Installation

cargo install zng-l10n-scraper

Usage

# zng-l10n-scraper --help

Command-line tool that scraps l10n text from Zng apps code.

Usage: zng-l10n-scraper [OPTIONS] --input <INPUT> --output <OUTPUT>

Options:
  -i, --input <INPUT>        Rust files glob
  -o, --output <OUTPUT>      Lang dir
  -m, --macros <MACROS>      Custom macro names, comma separated [default: ]
      --pseudo <PSEUDO>      Pseudo Base name, empty to disable [default: pseudo]
      --pseudo-m <PSEUDO_M>  Pseudo Mirrored name, empty to disable [default: pseudo-mirr]
      --pseudo-w <PSEUDO_W>  Pseudo Wide name, empty to disable [default: pseudo-wide]    
  -h, --help                 Print help
  -V, --version              Print version

Dependencies

~4.5–6.5MB
~116K SLoC