From 0742991f9ffd134851ad698acc0e6e5f39eac65f Mon Sep 17 00:00:00 2001 From: octavioamu Date: Mon, 18 Nov 2019 16:57:42 -0300 Subject: [PATCH] fix typo --- app/assets/onepager/js/tx.js | 10 +++++----- app/assets/v2/js/pages/profile-edit.js | 2 +- app/assets/v2/js/status.js | 2 +- app/dashboard/models.py | 2 +- app/quests/views.py | 2 +- .../emails/grants/successful_contribution.html | 2 +- 6 files changed, 10 insertions(+), 10 deletions(-) diff --git a/app/assets/onepager/js/tx.js b/app/assets/onepager/js/tx.js index 83779785f40..324d07246ca 100644 --- a/app/assets/onepager/js/tx.js +++ b/app/assets/onepager/js/tx.js @@ -39820,7 +39820,7 @@ LevelUP.prototype.createValueStream = function(options) { * Gets a value given a `key` * @method get * @param {Buffer|String} key - the key to search for - * @param {Function} cb A callback `Function` which is given the arguments `err` - for errors that may have occured and `value` - the found value in a `Buffer` or if no value was found `null` + * @param {Function} cb A callback `Function` which is given the arguments `err` - for errors that may have occurred and `value` - the found value in a `Buffer` or if no value was found `null` */ Trie.prototype.get = function(key, cb) { var self = this; @@ -39843,7 +39843,7 @@ LevelUP.prototype.createValueStream = function(options) { * @method put * @param {Buffer|String} key * @param {Buffer|String} Value - * @param {Function} cb A callback `Function` which is given the argument `err` - for errors that may have occured + * @param {Function} cb A callback `Function` which is given the argument `err` - for errors that may have occurred */ Trie.prototype.put = function(key, value, cb) { var self = this; @@ -39903,7 +39903,7 @@ LevelUP.prototype.createValueStream = function(options) { * Retrieves a raw value in the underlying db * @method getRaw * @param {Buffer} key - * @param {Function} callback A callback `Function`, which is given the arguments `err` - for errors that may have occured and `value` - the found value in a `Buffer` or if no value was found `null`. + * @param {Function} callback A callback `Function`, which is given the arguments `err` - for errors that may have occurred and `value` - the found value in a `Buffer` or if no value was found `null`. */ Trie.prototype.getRaw = function(key, cb) { key = ethUtil.toBuffer(key); @@ -39958,7 +39958,7 @@ LevelUP.prototype.createValueStream = function(options) { * @method putRaw * @param {Buffer|String} key The key as a `Buffer` or `String` * @param {Buffer} value The value to be stored - * @param {Function} callback A callback `Function`, which is given the argument `err` - for errors that may have occured + * @param {Function} callback A callback `Function`, which is given the argument `err` - for errors that may have occurred */ Trie.prototype.putRaw = Trie.prototype._putRaw; @@ -39966,7 +39966,7 @@ LevelUP.prototype.createValueStream = function(options) { * Removes a raw value in the underlying db * @method delRaw * @param {Buffer|String} key - * @param {Function} callback A callback `Function`, which is given the argument `err` - for errors that may have occured + * @param {Function} callback A callback `Function`, which is given the argument `err` - for errors that may have occurred */ Trie.prototype.delRaw = function(key, cb) { function del(db, cb2) { diff --git a/app/assets/v2/js/pages/profile-edit.js b/app/assets/v2/js/pages/profile-edit.js index 628eb8426a3..79df283f342 100644 --- a/app/assets/v2/js/pages/profile-edit.js +++ b/app/assets/v2/js/pages/profile-edit.js @@ -30,7 +30,7 @@ $(document).ready(function() { ); } else { _alert( - { message: gettext('An error occured. Please try again.') }, + { message: gettext('An error occurred. Please try again.') }, 'error' ); } diff --git a/app/assets/v2/js/status.js b/app/assets/v2/js/status.js index 859c8d27368..6acc2091c74 100644 --- a/app/assets/v2/js/status.js +++ b/app/assets/v2/js/status.js @@ -47,7 +47,7 @@ $(document).ready(function() { message.val(''); } else { _alert( - { message: gettext('An error occured. Please try again.') }, + { message: gettext('An error occurred. Please try again.') }, 'error' ); } diff --git a/app/dashboard/models.py b/app/dashboard/models.py index 518713591eb..982483a612e 100644 --- a/app/dashboard/models.py +++ b/app/dashboard/models.py @@ -3403,7 +3403,7 @@ def get_who_works_with(self, work_type='collected', network='mainnet', bounties= Defaults to: None. Returns: - dict: list of the profiles that were worked with (key) and the number of times they occured + dict: list of the profiles that were worked with (key) and the number of times they occurred """ if bounties is None: diff --git a/app/quests/views.py b/app/quests/views.py index 91971d1ebca..5ac20d3754b 100644 --- a/app/quests/views.py +++ b/app/quests/views.py @@ -181,7 +181,7 @@ def editquest(request, pk=None): if settings.DEBUG: raise e logger.exception(e) - messages.error(request, 'An unexpected error has occured') + messages.error(request, 'An unexpected error has occurred') #load edit page if pk and not package.get('title'): diff --git a/app/retail/templates/emails/grants/successful_contribution.html b/app/retail/templates/emails/grants/successful_contribution.html index ddd8e0103e6..18a8cfc0aea 100644 --- a/app/retail/templates/emails/grants/successful_contribution.html +++ b/app/retail/templates/emails/grants/successful_contribution.html @@ -137,7 +137,7 @@

{% trans "The world of open source is a better

{{ subscription.amount_per_period }} {{ subscription.token_symbol }}

-

{% trans "occured at" %}

+

{% trans "occurred at" %}

{{ contribution.created_on|date:"fa F j, Y" }}

{% trans "You can see the transaction on Etherscan " %} {% if subscription.network == 'mainnet' %}