Add missing l10n

This commit is contained in:
Pig Fang 2018-07-30 11:43:31 +08:00
parent 5b72834c62
commit 6c6cecc5bd
3 changed files with 18 additions and 6 deletions

View File

@ -1,28 +1,28 @@
<template> <template>
<div class="box box-default"> <div class="box box-default">
<div class="box-header with-border"> <div class="box-header with-border">
<h3 class="box-title" style="width: 100%;">{!! $title or trans('general.texture-preview') !!} <h3 class="box-title" style="width: 100%;">{{ $t('general.texturePreview') }}
<span data-toggle="tooltip" class="badge bg-light-blue">{{ indicator }}</span> <span data-toggle="tooltip" class="badge bg-light-blue">{{ indicator }}</span>
<div class="operations"> <div class="operations">
<i <i
@click="toggleRun" @click="toggleRun"
data-toggle="tooltip" data-toggle="tooltip"
data-placement="bottom" data-placement="bottom"
title="@lang('general.walk').' / '.trans('general.run')" :title="$t('general.walk') + ' / ' + $t('general.run')"
class="fa fa-forward" class="fa fa-forward"
></i> ></i>
<i <i
@click="toggleRotate" @click="toggleRotate"
data-toggle="tooltip" data-toggle="tooltip"
data-placement="bottom" data-placement="bottom"
title="@lang('general.rotation')" :title="$t('general.rotation')"
class="fa fa-repeat" class="fa fa-repeat"
></i> ></i>
<i <i
@click="togglePause" @click="togglePause"
data-toggle="tooltip" data-toggle="tooltip"
data-placement="bottom" data-placement="bottom"
title="@lang('general.pause')" :title="$t('general.pause')"
class="fa" class="fa"
:class="{ 'fa-pause': !paused, 'fa-play': paused }" :class="{ 'fa-pause': !paused, 'fa-play': paused }"
></i> ></i>
@ -30,14 +30,14 @@
@click="reset" @click="reset"
data-toggle="tooltip" data-toggle="tooltip"
data-placement="bottom" data-placement="bottom"
title="@lang('general.reset')" :title="$t('general.reset')"
class="fa fa-stop" class="fa fa-stop"
></i> ></i>
</div> </div>
</h3> </h3>
</div><!-- /.box-header --> </div><!-- /.box-header -->
<div class="box-body"> <div class="box-body">
<div ref="previewer"> <div class="previewer-3d" ref="previewer">
<!-- Container for 3D Preview --> <!-- Container for 3D Preview -->
</div> </div>
</div><!-- /.box-body --> </div><!-- /.box-body -->

View File

@ -155,3 +155,9 @@ general:
pagination: 'Page :page, total :total' pagination: 'Page :page, total :total'
searchResult: '(Search result of keyword ":keyword")' searchResult: '(Search result of keyword ":keyword")'
noResult: No result. noResult: No result.
texturePreview: Texture Preview
walk: Walk
run: Run
rotation: Rotation
pause: Pause
reset: Reset

View File

@ -151,6 +151,12 @@ general:
pagination: '第 :page 页,共 :total 页' pagination: '第 :page 页,共 :total 页'
searchResult: '(关键词 “:keyword” 的搜索结果)' searchResult: '(关键词 “:keyword” 的搜索结果)'
noResult: 无结果 noResult: 无结果
texturePreview: 材质预览
walk: 行走
run: 奔跑
rotation: 旋转
pause: 暂停
reset: 重置
vendor: vendor:
fileinput: fileinput: