Index: openacs-4/packages/ams/catalog/ams.de_DE.ISO-8859-1.xml
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/ams/catalog/ams.de_DE.ISO-8859-1.xml,v
diff -u -r1.2 -r1.3
--- openacs-4/packages/ams/catalog/ams.de_DE.ISO-8859-1.xml 8 Jun 2005 16:35:44 -0000 1.2
+++ openacs-4/packages/ams/catalog/ams.de_DE.ISO-8859-1.xml 10 Jun 2005 21:50:53 -0000 1.3
@@ -2,35 +2,60 @@
Aktion
+ Ein AMS Attribut hinzuf�gen
+ Ein Attribut hinzuf�gen
�berschrift hinzuf�gen
+ Adresse
+ AMS Attribute
optionale Antwort
Antwort erforderlich
+ Name des Attributs
+ Checkbox - Mehrere Optionen erlaubt
Land
+ Datum
Widget definieren
Strasse
+ E-Mail
Formblatt Voransicht
�berschrift
+ Zahl
Listenname
+ AMS Listen, die mit diesem Objekt Typen verbunden sind
Die Antwort des Users ist optional
Ein neues Attribut erstellen und zuweisen
+ Code zum Erstellen dieser Liste exportieren
Ben�tigen eine Antwort vom User
Markierte Attribute entfernen
Update Reihenfolge
Zuweisen
Zugewiesene Attribute
+ Menu - Mehrere Optionen erlaubt
Stadt
Objekttyp
Option
optional
Reihenfolge
+ Package Key
Postleitzahl
+ Sichtbarer Name: Name
+ Sichtbarer Name
+ Sichtbarer Name im Plural:
+ Sichtbarer Name im Plural
Voransicht des Formblatts
+ Radio Buttons - Eine Option erlaubt
Bundesland
Erforderlich
+ Textbox (WYSYWIG-Editor)
+ Drop Down List - Eine Option erlaubt
Sortierreihenfolge
+ Telefonnummer
+ Textbox (l�ngerer Text m�glich)
+ Textzeile
Attribut entfernen
Nicht zugewiesene Attribute
Aktualisieren der Optionen
Update Reihenfolge
+ Website URL
+ Widget
Widget
Index: openacs-4/packages/ams/catalog/ams.en_US.ISO-8859-1.xml
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/ams/catalog/ams.en_US.ISO-8859-1.xml,v
diff -u -r1.10 -r1.11
--- openacs-4/packages/ams/catalog/ams.en_US.ISO-8859-1.xml 10 Jun 2005 14:45:17 -0000 1.10
+++ openacs-4/packages/ams/catalog/ams.en_US.ISO-8859-1.xml 10 Jun 2005 21:50:53 -0000 1.11
@@ -1,5 +1,5 @@
-
+
Action
Add an AMS Attribute
@@ -321,12 +321,12 @@
Create and map a new attribute
Export code to recreate this list
Here is the code necessary to recreate the list
- You can create a list ...
- Map
If you need to add more you will be able to
Require an answer from the checked attributes
Unmap the checked attributes
Update ordering from numbers in the ordering column
+ You can create a list ...
+ Map
Mapped Attributes
Marriage Status
Marriage Statuses
Index: openacs-4/packages/ams/tcl/ams-list-procs.tcl
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/ams/tcl/ams-list-procs.tcl,v
diff -u -r1.3 -r1.4
--- openacs-4/packages/ams/tcl/ams-list-procs.tcl 3 Jun 2005 01:17:56 -0000 1.3
+++ openacs-4/packages/ams/tcl/ams-list-procs.tcl 10 Jun 2005 21:50:53 -0000 1.4
@@ -211,7 +211,8 @@
if { ![exists_and_not_null description] } {
set description_mime_type ""
}
-
+
+ set pretty_name [lang::util::convert_to_i18n -prefix "ams_list" -text "$pretty_name"]
set extra_vars [ns_set create]
oacs_util::vars_to_ns_set -ns_set $extra_vars -var_list { list_id package_key object_type list_name pretty_name description description_mime_type }
set list_id [package_instantiate_object -extra_vars $extra_vars ams_list]
Index: openacs-4/packages/ams/tcl/ams-procs.tcl
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/ams/tcl/ams-procs.tcl,v
diff -u -r1.13 -r1.14
--- openacs-4/packages/ams/tcl/ams-procs.tcl 10 Jun 2005 09:43:22 -0000 1.13
+++ openacs-4/packages/ams/tcl/ams-procs.tcl 10 Jun 2005 21:50:53 -0000 1.14
@@ -67,8 +67,8 @@
@see ams::attribute::new
} {
- set pretty_name [lang::util::convert_to_i18n -prefix "${object_type}_${attribute_name}" -text "$pretty_name"]
- set pretty_plural [lang::util::convert_to_i18n -prefix "${object_type}_${attribute_name}" -text "$pretty_plural"]
+ set pretty_name [lang::util::convert_to_i18n -message_key "${object_type}_${attribute_name}" -text "$pretty_name"]
+ set pretty_plural [lang::util::convert_to_i18n -message_key "${object_type}_${attribute_name}" -text "$pretty_plural"]
if { $if_does_not_exist_p } {
set attribute_id [attribute::id -object_type $object_type -attribute_name $attribute_name]
Index: openacs-4/packages/ams/www/list-code.adp
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/ams/www/list-code.adp,v
diff -u -r1.5 -r1.6
--- openacs-4/packages/ams/www/list-code.adp 7 Jun 2005 07:44:14 -0000 1.5
+++ openacs-4/packages/ams/www/list-code.adp 10 Jun 2005 21:50:53 -0000 1.6
@@ -8,8 +8,8 @@
-package_key "@list_info.package_key@" \
-object_type "@list_info.object_type@" \
-list_name "@list_info.list_name@" \
- -pretty_name "\#@list_info.pretty_name@\#" \
- -description "\#@list_info.description@\#" \
+ -pretty_name "@list_info.pretty_name@" \
+ -description "@list_info.description@" \
-description_mime_type "@list_info.description_mime_type@"]
@@ -20,8 +20,8 @@
-object_type "@attributes.object_type@" \
-attribute_name "@attributes.attribute_name@" \
-datatype "@attributes.datatype@" \
- -pretty_name "\#@attributes.pretty_name@#" \
- -pretty_plural "\#@attributes.pretty_plural@#" \
+ -pretty_name "@attributes.pretty_name@" \
+ -pretty_plural "@attributes.pretty_plural@" \
-table_name "@attributes.table_name@" \
-column_name "@attributes.column_name@" \
-default_value "@attributes.default_value@" \
@@ -32,9 +32,6 @@
-static_p "@attributes.static_p@" \
-if_does_not_exist]
-lang::message::register en_US acs-translations @attributes.message_key@ "@attributes.true_pretty@"
-lang::message::register en_US acs-translations @attributes.message_key@_plural "@attributes.true_plural@"
-
ams::attribute::new \
-attribute_id $attribute_id \
-widget "@attributes.widget@" \
@@ -51,9 +48,8 @@
set option_id [ams::option::new \
-attribute_id $attribute_id \
- -option "\#@attributes.option@#"]
+ -option "@attributes.option@"]
-lang::message::register en_US acs-translations @attributes.option_key@ "@attributes.true_option@"
Index: openacs-4/packages/ams/www/list-code.tcl
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/ams/www/list-code.tcl,v
diff -u -r1.5 -r1.6
--- openacs-4/packages/ams/www/list-code.tcl 7 Jun 2005 07:44:14 -0000 1.5
+++ openacs-4/packages/ams/www/list-code.tcl 10 Jun 2005 21:50:53 -0000 1.6
@@ -42,13 +42,10 @@
} {
regsub -all {"} $section_heading {\"} section_heading
set message_key "${object_type}_${attribute_name}"
- set option_key "${message_key}_[lang::util::suggest_key $option]"
- set pretty_name "acs-translation.$message_key"
- set pretty_plural "acs-translation.${message_key}_plural"
- set true_pretty [lang::message::lookup en_US acs-translations.$message_key]
- set true_plural [lang::message::lookup en_US acs-translations.${message_key}_plural]
- set true_option $option
- set option "acs-translation.$option_key"
+# set option [lang::message::lookup en_US [string trim $option "#"]]
+ set pretty_name [lang::message::lookup en_US [string trim $pretty_name "#"]]
+ set pretty_plural [lang::message::lookup en_US [string trim $pretty_plural "#"]]
+
# set true_option [lang::message::lookup en_US acs-translations.$option_key]
}