This commit is contained in:
vedatakd 2020-11-09 16:50:36 +03:00
commit ada9f7ffc7
174 changed files with 1853 additions and 324 deletions

3
.github/FUNDING.yml vendored Normal file
View File

@ -0,0 +1,3 @@
# These are supported funding model platforms
patreon: openclassify

View File

@ -19,9 +19,7 @@ OpenClassify is the extensible and most advanced open source classified app buil
## Translation
Openclassify support 22+ languages. Help translation on crowdin
https://crowdin.com/project/openclassify
Openclassify support 22+ languages. If you'd like to contribute translations, please check out our [Crowdin](https://crowdin.com/project/openclassify) project.
# Installation

View File

@ -31,6 +31,7 @@ return [
'hide_standard_price_field',
'hide_options_field',
'listing_page_image',
'show_breadcrumb_when_creating_ad',
],
],
'ads_image' => [

View File

@ -290,4 +290,11 @@ return [
'default_value' => 5,
],
],
'show_breadcrumb_when_creating_ad' => [
'type' => 'anomaly.field_type.boolean',
'config' => [
'default_value' => true,
'mode' => 'checkbox'
],
],
];

View File

@ -179,5 +179,8 @@ return [
'user_filter_limit' => [
'name' => 'حد تصفية المستخدم',
'instructions' => 'في لوحة الادارة'
]
],
'show_breadcrumb_when_creating_ad' => [
'name' => 'إظهار مسار التنقل عند إنشاء إعلان',
],
];

View File

@ -179,5 +179,8 @@ return [
'user_filter_limit' => [
'name' => 'İstifadəçi Filter Limiti',
'instructions' => 'İdarə panelində'
]
],
'show_breadcrumb_when_creating_ad' => [
'name' => 'Reklam yaratarkən çörək parçasını göstərin',
],
];

View File

@ -179,5 +179,8 @@ return [
'user_filter_limit' => [
'name' => 'ব্যবহারকারী ফিল্টার সীমা',
'instructions' => 'অ্যাডমিন প্যানেলে'
]
],
'show_breadcrumb_when_creating_ad' => [
'name' => 'বিজ্ঞাপন তৈরি করার সময় ব্রেডক্রাম্ব প্রদর্শন করুন',
],
];

View File

@ -179,5 +179,8 @@ return [
'user_filter_limit' => [
'name' => 'Benutzerfilterlimit',
'instructions' => 'Im Admin-Bereich'
]
],
'show_breadcrumb_when_creating_ad' => [
'name' => 'Breadcrumb beim Erstellen einer Anzeige anzeigen',
],
];

View File

@ -179,5 +179,8 @@ return [
'user_filter_limit' => [
'name' => 'Όριο φίλτρου χρήστη',
'instructions' => 'Στον πίνακα διαχείρισης'
]
],
'show_breadcrumb_when_creating_ad' => [
'name' => 'Εμφάνιση Breadcrumb κατά τη δημιουργία μιας διαφήμισης',
],
];

View File

@ -179,5 +179,8 @@ return [
'user_filter_limit' => [
'name' => 'User Filter Limit',
'instructions' => 'In the admin panel'
]
],
'show_breadcrumb_when_creating_ad' => [
'name' => 'Show Breadcrumb When Creating an Ad',
],
];

View File

@ -179,5 +179,8 @@ return [
'user_filter_limit' => [
'name' => 'Límite de filtro de usuario',
'instructions' => 'En el panel de administración'
]
],
'show_breadcrumb_when_creating_ad' => [
'name' => 'Mostrar ruta de navegación al crear un anuncio',
],
];

View File

@ -180,5 +180,8 @@ return [
'user_filter_limit' => [
'name' => 'محدودیت فیلتر کاربر',
'instructions' => 'در پنل مدیریت'
]
],
'show_breadcrumb_when_creating_ad' => [
'name' => 'هنگام ایجاد تبلیغ ، Breadcrumb را نشان دهید',
],
];

View File

@ -179,5 +179,8 @@ return [
'user_filter_limit' => [
'name' => 'Limite de filtre utilisateur',
'instructions' => 'Dans le panneau d\'administration'
]
],
'show_breadcrumb_when_creating_ad' => [
'name' => 'Afficher le fil d\'Ariane lors de la création d\'une annonce',
],
];

View File

@ -179,5 +179,8 @@ return [
'user_filter_limit' => [
'name' => 'מגבלת מסנן משתמשים',
'instructions' => 'בחלונית הניהול'
]
],
'show_breadcrumb_when_creating_ad' => [
'name' => 'הראה פירורי לחם בעת יצירת מודעה',
],
];

View File

@ -179,5 +179,8 @@ return [
'user_filter_limit' => [
'name' => 'उपयोगकर्ता फ़िल्टर सीमा',
'instructions' => 'व्यवस्थापक पैनल में'
]
],
'show_breadcrumb_when_creating_ad' => [
'name' => 'विज्ञापन बनाते समय ब्रेडक्रंब दिखाएं',
],
];

View File

@ -179,5 +179,8 @@ return [
'user_filter_limit' => [
'name' => 'Limite filtro utente',
'instructions' => 'Nel pannello di amministrazione'
]
],
'show_breadcrumb_when_creating_ad' => [
'name' => 'Mostra breadcrumb durante la creazione di un annuncio',
],
];

View File

@ -179,5 +179,8 @@ return [
'user_filter_limit' => [
'name' => 'ユーザーフィルターの制限',
'instructions' => '管理パネルで'
]
],
'show_breadcrumb_when_creating_ad' => [
'name' => '広告を作成するときにブレッドクラムを表示する',
],
];

View File

@ -179,5 +179,8 @@ return [
'user_filter_limit' => [
'name' => '사용자 필터 제한',
'instructions' => '관리자 패널에서'
]
],
'show_breadcrumb_when_creating_ad' => [
'name' => '광고를 만들 때 이동 경로 표시',
],
];

View File

@ -179,5 +179,8 @@ return [
'user_filter_limit' => [
'name' => 'Limiet gebruikersfilter',
'instructions' => 'In het admin-paneel'
]
],
'show_breadcrumb_when_creating_ad' => [
'name' => 'Toon breadcrumb bij het maken van een advertentie',
],
];

View File

@ -179,5 +179,8 @@ return [
'user_filter_limit' => [
'name' => 'Limit filtrów użytkownika',
'instructions' => 'W panelu administracyjnym'
]
],
'show_breadcrumb_when_creating_ad' => [
'name' => 'Pokaż menu nawigacyjne podczas tworzenia reklamy',
],
];

View File

@ -179,5 +179,8 @@ return [
'user_filter_limit' => [
'name' => 'Limite de filtro de usuário',
'instructions' => 'No painel de administração'
]
],
'show_breadcrumb_when_creating_ad' => [
'name' => 'Mostrar localização atual ao criar um anúncio',
],
];

View File

@ -179,5 +179,8 @@ return [
'user_filter_limit' => [
'name' => 'Limita de filtrare a utilizatorilor',
'instructions' => 'În panoul de administrare'
]
],
'show_breadcrumb_when_creating_ad' => [
'name' => 'Afișați pesmet atunci când creați un anunț',
],
];

View File

@ -179,5 +179,8 @@ return [
'user_filter_limit' => [
'name' => 'Предел пользовательского фильтра',
'instructions' => 'В админке'
]
],
'show_breadcrumb_when_creating_ad' => [
'name' => 'Показывать хлебные крошки при создании объявления',
],
];

View File

