Skip to content

Commit 86c9fc4

Browse files
committed
Update translation
#29 Clean up the project file translation
1 parent 1460e4b commit 86c9fc4

File tree

3 files changed

+9
-11
lines changed

3 files changed

+9
-11
lines changed

resources/lang/en/projectFiles.php

+6-6
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,15 @@
44

55
'label' => 'Project Files',
66
'create' => 'Add file',
7-
'edit' => 'Edit the file',
8-
'none' => 'You can add file which will to be write for deploy directory',
7+
'edit' => 'Edit file',
8+
'none' => 'Add files which yout want to write into the deploy directory',
99
'name' => 'Name',
1010
'path' => 'Path',
1111
'content' => 'Content',
1212
'warning' => 'The file could not be saved, please check the form below.',
13-
'successful' => 'Successful',
14-
'failed' => 'Failed',
15-
'updatedAt' => 'Updated At',
16-
'view' => 'View file'
13+
'view' => 'View file',
14+
'environment' => 'Laravel Configuration',
15+
'pathTip' => 'Path like \'/app/config/deployer.php\'',
16+
'contentTip' => 'File content may be in ini or json or php array format'
1717

1818
];

resources/views/dialogs/project_files.blade.php

+3-3
Original file line numberDiff line numberDiff line change
@@ -16,15 +16,15 @@
1616

1717
<div class="form-group">
1818
<label for="project-file-name">{{ Lang::get('projectFiles.name') }}</label>
19-
<input type="text" class="form-control" id="project-file-name" name="project-file-name" placeholder="Laravel Storage" />
19+
<input type="text" class="form-control" id="project-file-name" name="project-file-name" placeholder="{{ Lang::get('projectFiles.environment') }}" />
2020
</div>
2121
<div class="form-group">
2222
<label for="project-file-path">{{ Lang::get('projectFiles.path') }}</label>
23-
<input type="text" class="form-control" id="project-file-path" name="path" placeholder="Path like '/app/config/deployer.php'" />
23+
<input type="text" class="form-control" id="project-file-path" name="path" placeholder="{{ Lang::get('projectFiles.pathTip')}}" />
2424
</div>
2525
<div class="form-group">
2626
<label for="project-file-content">{{ Lang::get('projectFiles.content') }}</label>
27-
<textarea class="form-control" id="project-file-content" name="content" placeholder="File content may be ini or json or php array"></textarea>
27+
<textarea class="form-control" id="project-file-content" name="content" placeholder="{{ Lang::get('projectFiles.contentTip') }}"></textarea>
2828
</div>
2929
</div>
3030
<div class="modal-footer">

resources/views/projects/_partials/project_files.blade.php

-2
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
1717
<tr>
1818
<th>{{ Lang::get('projectFiles.name') }}</th>
1919
<th>{{ Lang::get('projectFiles.path') }}</th>
20-
<th>{{ Lang::get('projectFiles.updatedAt') }}</th>
2120
<th>&nbsp;</th>
2221
</tr>
2322
</thead>
@@ -31,7 +30,6 @@
3130
<script type="text/template" id="project-files-template">
3231
<td><%- name %></td>
3332
<td><%- path %></td>
34-
<td><%- updated_at %></td>
3533
<td>
3634
<div class="btn-group pull-right">
3735
<button type="button" class="btn btn-default btn-view" title="{{ Lang::get('projectFiles.view') }}" data-toggle="modal" data-backdrop="static" data-target="#view-projectfile"><i class="fa fa-eye"></i></button>

0 commit comments

Comments
 (0)