refactor: 替换多页面国际化文本为硬编码中文内容

移除项目内大部分$lang()国际化调用,替换为直接中文文本,统一前端展示文案
This commit is contained in:
2026-06-23 08:55:16 +08:00
parent 750ed2dac7
commit f258987e0e
180 changed files with 2207 additions and 4701 deletions

View File

@@ -2,7 +2,7 @@
<view>
<view class="search-wrap uni-flex uni-row">
<view class="flex-item input-wrap">
<input class="uni-input" maxlength="50" :placeholder="$lang('files.searchPlaceholder')" v-model="keyword" @confirm="search"
<input class="uni-input" maxlength="50" placeholder="请输入您要搜索的文件名称" v-model="keyword" @confirm="search"
@input="__set_model($event, 'keyword')" />
<text class="iconfont icon-sousuo3" @tap="search"></text>
</view>
@@ -20,7 +20,7 @@
<view class="info-wrap">
<view class="title">{{ item.$orig.files_title }}</view>
<view class="read-wrap">
<text>{{ $lang('files.viewPdf') }}</text>
<text>查看PDF文件</text>
</view>
</view>
</view>
@@ -29,7 +29,7 @@
</block>
<block v-else>
<view class="empty-wrap">
<ns-empty :text="$lang('files.emptyFiles')" :isIndex="false"></ns-empty>
<ns-empty text="暂无文件" :isIndex="false"></ns-empty>
</view>
</block>
<loading-cover ref="loadingCover"></loading-cover>
@@ -116,7 +116,7 @@ export default {
},
toDetail(item) {
uni.showLoading({
title: this.$lang('files.loading')
title: '正在加载'
})
try {
uni.downloadFile({
@@ -141,7 +141,7 @@ export default {
complete: res => {
if (res.statusCode === 404) {
uni.showToast({
title: this.$lang('files.fileNotExist'),
title: '文件不存在',
icon: 'none'
})
}