33 <h2
44 :class =" 'vocab-h2'"
55 >
6- {{this.$t('use-license- heading')}}</h2 >
6+ {{this.$t('use-license. heading')}}</h2 >
77 <b-tabs
88 class =" attribution-tab"
99 v-model =" activeTab"
1010 >
11- <b-tab-item :label =" this.$t('rich-text-label')" >
11+ <b-tab-item :label =" this.$t('use-license. rich-text-label')" >
1212 <div id =" attribution-richtext"
1313 v-html =" this.htmlElement" />
1414 </b-tab-item >
15- <b-tab-item :label =" this.$t('html-label')" >
15+ <b-tab-item :label =" this.$t('use-license. html-label')" >
1616 <div class =' control' id =' generated-html-container' >
1717 <textarea id =' attribution-html'
1818 class =' textarea'
4545 icon =" question-circle"
4646 size =" is-medium" />
4747 <a href =" https://wiki.creativecommons.org/wiki/Marking_your_work_with_a_CC_license" >
48- {{$t('use-license- hint')}}
48+ {{$t('use-license. hint')}}
4949 </a >
5050 </p >
5151 </div >
@@ -62,7 +62,7 @@ export default {
6262 success: false ,
6363 clipboard: null ,
6464 currentTab: 0 ,
65- copyText: this .$t (' copy-label' ),
65+ copyText: this .$t (' use-license. copy-label' ),
6666 currentSelection: ' richtext'
6767 }
6868 },
@@ -101,9 +101,10 @@ export default {
101101 const workUrl = this .$props .value .attributionDetails .workUrl
102102 const workTitle = this .$props .value .attributionDetails .workTitle
103103 if (! workTitle && ! workUrl) {
104- return this .$t (' this-work' )
104+ return this .$t (' code-text. this-work' )
105105 } else {
106- const titleSpan = workTitle ? ` <span rel="dc:title">${ workTitle} </span>` : this .$t (' this-work' )
106+ const titleSpan = workTitle ? ` <span rel="dc:title">${ workTitle} </span>`
107+ : this .$t (' code-text.this-work' )
107108 if (workUrl) {
108109 return ` <a rel="cc:attributionURL" href="${ workUrl} ">${ titleSpan} </a>`
109110 } else {
@@ -112,7 +113,7 @@ export default {
112113 }
113114 },
114115 htmlElement () {
115- const licenseText = this .$t (' license-text' , {
116+ const licenseText = this .$t (' code-text. license-text' , {
116117 workTitle: this .titleElement ,
117118 byLine: this .authorElement
118119 })
0 commit comments