feat: added strings to Teams feature

This commit is contained in:
2022-03-19 06:22:00 +00:00
committed by Miguel Nogueira
parent 703032a008
commit 44874fbdc5
4 changed files with 81 additions and 81 deletions

View File

@@ -1,9 +1,9 @@
@extends('adminlte::page')
@section('title', config('app.name') . ' | Team Files')
@section('title', config('app.name') . ' | ' . __('Team Files'))
@section('content_header')
<h1>{{config('app.name')}} / Teams / Files</h1>
<h1>{{config('app.name')}} {{ __('/ Teams / Files') }}</h1>
@stop
@section('js')
@@ -20,10 +20,10 @@
@csrf
<div class="form-group">
<label for="caption">Caption</label>
<label for="caption">{{ __('Caption') }}</label>
<input id="caption" type="text" class="form-control" name="caption" required>
<label for="description">File description (optional)</label>
<label for="description">{{ __('File description (optional)') }}</label>
<textarea rows="5" name="description" id="description" class="form-control"></textarea>
</div>
@@ -32,14 +32,14 @@
<label class="btn btn-primary" for="file-selector">
<input id="file-selector" name="file" type="file" style="display:none"
onchange="$('#upload-file-info').html(this.files[0].name)">
Choose File (max {{ini_get('post_max_size')}})
{{ __('Choose File (max. :maxFileSizeSettingValue)', ['maxFileSizeSettingValue' => ini_get('post_max_size')]) }}
</label>
<span class='label label-info' id="upload-file-info"></span>
</form>
<x-slot name="modalFooter">
<button onclick="$('#newFile').submit()" type="button" class="btn btn-warning" rel="buttonTxtTooltip" title="Upload chosen file" data-placement="top"><i class="fas fa-upload"></i></button>
<button onclick="$('#newFile').submit()" type="button" class="btn btn-warning" rel="buttonTxtTooltip" title="{{ __('Upload chosen file') }}" data-placement="top"><i class="fas fa-upload"></i></button>
</x-slot>
</x-modal>
@endif
@@ -47,7 +47,7 @@
<div class="row">
<div class="col-3 offset-4">
<img src="/img/files.svg" width="230px" height="230px" alt="Team files illustration">
<img src="/img/files.svg" width="230px" height="230px" alt="{{ __('Team files illustration') }}">
</div>
</div>
@@ -56,8 +56,8 @@
<div class="row">
<div class="col">
<div class="alert alert-warning">
<p class="text-bold"><i class="fa fa-info-circle"></i> Warning</p>
<p>Since many users may use the app at any given time, file uploads are disabled whilst demo mode is on.</p>
<p class="text-bold"><i class="fa fa-info-circle"></i> {{ __('Warning') }}</p>
<p>{{ __('Since many users may use the app at any given time, file uploads are disabled whilst demo mode is on.') }}</p>
</div>
</div>
</div>