From 0a6280623b4716939f1c1b50fa066a84f8e43bb9 Mon Sep 17 00:00:00 2001 From: Michael Prager Date: Sat, 19 May 2012 19:21:53 +0200 Subject: [PATCH] added "show icons" option which enables users to hide icons if desired --- Readme.txt | 1 + comingNext/ca.lproj/localizedTextStrings.js | 2 ++ comingNext/cs.lproj/localizedTextStrings.js | 2 ++ comingNext/de.lproj/localizedTextStrings.js | 2 ++ comingNext/es.lproj/localizedTextStrings.js | 2 ++ comingNext/fi.lproj/localizedTextStrings.js | 2 ++ comingNext/fr.lproj/localizedTextStrings.js | 2 ++ comingNext/index.html | 8 ++++++-- comingNext/it.lproj/localizedTextStrings.js | 2 ++ comingNext/localizedTextStrings.js | 2 ++ comingNext/pl.lproj/localizedTextStrings.js | 2 ++ comingNext/pt-BR.lproj/localizedTextStrings.js | 2 ++ comingNext/ru.lproj/localizedTextStrings.js | 2 ++ 13 files changed, 29 insertions(+), 2 deletions(-) diff --git a/Readme.txt b/Readme.txt index 30ae876..696ba1f 100644 --- a/Readme.txt +++ b/Readme.txt @@ -300,3 +300,4 @@ Changelog: - added Czech translation (thanks to renek) - fixed display problems on E6 (bug no. 3509394) - fixed help button on settings page require double tap (bug no. 3302891) + - added "show icons" option to enable users to hide icons if desired (bug no. 3521427) diff --git a/comingNext/ca.lproj/localizedTextStrings.js b/comingNext/ca.lproj/localizedTextStrings.js index baaacb1..22a6226 100644 --- a/comingNext/ca.lproj/localizedTextStrings.js +++ b/comingNext/ca.lproj/localizedTextStrings.js @@ -13,6 +13,8 @@ localizedText['settings.help'] = 'Ajuda'; localizedText['settings.save'] = 'Desa'; localizedText['settings.cancel'] = 'Cancel.lar'; +localizedText['settings.name.showIcons'] = 'Show Icons'; +localizedText['settings.info.showIcons'] = 'disable this to hide event type icons'; localizedText['settings.name.monthRange'] = 'Interval Mensual'; localizedText['settings.info.monthRange'] = 'mesos a incloure a la llista d\'events'; localizedText['settings.name.includeTodos'] = 'Incloure Pendents'; diff --git a/comingNext/cs.lproj/localizedTextStrings.js b/comingNext/cs.lproj/localizedTextStrings.js index c95ac73..59cdfb3 100644 --- a/comingNext/cs.lproj/localizedTextStrings.js +++ b/comingNext/cs.lproj/localizedTextStrings.js @@ -13,6 +13,8 @@ localizedText['settings.help'] = 'Pomoc'; localizedText['settings.save'] = 'Uložit'; localizedText['settings.cancel'] = 'ZruÅ¡it'; +localizedText['settings.name.showIcons'] = 'Show Icons'; +localizedText['settings.info.showIcons'] = 'disable this to hide event type icons'; localizedText['settings.name.monthRange'] = 'Měsíců'; localizedText['settings.info.monthRange'] = 'počet měsíců, které chcete zahrnout do seznamu událostí'; localizedText['settings.name.includeTodos'] = 'Zahrnout Úkoly'; diff --git a/comingNext/de.lproj/localizedTextStrings.js b/comingNext/de.lproj/localizedTextStrings.js index 21dd2b0..e6980c5 100644 --- a/comingNext/de.lproj/localizedTextStrings.js +++ b/comingNext/de.lproj/localizedTextStrings.js @@ -13,6 +13,8 @@ localizedText['settings.help'] = 'Hilfe'; localizedText['settings.save'] = 'Speichern'; localizedText['settings.cancel'] = 'Abbruch'; +localizedText['settings.name.showIcons'] = 'Show Icons'; +localizedText['settings.info.showIcons'] = 'disable this to hide event type icons'; localizedText['settings.name.monthRange'] = 'Monatsspanne'; localizedText['settings.info.monthRange'] = 'gibt an, wieviel Monate in der Ereignisliste angezeigt werden sollen'; localizedText['settings.name.includeTodos'] = 'Aufgaben anzeigen'; diff --git a/comingNext/es.lproj/localizedTextStrings.js b/comingNext/es.lproj/localizedTextStrings.js index 268f3e8..fa63c8d 100644 --- a/comingNext/es.lproj/localizedTextStrings.js +++ b/comingNext/es.lproj/localizedTextStrings.js @@ -13,6 +13,8 @@ localizedText['settings.help'] = 'Ayuda'; localizedText['settings.save'] = 'Guardar'; localizedText['settings.cancel'] = 'Cancelar'; +localizedText['settings.name.showIcons'] = 'Show Icons'; +localizedText['settings.info.showIcons'] = 'disable this to hide event type icons'; localizedText['settings.name.monthRange'] = 'Rango del Mes'; localizedText['settings.info.monthRange'] = 'Número de meses incluidos en lista de eventos'; localizedText['settings.name.includeTodos'] = 'Incluir tareas'; diff --git a/comingNext/fi.lproj/localizedTextStrings.js b/comingNext/fi.lproj/localizedTextStrings.js index 9afbed8..40d8aac 100644 --- a/comingNext/fi.lproj/localizedTextStrings.js +++ b/comingNext/fi.lproj/localizedTextStrings.js @@ -13,6 +13,8 @@ localizedText['settings.help'] = 'Ohje'; localizedText['settings.save'] = 'Tallenna'; localizedText['settings.cancel'] = 'Peruuta'; +localizedText['settings.name.showIcons'] = 'Show Icons'; +localizedText['settings.info.showIcons'] = 'disable this to hide event type icons'; localizedText['settings.name.monthRange'] = 'Näytetyt kuukaudet'; localizedText['settings.info.monthRange'] = 'Aloitusnäytön widgetissä näytettyjen kuukausien lukumäärä'; localizedText['settings.name.includeTodos'] = 'Näytä tehtävät'; diff --git a/comingNext/fr.lproj/localizedTextStrings.js b/comingNext/fr.lproj/localizedTextStrings.js index 2255b1c..82025a5 100644 --- a/comingNext/fr.lproj/localizedTextStrings.js +++ b/comingNext/fr.lproj/localizedTextStrings.js @@ -13,6 +13,8 @@ localizedText['settings.help'] = 'Aide'; localizedText['settings.save'] = 'Sauver'; localizedText['settings.cancel'] = 'Annuler'; +localizedText['settings.name.showIcons'] = 'Show Icons'; +localizedText['settings.info.showIcons'] = 'disable this to hide event type icons'; localizedText['settings.name.monthRange'] = 'Nombre de mois'; localizedText['settings.info.monthRange'] = 'Nombre de mois à inclure dans la liste d\'événements'; localizedText['settings.name.includeTodos'] = 'Ajouter ToDos'; diff --git a/comingNext/index.html b/comingNext/index.html index 32b89eb..e5b472c 100644 --- a/comingNext/index.html +++ b/comingNext/index.html @@ -37,6 +37,7 @@ var config = { backgroundImageLocation: { Type: 'Enum', Default: 'internal', Value: 'internal', ValidValues: ['internal', 'external']}, showCombinedDateTime: { Type: 'Bool', Default: false, Value: false,}, showLocation: { Type: 'Bool', Default: true, Value: true,}, + showIcons: { Type: 'Bool', Default: true, Value: true,}, showTodayAsText: { Type: 'Bool', Default: true, Value: true,}, todayText: { Type: 'String', Default: getLocalizedText('settings.default.todayText'), Value: getLocalizedText('settings.default.todayText'),}, tomorrowText: { Type: 'String', Default: getLocalizedText('settings.default.tomorrowText'), Value: getLocalizedText('settings.default.tomorrowText'),}, @@ -67,7 +68,7 @@ var config = { cssStyle_time: { Type: 'String', Default: '', Value: '',}, cssStyle_now: { Type: 'String', Default: 'color:#ff00ff', Value: 'color:#ff00ff',}, cssStyle_description: { Type: 'String', Default: '', Value: '',}, - cssStyle_icon: { Type: 'String', Default: 'width:15px; height:15px', Value: 'width:15px; height:15px',}, + cssStyle_icon: { Type: 'String', Default: '', Value: '',}, cssStyle_overdue: { Type: 'String', Default: 'color:#ffff00', Value: 'color:#ffff00',}, cssStyle_calendar1: { Type: 'String', Default: 'background-color:#0757cf', Value: 'background-color:#0757cf',}, cssStyle_calendar2: { Type: 'String', Default: 'background-color:#579f37', Value: 'background-color:#579f37',}, @@ -897,7 +898,10 @@ function updateData() if (config['showCalendarIndicator'].Value && calendarList.length - config['excludedCalendars'].Value.length > 1) { entriesHtml += ' '; } - entriesHtml += ''; + if (config['showIcons'].Value) + entriesHtml += ''; + else + entriesHtml += ''; if(date == null) { // some languages have very strange locale date formats, can't parse all those. Also some todos don't have dates at all. entriesHtml += '' + entryDate + ' '; diff --git a/comingNext/it.lproj/localizedTextStrings.js b/comingNext/it.lproj/localizedTextStrings.js index bffaca7..d8b9908 100644 --- a/comingNext/it.lproj/localizedTextStrings.js +++ b/comingNext/it.lproj/localizedTextStrings.js @@ -13,6 +13,8 @@ localizedText['settings.help'] = 'Aiuto'; localizedText['settings.save'] = 'Salva'; localizedText['settings.cancel'] = 'Annulla'; +localizedText['settings.name.showIcons'] = 'Show Icons'; +localizedText['settings.info.showIcons'] = 'disable this to hide event type icons'; localizedText['settings.name.monthRange'] = 'Numero Mesi'; localizedText['settings.info.monthRange'] = 'numero di mesi da includere nella lista degli eventi'; localizedText['settings.name.includeTodos'] = 'Includi Impegni'; diff --git a/comingNext/localizedTextStrings.js b/comingNext/localizedTextStrings.js index 68bb4f4..bce7f37 100644 --- a/comingNext/localizedTextStrings.js +++ b/comingNext/localizedTextStrings.js @@ -13,6 +13,8 @@ localizedText['settings.help'] = 'Help'; localizedText['settings.save'] = 'Save'; localizedText['settings.cancel'] = 'Cancel'; +localizedText['settings.name.showIcons'] = 'Show Icons'; +localizedText['settings.info.showIcons'] = 'disable this to hide event type icons'; localizedText['settings.name.monthRange'] = 'Month Range'; localizedText['settings.info.monthRange'] = 'number of months to include in the event list'; localizedText['settings.name.includeTodos'] = 'Include ToDos'; diff --git a/comingNext/pl.lproj/localizedTextStrings.js b/comingNext/pl.lproj/localizedTextStrings.js index 5b20afa..66ea0dd 100644 --- a/comingNext/pl.lproj/localizedTextStrings.js +++ b/comingNext/pl.lproj/localizedTextStrings.js @@ -13,6 +13,8 @@ localizedText['settings.help'] = 'Pomoc'; localizedText['settings.save'] = 'Zapisz'; localizedText['settings.cancel'] = 'Anuluj'; +localizedText['settings.name.showIcons'] = 'Show Icons'; +localizedText['settings.info.showIcons'] = 'disable this to hide event type icons'; localizedText['settings.name.monthRange'] = 'Zakres miesięcy'; localizedText['settings.info.monthRange'] = 'Liczba miesięcy która będzie pokazana na liście wydarzeń'; localizedText['settings.name.includeTodos'] = 'Włącz poprzednie (zadania)'; diff --git a/comingNext/pt-BR.lproj/localizedTextStrings.js b/comingNext/pt-BR.lproj/localizedTextStrings.js index 0f92a22..8120ea5 100644 --- a/comingNext/pt-BR.lproj/localizedTextStrings.js +++ b/comingNext/pt-BR.lproj/localizedTextStrings.js @@ -13,6 +13,8 @@ localizedText['settings.help'] = 'ajuda'; localizedText['settings.save'] = 'Salva'; localizedText['settings.cancel'] = 'Cancela'; +localizedText['settings.name.showIcons'] = 'Show Icons'; +localizedText['settings.info.showIcons'] = 'disable this to hide event type icons'; localizedText['settings.name.monthRange'] = 'Faixa do Mês'; localizedText['settings.info.monthRange'] = 'Número de meses incluídos na lista de evento'; localizedText['settings.name.includeTodos'] = 'Incluir ToDos'; diff --git a/comingNext/ru.lproj/localizedTextStrings.js b/comingNext/ru.lproj/localizedTextStrings.js index 58ab4ad..ac8f92d 100644 --- a/comingNext/ru.lproj/localizedTextStrings.js +++ b/comingNext/ru.lproj/localizedTextStrings.js @@ -13,6 +13,8 @@ localizedText['settings.help'] = 'Помощь'; localizedText['settings.save'] = 'Сохранить'; localizedText['settings.cancel'] = 'Отмена'; +localizedText['settings.name.showIcons'] = 'Show Icons'; +localizedText['settings.info.showIcons'] = 'disable this to hide event type icons'; localizedText['settings.name.monthRange'] = 'Количество месяцев'; localizedText['settings.info.monthRange'] = 'количество выводимых месящев записей календаря'; localizedText['settings.name.includeTodos'] = 'Показывать Пямятки'; -- 2.39.2