Added german translation array into project.
This commit is contained in:
parent
b0bfcb30d7
commit
49dbe9cfba
13 changed files with 315 additions and 64 deletions
Binary file not shown.
|
@ -96,7 +96,7 @@ $autoload['config'] = array();
|
|||
|
|
||||
*/
|
||||
|
||||
$autoload['language'] = array();
|
||||
$autoload['language'] = array('frontend', 'backend');
|
||||
|
||||
|
||||
/*
|
||||
|
|
|
@ -86,7 +86,7 @@ $config['url_suffix'] = '';
|
|||
| than english.
|
||||
|
|
||||
*/
|
||||
$config['language'] = 'english';
|
||||
$config['language'] = 'german';//'english';
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
|
@ -38,12 +38,12 @@ class Appointments extends CI_Controller {
|
|||
// The requested appointment doesn't exist in the database. Display
|
||||
// a message to the customer.
|
||||
$view = array(
|
||||
'message_title' => 'Appointment Not Found!',
|
||||
'message_text' => 'The appointment you requested does not exist in '
|
||||
. 'the system database anymore.',
|
||||
'message_title' => $this->lang->line('fe_appointment_not_found'),
|
||||
'message_text' => $this->lang->line('fe_appointment_does_not_exist_in_db'),
|
||||
'message_icon' => $this->config->item('base_url')
|
||||
. 'assets/images/error.png'
|
||||
);
|
||||
$view['ea_lang'] = $this->lang->language;
|
||||
$this->load->view('appointments/message', $view);
|
||||
return;
|
||||
}
|
||||
|
@ -76,6 +76,7 @@ class Appointments extends CI_Controller {
|
|||
$view['exceptions'][] = $exc;
|
||||
}
|
||||
|
||||
$view['ea_lang'] = $this->lang->language;
|
||||
$this->load->view('appointments/book', $view);
|
||||
|
||||
} else {
|
||||
|
@ -147,25 +148,22 @@ class Appointments extends CI_Controller {
|
|||
->get_setting('notifications', $provider['id']);
|
||||
|
||||
if (!$post_data['manage_mode']) {
|
||||
$customer_title = 'Your appointment has been successfully booked!';
|
||||
$customer_message = 'Thank you for arranging an appointment with us. '
|
||||
. 'Below you can see the appointment details. Make changes '
|
||||
. 'by clicking the appointment link.';
|
||||
$customer_title = $this->lang->line('fe_appointment_booked');
|
||||
$customer_message = $this->lang->line('fe_thank_your_for_appointment');
|
||||
$customer_link = $this->config->item('base_url') . 'appointments/index/'
|
||||
. $appointment['hash'];
|
||||
|
||||
$provider_title = 'A new appointment has been added to your plan.';
|
||||
$provider_message = 'You can make changes by clicking the appointment '
|
||||
. 'link below.';
|
||||
$provider_title = $this->lang->line('fe_appointment_added_to_your_plan');
|
||||
$provider_message = $this->lang->line('fe_appointment_link_description');
|
||||
$provider_link = $this->config->item('base_url') . 'backend/index/'
|
||||
. $appointment['hash'];
|
||||
} else {
|
||||
$customer_title = 'Appointment changes have been successfully saved!';
|
||||
$customer_title = $this->lang->line('be_appointment_changes_saved');
|
||||
$customer_message = '';
|
||||
$customer_link = $this->config->item('base_url') . 'appointments/index/'
|
||||
. $appointment['hash'];
|
||||
|
||||
$provider_title = 'Appointment details have changed.';
|
||||
$provider_title = $this->lang->line('be_appointment_details_changed');
|
||||
$provider_message = '';
|
||||
$provider_link = $this->config->item('base_url') . 'backend/index/'
|
||||
. $appointment['hash'];
|
||||
|
@ -196,6 +194,7 @@ class Appointments extends CI_Controller {
|
|||
$view['exceptions'][] = $exc;
|
||||
}
|
||||
|
||||
$view['ea_lang'] = $this->lang->language;
|
||||
$this->load->view('appointments/book_success', $view);
|
||||
}
|
||||
}
|
||||
|
@ -291,6 +290,7 @@ class Appointments extends CI_Controller {
|
|||
$view['exceptions'] = $exceptions;
|
||||
}
|
||||
|
||||
$view['ea_lang'] = $this->lang->language;
|
||||
$this->load->view('appointments/cancel', $view);
|
||||
}
|
||||
|
||||
|
|
|
@ -109,7 +109,7 @@ $lang['be_company_name_hint'] = 'Company name will be displayed everywhere on th
|
|||
$lang['be_company_email'] = 'Company Email';
|
||||
$lang['be_company_email_hint'] = 'This will be the company email address. It will be used as the sender and the reply address of the system emails (required).';
|
||||
$lang['be_company_link'] = 'Company Link';
|
||||
$lang['be_company_link_hint'] = 'Company link should point to the official website of the company (optional).';
|
||||
$lang['be_company_link_hint'] = 'Company link should point to the official website of the company (required).';
|
||||
$lang['be_go_to_booking_page'] = 'Go To Booking Page';
|
||||
$lang['be_settings_saved'] = 'Settings saved successfully!';
|
||||
$lang['be_general'] = 'General';
|
|
@ -51,4 +51,6 @@ $lang['fe_success'] = 'Success!';
|
|||
$lang['fe_appointment_added_to_google_calendar'] = 'Your appointment has been added to your Google Calendar account.';
|
||||
$lang['fe_view_appointment_in_google_calendar'] = 'Click here to view your appointment on Google Calendar.';
|
||||
$lang['fe_appointment_added_to_your_plan'] = 'A new appointment has been added to your plan.';
|
||||
$lang['fe_appointment_link_description'] = 'You can make changes by clicking the appointment link below.';
|
||||
$lang['fe_appointment_link_description'] = 'You can make changes by clicking the appointment link below.';
|
||||
$lang['fe_appointment_not_found'] = 'Appointment Not Found!';
|
||||
$lang['fe_appointment_does_not_exist_in_db'] = 'The appointment you requested does not exist in the system database anymore.';
|
162
src/application/language/german/backend_lang.php
Normal file
162
src/application/language/german/backend_lang.php
Normal file
|
@ -0,0 +1,162 @@
|
|||
<?php
|
||||
// Backend Translation File
|
||||
$lang['be_display_calendar'] = 'Kalender anzeigen';
|
||||
$lang['be_providers'] = 'Anbieter';
|
||||
$lang['be_services'] = 'Dienstleistungen';
|
||||
$lang['be_calendar'] = 'Kalender';
|
||||
$lang['be_customers'] = 'Kunden';
|
||||
$lang['be_users'] = 'Nutzer';
|
||||
$lang['be_settings'] = 'Einstellungen';
|
||||
$lang['be_log_out'] = 'Abmelden';
|
||||
$lang['be_synchronize'] = 'Synchronisieren';
|
||||
$lang['be_enable_sync'] = 'Sync einschalten';
|
||||
$lang['be_disable_sync'] = 'Sync ausschalten';
|
||||
$lang['be_reload'] = 'Neu laden';
|
||||
$lang['be_appointment'] = 'Termin';
|
||||
$lang['be_unavailable'] = 'Nicht möglich';
|
||||
$lang['be_day'] = 'Tag';
|
||||
$lang['be_week'] = 'Woche';
|
||||
$lang['be_month'] = 'Monat';
|
||||
$lang['be_today'] = 'Heute';
|
||||
$lang['be_not_working'] = 'Sonn- und Feiertag';
|
||||
$lang['be_break'] = 'Pause';
|
||||
$lang['be_add'] = 'Hinzufügen';
|
||||
$lang['be_edit'] = 'Bearbeiten';
|
||||
$lang['be_delete'] = 'Löschen';
|
||||
$lang['be_hello'] = 'Hallo';
|
||||
$lang['be_all_day'] = 'Ganztägig';
|
||||
$lang['be_manage_appointment_record_hint'] = 'Verwalten Sie alle Termineintragungen der zur Verfügung stehenden Anbieter und Dienstleistungen.';
|
||||
$lang['be_select_filter_item_hint'] = 'Wählen Sie einen Anbieter oder eine Dienstleistung und sehen Sie die Termine im Kalender an.';
|
||||
$lang['be_enable_appointment_sync_hint'] = 'Beginnen Sie die Terminsynchronisatonen mit dem Google Kalender des Dienstleisters.';
|
||||
$lang['be_manage_customers_hint'] = 'Verwalten Sie die registrierten Kunden und sehen Sie die vergangenen Buchungen ein.';
|
||||
$lang['be_manage_services_hint'] = 'Verwalten Sie die erhältlichen Dienstleistungen und Kategorien des Systems.';
|
||||
$lang['be_manage_users_hint'] = 'Verwalten Sie die Endnutzer (Admins, Anbieter, Büropersonal).';
|
||||
$lang['be_settings_hint'] = 'Setzen Sie das System aus Nutzereinstellungen.';
|
||||
$lang['be_log_out_hint'] = 'Melden Sie sich vom System ab.';
|
||||
$lang['be_unavailable_periods_hint'] = 'Über den Zeitraum nicht erhältlicher Dienstleistung werden neue Termin von den Anbietern nicht akzeptiert.';
|
||||
$lang['be_new_appointment_hint'] = 'Bestimmen Sie einen neuen Termin und sichern Sie ihn in der Datenbank.';
|
||||
$lang['be_reload_appointments_hint'] = 'Kalendertermine neu laden.';
|
||||
$lang['be_trigger_google_sync_hint'] = 'Starten Sie den Synchronisationsprozess von Google Kalender.';
|
||||
$lang['be_appointment_updated'] = 'Die Termine sind erfolgreich erneuert worden!';
|
||||
$lang['be_undo'] = 'Schritt zurück';
|
||||
$lang['be_cancel'] = 'Abbrechen';
|
||||
$lang['be_appointment_details_changed'] = 'Die Termindetails haben sich geändert.';
|
||||
$lang['be_appointment_changes_saved'] = 'Die Terminänderungen sind erfolgreich gespeichert worden!';
|
||||
$lang['be_save'] = 'Speichern';
|
||||
$lang['be_new'] = 'Neu';
|
||||
$lang['be_selected'] = 'Auswahl';
|
||||
$lang['be_hide'] = 'Verbergen';
|
||||
$lang['be_type_to_filter_customers'] = 'Eingeben um Kunden zu filtern.';
|
||||
$lang['be_new_appointment_title'] = 'Neuer Termin';
|
||||
$lang['be_edit_appointment_title'] = 'Termin bearbeiten';
|
||||
$lang['be_delete_appointment_title'] = 'Termin löschen';
|
||||
$lang['be_write_appointment_removal_reason'] = 'Bitte nehmen Sie sich eine Minute Zeit um den Grund aufzuschreiben warum Sie den Termin löschen:';
|
||||
$lang['be_appointment_saved'] = 'Termin erfolgreich gespeichert!';
|
||||
$lang['be_new_unavailable_title'] = 'Neuer nicht zur Verfügung stehender Zeitraum';
|
||||
$lang['be_edit_unavailable_title'] = 'Nicht zur Verfügung stehenden Zeitraum bearbeiten';
|
||||
$lang['be_unavailabled_saved'] = 'Nicht zur Verfügung stehender Zeitraum erfolgreich gespeichert!';
|
||||
$lang['be_start_date_before_end_error'] = 'Das Startdatum ist größer als das Enddatum!';
|
||||
$lang['be_invalid_email'] = 'Ungültige E-Mail-Adresse!';
|
||||
$lang['be_customers'] = 'Kunden';
|
||||
$lang['be_details'] = 'Details';
|
||||
$lang['be_no_record_found'] = 'Keine Einträge gefunden ...';
|
||||
$lang['be_services'] = 'Dienstleistungen';
|
||||
$lang['be_duration_minutes'] = 'Dauer (Minuten)';
|
||||
$lang['be_currency'] = 'Währung';
|
||||
$lang['be_category'] = 'Kategorie';
|
||||
$lang['be_no_category'] = 'Keine Kategorie';
|
||||
$lang['be_description'] = 'Beschreibung';
|
||||
$lang['be_categories'] = 'Kategorien';
|
||||
$lang['be_admins'] = 'Administrator';
|
||||
$lang['be_providers'] = 'Anbieter';
|
||||
$lang['be_secretaries'] = 'Bearbeiter';
|
||||
$lang['be_mobile_number'] = 'Mobiltelefonnummer';
|
||||
$lang['be_state'] = 'Region / Land';
|
||||
$lang['be_username'] = 'Nutzername';
|
||||
$lang['be_password'] = 'Passwort';
|
||||
$lang['be_retype_password'] = 'Passwort neu eingeben';
|
||||
$lang['be_receive_notifications'] = 'Nachrichtenempfang';
|
||||
$lang['be_passwords_mismatch'] = 'Passwort nicht gültig!';
|
||||
$lang['be_admin_saved'] = 'Administrator erfolgreich gesichert!';
|
||||
$lang['be_provider_saved'] = 'Anbieter erfolgreich gesichert!';
|
||||
$lang['be_secretary_saved'] = 'Bearbeiter erfolgreich gesichert!';
|
||||
$lang['be_admin_deleted'] = 'Administrator erfolgreich gelöscht!';
|
||||
$lang['be_provider_deleted'] = 'Anbieter erfolgreich gelöscht!';
|
||||
$lang['be_secretary_deleted'] = 'Bearbeiter erfolgreich gelöscht!';
|
||||
$lang['be_service_saved'] = 'Dienstleistung erfolgreich gesichert!';
|
||||
$lang['be_service_category_saved'] = 'Dienstleistungskategorie erfolgreich gesichert!';
|
||||
$lang['be_service_deleted'] = 'Dienstleistung erfolgreich gelöscht!';
|
||||
$lang['be_servce_category_deleted'] = 'Dienstleistungskategorie erfolgreicht gelöscht!';
|
||||
$lang['be_customer_saved'] = 'Kunde erfolgreich gesichert!';
|
||||
$lang['be_customer_deleted'] = 'Kunde erfolgreich gelöscht!';
|
||||
$lang['be_current_view'] = 'Laufende Ansicht';
|
||||
$lang['be_working_plan'] = 'Arbeitsplan';
|
||||
$lang['be_reset_plan'] = 'Neustart Plan';
|
||||
$lang['be_monday'] = 'Montag';
|
||||
$lang['be_tuesday'] = 'Dienstag';
|
||||
$lang['be_wednesday'] = 'Mittwoch';
|
||||
$lang['be_thursday'] = 'Donnerstag';
|
||||
$lang['be_friday'] = 'Freitag';
|
||||
$lang['be_saturday'] = 'Samstag';
|
||||
$lang['be_sunday'] = 'Sonntag';
|
||||
$lang['be_breaks'] = 'Pausen';
|
||||
$lang['be_add_breaks_during_each_day'] = 'Fügen Sie die Arbeitspausen für jeden Tag hinzu. Während der Pausen kann der Dienstleister keine Termin akzeptieren.';
|
||||
$lang['be_day'] = 'Tag';
|
||||
$lang['be_actions'] = 'Aktionen';
|
||||
$lang['be_reset_working_plan_hint'] = 'Setzen Sie den Arbeitsplan auf die Standardwerte zurück.';
|
||||
$lang['be_company_name'] = 'Name der Firma';
|
||||
$lang['be_company_name_hint'] = 'Der Firmenname wird überall im System verwendet (erforderlich).';
|
||||
$lang['be_company_email'] = 'Email der Firma';
|
||||
$lang['be_company_email_hint'] = 'Das wird die E-Mail-Adresse der Firma sein. Sie wird verwendet als Adresse des Absenders für die E-Mails des Systems (erforderlich).';
|
||||
$lang['be_company_link'] = 'Weblink der Firma';
|
||||
$lang['be_company_link_hint'] = 'Der Firmenlink sollte auf die offizielle Webseite der Firma weisen (erforderlich).';
|
||||
$lang['be_go_to_booking_page'] = 'Gehe zu Buchungsseite';
|
||||
$lang['be_settings_saved'] = 'Einstellungen erfolgreich gesichert!';
|
||||
$lang['be_general'] = 'Allgemeines';
|
||||
$lang['be_business_logic'] = 'Unternehmerische Logik';
|
||||
$lang['be_current_user'] = 'Laufender Nutzer';
|
||||
$lang['be_about_ea'] = 'Über E!A';
|
||||
$lang['be_edit_working_plan_hint'] = 'Bitte notieren Sie im folgenden die Tage und Zeiten für die das Unternehmen Termine anbietet. Sie können Termine auch für Feiertage festlegen, aber die Kunden können an diesen Tagen keine Buchung durchführen. Dieser Arbeitsplan ist voreingestellt für alle neuen Einschreibungen von Dienstleistern, aber Sie haben die Möglichkeit den Arbeitsplan zu ändern und zwar für jeden Anbieter gesondert, indem Sie seine Einschreibung bearbeiten. Danach fügen Sie die Zeiträume der Pausen hinzu.';
|
||||
$lang['be_edit_breaks_hint'] = 'Fügen Sie die betrieblichen Pausen je Tag hinzu. Diese Pausen werden für alle neuen Dienstleister angewendet.';
|
||||
$lang['be_book_advance_timeout'] = 'Zeitgrenze vor einer Buchung';
|
||||
$lang['be_book_advance_timeout_hint'] = 'Legen Sie eine Zeitgrenze (in Minuten) fest bevor die Kunden eine Terminbuchung oder eine Terminänderungen durchführen können.';
|
||||
$lang['be_timeout_minutes'] = 'Zeitgrenze (Minuten)';
|
||||
$lang['be_about_ea_info'] = 'Easy!Appointments ist eine extrem anpassungsfähige Internet-Applikation die es Ihren Kunden ermöglicht, einen Termin mit Ihnen über des Internet zu schließen. Darüberhinaus gibt es Ihnen die Möglichkeit Ihre Daten mit dem Google Kalender zu synchronisieren, so dass Sie diese mit anderen Dienstleistungsprogrammen nutzen können.';
|
||||
$lang['be_current_version'] = 'Laufende Version';
|
||||
$lang['be_support'] = 'Unterstützung';
|
||||
$lang['be_about_ea_support'] = 'Falls Sie irgendein Problem bei der Nutzung von Easy!Appointments haben sollten können Sie die offizielle Google Gruppe nach Lösungen durchsuchen. Sie können auch ein neues Thema in Google Code beginnen, damit Sie die Findung von Lösungen unterstützen. ';
|
||||
$lang['be_official_website'] = 'Offiezielle Webseite';
|
||||
$lang['be_google_plus_community'] = 'Google+ Gemeinschaft';
|
||||
$lang['be_support_group'] = 'Gruppenunterstützung';
|
||||
$lang['be_project_issues'] = 'Projectthemen';
|
||||
$lang['be_license'] = 'Nutzungslizenz';
|
||||
$lang['be_about_ea_license'] = 'Easy!Appointment ist lizensiert under der GPLv3-Lizenz. Bei Benutzung des Codes für Easy!Appointments auf irgendeine Weise stimmen Sie mit den Nutzungsbedingungen zu wie sie in folgender url aufgeführt sind:';
|
||||
$lang['be_logout_success'] = 'Sie haben sich erfolgreich abgemeldet! Klicken sie auf einen der folgende Tasten, um auf eine andere Seite zu gelangen.';
|
||||
$lang['be_book_appointment_title'] = 'Terminbuchung';
|
||||
$lang['be_backend_section'] = 'Backend Sektion';
|
||||
$lang['be_you_need_to_login'] = 'Willkommen! Sie müssen sich anmelden um die Backend-Seiten zu sehen.';
|
||||
$lang['be_enter_username_here'] = 'Geben Sie Ihren Nutzernamen hier ein ...';
|
||||
$lang['be_enter_password_here'] = 'Geben Sie Ihr Passwort hier ein ...';
|
||||
$lang['be_login'] = 'Anmelden';
|
||||
$lang['be_forgot_your_password'] = 'Passowort vergessen?';
|
||||
$lang['be_login_failed'] = 'Die Anmeldung gelang nicht, bitte geben Sie die richtigen Anmeldedaten ein und versuchen Sie es erneut.';
|
||||
$lang['be_type_username_and_email_for_new_password'] = 'Geben Sie Ihren Nutzernamen und Ihre E-Mail-Adresse ein, um Ihr neues Passwort zu erhalten.';
|
||||
$lang['be_enter_email_here'] = 'Geben Sie Ihre E-Mail hier ein ...';
|
||||
$lang['be_regenerate_password'] = 'Passwort generieren';
|
||||
$lang['be_go_to_login'] = 'Gehe Sie zurück auf die Anmelde-Seite';
|
||||
$lang['be_new_password_sent_with_email'] = 'Ihr neues Passwort ist Ihnen per E-Mail gesendet worden.';
|
||||
$lang['be_new_account_password'] = 'Neues Kontopasswort';
|
||||
$lang['be_new_password_is'] = 'Ihr neue Passwort ist $password. Bitte sichern Sie dieses E-Mail damit Sie Ihr Passwort nachlesen können falls nötig. Sie können diese Passwort auf der Seite Einstellungen auch mit einem neuen austauschen.';
|
||||
$lang['be_delete_record_prompt'] = 'Sind Sie sicher, dass Sie diesen Eintrag löschen möchten? Dieser Vorgang kann nicht zurückgenommen werden.';
|
||||
$lang['be_delete_admin'] = 'Administrator löschen';
|
||||
$lang['be_delete_customer'] = 'Kunde löschen';
|
||||
$lang['be_delete_service'] = 'Dienstleistung löschen';
|
||||
$lang['be_delete_category'] = 'Servicekategorie löschen';
|
||||
$lang['be_delete_provider'] = 'Zeitraum löschen';
|
||||
$lang['be_delete_secretary'] = 'Bearbeiter löschen';
|
||||
$lang['be_delete_appointment'] = 'Termin löschen';
|
||||
$lang['be_delete_unavailable'] = 'Nicht zur Verfügung stehender Zeitraum löschen';
|
||||
$lang['be_delete'] = 'Löschen';
|
||||
$lang['be_unexpected_issues'] = 'Unvorhergesene Vorfälle';
|
||||
$lang['be_unexpected_issues_message'] = 'Dieser Vorgang konnte aufgrund unvorgesehener Vorfälle nicht beendet werden.';
|
||||
$lang['be_close'] = 'Schließen';
|
56
src/application/language/german/frontend_lang.php
Normal file
56
src/application/language/german/frontend_lang.php
Normal file
|
@ -0,0 +1,56 @@
|
|||
<?php
|
||||
// Frontend Translation File
|
||||
$lang['fe_page_title'] = 'Vereinbaren Sie einen Termin mit';
|
||||
$lang['fe_step_one_title'] = 'Auswahl der Dienstleistung und des Anbieters';
|
||||
$lang['fe_select_service'] = 'Auswahl der Dienstleistung';
|
||||
$lang['fe_select_provider'] = 'Auswahl des Anbieters';
|
||||
$lang['fe_duration'] = 'Dauer';
|
||||
$lang['fe_minutes'] = 'Minuten';
|
||||
$lang['fe_price'] = 'Preis';
|
||||
$lang['fe_next'] = 'Vor';
|
||||
$lang['fe_back'] = 'Zurück';
|
||||
$lang['fe_step_two_title'] = 'Auswahl des Datums und der Uhrzeit des Termins';
|
||||
$lang['fe_no_available_hours'] = 'Es gibt leider keine freien Termine für das ausgewählte Datum. Bitte wählen Sie ein anderes Datum.';
|
||||
$lang['fe_appointment_hour_missing'] = 'Bitte wählen Sie einen Termin bevor Sie fortfahren!';
|
||||
$lang['fe_step_three_title'] = 'Bitte tragen Sie Ihre persönlichen Daten ein';
|
||||
$lang['fe_first_name'] = 'Vorname';
|
||||
$lang['fe_last_name'] = 'Nachname';
|
||||
$lang['fe_email'] = 'E-Mail';
|
||||
$lang['fe_phone_number'] = 'Telefonnummer';
|
||||
$lang['fe_address'] = 'Adresse';
|
||||
$lang['fe_city'] = 'Stadt';
|
||||
$lang['fe_zip_code'] = 'Postleitzahl';
|
||||
$lang['fe_notes'] = 'Bemerkungen';
|
||||
$lang['fe_fields_are_required'] = 'Die Felder mit einem * sind Pflichtfelder!';
|
||||
$lang['fe_step_four_title'] = 'Bitte bestätigen Sie die Terminauswahl';
|
||||
$lang['fe_confirm'] = 'Bestätigung';
|
||||
$lang['fe_update'] = 'Aktualisierung';
|
||||
$lang['fe_cancel_appointment_hint'] = 'Bitte klicken Sie auf "Abbrechen" um den Termin aus dem Terminplan des Unternehmens zu löschen.';
|
||||
$lang['fe_cancel'] = 'Abbrechen';
|
||||
$lang['fe_appointment_registered'] = 'Ihr Termin ist erfolgreich registriert worden!';
|
||||
$lang['fe_cancel_appointment_title'] = 'Termin stornieren';
|
||||
$lang['fe_appointment_cancelled'] = 'Ihr Termin ist erfolgreich storniert worden!';
|
||||
$lang['fe_appointment_cancelled_title'] = 'Termin storniert';
|
||||
$lang['fe_reason'] = 'Grund';
|
||||
$lang['fe_appointment_removed_from_schedule'] = 'Der folgende Termin wurde erfolgreich von der Terminplanung des Unternehmens storniert.';
|
||||
$lang['fe_appointment_details_was_sent_to_you'] = 'Eine E-Mail mit den Termindaten ist an Sie gesendet worden.';
|
||||
$lang['fe_add_to_google_calendar'] = 'Zum Google Kalender hinzufügen';
|
||||
$lang['fe_appointment_booked'] = 'Ihr Termin ist erfolgreich gebucht worden!';
|
||||
$lang['fe_thank_you_for_appointment'] = 'Vielen Dank für die Terminauswahl mit uns. Weiter unten können Sie Ihre Termindaten sehen. Änderungen können durch klicken auf den Termin-Link durchgeführt werden.';
|
||||
$lang['fe_appointment_details_title'] = 'Termindaten';
|
||||
$lang['fe_customer_details_title'] = 'Kundendaten';
|
||||
$lang['fe_service'] = 'Dienstleistung';
|
||||
$lang['fe_provider'] = 'Anbieter';
|
||||
$lang['fe_start'] = 'Beginn';
|
||||
$lang['fe_end'] = 'Ende';
|
||||
$lang['fe_name'] = 'Name';
|
||||
$lang['fe_phone'] = 'Telefonnummer';
|
||||
$lang['fe_address'] = 'Adresse';
|
||||
$lang['fe_appointment_link_title'] = 'Termin-Link';
|
||||
$lang['fe_success'] = 'Erfolg!';
|
||||
$lang['fe_appointment_added_to_google_calendar'] = 'Ihr Termin ist zu Ihrem Google Kalender Konto hinzugefügt worden.';
|
||||
$lang['fe_view_appointment_in_google_calendar'] = 'Bitte klicken Sie hier, um Ihren Termin im Google Kalender zu sehen.';
|
||||
$lang['fe_appointment_added_to_your_plan'] = 'Ein neuer Termin ist zu Ihrer Planung hinzugefügt worden.';
|
||||
$lang['fe_appointment_link_description'] = 'Sie können Änderungen durch Klicken auf den Termin-Link durchführen.';
|
||||
$lang['fe_appointment_not_found'] = 'Termin nicht gefunden!';
|
||||
$lang['fe_appointment_does_not_exist_in_db'] = 'Die von Ihnen angeforderte Termin nicht in der Systemdatenbank mehr gibt.';
|
|
@ -51,4 +51,6 @@ $lang['fe_success'] = 'Επιτυχία!';
|
|||
$lang['fe_appointment_added_to_google_calendar'] = 'Το ραντεβού έχει προστεθεί στον λογαριασμό σας στο Google Calendar.';
|
||||
$lang['fe_view_appointment_in_google_calendar'] = 'Πατήστε εδώ για να δείτε το ραντεβού στο Google Calendar.';
|
||||
$lang['fe_appointment_added_to_your_plan'] = 'Ένα νέο ραντεβού έχει προστεθεί στο πλάνο σας.';
|
||||
$lang['fe_appointment_link_description'] = 'Μπορείτε να πραγματοποιήσετε αλλαγές πατώντας στον σύνδεσμο του ραντεβού.';
|
||||
$lang['fe_appointment_link_description'] = 'Μπορείτε να πραγματοποιήσετε αλλαγές πατώντας στον σύνδεσμο του ραντεβού.';
|
||||
$lang['fe_appointment_not_found'] = 'Το Ραντεβού Δεν Βρέθηκε!';
|
||||
$lang['fe_appointment_does_not_exist_in_db'] = 'Το ραντεβού που ζητήσατε δεν υπάρχει πλέον στην βάση δεδομένων του συστήματος.';
|
|
@ -81,7 +81,20 @@ class Notifications {
|
|||
'$customer_name' => $customer_data['first_name'] . ' ' . $customer_data['last_name'],
|
||||
'$customer_email' => $customer_data['email'],
|
||||
'$customer_phone' => $customer_data['phone_number'],
|
||||
'$customer_address' => $customer_data['address']
|
||||
'$customer_address' => $customer_data['address'],
|
||||
|
||||
// Translations
|
||||
'Appointment Details' => $this->lang->line('fe_appointment_details_title'),
|
||||
'Service' => $this->lang->line('fe_service'),
|
||||
'Provider' => $this->lang->line('fe_provider'),
|
||||
'Start' => $this->lang->line('fe_start'),
|
||||
'End' => $this->lang->line('fe_end'),
|
||||
'Customer Details' => $this->lang->line('fe_customer_details_title'),
|
||||
'Name' => $this->lang->line('fe_start'),
|
||||
'Email' => $this->lang->line('fe_start'),
|
||||
'Phone' => $this->lang->line('fe_start'),
|
||||
'Address' => $this->lang->line('fe_start'),
|
||||
'Start' => $this->lang->line('fe_start'),
|
||||
);
|
||||
|
||||
$email_html = file_get_contents(dirname(dirname(__FILE__))
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>Book Appointment With <?php echo $company_name; ?></title>
|
||||
<title><?php echo $this->lang->line('fe_page_title') . ' ' . $company_name; ?></title>
|
||||
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
|
||||
|
||||
<?php
|
||||
|
@ -73,15 +73,17 @@
|
|||
// VIEW FILE JAVASCRIPT CODE
|
||||
// ------------------------------------------------------------ ?>
|
||||
<script type="text/javascript">
|
||||
GlobalVariables = {
|
||||
var GlobalVariables = {
|
||||
availableServices : <?php echo json_encode($available_services); ?>,
|
||||
availableProviders : <?php echo json_encode($available_providers); ?>,
|
||||
baseUrl : <?php echo '"' . $this->config->base_url() . '"'; ?>,
|
||||
manageMode : <?php echo ($manage_mode) ? 'true' : 'false'; ?>,
|
||||
appointmentData : <?php echo json_encode($appointment_data); ?>,
|
||||
providerData : <?php echo json_encode($provider_data); ?>,
|
||||
customerData : <?php echo json_encode($customer_data); ?>
|
||||
customerData : <?php echo json_encode($customer_data); ?>,
|
||||
};
|
||||
|
||||
var EALang = <?php echo json_encode($ea_lang); ?>;
|
||||
|
||||
$(document).ready(function() {
|
||||
FrontendBook.initialize(true, GlobalVariables.manageMode);
|
||||
|
@ -103,17 +105,17 @@
|
|||
<span id="company-name"><?php echo $company_name; ?></span>
|
||||
|
||||
<div id="steps">
|
||||
<div id="step-1" class="book-step active-step" title="Select Service & Provider">
|
||||
<div id="step-1" class="book-step active-step" title="<?php echo $this->lang->line('fe_step_one_title'); ?>">
|
||||
<strong>1</strong>
|
||||
</div>
|
||||
|
||||
<div id="step-2" class="book-step" title="Select Appointment Date">
|
||||
<div id="step-2" class="book-step" title="<?php echo $this->lang->line('fe_step_two_title'); ?>">
|
||||
<strong>2</strong>
|
||||
</div>
|
||||
<div id="step-3" class="book-step" title="Your Information">
|
||||
<div id="step-3" class="book-step" title="<?php echo $this->lang->line('fe_step_three_title'); ?>">
|
||||
<strong>3</strong>
|
||||
</div>
|
||||
<div id="step-4" class="book-step" title="Confirm Appointment">
|
||||
<div id="step-4" class="book-step" title="<?php echo $this->lang->line('fe_step_four_title'); ?>">
|
||||
<strong>4</strong>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -126,10 +128,9 @@
|
|||
if ($manage_mode === TRUE) {
|
||||
echo '
|
||||
<div id="cancel-appointment-frame">
|
||||
<p>
|
||||
Press the "Cancel" button to remove the appointment
|
||||
from the company schedule.
|
||||
</p>
|
||||
<p>' .
|
||||
$this->lang->line('fe_cancel_appointment_hint') .
|
||||
'</p>
|
||||
<form id="cancel-appointment-form" method="post"
|
||||
action="' . $this->config->item('base_url')
|
||||
. 'appointments/cancel/' . $appointment_data['hash'] . '">
|
||||
|
@ -147,7 +148,7 @@
|
|||
// ------------------------------------------------------
|
||||
if (isset($exceptions)) {
|
||||
echo '<div style="margin: 10px">';
|
||||
echo '<h4>Unexpected Errors</h4>';
|
||||
echo '<h4>' . $this->lang->line('be_unexpected_issues') . '</h4>';
|
||||
foreach($exceptions as $exception) {
|
||||
echo exceptionToHtml($exception);
|
||||
}
|
||||
|
@ -160,11 +161,11 @@
|
|||
// ------------------------------------------------------ ?>
|
||||
<div id="wizard-frame-1" class="wizard-frame">
|
||||
<div class="frame-container">
|
||||
<h2 class="frame-title">Select Service & Provider</h2>
|
||||
<h3 class="frame-title"><?php echo $this->lang->line('fe_step_one_title'); ?></h3>
|
||||
|
||||
<div class="frame-content" style="width:520px">
|
||||
<label for="select-service">
|
||||
<strong>Select Service</strong>
|
||||
<strong><?php echo $this->lang->line('fe_select_service'); ?></strong>
|
||||
</label>
|
||||
|
||||
<select id="select-service">
|
||||
|
@ -223,7 +224,7 @@
|
|||
</select>
|
||||
|
||||
<label for="select-provider">
|
||||
<strong>Select Provider</strong>
|
||||
<strong><?php echo $this->lang->line('fe_select_provider'); ?></strong>
|
||||
</label>
|
||||
|
||||
<select id="select-provider"></select>
|
||||
|
@ -234,7 +235,9 @@
|
|||
|
||||
<div class="command-buttons">
|
||||
<button type="button" id="button-next-1" class="btn button-next btn-primary"
|
||||
data-step_index="1">Next <i class="icon-forward icon-white"></i></button>
|
||||
data-step_index="1">
|
||||
<?php echo $this->lang->line('fe_next'); ?>
|
||||
<i class="icon-forward icon-white"></i></button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
@ -245,7 +248,7 @@
|
|||
<div id="wizard-frame-2" class="wizard-frame" style="display:none;">
|
||||
<div class="frame-container">
|
||||
|
||||
<h2 class="frame-title">Select Appointment Date And Time</h2>
|
||||
<h3 class="frame-title"><?php echo $this->lang->line('fe_step_two_title'); ?></h3>
|
||||
|
||||
<div class="frame-content" style="width:600px">
|
||||
<div class="span3">
|
||||
|
@ -261,9 +264,14 @@
|
|||
|
||||
<div class="command-buttons">
|
||||
<button type="button" id="button-back-2" class="btn button-back"
|
||||
data-step_index="2"><i class="icon-backward"></i> Back</button>
|
||||
data-step_index="2"><i class="icon-backward"></i>
|
||||
<?php echo $this->lang->line('fe_back'); ?>
|
||||
</button>
|
||||
<button type="button" id="button-next-2" class="btn button-next btn-primary"
|
||||
data-step_index="2">Next <i class="icon-forward icon-white"></i></button>
|
||||
data-step_index="2">
|
||||
<?php echo $this->lang->line('fe_next'); ?>
|
||||
<i class="icon-forward icon-white"></i>
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
@ -274,37 +282,37 @@
|
|||
<div id="wizard-frame-3" class="wizard-frame" style="display:none;">
|
||||
<div class="frame-container">
|
||||
|
||||
<h2 class="frame-title">Fill In Your Information</h2>
|
||||
<h3 class="frame-title"><?php echo $this->lang->line('fe_step_three_title'); ?></h3>
|
||||
|
||||
<div class="frame-content" style="width:600px">
|
||||
<div class="span3">
|
||||
<label for="first-name">First Name *</label>
|
||||
<label for="first-name"><?php echo $this->lang->line('fe_first_name'); ?> *</label>
|
||||
<input type="text" id="first-name" class="required" maxlength="100" />
|
||||
|
||||
<label for="last-name">Last Name *</label>
|
||||
<label for="last-name"><?php echo $this->lang->line('fe_last_name'); ?> *</label>
|
||||
<input type="text" id="last-name" class="required" maxlength="250" />
|
||||
|
||||
<label for="email">Email *</label>
|
||||
<label for="email"><?php echo $this->lang->line('fe_email'); ?> *</label>
|
||||
<input type="text" id="email" class="required" maxlength="250" />
|
||||
|
||||
<label for="phone-number">Phone Number *</label>
|
||||
<label for="phone-number"><?php echo $this->lang->line('fe_phone_number'); ?> *</label>
|
||||
<input type="text" id="phone-number" class="required" maxlength="60" />
|
||||
|
||||
<br/><br/>
|
||||
<em id="form-message" class="text-error">Fields with * are required!</em>
|
||||
<em id="form-message" class="text-error"><?php echo $this->lang->line('fe_fields_are_required'); ?></em>
|
||||
</div>
|
||||
|
||||
<div class="span3">
|
||||
<label for="address">Address</label>
|
||||
<label for="address"><?php echo $this->lang->line('fe_address'); ?></label>
|
||||
<input type="text" id="address" maxlength="250" />
|
||||
|
||||
<label for="city">City</label>
|
||||
<label for="city"><?php echo $this->lang->line('fe_city'); ?></label>
|
||||
<input type="text" id="city" maxlength="120" />
|
||||
|
||||
<label for="zip-code">Zip Code</label>
|
||||
<label for="zip-code"><?php echo $this->lang->line('fe_zip_code'); ?></label>
|
||||
<input type="text" id="zip-code" maxlength="120" />
|
||||
|
||||
<label for="notes">Notes</label>
|
||||
<label for="notes"><?php echo $this->lang->line('fe_notes'); ?></label>
|
||||
<textarea id="notes" maxlength="500" rows="3"></textarea>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -312,9 +320,14 @@
|
|||
|
||||
<div class="command-buttons">
|
||||
<button type="button" id="button-back-3" class="btn button-back"
|
||||
data-step_index="3"><i class="icon-backward"></i> Back</button>
|
||||
data-step_index="3"><i class="icon-backward"></i>
|
||||
<?php echo $this->lang->line('fe_back'); ?>
|
||||
</button>
|
||||
<button type="button" id="button-next-3" class="btn button-next btn-primary"
|
||||
data-step_index="3">Next <i class="icon-forward icon-white"></i></button>
|
||||
data-step_index="3">
|
||||
<?php echo $this->lang->line('fe_next'); ?>
|
||||
<i class="icon-forward icon-white"></i>
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
@ -324,7 +337,7 @@
|
|||
// ------------------------------------------------------ ?>
|
||||
<div id="wizard-frame-4" class="wizard-frame" style="display:none;">
|
||||
<div class="frame-container">
|
||||
<h2 class="frame-title">Confirm Appointment</h2>
|
||||
<h3 class="frame-title"><?php echo $this->lang->line('fe_step_four_title'); ?></h3>
|
||||
<div class="frame-content" style="width:600px">
|
||||
<div id="appointment-details" class="span3"></div>
|
||||
<div id="customer-details" class="span3"></div>
|
||||
|
@ -333,12 +346,15 @@
|
|||
|
||||
<div class="command-buttons">
|
||||
<button type="button" id="button-back-4" class="btn button-back"
|
||||
data-step_index="4"><i class="icon-backward"></i> Back</button>
|
||||
data-step_index="4"><i class="icon-backward"></i>
|
||||
<?php echo $this->lang->line('fe_back'); ?>
|
||||
</button>
|
||||
<form id="book-appointment-form" style="display:inline-block" method="post">
|
||||
<button type="submit" class="btn btn-success">
|
||||
<i class="icon-ok icon-white"></i>
|
||||
<?php
|
||||
echo (!$manage_mode) ? "Confirm" : "Update";
|
||||
echo (!$manage_mode) ? $this->lang->line('fe_confirm')
|
||||
: $this->lang->line('fe_update');
|
||||
?>
|
||||
</button>
|
||||
<input type="hidden" name="post_data" />
|
||||
|
|
|
@ -129,7 +129,7 @@ var FrontendBook = {
|
|||
if ($('#select-hour-prompt').length == 0) {
|
||||
$('#available-hours').append('<br><br>'
|
||||
+ '<strong id="select-hour-prompt" class="text-error">'
|
||||
+ 'Please select an appointment hour before continuing!'
|
||||
+ EALang['fe_appointment_hour_missing']
|
||||
+ '</strong>');
|
||||
}
|
||||
return;
|
||||
|
@ -343,8 +343,7 @@ var FrontendBook = {
|
|||
FrontendBook.updateConfirmFrame();
|
||||
|
||||
} else {
|
||||
$('#available-hours').text('There are no available appointment '
|
||||
+ 'hours for the selected date. Please choose another date.');
|
||||
$('#available-hours').text(EALang['fe_no_available_hours']);
|
||||
}
|
||||
}, 'json');
|
||||
},
|
||||
|
@ -368,13 +367,13 @@ var FrontendBook = {
|
|||
}
|
||||
});
|
||||
if (missingRequiredField) {
|
||||
throw 'Fields with * are required!';
|
||||
throw EALang['fe_fields_are_required'];
|
||||
}
|
||||
|
||||
// Validate email address.
|
||||
if (!GeneralFunctions.validateEmail($('#email').val())) {
|
||||
$('#email').css('border', '2px solid red');
|
||||
throw 'Invalid email address!';
|
||||
throw EALang['be_invalid_email'];
|
||||
}
|
||||
|
||||
return true;
|
||||
|
@ -421,15 +420,15 @@ var FrontendBook = {
|
|||
$('#customer-details').html(
|
||||
'<h4>' + $('#first-name').val() + ' ' + $('#last-name').val() + '</h4>' +
|
||||
'<p>' +
|
||||
'Phone: ' + $('#phone-number').val() +
|
||||
EALang['fe_phone'] + ': ' + $('#phone-number').val() +
|
||||
'<br/>' +
|
||||
'Email: ' + $('#email').val() +
|
||||
EALang['fe_email'] + ': ' + $('#email').val() +
|
||||
'<br/>' +
|
||||
'Address: ' + $('#address').val() +
|
||||
EALang['fe_address'] + ': ' + $('#address').val() +
|
||||
'<br/>' +
|
||||
'City: ' + $('#city').val() +
|
||||
EALang['fe_city'] + ': ' + $('#city').val() +
|
||||
'<br/>' +
|
||||
'Zip Code: ' + $('#zip-code').val() +
|
||||
EALang['fe_zip_code'] + ': ' + $('#zip-code').val() +
|
||||
'</p>'
|
||||
);
|
||||
|
||||
|
@ -561,11 +560,12 @@ var FrontendBook = {
|
|||
}
|
||||
|
||||
if (service.duration != '' && service.duration != null) {
|
||||
html += '[Duration ' + service.duration + ' Minutes] ';
|
||||
html += '[' + EALang['fe_duration'] + ' ' + service.duration
|
||||
+ ' ' + EALang['fe_minutes'] + '] ';
|
||||
}
|
||||
|
||||
if (service.price != '' && service.price != null) {
|
||||
html += '[Price ' + service.price + ' ' + service.currency + ']';
|
||||
html += '[' + EALang['fe_price'] + ' ' + service.price + ' ' + service.currency + ']';
|
||||
}
|
||||
|
||||
html += '<br>';
|
||||
|
|
Loading…
Reference in a new issue