Skip to content

Commit 38bc041

Browse files
authored
Merge pull request #823 from abhishek-webkul/text-changes-2
Text changes
2 parents 2db6340 + 410ed6c commit 38bc041

File tree

16 files changed

+33
-38
lines changed

16 files changed

+33
-38
lines changed

admin/themes/default/template/controllers/customer_threads/helpers/view/message.tpl

+1-1
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
5454
{/if}
5555
<span class="message-date">&nbsp;<i class="icon-calendar"></i> - {dateFormat date=$message.date_add full=0} - <i class="icon-time"></i> {$message.date_add|substr:11:5}</span>
5656
{if isset($message.file_name)} <span class="message-product">&nbsp;<i class="icon-link"></i> <a href="{$message.file_name|escape:'html':'UTF-8'}" class="_blank">{l s="Attachment"}</a></span>{/if}
57-
{if isset($message.product_name)} <span class="message-attachment">&nbsp;<i class="icon-book"></i> <a href="{$message.product_link|escape:'html':'UTF-8'}" class="_blank">{l s="Product:"} {$message.product_name|escape:'html':'UTF-8'} </a></span>{/if}
57+
{if isset($message.product_name)} <span class="message-attachment">&nbsp;<i class="icon-book"></i> <a href="{$message.product_link|escape:'html':'UTF-8'}" class="_blank">{l s="Room type:"} {$message.product_name|escape:'html':'UTF-8'} </a></span>{/if}
5858
<p class="message-item-text">{$message.message|escape:'html':'UTF-8'|nl2br}</p>
5959
</div>
6060
</div>

admin/themes/default/template/controllers/modules/page_header_toolbar.tpl

+1-1
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@
6464
<li>
6565
<a id="desc-module-catalog" class="toolbar_btn anchor" href="{$link->getAdminLink('AdminModulesCatalog')}" title="{l s='Recommended Modules and Services'}">
6666
<i class="process-icon-modules-list"></i>
67-
<span>{l s='Recommended Modules and Services'}</span>
67+
<span>{l s='Recommendations'}</span>
6868
</a>
6969
</li>
7070
{if $add_permission eq '1'}

admin/themes/default/template/controllers/modules_catalog/page.tpl

+1-1
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@
109109
</div>
110110
</div>
111111
<div class="panel explore-panel text-center">
112-
{l s='Explore all themes of Qloapps'}&nbsp;
112+
{l s='Explore all themes of QloApps'}&nbsp;
113113
<a href="https://store.webkul.com/Qloapps/responsive.html" class="btn btn-primary btn-lg">{l s='QloApps Themes'}</a>
114114
</div>
115115
{/if}

admin/themes/default/template/controllers/normal_products/prices.tpl

