39 Commits

Author SHA1 Message Date
Franco Fichtner
82a4ebb46a lang: move dynamic gettext() foo into subdir
Create and commit the files generated by the dynamic gettext extraction,
so that we can review changes more gracefully.  Two files in the Traffic
Shaper forms don't parse right now, but I have no clue why.
2015-05-31 15:05:30 +02:00
Franco Fichtner
3b562b0e38 lang: move translation glue into its own subdir 2015-05-31 13:58:18 +02:00
Franco Fichtner
b7f53fc236 make: flash README here as well 2015-05-19 08:30:42 +02:00
Franco Fichtner
bde4437625 make: apparently this just happened 2015-05-13 14:15:06 +02:00
Franco Fichtner
5c29e4b0e2 scripts: sweep here too 2015-05-12 10:44:03 +02:00
Ad Schellevis
821cca4be8 (language) add plugable script base to collect gettext tags and implement into Makefile 2015-05-11 20:09:13 +00:00
Franco Fichtner
8d69359455 make: due to recent renames, just expand to whatever we have 2015-05-11 17:15:51 +02:00
Franco Fichtner
c01a08e8fe make: not needed anymore 2015-05-11 13:52:13 +02:00
Franco Fichtner
d17d7a9396 locale: bootstrap the simplified chinese translation
Submitted by: Liu <liuyonghui_AT_grapecity.com>
2015-05-11 13:52:00 +02:00
Franco Fichtner
127614c538 make: do not install human-readable translation files 2015-05-11 11:53:11 +02:00
Franco Fichtner
d921f8288c make: `bootstrap' glue for translations 2015-05-11 11:47:09 +02:00
Franco Fichtner
34c4099e8b locale: need to change destination now 2015-05-11 10:40:09 +02:00
Franco Fichtner
4588c63f44 locale: --strict is easier to diff/read 2015-05-11 09:28:52 +02:00
Franco Fichtner
77c4d92937 make: wipe file before regeneration 2015-05-11 08:20:50 +02:00
Isaac (.ike) Levy
41ba7900f5 -j "join messages with existing file"
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>
2015-05-11 02:01:08 -04:00
Franco Fichtner
87a1e6157a make: generate English .pot file via xgettext
Needs the optional gettext-tools package to run.
2015-05-10 19:25:11 +02:00
Franco Fichtner
55db8dab0f pkg: do not overwrite default config.xml anymore; fixes #145
Fixes spurious overwrite of a standard config, but also doesn't
update the standards anymore in a running installation.  Install
media is unaffected from this change.  Users that have had their
standard config overwritten need to rewrite the file accordingly:

    /usr/local/etc/config.xml

It also enables users to use their own sample configs on a running
installation from now on.  Might add a knob in the GUI to do e.g.
`use this config as the factory reset configuration'.  :)

While there, move the pkg-related Makefile glue into its own
file in the subdirectory for clarity.
2015-04-20 12:33:05 +02:00
Franco Fichtner
661d8b9ce1 make: improve live mount so that it registers the proper version 2015-04-20 08:25:41 +02:00
Franco Fichtner
a87c82fee2 pkg: add fingerprint for repository signing 2015-04-02 12:13:33 +02:00
Franco Fichtner
f6c6889d74 php: annoy Jos and Ad by enabling warnings by default...
... when using the core.git mount hook.  :)

Does not affect the packages/images.
2015-04-01 11:54:14 +02:00
Franco Fichtner
9002010cb0 inc: remove more globals that are barely used or unused 2015-03-24 22:56:23 +01:00
Franco Fichtner
f1d7efc661 vpn: is_array($x) && is_array($x) -> isset($x)
I guess this is a typo.  It makes sense to preceede is_array() with
isset() here since PHP throws a warning on unset variables nowadays.
However, is_array() should not be used if the following operation is
`foreach' as it would mask the fact that the array that is set is not
an array at all (maybe due to a bug).  Rather want to catch it instead.

A bit of style along the way and `lint' target fixing.
2015-03-24 07:57:38 +01:00
Franco Fichtner
4cf690e0a5 src: style and whitespace sweep 2015-03-11 07:46:19 +01:00
Franco Fichtner
f5b013a0dc make: exclude new .ttf files from `lint' target 2015-03-10 09:36:44 +01:00
Franco Fichtner
d72df5d071 make: lint over all files that are `ok' for PHP...
Seeing PHP ignore text files makes it easier to lint over more
files for a simple reason:  maybe someone sneaked a PHP file
into the repo and forgot the proper file extension, which is not
uncommon for utilities in *bin/ -- makes it easier to catch those.
2015-03-03 15:46:56 +01:00
Franco Fichtner
9e1b921efe rc: fix a couple of parse errors that previously went unnoticed 2015-03-03 08:53:54 +01:00
Franco Fichtner
10002c2278 pkg: auto-mounting the repo taints pkg(8) setups
Move the config files out of the way, but still install them properly.
2015-03-02 13:07:01 +01:00
Franco Fichtner
78eaeba0a4 make: the new auto-mount needs a full path 2015-02-25 22:01:37 +01:00
Franco Fichtner
02f96dacf8 pkg: pull in all files, contents and insert placeholders 2015-02-25 20:42:17 +01:00
Franco Fichtner
3dd6db4a52 pkg: install via `install', and fix unknown version hiccup 2015-02-25 07:49:56 +01:00
Franco Fichtner
0a2b91bf9d make: only check the actual PHP directory for `style' 2015-02-23 21:37:30 +01:00
Franco Fichtner
3ff299e1d7 make: add rc.initial* scripts to lint target 2015-01-11 10:10:33 +01:00
Franco Fichtner
963500ba4e make: crank whitespace sweep range and apply it to remaining share file(s) 2014-12-28 20:14:43 +01:00
Franco Fichtner
30ed9e9f8e rc: import test script from old tools
... and add a make target to execute it properly
2014-12-28 11:55:16 +01:00
Franco Fichtner
edecc7bcd4 make: add a code style checker for PSR1/PSR2 2014-12-28 10:22:40 +01:00
Franco Fichtner
8efe7dcaf9 make: decrease whitespace sweep scope a bit 2014-12-28 09:24:05 +01:00
Franco Fichtner
e28efdc5ce make: let `install' output the plist for us 2014-12-23 14:20:38 +01:00
Franco Fichtner
727453c076 src: move all files (again)
Make "src" the implicit "/usr/local" so that nobody can
sneak in weird files in the base file system or potentially
overwrite them.

This is the last time, I swear...  :)
2014-12-10 16:42:39 +01:00
Franco Fichtner
4b63c35216 make: add a makefile for janitorial purposes 2014-12-09 17:47:36 +01:00