From cee4e6b6e7761bdb9289bac58861e6f759b04ab2 Mon Sep 17 00:00:00 2001 From: kakkokari-gtyih Date: Sun, 24 Dec 2023 14:47:17 +0900 Subject: [PATCH] (add) i18n members credit --- .gitignore | 3 ++ assets/data/team-members.ts | 5 ++ components/about-us/TeamMember.vue | 4 +- locales/ja-JP.yml | 6 +++ nuxt.config.ts | 7 ++- pages/about-us/team.vue | 42 +++++++++++++-- scripts/fetch-crowdin.ts | 85 ++++++++++++++++++++++++++++++ types/others.ts | 3 ++ 8 files changed, 148 insertions(+), 7 deletions(-) create mode 100644 scripts/fetch-crowdin.ts create mode 100644 types/others.ts diff --git a/.gitignore b/.gitignore index e3845696..4dc7e403 100644 --- a/.gitignore +++ b/.gitignore @@ -25,3 +25,6 @@ logs # Locale build outputs locales_dist + +# Crowdin Members Result +assets/data/i18n-members.ts diff --git a/assets/data/team-members.ts b/assets/data/team-members.ts index f6c3f677..4c01f344 100644 --- a/assets/data/team-members.ts +++ b/assets/data/team-members.ts @@ -20,6 +20,11 @@ export type MiHubMember = { type: 'website'; href: string; })[]; +} | { + id: 'crowdin'; + username: string; + name?: string; + avatar?: string; }; /** 現行のコアチームメンバー */ diff --git a/components/about-us/TeamMember.vue b/components/about-us/TeamMember.vue index 6d0c3b65..6a072f8a 100644 --- a/components/about-us/TeamMember.vue +++ b/components/about-us/TeamMember.vue @@ -1,7 +1,7 @@