Index: openacs-4/packages/categories/catalog/categories.en_US.ISO-8859-1.xml =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/categories/catalog/categories.en_US.ISO-8859-1.xml,v diff -u -N -r1.7 -r1.7.4.1 --- openacs-4/packages/categories/catalog/categories.en_US.ISO-8859-1.xml 20 May 2011 10:41:11 -0000 1.7 +++ openacs-4/packages/categories/catalog/categories.en_US.ISO-8859-1.xml 21 Apr 2017 20:25:40 -0000 1.7.4.1 @@ -90,7 +90,7 @@ Update ordering Update ordering from values in list Manage Permissions - Permissions Managment for tree "%tree_name%" + Permissions Management for tree "%tree_name%" required Restore Restore checked categories Index: openacs-4/packages/categories/lib/contributions.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/categories/lib/contributions.tcl,v diff -u -N -r1.4.2.1 -r1.4.2.2 --- openacs-4/packages/categories/lib/contributions.tcl 10 Sep 2015 08:30:17 -0000 1.4.2.1 +++ openacs-4/packages/categories/lib/contributions.tcl 21 Apr 2017 20:25:40 -0000 1.4.2.2 @@ -10,8 +10,8 @@ if {![info exists category]} { set category {} } -if {[info exists supress]} { - foreach key $supress { +if {[info exists suppress]} { + foreach key $suppress { set hide($key) 1 } } Index: openacs-4/packages/categories/sql/oracle/categories-create.sql =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/categories/sql/oracle/categories-create.sql,v diff -u -N -r1.6 -r1.6.6.1 --- openacs-4/packages/categories/sql/oracle/categories-create.sql 22 Apr 2008 16:04:37 -0000 1.6 +++ openacs-4/packages/categories/sql/oracle/categories-create.sql 21 Apr 2017 20:25:40 -0000 1.6.6.1 @@ -274,7 +274,7 @@ Primary key. '; comment on column category_synonyms.category_id is ' - Category the synonyms are refering to. + Category the synonyms are referring to. '; comment on column category_synonyms.locale is ' Language of the synonym. @@ -305,7 +305,7 @@ to be used in search. '; comment on column category_synonym_index.synonym_id is ' - Id of the synonym refered to. + Id of the synonym referred to. '; comment on column category_synonym_index.trigram is ' 3 character part of the synonym. @@ -366,7 +366,7 @@ to be used in search. '; comment on column category_search_index.query_id is ' - Id of the search text refered to. + Id of the search text referred to. '; comment on column category_search_index.trigram is ' 3 character part of the search text. Index: openacs-4/packages/categories/sql/oracle/upgrade/upgrade-1.0d3-1.0d4.sql =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/categories/sql/oracle/upgrade/upgrade-1.0d3-1.0d4.sql,v diff -u -N -r1.1 -r1.1.18.1 --- openacs-4/packages/categories/sql/oracle/upgrade/upgrade-1.0d3-1.0d4.sql 11 Feb 2004 13:25:27 -0000 1.1 +++ openacs-4/packages/categories/sql/oracle/upgrade/upgrade-1.0d3-1.0d4.sql 21 Apr 2017 20:25:40 -0000 1.1.18.1 @@ -31,7 +31,7 @@ Primary key. '; comment on column category_synonyms.category_id is ' - Category the synonyms are refering to. + Category the synonyms are referring to. '; comment on column category_synonyms.locale is ' Language of the synonym. @@ -62,7 +62,7 @@ to be used in search. '; comment on column category_synonym_index.synonym_id is ' - Id of the synonym refered to. + Id of the synonym referred to. '; comment on column category_synonym_index.trigram is ' 3 character part of the synonym. @@ -123,7 +123,7 @@ to be used in search. '; comment on column category_search_index.query_id is ' - Id of the search text refered to. + Id of the search text referred to. '; comment on column category_search_index.trigram is ' 3 character part of the search text. Index: openacs-4/packages/categories/sql/postgresql/categories-create.sql =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/categories/sql/postgresql/categories-create.sql,v diff -u -N -r1.11.6.1 -r1.11.6.2 --- openacs-4/packages/categories/sql/postgresql/categories-create.sql 14 May 2016 18:54:16 -0000 1.11.6.1 +++ openacs-4/packages/categories/sql/postgresql/categories-create.sql 21 Apr 2017 20:25:40 -0000 1.11.6.2 @@ -309,7 +309,7 @@ Primary key. '; comment on column category_synonyms.category_id is ' - Category the synonyms are refering to. + Category the synonyms are referring to. '; comment on column category_synonyms.locale is ' Language of the synonym. @@ -340,7 +340,7 @@ to be used in search. '; comment on column category_synonym_index.synonym_id is ' - Id of the synonym refered to. + Id of the synonym referred to. '; comment on column category_synonym_index.trigram is ' 3 character part of the synonym. @@ -401,7 +401,7 @@ to be used in search. '; comment on column category_search_index.query_id is ' - Id of the search text refered to. + Id of the search text referred to. '; comment on column category_search_index.trigram is ' 3 character part of the search text. Index: openacs-4/packages/categories/sql/postgresql/upgrade/upgrade-1.0d3-1.0d4.sql =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/categories/sql/postgresql/upgrade/upgrade-1.0d3-1.0d4.sql,v diff -u -N -r1.2 -r1.2.4.1 --- openacs-4/packages/categories/sql/postgresql/upgrade/upgrade-1.0d3-1.0d4.sql 30 Mar 2013 22:50:44 -0000 1.2 +++ openacs-4/packages/categories/sql/postgresql/upgrade/upgrade-1.0d3-1.0d4.sql 21 Apr 2017 20:25:40 -0000 1.2.4.1 @@ -49,7 +49,7 @@ Primary key. '; comment on column category_synonyms.category_id is ' - Category the synonyms are refering to. + Category the synonyms are referring to. '; comment on column category_synonyms.locale is ' Language of the synonym. @@ -80,7 +80,7 @@ to be used in search. '; comment on column category_synonym_index.synonym_id is ' - Id of the synonym refered to. + Id of the synonym referred to. '; comment on column category_synonym_index.trigram is ' 3 character part of the synonym. @@ -141,7 +141,7 @@ to be used in search. '; comment on column category_search_index.query_id is ' - Id of the search text refered to. + Id of the search text referred to. '; comment on column category_search_index.trigram is ' 3 character part of the search text. Index: openacs-4/packages/categories/tcl/category-list-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/categories/tcl/category-list-procs.tcl,v diff -u -N -r1.8.2.2 -r1.8.2.3 --- openacs-4/packages/categories/tcl/category-list-procs.tcl 18 Sep 2015 08:01:09 -0000 1.8.2.2 +++ openacs-4/packages/categories/tcl/category-list-procs.tcl 21 Apr 2017 20:25:40 -0000 1.8.2.3 @@ -94,15 +94,15 @@ Accepts a list of category_ids and returns a pretty list of tree-names and category-names with optional links for each tree and category. - @param category_delimiter string that seperates the categories in the pretty list + @param category_delimiter string that separates the categories in the pretty list @param category_link optional link for every category-name @param category_link_eval optional command that returns the link for every category-name. normaly this would be a export_vars command that could contain __category_id and __tree_id which refer to category_id and tree_id of the category-name the link will wrap. @param category_link_html optional list of key value pairs for additional html in a link. - @param tree_delimiter string that seperates the tree-names in the pretty list - @param tree_colon string that seperates a tree-name from the category-names in that tree. + @param tree_delimiter string that separates the tree-names in the pretty list + @param tree_colon string that separates a tree-name from the category-names in that tree. @param tree_link optional link for every tree-name @param tree_link_eval optional command that returns the link for every tree-name. normaly this would be a export_vars command that could @@ -210,15 +210,15 @@ list of category-names. These extra column can then be used in the listbuilder to display a pretty list of categorized objects. - @param category_delimiter string that seperates the categories in the pretty list + @param category_delimiter string that separates the categories in the pretty list @param category_link optional link for every category-name @param category_link_eval optional command that returns the link for every category-name. normaly this would be a export_vars command that could contain __category_id and __tree_id which refer to category_id and tree_id of the category-name the link will wrap. @param category_link_html optional list of key value pairs for additional html in a link. - @param tree_delimiter string that seperates the tree-names in the pretty list - @param tree_colon string that seperates a tree-name from the category-names in that tree. + @param tree_delimiter string that separates the tree-names in the pretty list + @param tree_colon string that separates a tree-name from the category-names in that tree. @param tree_link optional link for every tree-name @param tree_link_eval optional command that returns the link for every tree-name. normaly this would be a export_vars command that could Index: openacs-4/packages/categories/tcl/test/categories-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/categories/tcl/test/categories-procs.tcl,v diff -u -N -r1.1.20.1 -r1.1.20.2 --- openacs-4/packages/categories/tcl/test/categories-procs.tcl 10 Sep 2015 08:30:19 -0000 1.1.20.1 +++ openacs-4/packages/categories/tcl/test/categories-procs.tcl 21 Apr 2017 20:25:40 -0000 1.1.20.2 @@ -21,7 +21,7 @@ select 1 from category_trees where tree_id = :tree_id } -default "0"] - aa_equals "tree was created succesfully" $success_p 1 + aa_equals "tree was created successfuly" $success_p 1 } } @@ -46,7 +46,7 @@ select 1 from categories where category_id = :category_id } -default "0"] - aa_equals "category was created succesfully" $success_p 1 + aa_equals "category was created successfuly" $success_p 1 } } @@ -74,7 +74,7 @@ select 0 from categories where category_id = :category_id } -default "1"] - aa_equals "category was deleted succesfully" $success_p 1 + aa_equals "category was deleted successfuly" $success_p 1 } } Index: openacs-4/packages/categories/www/cadmin/category-form.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/categories/www/cadmin/category-form.tcl,v diff -u -N -r1.11.2.1 -r1.11.2.2 --- openacs-4/packages/categories/www/cadmin/category-form.tcl 10 Sep 2015 08:30:20 -0000 1.11.2.1 +++ openacs-4/packages/categories/www/cadmin/category-form.tcl 21 Apr 2017 20:25:40 -0000 1.11.2.2 @@ -43,7 +43,7 @@ set name "" set description "" } -edit_request { - if {![db_0or1row check_translation_existance ""]} { + if {![db_0or1row check_translation_existence ""]} { set default_locale [parameter::get -parameter DefaultLocale -default en_US] db_1row get_default_translation "" } Index: openacs-4/packages/categories/www/cadmin/category-form.xql =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/categories/www/cadmin/category-form.xql,v diff -u -N -r1.3 -r1.3.18.1 --- openacs-4/packages/categories/www/cadmin/category-form.xql 11 Feb 2004 00:38:52 -0000 1.3 +++ openacs-4/packages/categories/www/cadmin/category-form.xql 21 Apr 2017 20:25:40 -0000 1.3.18.1 @@ -1,7 +1,7 @@ - + select name, description