Skip to content

Commit a8638d2

Browse files
committed
Fix inaccurate alt text
1 parent a813421 commit a8638d2

File tree

3 files changed

+12
-2
lines changed

3 files changed

+12
-2
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -156,6 +156,7 @@ English and Hungarian translations have been included, so no translators will be
156156
- 🇲🇾 Malay: [Nurul Azeera Hidayah Muhammad Nur Hidayat Yasuyoshi (MNH48)](https://crowdin.com/profile/mnh48)
157157
- Mongolian: [MerlinsBeard](https://crowdin.com/profile/MerlinsBeard)
158158
- 🇳🇴 Norwegian
159+
- [Hvalomi](https://crowdin.com/profile/hvalomi)
159160
- [Ivy Wilson](https://crowdin.com/profile/zach.lawnmower)
160161
- [Joakim Ødegaard](https://crowdin.com/profile/joakim.od)
161162
- [Phillip Rødseth](https://crowdin.com/profile/philliphatrod)

public/locales/crowdin.json

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -676,6 +676,11 @@
676676
"username": "fangcognosphere",
677677
"avatarUrl": "https://crowdin-static.cf-downloads.crowdin.com/avatar/17285274/medium/3c0db78106fe6086b8fe8cc923406276.png",
678678
"fullName": "Nguyễn Hoàng Long"
679+
},
680+
"17322000": {
681+
"username": "hvalomi",
682+
"avatarUrl": "https://crowdin-static.cf-downloads.crowdin.com/avatar/17322000/medium/b117bdf14a784a7620ff69aeb53036de.jpeg",
683+
"fullName": "Hvalomi"
679684
}
680685
},
681686
"languages": {
@@ -970,11 +975,12 @@
970975
"16466619",
971976
"16611703",
972977
"16773913",
978+
"17322000",
973979
"16840813"
974980
],
975981
"progress": {
976982
"approval": 90,
977-
"translation": 90
983+
"translation": 91
978984
}
979985
},
980986
"nl": {

src/pages/_app.tsx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import { MantineProvider } from '@mantine/core';
22
import { Notifications } from '@mantine/notifications';
33
import { RouterTransition } from 'components/app/RouterTransition';
4+
import moment from 'moment-timezone';
45
import { appWithTranslation, useTranslation } from 'next-i18next';
56
import { DefaultSeo } from 'next-seo';
67
import { AppComponent } from 'next/dist/shared/lib/router/router';
@@ -15,6 +16,8 @@ import '../app.scss';
1516
import '../dayjs';
1617
import '../moment-locales';
1718

19+
const appCreationTimestamp = 1626299131;
20+
1821
const App: AppComponent = ({ Component, pageProps }) => {
1922
const { asPath, defaultLocale, locale, locales } = useRouter();
2023

@@ -67,7 +70,7 @@ const App: AppComponent = ({ Component, pageProps }) => {
6770
url: assembleSeoUrl(asPath),
6871
images: [
6972
{
70-
alt: '<t:1626299131:R> ⬇ 5 hours ago',
73+
alt: `<t:${appCreationTimestamp}:R> ⬇ ${moment.unix(appCreationTimestamp).locale(momentLocale).fromNow()}`,
7174
url: assembleSeoUrl(`/social/preview/${momentLocale}.png`),
7275
width: 1200,
7376
height: 630,

0 commit comments

Comments
 (0)