Index: openacs-4/packages/categories/categories.info =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/categories/categories.info,v diff -u -r1.16 -r1.17 --- openacs-4/packages/categories/categories.info 10 Oct 2009 22:38:09 -0000 1.16 +++ openacs-4/packages/categories/categories.info 20 May 2011 10:41:11 -0000 1.17 @@ -8,15 +8,15 @@ f categories - + timo@timohentschel.de Manage categories in category trees and let users map objects to categories. 2008-11-06 Datamodel for category trees with supporting API and management pages. Provides a widget for general categorization of arbitrary objects and tracks which package instances use which category trees. Also supports localization. 0 - + Index: openacs-4/packages/categories/catalog/categories.de_DE.ISO-8859-1.xml =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/categories/catalog/categories.de_DE.ISO-8859-1.xml,v diff -u -r1.4 -r1.5 --- openacs-4/packages/categories/catalog/categories.de_DE.ISO-8859-1.xml 6 Nov 2008 15:50:44 -0000 1.4 +++ openacs-4/packages/categories/catalog/categories.de_DE.ISO-8859-1.xml 20 May 2011 10:41:11 -0000 1.5 @@ -1,9 +1,106 @@ - Management der Kategorien + Aktion + Kategorie hinzuf�gen + Kategorie auf der ersten Ebene hinzuf�gen + Anwendungen + Anwendungen + Zuordnung �ndern + Kategorienbaum �bernehmen + Kategorien von einem anderen Baum �bernehmen + Kategorienbaum l�schen + Diesen Kategorienbaum l�schen + Berechtigungen des Kategorienbaums verwalten + Links ansehen + Synonyme ansehen + Aktionen + Berechtigungen des Kategorienbaums verwalten + Kategorie hinzuf�gen + Subkategorie hinzuf�gen + Kategorienbaum hinzuf�gen + Durchsuchen + Ausgew�hlte Kategorienb�ume durchsuchen + Kategorien verwalten + Nein, Zuordnung nicht aufheben Kategorien - Code zum Erstellen der Kategorieb�ume exportieren - TCL Code um ausgew�hlte Kategorieb�ume zu importieren + %name% kategorisieren + Kategorie + ausgew�hlt + Code zum Erstellen der Kategorienb�ume exportieren + TCL Code, um ausgew�hlte Kategorieb�ume zu importieren + Neuen Kategorienbaum erstellen + Aktuelle Kategorien + L�schen + Ausgew�hlte Kategorien l�schen + Kategorie und alle Subkategorien l�schen + Kategorienbaum "%tree_name%" l�schen + Ausblenden + Ausgew�hlte Kategorien ausblenden + Ausgeblendet + Beschreibung + Kategorie bearbeiten + Diese Kategorie bearbeiten + Einstellungen bearbeiten + Kategorienbaum bearbeiten Export + hier + Sprache + Sind Sie sicher, dass Sie diese Kategorien l�schen wollen: + Sind Sie sicher, dass Sie diese Kategorien-Links l�schen wollen: + Sind Sie sicher, dass Sie diese Synonyme l�schen wollen: + Sind Sie sicher, dass Sie den Kategorienbaum "%tree_name%" l�schen wollen: + Sind Sie sicher, dass Sie die Zuordnung des Kategorienbaums "%tree_name%" zum Wiki "%object_name%" aufheben wollen? + Kategorien in Verwendung + Kategorien verwalten + Kategorienb�ume, die zugeordnet werden k�nnen + Kategorienb�ume, die dem Wiki "%object_name%" zugeordnet sind + Neuen Kategorienbaum erstellen und zuordnen + Erkl�rung: Jede Kategorisierung innerhalb der Quellkategorie erfolgt auch in der Zielkategorie. + %object_count% Objekte auf %page_count% Seiten + Kategorie suchen + Kategorienb�ume zum Durchsuchen ausw�hlen + Es gibt %instances_without_permission% Verwendungen des Kategorienbaums, aber Sie haben keine Berechtigung, diese zu sehen. + Dies ist ein Kategorienbaum, der nur f�r Site-Wide-Administrator/inn/en zug�nglich ist + Dieser Kategorienbaum wird nicht genutzt. + Dieser Kategorienbaum wird noch von einigen Anwendungen verwendet. F�r eine Liste, klicken Sie bitte + Um mehrere Kategorien auszuw�hlen, verwenden Sie die Strg-Taste auf Ihrer Tastatur. + Subkategorie zuordnen + Diese Subkategorie zuordnen + Kategorienbaum zuordnen + Zuordnungseinstellungen + Einstellungen der Zuordnung von Seiten zum Subkategorienbaum "%tree_name% :: %category_name%" + Einstellungen der Zuordnung von Seiten zum Kategorienbaum "%tree_name%" + mehrfach + Abbrechen + Keine + OK + optional + Reihenfolge + Reihenfolge aktualisieren + Reihenfolge entsprechend der Werte aktualisieren + Zugriffsrechte verwalten + Zugriffsrechte f�r Kategoriebaum "%tree_name%" verwalten + erforderlich + Wiederherstellen + Ausgew�hlte Kategorien wiederherstellen + ausgew�hlt + einfach + Kategorienbaum �bernehmen + Einen Kategorienbaum in "%tree_name%" �bernehmen + Subkategorie von "%tree_name%" ausw�hlen und zuordnen + Name des Kategorienbaums + Kategorienbaum "%tree_name%" + Kategorienb�ume, die Sie verwalten k�nnen + Kategorienb�ume, die Sie ansehen k�nnen + Zuordnung aufheben + Zuordnung aufheben + Verwendung + Anwendungen, die den Kategorienbaum "%tree_name%" verwenden + Optionen + Checkbox - User/innen k�nnen eine Seite mehreren Kategorien zuweisen + Multiselect - User/innen k�nnen eine Seite mehreren Kategorien zuweisen + Radio + Muss eine Seite mindestens einer Kategorie zugewiesen werden? + Ausw�hlen 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 -r1.6 -r1.7 --- openacs-4/packages/categories/catalog/categories.en_US.ISO-8859-1.xml 6 Nov 2008 15:50:44 -0000 1.6 +++ openacs-4/packages/categories/catalog/categories.en_US.ISO-8859-1.xml 20 May 2011 10:41:11 -0000 1.7 @@ -1,9 +1,119 @@ + Action + Add root category + Add category at the root level + Applications + Applications + Change parent + Copy tree + Copy categories from other tree + Delete tree + Delete this category tree + Manage permissions for tree + View links + View synonyms + Actions + Add category + Add subcategory + Add tree + >AND + | + Browse + Browse through selected category trees Category Management + Cancel, do not unmap Categories + Categorize %name% + Category + checked Export code to recreate category trees Tcl code to recreate selected category trees + Create a new tree + Current categories + Delete + Delete checked categories + Delete category and all subcategories + Delete Category Tree "%tree_name%" + Deprecate + Deprecate checked categories + Deprecated + Description + Edit category + Edit this category + Edit parameters + Edit tree Export + here + Language + Are you sure you want to delete these categories: + Are you sure you want to delete these category links: + Are you sure you want to delete these synonyms: + Are you sure you want to delete the tree "%tree_name%"? + Are you sure you want to unmap the tree "%tree_name%" from "%object_name%"? + Categories still used + Category Administration + Category trees available for mapping + Category trees mapped to "%object_name%" + Create and map a new category tree + Explanation: Any categorization made to the source category will +also be made to the target category. + %form_vars;noquote% + Combine by + [ + %object_count% objects on %page_count% pages + Search for a category + Select Trees for browsing + There are %instances_without_permission% more uses of this tree, but you + don't have the permission to see them. + This is a site wide category tree + This tree is not used. + This tree is still used by some modules. For a complete list, please go + To deselect or select multiple categories use the Control-Key on your keyboard. + Make it Local + Make it Site-Wide + Map subtree + Map this subree + Map tree + + Mapping Parameters + Parameters of mapping to subtree "%tree_name% :: %category_name%" + Parameters of mapping to tree "%tree_name%" + multiple + No, Cancel + None + OK + optional + >OR ] + Ordering + Update ordering + Update ordering from values in list + Manage Permissions + Permissions Managment for tree "%tree_name%" + required + Restore + Restore checked categories + Search String + selected + single + Site-Wide Tree + This tree is local + Tree copy + Copy a tree into "%tree_name%" + Select a subtree of "%tree_name%" to map + Tree Name + Category Tree "%tree_name%" + Trees you can manage + Trees you can view + Unmap + unmap + Usage + Modules using Category Tree "%tree_name%" + Widget + Checkbox - let users assign multiple categories + Multiselect - let users assign multiple categories + Radio + Require users to assign at least one category? + Select Index: openacs-4/packages/categories/lib/categorize.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/categories/lib/categorize.adp,v diff -u -r1.1 -r1.2 --- openacs-4/packages/categories/lib/categorize.adp 10 Mar 2005 18:27:41 -0000 1.1 +++ openacs-4/packages/categories/lib/categorize.adp 20 May 2011 10:41:11 -0000 1.2 @@ -1,6 +1,7 @@ -

Categorize @name@

+

#categories.Categorize_name#

-

Current categories

+

#categories.Current_categories#

@catass_list;noquote@

+ Index: openacs-4/packages/categories/lib/map.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/categories/lib/map.adp,v diff -u -r1.1 -r1.2 --- openacs-4/packages/categories/lib/map.adp 10 Mar 2005 18:27:41 -0000 1.1 +++ openacs-4/packages/categories/lib/map.adp 20 May 2011 10:41:11 -0000 1.2 @@ -1 +1 @@ -OK \ No newline at end of file +#categories.OK# Index: openacs-4/packages/categories/lib/tree-form.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/categories/lib/tree-form.tcl,v diff -u -r1.2 -r1.3 --- openacs-4/packages/categories/lib/tree-form.tcl 6 Nov 2008 15:50:44 -0000 1.2 +++ openacs-4/packages/categories/lib/tree-form.tcl 20 May 2011 10:41:11 -0000 1.3 @@ -12,9 +12,9 @@ -export { locale object_id ctx_id } \ -form { {tree_id:key} - {tree_name:text {label "Name"} {html {size 50 maxlength 50}}} - {language:text(select) {label "Language"} {options $languages}} - {description:text(textarea),optional {label "Description"} {html {rows 5 cols 80}}} + {tree_name:text {label "#acs-subsite.Name#"} {html {size 50 maxlength 50}}} + {language:text(select) {label "#categories.Language#"} {options $languages}} + {description:text(textarea),optional {label "#categories.Description#"} {html {rows 5 cols 80}}} } -new_request { permission::require_permission -object_id $package_id -privilege category_admin set language $locale Index: openacs-4/packages/categories/www/categories-browse.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/categories/www/categories-browse.adp,v diff -u -r1.3 -r1.4 --- openacs-4/packages/categories/www/categories-browse.adp 11 Feb 2004 00:40:14 -0000 1.3 +++ openacs-4/packages/categories/www/categories-browse.adp 20 May 2011 10:41:11 -0000 1.4 @@ -3,28 +3,25 @@ @context_bar;noquote@
- @form_vars;noquote@ - Combine by - [ checked>AND - | checked>OR ] + #categories.lt_form_varsnoquote__Com# #categories.checked##categories.AND__# #categories.checked##categories.OR_#
@trees.tree_name@:
-To deselect or select multiple categories use the Control-Key on your keyboard. +#categories.lt_To_deselect_or_select#

- +
@object_count@ objects on @page_count@ pages
#categories.lt_object_count_objects_#
@@ -57,3 +54,4 @@ @dimension_bar;noquote@

@items;noquote@ + Index: openacs-4/packages/categories/www/index.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/categories/www/index.adp,v diff -u -r1.4 -r1.5 --- openacs-4/packages/categories/www/index.adp 11 Feb 2004 00:40:14 -0000 1.4 +++ openacs-4/packages/categories/www/index.adp 20 May 2011 10:41:11 -0000 1.5 @@ -4,12 +4,13 @@

-

Select Trees for browsing

+

#categories.lt_Select_Trees_for_brow#

-

Search for a category

+

#categories.lt_Search_for_a_category#

+ Index: openacs-4/packages/categories/www/index.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/categories/www/index.tcl,v diff -u -r1.8 -r1.9 --- openacs-4/packages/categories/www/index.tcl 8 Nov 2008 17:05:38 -0000 1.8 +++ openacs-4/packages/categories/www/index.tcl 20 May 2011 10:41:11 -0000 1.9 @@ -12,7 +12,7 @@ trees:multirow } -set page_title "Categories" +set page_title "#categories.Categories#" set context_bar "" set user_id [auth::require_login] @@ -35,17 +35,17 @@ template::list::create \ -name trees \ -key tree_ids \ - -no_data "None" \ + -no_data "#categories.None#" \ -bulk_actions { - "Browse" "categories-browse" "Browse through selected category trees" + "#categories.Browse#" "categories-browse" "#categories.Browse_link_title#" } -elements { tree_name { - label "Name" + label "#acs-subsite.Name#" } } ad_form -name search_form -action . -form { - {search_text:text {label "Search String"} {value $search_text} {html {size 50 maxlength 200}}} + {search_text:text {label "#categories.Search_string#"} {value $search_text} {html {size 50 maxlength 200}}} } -on_submit { set query_id [category_synonym::search -search_text [string trim $search_text] -locale $locale] } -after_submit { Index: openacs-4/packages/categories/www/cadmin/category-delete.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/categories/www/cadmin/category-delete.adp,v diff -u -r1.4 -r1.5 --- openacs-4/packages/categories/www/cadmin/category-delete.adp 5 Feb 2004 18:58:48 -0000 1.4 +++ openacs-4/packages/categories/www/cadmin/category-delete.adp 20 May 2011 10:41:11 -0000 1.5 @@ -4,13 +4,14 @@ @locale;noquote@

- Are you sure you want to delete these categories: + #categories.lt_Are_you_sure_you_want#

- Delete + #categories.Delete#     - No, Cancel + #categories.No_Cancel#

+ 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 -r1.9 -r1.10 --- openacs-4/packages/categories/www/cadmin/category-form.tcl 21 Dec 2008 18:05:35 -0000 1.9 +++ openacs-4/packages/categories/www/cadmin/category-form.tcl 20 May 2011 10:41:11 -0000 1.10 @@ -20,9 +20,9 @@ permission::require_permission -object_id $tree_id -privilege category_tree_write if {[info exists category_id]} { - set page_title "Edit category" + set page_title [_ categories.Edit_category] } else { - set page_title "Add category" + set page_title [_ categories.Add_category] } set context_bar [category::context_bar $tree_id $locale \ @@ -36,9 +36,9 @@ -export { tree_id parent_id locale object_id ctx_id } \ -form { {category_id:key} - {name:text {label "Name"} {html {size 50 maxlength 200}}} - {language:text(select) {label "Language"} {value $locale} {options $languages}} - {description:text(textarea),optional {label "Description"} {html {rows 5 cols 80}}} + {name:text {label "#acs-admin.Name#"} {html {size 50 maxlength 200}}} + {language:text(select) {label "#categories.Language#"} {value $locale} {options $languages}} + {description:text(textarea),optional {label "#categories.Description#"} {html {rows 5 cols 80}}} } -new_request { set name "" set description "" Index: openacs-4/packages/categories/www/cadmin/category-link-delete.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/categories/www/cadmin/category-link-delete.adp,v diff -u -r1.1 -r1.2 --- openacs-4/packages/categories/www/cadmin/category-link-delete.adp 8 Feb 2004 17:30:45 -0000 1.1 +++ openacs-4/packages/categories/www/cadmin/category-link-delete.adp 20 May 2011 10:41:11 -0000 1.2 @@ -4,13 +4,14 @@ @locale;noquote@

- Are you sure you want to delete these category links: + #categories.lt_Are_you_sure_you_want_1#

- Delete + #categories.Delete#     - No, Cancel + #categories.No_Cancel#

+ Index: openacs-4/packages/categories/www/cadmin/category-links-view.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/categories/www/cadmin/category-links-view.adp,v diff -u -r1.1 -r1.2 --- openacs-4/packages/categories/www/cadmin/category-links-view.adp 8 Feb 2004 17:30:45 -0000 1.1 +++ openacs-4/packages/categories/www/cadmin/category-links-view.adp 20 May 2011 10:41:11 -0000 1.2 @@ -4,5 +4,5 @@ @locale;noquote@ -Explanation: Any categorization made to the source category will -also be made to the target category. +#categories.lt_Explanation_Any_categ# + Index: openacs-4/packages/categories/www/cadmin/category-usage.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/categories/www/cadmin/category-usage.adp,v diff -u -r1.2 -r1.3 --- openacs-4/packages/categories/www/cadmin/category-usage.adp 22 May 2003 14:25:54 -0000 1.2 +++ openacs-4/packages/categories/www/cadmin/category-usage.adp 20 May 2011 10:41:11 -0000 1.3 @@ -5,7 +5,7 @@ - +
@object_count@ objects on @page_count@ pages
#categories.lt_object_count_objects_#
@@ -37,3 +37,4 @@

@items;noquote@ + Index: openacs-4/packages/categories/www/cadmin/index.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/categories/www/cadmin/index.adp,v diff -u -r1.5 -r1.6 --- openacs-4/packages/categories/www/cadmin/index.adp 14 Feb 2004 11:41:45 -0000 1.5 +++ openacs-4/packages/categories/www/cadmin/index.adp 20 May 2011 10:41:11 -0000 1.6 @@ -3,18 +3,19 @@ @context_bar;noquote@ @locale;noquote@ -

Trees you can manage

+

#categories.Trees_you_can_manage#

-

Trees you can view

+

#categories.Trees_you_can_view#

+ Index: openacs-4/packages/categories/www/cadmin/index.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/categories/www/cadmin/index.tcl,v diff -u -r1.10 -r1.11 --- openacs-4/packages/categories/www/cadmin/index.tcl 8 Nov 2008 17:05:38 -0000 1.10 +++ openacs-4/packages/categories/www/cadmin/index.tcl 20 May 2011 10:41:12 -0000 1.11 @@ -53,25 +53,25 @@ set elements { tree_name { - label "Name" + label "#acs-subsite.Name#" link_url_col view_url } description { - label "Description" + label "#categories.Description#" } } list::create \ -name trees_with_write_permission \ - -no_data "None" \ + -no_data "#categories.None#" \ -elements $elements \ -key tree_id \ -bulk_action_export_vars {locale} \ -bulk_actions [list "[_ categories.export]" trees-code "[_ categories.code_export]"] \ list::create \ -name trees_with_read_permission \ - -no_data "None" \ + -no_data "#categories.None#" \ -elements $elements set create_url [export_vars -no_empty -base tree-form { locale }] Index: openacs-4/packages/categories/www/cadmin/object-map.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/categories/www/cadmin/object-map.adp,v diff -u -r1.2 -r1.3 --- openacs-4/packages/categories/www/cadmin/object-map.adp 20 Apr 2004 21:13:11 -0000 1.2 +++ openacs-4/packages/categories/www/cadmin/object-map.adp 20 May 2011 10:41:12 -0000 1.3 @@ -4,15 +4,16 @@ @locale;noquote@

-

Category trees mapped to "@object_name@"

+

#categories.lt_Category_trees_mapped#

-

Category trees available for mapping

+

#categories.lt_Category_trees_availa#

+ Index: openacs-4/packages/categories/www/cadmin/object-map.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/categories/www/cadmin/object-map.tcl,v diff -u -r1.5 -r1.6 --- openacs-4/packages/categories/www/cadmin/object-map.tcl 8 Nov 2008 17:05:38 -0000 1.5 +++ openacs-4/packages/categories/www/cadmin/object-map.tcl 20 May 2011 10:41:12 -0000 1.6 @@ -61,47 +61,47 @@ template::list::create \ -name mapped_trees \ - -no_data "None" \ + -no_data "#categories.None#" \ -elements { tree_name { - label "Name" + label "#acs-subsite.Name#" link_url_col view_url } flags { display_template { - (Site-Wide Tree, + (#categories.#SiteWide_tree#, @mapped_trees.widget@, - single, multiple, - required) optional) + #categories.single#, #categories.multiple#, + #categories.required#) #categories.optional#) } } action { - label "Action" + label "#categories.Action#" display_template { - Unmap     - Edit parameters + #categories.Unmap#     + #categories.Edit_parameters# } } } template::list::create \ -name unmapped_trees \ - -no_data "None" \ + -no_data "#categories.None#" \ -elements { tree_name { - label "Name" + label "#acs-subsite.Name#" link_url_col view_url } site_wide_p { display_template { - (Site-Wide Tree) + (#categories.SiteWide_tree#) } } action { - label "Action" + label "#categories.Action#" display_template { - Map tree     - Map a subtree + #categories.Map_tree#     + #categories.Map_subtree# } } } Index: openacs-4/packages/categories/www/cadmin/permission-manage.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/categories/www/cadmin/permission-manage.adp,v diff -u -r1.2 -r1.3 --- openacs-4/packages/categories/www/cadmin/permission-manage.adp 5 Feb 2004 18:58:48 -0000 1.2 +++ openacs-4/packages/categories/www/cadmin/permission-manage.adp 20 May 2011 10:41:12 -0000 1.3 @@ -5,14 +5,15 @@

- This is a site wide category tree

+ #categories.lt_This_is_a_site_wide_c#

- Make it Local + #categories.Make_it_Local# - This tree is local

+ #categories.This_tree_is_local#

- Make it Site-Wide + #categories.Make_it_Site-Wide# + Index: openacs-4/packages/categories/www/cadmin/permission-manage.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/categories/www/cadmin/permission-manage.tcl,v diff -u -r1.5 -r1.6 --- openacs-4/packages/categories/www/cadmin/permission-manage.tcl 1 Mar 2005 00:01:27 -0000 1.5 +++ openacs-4/packages/categories/www/cadmin/permission-manage.tcl 20 May 2011 10:41:12 -0000 1.6 @@ -20,10 +20,10 @@ array set tree [category_tree::get_data $tree_id $locale] set tree_name $tree(tree_name) -set page_title "Permission Management for $tree_name" +set page_title [_ categories.Permissions_manage_title] set context_bar [category::context_bar $tree_id $locale [value_if_exists object_id]] -lappend context_bar "Manage Permissions" +lappend context_bar [_ categories.Permissions_manage] set url_vars [export_vars {tree_id object_id locale}] set package_id [ad_conn package_id] Index: openacs-4/packages/categories/www/cadmin/synonym-delete.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/categories/www/cadmin/synonym-delete.adp,v diff -u -r1.1 -r1.2 --- openacs-4/packages/categories/www/cadmin/synonym-delete.adp 11 Feb 2004 13:25:28 -0000 1.1 +++ openacs-4/packages/categories/www/cadmin/synonym-delete.adp 20 May 2011 10:41:12 -0000 1.2 @@ -4,13 +4,14 @@ @locale;noquote@

- Are you sure you want to delete these synonyms: + #categories.lt_Are_you_sure_you_want_2#

- Delete + #categories.Delete#     - No, Cancel + #categories.No_Cancel#

+ Index: openacs-4/packages/categories/www/cadmin/tree-copy-view.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/categories/www/cadmin/tree-copy-view.tcl,v diff -u -r1.3 -r1.4 --- openacs-4/packages/categories/www/cadmin/tree-copy-view.tcl 6 Nov 2008 15:50:44 -0000 1.3 +++ openacs-4/packages/categories/www/cadmin/tree-copy-view.tcl 20 May 2011 10:41:12 -0000 1.4 @@ -28,12 +28,12 @@ } set tree_name [category_tree::get_name $tree_id $locale] -set page_title "Category Tree \"$tree_name\"" +set page_title [_ categories.Tree_view_title] set context_bar [category::context_bar $tree_id $locale \ [value_if_exists object_id] \ [value_if_exists ctx_id]] -lappend context_bar [list [export_vars -no_empty -base tree-copy { {tree_id $target_tree_id} locale object_id ctx_id }] "Copy tree"] "View \"$tree_name\"" +lappend context_bar [list [export_vars -no_empty -base tree-copy { {tree_id $target_tree_id} locale object_id ctx_id }] [_ categories.Action_copy_tree]] "View \"$tree_name\"" template::multirow create tree category_name deprecated_p level left_indent @@ -45,10 +45,10 @@ template::list::create \ -name tree \ - -no_data "None" \ + -no_data "#categories.None#" \ -elements { category_name { - label "Name" + label "#acs-admin.Name#" display_template { @tree.left_indent;noquote@ @tree.category_name@ } Index: openacs-4/packages/categories/www/cadmin/tree-copy.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/categories/www/cadmin/tree-copy.tcl,v diff -u -r1.10 -r1.11 --- openacs-4/packages/categories/www/cadmin/tree-copy.tcl 6 Nov 2008 15:50:44 -0000 1.10 +++ openacs-4/packages/categories/www/cadmin/tree-copy.tcl 20 May 2011 10:41:12 -0000 1.11 @@ -22,12 +22,12 @@ set tree_name [category_tree::get_name $tree_id $locale] set target_tree_id $tree_id -set page_title "Copy a tree into \"$tree_name\"" +set page_title [_ categories.Tree_copy_title] set context_bar [category::context_bar $tree_id $locale \ [value_if_exists object_id] \ [value_if_exists ctx_id]] -lappend context_bar "Copy tree" +lappend context_bar [_ categories.Tree_copy] template::multirow create trees tree_id tree_name site_wide_p view_url copy_url @@ -45,21 +45,21 @@ template::list::create \ -name trees \ - -no_data "None" \ + -no_data "#categories.None#" \ -elements { tree_name { - label "Name" + label "#acs-admin.Name#" link_url_col view_url } site_wide_p { display_template { - (Site-Wide Tree) + (#categories.SiteWide_tree#) } } copy { - label "Action" + label "#categories.Action#" display_template { - Copy tree + #categories.Tree_copy# } } } Index: openacs-4/packages/categories/www/cadmin/tree-delete.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/categories/www/cadmin/tree-delete.adp,v diff -u -r1.4 -r1.5 --- openacs-4/packages/categories/www/cadmin/tree-delete.adp 27 Apr 2004 11:23:45 -0000 1.4 +++ openacs-4/packages/categories/www/cadmin/tree-delete.adp 20 May 2011 10:41:12 -0000 1.5 @@ -5,27 +5,28 @@

- - + +
Tree Name@tree_name@
Description@tree_description@
#categories.Tree_Name#@tree_name@
#categories.Description#@tree_description@

- This tree is still used by some modules. For a complete list, please go - here. + #categories.lt_This_tree_is_still_us# + #categories.here#. -

Categories still used +

#categories.lt_Categories_still_used#

- Are you sure you want to delete the tree "@tree_name@"? + #categories.lt_Are_you_sure_you_want_3#

- Delete + #categories.Delete#     - No, Cancel + #categories.No_Cancel#

+ Index: openacs-4/packages/categories/www/cadmin/tree-delete.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/categories/www/cadmin/tree-delete.tcl,v diff -u -r1.10 -r1.11 --- openacs-4/packages/categories/www/cadmin/tree-delete.tcl 6 Nov 2008 15:50:44 -0000 1.10 +++ openacs-4/packages/categories/www/cadmin/tree-delete.tcl 20 May 2011 10:41:12 -0000 1.11 @@ -28,11 +28,11 @@ set tree_name $tree(tree_name) set tree_description $tree(description) -set page_title "Delete Category Tree \"$tree_name\"" +set page_title [_ categories.Delete_category_title] set context_bar [category::context_bar $tree_id $locale \ [value_if_exists object_id] \ [value_if_exists ctx_id]] -lappend context_bar "Delete" +lappend context_bar [_ categories.Delete] set instance_list [category_tree::usage $tree_id] @@ -58,10 +58,10 @@ template::list::create \ -name used_categories \ - -no_data "None" \ + -no_data "#categories.None#" \ -elements { category_name { - label "Name" + label "#acs-admin.Name#" link_url_col view_url } } Index: openacs-4/packages/categories/www/cadmin/tree-form.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/categories/www/cadmin/tree-form.tcl,v diff -u -r1.7 -r1.8 --- openacs-4/packages/categories/www/cadmin/tree-form.tcl 6 Nov 2008 15:50:44 -0000 1.7 +++ openacs-4/packages/categories/www/cadmin/tree-form.tcl 20 May 2011 10:41:12 -0000 1.8 @@ -16,9 +16,9 @@ auth::require_login if { ![ad_form_new_p -key tree_id] } { - set page_title "Edit tree" + set page_title "#categories.Edit_tree#" } else { - set page_title "Add tree" + set page_title "#categories.Add_tree#" } if { [info exists object_id] } { Index: openacs-4/packages/categories/www/cadmin/tree-map-2.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/categories/www/cadmin/tree-map-2.tcl,v diff -u -r1.6 -r1.7 --- openacs-4/packages/categories/www/cadmin/tree-map-2.tcl 8 Nov 2008 17:05:38 -0000 1.6 +++ openacs-4/packages/categories/www/cadmin/tree-map-2.tcl 20 May 2011 10:41:12 -0000 1.7 @@ -26,28 +26,28 @@ permission::require_permission -object_id $tree_id -privilege category_tree_read } -set context_bar [list [category::get_object_context $object_id] [list "[export_vars -no_empty -base object-map {locale object_id ctx_id}]" [_ categories.cadmin]] "Mapping Parameters"] +set context_bar [list [category::get_object_context $object_id] [list "[export_vars -no_empty -base object-map {locale object_id ctx_id}]" [_ categories.cadmin]] [_ categories.Mapping_parameters]] if {$edit_p} { # parameters are edited, so get old data db_1row get_mapped_subtree_id "" } if {$category_id eq ""} { - set page_title "Parameters of mapping to tree \"$tree_name\"" + set page_title [_ categories.Mapping_parameters_tree_title] } else { set category_name [category::get_name $category_id $locale] - set page_title "Parameters of mapping to subtree \"$tree_name :: $category_name\"" + set page_title [_ categories.Mapping_parameters_subtree_title] } ad_form -name tree_map_form -action tree-map-2 -export { tree_id category_id locale object_id edit_p ctx_id} -form { - {widget:text(radio) {label "Widget"} {options { - {"Select" select} - {"Multiselect - let users assign multiple categories" multiselect} - {"Radio" radio} - {"Checkbox - let users assign multiple categories" checkbox} + {widget:text(radio) {label "#categories.Widget#"} {options { + {"#categories.Widget_select#" select} + {"#categories.Widget_multiselect#" multiselect} + {"#categories.Widget_radio#" radio} + {"#categories.Widget_checkbox#" checkbox} }}} - {require_category_p:text(radio) {label "Require users to assign at least one category?"} {options {{"Yes" t} {"No" f}}}} + {require_category_p:text(radio) {label "#categories.Widget_required_category#"} {options {{"#acs-admin.Yes#" t} {"#acs-admin.No#" f}}}} } -on_request { if {$edit_p} { db_1row get_mapping_parameters "" Index: openacs-4/packages/categories/www/cadmin/tree-map.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/categories/www/cadmin/tree-map.tcl,v diff -u -r1.8 -r1.9 --- openacs-4/packages/categories/www/cadmin/tree-map.tcl 6 Nov 2008 15:50:44 -0000 1.8 +++ openacs-4/packages/categories/www/cadmin/tree-map.tcl 20 May 2011 10:41:12 -0000 1.9 @@ -25,12 +25,11 @@ permission::require_permission -object_id $tree_id -privilege category_tree_read } -set page_title "Select subtree of \"$tree_name\" to map" - +set page_title [_ categories.Tree_map_title] set context_bar [list \ [category::get_object_context $object_id] \ [list [export_vars -no_empty -base object-map {locale object_id ctx_id}] [_ categories.cadmin]] \ - "Map subtree"] + "#categories.Map_subtree#"] template::multirow create tree category_id category_name level left_indent map_url @@ -44,18 +43,18 @@ template::list::create \ -name tree \ - -no_data "None" \ + -no_data "#categories.None#" \ -elements { category_name { - label "Name" + label "#acs-subsite.Name#" display_template { @tree.left_indent;noquote@ @tree.category_name@ } } map { - label "Action" + label "#categories.Action#" display_template { - Map this subtree + #categories.Map_this_subtree# } } } Index: openacs-4/packages/categories/www/cadmin/tree-unmap.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/categories/www/cadmin/tree-unmap.adp,v diff -u -r1.3 -r1.4 --- openacs-4/packages/categories/www/cadmin/tree-unmap.adp 11 Jan 2004 17:33:31 -0000 1.3 +++ openacs-4/packages/categories/www/cadmin/tree-unmap.adp 20 May 2011 10:41:12 -0000 1.4 @@ -3,11 +3,12 @@ @context_bar;noquote@ @locale;noquote@ -Are you sure you want to unmap the tree "@tree_name@" from "@object_name@"? +#categories.lt_Are_you_sure_you_want_4#

- Unmap + #categories.Unmap#     - Cancel, do not unmap + #categories.Cancel_do_not_unmap#

+ Index: openacs-4/packages/categories/www/cadmin/tree-usage.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/categories/www/cadmin/tree-usage.adp,v diff -u -r1.3 -r1.4 --- openacs-4/packages/categories/www/cadmin/tree-usage.adp 27 Apr 2004 11:23:45 -0000 1.3 +++ openacs-4/packages/categories/www/cadmin/tree-usage.adp 20 May 2011 10:41:12 -0000 1.4 @@ -5,8 +5,8 @@

- - + +
Tree Name@tree_name@
Description @tree_description@
#categories.Tree_Name#@tree_name@
#categories.Description# @tree_description@

@@ -16,15 +16,15 @@ @modules.instance_name@ - There are @instances_without_permission@ more uses of this tree, but you - don't have the permission to see them. + #categories.lt_There_are_instances_w# - This tree is not used. + #categories.lt_This_tree_is_not_used# + Index: openacs-4/packages/categories/www/cadmin/tree-usage.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/categories/www/cadmin/tree-usage.tcl,v diff -u -r1.8 -r1.9 --- openacs-4/packages/categories/www/cadmin/tree-usage.tcl 6 Nov 2008 15:50:44 -0000 1.8 +++ openacs-4/packages/categories/www/cadmin/tree-usage.tcl 20 May 2011 10:41:12 -0000 1.9 @@ -28,12 +28,12 @@ set tree_name $tree(tree_name) set tree_description $tree(description) -set page_title "Modules using Category Tree \"$tree_name\"" +set page_title [_ categories.Usage_title] set context_bar [category::context_bar $tree_id $locale \ [value_if_exists object_id] \ [value_if_exists ctx_id]] -lappend context_bar "Usage" +lappend context_bar [_ categories.Usage] template::multirow create modules package object_id object_name package_id instance_name read_p unmap_url Index: openacs-4/packages/categories/www/cadmin/tree-view.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/categories/www/cadmin/tree-view.tcl,v diff -u -r1.14 -r1.15 --- openacs-4/packages/categories/www/cadmin/tree-view.tcl 9 Nov 2008 23:29:23 -0000 1.14 +++ openacs-4/packages/categories/www/cadmin/tree-view.tcl 20 May 2011 10:41:12 -0000 1.15 @@ -30,7 +30,7 @@ set tree_name $tree(tree_name) set tree_description $tree(description) -set page_title "Category Tree \"$tree_name\"" +set page_title [_ categories.Tree_view_title] if {[info exists object_id]} { set context_bar [list [category::get_object_context $object_id] [list [export_vars -no_empty -base object-map {locale object_id ctx_id}] "[_ categories.cadmin]"] $tree_name] } else { @@ -84,15 +84,15 @@ Edit } link_url_col edit_url - link_html {title "Edit this category"} + link_html {title "#categories.Edit_category_link_title#"} } } lappend elements category_name { - label "Category" + label "#categories.Category#" display_template { @one_tree.left_indent;noquote@@one_tree.category_name@ - (Deprecated - Restore) + (#categories.Deprecated# - #categories.Restore#) } } @@ -103,20 +103,20 @@ Add } link_url_col add_url - link_html { title "Add subcategory" } + link_html { title "#categories.Add_subcategory_link_title#" } } lappend elements sort_key { - label "Ordering" + label "#categories.Ordering#" display_template { } } lappend elements actions { - label "Actions" + label "#categories.Actions#" display_template { - Change parent     - View links     - View synonyms + #categories.Action_change_parent#     + #categories.Action_view_links#     + #categories.Action_view_synonyms# } } @@ -126,27 +126,27 @@ Delete } link_url_col delete_url - link_html { title "Delete category and all subcategories" } + link_html { title "#categories.Delete_category_link_title#" } } } set actions [list] set bulk_actions [list] if { $can_write_p } { set bulk_actions { - "Delete" "category-delete" "Delete checked categories" - "Deprecate" "category-phase-out" "Deprecate checked categories" - "Restore" "category-phase-in" "Restore checked categories" - "Update ordering" "tree-order-update" "Update ordering from values in list" + "#categories.Delete#" "category-delete" "#categories.Delete_category_link_title#" + "#categories.Deprecate#" "category-phase-out" "#categories.Deprecate_category_link_title#" + "#categories.Restore#" "category-phase-in" "#categories.Restore_category_link_ttitle#" + "#categories.Ordering_update#" "tree-order-update" "#categories.Ordering_update_link_title#" } set actions [list \ - "Add root category" [export_vars -no_empty -base category-form { tree_id locale object_id ctx_id}] "Add category at the root level" \ - "Copy tree" [export_vars -no_empty -base tree-copy { tree_id locale object_id ctx_id}] "Copy categories from other tree" \ - "Delete tree" [export_vars -no_empty -base tree-delete { tree_id locale object_id ctx_id}] "Delete this category tree" \ - "Applications" [export_vars -no_empty -base tree-usage { tree_id locale object_id ctx_id}] "Applications using this tree"] + "#categories.Action_add_root#" [export_vars -no_empty -base category-form { tree_id locale object_id ctx_id}] "#categories.Action_add_root_link_title#" \ + "#categories.Action_copy_tree#" [export_vars -no_empty -base tree-copy { tree_id locale object_id ctx_id}] "#categories.Action_copy_tree_link_title#" \ + "#categories.Action_delete_tree#" [export_vars -no_empty -base tree-delete { tree_id locale object_id ctx_id}] "#categories.Action_delete_tree_link_title#" \ + "#categories.Action_applications#" [export_vars -no_empty -base tree-usage { tree_id locale object_id ctx_id}] "#categories.Action_applications_link_title#"] if { $can_grant_p } { - lappend actions "Permissions" [export_vars -no_empty -base permission-manage { tree_id locale object_id ctx_id}] "Manage permissions for tree" + lappend actions "#acs-kernel.common_Permissions#" [export_vars -no_empty -base permission-manage { tree_id locale object_id ctx_id}] "#categories.Action_permissions_link_title#" } } Index: openacs-4/packages/categories/www/include/widget.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/categories/www/include/widget.adp,v diff -u -r1.3 -r1.4 --- openacs-4/packages/categories/www/include/widget.adp 6 Feb 2004 14:00:31 -0000 1.3 +++ openacs-4/packages/categories/www/include/widget.adp 20 May 2011 10:41:12 -0000 1.4 @@ -1,11 +1,12 @@ @trees.tree_name@: - #categories.multiple#> - +