From 9394373724f14bda5750becdc919dcc1d7ef1c01 Mon Sep 17 00:00:00 2001 From: erik1110 Date: Mon, 19 Feb 2024 15:43:21 +0800 Subject: [PATCH 1/2] [feat] add link --- i18n/about/code-of-conduct.i18n.js | 12 ++++++++---- pages/about/code-of-conduct.vue | 29 ++++++++++++++++------------- 2 files changed, 24 insertions(+), 17 deletions(-) diff --git a/i18n/about/code-of-conduct.i18n.js b/i18n/about/code-of-conduct.i18n.js index f7433a8694..479baae6eb 100644 --- a/i18n/about/code-of-conduct.i18n.js +++ b/i18n/about/code-of-conduct.i18n.js @@ -137,12 +137,15 @@ export default genI18nMessages({ { title: 'Notes', descriptions: [ - 'This procedure has been adapted from the PyCon Procedure for Incident Handling.', + 'This procedure has been adapted from the {process}.', ], }, ], }, ], + terms: { + process: 'PyCon Procedure for Incident Handling', + }, }, 'zh-hant': { title: '行為準則', @@ -242,12 +245,13 @@ export default genI18nMessages({ }, { title: '備註', - descriptions: [ - '以上通報流程改寫自 PyCon 通報行為準則事件處理流程。', - ], + descriptions: ['以上通報流程改寫自 {process}。'], }, ], }, ], + terms: { + process: 'PyCon 通報行為準則事件安處理流程', + }, }, }) diff --git a/pages/about/code-of-conduct.vue b/pages/about/code-of-conduct.vue index 311af7f25c..d6c94f93eb 100644 --- a/pages/about/code-of-conduct.vue +++ b/pages/about/code-of-conduct.vue @@ -61,20 +61,21 @@

{{ subtitle.title }}