Skip to content

Commit 6bd68c6

Browse files
committed
feat(ext/discor): update content
1 parent 9f0075d commit 6bd68c6

File tree

2 files changed

+12
-81
lines changed

2 files changed

+12
-81
lines changed

i18n/ext/discord.i18n.js

+9-67
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { genI18nMessages } from '~/utils/i18n.utils'
22

33
export default genI18nMessages({
44
'en-us': {
5-
title: 'PyCon TW 2023 Discord Guideline',
5+
title: 'PyCon TW 2024 Discord Guideline',
66
invalidAttendee:
77
'The token within the link is invalid. Please contact staff for further help.',
88
registration: {
@@ -12,7 +12,7 @@ export default genI18nMessages({
1212
'follow {setup} and setup your Discord first.{br}' +
1313
'{br}' +
1414
'After registration, a few new channels should show up in the left navigation bar, ' +
15-
'the category name is PYCON TW 2023 .{br}' +
15+
'the category name is PYCON TW 2024 .{br}' +
1616
'You may also raise an issue by clicking any {manager} member ' +
1717
'in member list on the right side and directly message one of them, ' +
1818
'or please send a message to {general} channel and mention {mentionManager}.',
@@ -35,37 +35,7 @@ export default genI18nMessages({
3535
'Any discussion about Talk can be done here.',
3636
],
3737
},
38-
39-
roleListHeader: 'Roles list',
40-
roleListDescription:
41-
'Users can be assigned several different roles, each role would have their own permission to ' +
42-
'enter some private channel.',
43-
roleList: [
44-
{
45-
name: 'discord manager',
46-
description: 'Target: Discoard managers',
47-
},
48-
{
49-
name: '2023-session-chair',
50-
description:
51-
'Target: PyCon TW 2023 session chairs and assistant chairs',
52-
},
53-
{
54-
name: '2023-staff',
55-
description: 'Target: PyCon TW 2023 Staff',
56-
},
57-
{
58-
name: '2023-speaker',
59-
description: 'Target: PyCon TW 2023 speakers',
60-
},
61-
{
62-
name: '2023-attendee',
63-
description:
64-
'Target: Attendee that who is neither staff nor speaker.',
65-
},
66-
],
67-
channelListHeader: 'PyCon TW 2023 Channels list',
68-
role: 'Roles:',
38+
channelListHeader: 'PyCon TW 2024 Channels list',
6939
channelGroups: [
7040
{
7141
type: 'Code of Conduct',
@@ -77,7 +47,7 @@ export default genI18nMessages({
7747
'The conference organizers have the power to take appropriate actions to redirect the behavior ' +
7848
'of those who violate the Code of Conduct. Violators may be forced to leave the conference ' +
7949
'without a refund at the sole discretion of the organizers.{br}{br}' +
80-
'This Code of Conduct is approved by the organizers of PyCon TW 2023 and the administrators of this server.',
50+
'This Code of Conduct is approved by the organizers of PyCon TW 2024 and the administrators of this server.',
8151
},
8252
],
8353
},
@@ -133,7 +103,7 @@ export default genI18nMessages({
133103
},
134104
],
135105
og: {
136-
title: 'PyCon TW 2023 Discord 指南',
106+
title: 'PyCon TW 2024 Discord 指南',
137107
description:
138108
'如果尚未安裝 Discord 並加入 Python Taiwan 的伺服器,請先閱讀 設定 Discord 與加入 Python Taiwan 伺服器',
139109
},
@@ -145,7 +115,7 @@ export default genI18nMessages({
145115
registration: {
146116
title: '1. 註冊',
147117
descriptions: [
148-
'註冊成功後,您應該可以看到大會相關頻道出現於左側頻道列表,類別名稱為 PYCON TW 2023{br}。' +
118+
'註冊成功後,您應該可以看到大會相關頻道出現於左側頻道列表,類別名稱為 PYCON TW 2024{br}。' +
149119
'如果您持續無法看到大會相關頻道,請點選右方成員清單中身份組為 {manager} 的成員並直接傳訊息給他們,' +
150120
'或是將您的問題在 {general} 頻道中提出並 mention {mentionManager}。',
151121
],
@@ -165,35 +135,7 @@ export default genI18nMessages({
165135
'各軌議程相關資訊頻道(共筆、slido),以及議程相關的討論也會在此進行。{br}',
166136
],
167137
},
168-
169-
roleListHeader: '身份組清單',
170-
roleListDescription:
171-
'以下是 PyCon TW 2023 相關的 Discord 身份組。您可以點選使用者的大頭貼以確認該位使用者的身份。' +
172-
'若您認為您沒有獲得相對應的身份組,請與我們聯繫。',
173-
roleList: [
174-
{
175-
name: 'discord manager',
176-
description: '對象:Discord 管理員',
177-
},
178-
{
179-
name: '2023-session-chair',
180-
description: '對象:PyCon TW 2023 的主持人',
181-
},
182-
{
183-
name: '2023-staff',
184-
description: '對象:PyCon TW 2023 的志工',
185-
},
186-
{
187-
name: '2023-speaker',
188-
description: '對象:PyCon TW 2023 的講者',
189-
},
190-
{
191-
name: '2023-attendee',
192-
description: '對象:PyCon TW 2023 的會眾',
193-
},
194-
],
195138
channelListHeader: '頻道清單',
196-
role: '身份組:',
197139
channelGroups: [
198140
{
199141
type: '行為準則',
@@ -202,9 +144,9 @@ export default genI18nMessages({
202144
tag: 'rules',
203145
description:
204146
'伺服器成員皆應遵守的行為準則,在您開始使用前請詳加閱讀。' +
205-
'PyCon TW 2023 籌備團隊和伺服器管理者有權調整任何違反此準則的行為。' +
147+
'PyCon TW 2024 籌備團隊和伺服器管理者有權調整任何違反此準則的行為。' +
206148
'僅需根據籌備團隊的裁決,違反準則者可能必須離開會場,並不得要求退費。' +
207-
'本行為準則由 PyCon TW 2023 籌備團隊和伺服器管理者認可執行。',
149+
'本行為準則由 PyCon TW 2024 籌備團隊和伺服器管理者認可執行。',
208150
},
209151
],
210152
},
@@ -258,7 +200,7 @@ export default genI18nMessages({
258200
},
259201
],
260202
og: {
261-
title: 'PyCon TW 2023 Discord 指南',
203+
title: 'PyCon TW 2024 Discord 指南',
262204
description:
263205
'如果尚未安裝 Discord 並加入 Python Taiwan 的伺服器,請先閱讀 設定 Discord 與加入 Python Taiwan 伺服器',
264206
},

pages/ext/discord.vue

+3-14
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
</template>
2424
<template #br><br /></template>
2525
<template #info>
26-
<span class="category">PYCON TW 2023</span>
26+
<span class="category">PYCON TW 2024</span>
2727
</template>
2828
<template #registrationDesk>
2929
<span class="channel">⚠|registration-desk</span>
@@ -76,7 +76,7 @@
7676
<ul>
7777
<li
7878
v-for="(channel, j) in [
79-
'📝|r0-track',
79+
'📝|psf-hall',
8080
'📝|r1-track',
8181
'📝|r2-track',
8282
'📝|r3-track',
@@ -92,22 +92,11 @@
9292
<span class="channel">📝|program-keynote</span>
9393
</template>
9494
<template #tracks>
95-
<span class="category">PYCON TW 2023</span>
95+
<span class="category">PYCON TW 2024</span>
9696
</template>
9797
</i18n>
9898
</div>
9999

100-
<div class="section">
101-
<core-h1 :title="$t('roleListHeader')"></core-h1>
102-
<p class="paragraphContent">
103-
{{ $t('roleListDescription') }}
104-
</p>
105-
<div v-for="role in $t('roleList')" :key="role.name">
106-
<p class="paragraphTitle">{{ role.name }}</p>
107-
<p class="paragraphContent">{{ role.description }}</p>
108-
</div>
109-
</div>
110-
111100
<div class="section">
112101
<core-h1 :title="$t('channelListHeader')"></core-h1>
113102
<div

0 commit comments

Comments
 (0)