@ -179,5 +179,8 @@ return [
'user_filter_limit' => [
'name' => 'Kufiri i filtrit të përdoruesit',
'instructions' => 'Në panelin e administratorit'
]
],
'show_breadcrumb_when_creating_ad' => [
'name' => 'Tregoni Breadcrumb kur krijoni një reklamë',
],
];

View File

@ -179,5 +179,8 @@ return [
'user_filter_limit' => [
'name' => 'Användarfiltergräns',
'instructions' => 'I adminpanelen'
]
],
'show_breadcrumb_when_creating_ad' => [
'name' => 'Visa brödsmulan när du skapar en annons',
],
];

View File

@ -179,5 +179,8 @@ return [
'user_filter_limit' => [
'name' => 'Kullanıcı Filtresi Sınırı',
'instructions' => 'Yönetici panelinde'
]
],
'show_breadcrumb_when_creating_ad' => [
'name' => 'Reklam Oluştururken İçerik Haritasını Göster',
],
];

View File

@ -179,5 +179,8 @@ return [
'user_filter_limit' => [
'name' => 'Обмеження фільтра користувача',
'instructions' => 'На панелі адміністратора'
]
],
'show_breadcrumb_when_creating_ad' => [
'name' => 'Показати хлібну крихту під час створення реклами',
],
];

View File

@ -179,5 +179,8 @@ return [
'user_filter_limit' => [
'name' => 'صارف کے فلٹر کی حد',
'instructions' => 'ایڈمن پینل میں'
]
],
'show_breadcrumb_when_creating_ad' => [
'name' => 'جب کوئی اشتہار بناتے ہو تو بریڈ کرمب دکھائیں',
],
];

View File

@ -179,5 +179,8 @@ return [
'user_filter_limit' => [
'name' => 'Giới hạn Bộ lọc Người dùng',
'instructions' => 'Trong bảng quản trị'
]
],
'show_breadcrumb_when_creating_ad' => [
'name' => 'Hiển thị Breadcrumb Khi Tạo Quảng cáo',
],
];

View File

@ -6,7 +6,9 @@
{% block content %}
<section class="clearfix ad-post-page">
{% include "visiosoft.module.advs::new-ad/partials/breadcrumb" %}
{% if setting_value('visiosoft.module.advs::show_breadcrumb_when_creating_ad') %}
{% include "visiosoft.module.advs::new-ad/partials/breadcrumb" %}
{% endif %}
<div id="ad-cat-section" class="border rounded shadow-sm bg-light py-4 px-3">
<h5 class="mb-3">
<img src="{{ img('visiosoft.module.advs::images/ascend.svg').url }}" class="step-icon mr-1">
@ -56,5 +58,8 @@
</form>
</div>
</section>
{{ addBlock('post-cat/section') }}
{{ asset_add("scripts.js", "visiosoft.module.advs::js/cats.js") }}
{% endblock %}

View File

@ -33,10 +33,9 @@ class AdvsExport implements WithMapping, FromCollection, WithHeadings
->leftJoin('cats_category_translations', 'cats_category.id', 'cats_category_translations.entry_id')
->leftJoin('location_countries_translations','advs_advs.country_id', 'location_countries_translations.entry_id')
->leftJoin('location_cities_translations','advs_advs.city', 'location_cities_translations.entry_id')
->leftJoin('location_districts_translations','advs_advs.district', 'location_districts_translations.entry_id')
->where('cats_category_translations.locale',Request()->session()->get('_locale', setting_value('streams::default_locale', 'en')))
->where('advs_advs_translations.locale',Request()->session()->get('_locale', setting_value('streams::default_locale', 'en')))
->select(['advs_advs.*', 'location_countries_translations.name as country', 'location_cities_translations.name as city_name', 'location_districts_translations.name as district', DB::raw("group_concat(default_cats_category_translations.name SEPARATOR ', ') as categories")])
->whereIn('cats_category_translations.locale', array(Request()->session()->get('_locale'), setting_value('streams::default_locale'), 'en'))
->whereIn('advs_advs_translations.locale', array(Request()->session()->get('_locale'), setting_value('streams::default_locale'), 'en'))
->select(['advs_advs_translations.name', 'advs_advs_translations.advs_desc', 'location_countries_translations.name as country', 'location_cities_translations.name as city_name', DB::raw("group_concat(default_cats_category_translations.name SEPARATOR ', ') as categories")])
->groupBy('advs_advs.id')
->get();
@ -56,7 +55,6 @@ class AdvsExport implements WithMapping, FromCollection, WithHeadings
$adv->categories,
$adv->country,
$adv->city_name,
$adv->district,
];
}
@ -70,10 +68,9 @@ class AdvsExport implements WithMapping, FromCollection, WithHeadings
trans('module::field.price.name'),
trans('module::field.standard_price.name'),
trans('module::field.created'),
trans('module::field.categories'),
trans('module::field.categories.name'),
trans('module::field.country.name'),
trans('module::field.city.name'),
trans('module::field.district.name'),
];
}
}

View File

@ -10,6 +10,7 @@ use Visiosoft\AdvsModule\Adv\AdvRepository;
use Anomaly\Streams\Platform\Model\Advs\AdvsAdvsEntryModel;
use Visiosoft\AdvsModule\Adv\AdvModel;
use Visiosoft\AdvsModule\Adv\Form\AdvFormBuilder;
use Visiosoft\AdvsModule\Adv\Listeners\AddTableCategoryColumn;
use Visiosoft\AdvsModule\Http\Middleware\redirectDiffrentLang;
use Visiosoft\AdvsModule\Http\Middleware\SetLang;
use Visiosoft\AdvsModule\Listener\AddAdvsSettingsScript;
@ -33,42 +34,10 @@ use Visiosoft\LocationModule\Country\CountryRepository;
class AdvsModuleServiceProvider extends AddonServiceProvider
{
/**
* Additional addon plugins.
*
* @type array|null
*/
protected $plugins = [
AdvsModulePlugin::class,
];
/**
* The addon Artisan commands.
*
* @type array|null
*/
protected $commands = [];
/**
* The addon's scheduled commands.
*
* @type array|null
*/
protected $schedules = [];
/**
* The addon API routes.
*
* @type array|null
*/
protected $api = [];
/**
* The addon routes.
*
* @type array|null
*/
protected $routes = [
// Admin AdvsController
'admin/advs' => [
@ -241,62 +210,23 @@ class AdvsModuleServiceProvider extends AddonServiceProvider
'uses' => 'Visiosoft\AdvsModule\Http\Controller\OptionConfigurationController@confAddCart',
],
// Admin ProductoptionsController
'admin/advs/product_options' => 'Visiosoft\AdvsModule\Http\Controller\Admin\ProductoptionsController@index',
'admin/advs/product_options/create' => 'Visiosoft\AdvsModule\Http\Controller\Admin\ProductoptionsController@create',
'admin/advs/product_options/edit/{id}' => 'Visiosoft\AdvsModule\Http\Controller\Admin\ProductoptionsController@edit',
];
/**
* The addon middleware.
*
* @type array|null
*/
protected $middleware = [
SetLang::class,
redirectDiffrentLang::class,
];
/**
* Addon group middleware.
*
* @var array
*/
protected $groupMiddleware = [
//'web' => [
// Visiosoft\AdvsModule\Http\Middleware\ExampleMiddleware::class,
//],
];
/**
* Addon route middleware.
*
* @type array|null
*/
protected $routeMiddleware = [];
/**
* The addon event listeners.
*
* @type array|null
*/
protected $listeners = [
TableIsQuerying::class => [
AddAdvsSettingsScript::class,
],
];
/**
* The addon alias bindings.
*
* @type array|null
*/
protected $aliases = [
//'Example' => Visiosoft\AdvsModule\Example::class
];
/**
* The addon class bindings.
*
* @type array|null
*/
protected $bindings = [
// AdvsCfValuesEntryModel::class => CfValueModel::class,
// AdvsCustomFieldAdvsEntryModel::class => CustomFieldAdvModel::class,
@ -327,50 +257,12 @@ class AdvsModuleServiceProvider extends AddonServiceProvider
ProductoptionsValueRepositoryInterface::class => ProductoptionsValueRepository::class,
];
/**
* Additional service providers.
*
* @type array|null
*/
protected $providers = [
//\ExamplePackage\Provider\ExampleProvider::class
];
/**
* The addon view overrides.
*
* @type array|null
*/
protected $overrides = [
'streams::form/form' => 'visiosoft.module.advs::form/form',
//'streams::errors/404' => 'module::errors/404',
//'streams::errors/500' => 'module::errors/500',
];
/**
* The addon mobile-only view overrides.
*
* @type array|null
*/
protected $mobile = [
//'streams::errors/404' => 'module::mobile/errors/404',
//'streams::errors/500' => 'module::mobile/errors/500',
];
/**
* Register the addon.
*/
public function register()
{
// Run extra pre-boot registration logic here.
// Use method injection or commands to bring in services.
}
/**
* Boot the addon.
* @param AddonCollection $addonCollection
* @param FileModel $fileModel
*/
public function boot(AddonCollection $addonCollection, FileModel $fileModel)
{
// Run extra post-boot registration logic here.
@ -405,18 +297,4 @@ class AdvsModuleServiceProvider extends AddonServiceProvider
// Disable file versioning
$fileModel->disableVersioning();
}
/**
* Map additional addon routes.
*
* @param Router $router
*/
// public function map(Router $router)
// {
// // Register dynamic routes here for example.
// // Use method injection or commands to bring in services.
// }
public function map(Router $router)
{
}
}

