Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(ext/discord): update content #585

Merged
merged 1 commit into from
Sep 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
76 changes: 9 additions & 67 deletions i18n/ext/discord.i18n.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { genI18nMessages } from '~/utils/i18n.utils'

export default genI18nMessages({
'en-us': {
title: 'PyCon TW 2023 Discord Guideline',
title: 'PyCon TW 2024 Discord Guideline',
invalidAttendee:
'The token within the link is invalid. Please contact staff for further help.',
registration: {
Expand All @@ -12,7 +12,7 @@ export default genI18nMessages({
'follow {setup} and setup your Discord first.{br}' +
'{br}' +
'After registration, a few new channels should show up in the left navigation bar, ' +
'the category name is PYCON TW 2023 .{br}' +
'the category name is PYCON TW 2024 .{br}' +
'You may also raise an issue by clicking any {manager} member ' +
'in member list on the right side and directly message one of them, ' +
'or please send a message to {general} channel and mention {mentionManager}.',
Expand All @@ -35,37 +35,7 @@ export default genI18nMessages({
'Any discussion about Talk can be done here.',
],
},

roleListHeader: 'Roles list',
roleListDescription:
'Users can be assigned several different roles, each role would have their own permission to ' +
'enter some private channel.',
roleList: [
{
name: 'discord manager',
description: 'Target: Discoard managers',
},
{
name: '2023-session-chair',
description:
'Target: PyCon TW 2023 session chairs and assistant chairs',
},
{
name: '2023-staff',
description: 'Target: PyCon TW 2023 Staff',
},
{
name: '2023-speaker',
description: 'Target: PyCon TW 2023 speakers',
},
{
name: '2023-attendee',
description:
'Target: Attendee that who is neither staff nor speaker.',
},
],
channelListHeader: 'PyCon TW 2023 Channels list',
role: 'Roles:',
channelListHeader: 'PyCon TW 2024 Channels list',
channelGroups: [
{
type: 'Code of Conduct',
Expand All @@ -77,7 +47,7 @@ export default genI18nMessages({
'The conference organizers have the power to take appropriate actions to redirect the behavior ' +
'of those who violate the Code of Conduct. Violators may be forced to leave the conference ' +
'without a refund at the sole discretion of the organizers.{br}{br}' +
'This Code of Conduct is approved by the organizers of PyCon TW 2023 and the administrators of this server.',
'This Code of Conduct is approved by the organizers of PyCon TW 2024 and the administrators of this server.',
},
],
},
Expand Down Expand Up @@ -133,7 +103,7 @@ export default genI18nMessages({
},
],
og: {
title: 'PyCon TW 2023 Discord 指南',
title: 'PyCon TW 2024 Discord 指南',
description:
'如果尚未安裝 Discord 並加入 Python Taiwan 的伺服器,請先閱讀 設定 Discord 與加入 Python Taiwan 伺服器',
},
Expand All @@ -145,7 +115,7 @@ export default genI18nMessages({
registration: {
title: '1. 註冊',
descriptions: [
'註冊成功後,您應該可以看到大會相關頻道出現於左側頻道列表,類別名稱為 PYCON TW 2023{br}。' +
'註冊成功後,您應該可以看到大會相關頻道出現於左側頻道列表,類別名稱為 PYCON TW 2024{br}。' +
'如果您持續無法看到大會相關頻道,請點選右方成員清單中身份組為 {manager} 的成員並直接傳訊息給他們,' +
'或是將您的問題在 {general} 頻道中提出並 mention {mentionManager}。',
],
Expand All @@ -165,35 +135,7 @@ export default genI18nMessages({
'各軌議程相關資訊頻道(共筆、slido),以及議程相關的討論也會在此進行。{br}',
],
},

roleListHeader: '身份組清單',
roleListDescription:
'以下是 PyCon TW 2023 相關的 Discord 身份組。您可以點選使用者的大頭貼以確認該位使用者的身份。' +
'若您認為您沒有獲得相對應的身份組,請與我們聯繫。',
roleList: [
{
name: 'discord manager',
description: '對象:Discord 管理員',
},
{
name: '2023-session-chair',
description: '對象:PyCon TW 2023 的主持人',
},
{
name: '2023-staff',
description: '對象:PyCon TW 2023 的志工',
},
{
name: '2023-speaker',
description: '對象:PyCon TW 2023 的講者',
},
{
name: '2023-attendee',
description: '對象:PyCon TW 2023 的會眾',
},
],
channelListHeader: '頻道清單',
role: '身份組:',
channelGroups: [
{
type: '行為準則',
Expand All @@ -202,9 +144,9 @@ export default genI18nMessages({
tag: 'rules',
description:
'伺服器成員皆應遵守的行為準則,在您開始使用前請詳加閱讀。' +
'PyCon TW 2023 籌備團隊和伺服器管理者有權調整任何違反此準則的行為。' +
'PyCon TW 2024 籌備團隊和伺服器管理者有權調整任何違反此準則的行為。' +
'僅需根據籌備團隊的裁決,違反準則者可能必須離開會場,並不得要求退費。' +
'本行為準則由 PyCon TW 2023 籌備團隊和伺服器管理者認可執行。',
'本行為準則由 PyCon TW 2024 籌備團隊和伺服器管理者認可執行。',
},
],
},
Expand Down Expand Up @@ -258,7 +200,7 @@ export default genI18nMessages({
},
],
og: {
title: 'PyCon TW 2023 Discord 指南',
title: 'PyCon TW 2024 Discord 指南',
description:
'如果尚未安裝 Discord 並加入 Python Taiwan 的伺服器,請先閱讀 設定 Discord 與加入 Python Taiwan 伺服器',
},
Expand Down
17 changes: 3 additions & 14 deletions pages/ext/discord.vue
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
</template>
<template #br><br /></template>
<template #info>
<span class="category">PYCON TW 2023</span>
<span class="category">PYCON TW 2024</span>
</template>
<template #registrationDesk>
<span class="channel">⚠|registration-desk</span>
Expand Down Expand Up @@ -76,7 +76,7 @@
<ul>
<li
v-for="(channel, j) in [
'📝|r0-track',
'📝|psf-hall',
'📝|r1-track',
'📝|r2-track',
'📝|r3-track',
Expand All @@ -92,22 +92,11 @@
<span class="channel">📝|program-keynote</span>
</template>
<template #tracks>
<span class="category">PYCON TW 2023</span>
<span class="category">PYCON TW 2024</span>
</template>
</i18n>
</div>

<div class="section">
<core-h1 :title="$t('roleListHeader')"></core-h1>
<p class="paragraphContent">
{{ $t('roleListDescription') }}
</p>
<div v-for="role in $t('roleList')" :key="role.name">
<p class="paragraphTitle">{{ role.name }}</p>
<p class="paragraphContent">{{ role.description }}</p>
</div>
</div>

<div class="section">
<core-h1 :title="$t('channelListHeader')"></core-h1>
<div
Expand Down
Loading