Hi,
in the Netherlands, the plural for document is documenten and
not documents like in English. To make this configurable, I
made if very litte patch, that uses (yet another) config
option: plural_suffix, but maybe this is wrongly chosen.
plural_suffix: s # for english/default
plural_suffix: en # The Netherlands
Here's the patch:
diff -r htdig-3.1.4/htcommon/defaults.cc
htdig-3.1.4-chaos/htcommon/defaults.cc
115a116
> {"plural_suffix", "s"},
diff -r htdig-3.1.4/htsearch/Display.cc
htdig-3.1.4-chaos/htsearch/Display.cc
403c403
< vars.Add("PLURAL_MATCHES", new String(nMatches == 1 ? (char *)"" :
(char *)"s"));
---
> vars.Add("PLURAL_MATCHES", new String(nMatches == 1 ? (char *)"" :
(char *)config["plural_suffix"]));
My diff doesn't have a -u option.....
--jesse
--------------------------------------------------------------------
J. op den Brouw Johanna Westerdijkplein 75
Haagse Hogeschool 2521 EN DEN HAAG
Sector Techniek Netherlands
Afdeling Elektrotechniek +31 70 4458936
-------------------- [EMAIL PROTECTED] --------------------
Linux - because reboots are for hardware changes
------------------------------------
To unsubscribe from the htdig3-dev mailing list, send a message to
[EMAIL PROTECTED]
You will receive a message to confirm this.