View File

@ -1,6 +1,5 @@
<?php namespace Visiosoft\AdvsModule\Http\Controller\Admin;
use Anomaly\SettingsModule\Setting\Contract\SettingRepositoryInterface;
use Anomaly\Streams\Platform\Application\Application;
use Anomaly\Streams\Platform\Entry\Contract\EntryInterface;
@ -10,7 +9,6 @@ use Anomaly\UsersModule\User\Contract\UserRepositoryInterface;
use Anomaly\UsersModule\User\UserModel;
use Illuminate\Filesystem\Filesystem;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\DB;
use Visiosoft\AdvsModule\Adv\Contract\AdvRepositoryInterface;
use Visiosoft\AdvsModule\Adv\Table\Filter\CategoryFilterQuery;
use Visiosoft\AdvsModule\Adv\Table\Filter\CityFilterQuery;
@ -18,7 +16,6 @@ use Visiosoft\AdvsModule\Adv\Table\Filter\StatusFilterQuery;
use Visiosoft\AdvsModule\Adv\Table\Filter\UserFilterQuery;
use Visiosoft\AdvsModule\Adv\AdvModel;
use Visiosoft\AdvsModule\Adv\Event\ChangedStatusAd;
use Visiosoft\AdvsModule\Adv\Form\AdvFormBuilder;
use Visiosoft\AdvsModule\Adv\Table\AdvTableBuilder;
use Anomaly\Streams\Platform\Http\Controller\AdminController;
use Visiosoft\AdvsModule\Option\Contract\OptionRepositoryInterface;
@ -156,6 +153,7 @@ class AdvsController extends AdminController
}
],
'category' => [
'sort_column' => 'cat1',
'value' => function (EntryInterface $entry, CategoryModel $categoryModel) {
$category = $categoryModel->getCat($entry->cat1);
if (!is_null($category))

View File

@ -20,7 +20,6 @@ use Visiosoft\AdvsModule\Adv\Event\viewAd;
use Visiosoft\AdvsModule\Adv\Form\AdvFormBuilder;
use Visiosoft\AdvsModule\Option\Contract\OptionRepositoryInterface;
use Visiosoft\AdvsModule\OptionConfiguration\Contract\OptionConfigurationRepositoryInterface;
use Visiosoft\AdvsModule\OptionConfiguration\OptionConfigurationModel;
use Visiosoft\AdvsModule\Productoption\Contract\ProductoptionRepositoryInterface;
use Visiosoft\AdvsModule\ProductoptionsValue\Contract\ProductoptionsValueRepositoryInterface;
use Visiosoft\AlgoliaModule\Search\SearchModel;
@ -801,7 +800,13 @@ class AdvsController extends PublicController
}
// Auto approve
if (setting_value('visiosoft.module.advs::auto_approve') && !$allowPendingAdCreation) {
$autoApprove = true;
if ($allowPendingAdCreation) {
$adLogExists = app('Visiosoft\PackagesModule\AdvsLog\Contract\AdvsLogRepositoryInterface')
->findByAdID($adv->id);
$autoApprove = $adLogExists ? false : true;
}
if (setting_value('visiosoft.module.advs::auto_approve') && $autoApprove) {
$defaultAdPublishTime = setting_value('visiosoft.module.advs::default_published_time');
$adv->update([
'status' => 'approved',
@ -863,8 +868,12 @@ class AdvsController extends PublicController
if ($packageEnabled
&& \request()->pack_id
&& setting_value('visiosoft.module.packages::allow_pending_ad_creation')) {
app('Visiosoft\PackagesModule\Http\Controller\PackageFEController')
->packageAddCart(\request()->pack_id, $new->id);
$package = app('Visiosoft\PackagesModule\Package\Contract\PackageRepositoryInterface')
->find(\request()->pack_id);
if ($package->price) {
app('Visiosoft\PackagesModule\Http\Controller\PackageFEController')
->packageAddCart(\request()->pack_id, $new->id);
}
}
return redirect('/advs/edit_advs/' . $new->id);

View File

@ -5,6 +5,8 @@
{% endblock %}
{% block content %}
{% set enableCaptcha = setting_value('visiosoft.module.profile::google_captcha_site_key') and setting_value('visiosoft.module.profile::google_captcha_secret_key') %}
<div class="py-4">
<div class="row justify-content-center bg-light rounded border px-3">
<div class="col-12 col-md-6 text-left p-3 m-0">
@ -20,23 +22,29 @@
'url':form.options.url
})|raw }}
{% if enableCaptcha %}
<input type="hidden" name="recaptcha_token" id="recaptcha_token" class="recaptcha-token">
{% endif %}
{% include 'visiosoft.theme.base::addons/anomaly/users-module/partials/register-form' %}
<div class="col-12">
{{ form.fields.accept_terms|raw }}
</div>
{% if setting_value('visiosoft.module.profile::show_checkbox_terms_on_register') %}
<div class="col-12">
{{ form.fields.accept_terms|raw }}
</div>
<div class="col-12">
{{ form.fields.accept_protection_law|raw }}
</div>
<div class="col-12">
{{ form.fields.accept_protection_law|raw }}
</div>
<div class="col-12">
{{ form.fields.accept_privacy_terms|raw }}
</div>
<div class="col-12">
{{ form.fields.accept_privacy_terms|raw }}
</div>
<div class="col-12">
{{ form.fields.receive_sms_emails|raw }}
</div>
<div class="col-12">
{{ form.fields.receive_sms_emails|raw }}
</div>
{% endif %}
<div class="col-12 row m-0">
<div class="col-6 pr-0 pl-1">
@ -49,7 +57,7 @@
{{ form_close() }}
</div>
{{ addBlock('register/corporate-register')|raw }}
{{ addBlock('register/corporate-register', {'enableCaptcha': enableCaptcha})|raw }}
</div>
<div class="col-12 col-md-6 py-3 pr-0 instructions d-none d-md-block">
@ -76,6 +84,14 @@
</div>
</div>
{% if enableCaptcha %}
{% set reCAPTCHASiteKey = setting_value('visiosoft.module.profile::google_captcha_site_key') %}
<script>
let reCAPTCHASiteKey = "{{ reCAPTCHASiteKey }}"
</script>
{{ asset_add('scripts.js', asset_download('https://www.google.com/recaptcha/api.js?render=' ~ reCAPTCHASiteKey, 60*60*24)) }}
{{ asset_add("scripts.js", "visiosoft.module.profile::assets/js/captcha.js") }}
{% endif %}
{{ asset_add("scripts.js", "visiosoft.theme.base::js/register.js") }}
{% endblock %}

View File

@ -29,8 +29,7 @@ return [
'default_country' => [
'type' => 'anomaly.field_type.relationship',
"config" => [
"related" => \Visiosoft\LocationModule\Country\CountryModel::class,
'default_value' => 212,
"related" => \Visiosoft\LocationModule\Country\CountryModel::class
]
],
'country_for_phone_field' => [
@ -108,4 +107,4 @@ return [
],
],
],
];
];

