From MSQL_User@st.hhs.nl Tue Jan 18 09:34:56 2000 Date: Tue, 18 Jan 2000 18:10:19 +0100 (MET) From: "J. op den Brouw" To: htdig3-dev@htdig.org Subject: [htdig3-dev] Simple Patch on PLURAL_MATCHES for 3.1.4 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 -------------------- J.E.J.opdenBrouw@st.hhs.nl -------------------- Linux - because reboots are for hardware changes ------------------------------------ To unsubscribe from the htdig3-dev mailing list, send a message to htdig3-dev-unsubscribe@htdig.org You will receive a message to confirm this.