From 18afa2eecd29b0802de7b68b95994a7b1e29de7d Mon Sep 17 00:00:00 2001 From: Wolfgang Sourdeau Date: Wed, 15 Jul 2009 20:36:06 +0000 Subject: [PATCH] Monotone-Parent: 707164ec11dd27d07b717674cfe5eb52b0dad31b Monotone-Revision: e0d6a2d51589348dbe6602973f8a6ae6718f0991 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2009-07-15T20:36:06 Monotone-Branch: ca.inverse.sogo --- NEWS | 4 ++++ .../Localizable.strings | 2 ++ UI/Scheduler/Czech.lproj/Localizable.strings | 2 ++ UI/Scheduler/Dutch.lproj/Localizable.strings | 2 ++ UI/Scheduler/English.lproj/Localizable.strings | 2 ++ UI/Scheduler/French.lproj/Localizable.strings | 2 ++ UI/Scheduler/German.lproj/Localizable.strings | 2 ++ UI/Scheduler/Italian.lproj/Localizable.strings | 2 ++ UI/Scheduler/Russian.lproj/Localizable.strings | 2 ++ UI/Scheduler/Spanish.lproj/Localizable.strings | 2 ++ .../Toolbars/SOGoAppointmentFolders.toolbar | 7 ++++++- UI/Scheduler/Welsh.lproj/Localizable.strings | 2 ++ UI/WebServerResources/SchedulerUI.js | 6 ++++++ UI/WebServerResources/calendar-reload.png | Bin 0 -> 1678 bytes 14 files changed, 36 insertions(+), 1 deletion(-) create mode 100644 UI/WebServerResources/calendar-reload.png diff --git a/NEWS b/NEWS index d137b3100..34349db82 100644 --- a/NEWS +++ b/NEWS @@ -1,3 +1,7 @@ +1.0-2009XXXX (1.0.4) +-------------------- +- added "Reload" button to refresh the current view in the calendar + 1.0-20090714 (1.0.3) -------------------- - improved search behavior of users folders (UIxContactsUserFolders) diff --git a/UI/Scheduler/BrazilianPortuguese.lproj/Localizable.strings b/UI/Scheduler/BrazilianPortuguese.lproj/Localizable.strings index 37aff43a9..d56eadec4 100755 --- a/UI/Scheduler/BrazilianPortuguese.lproj/Localizable.strings +++ b/UI/Scheduler/BrazilianPortuguese.lproj/Localizable.strings @@ -10,6 +10,7 @@ "Switch to day view" = "Visualizar Dia"; "Switch to week view" = "Visualizar Semana"; "Switch to month view" = "Visualizar Mês"; +"Reload all calendars" = "Reload all calendars"; /* Tabs */ "Date" = "Data"; @@ -434,6 +435,7 @@ validate_endbeforestart = "A data que você informou ocorre antes da data ini "Day View" = "Visualizar Dia"; "Week View" = "Visualizar Mês"; "Month View" = "Visualizar Mês"; +"Reload" = "Reload"; "eventPartStatModificationError" = "Seu status de participação não pode ser modificado."; diff --git a/UI/Scheduler/Czech.lproj/Localizable.strings b/UI/Scheduler/Czech.lproj/Localizable.strings index dc5da1089..0ce0e05f0 100755 --- a/UI/Scheduler/Czech.lproj/Localizable.strings +++ b/UI/Scheduler/Czech.lproj/Localizable.strings @@ -10,6 +10,7 @@ "Switch to day view" = "Přepnout na denní zobrazení"; "Switch to week view" = "Přepnout na týdenní zobrazení"; "Switch to month view" = "Přepnout na měsíční zobrazení"; +"Reload all calendars" = "Reload all calendars"; /* Tabs */ "Date" = "Datum"; @@ -434,6 +435,7 @@ validate_endbeforestart = "Zadané datum konce je před začátkem události. "Day View" = "Denní zobrazení"; "Week View" = "Týdenní zobrazení"; "Month View" = "Měsíční zobrazení"; +"Reload" = "Reload"; "eventPartStatModificationError" = "Status Vaší účasti nemohl být změněn."; diff --git a/UI/Scheduler/Dutch.lproj/Localizable.strings b/UI/Scheduler/Dutch.lproj/Localizable.strings index fd018179b..f4f34d994 100644 --- a/UI/Scheduler/Dutch.lproj/Localizable.strings +++ b/UI/Scheduler/Dutch.lproj/Localizable.strings @@ -417,6 +417,7 @@ validate_endbeforestart = "Het begin vindt plaats vóór het einde."; "Day View" = "Dagoverzicht"; "Week View" = "Weekoverzicht"; "Month View" = "Maandoverzicht"; +"Reload" = "Reload"; "eventPartStatModificationError" = "Uw participatiestatus kon niet worden gewijzigd."; @@ -428,6 +429,7 @@ validate_endbeforestart = "Het begin vindt plaats vóór het einde."; "Select All" = "Alles selecteren"; "Workweek days only" = "Alleen werkdagen weergeven"; "Tasks in View" = "Taken in binnen het zicht"; +"Reload all calendars" = "Reload all calendars"; "eventDeleteConfirmation" = "Weet u zeker dat u deze afspraak wilt verwijderen?"; "taskDeleteConfirmation" = "Weet u zeker dat u deze taak wilt verwijderen?"; diff --git a/UI/Scheduler/English.lproj/Localizable.strings b/UI/Scheduler/English.lproj/Localizable.strings index 8d1bd313f..a87867563 100644 --- a/UI/Scheduler/English.lproj/Localizable.strings +++ b/UI/Scheduler/English.lproj/Localizable.strings @@ -10,6 +10,7 @@ "Switch to day view" = "Switch to day view"; "Switch to week view" = "Switch to week view"; "Switch to month view" = "Switch to month view"; +"Reload all calendars" = "Reload all calendars"; /* Tabs */ "Date" = "Date"; @@ -434,6 +435,7 @@ validate_endbeforestart = "The end date that you entered occurs before the st "Day View" = "Day View"; "Week View" = "Week View"; "Month View" = "Month View"; +"Reload" = "Reload"; "eventPartStatModificationError" = "Your participation status could not be modified."; diff --git a/UI/Scheduler/French.lproj/Localizable.strings b/UI/Scheduler/French.lproj/Localizable.strings index 4f7f0f31b..6f3a6133b 100644 --- a/UI/Scheduler/French.lproj/Localizable.strings +++ b/UI/Scheduler/French.lproj/Localizable.strings @@ -10,6 +10,7 @@ "Switch to day view" = "Passer à la vue par jour"; "Switch to week view" = "Passer à la vue par semaine"; "Switch to month view" = "Passer à la vue par mois"; +"Reload all calendars" = "Actualiser tous les agendas"; /* Tabs */ "Date" = "Date"; @@ -432,6 +433,7 @@ validate_endbeforestart = "La date de fin est avant la date de début."; "Day View" = "Par jour"; "Week View" = "Par semaine"; "Month View" = "Par mois"; +"Reload" = "Actualiser"; "eventPartStatModificationError" = "Votre état de participation à l'événement n'a pas pu être modifié."; diff --git a/UI/Scheduler/German.lproj/Localizable.strings b/UI/Scheduler/German.lproj/Localizable.strings index 2bfdc6b22..2e14520b0 100644 --- a/UI/Scheduler/German.lproj/Localizable.strings +++ b/UI/Scheduler/German.lproj/Localizable.strings @@ -10,6 +10,7 @@ "Switch to day view" = "Zur Tagesansicht wechseln"; "Switch to week view" = "Zur Wochenansicht wechseln"; "Switch to month view" = "Zur wehrwöchigen Ansicht wechseln"; +"Reload all calendars" = "Reload all calendars"; /* Tabs */ "Date" = "Datum"; @@ -432,6 +433,7 @@ validate_endbeforestart = "Ihr Beginn ist nach dem Ende"; "Day View" = "Tagesansicht"; "Week View" = "Wochenansicht"; "Month View" = "Monatsansicht"; +"Reload" = "Reload"; "eventPartStatModificationError" = "Ihre Teilnahme an dem Termin kann nicht geändert werden."; diff --git a/UI/Scheduler/Italian.lproj/Localizable.strings b/UI/Scheduler/Italian.lproj/Localizable.strings index 00d1fb913..cce804e3f 100644 --- a/UI/Scheduler/Italian.lproj/Localizable.strings +++ b/UI/Scheduler/Italian.lproj/Localizable.strings @@ -10,6 +10,7 @@ "Switch to day view" = "Giorno"; "Switch to week view" = "Settimana"; "Switch to month view" = "Mese"; +"Reload all calendars" = "Reload all calendars"; /* Tabs */ "Date" = "Data"; @@ -434,6 +435,7 @@ validate_endbeforestart = "La data finale specificata è precedente alla data "Day View" = "Giorno"; "Week View" = "Settimana"; "Month View" = "Mese"; +"Reload" = "Reload"; "eventPartStatModificationError" = "Lo stato della tua partecipazione non può essere modificato."; diff --git a/UI/Scheduler/Russian.lproj/Localizable.strings b/UI/Scheduler/Russian.lproj/Localizable.strings index 9184ead99..50a6247e7 100644 --- a/UI/Scheduler/Russian.lproj/Localizable.strings +++ b/UI/Scheduler/Russian.lproj/Localizable.strings @@ -10,6 +10,7 @@ "Switch to day view" = "Перейти к обзору дня"; "Switch to week view" = "Перейти к обзору недели"; "Switch to month view" = "Перейти к обзору месяца"; +"Reload all calendars" = "Reload all calendars"; /* Tabs */ "Date" = "Дата"; @@ -433,6 +434,7 @@ validate_endbeforestart = "The end date that you entered occurs before the st "Day View" = "День"; "Week View" = "По неделям"; "Month View" = "Месяц"; +"Reload" = "Reload"; "eventPartStatModificationError" = "Невозможно изменить статус Вашего участия."; diff --git a/UI/Scheduler/Spanish.lproj/Localizable.strings b/UI/Scheduler/Spanish.lproj/Localizable.strings index 2bf96b010..8ef55d2bd 100644 --- a/UI/Scheduler/Spanish.lproj/Localizable.strings +++ b/UI/Scheduler/Spanish.lproj/Localizable.strings @@ -13,6 +13,7 @@ "Switch to day view" = "Cambiar a vista diaria"; "Switch to week view" = "Cambiar a vista semanal"; "Switch to month view" = "Cambiar a vista mensual"; +"Reload all calendars" = "Reload all calendars"; /* Tabs */ "Date" = "Fecha"; @@ -438,6 +439,7 @@ validate_endbeforestart = "Su fecha/hora de comienzo es posterio a la de fina "Day View" = "Vista diaria"; "Week View" = "Vista semanal"; "Month View" = "Vista mensual"; +"Reload" = "Reload"; "eventPartStatModificationError" = "Su estado de participación no puede ser actualizado."; diff --git a/UI/Scheduler/Toolbars/SOGoAppointmentFolders.toolbar b/UI/Scheduler/Toolbars/SOGoAppointmentFolders.toolbar index d23428f1d..8aabe8a32 100644 --- a/UI/Scheduler/Toolbars/SOGoAppointmentFolders.toolbar +++ b/UI/Scheduler/Toolbars/SOGoAppointmentFolders.toolbar @@ -46,5 +46,10 @@ label="Month View"; onclick = "return onMonthOverview();"; image = "month-view.png"; - tooltip = "Switch to month view"; } ) + tooltip = "Switch to month view"; } ), + ( { link = "#"; + label = "Reload"; + onclick = "return onCalendarReload();"; + image = "calendar-reload.png"; + tooltip = "Reload all calendars"; } ) ) diff --git a/UI/Scheduler/Welsh.lproj/Localizable.strings b/UI/Scheduler/Welsh.lproj/Localizable.strings index 8167e804b..aee4a852b 100644 --- a/UI/Scheduler/Welsh.lproj/Localizable.strings +++ b/UI/Scheduler/Welsh.lproj/Localizable.strings @@ -10,6 +10,7 @@ "Switch to day view" = "Newid i olygfa diwrnod"; "Switch to week view" = "Newid i olygfa wythnos"; "Switch to month view" = "Newid i olygfa mis"; +"Reload all calendars" = "Reload all calendars"; /* Tabs */ "Date" = "Dyddiad"; @@ -425,6 +426,7 @@ validate_endbeforestart = "Mae'r dyddiad gorffen sydd wedi'i roi yn digwydd c "Day View" = "Golygfa diwrnod"; "Week View" = "Golygfa wythnos"; "Month View" = "Golygfa mis"; +"Reload" = "Reload"; "eventPartStatModificationError" = "Ni fedrwyd newid statws eich cyfranogiad."; diff --git a/UI/WebServerResources/SchedulerUI.js b/UI/WebServerResources/SchedulerUI.js index f096f0bb8..2fc325ea7 100644 --- a/UI/WebServerResources/SchedulerUI.js +++ b/UI/WebServerResources/SchedulerUI.js @@ -846,6 +846,12 @@ function onMonthOverview() { return _ensureView("monthview"); } +function onCalendarReload() { + changeCalendarDisplay(null, currentView); + + return false; +} + function scrollDayView(scrollEvent) { if (scrollEvent) { var contentView; diff --git a/UI/WebServerResources/calendar-reload.png b/UI/WebServerResources/calendar-reload.png new file mode 100644 index 0000000000000000000000000000000000000000..3ea357d32397a87534de60a20bb145cc2075c1ae GIT binary patch literal 1678 zcmV;9266d`P)Px#24YJ`L;(K){{a7>y{D4^000SaNLh0L01sgR01sgSs6VG^00007bV*G`2iXS? z6caABux#)E000?uMObu0Z*6U5Zgc=ca%Ew3Wn>_CX>@2HM@dakSAh-}000H)Nkl)f3q(yQJ} zOofZ5TRD69^T}PWZ26JJEdTbl0J_eDPyhT+dy`qllD*IBqzIB>gtk!w$2)7de|0ZY zlXg1Ku0}~#kY5DLDk0GA=h(he@xQ+Ioo9_kY45E7N_V_>^8I%@#QJT|&G6{_BV>pX zM<;s06k)x>HQ-i;Gx#@91;MDb|;+LmkaP-=f z@3zJ26M~I=`=6O5Op+8TX;fyhCMKCDr5Qrt@|c791p}xmOediG3S78SPS|2CK7RV* zR=|FPE(zf3bmE~;dz8|!Nx&qH(U%UAB^QtZG(;>wg;QYX z-)h*tzljy=i&*u9h-?6h4AU|2`O>r;58}?Q%+7r*u#a>KaA%7Er@Q*UrrAAWEIvzL zPYu3aogjYF%#a{SidlTaGTWOsvgw%;#B3ekWu5c=;J*S>aah?X^W)dcv6a{IjpwVb z|Bz7vIOp$Qn39)}%ES<*0y^8g6n^Cd5lfW5OO1@jyzJh!iF=wBVl;z!67ur|3iBbQ zKx76&5r`}B-6w4b2KeKR9E^t}b`1-v7Q-PZpo?G-ZvrSPbX_AI!zfG0vI$#` zi=pAo96GQaqdAvMM#M5djypF&NwH3jBZFBAf_@c}QL5`5_%A^^2BswR4c=sSb=74( z`#VOet(G!0ErZEu!f0}mPzx9guEb>@W<}k51Os(cE;&F|O$!DgO>66Vu8e+bx5RqjA zk}N}(gE!vDBbkPb1~wUvoPmx*ovgdBnT!JW)Q4$5>m{DFVK(16-qLMoC@|96Ndz!cH3#~I1HDELwuvsLIwTF56XL*FkyRuqH)khn3?CRa67ys~xp>VlmupVb;lmmwLl=a8+C zYk`Xs5J|yM7}7d;s$~|}$tWt=%nFQU8ae zM$QB9aR>b1r3e`XN?ddPqbM*HgW)M1lMLe{utbS{ac`CRH6RJ7w~NfeSUma6wpR~s z-qY#LM@zBD9U?GUf@@JB-Z~o<3qcTIAOs!lGi+I`efHBP`?r7zApYe9w*