View File

@ -46,5 +46,11 @@ return [
],
'country_for_phone_field' => [
'name' => 'البلد الافتراضي لتسجيل حقل الهاتف'
]
],
'sorting_column' => [
'name' => 'عمود الفرز',
],
'sorting_type' => [
'name' => 'نوع الفرز',
],
];

View File

@ -46,5 +46,11 @@ return [
],
'country_for_phone_field' => [
'name' => 'Telefon sahəsi üçün qeydiyyatdan keçmiş ölkə'
]
],
'sorting_column' => [
'name' => 'Sütun çeşidlənir',
],
'sorting_type' => [
'name' => 'Çeşidləmə növü',
],
];

View File

@ -46,5 +46,11 @@ return [
],
'country_for_phone_field' => [
'name' => 'রেজিস্টার ফোন ফিল্ডের জন্য ডিফল্ট দেশ'
]
],
'sorting_column' => [
'name' => 'বাছাই কলাম',
],
'sorting_type' => [
'name' => 'বাছাইয়ের ধরণ',
],
];

View File

@ -46,5 +46,11 @@ return [
],
'country_for_phone_field' => [
'name' => 'Standardland für das Feld "Telefon registrieren"'
]
],
'sorting_column' => [
'name' => 'Spalte sortieren',
],
'sorting_type' => [
'name' => 'Sortierart',
],
];

View File

@ -46,5 +46,11 @@ return [
],
'country_for_phone_field' => [
'name' => 'Προεπιλεγμένη χώρα για εγγραφή πεδίου τηλεφώνου'
]
],
'sorting_column' => [
'name' => 'Ταξινόμηση στήλης',
],
'sorting_type' => [
'name' => 'Τύπος ταξινόμησης',
],
];

View File

@ -46,5 +46,11 @@ return [
],
'country_for_phone_field' => [
'name' => 'País predeterminado para el campo de teléfono de registro'
]
],
'sorting_column' => [
'name' => 'Columna de clasificación',
],
'sorting_type' => [
'name' => 'Tipo de clasificación',
],
];

View File

@ -46,5 +46,11 @@ return [
],
'country_for_phone_field' => [
'name' => 'کشور پیش فرض برای ثبت نام قسمت تلفن'
]
],
'sorting_column' => [
'name' => 'مرتب سازی ستون',
],
'sorting_type' => [
'name' => 'نوع مرتب سازی',
],
];

View File

@ -46,5 +46,11 @@ return [
],
'country_for_phone_field' => [
'name' => 'Pays par défaut pour le champ de téléphone d\'enregistrement'
]
],
'sorting_column' => [
'name' => 'Colonne de tri',
],
'sorting_type' => [
'name' => 'Type de tri',
],
];

View File

@ -46,5 +46,11 @@ return [
],
'country_for_phone_field' => [
'name' => 'מדינה ברירת מחדל לשדה טלפון רישום'
]
],
'sorting_column' => [
'name' => 'עמודת מיון',
],
'sorting_type' => [
'name' => 'סוג מיון',
],
];

View File

@ -46,5 +46,11 @@ return [
],
'country_for_phone_field' => [
'name' => 'डिफ़ॉल्ट देश रजिस्टर फोन क्षेत्र के लिए'
]
],
'sorting_column' => [
'name' => 'सॉर्टिंग कॉलम',
],
'sorting_type' => [
'name' => 'सॉर्टिंग प्रकार',
],
];

View File

@ -46,5 +46,11 @@ return [
],
'country_for_phone_field' => [
'name' => 'Paese predefinito per il campo del telefono di registrazione'
]
],
'sorting_column' => [
'name' => 'Ordinamento della colonna',
],
'sorting_type' => [
'name' => 'Tipo di ordinamento',
],
];

View File

@ -46,5 +46,11 @@ return [
],
'country_for_phone_field' => [
'name' => '電話登録フィールドのデフォルトの国'
]
],
'sorting_column' => [
'name' => 'ソート列',
],
'sorting_type' => [
'name' => 'ソートタイプ',
],
];

View File

@ -46,5 +46,11 @@ return [
],
'country_for_phone_field' => [
'name' => '전화 번호 등록 필드의 기본 국가'
]
],
'sorting_column' => [
'name' => '열 정렬',
],
'sorting_type' => [
'name' => '분류 유형',
],
];

View File

@ -46,5 +46,11 @@ return [
],
'country_for_phone_field' => [
'name' => 'Standaardland voor register telefoonveld'
]
],
'sorting_column' => [
'name' => 'Sorteerkolom',
],
'sorting_type' => [
'name' => 'Sorteringstype',
],
];

View File

@ -46,5 +46,11 @@ return [
],
'country_for_phone_field' => [
'name' => 'Domyślny kraj dla pola numeru rejestracji'
]
],
'sorting_column' => [
'name' => 'Kolumna sortowania',
],
'sorting_type' => [
'name' => 'Typ sortowania',
],
];

View File

@ -46,5 +46,11 @@ return [
],
'country_for_phone_field' => [
'name' => 'País padrão para campo de telefone de registro'
]
],
'sorting_column' => [
'name' => 'Coluna de classificação',
],
'sorting_type' => [
'name' => 'Tipo de classificação',
],
];

View File

@ -46,5 +46,11 @@ return [
],
'country_for_phone_field' => [
'name' => 'Țara implicită pentru câmpul de telefon al înregistrării'
]
],
'sorting_column' => [
'name' => 'Sortarea coloanei',
],
'sorting_type' => [
'name' => 'Tipul de sortare',
],
];

View File

@ -46,5 +46,11 @@ return [
],
'country_for_phone_field' => [
'name' => 'Страна по умолчанию для поля регистрации телефона'
]
],
'sorting_column' => [
'name' => 'Столбец сортировки',
],
'sorting_type' => [
'name' => 'Тип сортировки',
],
];

View File

@ -46,5 +46,11 @@ return [
],
'country_for_phone_field' => [
'name' => 'Vendi i paracaktuar për fushën e regjistrimit të telefonit'
]
],
'sorting_column' => [
'name' => 'Renditja e kolonës',
],
'sorting_type' => [
'name' => 'Lloji i renditjes',
],
];

