Skip to content

Commit

Permalink
Merge pull request #130 from CityOfPhiladelphia/main
Browse files Browse the repository at this point in the history
uses pinboard 1.2.11, allows forced message in holiday banner
  • Loading branch information
ajrothwell authored Dec 21, 2023
2 parents 2ef8fd0 + f51dc1a commit 0034431
Show file tree
Hide file tree
Showing 9 changed files with 47 additions and 32 deletions.
68 changes: 38 additions & 30 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"@fortawesome/pro-light-svg-icons": "5.15.4",
"@fortawesome/pro-regular-svg-icons": "5.15.4",
"@fortawesome/pro-solid-svg-icons": "5.15.4",
"@phila/pinboard": "1.2.10",
"@phila/pinboard": "1.2.11",
"bulma": "^0.9.1",
"core-js": "^3.26.1",
"vue": "^2.6.10"
Expand Down
1 change: 1 addition & 0 deletions src/i18n/en-us.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ export default {
holidayClosure: 'This site is currently temporarily closed for ',
futureHolidayClosure: 'This site will by temporarily closed for ',
holidayClosureAllSites: 'Hours may change during the holiday weekend. Contact the site before you go.',
winterHolidayClosureAllSites: "Christmas and New Year's Holidays - Hours may change during the winter holidays. Contact the site before you go.",
futureHolidayClosureAllSites: 'Hours may change during the holiday weekend. Contact the site before you go.',
weatherClosure: 'This site is currently temporarily closed due to weather.',
temporaryClosure: 'This site is currently temporarily closed.',
Expand Down
1 change: 1 addition & 0 deletions src/i18n/es-us.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ export default {
"holidayClosure": "Este sitio está temporalmente cerrado por ",
"futureHolidayClosure": "Este sitio estará temporalmente cerrado por ",
holidayClosureAllSites: 'El horario puede cambiar durante el fin de semana festivo. Póngase en contacto con el sitio antes de ir.',
winterHolidayClosureAllSites: "Christmas and New Year's Holidays - Los horarios pueden cambiar durante las vacaciones de invierno. Póngase en contacto con el sitio antes de ir.",
futureHolidayClosureAllSites: 'El horario puede cambiar durante el fin de semana festivo. Póngase en contacto con el sitio antes de ir.',
"weatherClosure": "Este sitio está temporalmente cerrado debido al clima.",
"temporaryClosure": "Este sitio está temporalmente cerrado.",
Expand Down
1 change: 1 addition & 0 deletions src/i18n/fr-fr.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ export default {
"holidayClosure": "À l'heure actuelle, ce site est fermé provisoirement pour ",
"futureHolidayClosure": "Ce site sera fermé provisoirement pour ",
holidayClosureAllSites: 'Les horaires peuvent changer pendant le week-end de vacances. Contactez le site avant de partir.',
winterHolidayClosureAllSites: "Christmas and New Year's Holidays - Les horaires peuvent changer pendant les vacances d'hiver. Contactez le site avant de partir.",
futureHolidayClosureAllSites: 'Les horaires peuvent changer pendant le week-end de vacances. Contactez le site avant de partir.',
"weatherClosure": "À l'heure actuelle, ce site est fermé provisoirement en raison des conditions météorologiques.",
"temporaryClosure": "À l'heure actuelle, ce site est fermé provisoirement.",
Expand Down
1 change: 1 addition & 0 deletions src/i18n/ru-ru.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ export default {
"holidayClosure": "Площадка временно недоступна по следующей причине: ",
"futureHolidayClosure": "Площадка будет временно недоступна по следующей причине: ",
holidayClosureAllSites: 'В праздничные выходные часы могут измениться. Свяжитесь с сайтом перед отъездом.',
winterHolidayClosureAllSites: "Christmas and New Year's Holidays - Во время зимних каникул часы работы могут измениться. Перед отъездом свяжитесь с сайтом.",
futureHolidayClosureAllSites: 'В праздничные выходные часы могут измениться. Свяжитесь с сайтом перед отъездом.',
"weatherClosure": "Площадка временно не работает из-за погодных условий.",
"temporaryClosure": "Площадка временно не работает.",
Expand Down
1 change: 1 addition & 0 deletions src/i18n/vi-vn.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ export default {
"holidayClosure": "Địa điểm này hiện đang tạm đóng vì ",
"futureHolidayClosure": "Địa điểm này sẽ tạm đóng vì ",
holidayClosureAllSites: 'Giờ có thể thay đổi trong kỳ nghỉ cuối tuần. Liên hệ với trang web trước khi bạn đi.',
winterHolidayClosureAllSites: "Christmas and New Year's Holidays - Giờ có thể thay đổi trong kỳ nghỉ đông. Liên hệ với trang web trước khi bạn đi.",
futureHolidayClosureAllSites: 'Giờ có thể thay đổi trong kỳ nghỉ cuối tuần. Liên hệ với trang web trước khi bạn đi.',
"weatherClosure": "Địa điểm này hiện đang tạm đóng vì thời tiết xấu.",
"temporaryClosure": "Địa điểm này hiện đang tạm đóng.",
Expand Down
1 change: 1 addition & 0 deletions src/i18n/zh-cn.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ export default {
"holidayClosure": "出于以下原因本地点目前暂时关闭 ",
"futureHolidayClosure": "出于以下原因本地点将暂时关闭 ",
holidayClosureAllSites: '假日周末营业时间可能会发生变化。出发前请联系该网站。',
winterHolidayClosureAllSites: "Christmas and New Year's Holidays - 寒假期间营业时间可能会有所变化。出发前请联系该网站。",
futureHolidayClosureAllSites: '假日周末营业时间可能会发生变化。出发前请联系该网站。',
"weatherClosure": "出于天气原因本地点目前暂时关闭。",
"temporaryClosure": "本地点目前暂时关闭",
Expand Down
3 changes: 2 additions & 1 deletion src/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -421,7 +421,8 @@ pinboard({
// },
},
holidays: {
forceBanner: false,
forceBanner: true,
forceBannerMessage: 'winterHolidayClosureAllSites',
automaticBanner: false,
// current: true,
// holidayName: 'holidayLaborDay',
Expand Down

0 comments on commit 0034431

Please sign in to comment.