Skip to content

Commit

Permalink
- Asignado el valor predeterminado false al strict de las funciones d…
Browse files Browse the repository at this point in the history
…el cronjob.

- Actualizadas las traducciones.
  • Loading branch information
NeoRazorX committed Dec 18, 2023
1 parent d979cc7 commit e4bdef5
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 16 deletions.
16 changes: 8 additions & 8 deletions Core/Model/CronJob.php
Original file line number Diff line number Diff line change
Expand Up @@ -109,42 +109,42 @@ public function everyDayAt(int $hour, bool $strict = false): self
return $this->everyDayAux('today', $hour, $strict);
}

public function everyFridayAt(int $hour, bool $strict): self
public function everyFridayAt(int $hour, bool $strict = false): self
{
return $this->everyDayAux('friday', $hour, $strict);
}

public function everyLastDayOfMonthAt(int $hour, bool $strict): self
public function everyLastDayOfMonthAt(int $hour, bool $strict = false): self
{
return $this->everyDayAux('last day of this month', $hour, $strict);
}

public function everyMondayAt(int $hour, bool $strict): self
public function everyMondayAt(int $hour, bool $strict = false): self
{
return $this->everyDayAux('monday', $hour, $strict);
}

public function everySaturdayAt(int $hour, bool $strict): self
public function everySaturdayAt(int $hour, bool $strict = false): self
{
return $this->everyDayAux('saturday', $hour, $strict);
}

public function everySundayAt(int $hour, bool $strict): self
public function everySundayAt(int $hour, bool $strict = false): self
{
return $this->everyDayAux('sunday', $hour, $strict);
}

public function everyThursdayAt(int $hour, bool $strict): self
public function everyThursdayAt(int $hour, bool $strict = false): self
{
return $this->everyDayAux('thursday', $hour, $strict);
}

public function everyTuesdayAt(int $hour, bool $strict): self
public function everyTuesdayAt(int $hour, bool $strict = false): self
{
return $this->everyDayAux('tuesday', $hour, $strict);
}

public function everyWednesdayAt(int $hour, bool $strict): self
public function everyWednesdayAt(int $hour, bool $strict = false): self
{
return $this->everyDayAux('wednesday', $hour, $strict);
}
Expand Down
10 changes: 5 additions & 5 deletions Core/Translation/en_EN.json
Original file line number Diff line number Diff line change
Expand Up @@ -357,7 +357,7 @@
"dashboard-for": "Dashboard for %company%",
"data-source": "Origin data",
"database": "Database",
"database-error": "Error al conectar a la base de datos",
"database-error": "Error connecting to the database",
"database-name-must-be-lowercase": "The database name must be lowercase",
"date": "Date",
"date-in": "Date in",
Expand Down Expand Up @@ -433,7 +433,7 @@
"different-passwords": "Passwords don't match for %userNick%",
"different-than": "Different than",
"disable": "Disable",
"disable-plugins": "Desactivar plugins",
"disable-plugins": "Disable plugins",
"disabled": "Disabled",
"discharge-date": "Discharge date: %date%",
"discount": "Discount",
Expand Down Expand Up @@ -1379,8 +1379,8 @@
"subaccount": "Subaccount",
"subaccount-bad-codcuenta": "The subaccount %codsubcuenta% has an incorrect account assigned.",
"subaccount-belongs-other-year": "Sub-account %subAccountCode% belongs to another financial year.",
"subaccount-irpf": "Account for deductions",
"subaccount-irpf-creditor": "Account of PIT creditor",
"subaccount-irpf": "Deduction sub-account for sales",
"subaccount-irpf-creditor": "Deduction sub-account for purchases",
"subaccount-not-found": "Subaccount %subAccountCode% not found.",
"subaccount-purchases": "Account for purchases",
"subaccount-pyg-not-found": "Profit and loss subaccount not found",
Expand Down Expand Up @@ -1469,7 +1469,7 @@
"title-url": "Title URL",
"to": "To",
"to-refund": "To refund",
"to-report": "Informar",
"to-report": "Report",
"today": "Today",
"total": "Total",
"total-amount": "Total amount",
Expand Down
6 changes: 3 additions & 3 deletions Core/Translation/gl_ES.json
Original file line number Diff line number Diff line change
Expand Up @@ -357,7 +357,7 @@
"dashboard-for": "Taboleiro de %company%",
"data-source": "Datos de orixe",
"database": "Base de datos",
"database-error": "Error al conectar a la base de datos",
"database-error": "Erro ó conectar á base de datos",
"database-name-must-be-lowercase": "O nome da base de datos debe ser en minúsculas",
"date": "Data",
"date-in": "Data en",
Expand Down Expand Up @@ -1379,8 +1379,8 @@
"subaccount": "Subcontas",
"subaccount-bad-codcuenta": "A subconta %codsubcuenta% ten asignada unha conta incorrecta.",
"subaccount-belongs-other-year": "A subconta %subAccountCode% pertence a outro ano fiscal.",
"subaccount-irpf": "Conta para retencións",
"subaccount-irpf-creditor": "Conta do acredor do IRPF",
"subaccount-irpf": "Subconta de retencións para ventas",
"subaccount-irpf-creditor": "Subconta de retencións para compras",
"subaccount-not-found": "Subconta %subAccountCode% non atopada.",
"subaccount-purchases": "Contas para compras",
"subaccount-pyg-not-found": "Subconta de pérdidas e ganancias non atopada",
Expand Down

0 comments on commit e4bdef5

Please sign in to comment.