View File

@ -46,5 +46,11 @@ return [
],
'country_for_phone_field' => [
'name' => 'Standardland för att registrera telefonfält'
]
],
'sorting_column' => [
'name' => 'Sorteringskolumn',
],
'sorting_type' => [
'name' => 'Sorteringstyp',
],
];

View File

@ -46,5 +46,11 @@ return [
],
'country_for_phone_field' => [
'name' => 'Kayıtlı Telefon Alanı İçin Varsayılan Ülke'
]
],
'sorting_column' => [
'name' => 'Sıralama Sütunu',
],
'sorting_type' => [
'name' => 'Sıralama Türü',
],
];

View File

@ -46,5 +46,11 @@ return [
],
'country_for_phone_field' => [
'name' => 'Країна за замовчуванням для телефонного поля реєстрації'
]
],
'sorting_column' => [
'name' => 'Сортування сортування',
],
'sorting_type' => [
'name' => 'Тип сортування',
],
];

View File

@ -46,5 +46,11 @@ return [
],
'country_for_phone_field' => [
'name' => 'ڈیفالٹ کنٹری برائے رجسٹر فون فیلڈ'
]
],
'sorting_column' => [
'name' => 'چھانٹ رہا ہے کالم',
],
'sorting_type' => [
'name' => 'ترتیب کی قسم',
],
];

View File

@ -46,5 +46,11 @@ return [
],
'country_for_phone_field' => [
'name' => 'Quốc gia mặc định để đăng ký trường điện thoại'
]
],
'sorting_column' => [
'name' => 'Sắp xếp cột',
],
'sorting_type' => [
'name' => 'Loại sắp xếp',
],
];

View File

@ -10,6 +10,7 @@
]
},
"require": {
"maatwebsite/excel": "*"
"maatwebsite/excel": "*",
"google/recaptcha": "1.2.*"
}
}

View File

@ -0,0 +1,64 @@
<?php
use Anomaly\Streams\Platform\Database\Migration\Migration;
class VisiosoftModuleProfileCreateProfessionAndEducationalFields extends Migration
{
public function up()
{
if ($stream = $this->streams()->findBySlugAndNamespace('users', 'users')) {
$fields = [
[
'name' => trans('visiosoft.module.profile::field.education.name'),
'slug' => 'education',
],
[
'name' => trans('visiosoft.module.profile::field.state_of_education.name'),
'slug' => 'state_of_education',
],
[
'name' => trans('visiosoft.module.profile::field.profession.name'),
'slug' => 'profession',
],
];
foreach ($fields as $field) {
$exists = $this->fields()
->newQuery()
->where('slug', $field['slug'])
->where('namespace', 'users')
->first();
if (!$exists) {
$userField = $this->fields()->create([
'name' => $field['name'],
'namespace' => 'users',
'slug' => $field['slug'],
'type' => 'anomaly.field_type.text',
'locked' => 0,
]);
$this->assignments()->create([
'stream_id' => $stream->id,
'field_id' => $userField->id
]);
}
}
}
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
/*
* I never go back on my word!
* That's my nindo: my ninja way!
* NARUTO
*/
}
}

View File

@ -141,5 +141,9 @@
.birthday-field .input-group-addon {
display: none;
}
.education-field > .tagify, .state_of_education-field > .tagify, .profession-field > .tagify {
height: initial;
}
}
}

View File

@ -0,0 +1,6 @@
grecaptcha.ready(function() {
grecaptcha.execute(reCAPTCHASiteKey)
.then(function(token) {
$('.recaptcha-token').val(token)
});
});

View File

@ -4,11 +4,23 @@ return [
'monitoring' => [
'stacked' => false,
'tabs' => [
'general_setting' => [
'title' => 'visiosoft.module.profile::section.general_setting',
'fields' => [
'show_my_ads', 'upload_avatar', 'show_tax_office'
'show_my_ads',
'upload_avatar',
'show_tax_office',
'show_checkbox_terms_on_register',
'show_education_profession',
'education',
'state_of_education',
'profession',
],
],
'recaptcha' => [
'title' => 'visiosoft.module.profile::section.recaptcha',
'fields' => [
'google_captcha_site_key', 'google_captcha_secret_key', 'score_threshold'
],
],
],

View File

@ -13,11 +13,42 @@ return [
'default_value' => 1
],
],
'show_tax_office' => [
'type' => 'anomaly.field_type.boolean',
'config' => [
'default_value' => true,
],
],
'google_captcha_site_key' => [
'type' => 'anomaly.field_type.text',
],
'google_captcha_secret_key' => [
'type' => 'anomaly.field_type.text',
],
"score_threshold" => [
"type" => "anomaly.field_type.decimal",
"config" => [
"default_value" => 0.5,
"decimals" => 1,
"min" => 0.0,
"max" => 1.0,
]
],
'show_checkbox_terms_on_register' => [
'type' => 'anomaly.field_type.boolean',
'config' => [
'default_value' => false,
'mode' => 'checkbox'
]
],
'show_education_profession' => [
'type' => 'anomaly.field_type.boolean',
'config' => [
'default_value' => true,
'mode' => 'checkbox'
]
],
"education" => "anomaly.field_type.tags",
"state_of_education" => "anomaly.field_type.tags",
"profession" => "anomaly.field_type.tags",
];

View File

@ -58,6 +58,15 @@ return [
'birthday' => [
'name' => 'عيد ميلاد'
],
'education' => [
'name' => 'التعليم'
],
'state_of_education' => [
'name' => 'حالة التعليم'
],
'profession' => [
'name' => 'مهنة'
],
'identification_number' => [
'name' => 'رقم الهوية'
],
@ -445,4 +454,10 @@ return [
'edit_details' => 'عدل التفاصيل',
'update' => 'تحديث',
'change_password' => 'غير كلمة السر',
// Register page
'accept_terms_label' => 'أوافق على شروط.',
'accept_protection_law_label' => 'أوافق على شروط قانون حماية البيانات الشخصية.',
'accept_privacy_terms_label' => 'أقبل شروط الخصوصية.',
'receive_sms_emails_label' => 'أرغب في تلقي البريد الإلكتروني والرسائل القصيرة.',
];

View File

@ -38,4 +38,8 @@ return [
// Mail
'update_email_mail_subject' => 'تم تحديث البريد الإلكتروني!',
'update_email_mail_message' => 'تم تحديث بريدك الإلكتروني!',
// Register
'recaptcha_field_is_required' => 'حقل reCaptcha مطلوب.',
'failed_to_validate_captcha' => 'فشل التحقق من صحة captcha.',
];

View File

@ -8,4 +8,5 @@ return [
'title' => 'عنوان',
],
'general_setting' => 'الاعدادات العامة',
'recaptcha' => 'reCAPTCHA',
];

View File