+3-3
Original file line numberDiff line numberDiff line change
@@ -116,20 +116,20 @@ $(document).ready(function () {
116116
<div class="form-group">
117117
<div class="col-lg-1"><span class="pull-right">{include file="controllers/products/multishop/checkbox.tpl" field="wholesale_price" type="default"}</span></div>
118118
<label class="control-label col-lg-2" for="wholesale_price">
119-
<span class="label-tooltip" data-toggle="tooltip" title="{l s='The price is the price you paid for the product. Do not include the tax.'}">{if !$country_display_tax_label || $tax_exclude_taxe_option}{l s='Wholesale price'}{else}{l s='Pre-tax wholesale price'}{/if}</span>
119+
<span class="label-tooltip" data-toggle="tooltip" title="{l s='The price is the price you paid for the service. Do not include the tax.'}">{if !$country_display_tax_label || $tax_exclude_taxe_option}{l s='Rack rate'}{else}{l s='Pre-tax rack rate'}{/if}</span>
120120
</label>
121121
<div class="col-lg-2">
122122
<div class="input-group">
123123
<span class="input-group-addon">{$currency->prefix}{$currency->suffix}</span>
124124
<input maxlength="27" name="wholesale_price" id="wholesale_price" type="text" value="{{toolsConvertPrice price=$product->wholesale_price}|string_format:$priceDisplayPrecisionFormat}" onchange="this.value = this.value.replace(/,/g, '.');" />
125125
</div>
126-
{if isset($pack) && $pack->isPack($product->id)}<p class="help-block">{l s='The sum of wholesale prices of the product in the pack is %s%s%s' sprintf=[$currency->prefix,{toolsConvertPrice price=$pack->noPackWholesalePrice($product->id)|string_format:$priceDisplayPrecisionFormat},$currency->suffix]}</p>{/if}
126+
{if isset($pack) && $pack->isPack($product->id)}<p class="help-block">{l s='The sum of rack rates of the service in the pack is %s%s%s' sprintf=[$currency->prefix,{toolsConvertPrice price=$pack->noPackWholesalePrice($product->id)|string_format:$priceDisplayPrecisionFormat},$currency->suffix]}</p>{/if}
127127
</div>
128128
</div>
129129
<div class="form-group">
130130
<div class="col-lg-1"><span class="pull-right">{include file="controllers/products/multishop/checkbox.tpl" field="price" type="price"}</span></div>
131131
<label class="control-label col-lg-2" for="priceTE">
132-
<span class="label-tooltip" data-toggle="tooltip" title="{l s='The pre-tax retail price is the price for which you intend sell this product to your customers. It should be higher than the pre-tax wholesale price: the difference between the two will be your margin.'}">{if !$country_display_tax_label || $tax_exclude_taxe_option}{l s='Retail price'}{else}{l s='Pre-tax retail price'}{/if}</span>
132+
<span class="label-tooltip" data-toggle="tooltip" title="{l s='The pre-tax retail price is the price for which you intend sell this service to your customers. It should be higher than the pre-tax rack rate: the difference between the two will be your margin.'}">{if !$country_display_tax_label || $tax_exclude_taxe_option}{l s='Retail price'}{else}{l s='Pre-tax retail price'}{/if}</span>
133133
</label>
134134
<div class="col-lg-2">
135135
<div class="input-group">

admin/themes/default/template/controllers/products/additionalfacilities.tpl

+1-5
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
<i class="icon-user"></i> {l s='Room Type Additional Facilities'}
2525
</div>
2626
<div class="alert alert-info">
27-
{l s='To create new Additional facilities'} <a target="_blank" href="{$link->getAdminLink('AdminRoomTypeGlobalDemand')}">{l s='click here.'}</a>
27+
{l s='To create new additional facilities please visit'} <a target="_blank" href="{$link->getAdminLink('AdminRoomTypeGlobalDemand')}">{l s='Additional facilities'}</a> {l s='page.'}
2828
</div>
2929
{if isset($allDemands) && $allDemands}
3030

@@ -148,10 +148,6 @@
148148
{l s='Save and stay'}
149149
</button>
150150
</div>
151-
{else}
152-
<div class="alert alert-warning">
153-
{l s='No additional facilities created yet. To create please visit'} <a target="_blank" href="{$link->getAdminLink('AdminRoomTypeGlobalDemand')}">{l s='Additional facilities'}</a> {l s='page'}.
154-
</div>
155151
{/if}
156152
</div>
157153
{/if}

admin/themes/default/template/helpers/modules_list/list.tpl

+1-1
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
5454
<div class="alert alert-warning">
5555
{if $controller_name == 'AdminPayment'}
5656
{l s='It seems there are no recommended payment solutions for your country.'}<br />
57-
<a class="_blank" href="https://www.prestashop.com/en/contact-us">{l s='Do you think there should be one? Let us know!'}</a>
57+
<a class="_blank" href="https://qloapps.com/contact/">{l s='Do you think there should be one? Let us know!'}</a>
5858
{else}{l s='No modules available in this section.'}{/if}</div>
5959
</td>
6060
</tr>

classes/controller/AdminController.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -760,7 +760,7 @@ public function addFiltersToBreadcrumbs()
760760
}
761761

762762
if (count($filters)) {
763-
return sprintf($this->l('filter by %s'), implode(', ', $filters));
763+
return sprintf($this->l('Filter by %s'), implode(', ', $filters));
764764
}
765765
}
766766
}
@@ -2244,7 +2244,7 @@ protected function addPageHeaderToolBarModulesListButton()
22442244
) {
22452245
$this->page_header_toolbar_btn['modules-list'] = array(
22462246
'href' => '#',
2247-
'desc' => $this->l('Recommended Modules and Services')
2247+
'desc' => $this->l('Recommendations')
22482248
);
22492249
}
22502250
}

