Add translation strings

This commit is contained in:
taehoon 2019-02-10 13:26:08 -05:00
parent 750c308909
commit 971e75aa64
2 changed files with 7 additions and 3 deletions

View File

@ -8,8 +8,8 @@
:controls="true"
@click.stop.native="">
</VideoAttachment>
<button title="Previous" class="modal-view-button-arrow modal-view-button-arrow--prev" v-if="canNavigate" @click.stop.prevent="goPrev"></button>
<button title="Next" class="modal-view-button-arrow modal-view-button-arrow--next" v-if="canNavigate" @click.stop.prevent="goNext"></button>
<button :title="$t('media_modal.previous')" class="modal-view-button-arrow modal-view-button-arrow--prev" v-if="canNavigate" @click.stop.prevent="goPrev"></button>
<button :title="$t('media_modal.next')" class="modal-view-button-arrow modal-view-button-arrow--next" v-if="canNavigate" @click.stop.prevent="goNext"></button>
</div>
</template>
@ -65,7 +65,7 @@
outline: none;
box-shadow: none;
}
&#{&}#{&} {
&:hover {
opacity: 1;

View File

@ -31,6 +31,10 @@
"username": "Username",
"hint": "Log in to join the discussion"
},
"media_modal": {
"previous": "Previous",
"next": "Next"
},
"nav": {
"about": "About",
"back": "Back",