Skip to content

Commit 4e21ae6

Browse files
committed
Fix string names and icon alt text error
Signed-off-by: Olga Bulat <obulat@gmail.com>
1 parent 317746f commit 4e21ae6

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/components/SelectedLicenseInfo.vue

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
</h4>
66
<p id='chooser-selected-description'>
77
<b>{{this.value.shortName.slice(0, this.value.shortName.length-3)}}</b> {{
8-
this.$t("license-description.common") }} <span
9-
v-if="!value.fullName.includes('CC0')">{{this.$t("license-description.non-cc0")
8+
this.$t("selected-license.description.common") }} <span
9+
v-if="!value.fullName.includes('CC0')">{{this.$t("selected-license.description.non-cc0")
1010
}}</span>
1111
</p>
1212
<section class="license-visual-info">
@@ -17,17 +17,17 @@
1717
<LicenseIconography
1818
:icon-list="[item]"/>
1919
<span class="readable-string">
20-
{{ $t(`license-description.${item}`)}}
20+
{{ $t(`selected-license.description.${item}`)}}
2121
</span>
2222
</li>
2323
</transition-group>
2424
</ul>
2525
<div class="freeworks-status__div">
2626
<a href="https://creativecommons.org/freeworks">
2727
<img v-if="this.freeWorkStatus" src="../assets/license-icons/fc_approved_small.png"
28-
alt="{{ $t('alt.free-works-icon') }}" />
28+
:alt="this.$t('alt.free-works-icon')" />
2929
<img v-else src="../assets/license-icons/fc_dubious.png"
30-
alt="{{ $t('alt.non-free-works-icon') }}" />
30+
:alt="$t('alt.non-free-works-icon')" />
3131
</a>
3232
</div>
3333
<p class="freeworks-status__p">

0 commit comments

Comments
 (0)