Firefly III: a personal finances manager
PHP accountingbudgetbudgetingbudgetscash-flowcashflowcredit-carddockerexpensesfinancefinancesfinanciallinuxmoneypaycheckpersonal-financephpphp7
Fix various typos
luzpaz744e193faaa3
diff --git a/app/Api/V1/Requests/Models/TransactionCurrency/UpdateRequest.php b/app/Api/V1/Requests/Models/TransactionCurrency/UpdateRequest.phpindex cf5f3bdfba..1344f8d546 100644--- a/app/Api/V1/Requests/Models/TransactionCurrency/UpdateRequest.php+++ b/app/Api/V1/Requests/Models/TransactionCurrency/UpdateRequest.php@@ -42,7 +42,7 @@ class UpdateRequest extends FormRequest*/public function getAll(): array{- // return nothing that isn't explicitely in the array:+ // return nothing that isn't explicitly in the array:$fields = ['name' => ['name', 'convertString'],'code' => ['code', 'convertString'],diff --git a/app/Jobs/CreateRecurringTransactions.php b/app/Jobs/CreateRecurringTransactions.phpindex 3b0a6371a9..025116a855 100644--- a/app/Jobs/CreateRecurringTransactions.php+++ b/app/Jobs/CreateRecurringTransactions.php@@ -325,7 +325,7 @@ class CreateRecurringTransactions implements ShouldQueue}/**- * Check if the occurences should be executed.+ * Check if the occurrences should be executed.** @throws DuplicateTransactionException* @throws FireflyExceptiondiff --git a/app/Support/Http/Controllers/ModelInformation.php b/app/Support/Http/Controllers/ModelInformation.phpindex accf008e3b..5e9217bad3 100644--- a/app/Support/Http/Controllers/ModelInformation.php+++ b/app/Support/Http/Controllers/ModelInformation.php@@ -41,7 +41,7 @@ trait ModelInformation** @throws FireflyException*/- protected function getActionsForBill(Bill $bill): array // get info and augument+ protected function getActionsForBill(Bill $bill): array // get info and argument{try {$result = view(@@ -108,7 +108,7 @@ trait ModelInformation** @throws FireflyException*/- protected function getTriggersForBill(Bill $bill): array // get info and augument+ protected function getTriggersForBill(Bill $bill): array // get info and argument{// TODO duplicate code$operators = config('search.operators');diff --git a/public/v1/js/ff/rules/create-edit.js b/public/v1/js/ff/rules/create-edit.jsindex dc9d6c558d..626c2f8d1c 100644--- a/public/v1/js/ff/rules/create-edit.js+++ b/public/v1/js/ff/rules/create-edit.js@@ -138,7 +138,7 @@ function removeTrigger(e) {// remove grand parent:target.parent().parent().remove();- // if now at zero, immediatly add one again:+ // if now at zero, immediately add one again:if ($('.rule-trigger-tbody tr').length === 0) {addNewTrigger();}@@ -159,7 +159,7 @@ function removeAction(e) {// remove grand parent:target.parent().parent().remove();- // if now at zero, immediatly add one again:+ // if now at zero, immediately add one again:if ($('.rule-action-tbody tr').length === 0) {addNewAction();}diff --git a/public/v1/js/lib/vue.js b/public/v1/js/lib/vue.jsindex dfd4d6ae2c..46aeb4fc51 100644--- a/public/v1/js/lib/vue.js+++ b/public/v1/js/lib/vue.js@@ -1989,7 +1989,7 @@isUsingMicroTask = true;} else if (typeof setImmediate !== 'undefined' && isNative(setImmediate)) {// Fallback to setImmediate.- // Techinically it leverages the (macro) task queue,+ // Technically it leverages the (macro) task queue,// but it is still a better choice than setTimeout.timerFunc = function () {setImmediate(flushCallbacks);@@ -2938,7 +2938,7 @@if (typeof key === 'string' && key) {baseObj[values[i]] = values[i + 1];} else if (key !== '' && key !== null) {- // null is a speical value for explicitly removing a binding+ // null is a special value for explicitly removing a bindingwarn(("Invalid value for dynamic directive argument (expected string or null): " + key),this@@ -3558,7 +3558,7 @@// render selfvar vnode;try {- // There's no need to maintain a stack becaues all render fns are called+ // There's no need to maintain a stack because all render fns are called// separately from one another. Nested component's render fns are called// when parent component is patched.currentRenderingInstance = vm;@@ -7663,7 +7663,7 @@// skip the update if old and new VDOM state is the same.// `value` is handled separately because the DOM value may be temporarily// out of sync with VDOM state due to focus, composition and modifiers.- // This #4521 by skipping the unnecesarry `checked` update.+ // This #4521 by skipping the unnecessary `checked` update.cur !== oldProps[key]) {// some property updates can throw@@ -9268,7 +9268,7 @@var startTagClose = /^\s*(\/?)>/;var endTag = new RegExp(("^<\\/" + qnameCapture + "[^>]*>"));var doctype = /^<!DOCTYPE [^>]+>/i;- // #7298: escape - to avoid being pased as HTML comment when inlined in page+ // #7298: escape - to avoid being passed as HTML comment when inlined in pagevar comment = /^<!\--/;var conditionalComment = /^<!\[/;@@ -9908,7 +9908,7 @@}},comment: function comment (text, start, end) {- // adding anyting as a sibling to the root node is forbidden+ // adding anything as a sibling to the root node is forbidden// comments should still be allowed, but ignoredif (currentParent) {var child = {diff --git a/resources/assets/js/components/transactions/AccountSelect.vue b/resources/assets/js/components/transactions/AccountSelect.vueindex 24359c78ea..917aebde02 100644--- a/resources/assets/js/components/transactions/AccountSelect.vue+++ b/resources/assets/js/components/transactions/AccountSelect.vue@@ -211,7 +211,7 @@ export default {}if (this.transactionType.toString().toLowerCase() === 'deposit' && this.inputName.substr(0, 11).toLowerCase() === 'destination') {- // TODO also clear valye?+ // TODO also clear value?this.inputDisabled = true;}}diff --git a/resources/assets/js/components/transactions/Budget.vue b/resources/assets/js/components/transactions/Budget.vueindex 1b538c4501..259752d435 100644--- a/resources/assets/js/components/transactions/Budget.vue+++ b/resources/assets/js/components/transactions/Budget.vue@@ -76,7 +76,7 @@ export default {}},methods: {- // Fixes edit change budget not updating on every broswer+ // Fixes edit change budget not updating on every browsersignalChange: function (e) {this.$emit('input', this.$refs.budget.value);},diff --git a/resources/assets/js/components/transactions/CreateTransaction.vue b/resources/assets/js/components/transactions/CreateTransaction.vueindex 35ab397edb..932d99899a 100644--- a/resources/assets/js/components/transactions/CreateTransaction.vue+++ b/resources/assets/js/components/transactions/CreateTransaction.vue@@ -501,7 +501,7 @@ export default {button.prop("disabled", true);axios.post(uri, data).then(response => {- // console.log('Did a succesfull POST');+ // console.log('Did a successful POST');// this method will ultimately send the user on (or not).if (0 === this.collectAttachmentData(response)) {// console.log('Will now go to redirectUser()');diff --git a/resources/views/budgets/index.twig b/resources/views/budgets/index.twigindex 09bafef23a..932252a761 100644--- a/resources/views/budgets/index.twig+++ b/resources/views/budgets/index.twig@@ -129,7 +129,7 @@</small></div></div>- {# progresss bar to visualise available vs budgeted. #}+ {# progress bar to visualise available vs budgeted. #}<div class="row"><div class="col-lg-12 col-md-12 col-sm-12 col-xs-12"><div class="progress budgeted_bar" data-id="{{ budget.id }}" data-budgeted="{{ budget.budgeted }}"diff --git a/resources/views/layout/default.twig b/resources/views/layout/default.twigindex 5553f2b362..0a7fbfb68f 100644--- a/resources/views/layout/default.twig+++ b/resources/views/layout/default.twig@@ -258,7 +258,7 @@{% if config('firefly.tracker_site_id') != '' and config('firefly.tracker_url') != '' %}<!-- This tracker tag is only here because this instance of Firefly III was purposefully configured to include it -->- <!-- Your own installation will NOT include it, unless you explicitely configure it to have it. -->+ <!-- Your own installation will NOT include it, unless you explicitly configure it to have it. --><script type="text/javascript" nonce="{{ JS_NONCE }}">var _paq = window._paq || [];_paq.push(['trackPageView']);diff --git a/resources/views/layout/empty.twig b/resources/views/layout/empty.twigindex ef018bcc25..444a336971 100644--- a/resources/views/layout/empty.twig+++ b/resources/views/layout/empty.twig@@ -65,7 +65,7 @@{% if config('firefly.tracker_site_id') != '' and config('firefly.tracker_url') != '' %}<!-- This tracker tag is only here because this instance of Firefly III was purposefully configured to include it -->- <!-- Your own installation will NOT include it, unless you explicitely configure it to have it. -->+ <!-- Your own installation will NOT include it, unless you explicitly configure it to have it. --><script type="text/javascript" nonce="{{ JS_NONCE }}">var _paq = window._paq || [];_paq.push(['trackPageView']);diff --git a/resources/views/layout/guest.twig b/resources/views/layout/guest.twigindex a9c463dfeb..889a241aa5 100644--- a/resources/views/layout/guest.twig+++ b/resources/views/layout/guest.twig@@ -80,7 +80,7 @@{% if config('firefly.tracker_site_id') != '' and config('firefly.tracker_url') != '' %}<!-- This tracker tag is only here because this instance of Firefly III was purposefully configured to include it -->- <!-- Your own installation will NOT include it, unless you explicitely configure it to have it. -->+ <!-- Your own installation will NOT include it, unless you explicitly configure it to have it. --><script type="text/javascript" nonce="{{ JS_NONCE }}">var _paq = window._paq || [];_paq.push(['trackPageView']);diff --git a/resources/views/layout/install.twig b/resources/views/layout/install.twigindex 02140bbdfe..29e7bc88a8 100644--- a/resources/views/layout/install.twig+++ b/resources/views/layout/install.twig@@ -40,7 +40,7 @@{% block scripts %}{% endblock %}{% if config('firefly.tracker_site_id') != '' and config('firefly.tracker_url') != '' %}<!-- This tracker tag is only here because this instance of Firefly III was purposefully configured to include it -->- <!-- Your own installation will NOT include it, unless you explicitely configure it to have it. -->+ <!-- Your own installation will NOT include it, unless you explicitly configure it to have it. --><script type="text/javascript" nonce="{{ JS_NONCE }}">var _paq = window._paq || [];_paq.push(['trackPageView']);