@ -7,8 +7,34 @@ return [
'upload_avatar' => [
'name' => 'الصورة الرمزية تحميل',
],
'show_tax_office' => [
'name' => 'إظهار حقل مكتب الضرائب',
],
'show_checkbox_terms_on_register' => [
'name' => 'إظهار شروط خانة الاختيار في التسجيل',
'instructions' => 'أظهر "قبول مصطلح" ، "قانون الحماية" ، "مصطلح الخصوصية" ، "الرسائل القصيرة والبريد الإلكتروني" في نموذج التسجيل'
],
'show_education_profession' => [
'name' => 'إظهار مجالات التعليم والمهنة',
'instructions' => 'اعرض "التعليم" و "حالة التعليم" و "المهنة" في صفحة تعديل الملف الشخصي'
],
'google_captcha_site_key' => [
'name' => 'مفتاح موقع Google Captcha',
],
'google_captcha_secret_key' => [
'name' => 'مفتاح Google Captcha السري',
],
'score_threshold' => [
'name' => 'عتبة النتيجة',
'instructions' => 'قيمة بين 0 و 1. كلما زادت العتبة ، زادت صرامة ReCaptcha في محاولة تحديد ما إذا كان المستخدم روبوتًا أم لا.',
],
'education' => [
'name' => 'التعليم'
],
'state_of_education' => [
'name' => 'حالة التعليم'
],
'profession' => [
'name' => 'مهنة'
],
];

View File

@ -58,6 +58,15 @@ return [
'birthday' => [
'name' => 'Ad günü'
],
'education' => [
'name' => 'Təhsil'
],
'state_of_education' => [
'name' => 'Təhsil vəziyyəti'
],
'profession' => [
'name' => 'Peşə'
],
'identification_number' => [
'name' => 'İdentifikasiya nömrəsi'
],
@ -446,4 +455,10 @@ return [
'edit_details' => 'Ətraflı məlumatları redaktə edin',
'update' => 'Yeniləyin',
'change_password' => 'Parolu dəyişdirin',
// Register page
'accept_terms_label' => 'Şərtləri qəbul edirəm.',
'accept_protection_law_label' => 'Fərdi məlumatların qorunması haqqında Qanunun şərtlərini qəbul edirəm.',
'accept_privacy_terms_label' => 'Gizlilik şərtlərini qəbul edirəm.',
'receive_sms_emails_label' => 'E-poçt və sms almaq istəyirəm.',
];

View File

@ -38,4 +38,8 @@ return [
// Mail
'update_email_mail_subject' => 'E-poçt Yenilənib!',
'update_email_mail_message' => 'E-poçtunuz Yeniləndi!',
// Register
'recaptcha_field_is_required' => 'reCaptcha sahəsi tələb olunur.',
'failed_to_validate_captcha' => 'Captcha doğrulana bilmədi.',
];

View File

@ -8,4 +8,5 @@ return [
'title' => 'Ünvan',
],
'general_setting' => 'Ümumi Ayarlar',
'recaptcha' => 'reCAPTCHA',
];

View File

@ -7,8 +7,34 @@ return [
'upload_avatar' => [
'name' => 'Avatar yüklə',
],
'show_tax_office' => [
'name' => 'Vergi Dairəsi Sahəsini göstərin',
],
'show_checkbox_terms_on_register' => [
'name' => 'Qeyd qutusundakı onay qutusunun şərtlərini göstərin',
'instructions' => 'Qeyd formasında "Qəbul müddəti", "qoruma qanunu", "məxfilik müddəti", "sms və e-poçtlar" göstər'
],
'show_education_profession' => [
'name' => 'Təhsil və Peşə Sahələrini göstərin',
'instructions' => 'Profili düzəltmə səhifəsində "Təhsil", "Təhsil Vəziyyəti" və "Peşə" ni göstərin'
],
'google_captcha_site_key' => [
'name' => 'Google Captcha Sayt Açarı',
],
'google_captcha_secret_key' => [
'name' => 'Google Captcha Gizli Açar',
],
'score_threshold' => [
'name' => 'Hesab ərəfəsi',
'instructions' => '0 ilə 1 arasındakı dəyər. Eşik nə qədər yüksək olsa, ReCaptcha istifadəçinin bot olub olmadığını müəyyənləşdirməyə çalışır.',
],
'education' => [
'name' => 'Təhsil'
],
'state_of_education' => [
'name' => 'Təhsil vəziyyəti'
],
'profession' => [
'name' => 'Peşə'
],
];

View File

@ -58,6 +58,15 @@ return [
'birthday' => [
'name' => 'জন্মদিন'
],
'education' => [
'name' => 'শিক্ষা'
],
'state_of_education' => [
'name' => 'শিক্ষা রাজ্য'
],
'profession' => [
'name' => 'পেশা'
],
'identification_number' => [
'name' => 'সনাক্তকরণ নম্বর'
],
@ -446,4 +455,10 @@ return [
'edit_details' => 'তথ্য সংশোধন কর',
'update' => 'হালনাগাদ',
'change_password' => 'পাসওয়ার্ড পরিবর্তন করুন',
// Register page
'accept_terms_label' => 'আমি শর্তাদি গ্রহণ করি।',
'accept_protection_law_label' => 'আমি ব্যক্তিগত তথ্য সুরক্ষা আইনের শর্তাদি স্বীকার করি।',
'accept_privacy_terms_label' => 'আমি গোপনীয়তার শর্তাদি গ্রহণ করি।',
'receive_sms_emails_label' => 'আমি ইমেইল এবং এসএমএস পেতে চাই',
];

View File

@ -38,4 +38,8 @@ return [
// Mail
'update_email_mail_subject' => 'ইমেল আপডেট!',
'update_email_mail_message' => 'আপনার ইমেল আপডেট হয়েছে!',
// Register
'recaptcha_field_is_required' => 'পুনরায় ক্যাপচা ক্ষেত্র প্রয়োজন।',
'failed_to_validate_captcha' => 'ক্যাপচাকে বৈধতা দিতে ব্যর্থ।',
];

View File

@ -8,4 +8,5 @@ return [
'title' => 'adress',
],
'general_setting' => 'সাধারণ সেটিংস',
'recaptcha' => 'reCAPTCHA',
];

View File

@ -7,8 +7,34 @@ return [
'upload_avatar' => [
'name' => 'অবতার আপলোড',
],
'show_tax_office' => [
'name' => 'কর অফিস ক্ষেত্র প্রদর্শন করুন',
],
'show_checkbox_terms_on_register' => [
'name' => 'নিবন্ধটিতে চেকবক্স শর্তাদি প্রদর্শন করুন',
'instructions' => '"স্বীকৃতি শর্ত", "সুরক্ষা আইন", "গোপনীয়তা শর্ত", "এসএমএস এবং ইমেল" রেজিস্টার ফর্মটিতে দেখান'
],
'show_education_profession' => [
'name' => 'শিক্ষা এবং পেশার ক্ষেত্রগুলি দেখান',
'instructions' => 'প্রোফাইল সম্পাদনা পৃষ্ঠায় "শিক্ষা", "শিক্ষার রাজ্য" এবং "পেশা" দেখান'
],
'google_captcha_site_key' => [
'name' => 'গুগল ক্যাপচা সাইট কী',
],
'google_captcha_secret_key' => [
'name' => 'গুগল ক্যাপচা সিক্রেট কী',
],
'score_threshold' => [
'name' => 'স্কোর থ্রেশহোল্ড',
'instructions' => '0 এবং 1 এর মধ্যে একটি মান একটি প্রারম্ভিক যত বেশি তত বেশি কঠোর রিক্যাপ্টচা নির্ধারণ করার চেষ্টা করছে যে কোনও ব্যবহারকারী বট বা না।',
],
'education' => [
'name' => 'শিক্ষা'
],
'state_of_education' => [
'name' => 'শিক্ষা রাজ্য'
],
'profession' => [
'name' => 'পেশা'
],
];

View File

