Rename 'cannocial_name_form' to 'canonical_name_form'

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1433 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
coppro
2009-12-04 06:04:57 +00:00
parent 46111fcbad
commit 47aa7ce923
10 changed files with 265 additions and 258 deletions
+2 -2
View File
@@ -152,12 +152,12 @@ String capitalize(const String&);
/** for use in dialogs */
String capitalize_sentence(const String&);
/// Convert a field name to cannocial form
/// Convert a field name to canonical form
/** - lower case and ' ' instead of '_'.
* - non alphanumeric characters are droped
* - "camalCase" is converted to words "camel case" (TODO)
*/
String cannocial_name_form(const String&);
String canonical_name_form(const String&);
/// Returns the singular form of a string
/** Used for reflection, for example "vector<T> apples" is written with keys