Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Options

[locale]possssive format translating

andelfandelf New
edited December 2010 in Vanilla 2.0 - 2.8
in functions.render.php I found this:

/**
* English "possessive" formatting.
* This can be overridden in language definition files like:
* /applications/garden/locale/en-US/definitions.php.
*/
if (!function_exists('FormatPossessive')) {
function FormatPossessive($Word) {
if(function_exists('FormatPossessiveCustom'))
return FormatPossesiveCustom($Word);

return substr($Word, -1) == 's' ? $Word."'" : $Word."'s";
}
}

but I can't find the file /applications/garden/locale/en-US/definitions.php.
How to do it in my locale pack? simply defining a FormatPossessiveCustom function will cause a 'function not found' error
Tagged:
Sign In or Register to comment.