Index: openacs-4/contrib/packages/simulation/catalog/simulation.en_US.ISO-8859-1.xml
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/contrib/packages/simulation/catalog/Attic/simulation.en_US.ISO-8859-1.xml,v
diff -u -r1.1.2.3 -r1.1.2.4
--- openacs-4/contrib/packages/simulation/catalog/simulation.en_US.ISO-8859-1.xml 18 Mar 2004 13:46:42 -0000 1.1.2.3
+++ openacs-4/contrib/packages/simulation/catalog/simulation.en_US.ISO-8859-1.xml 18 Mar 2004 14:40:23 -0000 1.1.2.4
@@ -5,7 +5,10 @@
Administration
All Messages
All messages...
+ Attachments
+ Body
Cancel
+ Case
Messages for %role_array.pretty_name% in %case_array.label%
Case History
Case home
@@ -17,13 +20,15 @@
Delete this case
Delete this template
Description
+ Document
Document Portfolio
Documents
Edit
Dear %user_name%,
This is to notify you that you have been enrolled in simulation %sim_template.pretty_name%. You may visit the
casting page at %casting_page_url% to choose case or role.
You have been enrolled in simulation %sim_template.pretty_name%
+ From
<strong>Note:</strong> Ignoring %ignored_actions_count% tasks that don't have the task
name "%action.pretty_name%". Please back up your browser if you
want to change the selection of tasks.
@@ -72,6 +77,7 @@
and all related tasks?
Notify me of changes to map XML
Placeholder for flash map
+ Restrict to previous task matching word or phrase
Return to template list page
Select from existing characters in the Yellow Pages, or
Select which case and role to join, or create a new case for
@@ -87,9 +93,11 @@
Some of the tasks of this simulation require attachments. However, there are no CityBuild props to select from.
Start a simulation with this template
Stop notifying me of changes to map XML
+ Take action on selected tasks
Templates must be marked ready for use by template authors in order to appear on this list.
The following errors were encountered:
The template "%simulation.pretty_name%" is not ready for casting.
+ There are no documents.
There are no participants selected, so casting is not yet possible. On the previous tab, please select participants, or allow open enrollment on the first tab.
This case has been completed.
to see your active cases.
@@ -99,10 +107,14 @@
You administer these cases
You are already cast in the following roles:
You are doing a bulk response to %common_actions_count% tasks.
+ You are not administering any active simulation cases.
+ You are not in any active simulation cases.
You cannot submit this form until you have submitted all forms on the previous tabs.
+ You don't have any tasks.
You have been enrolled in "%simulation.pretty_name%". The simulation will
begin on %simulation.case_start% and you will be notified by email at this time.
You have deleted template "%template_name%".
+ You must supply both case_id and role_id
Your Current Simulations
Manage groups
Map XML
@@ -125,9 +137,13 @@
messages
My Notifications
No, cancel
+ No documents
+ No messages.
Notifications for
+ Number of tasks
Parent Task
Portfolio
+ Received
Recent Messages
Related Tasks
Dear %user_name%,
@@ -136,30 +152,42 @@
%simulation_description%
Simulation %simulation_name% starts on %simulation_start_date%
+ Respond
+ Role
Roles
+ Send new message
SimBuild
SimInst
SimPlay
+ Simulation
Dear %user_name%,
Simulation %simulation.pretty_name% has now started. Please visit %simplay_url% to participate. Thank you!
Simulation %simulation.pretty_name% has started
States
+ Status
Sub-States
Sub-Tasks
+ Subject
Subscribe
+ Task
task
Tasks
tasks
Template
Template Description
Thank you!
+ Time
+ Timeout
+ To
<font color="red"><em>NOTE</em></font>: To attach a document to your message you need to <a
href="%document_upload_url%">upload a document</a> to your
portfolio before writing the message.
<font color="red"><em>NOTE</em></font>: To attach a document to your message you need to <a
href="%document_upload_url%">upload a document</a> to your
portfolio before writing the message.
Unsubscribe
+ Upload a document
+ User
View Map XML
Yellow Pages
Yes, delete the case
Index: openacs-4/contrib/packages/simulation/lib/case-history.tcl
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/contrib/packages/simulation/lib/Attic/case-history.tcl,v
diff -u -r1.2.2.1 -r1.2.2.2
--- openacs-4/contrib/packages/simulation/lib/case-history.tcl 16 Mar 2004 16:16:18 -0000 1.2.2.1
+++ openacs-4/contrib/packages/simulation/lib/case-history.tcl 18 Mar 2004 14:40:24 -0000 1.2.2.2
@@ -17,18 +17,18 @@
-name log \
-elements {
timestamp {
- label "Time"
+ label {[_ simulation.Time]}
display_eval {[lc_time_fmt $creation_date_ansi "%x %X"]}
}
role_pretty {
- label "Role"
+ label {[_ simulation.Role]}
}
user_name {
- label "User"
+ label {[_ simulation.User]}
link_url_eval {[ad_decode $creation_user "" "" [acs_community_member_url -user_id $creation_user]]}
}
action_pretty {
- label "Task"
+ label {[_ simulation.Task]}
link_url_col action_url
}
}
@@ -72,27 +72,27 @@
}
if { [empty_string_p $creation_user] } {
- set user_name "Timeout"
+ set user_name [_ simulation.Timeout]
}
}
template::list::create \
-name documents \
- -no_data "No documents" \
+ -no_data [_ simulation.No_documents] \
-elements {
timestamp {
- label "Time"
+ label {[_ simulation.Time]}
display_eval {[lc_time_fmt $creation_date_ansi "%x %X"]}
}
role_pretty {
- label "Role"
+ label {[_ simulation.Role]}
}
user_name {
- label "User"
+ label {[_ simulation.User]}
link_url_eval {[acs_community_member_url -user_id $creation_user]}
}
document_pretty {
- label "Document"
+ label {[_ simulation.Document]}
link_url_col document_url
}
}
Index: openacs-4/contrib/packages/simulation/lib/cases-admin.tcl
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/contrib/packages/simulation/lib/Attic/cases-admin.tcl,v
diff -u -r1.5 -r1.5.2.1
--- openacs-4/contrib/packages/simulation/lib/cases-admin.tcl 21 Jan 2004 15:55:36 -0000 1.5
+++ openacs-4/contrib/packages/simulation/lib/cases-admin.tcl 18 Mar 2004 14:40:24 -0000 1.5.2.1
@@ -15,20 +15,20 @@
set elements {
label {
- label "Case"
+ label {[_ simulation.Case]}
orderby upper(w.pretty_name)
link_url_eval {[export_vars -base [ad_conn package_url]simplay/case-admin { case_id }]}
}
pretty_name {
- label "Simulation"
+ label {[_ simulation.Simulation]}
orderby upper(w.pretty_name)
}
}
template::list::create \
-name cases \
-multirow cases \
- -no_data "You are not administering any active simulation cases." \
+ -no_data [_ simulation.lt_You_are_not_administe] \
-elements $elements
db_multirow cases select_cases "
Index: openacs-4/contrib/packages/simulation/lib/cases.tcl
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/contrib/packages/simulation/lib/Attic/cases.tcl,v
diff -u -r1.16 -r1.16.2.1
--- openacs-4/contrib/packages/simulation/lib/cases.tcl 10 Feb 2004 16:46:28 -0000 1.16
+++ openacs-4/contrib/packages/simulation/lib/cases.tcl 18 Mar 2004 14:40:24 -0000 1.16.2.1
@@ -14,20 +14,20 @@
set elements {
label {
- label "Case"
+ label {[_ simulation.Case]}
link_url_eval {[export_vars -base "[ad_conn package_url]simplay/case" { case_id role_id }]}
}
pretty_name {
- label "Simulation"
+ label {[_ simulation.Simulation]}
}
role_pretty {
- label "Role"
+ label {[_ simulation.Role]}
}
status {
- label "Status"
+ label {[_ simulation.Status]}
}
num_user_tasks {
- label "Your Tasks"
+ label {[_ simulation.Your_Tasks]}
display_template {
@cases.num_user_tasks@
}
@@ -38,7 +38,7 @@
template::list::create \
-name cases \
-multirow cases \
- -no_data "You are not in any active simulation cases." \
+ -no_data [_ simulation.lt_You_are_not_in_any_ac] \
-elements $elements
db_multirow cases select_cases "
Index: openacs-4/contrib/packages/simulation/lib/messages.tcl
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/contrib/packages/simulation/lib/Attic/messages.tcl,v
diff -u -r1.16.2.2 -r1.16.2.3
--- openacs-4/contrib/packages/simulation/lib/messages.tcl 17 Mar 2004 09:15:07 -0000 1.16.2.2
+++ openacs-4/contrib/packages/simulation/lib/messages.tcl 18 Mar 2004 14:40:24 -0000 1.16.2.3
@@ -27,7 +27,7 @@
if { ![exists_and_not_null case_id] || ![exists_and_not_null role_id] } {
if { !$adminplayer_p } {
- error "You must supply both case_id and role_id"
+ error [_ simulation.lt_You_must_supply_both_]
} else {
set mode "admin"
}
@@ -37,29 +37,29 @@
set elements {
from {
- label "From"
+ label {[_ simulation.From]}
}
to {
- label "To"
+ label {[_ simulation.To]}
}
subject {
link_url_col message_url
- label "Subject"
+ label {[_ simulation.Subject]}
}
creation_date {
- label "Received"
+ label {[_ simulation.Received]}
display_col creation_date_pretty
}
attachment_count {
- label "Attachments"
+ label {[_ simulation.Attachments]}
html { align center }
}
case_label {
- label "Case"
+ label {[_ simulation.Case]}
hide_p {[ad_decode [exists_and_not_null case_id] 1 1 0]}
}
sim_name {
- label "Simulation"
+ label {[_ simulation.Simulation]}
hide_p {[ad_decode [exists_and_not_null case_id] 1 1 0]}
}
}
@@ -69,22 +69,22 @@
if { $show_body_p } {
lappend elements body
lappend elements {
- label "Body"
+ label {[_ simulation.Body]}
}
lappend extend body
}
if { [exists_and_not_null case_id] && [exists_and_not_null role_id] } {
- set actions [list "Send new message" [export_vars -base message { case_id role_id }] {}]
+ set actions [list [_ simulation.Send_new_message] [export_vars -base message { case_id role_id }] {}]
} else {
set actions [list]
}
template::list::create \
-name messages \
-multirow messages \
- -no_data "No messages." \
+ -no_data [_ simulation.No_messages] \
-actions $actions \
-elements $elements
Index: openacs-4/contrib/packages/simulation/lib/portfolio.tcl
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/contrib/packages/simulation/lib/Attic/portfolio.tcl,v
diff -u -r1.7 -r1.7.2.1
--- openacs-4/contrib/packages/simulation/lib/portfolio.tcl 10 Mar 2004 14:17:01 -0000 1.7
+++ openacs-4/contrib/packages/simulation/lib/portfolio.tcl 18 Mar 2004 14:40:24 -0000 1.7.2.1
@@ -22,11 +22,11 @@
template::list::create \
-name documents \
-multirow documents \
- -no_data "There are no documents." \
- -actions [list "Upload a document" $upload_url] \
+ -no_data [_ simulation.lt_There_are_no_document] \
+ -actions [list [_ simulation.Upload_a_document] $upload_url] \
-elements {
document_title {
- label "Document"
+ label {[_ simulation.Document]}
link_url_col document_url
}
}
Index: openacs-4/contrib/packages/simulation/lib/simulations-task-count.tcl
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/contrib/packages/simulation/lib/Attic/simulations-task-count.tcl,v
diff -u -r1.1 -r1.1.2.1
--- openacs-4/contrib/packages/simulation/lib/simulations-task-count.tcl 4 Mar 2004 12:09:43 -0000 1.1
+++ openacs-4/contrib/packages/simulation/lib/simulations-task-count.tcl 18 Mar 2004 14:40:24 -0000 1.1.2.1
@@ -11,14 +11,14 @@
template::list::create \
-name simulations \
-multirow simulations \
- -no_data "You don't have any tasks." \
+ -no_data [_ simulation.lt_You_dont_have_any_tas] \
-elements {
pretty_name {
- label "Simulation"
+ label {[_ simulation.Simulation]}
link_url_col simulation_url
}
number_of_tasks {
- label "Number of tasks"
+ label {[_ simulation.Number_of_tasks]}
html {align center}
}
}
Index: openacs-4/contrib/packages/simulation/lib/tasks.tcl
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/contrib/packages/simulation/lib/Attic/tasks.tcl,v
diff -u -r1.16 -r1.16.2.1
--- openacs-4/contrib/packages/simulation/lib/tasks.tcl 11 Mar 2004 10:17:33 -0000 1.16
+++ openacs-4/contrib/packages/simulation/lib/tasks.tcl 18 Mar 2004 14:40:24 -0000 1.16.2.1
@@ -32,7 +32,7 @@
if { !$adminplayer_p } {
if { ![exists_and_not_null case_id] || ![exists_and_not_null role_id] } {
- error "You must supply both case_id and role_id"
+ error [_ simulation.lt_You_must_supply_both_]
}
}
@@ -50,19 +50,19 @@
set elements {
name {
link_url_col task_url
- label "Task"
+ label {[_ simulation.Task]}
}
role {
- label "Role"
+ label {[_ simulation.Role]}
hide_p {[ad_decode [exists_and_not_null case_id] 1 1 0]}
display_col role_pretty
}
case_label {
- label "Case"
+ label {[_ simulation.Case]}
hide_p {[ad_decode [exists_and_not_null case_id] 1 1 0]}
}
sim_name {
- label "Simulation"
+ label {[_ simulation.Simulation]}
hide_p {[ad_decode [exists_and_not_null case_id] 1 1 0]}
}
}
@@ -81,7 +81,7 @@
}
ad_form -name search -export { workflow_id } -form {
- {search_terms:text,optional {label "Restrict to previous task matching word or phrase"}}
+ {search_terms:text,optional {label {[_ simulation.lt_Restrict_to_previous_]}}}
}
set role_values [db_list_of_lists select_roles {
@@ -124,26 +124,24 @@
set task_values {}
}
- set bulk_actions {
- "Respond" task-detail "Take action on selected tasks"
- }
+ set bulk_actions [list [_ simulation.Respond] task-detail [_ simulation.lt_Take_action_on_select]]
set bulk_p 1
}
template::list::create \
-name tasks \
-multirow tasks \
- -no_data "You don't have any tasks." \
+ -no_data [_ simulation.lt_You_dont_have_any_tas] \
-key "enabled_action_id" \
-elements $elements \
-filters {
role_id {
- label "Role"
+ label {[_ simulation.Role]}
values $role_values
hide_p {[ad_decode [llength $role_values] 0 t f]}
}
task_id {
- label "Task"
+ label {[_ simulation.Task]}
values $task_values
hide_p {[ad_decode [llength $task_values] 0 t f]}
}
Index: openacs-4/packages/simulation/catalog/simulation.en_US.ISO-8859-1.xml
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/simulation/catalog/simulation.en_US.ISO-8859-1.xml,v
diff -u -r1.1.2.3 -r1.1.2.4
--- openacs-4/packages/simulation/catalog/simulation.en_US.ISO-8859-1.xml 18 Mar 2004 13:46:42 -0000 1.1.2.3
+++ openacs-4/packages/simulation/catalog/simulation.en_US.ISO-8859-1.xml 18 Mar 2004 14:40:23 -0000 1.1.2.4
@@ -5,7 +5,10 @@
Administration
All Messages
All messages...
+ Attachments
+ Body
Cancel
+ Case
Messages for %role_array.pretty_name% in %case_array.label%
Case History
Case home
@@ -17,13 +20,15 @@
Delete this case
Delete this template
Description
+ Document
Document Portfolio
Documents
Edit
Dear %user_name%,
This is to notify you that you have been enrolled in simulation %sim_template.pretty_name%. You may visit the
casting page at %casting_page_url% to choose case or role.
You have been enrolled in simulation %sim_template.pretty_name%
+ From
<strong>Note:</strong> Ignoring %ignored_actions_count% tasks that don't have the task
name "%action.pretty_name%". Please back up your browser if you
want to change the selection of tasks.
@@ -72,6 +77,7 @@
and all related tasks?
Notify me of changes to map XML
Placeholder for flash map
+ Restrict to previous task matching word or phrase
Return to template list page
Select from existing characters in the Yellow Pages, or
Select which case and role to join, or create a new case for
@@ -87,9 +93,11 @@
Some of the tasks of this simulation require attachments. However, there are no CityBuild props to select from.
Start a simulation with this template
Stop notifying me of changes to map XML
+ Take action on selected tasks
Templates must be marked ready for use by template authors in order to appear on this list.
The following errors were encountered:
The template "%simulation.pretty_name%" is not ready for casting.
+ There are no documents.
There are no participants selected, so casting is not yet possible. On the previous tab, please select participants, or allow open enrollment on the first tab.
This case has been completed.
to see your active cases.
@@ -99,10 +107,14 @@
You administer these cases
You are already cast in the following roles:
You are doing a bulk response to %common_actions_count% tasks.
+ You are not administering any active simulation cases.
+ You are not in any active simulation cases.
You cannot submit this form until you have submitted all forms on the previous tabs.
+ You don't have any tasks.
You have been enrolled in "%simulation.pretty_name%". The simulation will
begin on %simulation.case_start% and you will be notified by email at this time.
You have deleted template "%template_name%".
+ You must supply both case_id and role_id
Your Current Simulations
Manage groups
Map XML
@@ -125,9 +137,13 @@
messages
My Notifications
No, cancel
+ No documents
+ No messages.
Notifications for
+ Number of tasks
Parent Task
Portfolio
+ Received
Recent Messages
Related Tasks
Dear %user_name%,
@@ -136,30 +152,42 @@
%simulation_description%
Simulation %simulation_name% starts on %simulation_start_date%
+ Respond
+ Role
Roles
+ Send new message
SimBuild
SimInst
SimPlay
+ Simulation
Dear %user_name%,
Simulation %simulation.pretty_name% has now started. Please visit %simplay_url% to participate. Thank you!
Simulation %simulation.pretty_name% has started
States
+ Status
Sub-States
Sub-Tasks
+ Subject
Subscribe
+ Task
task
Tasks
tasks
Template
Template Description
Thank you!
+ Time
+ Timeout
+ To
<font color="red"><em>NOTE</em></font>: To attach a document to your message you need to <a
href="%document_upload_url%">upload a document</a> to your
portfolio before writing the message.
<font color="red"><em>NOTE</em></font>: To attach a document to your message you need to <a
href="%document_upload_url%">upload a document</a> to your
portfolio before writing the message.
Unsubscribe
+ Upload a document
+ User
View Map XML
Yellow Pages
Yes, delete the case
Index: openacs-4/packages/simulation/lib/case-history.tcl
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/simulation/lib/case-history.tcl,v
diff -u -r1.2.2.1 -r1.2.2.2
--- openacs-4/packages/simulation/lib/case-history.tcl 16 Mar 2004 16:16:18 -0000 1.2.2.1
+++ openacs-4/packages/simulation/lib/case-history.tcl 18 Mar 2004 14:40:24 -0000 1.2.2.2
@@ -17,18 +17,18 @@
-name log \
-elements {
timestamp {
- label "Time"
+ label {[_ simulation.Time]}
display_eval {[lc_time_fmt $creation_date_ansi "%x %X"]}
}
role_pretty {
- label "Role"
+ label {[_ simulation.Role]}
}
user_name {
- label "User"
+ label {[_ simulation.User]}
link_url_eval {[ad_decode $creation_user "" "" [acs_community_member_url -user_id $creation_user]]}
}
action_pretty {
- label "Task"
+ label {[_ simulation.Task]}
link_url_col action_url
}
}
@@ -72,27 +72,27 @@
}
if { [empty_string_p $creation_user] } {
- set user_name "Timeout"
+ set user_name [_ simulation.Timeout]
}
}
template::list::create \
-name documents \
- -no_data "No documents" \
+ -no_data [_ simulation.No_documents] \
-elements {
timestamp {
- label "Time"
+ label {[_ simulation.Time]}
display_eval {[lc_time_fmt $creation_date_ansi "%x %X"]}
}
role_pretty {
- label "Role"
+ label {[_ simulation.Role]}
}
user_name {
- label "User"
+ label {[_ simulation.User]}
link_url_eval {[acs_community_member_url -user_id $creation_user]}
}
document_pretty {
- label "Document"
+ label {[_ simulation.Document]}
link_url_col document_url
}
}
Index: openacs-4/packages/simulation/lib/cases-admin.tcl
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/simulation/lib/cases-admin.tcl,v
diff -u -r1.5 -r1.5.2.1
--- openacs-4/packages/simulation/lib/cases-admin.tcl 21 Jan 2004 15:55:36 -0000 1.5
+++ openacs-4/packages/simulation/lib/cases-admin.tcl 18 Mar 2004 14:40:24 -0000 1.5.2.1
@@ -15,20 +15,20 @@
set elements {
label {
- label "Case"
+ label {[_ simulation.Case]}
orderby upper(w.pretty_name)
link_url_eval {[export_vars -base [ad_conn package_url]simplay/case-admin { case_id }]}
}
pretty_name {
- label "Simulation"
+ label {[_ simulation.Simulation]}
orderby upper(w.pretty_name)
}
}
template::list::create \
-name cases \
-multirow cases \
- -no_data "You are not administering any active simulation cases." \
+ -no_data [_ simulation.lt_You_are_not_administe] \
-elements $elements
db_multirow cases select_cases "
Index: openacs-4/packages/simulation/lib/cases.tcl
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/simulation/lib/cases.tcl,v
diff -u -r1.16 -r1.16.2.1
--- openacs-4/packages/simulation/lib/cases.tcl 10 Feb 2004 16:46:28 -0000 1.16
+++ openacs-4/packages/simulation/lib/cases.tcl 18 Mar 2004 14:40:24 -0000 1.16.2.1
@@ -14,20 +14,20 @@
set elements {
label {
- label "Case"
+ label {[_ simulation.Case]}
link_url_eval {[export_vars -base "[ad_conn package_url]simplay/case" { case_id role_id }]}
}
pretty_name {
- label "Simulation"
+ label {[_ simulation.Simulation]}
}
role_pretty {
- label "Role"
+ label {[_ simulation.Role]}
}
status {
- label "Status"
+ label {[_ simulation.Status]}
}
num_user_tasks {
- label "Your Tasks"
+ label {[_ simulation.Your_Tasks]}
display_template {
@cases.num_user_tasks@
}
@@ -38,7 +38,7 @@
template::list::create \
-name cases \
-multirow cases \
- -no_data "You are not in any active simulation cases." \
+ -no_data [_ simulation.lt_You_are_not_in_any_ac] \
-elements $elements
db_multirow cases select_cases "
Index: openacs-4/packages/simulation/lib/messages.tcl
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/simulation/lib/messages.tcl,v
diff -u -r1.16.2.2 -r1.16.2.3
--- openacs-4/packages/simulation/lib/messages.tcl 17 Mar 2004 09:15:07 -0000 1.16.2.2
+++ openacs-4/packages/simulation/lib/messages.tcl 18 Mar 2004 14:40:24 -0000 1.16.2.3
@@ -27,7 +27,7 @@
if { ![exists_and_not_null case_id] || ![exists_and_not_null role_id] } {
if { !$adminplayer_p } {
- error "You must supply both case_id and role_id"
+ error [_ simulation.lt_You_must_supply_both_]
} else {
set mode "admin"
}
@@ -37,29 +37,29 @@
set elements {
from {
- label "From"
+ label {[_ simulation.From]}
}
to {
- label "To"
+ label {[_ simulation.To]}
}
subject {
link_url_col message_url
- label "Subject"
+ label {[_ simulation.Subject]}
}
creation_date {
- label "Received"
+ label {[_ simulation.Received]}
display_col creation_date_pretty
}
attachment_count {
- label "Attachments"
+ label {[_ simulation.Attachments]}
html { align center }
}
case_label {
- label "Case"
+ label {[_ simulation.Case]}
hide_p {[ad_decode [exists_and_not_null case_id] 1 1 0]}
}
sim_name {
- label "Simulation"
+ label {[_ simulation.Simulation]}
hide_p {[ad_decode [exists_and_not_null case_id] 1 1 0]}
}
}
@@ -69,22 +69,22 @@
if { $show_body_p } {
lappend elements body
lappend elements {
- label "Body"
+ label {[_ simulation.Body]}
}
lappend extend body
}
if { [exists_and_not_null case_id] && [exists_and_not_null role_id] } {
- set actions [list "Send new message" [export_vars -base message { case_id role_id }] {}]
+ set actions [list [_ simulation.Send_new_message] [export_vars -base message { case_id role_id }] {}]
} else {
set actions [list]
}
template::list::create \
-name messages \
-multirow messages \
- -no_data "No messages." \
+ -no_data [_ simulation.No_messages] \
-actions $actions \
-elements $elements
Index: openacs-4/packages/simulation/lib/portfolio.tcl
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/simulation/lib/portfolio.tcl,v
diff -u -r1.7 -r1.7.2.1
--- openacs-4/packages/simulation/lib/portfolio.tcl 10 Mar 2004 14:17:01 -0000 1.7
+++ openacs-4/packages/simulation/lib/portfolio.tcl 18 Mar 2004 14:40:24 -0000 1.7.2.1
@@ -22,11 +22,11 @@
template::list::create \
-name documents \
-multirow documents \
- -no_data "There are no documents." \
- -actions [list "Upload a document" $upload_url] \
+ -no_data [_ simulation.lt_There_are_no_document] \
+ -actions [list [_ simulation.Upload_a_document] $upload_url] \
-elements {
document_title {
- label "Document"
+ label {[_ simulation.Document]}
link_url_col document_url
}
}
Index: openacs-4/packages/simulation/lib/simulations-task-count.tcl
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/simulation/lib/simulations-task-count.tcl,v
diff -u -r1.1 -r1.1.2.1
--- openacs-4/packages/simulation/lib/simulations-task-count.tcl 4 Mar 2004 12:09:43 -0000 1.1
+++ openacs-4/packages/simulation/lib/simulations-task-count.tcl 18 Mar 2004 14:40:24 -0000 1.1.2.1
@@ -11,14 +11,14 @@
template::list::create \
-name simulations \
-multirow simulations \
- -no_data "You don't have any tasks." \
+ -no_data [_ simulation.lt_You_dont_have_any_tas] \
-elements {
pretty_name {
- label "Simulation"
+ label {[_ simulation.Simulation]}
link_url_col simulation_url
}
number_of_tasks {
- label "Number of tasks"
+ label {[_ simulation.Number_of_tasks]}
html {align center}
}
}
Index: openacs-4/packages/simulation/lib/tasks.tcl
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/simulation/lib/tasks.tcl,v
diff -u -r1.16 -r1.16.2.1
--- openacs-4/packages/simulation/lib/tasks.tcl 11 Mar 2004 10:17:33 -0000 1.16
+++ openacs-4/packages/simulation/lib/tasks.tcl 18 Mar 2004 14:40:24 -0000 1.16.2.1
@@ -32,7 +32,7 @@
if { !$adminplayer_p } {
if { ![exists_and_not_null case_id] || ![exists_and_not_null role_id] } {
- error "You must supply both case_id and role_id"
+ error [_ simulation.lt_You_must_supply_both_]
}
}
@@ -50,19 +50,19 @@
set elements {
name {
link_url_col task_url
- label "Task"
+ label {[_ simulation.Task]}
}
role {
- label "Role"
+ label {[_ simulation.Role]}
hide_p {[ad_decode [exists_and_not_null case_id] 1 1 0]}
display_col role_pretty
}
case_label {
- label "Case"
+ label {[_ simulation.Case]}
hide_p {[ad_decode [exists_and_not_null case_id] 1 1 0]}
}
sim_name {
- label "Simulation"
+ label {[_ simulation.Simulation]}
hide_p {[ad_decode [exists_and_not_null case_id] 1 1 0]}
}
}
@@ -81,7 +81,7 @@
}
ad_form -name search -export { workflow_id } -form {
- {search_terms:text,optional {label "Restrict to previous task matching word or phrase"}}
+ {search_terms:text,optional {label {[_ simulation.lt_Restrict_to_previous_]}}}
}
set role_values [db_list_of_lists select_roles {
@@ -124,26 +124,24 @@
set task_values {}
}
- set bulk_actions {
- "Respond" task-detail "Take action on selected tasks"
- }
+ set bulk_actions [list [_ simulation.Respond] task-detail [_ simulation.lt_Take_action_on_select]]
set bulk_p 1
}
template::list::create \
-name tasks \
-multirow tasks \
- -no_data "You don't have any tasks." \
+ -no_data [_ simulation.lt_You_dont_have_any_tas] \
-key "enabled_action_id" \
-elements $elements \
-filters {
role_id {
- label "Role"
+ label {[_ simulation.Role]}
values $role_values
hide_p {[ad_decode [llength $role_values] 0 t f]}
}
task_id {
- label "Task"
+ label {[_ simulation.Task]}
values $task_values
hide_p {[ad_decode [llength $task_values] 0 t f]}
}