Skip to content

Commit 27ca6bc

Browse files
init:commit admin&local
1 parent 8c7a69d commit 27ca6bc

File tree

1,865 files changed

+361
-610
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,865 files changed

+361
-610
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
<?php
2+
3+
namespace App\Http\Controllers\Admin;
4+
5+
use App\Http\Controllers\Controller;
6+
use Illuminate\Http\Request;
7+
8+
class AdminController extends Controller
9+
{
10+
//
11+
public function index()
12+
{
13+
return view('admin.index');
14+
}
15+
16+
}

lang/ar/auth.php

+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
<?php
2+
3+
return [
4+
5+
/*
6+
|--------------------------------------------------------------------------
7+
| Authentication Language Lines
8+
|--------------------------------------------------------------------------
9+
|
10+
| The following language lines are used during authentication for various
11+
| messages that we need to display to the user. You are free to modify
12+
| these language lines according to your application's requirements.
13+
|
14+
*/
15+
16+
'failed' => 'These credentials do not match our records.',
17+
'password' => 'The provided password is incorrect.',
18+
'throttle' => 'Too many login attempts. Please try again in :seconds seconds.',
19+
20+
];

lang/ar/pagination.php

+19
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
<?php
2+
3+
return [
4+
5+
/*
6+
|--------------------------------------------------------------------------
7+
| Pagination Language Lines
8+
|--------------------------------------------------------------------------
9+
|
10+
| The following language lines are used by the paginator library to build
11+
| the simple pagination links. You are free to change them to anything
12+
| you want to customize your views to better match your application.
13+
|
14+
*/
15+
16+
'previous' => '&laquo; Previous',
17+
'next' => 'Next &raquo;',
18+
19+
];

lang/ar/passwords.php

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
<?php
2+
3+
return [
4+
5+
/*
6+
|--------------------------------------------------------------------------
7+
| Password Reset Language Lines
8+
|--------------------------------------------------------------------------
9+
|
10+
| The following language lines are the default lines which match reasons
11+
| that are given by the password broker for a password update attempt
12+
| has failed, such as for an invalid token or invalid new password.
13+
|
14+
*/
15+
16+
'reset' => 'Your password has been reset!',
17+
'sent' => 'We have emailed your password reset link!',
18+
'throttled' => 'Please wait before retrying.',
19+
'token' => 'This password reset token is invalid.',
20+
'user' => "We can't find a user with that email address.",
21+
22+
];

lang/ar/site.php

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
<?php
2+
3+
return [
4+
'dashboard' => 'لوحة التحكم ',
5+
'categories' => 'الأقسام',
6+
'products' => 'المنتجات',
7+
'orders' => 'الطلبات',
8+
'payments' => 'المبيعات',
9+
'users' => 'المشتركون',
10+
];

lang/ar/validation.php

