Index: openacs-4/packages/calendar/calendar.info
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/calendar/calendar.info,v
diff -u -r1.47.2.12 -r1.47.2.13
--- openacs-4/packages/calendar/calendar.info 21 Oct 2022 13:20:22 -0000 1.47.2.12
+++ openacs-4/packages/calendar/calendar.info 14 Feb 2023 14:18:25 -0000 1.47.2.13
@@ -7,7 +7,7 @@
f
f
-
+
Dirk Gomez
Personal and shared event calendars.
2021-09-15
@@ -17,7 +17,7 @@
2
#calendar.Calendar#
-
+
Index: openacs-4/packages/calendar/catalog/calendar.de_DE.ISO-8859-1.xml
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/calendar/catalog/calendar.de_DE.ISO-8859-1.xml,v
diff -u -r1.19.2.2 -r1.19.2.3
--- openacs-4/packages/calendar/catalog/calendar.de_DE.ISO-8859-1.xml 21 Oct 2022 13:20:22 -0000 1.19.2.2
+++ openacs-4/packages/calendar/catalog/calendar.de_DE.ISO-8859-1.xml 14 Feb 2023 14:18:25 -0000 1.19.2.3
@@ -49,6 +49,7 @@
Hinweis: Die Erstellung eines neuen Kalenders erfolgt in drei Schritten: <ol> <li> Geben Sie einen Namen f�r den Kalender ein und �ndern Sie falls n�tig die Standardberechtigungen. <li> W�hlen Sie Gruppen und/oder einzelne Benutzer als Zielgruppe aus. <li> Erteilen Sie nach Bedarf gruppen- oder benutzerspezifische Berechtigungen.</ol>
Bearbeiten
Bearbeiten
+ Bearbeitet
Endet
Ereignis
Ereignisse
@@ -82,6 +83,7 @@
Eintrag
letzte Woche
Liste
+ Ort
Wollen Sie diesen Kalender wirklich l�schen? Alle Eintr�ge und die mit dem Kalender verbundenen Berechtigungen werden dann ebenfalls gel�scht.
Wollen Sie dieses Ereignis wirklich l�schen?
Zielgruppen f�r Kalender
@@ -115,6 +117,7 @@
Elementtypen verwalten
Montag
Monat
+ Neuer
Neue Eintragskategorie:
N�chster Tag
N�chster Monat
@@ -177,5 +180,4 @@
Ja
Ja, l�schen
Ja, wirklich
- Ort
Index: openacs-4/packages/calendar/catalog/calendar.en_US.ISO-8859-1.xml
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/calendar/catalog/calendar.en_US.ISO-8859-1.xml,v
diff -u -r1.36.2.1 -r1.36.2.2
--- openacs-4/packages/calendar/catalog/calendar.en_US.ISO-8859-1.xml 5 Dec 2021 16:13:59 -0000 1.36.2.1
+++ openacs-4/packages/calendar/catalog/calendar.en_US.ISO-8859-1.xml 14 Feb 2023 14:18:25 -0000 1.36.2.2
@@ -30,9 +30,9 @@
Calendar Item Delete
Calendar Item Types
Calendar Name
- "Calendar Permissions"
+ "Calendar Permissions"
Calendar Permissions
- "Calendar Preferences"
+ "Calendar Preferences"
Calendars
Choose
Close Window
@@ -59,6 +59,7 @@
Edit
edit
+ Edited
End Time
Event
Events
@@ -94,7 +95,7 @@
List
Location
Are you sure you want to delete this calendar? All the calendar items
- and all the permission that's associated with this calendar will be
+ and all the permission that's associated with this calendar will be
deleted as well.
Are you sure you want to delete this event?
Audiences for calendar
@@ -103,7 +104,7 @@
Calendar: Choose Calendar
Calendar detail: listing all the info about the individual calendar
Calendar Item Administration
- "Calendar Item Permissions"
+ "Calendar Item Permissions"
Calendars: Repeating Event
Create a new calendar
delete all occurrences
@@ -119,21 +120,21 @@
</if>
<else>
- <tr class="days">
- <multiple name="days_of_week">
+ <tr class="days">
+ <multiple name="days_of_week">
<td>%days_of_week.day_short%</td>
</multiple>
</tr>
- <multiple name="days">
+ <multiple name="days">
<if %days.beginning_of_week_p% true>
<tr>
</if>
<if %days.active_p% true>
<if %days.today_p% true>
- <td class="today" onclick="javascript:location.href='%days.url%';">
- <a href="%days.url%" title="<#_ Go to %month_name% %days.day_number%, %year%
+ <td class="today" onclick="javascript:location.href='%days.url%';">
+ <a href="%days.url%" title="<#_ Go to %month_name% %days.day_number%, %year%
This looks like a buggy internationalization of the package.
Hide Selected Calendars
@@ -149,12 +150,13 @@
There are no audiences for this calendar
This is a repeating event
You are choosing to make this event recurrent, so that it appears more
-than once in your calendar. The event's details are:
+than once in your calendar. The event's details are:
You can manage the following calendars
You have no party wide calendars
Manage Item Types
Monday
Month
+ New
New Type:
Next day
Next Month
@@ -211,7 +213,6 @@
Your calendar item can optionally be classified
into types. Choose one from the drop down.
Use Hours Below:
- Use Hours Below:
View
Wednesday
Week
Index: openacs-4/packages/calendar/catalog/calendar.it_IT.ISO-8859-1.xml
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/calendar/catalog/calendar.it_IT.ISO-8859-1.xml,v
diff -u -r1.18 -r1.18.2.1
--- openacs-4/packages/calendar/catalog/calendar.it_IT.ISO-8859-1.xml 22 Jun 2018 08:46:59 -0000 1.18
+++ openacs-4/packages/calendar/catalog/calendar.it_IT.ISO-8859-1.xml 14 Feb 2023 14:18:25 -0000 1.18.2.1
@@ -49,6 +49,7 @@
Nota per gli Sviluppatori: Il processo di creazione del calendario comporta i seguenti passi: <ol> <li> Creare l'oggetto "e;calendario", e modificare i permessi di default se necessario.<li> Seleziona gruppi e/o utenti che potranno vedere il calendario <li> Ae necessario, applicare i permessi specifici agli utenti o ai gruppi. </ol>
Modifica
modifica
+ Modificato
Ora finale
Evento
Eventi
@@ -116,6 +117,7 @@
Gestisci i Tipi evento
Luned�
Mese
+ Nuovo
Nuovo Tipo:
Giorno successivo
Mese Successivo
Index: openacs-4/packages/calendar/tcl/calendar-procs.tcl
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/calendar/tcl/calendar-procs.tcl,v
diff -u -r1.39.2.13 -r1.39.2.14
--- openacs-4/packages/calendar/tcl/calendar-procs.tcl 14 Feb 2023 08:47:51 -0000 1.39.2.13
+++ openacs-4/packages/calendar/tcl/calendar-procs.tcl 14 Feb 2023 14:18:25 -0000 1.39.2.14
@@ -565,6 +565,10 @@
# send text for now.
set new_content [ad_html_to_text -- $new_content]
+ if {[lang::message::message_exists_p en_US calendar.$mode]} {
+ set mode [_ calendar.$mode]
+ }
+
# Do the notification for the calendar
notification::new \
-type_id [notification::type::get_type_id \
Index: openacs-4/packages/calendar/tcl/test/cal-item-procs.tcl
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/calendar/tcl/test/cal-item-procs.tcl,v
diff -u -r1.8.2.6 -r1.8.2.7
--- openacs-4/packages/calendar/tcl/test/cal-item-procs.tcl 14 Feb 2023 13:43:31 -0000 1.8.2.6
+++ openacs-4/packages/calendar/tcl/test/cal-item-procs.tcl 14 Feb 2023 14:18:25 -0000 1.8.2.7
@@ -269,25 +269,11 @@
-description $ci_description \
-calendar_id $calendar_id]
- aa_log "Create a notification request for the calendar item"
- set type_id [notification::type::get_type_id -short_name calendar_notif]
- set delivery_method_id [lindex [notification::get_delivery_methods -type_id $type_id] 0 1]
- set interval_id [lindex [notification::get_intervals -type_id $type_id] 0 1]
set package_id [ad_conn package_id]
- notification::request::new \
- -type_id $type_id \
- -user_id $user_id \
- -object_id $package_id \
- -interval_id $interval_id \
- -delivery_method_id $delivery_method_id
-
- aa_log "Do notifications"
- calendar::do_notifications \
- -mode TestMode \
- -cal_item_id $cal_item_id
+ set mode_pretty [_ calendar.New]
aa_true "Notification was generated" [db_0or1row check {
select 1 from notifications where object_id = :package_id
- and notif_subject like '%TestMode%'
+ and notif_subject like '%' || :mode_pretty || '%'
and response_id = :cal_item_id
}]