language translation deletion

This commit is contained in:
Čarodej
2022-04-27 10:29:06 +02:00
parent 3b3bf62cb8
commit e645291855
13 changed files with 8 additions and 1166 deletions

View File

@@ -1,127 +0,0 @@
<?php
return [
/*
|--------------------------------------------------------------------------
| Stripe Keys
|--------------------------------------------------------------------------
|
| The Stripe publishable key and secret key give you access to Stripe's
| API. The "publishable" key is typically used when interacting with
| Stripe.js while the "secret" key accesses private API endpoints.
|
*/
'key' => env('STRIPE_KEY'),
'secret' => env('STRIPE_SECRET'),
/*
|--------------------------------------------------------------------------
| Cashier Path
|--------------------------------------------------------------------------
|
| This is the base URI path where Cashier's views, such as the payment
| verification screen, will be available from. You're free to tweak
| this path according to your preferences and application design.
|
*/
'path' => env('CASHIER_PATH', 'stripe'),
/*
|--------------------------------------------------------------------------
| Stripe Webhooks
|--------------------------------------------------------------------------
|
| Your Stripe webhook secret is used to prevent unauthorized requests to
| your Stripe webhook handling controllers. The tolerance setting will
| check the drift between the current time and the signed request's.
|
*/
'webhook' => [
'secret' => env('STRIPE_WEBHOOK_SECRET'),
'tolerance' => env('STRIPE_WEBHOOK_TOLERANCE', 300),
],
/*
|--------------------------------------------------------------------------
| Cashier Model
|--------------------------------------------------------------------------
|
| This is the model in your application that implements the Billable trait
| provided by Cashier. It will serve as the primary model you use while
| interacting with Cashier related methods, subscriptions, and so on.
|
*/
'model' => env('CASHIER_MODEL', App\Users\Models\User::class),
/*
|--------------------------------------------------------------------------
| Currency
|--------------------------------------------------------------------------
|
| This is the default currency that will be used when generating charges
| from your application. Of course, you are welcome to use any of the
| various world currencies that are currently supported via Stripe.
|
*/
'currency' => env('CASHIER_CURRENCY', 'usd'),
/*
|--------------------------------------------------------------------------
| Currency Locale
|--------------------------------------------------------------------------
|
| This is the default locale in which your money values are formatted in
| for display. To utilize other locales besides the default en locale
| verify you have the "intl" PHP extension installed on the system.
|
*/
'currency_locale' => env('CASHIER_CURRENCY_LOCALE', 'en'),
/*
|--------------------------------------------------------------------------
| Payment Confirmation Notification
|--------------------------------------------------------------------------
|
| If this setting is enabled, Cashier will automatically notify customers
| whose payments require additional verification. You should listen to
| Stripe's webhooks in order for this feature to function correctly.
|
*/
'payment_notification' => env('CASHIER_PAYMENT_NOTIFICATION'),
/*
|--------------------------------------------------------------------------
| Invoice Paper Size
|--------------------------------------------------------------------------
|
| This option is the default paper size for all invoices generated using
| Cashier. You are free to customize this settings based on the usual
| paper size used by the customers using your Laravel applications.
|
| Supported sizes: 'letter', 'legal', 'A4'
|
*/
'paper' => env('CASHIER_PAPER', 'letter'),
/*
|--------------------------------------------------------------------------
| Stripe Logger
|--------------------------------------------------------------------------
|
| This setting defines which logging channel will be used by the Stripe
| library to write log messages. You are free to specify any of your
| logging channels listed inside the "logging" configuration file.
|
*/
'logger' => env('CASHIER_LOGGER'),
];

View File

