Spelling errors fix

This commit is contained in:
4Giedrius committed 2015-01-12 13:08:38 +02:00
1 parent 7fb39b8e68
commit caa484e28e
19 files changed
+21 -21

No files matched your search

+1 -1
View File
@@ -477,7 +477,7 @@ class Service implements InjectionAwareInterface
break;
default:
throw new \Box_Exception('Extension does not support auto-install deature. Extension must be installed manually');
throw new \Box_Exception('Extension does not support auto-install feature. Extension must be installed manually');
break;
}
@@ -684,7 +684,7 @@ class ServiceTransaction implements InjectionAwareInterface
$serviceSubscription = $this->di['mod_service']("Subscription");
$model = $this->di['db']->load('Subscription', $tx->s_id);
if(!$model instanceof \Model_Subscription) {
throw new \Box_Exception('Subscription #:id was not found. Could not unsusbscribe', array(':id'=>$tx->s_id));
throw new \Box_Exception('Subscription #:id was not found. Could not unsubscribe', array(':id'=>$tx->s_id));
}
$serviceSubscription->unsubscribe($model);
+1 -1
View File
@@ -173,7 +173,7 @@ class Admin extends \Api_Abstract
public function category_get($data)
{
if (!isset($data['id'])) {
throw new \Box_Exception('Caegory id not passed');
throw new \Box_Exception('Category id not passed');
}
$model = $this->di['db']->findOne('KbArticleCategory', 'id = ?', array($data['id']));
@@ -37,7 +37,7 @@
<article class=" span6 data-block">
<div class="data-container">
<header>
<h2 class="dark-icon i-kb">{%trans 'Similiar articles' %}</h2>
<h2 class="dark-icon i-kb">{%trans 'Similar articles' %}</h2>
</header>
<section>
<ul class="menu">
+1 -1
View File
@@ -152,7 +152,7 @@ class Admin extends \Api_Abstract
*
* @param int $id - Order id
*
* @optional string $reason - Suspendation reason message
* @optional string $reason - Suspension reason message
* @optional bool $skip_event - Skip calling event hooks
*
* @return bool
+1 -1
View File
@@ -97,7 +97,7 @@ class Client extends \Api_Abstract
}
if (!isset($data['password_confirm'])) {
throw new \Box_Exception('Password confiration required');
throw new \Box_Exception('Password confirmation required');
}
if ($data['password'] != $data['password_confirm']) {
+1 -1
View File
@@ -54,7 +54,7 @@ class Service implements \Box\InjectionAwareInterface
$validator = $this->di['validator'];
if (!isset($data['action'])) {
throw new \Box_Exception('Are you registering new domain or transfering existing? Action parameter missing.');
throw new \Box_Exception('Are you registering new domain or transferring existing? Action parameter missing.');
}
$action = $data['action'];
@@ -94,7 +94,7 @@
<ul>
<li><a href="{{ 'order'|alink({'status' : 'pending_setup'}) }}" class="count green" title="">{{ count_orders.pending_setup }}</a><span>{% trans 'Pending setup' %}</span></li>
<li><a href="{{ 'order'|alink({'status' : 'active'}) }}" class="count blue" title="">{{ count_orders.active }}</a><span>{% trans 'Active' %}</span></li>
<li><a href="{{ 'order'|alink({'status' : 'suspended'}) }}" class="count red" title="">{{ count_orders.suspended }}</a><span>{% trans 'Supended' %}</span></li>
<li><a href="{{ 'order'|alink({'status' : 'suspended'}) }}" class="count red" title="">{{ count_orders.suspended }}</a><span>{% trans 'Suspended' %}</span></li>
<li class="last"><a href="{{ 'order'|alink }}" class="count grey" title="">{{ count_orders.total }} </a><span>{% trans 'Total' %}</span></li>
</ul>
<div class="fix"></div>
@@ -144,14 +144,14 @@
<a href="{{ 'api/admin/order/renew'|link({'id' : order.id}) }}" title="" data-api-confirm="Are you sure?" class="btn55 mr10 api-link" data-api-reload="Order renewed"><img src="images/icons/middlenav/play2.png" alt=""><span>Renew</span></a>
{% if params.suspend_reason_list|trim == null %}
<a href="{{ 'api/admin/order/suspend'|link({'id' : order.id}) }}" title="" class="btn55 mr10 api-link" data-api-prompt-key="reason" data-api-prompt="1" data-api-prompt-text="{% trans 'Reason of suspendation' %}" data-api-prompt-title="{% trans 'Suspendation reason' %}" data-api-reload="Order suspended"><img src="images/icons/middlenav/stop.png" alt=""><span>Suspend</span></a>
<a href="{{ 'api/admin/order/suspend'|link({'id' : order.id}) }}" title="" class="btn55 mr10 api-link" data-api-prompt-key="reason" data-api-prompt="1" data-api-prompt-text="{% trans 'Reason of suspension' %}" data-api-prompt-title="{% trans 'Suspension reason' %}" data-api-reload="Order suspended"><img src="images/icons/middlenav/stop.png" alt=""><span>Suspend</span></a>
{% else %}
<div id="suspend_popup" style="position: fixed; z-index: 99999; padding: 5px; margin: 0px; min-width: 310px; max-width: 310px; top: 30%; left: 45%; display: none;">
<h5 id="suspend_popup_title">{% trans 'Suspendation reason' %}</h5>
<h5 id="suspend_popup_title">{% trans 'Suspension reason' %}</h5>
<div id="suspend_popup_content" class="confirm">
<div id="suspend_popup_message">
<div>{% trans 'Reason of suspendation' %}
<div>{% trans 'Reason of suspension' %}
{% for reason in params.suspend_reason_list|trim|split("\r\n") %}
<div class="item">
<input type="radio" value="{{reason}}" name="reason"/> <label>{{reason}}</label>
@@ -133,7 +133,7 @@
<div class="fix"></div>
</div>
<div class="rowElem">
<label>{% trans 'Periods (Select none to apply to all client groups)' %}</label>
<label>{% trans 'Client Groups (Select none to apply to all client groups)' %}</label>
<div class="formRight">
{% set client_groups = admin.client_group_get_pairs %}
<input type="hidden" name="client_groups" value="">
@@ -191,7 +191,7 @@
<div class="fix"></div>
</div>
<div class="rowElem">
<label>{% trans 'Periods (Select none to apply to all client groups)' %}</label>
<label>{% trans 'Client Groups (Select none to apply to all client groups)' %}</label>
<div class="formRight">
{% set client_groups = admin.client_group_get_pairs %}
<select name="client_groups[]" multiple="multiple" class="multiple" size="{{groups|length}}">
@@ -231,7 +231,7 @@
{% include "partial_extensions.phtml" with {'type': 'domain-registrar', 'header':"List of domain registrars on extensions site"} only %}
<div class="body">
<h1 class="pt10">{% trans 'Adding new domain registrar' %}</h1>
<p>{% trans 'Follow instrunctions bellow to install new domain registrar.' %}</p>
<p>{% trans 'Follow instructions below to install new domain registrar.' %}</p>
<div class="pt20 list arrowGrey">
<ul>
@@ -202,7 +202,7 @@
<div class="fix"></div>
</div>
<div class="rowElem">
<label>{% trans 'Access Hash (Insted of password for cPanel servers)' %}:</label>
<label>{% trans 'Access Hash (Instead of password for cPanel servers)' %}:</label>
<div class="formRight">
<textarea name="accesshash" cols="5" rows="5"></textarea>
</div>
@@ -215,7 +215,7 @@
},
/**
* Called when the form is submited, shows prompts accordingly
* Called when the form is submitted, shows prompts accordingly
*
* @param {jqObject}
* form
@@ -38,7 +38,7 @@
<div class="grid_6 alpha">
<div class="widget">
<div class="head">
<h2 class="dark-icon i-kb">{%trans 'Similiar articles' %}</h2>
<h2 class="dark-icon i-kb">{%trans 'Similar articles' %}</h2>
</div>
<ul class="menu">
{% for i, kbarticle in guest.kb_article_get_list({"kb_article_category_id":article.kb_article_category_id, "per_page":5}).list %}
+1 -1
View File
@@ -260,7 +260,7 @@
</tr>
<tr>
<td><label for="footer_signature">Footer text (insted of company signature)</label></td>
<td><label for="footer_signature">Footer text (instead of company signature)</label></td>
<td><input type="text" name="footer_signature" id="footer_signature" value="" class="long"/></td>
</tr>
</table>
+1 -1
View File
@@ -341,7 +341,7 @@ LOCK TABLES `kb_article` WRITE;
INSERT INTO `kb_article` (`id`, `kb_article_category_id`, `views`, `title`, `content`, `slug`, `status`, `created_at`, `updated_at`)
VALUES
(1,1,0,'Do you offer free trial','Yes we do\n','do-you-offer-free-trial','active','2012-01-01T12:00:00+00:00','2012-01-01T12:00:00+00:00'),
(2,1,0,'Do you offer reccurent payments','Yes we do\n','do-you-offer-reccurent-payments','active','2012-01-01T12:00:00+00:00','2012-01-01T12:00:00+00:00'),
(2,1,0,'Do you offer recurent payments','Yes we do\n','do-you-offer-recurent-payments','active','2012-01-01T12:00:00+00:00','2012-01-01T12:00:00+00:00'),
(3,2,0,'How to contact support','Registered clients can contact our support team:\n------------------------------------------------------------\n\n* Login to clients area\n* Find menu item submit new ticket\n* Fill the form and press \"Submit\"\n\nGuests can contact our support team:\n------------------------------------------------------------\n\n* Use our contact form.\n* Fill the form and press \"Submit\"\n','how-to-contact-support','active','2012-01-01T12:00:00+00:00','2012-01-01T12:00:00+00:00'),
(4,2,0,'How to place new order','To place new order, follow these steps:\n------------------------------------------------------------\n\n* Go to order form on our site order form.\n* Choose products category from select box\n* After you have chosen products category, products in that category will appear on the right side of the screen\n* Choose product/service you would like to order\n* Product configuration screen will appear. It may ask you to select billing period and addons you wish to include in order\n* After You have configured Your product, click \"Confirm\". This will add produc/service to cart.\n* You can go back to order form and select more products/services if you wish to\n* Click on \"Checkout\" button to proceed with checkout process\n * If you are already logged in, You will be automaticaly redirected to prepared invoice\n * If you are registerd client, You can provide your login details and press \"Login\"\n * If you have never purchased any service, fill up client sign up form, and then click \"Sign up\"\n* Now you can choose payment method to pay for invoice. List of all avalable payment gateways will be listed below invoice details.\n* Choose payment method\n* You will be redirected to payment gateway page\n* After successfull payment, You will be redirected back to invoice page.\n* Now You can view and manage services page in services section\n','how-to-place-new-order','active','2012-01-01T12:00:00+00:00','2012-01-01T12:00:00+00:00'),
(5,2,26,'BoxBilling live demo','Please note that there may be other users logged into the demo at the\nsame time as you, who may be editing and changing settings at the same\ntime as your testing.\n\nSome features have been intensionally disabled in this demo.\n\nBoxBilling Live demo of admin area can be accesed at:\n\n> [http://demo.boxbilling.com/bb-admin](http://demo.boxbilling.com/bb-admin/staff/login?email=admin@boxbilling.com&password=demo)\n>\n> Username: admin@boxbilling.com\n>\n> Password: demo\n\nBoxBilling Live demo of client area can be accesed at:\n> [http://demo.boxbilling.com/login](http://demo.boxbilling.com/login?email=client@boxbilling.com&password=demo)\n>\n> Username: client@boxbilling.com\n>\n> Password: demo\n','live-demo','active','2012-01-01T12:00:00+00:00','2012-01-01T12:00:00+00:00');