Fix various typos

Found via `codespell -q 3 -S "./resources/lang,./resources/assets/js/locales" -L hastable`
This commit is contained in:
luzpaz
2024-01-10 01:12:48 +00:00
parent 136fe8e8eb
commit 744e193faa
13 changed files with 20 additions and 20 deletions

View File

@@ -42,7 +42,7 @@ class UpdateRequest extends FormRequest
*/ */
public function getAll(): array public function getAll(): array
{ {
// return nothing that isn't explicitely in the array: // return nothing that isn't explicitly in the array:
$fields = [ $fields = [
'name' => ['name', 'convertString'], 'name' => ['name', 'convertString'],
'code' => ['code', 'convertString'], 'code' => ['code', 'convertString'],

View File

@@ -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 DuplicateTransactionException
* @throws FireflyException * @throws FireflyException

View File

@@ -41,7 +41,7 @@ trait ModelInformation
* *
* @throws FireflyException * @throws FireflyException
*/ */
protected function getActionsForBill(Bill $bill): array // get info and augument protected function getActionsForBill(Bill $bill): array // get info and argument
{ {
try { try {
$result = view( $result = view(
@@ -108,7 +108,7 @@ trait ModelInformation
* *
* @throws FireflyException * @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 // TODO duplicate code
$operators = config('search.operators'); $operators = config('search.operators');

View File

@@ -138,7 +138,7 @@ function removeTrigger(e) {
// remove grand parent: // remove grand parent:
target.parent().parent().remove(); 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) { if ($('.rule-trigger-tbody tr').length === 0) {
addNewTrigger(); addNewTrigger();
} }
@@ -159,7 +159,7 @@ function removeAction(e) {
// remove grand parent: // remove grand parent:
target.parent().parent().remove(); 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) { if ($('.rule-action-tbody tr').length === 0) {
addNewAction(); addNewAction();
} }

View File

@@ -1989,7 +1989,7 @@
isUsingMicroTask = true; isUsingMicroTask = true;
} else if (typeof setImmediate !== 'undefined' && isNative(setImmediate)) { } else if (typeof setImmediate !== 'undefined' && isNative(setImmediate)) {
// Fallback to 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. // but it is still a better choice than setTimeout.
timerFunc = function () { timerFunc = function () {
setImmediate(flushCallbacks); setImmediate(flushCallbacks);
@@ -2938,7 +2938,7 @@
if (typeof key === 'string' && key) { if (typeof key === 'string' && key) {
baseObj[values[i]] = values[i + 1]; baseObj[values[i]] = values[i + 1];
} else if (key !== '' && key !== null) { } else if (key !== '' && key !== null) {
// null is a speical value for explicitly removing a binding // null is a special value for explicitly removing a binding
warn( warn(
("Invalid value for dynamic directive argument (expected string or null): " + key), ("Invalid value for dynamic directive argument (expected string or null): " + key),
this this
@@ -3558,7 +3558,7 @@
// render self // render self
var vnode; var vnode;
try { 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 // separately from one another. Nested component's render fns are called
// when parent component is patched. // when parent component is patched.
currentRenderingInstance = vm; currentRenderingInstance = vm;
@@ -7663,7 +7663,7 @@
// skip the update if old and new VDOM state is the same. // skip the update if old and new VDOM state is the same.
// `value` is handled separately because the DOM value may be temporarily // `value` is handled separately because the DOM value may be temporarily
// out of sync with VDOM state due to focus, composition and modifiers. // 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] cur !== oldProps[key]
) { ) {
// some property updates can throw // some property updates can throw
@@ -9268,7 +9268,7 @@
var startTagClose = /^\s*(\/?)>/; var startTagClose = /^\s*(\/?)>/;
var endTag = new RegExp(("^<\\/" + qnameCapture + "[^>]*>")); var endTag = new RegExp(("^<\\/" + qnameCapture + "[^>]*>"));
var doctype = /^<!DOCTYPE [^>]+>/i; 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 page
var comment = /^<!\--/; var comment = /^<!\--/;
var conditionalComment = /^<!\[/; var conditionalComment = /^<!\[/;
@@ -9908,7 +9908,7 @@
} }
}, },
comment: function comment (text, start, end) { 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 ignored // comments should still be allowed, but ignored
if (currentParent) { if (currentParent) {
var child = { var child = {

View File

@@ -211,7 +211,7 @@ export default {
} }
if (this.transactionType.toString().toLowerCase() === 'deposit' && this.inputName.substr(0, 11).toLowerCase() === 'destination') { if (this.transactionType.toString().toLowerCase() === 'deposit' && this.inputName.substr(0, 11).toLowerCase() === 'destination') {
// TODO also clear valye? // TODO also clear value?
this.inputDisabled = true; this.inputDisabled = true;
} }
} }

View File

@@ -76,7 +76,7 @@ export default {
} }
}, },
methods: { methods: {
// Fixes edit change budget not updating on every broswer // Fixes edit change budget not updating on every browser
signalChange: function (e) { signalChange: function (e) {
this.$emit('input', this.$refs.budget.value); this.$emit('input', this.$refs.budget.value);
}, },

View File

@@ -501,7 +501,7 @@ export default {
button.prop("disabled", true); button.prop("disabled", true);
axios.post(uri, data).then(response => { 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). // this method will ultimately send the user on (or not).
if (0 === this.collectAttachmentData(response)) { if (0 === this.collectAttachmentData(response)) {
// console.log('Will now go to redirectUser()'); // console.log('Will now go to redirectUser()');

View File

@@ -129,7 +129,7 @@
</small> </small>
</div> </div>
</div> </div>
{# progresss bar to visualise available vs budgeted. #} {# progress bar to visualise available vs budgeted. #}
<div class="row"> <div class="row">
<div class="col-lg-12 col-md-12 col-sm-12 col-xs-12"> <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 }}" <div class="progress budgeted_bar" data-id="{{ budget.id }}" data-budgeted="{{ budget.budgeted }}"

View File

@@ -258,7 +258,7 @@
{% if config('firefly.tracker_site_id') != '' and config('firefly.tracker_url') != '' %} {% 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 --> <!-- 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 }}"> <script type="text/javascript" nonce="{{ JS_NONCE }}">
var _paq = window._paq || []; var _paq = window._paq || [];
_paq.push(['trackPageView']); _paq.push(['trackPageView']);

View File

@@ -65,7 +65,7 @@
{% if config('firefly.tracker_site_id') != '' and config('firefly.tracker_url') != '' %} {% 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 --> <!-- 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 }}"> <script type="text/javascript" nonce="{{ JS_NONCE }}">
var _paq = window._paq || []; var _paq = window._paq || [];
_paq.push(['trackPageView']); _paq.push(['trackPageView']);

View File

@@ -80,7 +80,7 @@
{% if config('firefly.tracker_site_id') != '' and config('firefly.tracker_url') != '' %} {% 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 --> <!-- 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 }}"> <script type="text/javascript" nonce="{{ JS_NONCE }}">
var _paq = window._paq || []; var _paq = window._paq || [];
_paq.push(['trackPageView']); _paq.push(['trackPageView']);

View File

@@ -40,7 +40,7 @@
{% block scripts %}{% endblock %} {% block scripts %}{% endblock %}
{% if config('firefly.tracker_site_id') != '' and config('firefly.tracker_url') != '' %} {% 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 --> <!-- 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 }}"> <script type="text/javascript" nonce="{{ JS_NONCE }}">
var _paq = window._paq || []; var _paq = window._paq || [];
_paq.push(['trackPageView']); _paq.push(['trackPageView']);