Skip to content

Commit b34943a

Browse files
authored
feat: 当前对象数量说明,qrcode.download国际化字段重复 (#333)
1 parent b05e25a commit b34943a

File tree

4 files changed

+13
-3
lines changed

4 files changed

+13
-3
lines changed

app/main/files/_/file-toolbar.html

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -272,6 +272,13 @@
272272
<span class="input-group-addon">
273273
<i class="fa fa-search"></i> {{objects.length}}
274274
<span ng-if="nextObjectsMarker">+</span>
275+
<i
276+
class="fa fa-question-circle"
277+
style="margin-left: 3px;"
278+
uib-tooltip="{{ 'search.files.num_msg' | translate(objects.length) }}"
279+
tooltip-placement="bottom"
280+
tooltip-append-to-body="true"
281+
></i>
275282
</span>
276283
</div>
277284
</div>

node/i18n/en-US.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -273,6 +273,8 @@ module.exports = {
273273
"move.cancel": "Cancel Move",
274274

275275
"search.files.placeholder": "Filter by name prefix",
276+
"search.files.num_msg":
277+
"The number of currently loaded directories and objects is {{num}}, not the total number of objects in the current bucket.",
276278

277279
"genAuthToken.title": "Generate Authorization Token",
278280
"genAuthToken.message1.1": "Authorize to Bucket",
@@ -473,7 +475,6 @@ module.exports = {
473475

474476
"copy.successfully": "It has been copied to the clipboard",
475477
"click.download": "click to download",
476-
"qrcode.download": "scan qrcode to download",
477478

478479
saving: "Saving",
479480
"save.successfully": "Saved",

node/i18n/ja-JP.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -276,6 +276,8 @@ module.exports = {
276276
"move.cancel": "移動のキャンセル",
277277

278278
"search.files.placeholder": "名前プレフィックスでフィルタリング",
279+
"search.files.num_msg":
280+
"現在読み込まれているディレクトリとオブジェクトの数は{{num}}であり、現在のバケット内のオブジェクトの総数ではありません。",
279281

280282
"genAuthToken.title": "認証トークンの生成",
281283
"genAuthToken.message1.1": "認証するバケット",
@@ -476,7 +478,6 @@ module.exports = {
476478

477479
"copy.successfully": "クリップボードにコピー済みです",
478480
"click.download": "クリックしてダウンロード",
479-
"qrcode.download": "QR コードをスキャンしてダウンロード",
480481

481482
saving: "保存中",
482483
"save.successfully": "成功完了",

node/i18n/zh-CN.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -267,6 +267,8 @@ module.exports = {
267267
"move.cancel": "取消移动",
268268

269269
"search.files.placeholder": "按名称前缀过滤",
270+
"search.files.num_msg":
271+
"当前已加载的目录及Object数量为{{num}},并非当前Bucket的总共Object数量。",
270272

271273
"genAuthToken.title": "生成授权码",
272274
"genAuthToken.message1.1": "授权给Bucket",
@@ -457,7 +459,6 @@ module.exports = {
457459

458460
"copy.successfully": "已复制到剪贴板",
459461
"click.download": "点此下载",
460-
"qrcode.download": "扫码下载",
461462

462463
saving: "正在保存",
463464
"save.successfully": "保存成功",

0 commit comments

Comments
 (0)