Giter Site home page Giter Site logo

locky's Introduction

Briefly, this program can be used to localize your software. It traverses
recursively over all of your project folders reading C/C++ source-code
files and replacing readable strings with macros whose definitions are
placed on newly created locale.c and locale.h files.

It is mainly intended to create .cd, .ct, and .catalog files for AmigaOS

Usage: Locky -c CDFILE [options]
Options:
  -h            This help message
  -c<catalog>   Catalog descriptor file (REQUIRED)
  -t<tree>      Read sources from <tree> path
  -r            Do recursive scan to get sources while using -t
  -i<pattern>   do not recurse into subdirs matching <pattern>, implies -r
  -p<pattern>   Use <pattern> to source files [#?.(c|h)]
  -f<file>      Localize <file> only.
  -l<locale>    load/save locatized string from/to <locale> path
  -s<pattern>   Only localize strings which match with <pattern>
  -m<value>     Only localize strings which length is greater than <value>
  -b            Check for minstrlen (-m) on the string before localizing it
  -j            Skip all kind of scape sequences and formating tags while using -b
  -a            Count alpha-numeric chars only, upto -m, while using -b
  -g<value>     Maximun length of MSG_#? strings. (default: %d)\n", MSG_MAXLENGTH );
  -o<pattern>   Do not localize files which match with <pattern>.(c|h)
  -n            localize all strings even if duplicated
  -u            Convert localized MSG_#? strings to uppercase (implies -n)
  -x<func,func> Comma separated list of functions whose strings get not localized
  -e            Encode build-in language strings...
  -d            Print debugging messages
  -V            print version info.

locky's People

Contributors

diegocr avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.