Commit f47e8f4e authored by Rafael Monnerat's avatar Rafael Monnerat

master: Fix grammar

See merge request !485
parents 9465e76b 8dbdd176
...@@ -188,7 +188,7 @@ class TestSlapOSSaleInvoiceBuilder(TestSlapOSSalePackingListBuilder): ...@@ -188,7 +188,7 @@ class TestSlapOSSaleInvoiceBuilder(TestSlapOSSalePackingListBuilder):
self.portal.portal_workflow._jumpToStateFor(delivery_1, 'delivered') self.portal.portal_workflow._jumpToStateFor(delivery_1, 'delivered')
self.portal.portal_workflow._jumpToStateFor(delivery_1, 'calculating') self.portal.portal_workflow._jumpToStateFor(delivery_1, 'calculating')
if delivery_1.getCausalityState() == 'draft': if delivery_1.getCausalityState() == 'draft':
# There are more them one workflow that has calculating state # There are more than one workflow that has calculating state
delivery_1.startBuilding() delivery_1.startBuilding()
delivery_line_1 = delivery_1.newContent( delivery_line_1 = delivery_1.newContent(
...@@ -221,7 +221,7 @@ class TestSlapOSSaleInvoiceBuilder(TestSlapOSSalePackingListBuilder): ...@@ -221,7 +221,7 @@ class TestSlapOSSaleInvoiceBuilder(TestSlapOSSalePackingListBuilder):
self.portal.portal_workflow._jumpToStateFor(delivery_2, 'delivered') self.portal.portal_workflow._jumpToStateFor(delivery_2, 'delivered')
self.portal.portal_workflow._jumpToStateFor(delivery_2, 'calculating') self.portal.portal_workflow._jumpToStateFor(delivery_2, 'calculating')
if delivery_2.getCausalityState() == 'draft': if delivery_2.getCausalityState() == 'draft':
# There are more them one workflow that has calculating state # There are more than one workflow that has calculating state
delivery_2.startBuilding() delivery_2.startBuilding()
delivery_line_2 = delivery_2.newContent( delivery_line_2 = delivery_2.newContent(
...@@ -494,7 +494,7 @@ class TestSlapOSSaleInvoiceBuilder(TestSlapOSSalePackingListBuilder): ...@@ -494,7 +494,7 @@ class TestSlapOSSaleInvoiceBuilder(TestSlapOSSalePackingListBuilder):
self.portal.portal_workflow._jumpToStateFor(delivery_1, 'delivered') self.portal.portal_workflow._jumpToStateFor(delivery_1, 'delivered')
self.portal.portal_workflow._jumpToStateFor(delivery_1, 'calculating') self.portal.portal_workflow._jumpToStateFor(delivery_1, 'calculating')
if delivery_1.getCausalityState() == 'draft': if delivery_1.getCausalityState() == 'draft':
# There are more them one workflow that has calculating state # There are more than one workflow that has calculating state
delivery_1.startBuilding() delivery_1.startBuilding()
delivery_line_1 = delivery_1.newContent( delivery_line_1 = delivery_1.newContent(
...@@ -527,7 +527,7 @@ class TestSlapOSSaleInvoiceBuilder(TestSlapOSSalePackingListBuilder): ...@@ -527,7 +527,7 @@ class TestSlapOSSaleInvoiceBuilder(TestSlapOSSalePackingListBuilder):
self.portal.portal_workflow._jumpToStateFor(delivery_2, 'delivered') self.portal.portal_workflow._jumpToStateFor(delivery_2, 'delivered')
self.portal.portal_workflow._jumpToStateFor(delivery_2, 'calculating') self.portal.portal_workflow._jumpToStateFor(delivery_2, 'calculating')
if delivery_2.getCausalityState() == 'draft': if delivery_2.getCausalityState() == 'draft':
# There are more them one workflow that has calculating state # There are more than one workflow that has calculating state
delivery_2.startBuilding() delivery_2.startBuilding()
delivery_line_2 = delivery_2.newContent( delivery_line_2 = delivery_2.newContent(
...@@ -764,7 +764,7 @@ class TestSlapOSSaleInvoiceBuilder(TestSlapOSSalePackingListBuilder): ...@@ -764,7 +764,7 @@ class TestSlapOSSaleInvoiceBuilder(TestSlapOSSalePackingListBuilder):
self.portal.portal_workflow._jumpToStateFor(delivery_1, 'delivered') self.portal.portal_workflow._jumpToStateFor(delivery_1, 'delivered')
self.portal.portal_workflow._jumpToStateFor(delivery_1, 'calculating') self.portal.portal_workflow._jumpToStateFor(delivery_1, 'calculating')
if delivery_1.getCausalityState() == 'draft': if delivery_1.getCausalityState() == 'draft':
# There are more them one workflow that has calculating state # There are more than one workflow that has calculating state
delivery_1.startBuilding() delivery_1.startBuilding()
delivery_line_1 = delivery_1.newContent( delivery_line_1 = delivery_1.newContent(
...@@ -796,7 +796,7 @@ class TestSlapOSSaleInvoiceBuilder(TestSlapOSSalePackingListBuilder): ...@@ -796,7 +796,7 @@ class TestSlapOSSaleInvoiceBuilder(TestSlapOSSalePackingListBuilder):
self.portal.portal_workflow._jumpToStateFor(delivery_2, 'delivered') self.portal.portal_workflow._jumpToStateFor(delivery_2, 'delivered')
self.portal.portal_workflow._jumpToStateFor(delivery_2, 'calculating') self.portal.portal_workflow._jumpToStateFor(delivery_2, 'calculating')
if delivery_2.getCausalityState() == 'draft': if delivery_2.getCausalityState() == 'draft':
# There are more them one workflow that has calculating state # There are more than one workflow that has calculating state
delivery_2.startBuilding() delivery_2.startBuilding()
delivery_line_2 = delivery_2.newContent( delivery_line_2 = delivery_2.newContent(
......
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
</item> </item>
<item> <item>
<key> <string>description</string> </key> <key> <string>description</string> </key>
<value> <string>Check and create a Ticket when an instance is partially allocated for more them 4 hours.</string> </value> <value> <string>Check and create a Ticket when an instance is partially allocated for more than 4 hours.</string> </value>
</item> </item>
<item> <item>
<key> <string>enabled</string> </key> <key> <string>enabled</string> </key>
...@@ -93,7 +93,7 @@ ...@@ -93,7 +93,7 @@
</item> </item>
<item> <item>
<key> <string>title</string> </key> <key> <string>title</string> </key>
<value> <string>Check partially allocated Instance for more them 4 hours</string> </value> <value> <string>Check partially allocated Instance for more than 4 hours</string> </value>
</item> </item>
</dictionary> </dictionary>
</pickle> </pickle>
......
...@@ -75,7 +75,7 @@ if not should_notify: ...@@ -75,7 +75,7 @@ if not should_notify:
break break
if should_notify: if should_notify:
description = "The Compute Node %s (%s) didnt process its instances for more them 24 hours, last contact: %s" % ( description = "The Compute Node %s (%s) didnt process its instances for more than 24 hours, last contact: %s" % (
context.getTitle(), context.getReference(), last_contact) context.getTitle(), context.getReference(), last_contact)
if should_notify: if should_notify:
......
...@@ -26,7 +26,7 @@ ...@@ -26,7 +26,7 @@
.allowPublicAcquisition("jio_allDocs", function (param_list) { .allowPublicAcquisition("jio_allDocs", function (param_list) {
var gadget = this; var gadget = this;
// This code can cause problems if it is used more them once per // This code can cause problems if it is used more than once per
// page // page
param_list[0].sort_on = [["modification_date", "ascending"]]; param_list[0].sort_on = [["modification_date", "ascending"]];
param_list[0].select_list = ["uid", "title", "text_content", param_list[0].select_list = ["uid", "title", "text_content",
...@@ -253,4 +253,4 @@ ...@@ -253,4 +253,4 @@
return gadget.updateHeader(header_dict); return gadget.updateHeader(header_dict);
}); });
}); });
}(window, rJS, RSVP)); }(window, rJS, RSVP));
\ No newline at end of file
...@@ -26,7 +26,7 @@ ...@@ -26,7 +26,7 @@
.allowPublicAcquisition("jio_allDocs", function (param_list) { .allowPublicAcquisition("jio_allDocs", function (param_list) {
var gadget = this; var gadget = this;
// This code can cause problems if it is used more them once per // This code can cause problems if it is used more than once per
// page // page
param_list[0].sort_on = [["modification_date", "ascending"]]; param_list[0].sort_on = [["modification_date", "ascending"]];
param_list[0].select_list = ["uid", "title", "text_content", param_list[0].select_list = ["uid", "title", "text_content",
...@@ -255,4 +255,4 @@ ...@@ -255,4 +255,4 @@
return gadget.updateHeader(header_dict); return gadget.updateHeader(header_dict);
}); });
}); });
}(window, rJS, RSVP)); }(window, rJS, RSVP));
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment