update languages and branding

This commit is contained in:
Aliberk Sandıkçı 2024-01-01 19:53:24 +03:00
parent 6236546d54
commit d7ff69480a
Signed by: asandikci
GPG Key ID: 25C67A03B5666BC1
14 changed files with 57 additions and 58 deletions

View File

@ -94,13 +94,13 @@ $languages = [
$config['language_codes'] = $languages;
$language_code = isset($_SERVER['HTTP_ACCEPT_LANGUAGE']) ? substr($_SERVER['HTTP_ACCEPT_LANGUAGE'], 0, 2) : 'en';
$language_code = isset($_SERVER['HTTP_ACCEPT_LANGUAGE']) ? substr($_SERVER['HTTP_ACCEPT_LANGUAGE'], 0, 2) : 'tr';
$config['language'] = isset($_SERVER['HTTP_ACCEPT_LANGUAGE'], $languages[$language_code])
? $languages[$language_code]
: Config::LANGUAGE;
$config['language_code'] = array_search($config['language'], $languages) ?: 'en';
$config['language_code'] = array_search($config['language'], $languages) ?: 'tr';
/*
|--------------------------------------------------------------------------

View File

@ -52,7 +52,7 @@ class Installation extends EA_Controller
}
/**
* Installs Easy!Appointments on the server.
* Installs MAKET Randevu on the server.
*/
public function perform()
{
@ -92,8 +92,8 @@ class Installation extends EA_Controller
// Service
$service_id = $this->services_model->save([
'name' => 'Service',
'duration' => '30',
'name' => 'Hizmet İsmini Buraya Girin',
'duration' => '60',
'price' => '0',
'currency' => '',
'availabilities_type' => 'flexible',
@ -102,13 +102,13 @@ class Installation extends EA_Controller
// Provider
$this->providers_model->save([
'first_name' => 'Jane',
'last_name' => 'Doe',
'email' => 'jane@example.org',
'phone_number' => '+1 (000) 000-0000',
'first_name' => 'Hizmet Sağlayıcı İsmini Buraya Girin',
'last_name' => 'Hizmet Sağlayıcı Soyismini Buraya Girin',
'email' => 'hizmet_saglayici_mail@example.org',
'phone_number' => '+90 (000) 000-0000',
'services' => [$service_id],
'settings' => [
'username' => 'janedoe',
'username' => 'ilkhizmetsaglayici',
'password' => random_string(),
'working_plan' => setting('company_working_plan'),
'notifications' => true,
@ -121,10 +121,10 @@ class Installation extends EA_Controller
// Customer
$this->customers_model->save([
'first_name' => 'James',
'last_name' => 'Doe',
'email' => 'james@example.org',
'phone_number' => '+1 (000) 000-0000',
'first_name' => 'Örnek Müşteri İsmi',
'last_name' => 'Örnek Müşteri Soyismi',
'email' => 'ornek_musteri@example.org',
'phone_number' => '+90 (000) 000-0000',
]);
json_response([

View File

@ -175,22 +175,22 @@ $lang['visible'] = 'Visible';
$lang['hidden'] = 'Hidden';
$lang['business_logic'] = 'Business Logic';
$lang['current_user'] = 'Current User';
$lang['about_app'] = 'About Easy!Appointments';
$lang['about_app'] = 'About MAKET Randevu';
$lang['edit_working_plan_hint'] = 'Mark below the days and hours that your company will accept appointments. You will be able to adjust appointments in non-working hours but the customers will not be able to book appointments by themselves in non-working periods. This working plan will be the default for every new provider record, but you will be able to change each provider\'s plan separately by editing his record. After that you can add break periods.';
$lang['edit_breaks_hint'] = 'Add the working breaks during each day. These breaks will be applied for all new providers.';
$lang['book_advance_timeout'] = 'Book Advance Timeout';
$lang['book_advance_timeout_hint'] = 'Define the timeout (in minutes) before the customers can book or re-arrange appointments with the company.';
$lang['timeout_minutes'] = 'Timeout (Minutes)';
$lang['about_app_info'] = 'Easy!Appointments is a highly customizable web application that allows your customers to book appointments with you via the web. Moreover, it provides the ability to sync your data with Google Calendar, so you can use them with other services.';
$lang['about_app_info'] = 'MAKET Randevu is a highly customizable web application that allows your customers to book appointments with you via the web. Moreover, it provides the ability to sync your data with Google Calendar, so you can use them with other services.';
$lang['current_version'] = 'Current Version';
$lang['support'] = 'Support';
$lang['about_app_support'] = 'If you encounter any problems when using Easy!Appointments you can search the official Google Group for answers. You might also need to create a new issue on the Google Code page in order to help the development progress.';
$lang['about_app_support'] = 'If you encounter any problems when using MAKET Randevu you can search the official Google Group for answers. You might also need to create a new issue on the Google Code page in order to help the development progress.';
$lang['official_website'] = 'Official Website';
$lang['google_plus_community'] = 'Google+ Community';
$lang['support_group'] = 'Support Group';
$lang['project_issues'] = 'Project Issues';
$lang['license'] = 'License';
$lang['about_app_license'] = 'Easy!Appointments is licensed under the GPLv3 license. By using the code of Easy!Appointments in any way you are agreeing to the terms described in the following url:';
$lang['about_app_license'] = 'MAKET Randevu is licensed under the GPLv3 license. By using the code of MAKET Randevu in any way you are agreeing to the terms described in the following url:';
$lang['logout_success'] = 'You have been successfully logged out! Click on one of the following buttons to navigate to a different page.';
$lang['book_appointment_title'] = 'Book Appointment';
$lang['backend_section'] = 'Backend Section';
@ -272,7 +272,7 @@ $lang['select_google_calendar_prompt'] = 'Select the calendar that you want to s
$lang['google_calendar_selected'] = 'Google calendar has been successfully selected.';
$lang['oops_something_went_wrong'] = 'Oops! Something Went Wrong.';
$lang['could_not_add_to_google_calendar'] = 'Your appointment could not be added to your Google Calendar account.';
$lang['ea_update_success'] = 'Easy!Appointments has been successfully updated.';
$lang['ea_update_success'] = 'MAKET Randevu has been successfully updated.';
$lang['require_captcha'] = 'Require CAPTCHA';
$lang['require_captcha_hint'] = 'When enabled, the customers will have to type a random generated CAPTCHA string before booking/updating an appointment.';
$lang['captcha_is_wrong'] = 'CAPTCHA verification failed, please try again.';
@ -320,7 +320,7 @@ $lang['add_working_plan_exception'] = 'Add Working Plan Exception';
$lang['require_phone_number'] = 'Require phone number';
$lang['require_phone_number_hint'] = 'When enabled, customers and users will need to enter the customer\'s phone number when booking an appointment';
$lang['check_spam_folder'] = 'Please check your spam folder if the email does not arrive within a few minutes.';
$lang['api_token_hint'] = 'Set a secret token in order to enable the token based authentication of the Easy!Appointments API.';
$lang['api_token_hint'] = 'Set a secret token in order to enable the token based authentication of the MAKET Randevu API.';
$lang['timezone'] = 'Timezone';
$lang['overwrite_existing_working_plans'] = 'This will overwrite the existing provider working plans, are you sure that you want to continue?';
$lang['working_plans_got_updated'] = 'All the working plans got updated.';
@ -396,7 +396,7 @@ $lang['google_analytics_info'] = 'Google Analytics enable you to automatically a
$lang['matomo_analytics'] = 'Matomo Analytics';
$lang['matomo_analytics_info'] = 'Matomo Analytics enable you to automatically add the tracking code and HTML markup to the public page and track all the public booking sessions.';
$lang['api'] = 'API';
$lang['api_info'] = 'API enable you to interact with all the Easy!Appointments data via the HTTP protocol and the available API endpoints and create your own integrations.';
$lang['api_info'] = 'API enable you to interact with all the MAKET Randevu data via the HTTP protocol and the available API endpoints and create your own integrations.';
$lang['google_analytics_code'] = 'Google Analytics Code';
$lang['matomo_analytics_url'] = 'Matomo Analytics URL';
$lang['future_booking_limit'] = 'Future Booking Limit';

View File

@ -175,22 +175,22 @@ $lang['visible'] = 'Gözle görülür';
$lang['hidden'] = 'Gizli';
$lang['business_logic'] = 'İş Mantığı';
$lang['current_user'] = 'Mevcut Kullanıcı';
$lang['about_app'] = 'Easy!Appointments Hakkında';
$lang['about_app'] = 'MAKET Randevu Hakkında';
$lang['edit_working_plan_hint'] = 'Aağıda şirketinizin kabul edeceği günleri ve saatleri işaretleyin. Çalışma saatleri dışında randevuları ayarlayabilirsiniz, ancak bu saatlere müşterilerin kendileri randevu kaydedemeyecektir. Bu çalışma planı tüm sağlayıcılar için varsayılan değer olup, daha sonra her biri için ayrıca özel plan da girebilir ve araları ekleyebilirsiniz.';
$lang['edit_breaks_hint'] = 'Gün içindeki çalışma aralarını ekleyin. Bu aralar tüm yeni hizmet sağlayıcılar için geçerli olacaktır.';
$lang['book_advance_timeout'] = 'Erken Randevu Zamanaşımı Değeri';
$lang['book_advance_timeout_hint'] = 'Müşterilerin en az ne kadar önceden randevu alması veya randevu düzenlemesi gerektiğini girin (dakika cinsinden).';
$lang['timeout_minutes'] = 'Zamanaşımı (Dakika)';
$lang['about_app_info'] = 'Easy!Appointments yüksek ölçüde özelleştirilebilen, müşterilerinizin web üzerinden randevu almasını sağlayan bir uygulamadır. Ayrıca, bilgilerinizi Google Takvim ile eşitleyerek diğer uygulamalarla da entegre olmasını sağlar. ';
$lang['about_app_info'] = 'MAKET Randevu yüksek ölçüde özelleştirilebilen, müşterilerinizin web üzerinden randevu almasını sağlayan bir uygulamadır. Ayrıca, bilgilerinizi Google Takvim ile eşitleyerek diğer uygulamalarla da entegre olmasını sağlar. ';
$lang['current_version'] = 'Mevcut Versiyon';
$lang['support'] = 'Destek';
$lang['about_app_support'] = 'Easy!Appointments kullanımı sırasında sorun yaşamanız halinde resmi Google Group üzerinde arama yapabilirsiniz. Ayrıca geliştirmeye destek olmak için Google Code sayfasında yeni sorun girişi de yapabilirsiniz.';
$lang['about_app_support'] = 'MAKET Randevu kullanımı sırasında sorun yaşamanız halinde resmi Google Group üzerinde arama yapabilirsiniz. Ayrıca geliştirmeye destek olmak için Google Code sayfasında yeni sorun girişi de yapabilirsiniz.';
$lang['official_website'] = 'Resmi Web Sitesi';
$lang['google_plus_community'] = 'Google+ Çevresi';
$lang['support_group'] = 'Destek Grubu';
$lang['project_issues'] = 'Proje Sorunları';
$lang['license'] = 'Lisans';
$lang['about_app_license'] = 'Easy!Appointments GPLv3 kapsamında lisanslıdır. Bu yazılımı herhangi bir biçimde kullanarak aşağıdaki adreste belirtilen koşulları kabul etmiş olursunuz:';
$lang['about_app_license'] = 'MAKET Randevu GPLv3 kapsamında lisanslıdır. Bu yazılımı herhangi bir biçimde kullanarak aşağıdaki adreste belirtilen koşulları kabul etmiş olursunuz:';
$lang['logout_success'] = 'Başarı ile sistemden çıkış yaptınız! Aşağıdaki butonlara tıklayarak diğer sayfalara geçebilirsiniz.';
$lang['book_appointment_title'] = 'Randevu Al';
$lang['backend_section'] = 'Yönetim Paneli';
@ -272,7 +272,7 @@ $lang['select_google_calendar_prompt'] = 'Randevularınızı eşitlemek istediğ
$lang['google_calendar_selected'] = 'Google Takvimi başarıyla seçildi.';
$lang['oops_something_went_wrong'] = 'Oops! Bir Sorun Oluştu.';
$lang['could_not_add_to_google_calendar'] = 'Randevunuz Google Takvim hesabınıza eklenemedi.';
$lang['ea_update_success'] = 'Easy!Appointments başarı ile güncellendi.';
$lang['ea_update_success'] = 'MAKET Randevu başarı ile güncellendi.';
$lang['require_captcha'] = 'CAPTCHA gereklidir';
$lang['require_captcha_hint'] = 'When enabled, the customers will have to type a random generated CAPTCHA string before booking/updating an appointment.';
$lang['captcha_is_wrong'] = 'CAPTCHA verification failed, please try again.';
@ -320,7 +320,7 @@ $lang['add_working_plan_exception'] = 'İstisna ekle';
$lang['require_phone_number'] = 'Telefon num. gerekli';
$lang['require_phone_number_hint'] = 'Etkinleştirildiğinde, müşterilerin ve kullanıcıların randevu alırken müşterinin telefon numarasını girmeleri gerekir.';
$lang['check_spam_folder'] = 'E-posta birkaç dakika içinde gelmezse lütfen spam klasörünüzü kontrol edin.';
$lang['api_token_hint'] = 'Easy!Appointments Api sinin belirteç tabanlı kimlik doğrulamasını etkinleştirmek için gizli bir belirteç ayarlayın.';
$lang['api_token_hint'] = 'MAKET Randevu Api sinin belirteç tabanlı kimlik doğrulamasını etkinleştirmek için gizli bir belirteç ayarlayın.';
$lang['timezone'] = 'Saat Dilimi';
$lang['overwrite_existing_working_plans'] = 'This will overwrite the existing provider working plans, are you sure that you want to continue?';
$lang['working_plans_got_updated'] = 'Tüm çalışma planları güncellendi.';
@ -396,7 +396,7 @@ $lang['google_analytics_info'] = 'Google Analytics enable you to automatically a
$lang['matomo_analytics'] = 'Matomo Analytics';
$lang['matomo_analytics_info'] = 'Matomo Analytics enable you to automatically add the tracking code and HTML markup to the public page and track all the public booking sessions.';
$lang['api'] = 'API';
$lang['api_info'] = 'API enable you to interact with all the Easy!Appointments data via the HTTP protocol and the available API endpoints and create your own integrations.';
$lang['api_info'] = 'API enable you to interact with all the MAKET Randevu data via the HTTP protocol and the available API endpoints and create your own integrations.';
$lang['google_analytics_code'] = 'Google Analytics Code';
$lang['matomo_analytics_url'] = 'Matomo Analytics URL';
$lang['future_booking_limit'] = 'Future Booking Limit';

View File

@ -151,7 +151,7 @@ class Api
#[NoReturn]
public function request_authentication(): void
{
header('WWW-Authenticate: Basic realm="Easy!Appointments"');
header('WWW-Authenticate: Basic realm="MAKET Randevu"');
header('HTTP/1.0 401 Unauthorized');
exit('You are not authorized to use the API.');
}

View File

@ -1,7 +1,7 @@
<?php defined('BASEPATH') or exit('No direct script access allowed');
/* ----------------------------------------------------------------------------
* Easy!Appointments - Open Source Web Scheduler
* MAKET Randevu - Open Source Web Scheduler
*
* @package EasyAppointments
* @author A.Tselegidis <alextselegidis@gmail.com>

View File

@ -125,16 +125,15 @@ class Instance
// Provider
$this->CI->providers_model->save([
'first_name' => 'Jane',
'last_name' => 'Doe',
'email' => 'jane@example.org',
'phone_number' => '+10000000000',
'first_name' => 'Hizmet Sağlayıcı İsmini Buraya Girin',
'last_name' => 'Hizmet Sağlayıcı Soyismini Buraya Girin',
'email' => 'hizmet_saglayici_mail@example.org',
'phone_number' => '+90 (000) 000-0000',
'services' => [$service_id],
'settings' => [
'username' => 'janedoe',
'username' => 'ilkhizmetsaglayici',
'password' => random_string(),
'working_plan' => setting('company_working_plan'),
'working_plan_exceptions' => '{}',
'notifications' => true,
'google_sync' => false,
'sync_past_days' => 30,
@ -146,10 +145,10 @@ class Instance
// Customer
$this->CI->customers_model->save([
'first_name' => 'James',
'last_name' => 'Doe',
'email' => 'james@example.org',
'phone_number' => '+10000000000',
'first_name' => 'Örnek Müşteri İsmi',
'last_name' => 'Örnek Müşteri Soyismi',
'email' => 'ornek_musteri@example.org',
'phone_number' => '+90 (000) 000-0000',
]);
return $password;

View File

@ -7,7 +7,7 @@
?>
<div id="footer" class="d-lg-flex justify-content-lg-start align-items-lg-center p-2 text-center text-lg-left mt-auto">
<div class="mb-3 me-lg-5 mb-lg-0">
<img class="me-1" src="<?= base_url('assets/img/logo-16x16.png') ?>" alt="Easy!Appointments Logo">
<img class="me-1" src="<?= base_url('assets/img/logo-16x16.png') ?>" alt="MAKET Randevu Logo">
<a href="<?= branding('software','website')?>"><?= branding('software','name')?></a>

View File

@ -13,7 +13,7 @@
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
<title>Error | Easy!Appointments</title>
<title>Error | MAKET Randevu</title>
<style>
#error-container {
background: #ffffff;
@ -74,7 +74,7 @@
<p>
<small>
<a href="https://easyappointments.org">Easy!Appointments</a>
<a href="https://iflpanel.com/about/maketrandevu">MAKET Randevu</a>
</small>
</p>
</div>

View File

@ -9,7 +9,7 @@
<?php slot('meta'); ?>
<title><?= vars('page_title') ?? lang('backend_section') ?> | Easy!Appointments</title>
<title><?= vars('page_title') ?? lang('backend_section') ?> | MAKET Randevu</title>
<link rel="icon" type="image/x-icon" href="<?= asset_url('assets/img/favicon.ico') ?>">
<link rel="icon" sizes="192x192" href="<?= asset_url('assets/img/logo.png') ?>">

View File

@ -7,7 +7,7 @@
<meta name="theme-color" content="#35A768">
<meta name="google" content="notranslate">
<meta property="og:title" content="<?= lang('page_title') . ' ' . vars('company_name') ?> | Easy!Appointments"/>
<meta property="og:title" content="<?= lang('page_title') . ' ' . vars('company_name') ?> | MAKET Randevu"/>
<meta property="og:description" content="Book Your Appointment With A Few Clicks"/>
<meta property="og:url" content="<?= base_url() ?>">
<meta property="og:image" content="<?= base_url('assets/img/social-card.png') ?>"/>
@ -15,7 +15,7 @@
<?php slot('meta'); ?>
<title><?= lang('page_title') . ' ' . vars('company_name') ?> | Easy!Appointments</title>
<title><?= lang('page_title') . ' ' . vars('company_name') ?> | MAKET Randevu</title>
<link rel="icon" type="image/x-icon" href="<?= asset_url('assets/img/favicon.ico') ?>">
<link rel="icon" sizes="192x192" href="<?= asset_url('assets/img/logo.png') ?>">

View File

@ -9,7 +9,7 @@
<?php slot('meta'); ?>
<title><?= vars('page_title') ?> | Easy!Appointments</title>
<title><?= vars('page_title') ?> | MAKET Randevu</title>
<link rel="icon" type="image/x-icon" href="<?= asset_url('assets/img/favicon.ico') ?>">
<link rel="icon" sizes="192x192" href="<?= asset_url('assets/img/logo.png') ?>">

View File

@ -6,7 +6,7 @@
<div id="about" class="col-lg-8 offset-lg-2">
<div class="text-center my-5">
<img src="<?= base_url('assets/img/logo.png') ?>" alt="Easy!Appointments Logo" class="mb-5">
<img src="<?= base_url('assets/img/logo.png') ?>" alt="MAKET Randevu Logo" class="mb-5">
<h3>
<?= branding("software", "name") ?>

View File

@ -3,7 +3,7 @@
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<title>Installation | Easy!Appointments</title>
<title>Installation | MAKET Randevu</title>
<link rel="icon" type="image/x-icon" href="<?= asset_url('assets/img/favicon.ico') ?>">
<link rel="stylesheet" type="text/css" href="<?= asset_url('assets/css/themes/default.min.css') ?>">
@ -17,20 +17,20 @@
<header>
<div class="container">
<h1 class="page-title">Easy!Appointments Installation</h1>
<h1 class="page-title">MAKET Randevu Installation</h1>
</div>
</header>
<div class="content container">
<div class="welcome">
<h3>Welcome to the Easy!Appointments installation page.</h3>
<h3>Welcome to the MAKET Randevu installation page.</h3>
<p>
This page will help you set the main settings of your Easy!Appointments installation. You will be able to
This page will help you set the main settings of your MAKET Randevu installation. You will be able to
edit these settings and many more in the backend session of your system. Remember to use the
<strong class="text-primary"><?= site_url('user/login') ?></strong> URL to connect to the backend section
of Easy!Appointments.
of MAKET Randevu.
If you face any problems during the usage of Easy!Appointments you can always check the
If you face any problems during the usage of MAKET Randevu you can always check the
<a href="https://easyappointments.org/docs.html">Documentation</a> and
<a href="https://groups.google.com/group/easy-appointments">Support Group</a> for getting help. You may also
submit new issues on
@ -113,9 +113,9 @@
<div class="mb-2">
<h3>License</h3>
Easy!Appointments is licensed under the <span class="badge bg-secondary">GPL-3.0 license</span>. By using the
MAKET Randevu is licensed under the <span class="badge bg-secondary">GPL-3.0 license</span>. By using the
code
of Easy!Appointments in any way <br> you agree with the terms described in the following url:
of MAKET Randevu in any way <br> you agree with the terms described in the following url:
<a href="https://www.gnu.org/licenses/gpl-3.0.en.html">https://www.gnu.org/licenses/gpl-3.0.en.html</a>
</div>
@ -123,13 +123,13 @@
<button type="button" id="install" class="btn btn-primary">
<i class="icon-white icon-ok me-2"></i>
Install Easy!Appointments
Install MAKET Randevu
</button>
</div>
<footer>
<a href="https://easyappointments.org">Easy!Appointments</a>
<a href="https://easyappointments.org">MAKET Randevu</a>
</footer>
<?php component('js_vars_script'); ?>