@ -58,6 +58,15 @@ return [
'birthday' => [
'name' => 'Geburtstag'
],
'education' => [
'name' => 'Bildung'
],
'state_of_education' => [
'name' => 'Bildungsstand'
],
'profession' => [
'name' => 'Beruf'
],
'identification_number' => [
'name' => 'Identifikationsnummer'
],
@ -451,4 +460,10 @@ return [
'edit_details' => 'Details bearbeiten',
'update' => 'Aktualisieren',
'change_password' => 'Ändere das Passwort',
// Register page
'accept_terms_label' => 'Ich akzeptiere die Bedingungen.',
'accept_protection_law_label' => 'Ich akzeptiere die Bestimmungen des Gesetzes zum Schutz personenbezogener Daten.',
'accept_privacy_terms_label' => 'Ich akzeptiere Datenschutzbestimmungen.',
'receive_sms_emails_label' => 'Ich möchte E-Mail & SMS erhalten.',
];

View File

@ -39,4 +39,8 @@ return [
// Mail
'update_email_mail_subject' => 'E-Mail aktualisiert!',
'update_email_mail_message' => 'Ihre E-Mail wurde aktualisiert!',
// Register
'recaptcha_field_is_required' => 'Das Feld reCaptcha ist erforderlich.',
'failed_to_validate_captcha' => 'Captcha konnte nicht validiert werden.',
];

View File

@ -8,4 +8,5 @@ return [
'title' => 'Anschrift',
],
'general_setting' => 'Allgemeine Einstellungen',
'recaptcha' => 'reCaptcha',
];

View File

@ -7,8 +7,34 @@ return [
'upload_avatar' => [
'name' => 'Avatar hochladen',
],
'show_tax_office' => [
'name' => 'Feld des Finanzamtes anzeigen',
],
'show_checkbox_terms_on_register' => [
'name' => 'Checkbox-Bedingungen im Register anzeigen',
'instructions' => 'Zeigen Sie auf dem Registrierungsformular "Akzeptieren", "Schutzgesetz", "Datenschutz", "SMS & E-Mails" an'
],
'show_education_profession' => [
'name' => 'Bildungs- und Berufsfelder anzeigen',
'instructions' => 'Zeigen Sie "Bildung", "Bildungsstand" und "Beruf" auf der Profilbearbeitungsseite an'
],
'google_captcha_site_key' => [
'name' => 'Google Captcha Site Key',
],
'google_captcha_secret_key' => [
'name' => 'Google Captcha Secret Key',
],
'score_threshold' => [
'name' => 'Punkteschwelle',
'instructions' => 'Ein Wert zwischen 0 und 1. Je höher der Schwellenwert, desto strenger versucht ReCaptcha festzustellen, ob ein Benutzer ein Bot ist oder nicht.',
],
'education' => [
'name' => 'Bildung'
],
'state_of_education' => [
'name' => 'Bildungsstand'
],
'profession' => [
'name' => 'Beruf'
],
];

View File

@ -58,6 +58,15 @@ return [
'birthday' => [
'name' => 'Γενέθλια'
],
'education' => [
'name' => 'Εκπαίδευση'
],
'state_of_education' => [
'name' => 'Κατάσταση εκπαίδευσης'
],
'profession' => [
'name' => 'Επάγγελμα'
],
'identification_number' => [
'name' => 'Αριθμός αναγνώρισης'
],
@ -448,4 +457,10 @@ return [
'edit_details' => 'Επεξεργασία λεπτομερειών',
'update' => 'Εκσυγχρονίζω',
'change_password' => 'Άλλαξε κωδικό',
// Register page
'accept_terms_label' => 'Αποδέχομαι τους όρους.',
'accept_protection_law_label' => 'Αποδέχομαι τους όρους του Νόμου περί Προστασίας Προσωπικών Δεδομένων.',
'accept_privacy_terms_label' => 'Αποδέχομαι τους όρους απορρήτου.',
'receive_sms_emails_label' => 'Θέλω να λαμβάνω e-mail & sms.',
];

View File

@ -39,4 +39,8 @@ return [
// Mail
'update_email_mail_subject' => 'Ενημερώθηκε το email!',
'update_email_mail_message' => 'Το email σας ενημερώθηκε!',
// Register
'recaptcha_field_is_required' => 'Απαιτείται πεδίο reCaptcha.',
'failed_to_validate_captcha' => 'Αποτυχία επικύρωσης captcha.',
];

View File

@ -8,4 +8,5 @@ return [
'title' => 'Διεύθυνση',
],
'general_setting' => 'Γενικές Ρυθμίσεις',
'recaptcha' => 'reCAPTCHA',
];

View File

@ -7,8 +7,34 @@ return [
'upload_avatar' => [
'name' => 'Μεταφόρτωση Avatar',
],
'show_tax_office' => [
'name' => 'Εμφάνιση πεδίου φορολογικής υπηρεσίας',
],
'show_checkbox_terms_on_register' => [
'name' => 'Εμφάνιση Όρων πλαισίου ελέγχου στο Μητρώο',
'instructions' => 'Δείξτε την ένδειξη "Αποδοχή όρου", "νόμος προστασίας", "όρος απορρήτου", "sms & email"'
],
'show_education_profession' => [
'name' => 'Εμφάνιση πεδίων εκπαίδευσης και επαγγέλματος',
'instructions' => 'Εμφάνιση των "Εκπαίδευση", "Κατάσταση Εκπαίδευσης" και "Επάγγελμα" στη σελίδα επεξεργασίας προφίλ'
],
'google_captcha_site_key' => [
'name' => 'Κλειδί ιστότοπου Google Captcha',
],
'google_captcha_secret_key' => [
'name' => 'Μυστικό κλειδί Google Captcha',
],
'score_threshold' => [
'name' => 'Όριο βαθμολογίας',
'instructions' => 'Μια τιμή μεταξύ 0 και 1. Όσο υψηλότερο είναι το όριο, τόσο πιο αυστηρό ReCaptcha προσπαθεί να προσδιορίσει εάν ένας χρήστης είναι bot ή όχι.',
],
'education' => [
'name' => 'Εκπαίδευση'
],
'state_of_education' => [
'name' => 'Κατάσταση εκπαίδευσης'
],
'profession' => [
'name' => 'Επάγγελμα'
],
];

View File

@ -58,6 +58,15 @@ return [
'birthday' => [
'name' => 'Birthday'
],
'education' => [
'name' => 'Education'
],
'state_of_education' => [
'name' => 'State of Education'
],
'profession' => [
'name' => 'Profession'
],
'identification_number' => [
'name' => 'Identification Number'
],

View File

@ -38,4 +38,8 @@ return [
// Mail
'update_email_mail_subject' => 'Email Updated!',
'update_email_mail_message' => 'Your Email Has Been Updated!',
// Register
'recaptcha_field_is_required' => 'reCaptcha field is required.',
'failed_to_validate_captcha' => 'Failed to validate captcha.',
];

View File

@ -8,4 +8,5 @@ return [
'title' => 'Adress',
],
'general_setting' => 'General Settings',
'recaptcha' => 'reCAPTCHA',
];

View File

@ -7,8 +7,34 @@ return [
'upload_avatar' => [
'name' => 'Avatar Upload',
],
'show_tax_office' => [
'name' => 'Show Tax Office Field',
],
'show_checkbox_terms_on_register' => [
'name' => 'Show Checkbox Terms on Register',
'instructions' => 'Show the "Accept term", "protection law", "privacy term", "sms & emails" on the register form'
],
'show_education_profession' => [
'name' => 'Show Education and Profession Fields',
'instructions' => 'Show the "Education", "State of Education" and "Profession" on the profile edit page'
],
'google_captcha_site_key' => [
'name' => 'Google Captcha Site Key',
],
'google_captcha_secret_key' => [
'name' => 'Google Captcha Secret Key',
],
'score_threshold' => [
'name' => 'Score Threshold',
'instructions' => 'A value between 0 and 1. The higher the threshold the more strict ReCaptcha is in trying to determine if a user is a bot or not.',
],
'education' => [
'name' => 'Education'
],
'state_of_education' => [
'name' => 'State of Education'
],
'profession' => [
'name' => 'Profession'
],
];

