Daya Bay Reactor Neutrino Experiment TWiki > TWikiPluralsDotPm Daya Bay webs:
Public | 中文 | Internal | Help

Log In or Register

Package TWiki::Plurals

Handle conversion of plural topic names to singular form.

On this page:

StaticMethod singularForm ($web,$pluralForm) -> $singularForm

Try to singularise plural topic name.

Returns undef if no singular form exists, otherwise returns the singular form of the topic

I18N - Only apply plural processing if site language is English, or if a built-in English-language web (Main, TWiki or Plugins). Plurals apply to names ending in 's', where topic doesn't exist with plural name.

Note that this is highly langauge specific, and need to be enabled on a per-installation basis with $TWiki::cfg{PluralToSingular}.



Revision: r3 - 2009-03-30 - 17:17:52 - TWikiContributor

Copyright © 1999-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding Daya Bay? Send feedback
Note: Please contribute updates to this topic on TWiki.org at TWiki:TWiki.TWikiPluralsDotPm.