classes/controller/FrontController.php

+1-3
Original file line numberDiff line numberDiff line change
@@ -1135,9 +1135,7 @@ public function setMedia()
11351135
*/
11361136
public function initHeader()
11371137
{
1138-
/** @see P3P Policies (http://www.w3.org/TR/2002/REC-P3P-20020416/#compact_policies) */
1139-
header('P3P: CP="IDC DSP COR CURa ADMa OUR IND PHY ONL COM STA"');
1140-
header('Powered-By: PrestaShop');
1138+
header('Powered-By: QloApps');
11411139

11421140
// Hooks are voluntary out the initialize array (need those variables already assigned)
11431141
$this->context->smarty->assign(array(

controllers/admin/AdminCustomerThreadsController.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -725,7 +725,7 @@ public function getTimeline($messages, $id_order)
725725
$content .= $this->l('Message to: ').' <span class="badge">'.(!$message['id_employee'] ? $message['subject'] : $message['customer_name']).'</span><br/>';
726726
}
727727
if (Validate::isLoadedObject($product)) {
728-
$content .= '<br/>'.$this->l('Product: ').'<span class="label label-info">'.$product->name.'</span><br/><br/>';
728+
$content .= '<br/>'.$this->l('Room type: ').'<span class="label label-info">'.$product->name.'</span><br/><br/>';
729729
}
730730
$content .= Tools::safeOutput($message['message']);
731731

controllers/admin/AdminMetaController.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -477,7 +477,7 @@ public function generateRobotsFile()
477477
));
478478

479479
// PS Comments
480-
fwrite($write_fd, "# robots.txt automaticaly generated by qloapps e-commerce open-source solution\n");
480+
fwrite($write_fd, "# robots.txt automaticaly generated by QloApps - open-source hotel management solution.\n");
481481
fwrite($write_fd, "# https://www.qloapps.com - https://forums.qloapps.com/\n");
482482
fwrite($write_fd, "# This file is to prevent the crawling and indexing of certain parts\n");
483483
fwrite($write_fd, "# of your site by web crawlers and spiders run by sites like Yahoo!\n");

controllers/admin/AdminOrderPreferencesController.php

