Skip to content

Commit 2ec48eb

Browse files
authored
Merge pull request #511 from pycontw/fix/refactor-privacy-policy-page
2 parents 21777f6 + bff7f1f commit 2ec48eb

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

i18n/about/privacy-policy.i18n.js

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -100,10 +100,9 @@ export default genI18nMessages({
100100
},
101101
],
102102
authorization: {
103-
title: 'License (CC BY-SA 3.0 TW)',
103+
title: 'License {licenseTitle}',
104104
description:
105105
'This document is licensed under an {license} license.',
106-
label: 'https://i.imgur.com/cVjN760.jpg',
107106
content:
108107
'The Privacy Policy of PyCon Taiwan will be effective February 2nd, 2024. ' +
109108
'However, due to the rapidly changing social and legal environment and ' +
@@ -114,7 +113,6 @@ export default genI18nMessages({
114113
'If you have any questions regarding the gathering and usage of your personal information, ' +
115114
'please feel free to contact us at {contact}',
116115
terms: {
117-
contact: '[email protected].',
118116
MeetingManagement: 'Personal Information Protection Act 130',
119117
license: 'Attribution-ShareAlike 3.0 Taiwan',
120118
},
@@ -203,7 +201,7 @@ export default genI18nMessages({
203201
},
204202
],
205203
authorization: {
206-
title: '授權 (CC BY-SA 3.0 TW)',
204+
title: '授權 {licenseTitle}',
207205
description: '此文件採用 {license} 授權條款。',
208206
content:
209207
'本個人資料保護聲明從 2024 年 02 月 02 日起開始生效,惟為因應社會環境及法令的變遷與科技的進步,' +
@@ -212,7 +210,6 @@ export default genI18nMessages({
212210
question:
213211
'如果您對於我們的隱私權保護政策或是有個人資料蒐集、利用、更新等問題,請來信 {contact}。',
214212
terms: {
215-
contact: '[email protected].',
216213
MeetingManagement: '其法定特定目的為一三〇會議管理',
217214
license: '姓名標示-相同方式分享 3.0 台灣',
218215
},

pages/about/privacy-policy.vue

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,8 @@
4949
<div class="pt-8">
5050
<i18n path="question" tag="p" class="question">
5151
<template #contact>
52-
<ext-link href="mailto:[email protected]" highlight
53-
>{{ $t(`terms.contact`) }}
52+
<ext-link href="mailto:[email protected]" highlight>
53+
5454
</ext-link>
5555
</template>
5656
</i18n>
@@ -62,6 +62,9 @@
6262
tag="h2"
6363
class="authorizationTitle"
6464
>
65+
<template v-slot:licenseTitle>
66+
(CC BY-SA 3.0 TW)
67+
</template>
6568
</i18n>
6669
</div>
6770
<div>

0 commit comments

Comments
 (0)