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

View File

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