View File

@ -58,6 +58,15 @@ return [
'birthday' => [
'name' => 'Cumpleaños'
],
'education' => [
'name' => 'Educación'
],
'state_of_education' => [
'name' => 'Estado de la educación'
],
'profession' => [
'name' => 'Profesión'
],
'identification_number' => [
'name' => 'Número de identificación'
],
@ -448,4 +457,10 @@ return [
'edit_details' => 'Editar detalles',
'update' => 'Actualizar',
'change_password' => 'Cambia la contraseña',
// Register page
'accept_terms_label' => 'Acepto los términos.',
'accept_protection_law_label' => 'Acepto los términos de la Ley de Protección de Datos Personales.',
'accept_privacy_terms_label' => 'Acepto términos de privacidad.',
'receive_sms_emails_label' => 'Quiero recibir correos electrónicos y sms.',
];

View File

@ -39,4 +39,8 @@ return [
// Mail
'update_email_mail_subject' => '¡Correo electrónico actualizado!',
'update_email_mail_message' => '¡Su correo electrónico ha sido actualizado!',
// Register
'recaptcha_field_is_required' => 'El campo reCaptcha es obligatorio.',
'failed_to_validate_captcha' => 'No se pudo validar el captcha.',
];

View File

@ -8,4 +8,5 @@ return [
'title' => 'Dirección',
],
'general_setting' => 'Configuración general',
'recaptcha' => 'reCAPTCHA',
];

View File

@ -7,8 +7,34 @@ return [
'upload_avatar' => [
'name' => 'Carga de avatar',
],
'show_tax_office' => [
'name' => 'Mostrar campo de la oficina de impuestos',
],
'show_checkbox_terms_on_register' => [
'name' => 'Mostrar términos de casilla de verificación en el registro',
'instructions' => 'Muestre el "término de aceptación", "ley de protección", "término de privacidad", "sms y correos electrónicos" en el formulario de registro'
],
'show_education_profession' => [
'name' => 'Mostrar campos de educación y profesión',
'instructions' => 'Muestra la "Educación", "Estado de la educación" y "Profesión" en la página de edición del perfil.'
],
'google_captcha_site_key' => [
'name' => 'Clave de sitio de Google Captcha',
],
'google_captcha_secret_key' => [
'name' => 'Clave secreta de Google Captcha',
],
'score_threshold' => [
'name' => 'Umbral de puntuación',
'instructions' => 'Un valor entre 0 y 1. Cuanto mayor sea el umbral, más estricto será ReCaptcha al tratar de determinar si un usuario es un bot o no.',
],
'education' => [
'name' => 'Educación'
],
'state_of_education' => [
'name' => 'Estado de la educación'
],
'profession' => [
'name' => 'Profesión'
],
];

View File

@ -58,6 +58,15 @@ return [
'birthday' => [
'name' => 'روز تولد'
],
'education' => [
'name' => 'تحصیلات'
],
'state_of_education' => [
'name' => 'دولت آموزش و پرورش'
],
'profession' => [
'name' => 'حرفه'
],
'identification_number' => [
'name' => 'شماره شناسایی'
],
@ -445,4 +454,10 @@ return [
'edit_details' => 'جزئیات ویرایش',
'update' => 'به روز رسانی',
'change_password' => 'تغییر رمز عبور',
// Register page
'accept_terms_label' => 'من شرایط را قبول می کنم',
'accept_protection_law_label' => 'من شرایط قانون حمایت از داده های شخصی را می پذیرم.',
'accept_privacy_terms_label' => 'من شرایط حریم خصوصی را می پذیرم.',
'receive_sms_emails_label' => 'من می خواهم ایمیل و پیام کوتاه دریافت کنم.',
];

View File

@ -38,4 +38,8 @@ return [
// Mail
'update_email_mail_subject' => 'ایمیل به روز شد!',
'update_email_mail_message' => 'ایمیل شما به روز شده است!',
// Register
'recaptcha_field_is_required' => 'زمینه reCaptcha لازم است.',
'failed_to_validate_captcha' => 'تأیید captcha انجام نشد.',
];

View File

@ -8,4 +8,5 @@ return [
'title' => 'آدرس',
],
'general_setting' => 'تنظیمات عمومی',
'recaptcha' => 'reCAPTCHA',
];

View File

@ -7,8 +7,34 @@ return [
'upload_avatar' => [
'name' => 'آپلود آواتار',
],
'show_tax_office' => [
'name' => 'نمایش زمینه اداره مالیات',
],
'show_checkbox_terms_on_register' => [
'name' => 'نمایش شرایط جعبه تأیید در ثبت نام',
'instructions' => '"فرم پذیرش" ، "قانون حمایت" ، "اصطلاح حریم خصوصی" ، "پیام کوتاه و ایمیل" را در فرم ثبت نام نشان دهید'
],
'show_education_profession' => [
'name' => 'زمینه های آموزش و حرفه را نشان دهید',
'instructions' => '"آموزش" ، "وضعیت آموزش" و "حرفه" را در صفحه ویرایش نمایه نشان دهید'
],
'google_captcha_site_key' => [
'name' => 'کلید سایت Google Captcha',
],
'google_captcha_secret_key' => [
'name' => 'رمز مخفی Google Captcha',
],
'score_threshold' => [
'name' => 'آستانه امتیاز',
'instructions' => 'مقداری بین 0 تا 1. هرچه آستانه بالاتر باشد ReCaptcha سختگیرانه تر است تا تلاش کند ربات را رد کند یا خیر.',
],
'education' => [
'name' => 'تحصیلات'
],
'state_of_education' => [
'name' => 'دولت آموزش و پرورش'
],
'profession' => [
'name' => 'حرفه'
],
];

View File

@ -58,6 +58,15 @@ return [
'birthday' => [
'name' => 'Anniversaire'
],
'education' => [
'name' => 'Éducation'
],
'state_of_education' => [
'name' => 'État de l\'éducation'
],
'profession' => [
'name' => 'Profession'
],
'identification_number' => [
'name' => 'Numéro d\\'identification'
],
@ -448,4 +457,10 @@ return [
'edit_details' => 'Modifier les détails',
'update' => 'Mettre à jour',
'change_password' => 'Changer le mot de passe',
// Register page
'accept_terms_label' => 'J\'accepte les conditions.',
'accept_protection_law_label' => 'J\'accepte les termes de la loi sur la protection des données personnelles.',
'accept_privacy_terms_label' => 'J\'accepte les conditions de confidentialité.',
'receive_sms_emails_label' => 'Je souhaite recevoir des e-mails et des sms.',
];

View File

@ -39,4 +39,8 @@ return [
// Mail
'update_email_mail_subject' => 'Email mis à jour!',
'update_email_mail_message' => 'Votre e-mail a été mis à jour!',
// Register
'recaptcha_field_is_required' => 'Le champ reCaptcha est obligatoire.',
'failed_to_validate_captcha' => 'Échec de la validation du captcha.',
];

Some files were not shown because too many files have changed in this diff Show More