+184
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,184 @@
1+
<?php
2+
3+
return [
4+
5+
/*
6+
|--------------------------------------------------------------------------
7+
| Validation Language Lines
8+
|--------------------------------------------------------------------------
9+
|
10+
| The following language lines contain the default error messages used by
11+
| the validator class. Some of these rules have multiple versions such
12+
| as the size rules. Feel free to tweak each of these messages here.
13+
|
14+
*/
15+
16+
'accepted' => 'The :attribute must be accepted.',
17+
'accepted_if' => 'The :attribute must be accepted when :other is :value.',
18+
'active_url' => 'The :attribute is not a valid URL.',
19+
'after' => 'The :attribute must be a date after :date.',
20+
'after_or_equal' => 'The :attribute must be a date after or equal to :date.',
21+
'alpha' => 'The :attribute must only contain letters.',
22+
'alpha_dash' => 'The :attribute must only contain letters, numbers, dashes and underscores.',
23+
'alpha_num' => 'The :attribute must only contain letters and numbers.',
24+
'array' => 'The :attribute must be an array.',
25+
'ascii' => 'The :attribute must only contain single-byte alphanumeric characters and symbols.',
26+
'before' => 'The :attribute must be a date before :date.',
27+
'before_or_equal' => 'The :attribute must be a date before or equal to :date.',
28+
'between' => [
29+
'array' => 'The :attribute must have between :min and :max items.',
30+
'file' => 'The :attribute must be between :min and :max kilobytes.',
31+
'numeric' => 'The :attribute must be between :min and :max.',
32+
'string' => 'The :attribute must be between :min and :max characters.',
33+
],
34+
'boolean' => 'The :attribute field must be true or false.',
35+
'confirmed' => 'The :attribute confirmation does not match.',
36+
'current_password' => 'The password is incorrect.',
37+
'date' => 'The :attribute is not a valid date.',
38+
'date_equals' => 'The :attribute must be a date equal to :date.',
39+
'date_format' => 'The :attribute does not match the format :format.',
40+
'decimal' => 'The :attribute must have :decimal decimal places.',
41+
'declined' => 'The :attribute must be declined.',
42+
'declined_if' => 'The :attribute must be declined when :other is :value.',
43+
'different' => 'The :attribute and :other must be different.',
44+
'digits' => 'The :attribute must be :digits digits.',
45+
'digits_between' => 'The :attribute must be between :min and :max digits.',
46+
'dimensions' => 'The :attribute has invalid image dimensions.',
47+
'distinct' => 'The :attribute field has a duplicate value.',
48+
'doesnt_end_with' => 'The :attribute may not end with one of the following: :values.',
49+
'doesnt_start_with' => 'The :attribute may not start with one of the following: :values.',
50+
'email' => 'The :attribute must be a valid email address.',
51+
'ends_with' => 'The :attribute must end with one of the following: :values.',
52+
'enum' => 'The selected :attribute is invalid.',
53+
'exists' => 'The selected :attribute is invalid.',
54+
'file' => 'The :attribute must be a file.',
55+
'filled' => 'The :attribute field must have a value.',
56+
'gt' => [
57+
'array' => 'The :attribute must have more than :value items.',
58+
'file' => 'The :attribute must be greater than :value kilobytes.',
59+
'numeric' => 'The :attribute must be greater than :value.',
60+
'string' => 'The :attribute must be greater than :value characters.',
61+
],
62+
'gte' => [
63+
'array' => 'The :attribute must have :value items or more.',
64+
'file' => 'The :attribute must be greater than or equal to :value kilobytes.',
65+
'numeric' => 'The :attribute must be greater than or equal to :value.',
66+
'string' => 'The :attribute must be greater than or equal to :value characters.',
67+
],
68+
'image' => 'The :attribute must be an image.',
69+
'in' => 'The selected :attribute is invalid.',
70+
'in_array' => 'The :attribute field does not exist in :other.',
71+
'integer' => 'The :attribute must be an integer.',
72+
'ip' => 'The :attribute must be a valid IP address.',
73+
'ipv4' => 'The :attribute must be a valid IPv4 address.',
74+
'ipv6' => 'The :attribute must be a valid IPv6 address.',
75+
'json' => 'The :attribute must be a valid JSON string.',
76+
'lowercase' => 'The :attribute must be lowercase.',
77+
'lt' => [
78+
'array' => 'The :attribute must have less than :value items.',
79+
'file' => 'The :attribute must be less than :value kilobytes.',
80+
'numeric' => 'The :attribute must be less than :value.',
81+
'string' => 'The :attribute must be less than :value characters.',
82+
],
83+
'lte' => [
84+
'array' => 'The :attribute must not have more than :value items.',
85+
'file' => 'The :attribute must be less than or equal to :value kilobytes.',
86+
'numeric' => 'The :attribute must be less than or equal to :value.',
87+
'string' => 'The :attribute must be less than or equal to :value characters.',
88+
],
89+
'mac_address' => 'The :attribute must be a valid MAC address.',
90+
'max' => [
91+
'array' => 'The :attribute must not have more than :max items.',
92+
'file' => 'The :attribute must not be greater than :max kilobytes.',
93+
'numeric' => 'The :attribute must not be greater than :max.',
94+
'string' => 'The :attribute must not be greater than :max characters.',
95+
],
96+
'max_digits' => 'The :attribute must not have more than :max digits.',
97+
'mimes' => 'The :attribute must be a file of type: :values.',
98+
'mimetypes' => 'The :attribute must be a file of type: :values.',
99+
'min' => [
100+
'array' => 'The :attribute must have at least :min items.',
101+
'file' => 'The :attribute must be at least :min kilobytes.',
102+
'numeric' => 'The :attribute must be at least :min.',
103+
'string' => 'The :attribute must be at least :min characters.',
104+
],
105+
'min_digits' => 'The :attribute must have at least :min digits.',
106+
'missing' => 'The :attribute field must be missing.',
107+
'missing_if' => 'The :attribute field must be missing when :other is :value.',
108+
'missing_unless' => 'The :attribute field must be missing unless :other is :value.',
109+
'missing_with' => 'The :attribute field must be missing when :values is present.',
110+
'missing_with_all' => 'The :attribute field must be missing when :values are present.',
111+
'multiple_of' => 'The :attribute must be a multiple of :value.',
112+
'not_in' => 'The selected :attribute is invalid.',
113+
'not_regex' => 'The :attribute format is invalid.',
114+
'numeric' => 'The :attribute must be a number.',
115+
'password' => [
116+
'letters' => 'The :attribute must contain at least one letter.',
117+
'mixed' => 'The :attribute must contain at least one uppercase and one lowercase letter.',
118+
'numbers' => 'The :attribute must contain at least one number.',
119+
'symbols' => 'The :attribute must contain at least one symbol.',
120+
'uncompromised' => 'The given :attribute has appeared in a data leak. Please choose a different :attribute.',
121+
],
122+
'present' => 'The :attribute field must be present.',
123+
'prohibited' => 'The :attribute field is prohibited.',
124+
'prohibited_if' => 'The :attribute field is prohibited when :other is :value.',
125+
'prohibited_unless' => 'The :attribute field is prohibited unless :other is in :values.',
126+
'prohibits' => 'The :attribute field prohibits :other from being present.',
127+
'regex' => 'The :attribute format is invalid.',
128+
'required' => 'The :attribute field is required.',
129+
'required_array_keys' => 'The :attribute field must contain entries for: :values.',
130+
'required_if' => 'The :attribute field is required when :other is :value.',
131+
'required_if_accepted' => 'The :attribute field is required when :other is accepted.',
132+
'required_unless' => 'The :attribute field is required unless :other is in :values.',
133+
'required_with' => 'The :attribute field is required when :values is present.',
134+
'required_with_all' => 'The :attribute field is required when :values are present.',
135+
'required_without' => 'The :attribute field is required when :values is not present.',
136+
'required_without_all' => 'The :attribute field is required when none of :values are present.',
137+
'same' => 'The :attribute and :other must match.',
138+
'size' => [
139+
'array' => 'The :attribute must contain :size items.',
140+
'file' => 'The :attribute must be :size kilobytes.',
141+
'numeric' => 'The :attribute must be :size.',
142+
'string' => 'The :attribute must be :size characters.',
143+
],
144+
'starts_with' => 'The :attribute must start with one of the following: :values.',
145+
'string' => 'The :attribute must be a string.',
146+
'timezone' => 'The :attribute must be a valid timezone.',
147+
'unique' => 'The :attribute has already been taken.',
148+
'uploaded' => 'The :attribute failed to upload.',
149+
'uppercase' => 'The :attribute must be uppercase.',
150+
'url' => 'The :attribute must be a valid URL.',
151+
'ulid' => 'The :attribute must be a valid ULID.',
152+
'uuid' => 'The :attribute must be a valid UUID.',
153+
154+
/*
155+
|--------------------------------------------------------------------------
156+
| Custom Validation Language Lines
157+
|--------------------------------------------------------------------------
158+
|
159+
| Here you may specify custom validation messages for attributes using the
160+
| convention "attribute.rule" to name the lines. This makes it quick to
161+
| specify a specific custom language line for a given attribute rule.
162+
|
163+
*/
164+
165+
'custom' => [
166+
'attribute-name' => [
167+
'rule-name' => 'custom-message',
168+
],
169+
],
170+
171+
/*
172+
|--------------------------------------------------------------------------
173+
| Custom Validation Attributes
174+
|--------------------------------------------------------------------------
175+
|
176+
| The following language lines are used to swap our attribute placeholder
177+
| with something more reader friendly such as "E-Mail Address" instead
178+
| of "email". This simply helps us make our message more expressive.
179+
|
180+
*/
181+
182+
'attributes' => [],
183+
184+
];

lang/en/site.php

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
<?php
2+
3+
return [
4+
'dashboard' => 'Dashboard',
5+
'categories' => 'Categories',
6+
'products' => 'Products',
7+
'orders' => 'Orders',
8+
'payments' => 'Payments',
9+
'users' => 'Users',
10+
];
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)