Skip to content

Commit 8154c5b

Browse files
committed
fix tranlation labels
1 parent f632a7c commit 8154c5b

File tree

3 files changed

+14
-7
lines changed

3 files changed

+14
-7
lines changed

src/lang/en/lfm.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@
1616
'menu-download' => 'Download',
1717
'menu-resize' => 'Resize',
1818
'menu-crop' => 'Crop',
19+
'menu-move' => 'Move',
20+
'menu-multiple' => 'Multi-selection',
1921

2022
'title-page' => 'File Manager',
2123
'title-panel' => 'Laravel FileManager',
@@ -61,6 +63,7 @@
6163
'btn-crop' => 'Crop',
6264
'btn-copy-crop' => 'Copy & Crop',
6365
'btn-cancel' => 'Cancel',
66+
'btn-confirm' => 'Confirm',
6467
'btn-resize' => 'Resize',
6568

6669
'resize-ratio' => 'Ratio:',

src/lang/zh-TW/lfm.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@
1616
'menu-download' => '下載',
1717
'menu-resize' => '縮放',
1818
'menu-crop' => '裁剪',
19+
'menu-move' => '搬移',
20+
'menu-multiple' => '多選',
1921

2022
'title-page' => '檔案管理',
2123
'title-panel' => '檔案管理',
@@ -58,7 +60,9 @@
5860
'btn-uploading' => '上傳中...',
5961
'btn-close' => '關閉',
6062
'btn-crop' => '裁剪',
63+
'btn-copy-crop' => '裁剪為新的檔案',
6164
'btn-cancel' => '取消',
65+
'btn-confirm' => '確認',
6266
'btn-resize' => '縮放',
6367

6468
'resize-ratio' => '比例:',

src/views/index.blade.php

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
{{-- <li>
4444
<a id="multi_selection_toggle">
4545
<i class="fa fa-check-square fa-fw"></i>
46-
<span>Multi selection</span>
46+
<span>{{ trans('laravel-filemanager::lfm.menu-multiple') }}</span>
4747
</a>
4848
</li> --}}
4949
<li class="nav-item">
@@ -69,8 +69,8 @@
6969
</nav>
7070

7171
<nav class="bg-light fixed-bottom border-top d-none" id="actions">
72-
<a data-action="preview" data-multiple="true"><i class="fas fa-images"></i>Preview</a>
73-
<a data-action="use" data-multiple="true"><i class="fas fa-check"></i>Confirm</a>
72+
<a data-action="preview" data-multiple="true"><i class="fas fa-images"></i>{{ trans('laravel-filemanager::lfm.menu-view') }}</a>
73+
<a data-action="use" data-multiple="true"><i class="fas fa-check"></i>{{ trans('laravel-filemanager::lfm.btn-confirm') }}</a>
7474
</nav>
7575

7676
<div class="d-flex flex-row">
@@ -132,8 +132,8 @@
132132
<div class="modal-content">
133133
<div class="modal-body"></div>
134134
<div class="modal-footer">
135-
<button type="button" class="btn btn-secondary w-100" data-dismiss="modal">Close</button>
136-
<button type="button" class="btn btn-primary w-100" data-dismiss="modal">OK</button>
135+
<button type="button" class="btn btn-secondary w-100" data-dismiss="modal">{{ trans('laravel-filemanager::lfm.btn-close') }}</button>
136+
<button type="button" class="btn btn-primary w-100" data-dismiss="modal">{{ trans('laravel-filemanager::lfm.btn-confirm') }}</button>
137137
</div>
138138
</div>
139139
</div>
@@ -149,8 +149,8 @@
149149
<input type="text" class="form-control">
150150
</div>
151151
<div class="modal-footer">
152-
<button type="button" class="btn btn-secondary w-100" data-dismiss="modal">Close</button>
153-
<button type="button" class="btn btn-primary w-100" data-dismiss="modal">OK</button>
152+
<button type="button" class="btn btn-secondary w-100" data-dismiss="modal">{{ trans('laravel-filemanager::lfm.btn-close') }}</button>
153+
<button type="button" class="btn btn-primary w-100" data-dismiss="modal">{{ trans('laravel-filemanager::lfm.btn-confirm') }}</button>
154154
</div>
155155
</div>
156156
</div>

0 commit comments

Comments
 (0)