- 11 May, 2015 25 commits
-
-
Ad Schellevis authored
-
Franco Fichtner authored
-
Franco Fichtner authored
-
Ad Schellevis authored
-
Franco Fichtner authored
jp .pot file kickoff
-
Isaac (.ike) Levy authored
Signed-off-by: Isaac (.ike) Levy <ike@blackskyresearch.net>
-
Isaac (.ike) Levy authored
Signed-off-by: Isaac (.ike) Levy <ike@blackskyresearch.net>
-
Isaac (.ike) Levy authored
Signed-off-by: Isaac (.ike) Levy <ike@blackskyresearch.net>
-
Franco Fichtner authored
-
Franco Fichtner authored
Oops, where did all of this come from? ;)
-
Franco Fichtner authored
-
Franco Fichtner authored
-
Franco Fichtner authored
-
Franco Fichtner authored
-
Franco Fichtner authored
-
Franco Fichtner authored
-
Franco Fichtner authored
-
Franco Fichtner authored
-
Franco Fichtner authored
-
Franco Fichtner authored
Locale.en.canonical xcatch upstream
-
Isaac (.ike) Levy authored
I believe this is what we want long term, to ensure translation messages don't pile up, and that they retain multiple comment lines for source references, etc... Please tell me if I'm wrong, I'm not 100% on how it's behaviour works. Signed-off-by: Isaac (.ike) Levy <ike@blackskyresearch.net>
-
Isaac (.ike) Levy authored
# for i in `git grep --name-only gettext | grep -v pot$` ; do # xgettext -j -F -L PHP --from-code=UTF-8 \ # -o ./src/share/locale/en/LC_MESSAGES/OPNsense.pot "${i}" # done For accuracy and simplicicity, the canonical english .pot file should be tracking source changes in this fashion. Also, generating the base .pot file in this manner has an advantage for developers- if you make proper gettext calls in the code, you simply re-generate the .pot file, (instead of finding and inserting your changes by hand)... One problem with the line above: the '-L PHP' flag makes a *ton* of C related warnings go away, but not all files in core are actually PHP... Once this raises itself as a problem, a script generating this .pot file can get more sophicstocated to accomodate. For now however, most things look like PHP syntax. Signed-off-by: Isaac (.ike) Levy <ike@blackskyresearch.net>
-
Isaac (.ike) Levy authored
If this file is generated regularly, it becomes easier for translators to keep up with changes to the source code. (Or, at least changes with accompanying gettext calls). This was generated with: # for i in `git grep --name-only 'gettext' | grep -v 'pot$'` ; do # xgettext -j -o ./src/share/locale/en/LC_MESSAGES/OPNsense.pot "${i}" # done Signed-off-by: Isaac (.ike) Levy <ike@blackskyresearch.net>
-
Isaac (.ike) Levy authored
xgettext(1) is obviously much simpler than creating the canonical .pot file by hand. (If only I'd have known better before I started this :) This .pot file was generated from the source code via: # for i in `git grep --name-only 'gettext' | grep -v 'pot$'` ; do # xgettext -j -o ./src/share/locale/en/LC_MESSAGES/OPNsense.pot "${i}" # done For this commit, the old header was retained- it will be deleted in the next commit, for ease of scriptable maintinence of the canonical english .pot file. Signed-off-by: Isaac (.ike) Levy <ike@blackskyresearch.net>
-
Isaac (.ike) Levy authored
Signed-off-by: Isaac (.ike) Levy <ike@blackskyresearch.net>
-
- 10 May, 2015 8 commits
-
-
Ad Schellevis authored
-
-
Ad Schellevis authored
-
Franco Fichtner authored
Needs the optional gettext-tools package to run.
-
Ad Schellevis authored
-
Ad Schellevis authored
Adds controller functionality to read form definitions from an xml file in [Controller]/forms/ directory to keep Volt template code a bit cleaner an more understandable.
-
Ad Schellevis authored
-
- 09 May, 2015 1 commit
-
-
Ad Schellevis authored
-
- 08 May, 2015 6 commits
-
-
Ad Schellevis authored
-
Ad Schellevis authored
-
Ad Schellevis authored
-
Ad Schellevis authored
-
Ad Schellevis authored
-
Ad Schellevis authored
-