diff --git a/app/Console/Commands/SetupDevEnvironment.php b/app/Console/Commands/SetupDevEnvironment.php index 7518bc8d..d601ba2d 100644 --- a/app/Console/Commands/SetupDevEnvironment.php +++ b/app/Console/Commands/SetupDevEnvironment.php @@ -21,7 +21,7 @@ class SetupDevEnvironment extends Command * @var string */ protected $signature = 'setup:dev'; - protected $license = 'Regular'; + protected $license = 'Extended'; /** * The console command description. diff --git a/app/Http/Controllers/Admin/LanguageController.php b/app/Http/Controllers/Admin/LanguageController.php index 03a64d66..ecec0b52 100644 --- a/app/Http/Controllers/Admin/LanguageController.php +++ b/app/Http/Controllers/Admin/LanguageController.php @@ -6,7 +6,7 @@ use App\Http\Resources\LanguageCollection; use App\Http\Resources\LanguageResource; use App\Models\Language; use App\Http\Controllers\Controller; -use App\Services\DemoService; +use App\Models\Setting; use Illuminate\Contracts\Foundation\Application; use Illuminate\Contracts\Routing\ResponseFactory; use Illuminate\Http\Response; @@ -16,13 +16,6 @@ use App\Http\Requests\Languages\UpdateLanguageRequest; class LanguageController extends Controller { - protected $demo; - - public function __construct() - { - $this->demo = resolve(DemoService::class); - } - /** * Get all languages for admin translate * @@ -42,7 +35,9 @@ class LanguageController extends Controller */ public function get_language(Language $language) { - return response(new LanguageResource($language), 200); + return response( + new LanguageResource($language), 200 + ); } /** @@ -53,6 +48,7 @@ class LanguageController extends Controller */ public function create_language(CreateLanguageRequest $request) { + // Abort in demo mode abort_if(is_demo(), 204, 'Done.'); $language = Language::create([ @@ -73,6 +69,7 @@ class LanguageController extends Controller */ public function update_language(UpdateLanguageRequest $request, Language $language) { + // Abort in demo mode abort_if(is_demo(), 204, 'Done.'); $language->update(make_single_input($request)); @@ -91,18 +88,21 @@ class LanguageController extends Controller */ public function update_string(UpdateStringRequest $request, Language $language) { + // Abort in demo mode abort_if(is_demo(), 204, 'Done.'); $language - ->languageStrings() + ->languageTranslations() ->where('key', $request->name) ->update([ 'value' => $request->value ]); - cache()->forget("language-strings-{$language->locale}"); + cache()->forget("language-translations-{$language->locale}"); - return response('Done', 204); + return response( + 'Done', 204 + ); } /** @@ -113,14 +113,24 @@ class LanguageController extends Controller */ public function delete_language(Language $language) { + // Abort in demo mode abort_if(is_demo(), 204, 'Done.'); if ($language->locale === 'en') { abort(401, "Sorry, you can't delete default language."); } + // If user try to delete language used as default, + // then set en language as default + if ($language->locale === get_setting('language')) { + Setting::whereName('language')->first() + ->update(['value' => 'en']); + } + $language->delete(); - return response('Done', 204); + return response( + 'Done', 204 + ); } } diff --git a/app/Http/Controllers/Admin/PagesController.php b/app/Http/Controllers/Admin/PagesController.php index 47ef2f74..5a93fbfe 100644 --- a/app/Http/Controllers/Admin/PagesController.php +++ b/app/Http/Controllers/Admin/PagesController.php @@ -51,6 +51,7 @@ class PagesController extends Controller */ public function update(Request $request, Page $page) { + // Abort in demo mode abort_if(is_demo(), 204, 'Done.'); $page->update( diff --git a/app/Http/Controllers/Admin/PlanController.php b/app/Http/Controllers/Admin/PlanController.php index 3921a7e4..b555fe98 100644 --- a/app/Http/Controllers/Admin/PlanController.php +++ b/app/Http/Controllers/Admin/PlanController.php @@ -110,6 +110,7 @@ class PlanController extends Controller */ public function update(Request $request, $id) { + // Abort in demo mode abort_if(is_demo(), 204, 'Done.'); // Update plan @@ -129,6 +130,7 @@ class PlanController extends Controller */ public function delete($id) { + // Abort in demo mode abort_if(is_demo(), 204, 'Done.'); // Delete plan diff --git a/app/Http/Controllers/Admin/SettingController.php b/app/Http/Controllers/Admin/SettingController.php index 808dbead..fe8d3976 100644 --- a/app/Http/Controllers/Admin/SettingController.php +++ b/app/Http/Controllers/Admin/SettingController.php @@ -49,6 +49,7 @@ class SettingController extends Controller */ public function update(Request $request) { + // Abort in demo mode abort_if(is_demo(), 204, 'Done.'); // Store image if exist @@ -82,6 +83,7 @@ class SettingController extends Controller public function set_email(Request $request) { // TODO: pridat validator do requestu + // Abort in demo mode abort_if(is_demo(), 204, 'Done.'); if (!app()->runningUnitTests()) { @@ -174,6 +176,7 @@ class SettingController extends Controller */ public function flush_cache() { + // Abort in demo mode abort_if(is_demo(), 204, 'Done.'); if (!app()->runningUnitTests()) { diff --git a/app/Http/Controllers/App/AppFunctionsController.php b/app/Http/Controllers/App/AppFunctionsController.php index eef78a3a..6ffb93a7 100644 --- a/app/Http/Controllers/App/AppFunctionsController.php +++ b/app/Http/Controllers/App/AppFunctionsController.php @@ -164,17 +164,10 @@ class AppFunctionsController extends Controller */ public function get_storage_plans() { - if (Cache::has('pricing')) { - - // Get pricing from cache - $pricing = Cache::get('pricing'); - } else { - - // Store pricing to cache - $pricing = Cache::rememberForever('pricing', function () { - return $this->stripe->getActivePlans(); - }); - } + // Get pricing from cache + $pricing = Cache::rememberForever('pricing', function () { + return $this->stripe->getActivePlans(); + }); // Format pricing to collection $collection = new PricingCollection($pricing); @@ -194,11 +187,10 @@ class AppFunctionsController extends Controller */ public function get_translations($lang) { - $translations = Cache::rememberForever("language-strings-$lang", function () use ($lang) { - + $translations = Cache::rememberForever("language-translations-$lang", function () use ($lang) { return Language::whereLocale($lang) ->firstOrFail() - ->languageStrings; + ->languageTranslations; }); return map_language_translations($translations); diff --git a/app/Http/Resources/LanguageCollection.php b/app/Http/Resources/LanguageCollection.php index 76da04de..0bfde44f 100644 --- a/app/Http/Resources/LanguageCollection.php +++ b/app/Http/Resources/LanguageCollection.php @@ -17,15 +17,15 @@ class LanguageCollection extends ResourceCollection */ public function toArray($request) { - $current_language = Language::with('languageStrings') + $current_language = Language::with('languageTranslations') ->whereLocale(get_setting('language') ?? 'en') ->first(); return [ 'data' => $this->collection, 'meta' => [ - 'current_language' => new LanguageResource($current_language), - 'default_translations' => get_default_language_strings() + 'current_language' => new LanguageResource($current_language), + 'reference_translations' => get_default_language_translations() ], ]; } diff --git a/app/Http/Resources/LanguageResource.php b/app/Http/Resources/LanguageResource.php index 6f0cd3b7..03e7da34 100644 --- a/app/Http/Resources/LanguageResource.php +++ b/app/Http/Resources/LanguageResource.php @@ -21,7 +21,7 @@ class LanguageResource extends JsonResource 'attributes' => [ 'name' => $this->name, 'locale' => $this->locale, - 'translations' => map_language_translations($this->languageStrings), + 'translations' => map_language_translations($this->languageTranslations), 'updated_at' => $this->updated_at, 'created_at' => $this->created_at, ] diff --git a/app/Http/helpers.php b/app/Http/helpers.php index bce6850d..21aee097 100644 --- a/app/Http/helpers.php +++ b/app/Http/helpers.php @@ -6,7 +6,7 @@ use App\Models\Setting; use App\Models\User; use App\Models\Share; use App\Models\Language; -use App\Models\LanguageString; +use App\Models\LanguageTranslation; use ByteUnits\Metric; use Carbon\Carbon; use Illuminate\Database\Eloquent\Model; @@ -599,11 +599,12 @@ function get_image_meta_data($file) /** * @return Collection */ -function get_default_language_strings() +function get_default_language_translations() { return collect([ - config("language-strings.extended"), - config("language-strings.regular") + config("language-translations.extended"), + config("language-translations.regular"), + config("custom-language-translations") ])->collapse(); } @@ -614,7 +615,7 @@ function get_default_language_strings() */ function is_dev() { - return env('APP_ENV') === 'local' ? 1 : 0; + return env('APP_ENV') === 'local'; } /** @@ -853,8 +854,8 @@ function __t($key, $values = null) return get_setting('language') ?? 'en'; }); - $strings = cache()->rememberForever("language-strings-$locale", function () use ($locale) { - return Language::whereLocale($locale)->first()->languageStrings ?? get_default_language_strings(); + $strings = cache()->rememberForever("language-translations-$locale", function () use ($locale) { + return Language::whereLocale($locale)->first()->languageTranslations ?? get_default_language_translations(); }); // Find the string by key diff --git a/app/Models/Language.php b/app/Models/Language.php index c33649cd..ade8035b 100644 --- a/app/Models/Language.php +++ b/app/Models/Language.php @@ -29,9 +29,9 @@ class Language extends Model public $incrementing = false; - public function languageStrings() + public function languageTranslations() { - return $this->hasMany(LanguageString::class, 'lang', 'locale'); + return $this->hasMany(LanguageTranslation::class, 'lang', 'locale'); } protected static function boot() @@ -42,21 +42,21 @@ class Language extends Model $language->id = Str::uuid(); resolve(HelperService::class) - ->create_default_language_strings( + ->create_default_language_translations( get_setting('license') ?? 'extended', $language->locale ); }); static::updating(function ($language) { - cache()->forget("language-strings-$language->locale"); + cache()->forget("language-translations-$language->locale"); }); static::deleting(function ($language) { - DB::table('language_strings') + DB::table('language_translations') ->whereLang($language->locale) ->delete(); - cache()->forget("language-strings-$language->locale"); + cache()->forget("language-translations-$language->locale"); }); } } diff --git a/app/Models/LanguageString.php b/app/Models/LanguageTranslation.php similarity index 84% rename from app/Models/LanguageString.php rename to app/Models/LanguageTranslation.php index 1ef6b09f..c6fe28b4 100644 --- a/app/Models/LanguageString.php +++ b/app/Models/LanguageTranslation.php @@ -4,7 +4,7 @@ namespace App\Models; use Illuminate\Database\Eloquent\Model; -class LanguageString extends Model +class LanguageTranslation extends Model { public $timestamps = false; diff --git a/app/Models/Setting.php b/app/Models/Setting.php index 58b440f2..39774567 100644 --- a/app/Models/Setting.php +++ b/app/Models/Setting.php @@ -5,6 +5,9 @@ namespace App\Models; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; +/** + * @method static whereName(string $string) + */ class Setting extends Model { use HasFactory; diff --git a/app/Services/HelperService.php b/app/Services/HelperService.php index 8c364648..cbfac7e8 100644 --- a/app/Services/HelperService.php +++ b/app/Services/HelperService.php @@ -328,16 +328,18 @@ class HelperService * @param $license * @param $locale */ - function create_default_language_strings($license, $locale) + function create_default_language_translations($license, $locale) { $translations = [ 'extended' => collect([ - config("language-strings.extended"), - config("language-strings.regular") + config("language-translations.extended"), + config("language-translations.regular"), + config("custom-language-translations") + ])->collapse(), + 'regular' => collect([ + config("language-translations.regular"), + config("custom-language-translations") ])->collapse(), - 'regular' => collect( - config("language-strings.regular") - ), ]; $translations = $translations[strtolower($license)] @@ -349,7 +351,7 @@ class HelperService ]; })->toArray(); - DB::table('language_strings') + DB::table('language_translations') ->insert($translations); } } \ No newline at end of file diff --git a/config/custom-language-translations.php b/config/custom-language-translations.php new file mode 100644 index 00000000..ef245a23 --- /dev/null +++ b/config/custom-language-translations.php @@ -0,0 +1,11 @@ + 'translation' +]; \ No newline at end of file diff --git a/config/language-strings.php b/config/language-translations.php similarity index 95% rename from config/language-strings.php rename to config/language-translations.php index ae0a3cb1..08391790 100644 --- a/config/language-strings.php +++ b/config/language-translations.php @@ -6,6 +6,7 @@ return [ "activation.stripe.description" => "To charge your users, please set up your Stripe account credentials.", "activation.stripe.title" => "Your Stripe account is not set", "admin_menu.invoices" => "Invoices", + "admin_menu.plans" => "Plans", "admin_page_dashboard.w_total_premium.link" => "Show All Plans", "admin_page_dashboard.w_total_premium.title" => "Total Premium Users", "admin_page_invoices.empty.description" => "All customers invoices will be showed here.", @@ -72,10 +73,10 @@ return [ "admin_settings.payments.allow_payments" => "Allow Subscription Payments", "admin_settings.payments.button_submit" => "Test and Save Stripe", "admin_settings.payments.button_testing" => "Testing Stripe Connection", - "admin_settings.payments.credentials_disclaimer" => "Your Stripe credentials is not showed because these values are secret and must not be revealed by stranger. You can change your Stripe credentials in your .env file.", + "admin_settings.payments.credentials_disclaimer" => "Your Stripe credentials is not showed because these values are secret and must not be revealed by stranger. You can change your Stripe credentials in your .env file.", "admin_settings.payments.section_payments" => "Stripe Payments", "admin_settings.payments.stripe_create_acc" => "If you don’t have stripe account, please register here and get your Publishable Key, Secret Key and create your webhook.", - "admin_settings.payments.stripe_create_webhook" => "You have to create webhook endpoint in your Stripe Dashboard. You can find it in Dashboard -> Developers -> Webhooks -> Add Endpoint. In Endpoint URL please copy and paste url bellow. Make sure, this url is your public domain, not localhost. In events section, please click on receive all events. That's all.", + "admin_settings.payments.stripe_create_webhook" => "You have to create webhook endpoint in your Stripe Dashboard. You can find it in Dashboard -> Developers -> Webhooks -> Add Endpoint. In Endpoint URL please copy and paste url bellow. Make sure, this url is your public domain, not localhost. In events section, please click on receive all events. That's all.", "admin_settings.payments.stripe_currency" => "Stripe Currency", "admin_settings.payments.stripe_currency_plac" => "Select your Stripe currency", "admin_settings.payments.stripe_pub_key" => "Publishable Key", @@ -276,7 +277,7 @@ return [ "admin_settings.appearance.title_plac" => "Type your app title", "admin_settings.email.driver" => "Mail Driver", "admin_settings.email.driver_plac" => "Type your mail driver", - "admin_settings.email.email_disclaimer" => "This form is not fully pre-filled for security reasons. Your email settings is available in your .env file. For apply new Email settings, please confirm your options by button at the end of formular.", + "admin_settings.email.email_disclaimer" => "This form is not fully pre-filled for security reasons. Your email settings is available in your .env file. For apply new Email settings, please confirm your options by button at the end of formular.", "admin_settings.email.encryption" => "Mail Encryption", "admin_settings.email.encryption_plac" => "Select your mail encryption", "admin_settings.email.host" => "Mail Host", @@ -560,7 +561,7 @@ return [ "shared_form.button_generate" => "Generate Link", "shared_form.button_more_options" => "Set Expiration", "shared_form.email_placeholder" => "Type your emails", - "shared_form.email_successfully_send_message" => "Your item was successfully sended to recipients emails.", + "shared_form.email_successfully_send_message" => "Your item was successfully sended to recipients emails.", "shared_form.expiration_day" => "{value}d.", "shared_form.expiration_hour" => "{value}h.", "shared_form.label_expiration" => "Link Expiration", @@ -655,5 +656,25 @@ return [ 'salutation' => 'Regards', 'user_sending' => ':name is sending you this file', 'protected_file' => 'This link is protected by password', + 'routes_title.language' => 'Languages', + 'languages' => 'Languages', + 'add_language' => 'Add Language', + 'create_language' => 'Create Language', + 'edit_translations' => 'Edit Translations', + 'language_name' => 'Language Name', + 'set_as_default_language' => 'Set as Default Language', + 'language_settings' => 'Language Settings', + 'search_translations' => 'Search Language Translations...', + 'select_locale' => 'Select Locale', + 'locale_name' => 'Language Name', + 'select_language_locale' => 'Select Language Locale', + 'type_language_name' => 'Type Language Name', + 'go_to_files' => 'Go to Files', + 'color_theme' => 'Color Theme', + 'color_theme_description' => 'Your color change will be visible after app refresh.', + 'og_image' => 'OG Image', + 'og_image_description' => 'Image that appear when someone shares the content to Facebook or any other social medium. Preferred size is 1200x627', + 'app_touch_icon' => 'App Touch Icon', + 'app_touch_icon_description' => 'If user store bookmark on his phone screen, this icon appear in app thumbnail. Preferred size is 156x156', ] ]; \ No newline at end of file diff --git a/database/migrations/2021_01_09_152048_create_language_strings.php b/database/migrations/2021_01_09_152048_create_language_strings.php index 512ab151..dd20d2a1 100644 --- a/database/migrations/2021_01_09_152048_create_language_strings.php +++ b/database/migrations/2021_01_09_152048_create_language_strings.php @@ -13,7 +13,7 @@ class CreateLanguageStrings extends Migration */ public function up() { - Schema::create('language_strings', function (Blueprint $table) { + Schema::create('language_translations', function (Blueprint $table) { $table->string('key'); $table->longText('value'); $table->string('lang'); @@ -27,6 +27,6 @@ class CreateLanguageStrings extends Migration */ public function down() { - Schema::dropIfExists('language_strings'); + Schema::dropIfExists('language_translations'); } } diff --git a/public/assets/images/default-avatar.png b/public/assets/images/default-avatar.png index bc9b7799..29a74bdc 100644 Binary files a/public/assets/images/default-avatar.png and b/public/assets/images/default-avatar.png differ diff --git a/public/mix-manifest.json b/public/mix-manifest.json index 34d663d2..e445b0e6 100644 --- a/public/mix-manifest.json +++ b/public/mix-manifest.json @@ -1,22 +1,22 @@ { "/js/main.js": "/js/main.js", "/css/app.css": "/css/app.css", - "/chunks/admin.js": "/chunks/admin.js?id=72b9b9917f6cc48e8349", + "/chunks/admin.js": "/chunks/admin.js?id=f3df96ed0302c713ab20", "/chunks/admin-account.js": "/chunks/admin-account.js?id=3036df3e72596fabc42e", "/chunks/admin-account~chunks/app-appearance~chunks/app-billings~chunks/app-email~chunks/app-index~chu~c7a13fb0.js": "/chunks/admin-account~chunks/app-appearance~chunks/app-billings~chunks/app-email~chunks/app-index~chu~c7a13fb0.js?id=62b552a0492fe95b2223", "/chunks/admin-account~chunks/app-setup~chunks/billings-detail~chunks/create-new-password~chunks/datab~a001bb84.js": "/chunks/admin-account~chunks/app-setup~chunks/billings-detail~chunks/create-new-password~chunks/datab~a001bb84.js?id=0cad8279d29d79cd0e82", "/chunks/admin~chunks/admin-account~chunks/app-appearance~chunks/app-billings~chunks/app-email~chunks/~eeab5771.js": "/chunks/admin~chunks/admin-account~chunks/app-appearance~chunks/app-billings~chunks/app-email~chunks/~eeab5771.js?id=99dbb760d4e3dd0acdbf", "/chunks/admin~chunks/files~chunks/settings~chunks/shared-files~chunks/shared/file-browser.js": "/chunks/admin~chunks/files~chunks/settings~chunks/shared-files~chunks/shared/file-browser.js?id=9b66c2dab4c6103bb53c", - "/chunks/admin~chunks/platform.js": "/chunks/admin~chunks/platform.js?id=861487bdb5c3a4fa3ff2", + "/chunks/admin~chunks/platform.js": "/chunks/admin~chunks/platform.js?id=3d9f93a03cb1ffa61d01", "/chunks/admin~chunks/platform~chunks/shared.js": "/chunks/admin~chunks/platform~chunks/shared.js?id=12f0aaeb615c37d0515d", - "/chunks/app-appearance.js": "/chunks/app-appearance.js?id=ff4a6b02105eaac93dcd", + "/chunks/app-appearance.js": "/chunks/app-appearance.js?id=b4e2d99a172f06a1d312", "/chunks/app-appearance~chunks/app-billings~chunks/app-email~chunks/app-index~chunks/app-others~chunks~605f4c49.js": "/chunks/app-appearance~chunks/app-billings~chunks/app-email~chunks/app-index~chunks/app-others~chunks~605f4c49.js?id=45c8f27411287c7bbf73", "/chunks/app-appearance~chunks/app-billings~chunks/app-email~chunks/app-index~chunks/app-others~chunks~8cc7d96f.js": "/chunks/app-appearance~chunks/app-billings~chunks/app-email~chunks/app-index~chunks/app-others~chunks~8cc7d96f.js?id=7702f37f277478ad66c6", "/chunks/app-appearance~chunks/app-billings~chunks/app-email~chunks/app-index~chunks/app-others~chunks~b9e5655a.js": "/chunks/app-appearance~chunks/app-billings~chunks/app-email~chunks/app-index~chunks/app-others~chunks~b9e5655a.js?id=04f0cd9719723459b685", "/chunks/app-billings.js": "/chunks/app-billings.js?id=82133cc16f55222bbbe6", "/chunks/app-email.js": "/chunks/app-email.js?id=c578a85112c6a4b1ed0e", "/chunks/app-index.js": "/chunks/app-index.js?id=7f07dceace5c9c8255bb", - "/chunks/app-language.js": "/chunks/app-language.js?id=218c5ee4bf34a6fdb487", + "/chunks/app-language.js": "/chunks/app-language.js?id=e97b8b4e0a0f5ac93c97", "/chunks/app-language~chunks/dashboard~chunks/files~chunks/invoices~chunks/pages~chunks/plans~chunks/s~38c276fc.js": "/chunks/app-language~chunks/dashboard~chunks/files~chunks/invoices~chunks/pages~chunks/plans~chunks/s~38c276fc.js?id=91d6a4649c9277a7bb29", "/chunks/app-others.js": "/chunks/app-others.js?id=9156adba3b1697a8bf3e", "/chunks/app-payments.js": "/chunks/app-payments.js?id=7e1a982c90174f568fb2", @@ -25,9 +25,9 @@ "/chunks/app-setup.js": "/chunks/app-setup.js?id=d0e3e046e147ca928f34", "/chunks/billings-detail.js": "/chunks/billings-detail.js?id=d0ade32264f71dd7a2af", "/chunks/contact-us.js": "/chunks/contact-us.js?id=f5276b101b2e0c97d6d1", - "/chunks/contact-us~chunks/dynamic-page~chunks/homepage.js": "/chunks/contact-us~chunks/dynamic-page~chunks/homepage.js?id=5814ff43ba7c67297af1", + "/chunks/contact-us~chunks/dynamic-page~chunks/homepage.js": "/chunks/contact-us~chunks/dynamic-page~chunks/homepage.js?id=22bd5db44c72e8de5f5b", "/chunks/create-new-password.js": "/chunks/create-new-password.js?id=48dc53ccbd502c2739ec", - "/chunks/dashboard.js": "/chunks/dashboard.js?id=d93f9d9fbc991dd6a080", + "/chunks/dashboard.js": "/chunks/dashboard.js?id=74bd69ac9feddf058188", "/chunks/dashboard~chunks/invoices~chunks/pages~chunks/plan-subscribers~chunks/plans~chunks/settings-i~0e2a0654.js": "/chunks/dashboard~chunks/invoices~chunks/pages~chunks/plan-subscribers~chunks/plans~chunks/settings-i~0e2a0654.js?id=7540af768b1cfda01a13", "/chunks/database.js": "/chunks/database.js?id=7374830dc3cbddf41abb", "/chunks/dynamic-page.js": "/chunks/dynamic-page.js?id=6dccc2158cc6278f683d", @@ -53,7 +53,7 @@ "/chunks/plan-settings.js": "/chunks/plan-settings.js?id=66123f72696b47a986a2", "/chunks/plan-subscribers.js": "/chunks/plan-subscribers.js?id=08e2056bc3744b2ea8f9", "/chunks/plans.js": "/chunks/plans.js?id=608bdbd5c041b728691a", - "/chunks/platform.js": "/chunks/platform.js?id=6900ccecf3a9a157be76", + "/chunks/platform.js": "/chunks/platform.js?id=559a62d18ff169793e54", "/chunks/platform~chunks/shared.js": "/chunks/platform~chunks/shared.js?id=3d5804463c897995e9d1", "/chunks/profile.js": "/chunks/profile.js?id=fb4a46afdd09cdcdc7da", "/chunks/profile~chunks/settings-password.js": "/chunks/profile~chunks/settings-password.js?id=d448806bfefc6cc43f0d", @@ -90,5 +90,46 @@ "/chunks/users.js": "/chunks/users.js?id=f1057be5cf73ebc32c14", "/vendors~chunks/admin~chunks/admin-account~chunks/app-appearance~chunks/app-billings~chunks/app-email~0d496e20.js": "/vendors~chunks/admin~chunks/admin-account~chunks/app-appearance~chunks/app-billings~chunks/app-email~0d496e20.js?id=a9facd8e57a0dd054f8c", "/vendors~chunks/admin~chunks/admin-account~chunks/app-appearance~chunks/app-billings~chunks/app-email~7afe9e20.js": "/vendors~chunks/admin~chunks/admin-account~chunks/app-appearance~chunks/app-billings~chunks/app-email~7afe9e20.js?id=6d6e7e4191c9e2705c8a", - "/vendors~chunks/files~chunks/platform~chunks/shared~chunks/shared-files~chunks/shared/file-browser~ch~52c14f2e.js": "/vendors~chunks/files~chunks/platform~chunks/shared~chunks/shared-files~chunks/shared/file-browser~ch~52c14f2e.js?id=66afa0e341251a68c3d3" + "/vendors~chunks/files~chunks/platform~chunks/shared~chunks/shared-files~chunks/shared/file-browser~ch~52c14f2e.js": "/vendors~chunks/files~chunks/platform~chunks/shared~chunks/shared-files~chunks/shared/file-browser~ch~52c14f2e.js?id=66afa0e341251a68c3d3", + "/chunks/app-language.5e86b6c8aedb968aabd1.hot-update.js": "/chunks/app-language.5e86b6c8aedb968aabd1.hot-update.js", + "/chunks/app-language.3e137679fcd212ecdb43.hot-update.js": "/chunks/app-language.3e137679fcd212ecdb43.hot-update.js", + "/chunks/app-language.8069ae5a36cc4868d1d3.hot-update.js": "/chunks/app-language.8069ae5a36cc4868d1d3.hot-update.js", + "/chunks/app-language.d4c9d87012f92cbb3694.hot-update.js": "/chunks/app-language.d4c9d87012f92cbb3694.hot-update.js", + "/chunks/app-language.c0acc236afe078713927.hot-update.js": "/chunks/app-language.c0acc236afe078713927.hot-update.js", + "/chunks/app-language.42b3b09042f97ffb073a.hot-update.js": "/chunks/app-language.42b3b09042f97ffb073a.hot-update.js", + "/chunks/app-language.7478a2ac686bc8208aac.hot-update.js": "/chunks/app-language.7478a2ac686bc8208aac.hot-update.js", + "/chunks/app-language.695a92293d8dc92d833b.hot-update.js": "/chunks/app-language.695a92293d8dc92d833b.hot-update.js", + "/chunks/app-language.25fa944544b002f36615.hot-update.js": "/chunks/app-language.25fa944544b002f36615.hot-update.js", + "/chunks/app-language.aee54dee7bdbae4a4dad.hot-update.js": "/chunks/app-language.aee54dee7bdbae4a4dad.hot-update.js", + "/chunks/app-language.62fa61e8408e9fd42b23.hot-update.js": "/chunks/app-language.62fa61e8408e9fd42b23.hot-update.js", + "/js/main.21d047cff85c2cc93f65.hot-update.js": "/js/main.21d047cff85c2cc93f65.hot-update.js", + "/chunks/app-language.13a02b269488a9ed8054.hot-update.js": "/chunks/app-language.13a02b269488a9ed8054.hot-update.js", + "/chunks/app-language.ff6a3c1bce44294e69aa.hot-update.js": "/chunks/app-language.ff6a3c1bce44294e69aa.hot-update.js", + "/chunks/app-language.0aff16e91050419f056f.hot-update.js": "/chunks/app-language.0aff16e91050419f056f.hot-update.js", + "/chunks/admin.00d9afd473b8b4521765.hot-update.js": "/chunks/admin.00d9afd473b8b4521765.hot-update.js", + "/chunks/admin.b85158f2cba3bfbbf404.hot-update.js": "/chunks/admin.b85158f2cba3bfbbf404.hot-update.js", + "/chunks/admin.bf53021a67ae75f1b0ee.hot-update.js": "/chunks/admin.bf53021a67ae75f1b0ee.hot-update.js", + "/chunks/admin.bda5e8845d2e437ffe7c.hot-update.js": "/chunks/admin.bda5e8845d2e437ffe7c.hot-update.js", + "/chunks/admin.a97d84e1d8754867cef5.hot-update.js": "/chunks/admin.a97d84e1d8754867cef5.hot-update.js", + "/chunks/app-language.8ca3efeede3cedbd37e0.hot-update.js": "/chunks/app-language.8ca3efeede3cedbd37e0.hot-update.js", + "/chunks/app-language.23f838b7be45ce10476b.hot-update.js": "/chunks/app-language.23f838b7be45ce10476b.hot-update.js", + "/chunks/app-language.fd910667c3258a91322b.hot-update.js": "/chunks/app-language.fd910667c3258a91322b.hot-update.js", + "/chunks/app-language.6a163294803727b4d501.hot-update.js": "/chunks/app-language.6a163294803727b4d501.hot-update.js", + "/chunks/platform.085176bd0065608cb370.hot-update.js": "/chunks/platform.085176bd0065608cb370.hot-update.js", + "/chunks/dashboard.f475c4f86956a8e5419b.hot-update.js": "/chunks/dashboard.f475c4f86956a8e5419b.hot-update.js", + "/chunks/app-language.1dd1423a8af00cb8c9bd.hot-update.js": "/chunks/app-language.1dd1423a8af00cb8c9bd.hot-update.js", + "/chunks/app-language.040639168a8e73d40dec.hot-update.js": "/chunks/app-language.040639168a8e73d40dec.hot-update.js", + "/chunks/app-language.72377b182d4f8ae86208.hot-update.js": "/chunks/app-language.72377b182d4f8ae86208.hot-update.js", + "/chunks/app-language.d82931f09bfdd6dbc955.hot-update.js": "/chunks/app-language.d82931f09bfdd6dbc955.hot-update.js", + "/chunks/app-language.2193825771658065f586.hot-update.js": "/chunks/app-language.2193825771658065f586.hot-update.js", + "/chunks/app-language.cab91ceba0b383f64680.hot-update.js": "/chunks/app-language.cab91ceba0b383f64680.hot-update.js", + "/chunks/app-language.a42ea53577d7e0f0a5fb.hot-update.js": "/chunks/app-language.a42ea53577d7e0f0a5fb.hot-update.js", + "/chunks/app-language.09d631da1a2172e96bce.hot-update.js": "/chunks/app-language.09d631da1a2172e96bce.hot-update.js", + "/chunks/app-appearance.690e1a1f6d721bca8cdf.hot-update.js": "/chunks/app-appearance.690e1a1f6d721bca8cdf.hot-update.js", + "/chunks/contact-us~chunks/dynamic-page~chunks/homepage.51e62febff164672078a.hot-update.js": "/chunks/contact-us~chunks/dynamic-page~chunks/homepage.51e62febff164672078a.hot-update.js", + "/chunks/app-language.439fa6fafc54298cdf2b.hot-update.js": "/chunks/app-language.439fa6fafc54298cdf2b.hot-update.js", + "/chunks/app-language.9ee4a795d26a6e44820c.hot-update.js": "/chunks/app-language.9ee4a795d26a6e44820c.hot-update.js", + "/js/main.8517a680822ffe9748c9.hot-update.js": "/js/main.8517a680822ffe9748c9.hot-update.js", + "/chunks/admin.9396f79fef53ad7070fe.hot-update.js": "/chunks/admin.9396f79fef53ad7070fe.hot-update.js", + "/chunks/platform.9396f79fef53ad7070fe.hot-update.js": "/chunks/platform.9396f79fef53ad7070fe.hot-update.js" } diff --git a/resources/js/components/Index/IndexNavigation.vue b/resources/js/components/Index/IndexNavigation.vue index fec43414..bd84aba7 100644 --- a/resources/js/components/Index/IndexNavigation.vue +++ b/resources/js/components/Index/IndexNavigation.vue @@ -32,7 +32,7 @@
diff --git a/resources/js/components/Mobile/MobileHeader.vue b/resources/js/components/Mobile/MobileHeader.vue index aad38009..8ca2ca41 100644 --- a/resources/js/components/Mobile/MobileHeader.vue +++ b/resources/js/components/Mobile/MobileHeader.vue @@ -11,7 +11,7 @@ diff --git a/resources/js/components/Others/CreateLanguage.vue b/resources/js/components/Others/CreateLanguage.vue index ee0f6a85..8e3822fc 100644 --- a/resources/js/components/Others/CreateLanguage.vue +++ b/resources/js/components/Others/CreateLanguage.vue @@ -2,8 +2,7 @@