From 8dde3b2827ead3a66ea98d04aea8db97e0f45296 Mon Sep 17 00:00:00 2001 From: Norbert Tretkowski Date: Sun, 5 Nov 2023 10:55:58 +0100 Subject: [PATCH] =?UTF-8?q?Branding=20und=20=C3=9Cbersetzung?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config.json | 6 +++--- index.html | 6 +++--- mastowall-favicon.png | Bin 8627 -> 3556 bytes script.js | 14 +++++++------- 4 files changed, 13 insertions(+), 13 deletions(-) diff --git a/config.json b/config.json index 45ec745..7c8a82d 100644 --- a/config.json +++ b/config.json @@ -1,6 +1,6 @@ { - "navbarBrandText": "Mastowall 1.1 - written by ChatGPT4 - Prompting: Ralf Stockmann (rstockm)", - "defaultServerUrl": "https://mastodon.social", - "navbarColor": "#333355", + "navbarBrandText": "Netzbegrünung Mastowall", + "defaultServerUrl": "https://gruene.social", + "navbarColor": "#008939", "includeReplies": true } diff --git a/index.html b/index.html index 9475c6d..b6488d7 100644 --- a/index.html +++ b/index.html @@ -3,7 +3,7 @@ - Mastowall 1.1 + Netzbegrünung Mastowall @@ -52,8 +52,8 @@ diff --git a/mastowall-favicon.png b/mastowall-favicon.png index 5d1e3e7473f2eee20b291562cb85a76a83789bc5..88f9316dc1227dcec83e634f38f2040eb4e43f98 100644 GIT binary patch delta 3555 zcmV<94IJ{bL*yHfBYyx1a7bBm0005<0005<0W$zh3IG5NmPtfGRCt{2olk5O*B!?n zRh1k9wWCB$WezOmKn^Q#C8$(#z)+E;Cyb)pAT{cxn<%NJHc}-j#YnA`h*W}9VYuN0 zPElLzQ?fxN>jP<3kg~S+00#m-1T|4m?T{Rri>vSWO+2jE_J6#8GjHa7Khlan@~&rh zKK}Xl-uu1Z+qAT_BnYVr-{YMmRf0m3O7VT(&b4Vo^+6%TaOw+s|D8~i4-@XnM=u>A z#6s%-I<01R!SH)kmLPNJMpPe`awa0CMa93j6?}f=SdsoW#99Pmw1~g@Y8N^5BxNQU*d|@EidCWI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5fc!gRV~PtIv13D`O)E1#rXYq8el4wd+Vf)FOLhK*3hOHY$K77 z)U`*3$?}sgQETX%Yy4kUT?$M28RAZ@-VG0^7zXB4$*@)@8{>nb!BU`iW^!4DG(g=y zKbOdTy{V$YUBxR*DBg>EHz?Hip5ksu$L^2N`n5IYYf*O3G2LQz?#$N_sz5V%aE;Ds zIhux!VdRfVTTAk5vFSfaVN3X*(gxp_+@xJEN=}g%gFuMSvS^(t_lqy$umwDn)m(1~#mV+V2jkHc%S6{_{T#AR6 zH<`nV+ACf<^GEgs>KZuB)IES~9JaAiQ}slG6f7dpVEO954w3-ih!@442j&QwK%YMd{fj*P3R9 z;BH0GOAzuQp9}>iM>E;OZ*jJlJl8o^i55oXLST8tfhp1yBmkn}As$%Pe+!Nj0p)=L i@q->y8S9{yF9=9>XqPc~B$t250O@ELs@JMIME?&*{7>)z diff --git a/script.js b/script.js index 6b5c846..566c234 100644 --- a/script.js +++ b/script.js @@ -16,20 +16,20 @@ const secondsAgo = date => Math.floor((new Date() - date) / 1000); const timeAgo = function(seconds) { // An array of intervals for years, months, days, hours, and minutes. const intervals = [ - { limit: 31536000, text: 'years' }, - { limit: 2592000, text: 'months' }, - { limit: 86400, text: 'days' }, - { limit: 3600, text: 'hours' }, - { limit: 60, text: 'minutes' } + { limit: 31536000, text: 'Jahren' }, + { limit: 2592000, text: 'Monaten' }, + { limit: 86400, text: 'Tagen' }, + { limit: 3600, text: 'Stunden' }, + { limit: 60, text: 'Minuten' } ]; // Loop through the intervals to find which one is the best fit. for (let interval of intervals) { if (seconds >= interval.limit) { - return Math.floor(seconds / interval.limit) + ` ${interval.text} ago`; + return "Vor " + Math.floor(seconds / interval.limit) + ` ${interval.text}`; } } - return Math.floor(seconds) + " seconds ago"; + return "Vor " + Math.floor(seconds) + " Sekunden"; }; let includeReplies;