+7-7
Original file line numberDiff line numberDiff line change
@@ -88,8 +88,8 @@ public function __construct()
8888
'icon' => 'icon-cogs',
8989
'fields' => array(
9090
'MAX_GLOBAL_BOOKING_DATE' => array(
91-
'title' => $this->l('Maximum Global Date to book a room'),
92-
'hint' => $this->l('Maximum date by which rooms of your hotels can be booked.'),
91+
'title' => $this->l('Maximum Global Check-out Date to book a room'),
92+
'hint' => $this->l('Maximum date of check-out for which rooms of your hotels can be booked.'),
9393
'type' => 'text',
9494
'id' => 'max_global_book_date',
9595
'class' => 'fixed-width-xxl readonly',
@@ -188,8 +188,8 @@ public function __construct()
188188
),
189189
'PS_ROOM_PRICE_AUTO_ADD_BREAKDOWN' => array(
190190
'title' => $this->l('Show room price breakdown'),
191-
'hint' => $this->l('Show a summary for prices of the auto added service add with room on shopping cart list.'),
192-
'desc' => $this->l('This breakdown is always visible on room that have cart rule applied for that specific room.'),
191+
'hint' => $this->l('Show price breakdown for rooms with auto added services on checkout page.'),
192+
'desc' => $this->l('This room price breakdown will be shown if cart rule for specific room type is applied on that room.'),
193193
'cast' => 'intval',
194194
'type' => 'bool'
195195
),
@@ -318,11 +318,11 @@ public function beforeUpdateOptions()
318318
$maxGlobalBookingDateFormatted = date('Y-m-d', strtotime($maxGlobalBookingDate));
319319

320320
if ($maxGlobalBookingDate == '') {
321-
$this->errors[] = Tools::displayError('Field \'Maximum Global Date to book a room\' can not be empty.');
321+
$this->errors[] = Tools::displayError('Field \'Maximum Global Check-out Date to book a room\' can not be empty.');
322322
} elseif (!Validate::isDate($maxGlobalBookingDateFormatted)) {
323-
$this->errors[] = Tools::displayError('Field \'Maximum Global Date to book a room\' is invalid.');
323+
$this->errors[] = Tools::displayError('Field \'Maximum Global Check-out Date to book a room\' is invalid.');
324324
} elseif (strtotime($maxGlobalBookingDateFormatted) < strtotime(date('Y-m-d'))) {
325-
$this->errors[] = Tools::displayError('Field \'Maximum Global Date to book a room\' can not be a past date. Please use a future date.');
325+
$this->errors[] = Tools::displayError('Field \'Maximum Global Check-out Date to book a room\' can not be a past date. Please use a future date.');
326326
}
327327

328328
if ($globalPreparationTime === '') {

controllers/admin/AdminPPreferencesController.php

+2-1
Original file line numberDiff line numberDiff line change
@@ -321,7 +321,8 @@ public function __construct()
321321
),
322322

323323
'PS_SERVICE_PRODUCT_CATEGORY_FILTER' => array(
324-
'title' => $this->l('Show category filter for service products'),
324+
'title' => $this->l('Display services by category'),
325+
'hint' => $this->l('If enabled, services will be grouped and displayed as per their default category. Else all services will be displayed together.'),
325326
'validation' => 'isBool',
326327
'cast' => 'intval',
327328
'required' => false,

controllers/admin/AdminPreferencesController.php

+4-4
Original file line numberDiff line numberDiff line change
@@ -95,8 +95,8 @@ public function __construct()
9595
$fields = array(
9696
'PS_SSL_ENABLED' => array(
9797
'title' => $this->l('Enable SSL'),
98-
'desc' => $this->l('If you own an SSL certificate for your shop\'s domain name, you can activate SSL encryption (https://) for customer account identification and order processing.'),
99-
'hint' => $this->l('If you want to enable SSL on all the pages of your shop, activate the "Enable on all the pages" option below.'),
98+
'desc' => $this->l('If you own an SSL certificate for your website\'s domain name, you can activate SSL encryption (https://) for customer account identification and order processing.'),
99+
'hint' => $this->l('If you want to enable SSL on all the pages of your website, activate the "Enable on all the pages" option below.'),
100100
'validation' => 'isBool',
101101
'cast' => 'intval',
102102
'type' => 'bool',
@@ -106,7 +106,7 @@ public function __construct()
106106

107107
$fields['PS_SSL_ENABLED_EVERYWHERE'] = array(
108108
'title' => $this->l('Enable SSL on all pages'),
109-
'desc' => $this->l('When enabled, all the pages of your shop will be SSL-secured.'),
109+
'desc' => $this->l('When enabled, all the pages of your website will be SSL-secured.'),
110110
'validation' => 'isBool',
111111
'cast' => 'intval',
112112
'type' => 'bool',
@@ -221,7 +221,7 @@ public function __construct()
221221
if (!Tools::usingSecureMode() && !Configuration::get('PS_SSL_ENABLED')) {
222222
$fields['PS_SSL_ENABLED']['type'] = 'disabled';
223223
$fields['PS_SSL_ENABLED']['disabled'] = '<a class="btn btn-link" href="https://'.Tools::getShopDomainSsl().Tools::safeOutput($_SERVER['REQUEST_URI']).'">'.
224-
$this->l('Please click here to check if your shop supports HTTPS.').'</a>';
224+
$this->l('Please click here to check if your website supports HTTPS.').'</a>';
225225
}
226226

227227
$this->fields_options = array(

modules/hotelreservationsystem/classes/HotelReservationSystemDb.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -482,7 +482,7 @@ public function getModuleSql()
482482
) ENGINE="._MYSQL_ENGINE_." DEFAULT CHARSET=utf8;",
483483

484484
"INSERT INTO `"._DB_PREFIX_."htl_settings_link_lang` (`id_settings_link`, `id_lang`, `name`, `hint`)
485-
SELECT 1, `id_lang`, 'General Settings', 'Configure Your hotel general gettings using this option.'
485+
SELECT 1, `id_lang`, 'General Settings', 'Configure Your hotel general settings using this option.'
486486
FROM `"._DB_PREFIX_."lang`
487487
ORDER BY `id_lang`;",
488488

modules/hotelreservationsystem/controllers/admin/AdminAddHotelController.php

+5-5
Original file line numberDiff line numberDiff line change
@@ -333,19 +333,19 @@ public function processSave()
333333
if (!$enableUseGlobalMaxOrderDate) {
334334
$maximumBookingDateFormatted = date('Y-m-d', strtotime($maximumBookingDate));
335335
if ($maximumBookingDate == '') {
336-
$this->errors[] = Tools::displayError('Maximum Global Date to book a room is a required field.');
336+
$this->errors[] = $this->l('Maximum Check-out Date to book a room is a required field.');
337337
} elseif (!Validate::isDate($maximumBookingDateFormatted)) {
338-
$this->errors[] = Tools::displayError('Maximum Global Date to book a room is invalid.');
338+
$this->errors[] = $this->l('Maximum Check-out Date to book a room is invalid.');
339339
} elseif (strtotime($maximumBookingDateFormatted) < strtotime(date('Y-m-d'))) {
340-
$this->errors[] = Tools::displayError('Maximum Global Date to book a room can not be a past date. Please use a future date.');
340+
$this->errors[] = $this->l('Maximum Check-out Date to book a room can not be a past date. Please use a future date.');
341341
}
342342
}
343343

344344
if (!$enableUseGlobalPreparationTime) {
345345
if ($preparationTime === '') {
346-
$this->errors[] = Tools::displayError('Preparation time is a required field.');
346+
$this->errors[] = $this->l('Preparation time is a required field.');
347347
} elseif ($preparationTime !== '0' && !Validate::isUnsignedInt($preparationTime)) {
348-
$this->errors[] = Tools::displayError('Preparation time is invalid.');
348+
$this->errors[] = $this->l('Preparation time is invalid.');
349349
}
350350
}
351351
}

modules/hotelreservationsystem/views/templates/admin/add_hotel/helpers/form/form.tpl

+1-1
Original file line numberDiff line numberDiff line change
@@ -360,7 +360,7 @@
360360
</div>
361361
</div>
362362
<div class="form-group" {if isset($smarty.post.enable_use_global_max_order_date)}{if !$smarty.post.enable_use_global_max_order_date}style="display:block;"{else}style="display:none;"{/if}{elseif isset($order_restrict_date_info.use_global_max_order_date) && !$order_restrict_date_info.use_global_max_order_date}style="display:block;" {else} style="display:none;" {/if}>
363-
<label class="control-label col-sm-3 required" for="maximum_booking_date">{l s='Maximum Date to book a room :' mod='hotelreservationsystem'}</label>
363+
<label class="control-label col-sm-3 required" for="maximum_booking_date">{l s='Maximum Check-out Date to book a room :' mod='hotelreservationsystem'}</label>
364364
<div class="col-sm-2">
365365
<input type="text" class="form-control" id="maximum_booking_date" name="maximum_booking_date" value="{if isset($smarty.post.maximum_booking_date)}{$smarty.post.maximum_booking_date|escape:'html':'UTF-8'}{elseif isset($edit) && isset($order_restrict_date_info.max_order_date)}{$order_restrict_date_info.max_order_date|escape:'htmlall':'UTF-8'}{/if}" />
366366
</div>

0 commit comments

Comments
 (0)