corrections

This commit is contained in:
KNaveenraj-ladybird
2023-10-20 09:30:03 +05:30
parent 22d01f83ca
commit 6885c0fe4e
9 changed files with 16 additions and 8 deletions

View File

@@ -13,4 +13,5 @@ return [
'container' => 'Container',
'endpoint' => 'End Point',
'url_type' => 'Url Type',
'save' => 'Save',
];

View File

@@ -36,7 +36,7 @@ class UrlSettingController extends Controller
$string = $string_www.$sting_ssl;
$this->writeHtaccess($string);
return redirect()->back()->with('success', 'updated');
return redirect()->back()->with('success', trans('lang.updated'));
} catch (Exception $ex) {
dd($ex);

View File

@@ -214,7 +214,7 @@ class SettingsController extends Controller
try {
$widget->save();
return redirect()->back()->with('success', $widget->name.' Saved Successfully');
return redirect()->back()->with('success', $widget->name.trans('lang.save-successful'));
} catch (Exception $e) {
return redirect()->back()->with('fails', $e->errorInfo[2]);
}

View File

@@ -70,7 +70,7 @@ class QueueController extends Controller
}
}
return redirect()->back()->with('success', 'Updated');
return redirect()->back()->with('success',trans('lang.updated'));
} catch (Exception $ex) {
return redirect()->back()->with('fails', $ex->getMessage());
}
@@ -95,7 +95,7 @@ class QueueController extends Controller
$queue->status = 1;
$queue->save();
return redirect()->back()->with('success', 'Activated');
return redirect()->back()->with('success', trans('lang.activated'));
} catch (Exception $ex) {
return redirect()->back()->with('fails', $ex->getMessage());
}

View File

@@ -1605,7 +1605,7 @@ ed' => 'تعذر إدراج الفئة',
'deleted-users' => 'المستخدمين المحذوفين',
'view-option' => 'خيارات العرض',
'accoutn-not-verified' => 'حساب المستخدم غير موثق',
'enabled' => مكّن',
'enabled' => فعل',
'disabled' => 'معطّل',
'user-account-is-deleted' => 'تم حذف حساب المستخدم هذا.',
'restore-user' => 'استعادة حساب المستخدم',
@@ -1710,4 +1710,7 @@ ed' => 'تعذر إدراج الفئة',
'delete_file' => 'حذف ملف',
'log_file_50M_please_download_it.' => 'ملف السجل أكبر من 50 ميجا، يرجى تنزيله.',
'support' => 'يدعم',
'activated' => 'مفعل',
'add-child' => 'إضافة طفل',
'save-successful' => 'تم الحفظ بنجاح ',
];

View File

@@ -1682,4 +1682,8 @@ return [
'delete_file' => 'Delete file',
'log_file_50M_please_download_it.' => 'Log file >50M, please download it.',
'support' => 'Support',
'optional' => 'Optional',
'activated' => 'Activated',
'add-child' => 'Add Child',
'save-successful' => ' Saved Successfully',
];

View File

@@ -73,7 +73,7 @@ class="nav-link active"
{!! link_to_route('forms.show', Lang::get('lang.view_this_form') ,[$form->id],['id'=>'View','class'=>'btn btn-primary btn-sm']) !!}
</div>
<div class="btn-group">
{!! link_to_route('forms.add.child', 'Add Child' ,[$form->id],['id'=>'add-child','class'=>'btn btn-primary btn-sm']) !!}
{!! link_to_route('forms.add.child', Lang::get('lang.add-child') ,[$form->id],['id'=>'add-child','class'=>'btn btn-primary btn-sm']) !!}
</div>
<div class="btn-group">
<button class="btn btn-danger btn-sm" data-toggle="modal" data-target="#delete{{$form->id}}">{!! Lang::get('lang.delete_from') !!}

View File

@@ -61,7 +61,7 @@ class="nav-link active"
@endif
<div class="card card-light">
<div class="card-header">
<h3 class="card-title">URL Settings</h3>
<h3 class="card-title">URL {{trans('lang.settings')}}</h3>
</div>
<div class="card-body">

View File

@@ -57,7 +57,7 @@
<div class="col-md-6">
{!! Form::open(['id'=>'merge-form','method' => 'PATCH'] )!!}
<label>{!! Lang::get('lang.title') !!}</label>
<input type="text" name='title' class="form-control" value="" placeholder="Optional" />
<input type="text" name='title' class="form-control" value="" placeholder="{{trans('lang.optional')}}" />
</div>
<div class="col-md-6">
<label>{!! Lang::get('lang.select-pparent-ticket') !!}</label>