mirror of
https://github.com/Sendouc/sendou.ink.git
synced 2026-07-30 15:53:59 -05:00
parent
223eca0829
commit
fe67eb8df7
|
|
@ -45,7 +45,7 @@ export const languages = [
|
|||
code: "zh",
|
||||
name: "中文",
|
||||
},
|
||||
];
|
||||
] as const;
|
||||
|
||||
export const config = {
|
||||
supportedLngs: languages.map((lang) => lang.code),
|
||||
|
|
|
|||
|
|
@ -2,6 +2,7 @@ import type { MetaFunction } from "@remix-run/node";
|
|||
import { Trans, useTranslation } from "react-i18next";
|
||||
import { Main } from "~/components/Main";
|
||||
import { useSetTitle } from "~/hooks/useSetTitle";
|
||||
import { languages } from "~/modules/i18n";
|
||||
import { makeTitle } from "~/utils/strings";
|
||||
import {
|
||||
BORZOIC_TWITTER,
|
||||
|
|
@ -21,6 +22,40 @@ export const handle = {
|
|||
i18n: "contributions",
|
||||
};
|
||||
|
||||
const TRANSLATORS: Array<{
|
||||
translators: Array<string>;
|
||||
language: typeof languages[number]["code"];
|
||||
}> = [
|
||||
{
|
||||
translators: ["Frederik"],
|
||||
language: "da",
|
||||
},
|
||||
{
|
||||
translators: ["NoAim™bUrn", "Alice"],
|
||||
language: "de",
|
||||
},
|
||||
{
|
||||
translators: ["Hachi"],
|
||||
language: "es",
|
||||
},
|
||||
{
|
||||
translators: ["funyaaa"],
|
||||
language: "ja",
|
||||
},
|
||||
{
|
||||
translators: ["niLPotential"],
|
||||
language: "ko",
|
||||
},
|
||||
{
|
||||
translators: ["Ferrari"],
|
||||
language: "nl",
|
||||
},
|
||||
{
|
||||
translators: ["DoubleCookies", "Yaga"],
|
||||
language: "ru",
|
||||
},
|
||||
];
|
||||
|
||||
export default function ContributionsPage() {
|
||||
const { t } = useTranslation(["common", "contributions"]);
|
||||
useSetTitle(t("common:pages.contributors"));
|
||||
|
|
@ -60,6 +95,12 @@ export default function ContributionsPage() {
|
|||
</a>{" "}
|
||||
- {t("contributions:uberu")}
|
||||
</li>
|
||||
{TRANSLATORS.map(({ translators, language }) => (
|
||||
<li key={language}>
|
||||
{translators.join(", ")} - {t("contributions:translation")} (
|
||||
{languages.find((lang) => lang.code === language)!.name})
|
||||
</li>
|
||||
))}
|
||||
</ul>
|
||||
</Main>
|
||||
);
|
||||
|
|
|
|||
|
|
@ -3,5 +3,6 @@
|
|||
"code": "Several made commits to the code",
|
||||
"lean": "Helped with uncovering Splatoon internals and created the Lanista bot",
|
||||
"borzoic": "Made badges, icons and front page art",
|
||||
"uberu": "Drew mini Judd holding heart emoji"
|
||||
"uberu": "Drew mini Judd holding heart emoji",
|
||||
"translation": "Translation"
|
||||
}
|
||||
|
|
|
|||
|
|
@ -29,9 +29,16 @@
|
|||
|
||||
</details>
|
||||
|
||||
### 🟢 contributions.json
|
||||
### 🟡 contributions.json
|
||||
|
||||
**5/5**
|
||||
**5/6**
|
||||
|
||||
<details>
|
||||
<summary>Missing</summary>
|
||||
|
||||
- translation
|
||||
|
||||
</details>
|
||||
|
||||
### 🟢 faq.json
|
||||
|
||||
|
|
@ -110,9 +117,16 @@
|
|||
|
||||
</details>
|
||||
|
||||
### 🟢 contributions.json
|
||||
### 🟡 contributions.json
|
||||
|
||||
**5/5**
|
||||
**5/6**
|
||||
|
||||
<details>
|
||||
<summary>Missing</summary>
|
||||
|
||||
- translation
|
||||
|
||||
</details>
|
||||
|
||||
### 🟢 faq.json
|
||||
|
||||
|
|
@ -191,9 +205,16 @@
|
|||
|
||||
**36/36**
|
||||
|
||||
### 🟢 contributions.json
|
||||
### 🟡 contributions.json
|
||||
|
||||
**5/5**
|
||||
**5/6**
|
||||
|
||||
<details>
|
||||
<summary>Missing</summary>
|
||||
|
||||
- translation
|
||||
|
||||
</details>
|
||||
|
||||
### 🟢 faq.json
|
||||
|
||||
|
|
@ -247,12 +268,13 @@
|
|||
|
||||
### 🟡 contributions.json
|
||||
|
||||
**4/5**
|
||||
**4/6**
|
||||
|
||||
<details>
|
||||
<summary>Missing</summary>
|
||||
|
||||
- code
|
||||
- translation
|
||||
|
||||
</details>
|
||||
|
||||
|
|
@ -310,9 +332,16 @@
|
|||
|
||||
</details>
|
||||
|
||||
### 🟢 contributions.json
|
||||
### 🟡 contributions.json
|
||||
|
||||
**5/5**
|
||||
**5/6**
|
||||
|
||||
<details>
|
||||
<summary>Missing</summary>
|
||||
|
||||
- translation
|
||||
|
||||
</details>
|
||||
|
||||
### 🟢 faq.json
|
||||
|
||||
|
|
@ -364,9 +393,16 @@
|
|||
|
||||
</details>
|
||||
|
||||
### 🟢 contributions.json
|
||||
### 🟡 contributions.json
|
||||
|
||||
**5/5**
|
||||
**5/6**
|
||||
|
||||
<details>
|
||||
<summary>Missing</summary>
|
||||
|
||||
- translation
|
||||
|
||||
</details>
|
||||
|
||||
### 🟢 faq.json
|
||||
|
||||
|
|
@ -438,9 +474,16 @@
|
|||
|
||||
**36/36**
|
||||
|
||||
### 🟢 contributions.json
|
||||
### 🟡 contributions.json
|
||||
|
||||
**5/5**
|
||||
**5/6**
|
||||
|
||||
<details>
|
||||
<summary>Missing</summary>
|
||||
|
||||
- translation
|
||||
|
||||
</details>
|
||||
|
||||
### 🟢 faq.json
|
||||
|
||||
|
|
@ -492,9 +535,16 @@
|
|||
|
||||
</details>
|
||||
|
||||
### 🟢 contributions.json
|
||||
### 🟡 contributions.json
|
||||
|
||||
**5/5**
|
||||
**5/6**
|
||||
|
||||
<details>
|
||||
<summary>Missing</summary>
|
||||
|
||||
- translation
|
||||
|
||||
</details>
|
||||
|
||||
### 🟢 faq.json
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user