Skip to content

Commit a848d2d

Browse files
committed
Remove unnecessary period and reformat footer text
Signed-off-by: Olga Bulat <obulat@gmail.com>
1 parent a9445a3 commit a848d2d

File tree

2 files changed

+4
-24
lines changed

2 files changed

+4
-24
lines changed

src/components/Footer.vue

Lines changed: 2 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -9,17 +9,7 @@
99
<p class="vocab-body-normal"><a href="tel:+1-415-429-6753">+1-415-429-6753</a></p>
1010
</section>
1111
<section class="middle-column">
12-
<i18n path="footer.licensing.text" tag="p" :class="'vocab-caption'">
13-
<template v-slot:noted>
14-
<a :href="licensePoliciesUrl">{{ $t('footer.licensing.noted') }}</a>
15-
</template>
16-
<template v-slot:noun-project>
17-
<a :href="nounProjectIconsUrl">{{$t('footer.licensing.noun-project')}}</a>
18-
</template>
19-
<template v-slot:CCBY>
20-
<a :href="CCBYUrl">{{ $t('footer.licensing.CCBY') }}</a>
21-
</template>
22-
</i18n>
12+
<p>{{$t('footer.licensing.text')}}</p>
2313
<p class="footer-license-icons">
2414
<img src="../assets/license-icons/icon-cc_white.png">
2515
<img src="../assets/license-icons/icon-by-white.png">
@@ -36,14 +26,7 @@
3626
<script>
3727
3828
export default {
39-
name: 'Footer',
40-
data() {
41-
return {
42-
licensePoliciesUrl: 'https://creativecommons.org/policies#license',
43-
CCBYUrl: 'https://creativecommons.org/licenses/by/4.0/',
44-
nounProjectIconsUrl: 'https://creativecommons.org/website-icons'
45-
}
46-
}
29+
name: 'Footer'
4730
}
4831
</script>
4932

src/locales/en.json

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@
122122
"workTitle": "This work",
123123
"by": "by",
124124
"licensed-text": " is licensed under ",
125-
"print-instructions": ". To view a copy of this license, visit {linkToLicenseDeed}."
125+
"print-instructions": ". To view a copy of this license, visit {linkToLicenseDeed}"
126126
}
127127
},
128128
"help": {
@@ -202,10 +202,7 @@
202202
"call": "Help us keep Internet free and open."
203203
},
204204
"licensing": {
205-
"text": "Except where otherwise {noted}, content on this site is licensed under a {CCBY}. Icons by {noun-project}.",
206-
"noted": "noted",
207-
"CCBY": "Creative Commons Attribution 4.0 International license",
208-
"noun-project": "Noun Project"
205+
"text": "Except where otherwise <a href='https://creativecommons.org/policies#license'>noted</a>, content on this site is licensed under a <a href='https://creativecommons.org/licenses/by/4.0/'>Creative Commons Attribution 4.0 International license</a>. Icons by <a href='https://creativecommons.org/website-icons'>Noun Project</a>."
209206
}
210207
},
211208
"cc0-waiver": {

0 commit comments

Comments
 (0)