Skip to content

Commit

Permalink
Merge pull request #450 from pycontw/issue446-discord
Browse files Browse the repository at this point in the history
feat-update-discord-to-2023
  • Loading branch information
josix authored Aug 26, 2023
2 parents 559f807 + 6527e72 commit dfc7996
Show file tree
Hide file tree
Showing 2 changed files with 63 additions and 140 deletions.
175 changes: 47 additions & 128 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 APAC Discord Guideline',
title: 'PyCon TW 2023 Discord Guideline',
invalidAttendee:
'The token within the link is invalid. Please contact staff for further help.',
registration: {
Expand All @@ -11,11 +11,8 @@ export default genI18nMessages({
'If you have not installed Discord or joined Python Taiwan Discord server, ' +
'follow {setup} and setup your Discord first.{br}' +
'{br}' +
'Users can find a {registrationDesk} channel under {info} category. ' +
'There is a PyCon TW RegBot in this channel which guides you to ' +
'insert the command {registrationCommand} for registration and assigns you a role.{br}' +
'In order to avoid token leakage, you CANNOT send message to {registrationDesk} channel.',
'After registration, a few new channels should show up in the left navigation bar.{br}' +
'After registration, a few new channels should show up in the left navigation bar, ' +
'the category name is PYCON TW 2023 .{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 @@ -32,36 +29,42 @@ export default genI18nMessages({
joinChannels: {
title: '3. Join session channel',
descriptions: [
'You can find all five channels under {tracks} category:',
'You can find all four channels under {tracks} category:',
'{channels}',
'Please enter to the track you’d like to participate according to the session agenda; ' +
'if said session is a keynote session, please join the discussion by entering {keynote}.',
'Talk related information, including collabwriting, slido for Q&A. ' +
'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. You can click a user's profile to check the roles he/she has. " +
'If you think you are not assigned with a correct role you should get, please contact with us.',
'enter some private channel.',
roleList: [
{
name: '2022-attendee',
name: 'discord manager',
description: 'Target: Discoard managers',
},
{
name: '2023-session-chair',
description:
'Target: Attendee that who is neither staff nor speaker.',
'Target: PyCon TW 2023 session chairs and assistant chairs',
},
{
name: '2022-staff',
description: 'Target: PyCon APAC 2022 Staff',
name: '2023-staff',
description: 'Target: PyCon TW 2023 Staff',
},
{
name: '2022-speaker',
name: '2023-speaker',
description: 'Target: PyCon TW 2023 speakers',
},
{
name: '2023-attendee',
description:
'Target: PyCon APAC 2022 Keynote, Talk, Tutorial speaker. ' +
'Lightning Talk speaker will not have this role.',
'Target: Attendee that who is neither staff nor speaker.',
},
],
channelListHeader: 'PyCon APAC 2022 Channels list',
channelListHeader: 'PyCon TW 2023 Channels list',
role: 'Roles:',
channelGroups: [
{
Expand All @@ -74,21 +77,13 @@ 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 APAC 2022 and the administrators of this server.',
'This Code of Conduct is approved by the organizers of PyCon TW 2023 and the administrators of this server.',
},
],
},
{
type: 'Announcement/Help Desk',
channels: [
{
tag: 'registration-desk',
description:
'The channel for registration. Registration bot will be here to ' +
'guide attendees through their registrations. {br}' +
'All new attendees can see this channel, and will be gone once the attendee ' +
'has successfully registered him/herself.',
},
{
tag: 'announcements',
description:
Expand All @@ -104,21 +99,6 @@ export default genI18nMessages({
{
type: 'Events',
channels: [
{
tag: 'lightning-talk',
description:
'The information about lightning talk will be announced here. ' +
'Nominatee should make a checkin in this channel before their talk.{br}{br}' +
'Application deadline:{br}' +
'9/3 13:00 (GMT+8) for first-day lightning talk{br}' +
'9/4 13:00 (GMT+8) for second-day lightning talk',
},
{
tag: 'open-space',
description:
'Open Space related information. You could share any links, ' +
'photos, videos, they will be kept here even after the conference days.',
},
{
tag: 'booth-game',
description:
Expand All @@ -127,29 +107,6 @@ export default genI18nMessages({
},
],
},
{
type: 'Sessions',
channels: [
{
tag: 'program-keynote',
description:
'Keynote related information, including collabwriting, slido for Q&A, ' +
'the links of YouTube live broadcasting. Any discussion about Keynote speech can be done here.',
},
{
tag: 'program-talk',
description:
'Talk related information, including collabwriting, slido for Q&A, ' +
'the link to gather.town. Any discussion about Talk can be done here.',
},
{
tag: 'program-tutorial',
description:
'Tutorial related information, including collabwriting, slido for Q&A, ' +
'the link to gather.town. Any discussion about Tutorial can be done here.',
},
],
},
],
appendix: 'Appendices',
appendixTitle: 'Setting up Discord',
Expand All @@ -176,26 +133,20 @@ export default genI18nMessages({
},
],
og: {
title: 'PyCon APAC 2022 Discord 指南',
title: 'PyCon TW 2023 Discord 指南',
description:
'如果尚未安裝 Discord 並加入 Python Taiwan 的伺服器,請先閱讀 設定 Discord 與加入 Python Taiwan 伺服器',
},
},
'zh-hant': {
title: 'PyCon APAC Discord 指南',
title: 'PyCon TW Discord 指南',
invalidAttendee:
'連結中附帶的驗證碼錯誤。請聯繫工作人員取得更進一步的協助。',
registration: {
title: '1. 註冊',
descriptions: [
'如果尚未安裝 Discord 並加入 Python Taiwan 的伺服器,請先閱讀 {setup} 。{br}' +
'{br}' +
'剛加入伺服器後,使用者會在 {info} 的類別下看到一個 {registrationDesk} 頻道。' +
'此頻道會提供註冊教學,教導使用者進入與 PyCon TW Reg Bot 的一對一頻道' +
'中輸入 {registrationCommand} 以進行註冊,並由機器人給予使用者對應的身份組。{br}' +
'為避免使用者不慎將 token 外流,您無法直接傳送訊息至 {registrationDesk} 頻道',
'註冊成功後,您應該可以看到大會相關頻道出現於左側頻道列表。{br}' +
'如果持續無法成功註冊,請點選右方成員清單中身份組為 {manager} 的成員並直接傳訊息給他們,' +
'註冊成功後,您應該可以看到大會相關頻道出現於左側頻道列表,類別名稱為 PYCON TW 2023{br}。' +
'如果您持續無法看到大會相關頻道,請點選右方成員清單中身份組為 {manager} 的成員並直接傳訊息給他們,' +
'或是將您的問題在 {general} 頻道中提出並 mention {mentionManager}。',
],
setupText: '設定 Discord 與加入 Python Taiwan 伺服器',
Expand All @@ -209,30 +160,36 @@ export default genI18nMessages({
joinChannels: {
title: '3. 加入議程討論頻道',
descriptions: [
'議程討論頻道皆位在 {tracks} 類別下。共有三個頻道:',
'議程討論頻道皆位在 {tracks} 類別下。共有四個頻道:',
'{channels}',
'請根據keynote時段或是您想參與的議程軌進入對應的討論頻道。{br}' +
'若該時段為keynote時段,請您前往 {keynote} 頻道參與討論',
'各軌議程相關資訊頻道(共筆、slido),以及議程相關的討論也會在此進行。{br}',
],
},

roleListHeader: '身份組清單',
roleListDescription:
'以下是 PyCon APAC 2022 相關的 Discord 身份組。您可以點選使用者的大頭貼以確認該位使用者的身份。' +
'以下是 PyCon TW 2023 相關的 Discord 身份組。您可以點選使用者的大頭貼以確認該位使用者的身份。' +
'若您認為您沒有獲得相對應的身份組,請與我們聯繫。',
roleList: [
{
name: '2022-attendee',
description: '對象:PyCon APAC 2022 的會眾',
name: 'discord manager',
description: '對象:Discord 管理員',
},
{
name: '2022-speaker',
description:
'對象:PyCon APAC 2022 Keynote, Talk, Tutorial 講者。Lightning Talk 講者不會獲得此身份組',
name: '2023-session-chair',
description: '對象:PyCon TW 2023 的主持人',
},
{
name: '2023-staff',
description: '對象:PyCon TW 2023 的志工',
},
{
name: '2022-staff',
description: '對象:PyCon APAC 2022 的志工',
name: '2023-speaker',
description: '對象:PyCon TW 2023 的講者',
},
{
name: '2023-attendee',
description: '對象:PyCon TW 2023 的會眾',
},
],
channelListHeader: '頻道清單',
Expand All @@ -245,21 +202,15 @@ export default genI18nMessages({
tag: 'rules',
description:
'伺服器成員皆應遵守的行為準則,在您開始使用前請詳加閱讀。' +
'PyCon APAC 2022 籌備團隊和伺服器管理者有權調整任何違反此準則的行為。' +
'PyCon TW 2023 籌備團隊和伺服器管理者有權調整任何違反此準則的行為。' +
'僅需根據籌備團隊的裁決,違反準則者可能必須離開會場,並不得要求退費。' +
'本行為準則由 PyCon APAC 2022 籌備團隊和伺服器管理者認可執行。',
'本行為準則由 PyCon TW 2023 籌備團隊和伺服器管理者認可執行。',
},
],
},
{
type: '公告/服務台',
channels: [
{
tag: 'registration-desk',
description:
'註冊專用頻道。註冊機器人會在此頻道提供資訊引導使用者進行註冊。{br}' +
'所有尚未註冊的使用者皆可看到這個頻道。然而一旦註冊完成,此頻道就會從頻道列表中消失。',
},
{
tag: 'announcements',
description:
Expand All @@ -275,18 +226,6 @@ export default genI18nMessages({
{
type: '活動',
channels: [
{
tag: 'lightning-talk',
description:
'閃電秀的資訊都會公告在此頻道。lightning talk 講者屆時需在這個頻道進行報到。{br}' +
'第一天閃電秀報名截止:9/3 13:00 (GMT+8){br}' +
'第二天閃電秀報名截止:9/4 13:00 (GMT+8)',
},
{
tag: 'open-space',
description:
'Open Space 資訊交換頻道。您可以分享連結、影音等資訊,即使在大會結束後依然能夠回來查看。',
},
{
tag: 'booth-game',
description:
Expand All @@ -295,26 +234,6 @@ export default genI18nMessages({
},
],
},
{
type: '議程',
channels: [
{
tag: 'program-keynote',
description:
'Keynote 相關資訊頻道(共筆、slido、YouTube 直播連結),與 Keynote 議程相關的討論也會在此進行。',
},
{
tag: 'program-talk',
description:
'Talk 相關資訊頻道(共筆、slido、Gather 連結),與 Talk 議程相關的討論也會在此進行。',
},
{
tag: 'program-tutorial',
description:
'Tutorial 相關資訊頻道(共筆、slido、Gather 連結),與 Tutorial 議程相關的討論也會在此進行。',
},
],
},
],
appendix: '附錄',
appendixTitle: '設定 Discord 與加入 Python Taiwan 伺服器',
Expand All @@ -339,7 +258,7 @@ export default genI18nMessages({
},
],
og: {
title: 'PyCon APAC 2022 Discord 指南',
title: 'PyCon TW 2023 Discord 指南',
description:
'如果尚未安裝 Discord 並加入 Python Taiwan 的伺服器,請先閱讀 設定 Discord 與加入 Python Taiwan 伺服器',
},
Expand Down
28 changes: 16 additions & 12 deletions pages/ext/discord.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<template>
<i18n-page-wrapper class="px-8 pt-8 md:px-56">
<i18n-page-wrapper class="px-8 pt-8 md:px-12">
<div>
<div class="section">
<core-h1 :title="$t('title')"></core-h1>
Expand All @@ -23,7 +23,7 @@
</template>
<template #br><br /></template>
<template #info>
<span class="category">PYCON APAC 2022</span>
<span class="category">PYCON TW 2023</span>
</template>
<template #registrationDesk>
<span class="channel">⚠|registration-desk</span>
Expand Down Expand Up @@ -76,9 +76,10 @@
<ul>
<li
v-for="(channel, j) in [
'📝|program-keynote',
'📝|program-talk',
'📝|program-tutorial',
'📝|r0-track',
'📝|r1-track',
'📝|r2-track',
'📝|r3-track',
]"
:key="`discord_joinChannels_channels_${j}`"
class="ml-6 list-disc"
Expand All @@ -91,7 +92,7 @@
<span class="channel">📝|program-keynote</span>
</template>
<template #tracks>
<span class="category">PYCON APAC 2022</span>
<span class="category">PYCON TW 2023</span>
</template>
</i18n>
</div>
Expand Down Expand Up @@ -234,14 +235,17 @@ export default {
'booth-game': {
name: '💪|booth-game',
},
'program-keynote': {
name: '📝|program-keynote',
'r0-track': {
name: '📝|r0-track',
},
'program-talk': {
name: '📝|program-talk',
'r1-track': {
name: '📝|r1-track',
},
'program-tutorial': {
name: '📝|program-tutorial',
'r2-track': {
name: '📝|r2-track',
},
'r3-track': {
name: '📝|r3-track',
},
},
}
Expand Down

0 comments on commit dfc7996

Please sign in to comment.