Apply fixes from StyleCI
This commit is contained in:
@@ -1,6 +1,7 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
return[
|
return[
|
||||||
'logs'=> 'مؤلف',
|
'logs' => 'مؤلف',
|
||||||
'system_logs '=>'سجلات النظام',
|
'system_logs '=> 'سجلات النظام',
|
||||||
|
|
||||||
];
|
];
|
@@ -1,7 +1,7 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
return[
|
return[
|
||||||
'storage' =>'تخزين',
|
'storage' => 'تخزين',
|
||||||
'root' => 'جذر',
|
'root' => 'جذر',
|
||||||
'system_logs' => 'سجلات النظام',
|
'system_logs' => 'سجلات النظام',
|
||||||
'default' => 'الافتراضي',
|
'default' => 'الافتراضي',
|
||||||
|
@@ -315,9 +315,9 @@ class FilterControllerOld extends Controller
|
|||||||
/**
|
/**
|
||||||
*@category function to format and return user tickets
|
*@category function to format and return user tickets
|
||||||
*
|
*
|
||||||
*@param string $segment
|
* @param string $segment
|
||||||
*
|
*
|
||||||
*@return builder
|
* @return builder
|
||||||
*/
|
*/
|
||||||
public function formatUserTickets($segment)
|
public function formatUserTickets($segment)
|
||||||
{
|
{
|
||||||
|
@@ -69,7 +69,6 @@ class OrganizationController extends Controller
|
|||||||
*/
|
*/
|
||||||
public function org_list()
|
public function org_list()
|
||||||
{
|
{
|
||||||
|
|
||||||
$modalTitle = __('lang.your_translation_key_here');
|
$modalTitle = __('lang.your_translation_key_here');
|
||||||
// chumper datable package call to display Advance datatable
|
// chumper datable package call to display Advance datatable
|
||||||
return \Datatable::collection(Organization::all())
|
return \Datatable::collection(Organization::all())
|
||||||
|
@@ -2321,7 +2321,7 @@ class TicketController extends Controller
|
|||||||
*
|
*
|
||||||
*@param null
|
*@param null
|
||||||
*
|
*
|
||||||
*@return string //script to load tooltip data
|
* @return string //script to load tooltip data
|
||||||
*/
|
*/
|
||||||
public static function tooltip($ticketid)
|
public static function tooltip($ticketid)
|
||||||
{
|
{
|
||||||
@@ -2672,7 +2672,7 @@ class TicketController extends Controller
|
|||||||
*
|
*
|
||||||
*@param srting array $t_id, $p_id
|
*@param srting array $t_id, $p_id
|
||||||
*
|
*
|
||||||
*@return null
|
* @return null
|
||||||
*/
|
*/
|
||||||
public function sendMergeNotification($p_id, $t_id)
|
public function sendMergeNotification($p_id, $t_id)
|
||||||
{
|
{
|
||||||
|
@@ -125,9 +125,9 @@ class GuestController extends Controller
|
|||||||
/**
|
/**
|
||||||
*@category fucntion to check if mobile number is unqique or not
|
*@category fucntion to check if mobile number is unqique or not
|
||||||
*
|
*
|
||||||
*@param string $mobile
|
* @param string $mobile
|
||||||
*
|
*
|
||||||
*@return bool true(if mobile exists in users table)/false (if mobile does not exist in user table)
|
* @return bool true(if mobile exists in users table)/false (if mobile does not exist in user table)
|
||||||
*/
|
*/
|
||||||
public function checkMobile($mobile)
|
public function checkMobile($mobile)
|
||||||
{
|
{
|
||||||
|
@@ -327,9 +327,9 @@ class UnAuthController extends Controller
|
|||||||
/**
|
/**
|
||||||
*@category function to change system's language
|
*@category function to change system's language
|
||||||
*
|
*
|
||||||
*@param string $lang //desired language's iso code
|
* @param string $lang //desired language's iso code
|
||||||
*
|
*
|
||||||
*@return response
|
* @return response
|
||||||
*/
|
*/
|
||||||
public static function changeLanguage($lang)
|
public static function changeLanguage($lang)
|
||||||
{
|
{
|
||||||
|
@@ -17,7 +17,7 @@ use Mail;
|
|||||||
class PhpMailController extends Controller
|
class PhpMailController extends Controller
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
*@var variable to instantiate common mailer class
|
* @var variable to instantiate common mailer class
|
||||||
*/
|
*/
|
||||||
public function __construct()
|
public function __construct()
|
||||||
{
|
{
|
||||||
|
@@ -53,11 +53,11 @@ class AgentRequest extends Request
|
|||||||
/**
|
/**
|
||||||
*@category Funcion to set rule if send opt is enabled
|
*@category Funcion to set rule if send opt is enabled
|
||||||
*
|
*
|
||||||
*@param object $settings (instance of Model common settings)
|
* @param object $settings (instance of Model common settings)
|
||||||
*
|
*
|
||||||
*@author manish.verma@ladybirdweb.com
|
*@author manish.verma@ladybirdweb.com
|
||||||
*
|
*
|
||||||
*@return array|int
|
* @return array|int
|
||||||
*/
|
*/
|
||||||
public function check($settings)
|
public function check($settings)
|
||||||
{
|
{
|
||||||
|
@@ -119,11 +119,11 @@ class ClientRequest extends Request
|
|||||||
/**
|
/**
|
||||||
*@category Funcion to set rule if send opt is enabled
|
*@category Funcion to set rule if send opt is enabled
|
||||||
*
|
*
|
||||||
*@param object $settings (instance of Model common settings)
|
* @param object $settings (instance of Model common settings)
|
||||||
*
|
*
|
||||||
*@author manish.verma@ladybirdweb.com
|
*@author manish.verma@ladybirdweb.com
|
||||||
*
|
*
|
||||||
*@return array|int
|
* @return array|int
|
||||||
*/
|
*/
|
||||||
public function check($settings)
|
public function check($settings)
|
||||||
{
|
{
|
||||||
|
@@ -58,11 +58,11 @@ class CreateTicketRequest extends Request
|
|||||||
/**
|
/**
|
||||||
*@category Funcion to set rule if send opt is enabled
|
*@category Funcion to set rule if send opt is enabled
|
||||||
*
|
*
|
||||||
*@param object $settings (instance of Model common settings)
|
* @param object $settings (instance of Model common settings)
|
||||||
*
|
*
|
||||||
*@author manish.verma@ladybirdweb.com
|
*@author manish.verma@ladybirdweb.com
|
||||||
*
|
*
|
||||||
*@return array|int
|
* @return array|int
|
||||||
*/
|
*/
|
||||||
public function check($settings)
|
public function check($settings)
|
||||||
{
|
{
|
||||||
@@ -102,7 +102,7 @@ class CreateTicketRequest extends Request
|
|||||||
*
|
*
|
||||||
*@param null
|
*@param null
|
||||||
*
|
*
|
||||||
*@return array
|
* @return array
|
||||||
*/
|
*/
|
||||||
public function onlyMobleRequired()
|
public function onlyMobleRequired()
|
||||||
{
|
{
|
||||||
|
@@ -37,7 +37,7 @@ class TaskRequest extends Request
|
|||||||
{
|
{
|
||||||
return [
|
return [
|
||||||
'fetching-commands.required_if' => trans('lang.Please_choose_your_Email_Fetching_timing'),
|
'fetching-commands.required_if' => trans('lang.Please_choose_your_Email_Fetching_timing'),
|
||||||
'notification-commands.required_if' =>trans('lang.Please_choose_your_ Email_ Notification_timing'),
|
'notification-commands.required_if' => trans('lang.Please_choose_your_ Email_ Notification_timing'),
|
||||||
'work-commands.required_if' => trans('lang.Please_choose_your_Auto-close_Workflow_timing'),
|
'work-commands.required_if' => trans('lang.Please_choose_your_Auto-close_Workflow_timing'),
|
||||||
'workflow-dailyAt.required_if' => 'Please enter the time for Auto-close Workflow timing',
|
'workflow-dailyAt.required_if' => 'Please enter the time for Auto-close Workflow timing',
|
||||||
'notification-dailyAt.required_if' => 'Please enter the time for Email Notification timing',
|
'notification-dailyAt.required_if' => 'Please enter the time for Email Notification timing',
|
||||||
|
@@ -38,7 +38,7 @@ class ProfileRequest extends Request
|
|||||||
/**
|
/**
|
||||||
*Check the mobile number is unique or not.
|
*Check the mobile number is unique or not.
|
||||||
*
|
*
|
||||||
*@return string
|
* @return string
|
||||||
*/
|
*/
|
||||||
public function checkMobile()
|
public function checkMobile()
|
||||||
{
|
{
|
||||||
|
@@ -45,11 +45,11 @@ class RegisterRequest extends Request
|
|||||||
/**
|
/**
|
||||||
*@category Funcion to set rule if send opt is enabled
|
*@category Funcion to set rule if send opt is enabled
|
||||||
*
|
*
|
||||||
*@param object $settings (instance of Model common settings)
|
* @param object $settings (instance of Model common settings)
|
||||||
*
|
*
|
||||||
*@author manish.verma@ladybirdweb.com
|
*@author manish.verma@ladybirdweb.com
|
||||||
*
|
*
|
||||||
*@return array|int
|
* @return array|int
|
||||||
*/
|
*/
|
||||||
public function check($settings)
|
public function check($settings)
|
||||||
{
|
{
|
||||||
|
@@ -45,11 +45,11 @@ class Sys_userRequest extends Request
|
|||||||
/**
|
/**
|
||||||
*@category Funcion to set rule if send opt is enabled
|
*@category Funcion to set rule if send opt is enabled
|
||||||
*
|
*
|
||||||
*@param object $settings (instance of Model common settings)
|
* @param object $settings (instance of Model common settings)
|
||||||
*
|
*
|
||||||
*@author manish.verma@ladybirdweb.com
|
*@author manish.verma@ladybirdweb.com
|
||||||
*
|
*
|
||||||
*@return array|int
|
* @return array|int
|
||||||
*/
|
*/
|
||||||
public function check($settings)
|
public function check($settings)
|
||||||
{
|
{
|
||||||
@@ -83,7 +83,7 @@ class Sys_userRequest extends Request
|
|||||||
*
|
*
|
||||||
*@param null
|
*@param null
|
||||||
*
|
*
|
||||||
*@return array
|
* @return array
|
||||||
*/
|
*/
|
||||||
public function onlyMobleRequired()
|
public function onlyMobleRequired()
|
||||||
{
|
{
|
||||||
|
@@ -1,4 +1,5 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
return [
|
return [
|
||||||
'sEmptyTable' => 'لا تتوفر بيانات في الجدول',
|
'sEmptyTable' => 'لا تتوفر بيانات في الجدول',
|
||||||
'sInfo' => 'عرض _START_ إلى _END_ من إجمالي _TOTAL_ إدخال',
|
'sInfo' => 'عرض _START_ إلى _END_ من إجمالي _TOTAL_ إدخال',
|
||||||
|
931
lang/ar/lang.php
931
lang/ar/lang.php
File diff suppressed because it is too large
Load Diff
@@ -1676,7 +1676,7 @@ return [
|
|||||||
'lockout_period:' => 'Lockout Period:',
|
'lockout_period:' => 'Lockout Period:',
|
||||||
'Lockout_Message:' => 'Lockout Message:',
|
'Lockout_Message:' => 'Lockout Message:',
|
||||||
'please_enter_valid_no_days' => 'Please enter valid no of days',
|
'please_enter_valid_no_days' => 'Please enter valid no of days',
|
||||||
'author' =>'Author',
|
'author' => 'Author',
|
||||||
'system_logs' => 'System logs'
|
'system_logs' => 'System logs',
|
||||||
|
|
||||||
];
|
];
|
||||||
|
@@ -807,5 +807,4 @@ Route::middleware('web')->group(function () {
|
|||||||
Route::get('ticket/swtich-language/{id}', [Client\helpdesk\UnAuthController::class, 'changeUserLanguage'])->name('switch-user-lang');
|
Route::get('ticket/swtich-language/{id}', [Client\helpdesk\UnAuthController::class, 'changeUserLanguage'])->name('switch-user-lang');
|
||||||
Route::get('social/swtich-language/{id}', [Client\helpdesk\UnAuthController::class, 'changeUserLanguage'])->name('switch-user-lang');
|
Route::get('social/swtich-language/{id}', [Client\helpdesk\UnAuthController::class, 'changeUserLanguage'])->name('switch-user-lang');
|
||||||
Route::get('language/swtich-language/{id}', [Client\helpdesk\UnAuthController::class, 'changeUserLanguage'])->name('switch-user-lang');
|
Route::get('language/swtich-language/{id}', [Client\helpdesk\UnAuthController::class, 'changeUserLanguage'])->name('switch-user-lang');
|
||||||
|
|
||||||
});
|
});
|
||||||
|
Reference in New Issue
Block a user