From 29928887e733f3bc2c2baaf06dafd495a006753b Mon Sep 17 00:00:00 2001 From: Minteck Date: Fri, 3 Mar 2023 07:04:02 +0100 Subject: Updated 18 files and added 10 files (automated) --- assets/editor/ponytown/step1.png | Bin 0 -> 3093 bytes assets/editor/ponytown/step2.png | Bin 0 -> 7770 bytes assets/editor/ponytown/step2b.png | Bin 0 -> 3098 bytes assets/editor/ponytown/step3.png | Bin 0 -> 2911 bytes assets/editor/ponytown/step4.png | Bin 0 -> 2318 bytes assets/editor/ponytown/step4b.png | Bin 0 -> 33531 bytes assets/editor/ponytown/step5.png | Bin 0 -> 3709 bytes assets/editor/ponytown/step9.png | Bin 0 -> 35735 bytes assets/logo/banner.js | 32 +++++++------------------------- assets/logo/custom.css | 4 ++++ assets/uploads/pt-scootaloo.png | Bin 4147 -> 613 bytes 11 files changed, 11 insertions(+), 25 deletions(-) create mode 100644 assets/editor/ponytown/step1.png create mode 100644 assets/editor/ponytown/step2.png create mode 100644 assets/editor/ponytown/step2b.png create mode 100644 assets/editor/ponytown/step3.png create mode 100644 assets/editor/ponytown/step4.png create mode 100644 assets/editor/ponytown/step4b.png create mode 100644 assets/editor/ponytown/step5.png create mode 100644 assets/editor/ponytown/step9.png (limited to 'assets') diff --git a/assets/editor/ponytown/step1.png b/assets/editor/ponytown/step1.png new file mode 100644 index 0000000..ad99540 Binary files /dev/null and b/assets/editor/ponytown/step1.png differ diff --git a/assets/editor/ponytown/step2.png b/assets/editor/ponytown/step2.png new file mode 100644 index 0000000..baad7c9 Binary files /dev/null and b/assets/editor/ponytown/step2.png differ diff --git a/assets/editor/ponytown/step2b.png b/assets/editor/ponytown/step2b.png new file mode 100644 index 0000000..64d8eca Binary files /dev/null and b/assets/editor/ponytown/step2b.png differ diff --git a/assets/editor/ponytown/step3.png b/assets/editor/ponytown/step3.png new file mode 100644 index 0000000..0daab07 Binary files /dev/null and b/assets/editor/ponytown/step3.png differ diff --git a/assets/editor/ponytown/step4.png b/assets/editor/ponytown/step4.png new file mode 100644 index 0000000..188c4d5 Binary files /dev/null and b/assets/editor/ponytown/step4.png differ diff --git a/assets/editor/ponytown/step4b.png b/assets/editor/ponytown/step4b.png new file mode 100644 index 0000000..341995d Binary files /dev/null and b/assets/editor/ponytown/step4b.png differ diff --git a/assets/editor/ponytown/step5.png b/assets/editor/ponytown/step5.png new file mode 100644 index 0000000..203c3f5 Binary files /dev/null and b/assets/editor/ponytown/step5.png differ diff --git a/assets/editor/ponytown/step9.png b/assets/editor/ponytown/step9.png new file mode 100644 index 0000000..d3134ee Binary files /dev/null and b/assets/editor/ponytown/step9.png differ diff --git a/assets/logo/banner.js b/assets/logo/banner.js index 38a88aa..3f41912 100644 --- a/assets/logo/banner.js +++ b/assets/logo/banner.js @@ -6,11 +6,7 @@ function timeAgo(time) { time = new Date(time).getTime(); } - let periods = ["sec.", "mn.", "hr.", "d.", "wk.", "mo.", "y.", "ages"]; - - if (bannerFrench) { - periods = ["sec.", "min.", "h.", "j.", "sem.", "mois", "an.", "des années"]; - } + let periods = ["sec", "min", "hr", "d", "wk", "mo", "y", "ages"]; let lengths = ["60", "60", "24", "7", "4.35", "12", "100"]; @@ -20,22 +16,12 @@ function timeAgo(time) { let tense; let period; - if (bannerFrench) { - if (difference <= 10 && difference >= 0) { - return "à l'instant"; - } else if (difference > 0) { - tense = "il y a"; - } else { - tense = "dans"; - } + if (difference <= 10 && difference >= 0) { + return "now"; + } else if (difference > 0) { + tense = "ago"; } else { - if (difference <= 10 && difference >= 0) { - return "now"; - } else if (difference > 0) { - tense = "ago"; - } else { - tense = "later"; - } + tense = "later"; } let j; @@ -48,11 +34,7 @@ function timeAgo(time) { period = periods[j]; - if (bannerFrench) { - return `${tense} ${difference} ${period}`; - } else { - return `${difference} ${period} ${tense}`; - } + return `${difference} ${period} ${tense}`; } async function refreshBanner(_, french) { diff --git a/assets/logo/custom.css b/assets/logo/custom.css index 4237274..adde95f 100644 --- a/assets/logo/custom.css +++ b/assets/logo/custom.css @@ -1,3 +1,7 @@ +img { + image-rendering: pixelated !important; +} + #admin-page { margin-left: 32px; } diff --git a/assets/uploads/pt-scootaloo.png b/assets/uploads/pt-scootaloo.png index 436d6a3..c1823b8 100644 Binary files a/assets/uploads/pt-scootaloo.png and b/assets/uploads/pt-scootaloo.png differ -- cgit