Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion client/modules/IDE/components/Banner.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ import { CrossIcon } from '../../../common/icons';

const Banner = ({ onClose }) => {
// URL can be updated depending on the opportunity or announcement.
const bannerURL = 'https://processingfoundation.org/donate';
const bannerURL = 'https://github.com/processing/p5.js/issues/8870';

// currently holds donation copy, will switch back when temp maintenance is done
const bannerCopy = (
Expand Down
6 changes: 3 additions & 3 deletions client/modules/IDE/pages/IDEView.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ const IDEView = () => {
const [sidebarSize, setSidebarSize] = useState(160);
const [isOverlayVisible, setIsOverlayVisible] = useState(false);
const [MaxSize, setMaxSize] = useState(window.innerWidth);
const [displayBanner, setDisplayBanner] = useState(false); // set to true if in use
const [displayBanner, setDisplayBanner] = useState(true); // set to true if in use

const cmRef = useRef({});

Expand Down Expand Up @@ -216,12 +216,12 @@ const IDEView = () => {
const lastClosedAt = stored ? Number(stored) : null;

if (!lastClosedAt) {
setDisplayBanner(false); // set to true if in use
setDisplayBanner(true); // set to true if in use
return;
}

if (minutesSince(lastClosedAt) >= BANNER_COOLDOWN_MINUTES) {
setDisplayBanner(false); // set to true if in use
setDisplayBanner(true); // set to true if in use
} else {
setDisplayBanner(false);
}
Expand Down
2 changes: 1 addition & 1 deletion translations/locales/en-US/translations.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
}
},
"Banner": {
"Copy": "<bold>Donate Today!</bold> Support p5.js and the Processing Foundation."
"Copy": "<bold>p5.js v2.0 will become the default editor version this August</bold>! Check out the timeline and ask questions in the linked issue!"
},
"CodemirrorFindAndReplace": {
"ToggleReplace": "Toggle Replace",
Expand Down
2 changes: 1 addition & 1 deletion translations/locales/es-419/translations.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
}
},
"Banner": {
"Copy": "<bold>Donate Today!</bold> Support p5.js and the Processing Foundation."
"Copy": "<bold>p5.js v2.0 will become the default editor version this August</bold>! Check out the timeline and ask questions in the linked issue!"
},
"CodemirrorFindAndReplace": {
"ToggleReplace": "Alternar reemplazar",
Expand Down
2 changes: 1 addition & 1 deletion translations/locales/fr-CA/translations.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
}
},
"Banner": {
"Copy": "<bold>Donate Today!</bold> Support p5.js and the Processing Foundation."
"Copy": "<bold>p5.js v2.0 will become the default editor version this August</bold>! Check out the timeline and ask questions in the linked issue!"
},
"CodemirrorFindAndReplace": {
"ToggleReplace": "Activer/désactiver le remplacement",
Expand Down
2 changes: 1 addition & 1 deletion translations/locales/hi/translations.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
}
},
"Banner": {
"Copy": "<bold>Donate Today!</bold> Support p5.js and the Processing Foundation."
"Copy": "<bold>p5.js v2.0 will become the default editor version this August</bold>! Check out the timeline and ask questions in the linked issue!"
},
"CodemirrorFindAndReplace": {
"ToggleReplace": "टॉगल बदली करें",
Expand Down
2 changes: 1 addition & 1 deletion translations/locales/it/translations.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
}
},
"Banner": {
"Copy": "<bold>Donate Today!</bold> Support p5.js and the Processing Foundation."
"Copy": "<bold>p5.js v2.0 will become the default editor version this August</bold>! Check out the timeline and ask questions in the linked issue!"
},
"CodemirrorFindAndReplace": {
"ToggleReplace": "Attiva/disattiva Sostituzione",
Expand Down
2 changes: 1 addition & 1 deletion translations/locales/ja/translations.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
}
},
"Banner": {
"Copy": "<bold>Donate Today!</bold> Support p5.js and the Processing Foundation."
"Copy": "<bold>p5.js v2.0 will become the default editor version this August</bold>! Check out the timeline and ask questions in the linked issue!"
},
"CodemirrorFindAndReplace": {
"ToggleReplace": "置換の切り替え",
Expand Down
2 changes: 1 addition & 1 deletion translations/locales/ko/translations.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
}
},
"Banner": {
"Copy": "<bold>Donate Today!</bold> Support p5.js and the Processing Foundation."
"Copy": "<bold>p5.js v2.0 will become the default editor version this August</bold>! Check out the timeline and ask questions in the linked issue!"
},
"LoginForm": {
"UsernameOrEmail": "이메일 또는 아이디",
Expand Down
2 changes: 1 addition & 1 deletion translations/locales/pt-BR/translations.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
}
},
"Banner": {
"Copy": "<bold>Donate Today!</bold> Support p5.js and the Processing Foundation."
"Copy": "<bold>p5.js v2.0 will become the default editor version this August</bold>! Check out the timeline and ask questions in the linked issue!"
},
"CodemirrorFindAndReplace": {
"ToggleReplace": "Alternar entre localizar/substituir",
Expand Down
2 changes: 1 addition & 1 deletion translations/locales/sv/translations.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
}
},
"Banner": {
"Copy": "<bold>Donate Today!</bold> Support p5.js and the Processing Foundation."
"Copy": "<bold>p5.js v2.0 will become the default editor version this August</bold>! Check out the timeline and ask questions in the linked issue!"
},
"CodemirrorFindAndReplace": {
"ToggleReplace": "Växla ersätt",
Expand Down
2 changes: 1 addition & 1 deletion translations/locales/tr/translations.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
}
},
"Banner": {
"Copy": "<bold>Donate Today!</bold> Support p5.js and the Processing Foundation."
"Copy": "<bold>p5.js v2.0 will become the default editor version this August</bold>! Check out the timeline and ask questions in the linked issue!"
},
"CodemirrorFindAndReplace": {
"ToggleReplace": "Değiştirme Aç/Kapa",
Expand Down
2 changes: 1 addition & 1 deletion translations/locales/uk-UA/translations.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
}
},
"Banner": {
"Copy": "<bold>Donate Today!</bold> Support p5.js and the Processing Foundation."
"Copy": "<bold>p5.js v2.0 will become the default editor version this August</bold>! Check out the timeline and ask questions in the linked issue!"
},
"CodemirrorFindAndReplace": {
"ToggleReplace": "Увімкнути заміну",
Expand Down
2 changes: 1 addition & 1 deletion translations/locales/ur/translations.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
}
},
"Banner": {
"Copy": "<bold>Donate Today!</bold> Support p5.js and the Processing Foundation."
"Copy": "<bold>p5.js v2.0 will become the default editor version this August</bold>! Check out the timeline and ask questions in the linked issue!"
},
"CodemirrorFindAndReplace": {
"ToggleReplace": "تبدیل کرنے کو ٹوگل کریں۔",
Expand Down
2 changes: 1 addition & 1 deletion translations/locales/zh-CN/translations.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
}
},
"Banner": {
"Copy": "<bold>Donate Today!</bold> Support p5.js and the Processing Foundation."
"Copy": "<bold>p5.js v2.0 will become the default editor version this August</bold>! Check out the timeline and ask questions in the linked issue!"
},
"CodemirrorFindAndReplace": {
"ToggleReplace": "开关替换选项",
Expand Down
2 changes: 1 addition & 1 deletion translations/locales/zh-TW/translations.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
}
},
"Banner": {
"Copy": "<bold>Donate Today!</bold> Support p5.js and the Processing Foundation."
"Copy": "<bold>p5.js v2.0 will become the default editor version this August</bold>! Check out the timeline and ask questions in the linked issue!"
},
"CodemirrorFindAndReplace": {
"ToggleReplace": "切換取代",
Expand Down
Loading