@@ -1,269 +1,6 @@
<?php
return [
'extended' => [
'plans' => 'Plans',
'total' => 'Total',
'create_plan' => 'Create Plan',
'delete_plan' => 'Delete Plan',
'admin_page_plans.disclaimer_delete_plan' => 'You can delete this plan, but, pay attention! Your plan will be deleted, but users who are subscribed with this plan, will be still charged unless they cancel subscription.',
'description_optional' => 'Description (optional)',
'plan_description' => 'Plan description',
'type_plan_name' => 'Type plan name',
'plan_name' => 'Plan name',
'plan_price' => 'Plan price',
'admin_page_plans.form.status_help' => 'Status of your plan availability on website.',
'admin_page_plans.form.storage' => 'Storage Capacity in GB',
'admin_page_plans.form.storage_helper' => "You have to type only number e.g. value '5' means, user will have 5GB of storage capacity.",
'admin_page_plans.form.storage_plac' => 'Storage capacity',
'admin_page_plans.subscribers.empty' => 'There is no any subscriber yet.',
'subscribers' => 'Subscribers',
'settings' => 'Settings',
'billing_address' => 'Billing Address',
'admin_settings.billings.address_plac' => 'Type your billing address',
'billing_city' => 'Billing City',
'admin_settings.billings.city_plac' => 'Type your billing city',
'admin_settings.billings.company_name' => 'Company Name',
'admin_settings.billings.company_name_plac' => 'Type your company name',
'admin_settings.billings.country' => 'Billing Country',
'admin_settings.billings.country_plac' => 'Select your billing country',
'admin_settings.billings.phone_number' => 'Billing Phone Number (optional)',
'admin_settings.billings.phone_number_plac' => 'Type your billing phone number',
'admin_settings.billings.postal_code' => 'Billing Postal Code',
'admin_settings.billings.postal_code_plac' => 'Type your billing postal code',
'admin_settings.billings.section_billing' => 'Billing Information',
'admin_settings.billings.section_company' => 'Company Information',
'admin_settings.billings.state' => 'Billing State',
'admin_settings.billings.state_plac' => 'Type your billing state',
'admin_settings.billings.vat' => 'VAT Number',
'admin_settings.billings.vat_plac' => 'Type your VAT number',
'admin_settings.payments.stripe_pub_key' => 'Publishable Key',
'admin_settings.payments.stripe_pub_key_plac' => 'Paste your publishable key',
'admin_settings.payments.stripe_sec_key' => 'Secret Key',
'admin_settings.payments.stripe_sec_key_plac' => 'Paste your secret key',
'billings' => 'Billings',
'payments' => 'Payments',
'mo.' => 'Mo.',
'premium' => 'Premium',
'invoices' => 'Invoices',
'subscription' => 'Subscription',
'page_pricing_tables.storage_capacity' => 'Of Storage Capacity',
'page_pricing_tables.vat_excluded' => 'Price displayed excludes VAT.',
'popup_deleted_plan.title' => 'Plan was deleted',
'popup_subscription_cancel.message' => "You'll continue to have access to the features you've paid for until the end of your billing cycle.",
'popup_subscription_cancel.title' => 'Subscription Was Canceled',
'plan' => 'Plan',
'plan_delete' => 'Plan Delete',
'plan_settings' => 'Plan Settings',
'pricing_plans' => 'Pricing Plans',
'toaster.plan_created' => 'Your plan was successfully created!',
'toaster.credentials_set' => 'Your {service} credentials was successfully set!',
'user_invoices.empty' => "You don't have any invoices yet.",
'print_button' => 'Print Document',
'invoice' => 'Invoice',
'date' => 'Date',
'product' => 'Product',
'invoice_number' => 'Invoice Number',
'seller' => 'Seller',
'client' => 'Client',
'seller_vat' => 'VAT number',
'phone' => 'Phone',
'postal_code' => 'Postal code',
'price' => 'Price',
'charged_features' => 'Charged Features',
'team_members' => 'Team Members',
'add_max_team_members' => 'Add max team members in number',
'max_team_members_total' => 'Up to {value} Team Members',
'max_team_members.unlimited' => 'Unlimited Team Members',
'max_storage_amount' => '{value} GB Storage Size',
'monthly' => 'Monthly',
'yearly' => 'Yearly',
'month' => 'Month',
'year' => 'Year',
'bandwidth' => 'Bandwidth',
'storage' => 'Storage',
'flatFee' => 'Flat Fee',
'feature_usage_desc_flatFee' => 'Price for the service.',
'feature_usage_desc_bandwidth' => 'Data amount you transferred to/from your account.',
'feature_usage_desc_storage' => 'Total storage amount you are using.',
'feature_usage_desc_member' => 'Total members you invited to your team folders.',
'feature_usage_desc_platform' => 'Total storage amount you are using.',
'credit_to_auto_withdraw' => 'You own {credit} in credits that will be automatically withdrawn on your next payment.',
'transactions' => 'Transactions',
'not_any_transactions' => "There aren't any transactions.",
'service' => 'Service',
'payed_at' => 'Payed At',
'current_estimated_usage' => 'Your current estimated usage:',
'payment_was_successfully_received' => 'Your payment was successfully received.',
'failed_to_load_paypal' => 'Failed to load the PayPal service',
'cancel_payment' => 'Cancel Payment',
'not_any_payment_method' => "There isn't any payment method yet.",
'select_payment_method' => 'Select Payment Method',
'change_your_plan' => 'Change Your Plan',
'not_any_plan' => "There isn't any plan yet.",
'change_plan' => 'Change Plan',
'subscription_changed' => 'Your subscription was successfully changed.',
'expires' => 'Expires',
'want_to_delete_card_title' => 'Are you sure you want to delete your credit card?',
'want_to_delete_card_description' => 'We will no longer settle your payments automatically and you will have to fund your account for the next payments.',
'credit_card_deleted' => 'Your credit card was deleted.',
'billed_annually' => 'Billed Annually',
'restricted_account_warning' => 'Your functionality is restricted. Please review your billing settings.',
'subscription_type' => 'Subscription Type',
'subscription_type_note' => 'Please do not change in production environment.',
'select_subscription_type' => 'Select your subscription type',
'subscription_type_change_warn' => 'Are you sure you want to change subscription type?',
'subscription_type_change_warn_description' => 'We strongly do not recommend change this value if there is any subscribed user to prevent any failures. You can operate only with one type of subscription and you can not change it on the fly!',
'x_days_intervals' => '30 Days intervals',
'interval' => 'Interval',
'currency' => 'Currency',
'allow_pay_by_card' => 'Allow your users pay by their credit card',
'paste_webhook_secret' => 'Paste your webhook secret',
'configure_your_credentials' => 'Configure Your Credentials',
'allow_registration_bonus' => 'Allow Registration Bonus',
'allow_registration_bonus_description' => 'Credit user automatically bonus to his balance after registration.',
'registration_bonus_amount' => 'The Amount of Registration Bonus',
'registration_bonus_amount_description' => 'This bonus will be automatically added when user successfully register his account.',
'registration_bonus_amount_' => 'Type registration bonus amount...',
'metered_plan' => 'Metered Plan',
'metered_plan_description' => 'Your price set up for billing multiple features by user usage.',
'plan_details' => 'Plan Details',
'copy_webhook_note' => 'Please copy your url and paste it to the service webhook setup.',
'webhook_url' => 'Your Webhook URL',
'payment_description' => 'Payment Description',
'payment_description_note' => 'The description showed below user payment method selection.',
'additional_info_about_payment_method_' => 'Describe in short which methods user can pay with this payment method...',
'select_plan_currency' => 'Select plan currency',
'select_billing_interval' => 'Select billing interval',
'features' => 'Features',
'bandwidth_per_gb' => 'Bandwidth Price per 1GB',
'bandwidth_per_gb_note' => 'Charge your user by the amount of data he upload or download.',
'type_bandwidth_price' => 'Type the price per 1GB...',
'storage_per_gb' => 'Storage Price per 1GB',
'storage_per_gb_note' => 'Charge your user by the amount of data he has stored on the disk per 1GB.',
'type_storage_price' => 'Type the price per 1GB...',
'member_per_unit' => 'Price per 1 Member',
'member_per_unit_note' => 'Charge your user by the total members he use in his Team Folders.',
'type_member_price' => 'Type the price per 1 member...',
'flat_fee_unit_gb' => 'Flat Fee per Cycle',
'flat_fee_unit_gb_note' => 'Charge monthly flat fee.',
'type_flat_fee_price' => 'Type the price...',
'price_change_not_possible_create_new' => 'Price change is not possible. If you would like to change your price or currency, please feel free to create a new plan.',
'metered_billing_settings' => 'Metered Billing Settings',
'allow_subscription_payments' => 'Allow Subscription Payments',
'allow_subscription_payments_description' => 'User can subscribe to fixed or metered plan',
'subscription_payments' => 'Subscription Payments',
'free_plan_parameters' => '{storage}GB Free storage space with {members} Team members',
'active_until' => 'Active until {date}',
'ends_at_date' => 'Ends at {date}',
'price_per_month' => '{price} Per Month',
'price_per_year' => '{price} Per Year',
'balance_will_be_increased' => 'User balance will be increased for the amount above.',
'increase_for' => 'Increase user balance for...',
'increase_balance' => 'Increase Balance',
'balance_was_increased' => 'User balance was successfully increased',
'user_dont_have_transactions' => "User doesn't have any transactions yet.",
'billing_est.' => 'Billing Est.',
'ends_at' => 'Ends At',
'renews_at' => 'Renews At',
'create_first_plan' => 'Create First Plan',
'all_visible_subscriptions_here' => 'All your subscriptions will be visible here',
'all_visible_plans_here' => 'All your plans will be visible here',
'transaction_will_be_here' => 'All your transactions will be visible here',
'latest_transactions' => 'Latest Transactions',
'show_all_transactions' => 'Show all transactions',
'earnings' => 'Earnings',
'records_updated_daily_bases' => 'Records are updated on daily bases.',
'till_now' => 'till now',
'usage_estimates' => 'Usage Estimates',
'payment_method_update_redirect_description' => 'You will be redirected to your payment provider to edit your payment method.',
'update_payment_method' => 'Update your Payment Method',
'update_payments' => 'Update Payments',
'credit_card_stored' => 'Your credit card was stored successfully',
'store_my_credit_card' => 'Store My Credit Card',
'add_payment_method' => 'Add Payment Method',
'auto_settled_credit_card' => 'We are settling your payment automatically via your saved credit card.',
'payment_method' => 'Payment Method',
'unable_to_charge' => "We are unable to charge your usage. Please register new credit card or fund your account with sufficient amount and we'll give it another try!",
'failed_payments' => 'Failed Payments',
'upgrade_to_get_more' => 'Upgrade your account to get more.',
'free_plan' => 'Free Plan',
'want_cancel_subscription' => 'Are you sure you want to cancel subscription?',
'upgrade_downgrade_plan' => 'Upgrade or Downgrade Plan',
'upgrade_downgrade_plan_description' => 'You can upgrade your plan at any time you want.',
'cancel_now' => 'Cancel Now',
'cancel_subscription' => 'Cancel Subscription',
'cancel_subscription_description' => "You can cancel your subscription now. You'll continue to have access to the features you've paid for until the end of your billing cycle.",
'edit_your_subscription' => 'Edit your Subscription',
'want_to_delete_alert_description' => 'You will no longer receive any notifications that your billing limit has been exceeded.',
'want_to_delete_alert' => 'Are you sure you want to delete your alert?',
'alert_set_successfully' => 'Your billing alert was set successfully',
'alert_updated' => 'Your billing alert was updated successfully',
'set_alert' => 'Set Alert',
'update_alert' => 'Update Alert',
'deleted_alert' => 'Your billing alert was deleted.',
'alert_amount_' => 'Alert Amount...',
'billing_alert' => 'Billing Alert',
'billing_alert_description' => 'Alert will be triggered after you reach the value above.',
'billing_alert_notes' => 'You will receive an email whenever your monthly balance reaches the specified amount above.',
'make_payment' => 'Make a Payment',
'fund_account_balance' => 'Fund Your Account Balance...',
'amount_increase_description' => 'The amount will be increased as soon as we register your charge from payment gateway.',
'balance' => 'Balance',
'upgrade_account' => 'Upgrade Account',
'upgrade_your_account' => 'Upgrade Your Account',
'upload_temporarily_disabled' => 'Upload is temporarily disabled',
'upload_temporarily_disabled_note' => 'Please review your billing settings.',
'create_folder_temporarily_disabled' => 'Folder creation is temporarily disabled',
'create_folder_temporarily_disabled_desc' => 'Please review your billing settings.',
'download_temporarily_disabled' => 'File download is temporarily disabled',
'download_temporarily_disabled_desc' => 'Please review your billing settings.',
'billing' => 'Billing',
'usage' => 'usage',
'charge' => 'Charge',
'credit' => 'Credit',
'withdrawal' => 'Withdrawal',
'interval.year' => 'Yearly',
'interval.month' => 'Monthly',
'subscriptions' => 'Subscriptions',
'show_billing' => 'Show Billing',
'billing_alert_reached_short' => 'Billing Alert Reached!',
'billing_alert_reached_short_note' => 'The billing alert you set previously has been reached. Please revise your spending.',
'billing_alert_reached_long' => 'Your billing alert has been reached!',
'billing_alert_reached_long_note' => 'The billing alert you set previously has been reached. Please go to your user account and revise your spending',
'you_received_bonus' => 'You Received :bonus',
'you_received_bonus_note' => 'You received credit bonus :bonus from us. Happy spending!',
'you_received_registration_bonus_note' => 'You received credit bonus :bonus for your registration. Happy spending!',
'withdrawal_failed_short' => 'Withdrawal Failed',
'withdrawal_failed_short_note' => "Your credit withdrawal for your account didn't go through. Please make sure you have sufficient funds on your account.",
'withdrawal_failed_long' => 'Uh-oh! Your credit withdrawal for your pre-paid subscription failed',
'withdrawal_failed_long_note' => "It looks like your subscription credit withdrawal for your account didn't go through. Please make sure you have sufficient funds on your account and we'll give it another try!",
'fund_your_account' => 'Fund Your Account',
'subscription_created_short' => 'Subscription Has Been Created',
'subscription_created_short_note' => 'Your subscription :plan has been successfully created',
'subscription_created_long' => 'Your subscription :plan has been successfully created',
'subscription_created_long_note' => 'You have been successfully subscribed to your :plan subscription. Now you can take full advantage of our platform.',
'go_to_subscription' => 'Go to Subscription',
'charge_from_card_failed_subject' => 'Uh-oh! Your withdrawal from your credit card for pre-paid subscription failed',
'charge_from_card_failed_line' => "It looks like withdrawal from your credit card for pre-paid subscription for your account didn't go through. Please check your credit card or register new credit card for your account and we'll give it another try!",
'charge_from_card_failed_action' => 'Go to Billing Settings',
'charge_from_card_failed_again_subject' => 'Uh-oh! Your withdrawal from your credit card for pre-paid subscription failed once again',
'charge_from_card_failed_again_line' => "It looks like withdrawal from your credit card for pre-paid subscription for your account didn't go through once again. Please check your credit card or register new credit card for your account and we'll give it another try!",
'charge_from_card_failed_again_action' => 'Update Your Payment Information',
'confirm_payment' => 'Confirm Payment',
'confirm_payment_greeting' => 'Confirm your :amount payment',
'confirm_payment_line' => 'Extra confirmation is needed to process your payment. Please continue to the payment page by clicking on the button below.',
'confirm_payment_action' => 'Confirm Payment',
'registration_bonus' => 'Registration Bonus',
'number' => 'Number',
'head_office' => 'Head Office',
'vat_id' => 'VAT ID',
'date_of_issue' => 'Date of issue',
'period' => 'Period',
'Description' => 'description',
'description' => 'description',
'generated_by' => 'Generated by',
],
'regular' => [
'type' => 'Type',
'cancel' => 'Cancel',
@@ -278,7 +15,6 @@ return [
'sorting_view' => 'Sorting and View',
'upload_files' => 'Upload Files',
'dashboard' => 'Dashboard',
'pages' => 'Pages',
'settings' => 'Settings',
'users' => 'Users',
'license' => 'License',
@@ -304,14 +40,7 @@ return [
'storage_used' => 'Storage Used',
'detail' => 'Detail',
'password' => 'Password',
'content' => 'Content',
'admin_pages.form.content_plac' => 'Type your content here...',
'slug' => 'Slug',
'title' => 'Title',
'admin_pages.form.title_plac' => 'Title name',
'visibility' => 'Visibility',
'admin_pages.form.visibility_help' => 'Status of your page visibility on website.',
'page' => 'Page',
'status' => 'Status',
'admin_settings.appearance.description' => 'App Description',
'admin_settings.appearance.description_plac' => 'Type your app description',
@@ -331,12 +60,7 @@ return [
'admin_settings.email.password_plac' => 'Type your mail password',
'admin_settings.email.port' => 'Mail Port',
'admin_settings.email.save_button' => 'Save Email Settings',
'admin_settings.others.allow_registration' => 'Allow User Registration',
'admin_settings.others.allow_registration_help' => 'You can disable public registration for new users. You will still able to create new users in administration panel.',
'admin_settings.others.allow_user_verification' => 'Allow User Email Verification',
'clear_cache' => 'Clear Cache',
'admin_settings.others.contact_email' => 'Contact Email',
'admin_settings.others.contact_email_plac' => 'Type your contact email',
'admin_settings.others.default_storage' => 'Default Storage Space for User Accounts (in GB)',
'admin_settings.others.default_storage_plac' => 'Set default storage space in GB',
'admin_settings.others.google_analytics' => 'Google Analytics Code (optional)',
@@ -352,7 +76,6 @@ return [
'appearance' => 'Appearance',
'admin_settings.tabs.others' => 'Application',
'alerts.error_confirm' => 'Thats horrible!',
'alerts.leave_to_sign_in' => 'Do you really want to leave?',
'alerts.success_confirm' => 'Awesome!',
'add_to_favourites' => 'Add to Favourites',
'download' => 'Download',
@@ -366,8 +89,6 @@ return [
'cancel_sharing' => 'Cancel Sharing',
'edit_sharing' => 'Edit Sharing',
'upload' => 'Upload',
'cookie_disclaimer.button' => 'cookies policy',
'cookie_disclaimer.description' => 'By browsing this website you are agreeing to our {0}',
'datatable.paginate_info' => 'Showing 1 - {visible} from {total} records',
'empty_page.call_to_action' => 'Upload Files',
'empty_page.description' => 'Upload some files here easily via upload button.',
@@ -502,7 +223,6 @@ return [
'popup_create_folder.title' => 'Create Folder',
'popup_deleted_user.message' => 'Your user was deleted with all user data content.',
'popup_deleted_user.title' => 'User was deleted',
'popup_deleted_user_aborted.message' => "You can't delete this account while user have active subscription.",
'popup_deleted_user_aborted.title' => "User wasn't deleted",
'popup_error.message' => "Something went wrong and we can't continue. Please contact us.",
'popup_error.title' => 'Whooops, something went wrong!',
@@ -591,24 +311,10 @@ return [
'user_box_storage.description' => "Change user storage capacity by input above. You have to type only number e.g. value '5' means, user will have 5GB of storage capacity.",
'user_box_storage.title' => 'Change User Storage Capacity',
'user_password.title' => 'Change Your Password',
'address' => 'Address',
'user_settings.address_plac' => 'Type your billing address',
'city' => 'City',
'user_settings.city_plac' => 'Type your billing city',
'country' => 'Country',
'user_settings.country_plac' => 'Select your billing country',
'name' => 'Name',
'user_settings.name_plac' => 'Type your billing name',
'phone_number' => 'Phone Number',
'user_settings.phone_number_plac' => 'Type your billing phone number',
'postal_code' => 'Postal Code',
'postal_code_plac' => 'Type your postal code',
'state' => 'State',
'user_settings.state_plac' => 'Type your billing state',
'timezone' => 'Timezone',
'select_your_timezone' => 'Select your timezone',
'account_information' => 'Account Information',
'billing_information' => 'Billing Information',
'validation_errors.incorrect_2fa_code' => 'Sorry, you passed incorrect or expired code',
'validation_errors.incorrect_2fa_recovery_code' => 'Sorry, you passed incorrect recovery code',
'validation_errors.incorrect_password' => 'Sorry, you passed incorrect password :(',
@@ -682,7 +388,6 @@ return [
'popup_delete_personal_token.description' => 'Any applications or scripts using this token will no longer be able to access into your account. You cannot undo this action.',
'personal_token.token_deleted' => 'Token was successfully deleted!',
'dark_mode_toggle' => 'Toggle Dark Mode',
'convert_into_team_folder' => 'Convert into Team Folder',
'create_something' => 'Create Something',
'popup.share.email_send' => 'Send link by Email',
'popup.share.email_description' => 'Send your share link via email to many recipients.',
@@ -691,34 +396,7 @@ return [
'popup.share.password_description' => 'Protect your item by your custom password.',
'sharelink.share_via_email' => 'Share Link on Emails',
'sharelink.copy_embed' => 'Copy Web Insert Code',
'popup.move_into_team_disclaimer' => 'Your folder <b class="text-theme dark-text-theme">will be moved</b> into Team Folders section.',
'upload_folder' => 'Upload Folder',
'member' => 'Members',
'request_for_upload' => '{name} is Asking You For Files',
'upload_request' => 'Upload Request',
'request_for_upload_success' => 'Upload Request for {name} was Fulfilled Successfully',
'request_for_upload_expired' => 'Upload Request Expired',
'automatically_uploads_for_file_request' => 'Your files will be uploaded automatically and after that, you can organize your files in folders.',
'request_for_upload_unavailable' => 'This upload request is no longer available for uploading files.',
'closing_request_for_upload' => 'Are you sure you uploaded all files you want for {name}?',
'closing_request_for_upload_warn' => "You won't be able to upload any files here once again.",
'user_leave_message' => '{name} leave you a message',
'tell_you_are_done' => 'Tell {name} you are done!',
'user_invite_you_into_team_folder' => '{name} invite you to join with his team into shared team folder',
'register_with_email_and_get_folder' => 'Register account with your email {email} and get access to this Team Folder.',
'invite_to_join_team_folder' => 'Invitation To Join Team Folder',
'or_decline_your_invitation' => 'Or {0} your invitation.',
'decline' => 'Decline',
'you_are_successfully_joined' => 'You are successfully joined',
'proceed_to_participate_with_team' => 'You can now proceed to your account and participate in team folder',
'proceed_to_your_account' => 'Proceed to your account',
'go_to_team_folder' => 'Go to Team Folder',
'you_denied_invitation' => 'You are successfully denied invitation',
'invitation_used' => 'Your invitation has been used',
'invitation_used_description' => 'We are sorry but this invitation was used previously',
'go_to_your_shared_folders' => 'Go to your shared folders',
'accept_invitation' => 'Accept Invitation',
'accept_and_register' => 'Accept and Register Account',
'application' => 'Application',
'account_settings' => 'Account Settings',
'first_name' => 'First Name',
@@ -735,12 +413,6 @@ return [
'total_of' => 'Total of {capacity}',
'used' => 'Used',
'in_last_x_days' => 'In last 45 days',
'edit_members' => 'Edit Members',
'dissolve_team' => 'Dissolve Team',
'edit_team_members' => 'Edit Team Members',
'file_request' => 'File Request',
'create_team_folder_description' => 'Collaborate on your files with your team easily by creating new team folder.',
'create_team_folder' => 'Create Team Folder',
'spotlight' => 'Spotlight',
'your_trash_is_empty' => 'Your Trash is Empty',
'your_trash_is_empty_desc' => 'After you delete the files, you can restore them from trash.',
@@ -748,34 +420,14 @@ return [
'upload_or_create' => 'Upload / Create',
'base' => 'Base',
'not_any_folder' => "There isn't any folder.",
'collaboration' => 'Collaboration',
'team_folders' => 'Team Folders',
'shared_with_me' => 'Shared with Me',
'broadcasting' => 'Broadcasting',
'view' => 'View',
'sorting' => 'Sorting',
'accept' => 'Accept',
'you_accepted_invitation' => 'You successfully accepted invitation',
'you_decline_invitation' => 'You successfully decline invitation',
'notification_center' => 'Notification Center',
'clear_all' => 'Clear all',
'not_any_notifications' => "There aren't any notifications.",
'unread' => 'Unread',
'read' => 'Read',
'notifications' => 'Notifications',
'options' => 'Options',
'loading_content' => 'loading content...',
'note' => 'Note',
'user_was_deleted' => 'User was deleted',
'max_storage' => 'Max Storage',
'create_file_request' => 'Create File Request',
'convert_as_team_folder' => 'Convert as Team Folder',
'leave_team_folder' => 'Leave the Team Folder',
'nothing_shared_with_you' => 'Nothing Shared With You',
'nothing_shared_with_you_description' => 'All items that are shared with you will be visible here.',
'you_left_team_folder' => 'You have successfully left the team folder',
'there_is_nothing' => 'There is Nothing',
'frequently_used' => 'Frequently Used',
'there_is_nothing_smile' => 'There is nothing :(',
'cache' => 'Cache',
'cache_note' => 'Did you change anything in your .env file? Then clear your cache.',
@@ -796,14 +448,6 @@ return [
'send' => 'Send',
'show_details' => 'Show Details',
'select_or_search_emoji' => 'Select or search emoji icon...',
'create_request' => 'Create Request',
'copy_upload_request_link' => 'Copy your upload request link',
'type_email_' => 'Type email...',
'send_request_by_email' => 'Send Request by Email',
'send_request_by_email_description' => 'Send your file request on recipients email',
'message_for_recipient' => 'Type message for recipient...',
'message_optional' => 'Message (optional)',
'message_optional_description' => 'This message will be showed for your email recipient or in the upload page.',
'folder_name_optional' => 'Folder Name (optional)',
'folder_name_optional_description' => 'Created folder with files will be named with your own name.',
'type_name_' => 'Type name...',
@@ -817,13 +461,9 @@ return [
'reset_user_password' => 'Reset User Password',
'server' => 'Server',
'environment' => 'Environment',
'homepage' => 'Homepage',
'allow_homepage' => 'Allow Homepage',
'allow_homepage_note' => 'When this is turned on, your visitors can visit your default homepage.',
'storage_upload' => 'Storage & Upload',
'allow_recaptcha' => 'Allow ReCaptcha',
'allow_recaptcha_note' => 'ReCaptcha will be allowed on Registration and Contact Us forms.',
'login_and_registration' => 'Login & Registration',
'account' => 'Account',
'search' => 'Search',
'latest_registrations' => 'Latest Registrations',
@@ -831,34 +471,14 @@ return [
'total_users' => 'Total Users',
'temporary_unavailable' => 'Temporary Unavailable',
'shared_link_temporary_unavailable' => 'Unfortunately, this shared link is temporary unavailable. Please try it later.',
'not_selected' => 'Not selected',
'waiting_for_accept_invitation' => 'Waiting for accept invitation...',
'team_folder_updated' => 'Your team folder was updated',
'update_team_folder' => 'Update Team Folder',
'edit_team_folder' => 'Edit Team Folder',
'upgrade_to_invite_members' => 'You have to upgrade your account to add this new member.',
'type_valid_email' => 'You have to type valid email',
'team_was_invited' => 'Your Team was invited successfully.',
'team_was_invited_and_folder_moved' => 'Your Team was invited and folder was moved into Team Folders section.',
'move_and_invite_members' => 'Move & Invite Members',
'add_at_least_one_member' => 'Please add at least one member.',
'add_at_least_one_member_into_team_folder' => 'Please add at least one member into your Team Folders.',
'your_members' => 'Your Members',
'type_member_email_' => 'Type member email...',
'add_member' => 'Add Member',
'go_to_dashboard' => 'Go To Dashboard',
'go_to_settings' => 'Go To Settings',
'go_to_payments' => 'Payments / Settings',
'go_to_pages' => 'Go To Pages',
'go_to_languages' => 'Go To Languages',
'show_all_plans' => 'Show all Plans',
'show_transactions' => 'Show Transactions',
'go_home_spotlight' => 'Go Home',
'go_to_recent_uploads' => 'Go To Recent Uploads',
'go_to_publicly_shared' => 'Go To Publicly Shared',
'go_to_trash' => 'Go To Trash',
'go_to_team_folders' => 'Go To Team Folders',
'go_to_shared_with_me' => 'Go To Shared with Me',
'update_profile_settings' => 'Update Profile Settings',
'update_security_api' => 'Update Security & API',
'show_storage_details' => 'Show Storage Details',
@@ -867,15 +487,12 @@ return [
'toggle_dark_light_mode' => 'Toggle Dark/Light Mode',
'toggle_full_screen_mode' => 'Toggle Full-Screen Mode',
'toggle_emoji_type' => 'Toggle Emoji Type',
'show_all_subscriptions' => 'Show all Subscriptions',
'write_feedback' => 'Write a Feedback',
'branding' => 'Branding',
'save_broadcast_settings' => 'Save Broadcast Settings',
'save_storage_settings' => 'Save Storage Settings',
'storage_driver' => 'Storage Driver',
'mail_driver' => 'Mail Driver',
'select_mail_driver' => 'Select your mail driver',
'broadcast_driver_updated' => 'Your broadcast driver was updated.',
'storage_driver_updated' => 'Your storage driver was updated.',
'spotlight_search' => 'Spotlight search...',
'add' => 'Add',
@@ -883,56 +500,22 @@ return [
'can_view' => 'Can View',
'exceed_upload_limit' => 'You exceeded your upload limit',
'exceed_upload_limit_description' => 'Unfortunately, you can not upload your file.',
'really_dissolve_team' => 'Are you sure you want to dissolve this team?',
'really_dissolve_team_desc' => 'All team members will lose access to your files and existing folder will be moved into your "Files" section.',
'really_leave_team' => 'Are you sure you want to leave this team folder?',
'really_leave_team_desc' => "You will don't have access to the files and all your previously uploaded content will be part of this Team Folder you are leaving.",
'images' => 'Images',
'videos' => 'Videos',
'audios' => 'Audios',
'documents' => 'Documents',
'paginator' => 'Showing {from} - {to} from {total} records',
'require_email_verification' => 'Require Verify Email Address',
'require_email_verification_note' => 'Turn on, if you want verify user email address after registration.',
'completed' => 'Completed',
'error' => 'Error',
'cancelled' => 'Cancelled',
'active' => 'Active',
'archived' => 'Archived',
'inactive' => 'Inactive',
'total_x_of_x_used' => 'Total {use} of {total} Used',
'total_x_of_x_members' => 'Total {use} of {total} Members',
'go_back_from_x' => 'Go back from {location}',
'new_team_invitation' => 'New Team Invitation',
'x_invite_to_join_team' => ':name invite you to join into Team Folder.',
'team_invitation_notify_title' => 'You are invited to collaboration with team folder in :app',
'team_invitation_notify_desc' => 'You are invited to collaboration with team folder',
'team_invitation_notify_desc_without_account' => 'You are invited to collaboration with team folder. But at first, you have to create an account to proceed into team folder.',
'join_into_team_folder' => 'Join into Team Folder',
'join_and_create_account' => 'Join & Create an Account',
'file_request_filled' => 'File Request Filled',
'file_request_filled_desc' => "Your file request for ':name' folder was filled successfully.",
'show_files' => 'Show Files',
'file_request_filled_mail' => "Your file request was fulfilled in your ':name' folder",
'file_request_filled_mail_note' => 'We are emailing you because your file request was fulfilled. Please click on the link below to show uploaded files.',
'thanks_salutation' => 'Thank you for using our application!',
'upload_your_files' => 'Upload your Files',
'file_request_optional_message' => 'PS: :name left you a message: :notes',
'file_request_notify_title' => ':name Request You for File Upload',
'file_request_notify_description' => 'We are emailing you because :name requested files from you. Please click on the link below and upload your files for :name.',
'user_action_not_allowed' => 'This user action is not allowed.',
'pcs.' => 'Pcs.',
'mem.' => 'Mem.',
'password_doesnt_match' => 'The provided password does not match your current password.',
'amount' => 'Amount',
'upload_request_default_folder' => 'Upload Request from :timestamp',
'copy_direct_download_link' => 'Copy Direct Download Link',
'direct_link_copied' => 'Your direct download link was copied',
'application_settings' => 'Application / Settings',
'login_registration_settings' => 'Login & Registration / Settings',
'appearance_settings' => 'Appearance / Settings',
'adsense_settings' => 'Adsense / Settings',
'homepage_settings' => 'Homepage / Settings',
'environment_settings' => 'Environment / Settings',
'server_settings' => 'Server / Settings',
'user_features' => 'User Features',
@@ -940,15 +523,5 @@ return [
'set_up_2fa_app' => 'Set up Your Authenticator App',
'confirm_your_code' => 'Confirm Your Code',
'paste_code_from_2fa_app' => 'Paste the latest code from 2fa app...',
'zero_for_unlimited_members' => 'Type -1 to set unlimited team members.',
'max_team_members' => 'Max Team Members',
'remote_upload' => 'Remote Upload',
'upload_files_remotely' => 'Upload Files Remotely',
'remote_links' => 'Remote Links',
'remote_links_help' => 'For every new line paste one link and we will give a try to download the file.',
'paste_remote_links_here' => 'Paste your links to the files here...',
'remote_download_finished' => 'Remote upload was successfully finished',
'remote_upload_progress' => 'Uploading Remotely - {processed} / {total}',
'remote_upload_failed_count' => 'Failed: {count}',
],
];

View File

@@ -1,51 +0,0 @@
<?php
return [
/*
* Get gateway credentials
*/
'credentials' => [
'stripe' => [
'secret' => env('STRIPE_SECRET_KEY'),
'public_key' => env('STRIPE_PUBLIC_KEY'),
'webhook_key' => env('STRIPE_WEBHOOK_SECRET'),
],
'paystack' => [
'secret' => env('PAYSTACK_SECRET'),
'public_key' => env('PAYSTACK_PUBLIC_KEY'),
],
'paypal' => [
'id' => env('PAYPAL_CLIENT_ID'),
'secret' => env('PAYPAL_CLIENT_SECRET'),
'webhook_id' => env('PAYPAL_WEBHOOK_ID'),
'is_live' => env('PAYPAL_IS_LIVE'),
],
],
'notifications' => [
'ChargeFromCreditCardFailedAgainNotification' => \Domain\Subscriptions\Notifications\ChargeFromCreditCardFailedAgainNotification::class,
'ChargeFromCreditCardFailedNotification' => \Domain\Subscriptions\Notifications\ChargeFromCreditCardFailedNotification::class,
'SubscriptionWasCreatedNotification' => \Domain\Subscriptions\Notifications\SubscriptionWasCreatedNotification::class,
'BillingAlertTriggeredNotification' => \Domain\Subscriptions\Notifications\BillingAlertTriggeredNotification::class,
'ConfirmStripePaymentNotification' => \Domain\Subscriptions\Notifications\ConfirmStripePaymentNotification::class,
'InsufficientBalanceNotification' => \Domain\Subscriptions\Notifications\InsufficientBalanceNotification::class,
'BonusCreditAddedNotification' => \Domain\Subscriptions\Notifications\BonusCreditAddedNotification::class,
],
'metered_billing' => [
'settlement_period' => 30,
],
'paystack' => [
/*
* List of allowed ip address to verify paystack webhook request
*/
'allowed_ips' => [
'52.214.14.220',
'52.49.173.169',
'52.31.139.75',
],
],
'is_demo' => env('APP_DEMO', false),
];

View File

@@ -1,138 +0,0 @@
<?php
use BeyondCode\LaravelWebSockets\Dashboard\Http\Middleware\Authorize;
return [
/*
* Set a custom dashboard configuration
*/
'dashboard' => [
'port' => env('PUSHER_APP_PORT', 6001),
],
/*
* This package comes with multi tenancy out of the box. Here you can
* configure the different apps that can use the webSockets server.
*
* Optionally you specify capacity so you can limit the maximum
* concurrent connections for a specific app.
*
* Optionally you can disable client events so clients cannot send
* messages to each other via the webSockets.
*/
'apps' => [
[
'id' => env('PUSHER_APP_ID'),
'name' => env('APP_NAME'),
'key' => env('PUSHER_APP_KEY'),
'secret' => env('PUSHER_APP_SECRET'),
'path' => env('PUSHER_APP_PATH'),
'capacity' => null,
'enable_client_messages' => false,
'enable_statistics' => false,
],
],
/*
* This class is responsible for finding the apps. The default provider
* will use the apps defined in this config file.
*
* You can create a custom provider by implementing the
* `AppProvider` interface.
*/
'app_provider' => BeyondCode\LaravelWebSockets\Apps\ConfigAppProvider::class,
/*
* This array contains the hosts of which you want to allow incoming requests.
* Leave this empty if you want to accept requests from all hosts.
*/
'allowed_origins' => explode(',', env('PUSHER_APP_ALLOWED_ORIGIN', '')),
/*
* The maximum request size in kilobytes that is allowed for an incoming WebSocket request.
*/
'max_request_size_in_kb' => 250,
/*
* This path will be used to register the necessary routes for the package.
*/
'path' => 'websockets',
/*
* Dashboard Routes Middleware
*
* These middleware will be assigned to every dashboard route, giving you
* the chance to add your own middleware to this list or change any of
* the existing middleware. Or, you can simply stick with this list.
*/
'middleware' => [
'web',
Authorize::class,
],
'statistics' => [
/*
* This model will be used to store the statistics of the WebSocketsServer.
* The only requirement is that the model should extend
* `WebSocketsStatisticsEntry` provided by this package.
*/
'model' => \BeyondCode\LaravelWebSockets\Statistics\Models\WebSocketsStatisticsEntry::class,
/**
* The Statistics Logger will, by default, handle the incoming statistics, store them
* and then release them into the database on each interval defined below.
*/
'logger' => BeyondCode\LaravelWebSockets\Statistics\Logger\HttpStatisticsLogger::class,
/*
* Here you can specify the interval in seconds at which statistics should be logged.
*/
'interval_in_seconds' => 60,
/*
* When the clean-command is executed, all recorded statistics older than
* the number of days specified here will be deleted.
*/
'delete_statistics_older_than_days' => 60,
/*
* Use an DNS resolver to make the requests to the statistics logger
* default is to resolve everything to 127.0.0.1.
*/
'perform_dns_lookup' => false,
],
/*
* Define the optional SSL context for your WebSocket connections.
* You can see all available options at: http://php.net/manual/en/context.ssl.php
*/
'ssl' => [
/*
* Path to local certificate file on filesystem. It must be a PEM encoded file which
* contains your certificate and private key. It can optionally contain the
* certificate chain of issuers. The private key also may be contained
* in a separate file specified by local_pk.
*/
'local_cert' => env('LARAVEL_WEBSOCKETS_SSL_LOCAL_CERT', null),
/*
* Path to local private key file on filesystem in case of separate files for
* certificate (local_cert) and private key.
*/
'local_pk' => env('LARAVEL_WEBSOCKETS_SSL_LOCAL_PK', null),
/*
* Passphrase for your local_cert file.
*/
'passphrase' => env('LARAVEL_WEBSOCKETS_SSL_PASSPHRASE', null),
],
/*
* Channel Manager
* This class handles how channel persistence is handled.
* By default, persistence is stored in an array by the running webserver.
* The only requirement is that the class should implement
* `ChannelManager` interface provided by this package.
*/
'channel_manager' => \BeyondCode\LaravelWebSockets\WebSockets\Channels\ChannelManagers\ArrayChannelManager::class,
];

View File

@@ -28,7 +28,7 @@
"/chunks/app-others.js": "/chunks/app-others.js?id=cd03b2c76baae7df",
"/chunks/app-server.js": "/chunks/app-server.js?id=ff66d34e90ff98a0",
"/chunks/app-language.js": "/chunks/app-language.js?id=041070825d222906",
"/chunks/successfully-email-send.js": "/chunks/successfully-email-send.js?id=170d814982e1c475",
"/chunks/successfully-email-send.js": "/chunks/successfully-email-send.js?id=b11c04d73c59a232",
"/chunks/sign-in.js": "/chunks/sign-in.js?id=2f17cf87141126c8",
"/chunks/forgotten-password.js": "/chunks/forgotten-password.js?id=27cda9364b6593d8",
"/chunks/create-new-password.js": "/chunks/create-new-password.js?id=2f0401ee2fc148c4",

View File

@@ -3,7 +3,6 @@
<!--UI components-->
<Alert />
<ToasterWrapper />
<CookieDisclaimer />
<!--Show spinner before translations is loaded-->
<Spinner v-if="!isLoaded" />
@@ -21,7 +20,6 @@
<script>
import ToasterWrapper from './components/Toaster/ToasterNotifications'
import SidebarNavigation from "./components/Sidebar/SidebarNavigation"
import CookieDisclaimer from './components/UI/Others/CookieDisclaimer'
import Spinner from './components/UI/Others/Spinner'
import Vignette from './components/UI/Others/Vignette'
import Alert from './components/Popups/Alert'
@@ -32,7 +30,6 @@ export default {
name: 'App',
components: {
SidebarNavigation,
CookieDisclaimer,
ToasterWrapper,
Vignette,
Spinner,

View File

@@ -1,46 +0,0 @@
<template>
<div
v-if="isVisibleDisclaimer"
class="fixed bottom-0 left-0 right-0 z-20 w-full rounded-tl-xl rounded-tr-lg bg-white p-4 shadow-xl dark:bg-dark-foreground sm:left-16 sm:right-auto sm:w-56 sm:p-3"
>
<span @click="closeDisclaimer" class="absolute -right-1 -top-1 cursor-pointer p-3">
<x-icon size="10" />
</span>
<i18n path="cookie_disclaimer.description" tag="p" class="text-xs">
<router-link :to="{ name: 'DynamicPage', params: { slug: 'cookie-policy' } }" class="text-theme text-xs">
{{ $t('cookie_disclaimer.button') }}
</router-link>
</i18n>
</div>
</template>
<script>
import { XIcon } from 'vue-feather-icons'
import { mapGetters } from 'vuex'
export default {
name: 'CookieDisclaimer',
components: {
XIcon,
},
computed: {
...mapGetters(['config']),
},
data() {
return {
isVisibleDisclaimer: false,
}
},
methods: {
closeDisclaimer() {
localStorage.setItem('isHiddenDisclaimer', 'true')
this.isVisibleDisclaimer = false
},
},
created() {
this.isVisibleDisclaimer =
this.config.installation === 'installation-done' && !localStorage.getItem('isHiddenDisclaimer')
},
}
</script>

View File

@@ -7,7 +7,7 @@
/>
<span class="block">
<router-link :to="{ name: 'Homepage' }" class="text-theme font-bold">
<router-link :to="{ name: 'SignIn' }" class="text-theme font-bold">
{{ $t('go_home') }}
</router-link>
</span>

View File

@@ -1,183 +0,0 @@
<template>
<div class="landing-page">
<!--Navigation-->
<Navigation class="page-wrapper small" />
<!--Page content-->
<div class="page-wrapper small">
<!--Headline-->
<PageTitle
class="headline"
:title="$t('contact_us')"
:description="$t('page_contact_us.description')"
></PageTitle>
<ValidationObserver
v-if="!isSuccess"
@submit.prevent="contactForm"
ref="contactForm"
v-slot="{ invalid }"
tag="form"
class="form block-form"
>
<div class="block-wrapper">
<label>{{ $t('email') }}:</label>
<ValidationProvider tag="div" mode="passive" name="E-Mail" rules="required" v-slot="{ errors }">
<input
v-model="contact.email"
:placeholder="$t('page_contact_us.form.email_plac')"
type="email"
class="focus-border-theme input-dark"
:class="{ '!border-rose-600': errors[0] }"
/>
<span class="error-message" v-if="errors[0]">{{ errors[0] }}</span>
</ValidationProvider>
</div>
<div class="block-wrapper">
<label>{{ $t('message') }}:</label>
<ValidationProvider tag="div" mode="passive" name="Message" rules="required" v-slot="{ errors }">
<textarea
v-model="contact.message"
:placeholder="$t('page_contact_us.form.message_plac')"
rows="6"
class="focus-border-theme input-dark"
:class="{ '!border-rose-600': errors[0] }"
></textarea>
<span class="error-message" v-if="errors[0]">{{ errors[0] }}</span>
</ValidationProvider>
</div>
<InfoBox v-if="isError">
<p>{{ $t('page_contact_us.error_message') }}</p>
</InfoBox>
<div>
<AuthButton
class="submit-button"
icon="chevron-right"
:text="$t('send_message')"
:loading="isLoading"
:disabled="isLoading"
/>
</div>
</ValidationObserver>
<InfoBox v-if="isSuccess" class="!mb-0">
<p>{{ $t('page_contact_us.success_message') }}</p>
</InfoBox>
</div>
<!--Footer-->
<PageFooter />
</div>
</template>
<script>
import { ValidationProvider, ValidationObserver } from 'vee-validate/dist/vee-validate.full'
import PageTitle from '../../components/IndexPage/Components/PageTitle'
import PageFooter from '../../components/IndexPage/IndexPageFooter'
import Navigation from '../../components/IndexPage/IndexNavigation'
import InfoBox from '../../components/UI/Others/InfoBox'
import AuthButton from '../../components/UI/Buttons/AuthButton'
import { required } from 'vee-validate/dist/rules'
import { mapGetters } from 'vuex'
import axios from 'axios'
export default {
name: 'ContactUs',
components: {
ValidationProvider,
ValidationObserver,
AuthButton,
PageFooter,
Navigation,
PageTitle,
required,
InfoBox,
},
computed: {
...mapGetters(['config']),
},
data() {
return {
isLoading: false,
isSuccess: false,
isError: false,
contact: {
email: '',
message: '',
reCaptcha: null,
},
}
},
methods: {
async contactForm() {
// Validate fields
const isValid = await this.$refs.contactForm.validate()
if (!isValid) return
// Start loading
this.isLoading = true
// Get ReCaptcha token
if (config.allowedRecaptcha) {
this.register.reCaptcha = await this.$reCaptchaToken('register').then((response) => {
return response
})
}
// Send request to get user token
axios
.post('/api/contact', this.contact)
.then(() => {
this.isSuccess = true
})
.catch(() => {
this.isError = true
})
.finally(() => {
// End loading
this.isLoading = false
})
},
},
created() {
this.$scrollTop()
},
}
</script>
<style lang="scss" scoped>
@import '../../../sass/vuefilemanager/landing-page';
@import '../../../sass/vuefilemanager/variables';
@import '../../../sass/vuefilemanager/mixins';
@import '../../../sass/vuefilemanager/forms';
.form {
max-width: 100%;
}
.headline {
padding-top: 70px;
padding-bottom: 50px;
}
.form.block-form {
.submit-button {
margin-top: 20px;
margin-left: 0;
margin-right: 0;
}
}
.dark {
}
@media only screen and (max-width: 960px) {
.headline {
padding-top: 50px;
padding-bottom: 30px;
}
}
</style>

View File

@@ -1,91 +0,0 @@
<template>
<div class="landing-page">
<!--Navigation-->
<Navigation class="page-wrapper small" />
<!--Page content-->
<div class="page-wrapper small">
<!--Headline-->
<PageTitle class="headline" :title="page.data.attributes.title"></PageTitle>
<!--Content-->
<div class="page-content" v-html="page.data.attributes.content_formatted"></div>
</div>
<!--Footer-->
<PageFooter />
</div>
</template>
<script>
import PageTitle from '../../components/IndexPage/Components/PageTitle'
import PageFooter from '../../components/IndexPage/IndexPageFooter'
import Navigation from '../../components/IndexPage/IndexNavigation'
import { mapGetters } from 'vuex'
import axios from 'axios'
export default {
name: 'DynamicPage',
components: {
PageFooter,
Navigation,
PageTitle,
},
computed: {
...mapGetters(['config']),
},
data() {
return {
isLoading: false,
page: undefined,
}
},
watch: {
$route(to, from) {
this.getPage()
},
},
methods: {
getPage() {
axios.get('/api/page/' + this.$route.params.slug).then((response) => {
this.page = response.data
this.$scrollTop()
})
},
},
created() {
this.getPage()
},
}
</script>
<style lang="scss" scoped>
@import '../../../sass/vuefilemanager/landing-page';
@import '../../../sass/vuefilemanager/variables';
@import '../../../sass/vuefilemanager/mixins';
.headline {
padding-top: 70px;
padding-bottom: 50px;
}
.page-content {
/deep/ p {
@include font-size(20);
font-weight: 500;
line-height: 1.65;
padding-bottom: 30px;
}
}
.dark {
}
@media only screen and (max-width: 960px) {
.headline {
padding-top: 50px;
padding-bottom: 30px;
}
}
</style>

View File

@@ -1,84 +0,0 @@
<template>
<div class="landing-page">
<div v-if="!isLoading">
<!--Navigation-->
<Navigation class="page-wrapper medium" />
<!--Header-->
<PageHeader />
<!--VueFileManager ScreenShot-->
<HeroScreenshot />
<!--Main Features-->
<MainFeatures />
<!--Pricing Tables-->
<PricingTables v-if="config.isSaaS && config.subscriptionType === 'fixed'" />
<!--Get Started Call To Action-->
<GetStarted />
<!--Footer-->
<PageFooter />
</div>
<div v-if="isLoading">
<Spinner />
</div>
</div>
</template>
<script>
import HeroScreenshot from '../../components/IndexPage/IndexHeroScreenshot'
import PricingTables from '../../components/IndexPage/IndexPricingTables'
import MainFeatures from '../../components/IndexPage/IndexMainFeatures'
import Navigation from '../../components/IndexPage/IndexNavigation'
import PageHeader from '../../components/IndexPage/IndexPageHeader'
import GetStarted from '../../components/IndexPage/IndexGetStarted'
import PageFooter from '../../components/IndexPage/IndexPageFooter'
import Spinner from '../../components/UI/Others/Spinner'
import { mapGetters } from 'vuex'
import axios from 'axios'
export default {
name: 'Homepage',
components: {
HeroScreenshot,
PricingTables,
MainFeatures,
GetStarted,
Navigation,
PageHeader,
PageFooter,
Spinner,
},
computed: {
...mapGetters(['config']),
},
data() {
return {
isLoading: true,
}
},
mounted() {
if (!this.config.allowHomepage) this.$router.push({ name: 'SignIn' })
// Get page content
axios
.get('/api/settings', {
params: {
column: 'allow_homepage|footer_content|get_started_description|get_started_title|pricing_description|pricing_title|feature_description_3|feature_title_3|feature_description_2|feature_title_2|feature_description_1|feature_title_1|features_description|features_title|header_description|header_title|section_get_started|section_pricing_content|section_feature_boxes|section_features',
},
})
.then((response) => {
this.$store.commit('SET_INDEX_CONTENT', response.data)
})
.finally(() => {
this.isLoading = false
})
},
created() {
this.$scrollTop()
},
}
</script>

View File

@@ -3,7 +3,6 @@ namespace Domain\Homepage\Controllers;
use DB;
use PDOException;
use Domain\Pages\Models\Page;
use Illuminate\Contracts\View\View;
use Illuminate\Contracts\View\Factory;
use Illuminate\Contracts\Foundation\Application;

View File

@@ -9,22 +9,15 @@ class SeedDefaultLanguageTranslationsAction
string $license,
string $locale
): void {
$translations = [
'extended' => collect([
config('language-translations.extended'),
config('language-translations.regular'),
config('custom-language-translations'),
])->collapse(),
'regular' => collect([
config('language-translations.regular'),
config('custom-language-translations'),
])->collapse(),
];
$translations = collect([
config('language-translations.regular'),
config('custom-language-translations'),
])->collapse();
$translations = $translations[strtolower($license)]
$translations = $translations
->map(fn ($value, $key) => [
'lang' => $locale,
'value' => $value,
'value' => '___',
'key' => $key,
])->toArray();