mirror of
https://github.com/grocy/grocy.git
synced 2025-10-14 17:24:07 +00:00
Migrated (hopefully) all translations to PO/Gettext (references #161)
This commit is contained in:
@@ -26,7 +26,7 @@ class CalendarService extends BaseService
|
||||
public function GetEvents()
|
||||
{
|
||||
$products = $this->Database->products();
|
||||
$titlePrefix = $this->LocalizationService->Localize('Product expires') . ': ';
|
||||
$titlePrefix = $this->LocalizationService-Translator->__t('Product expires') . ': ';
|
||||
$stockEvents = array();
|
||||
foreach($this->StockService->GetCurrentStock() as $currentStockEntry)
|
||||
{
|
||||
@@ -40,7 +40,7 @@ class CalendarService extends BaseService
|
||||
}
|
||||
}
|
||||
|
||||
$titlePrefix = $this->LocalizationService->Localize('Task due') . ': ';
|
||||
$titlePrefix = $this->LocalizationService-Translator->__t('Task due') . ': ';
|
||||
$taskEvents = array();
|
||||
foreach($this->TasksService->GetCurrent() as $currentTaskEntry)
|
||||
{
|
||||
@@ -52,7 +52,7 @@ class CalendarService extends BaseService
|
||||
}
|
||||
|
||||
$chores = $this->Database->chores();
|
||||
$titlePrefix = $this->LocalizationService->Localize('Chore due') . ': ';
|
||||
$titlePrefix = $this->LocalizationService-Translator->__t('Chore due') . ': ';
|
||||
$choreEvents = array();
|
||||
foreach($this->ChoresService->GetCurrent() as $currentChoreEntry)
|
||||
{
|
||||
@@ -64,7 +64,7 @@ class CalendarService extends BaseService
|
||||
}
|
||||
|
||||
$batteries = $this->Database->batteries();
|
||||
$titlePrefix = $this->LocalizationService->Localize('Battery charge cycle due') . ': ';
|
||||
$titlePrefix = $this->LocalizationService-Translator->__t('Battery charge cycle due') . ': ';
|
||||
$batteryEvents = array();
|
||||
foreach($this->BatteriesService->GetCurrent() as $currentBatteryEntry)
|
||||
{
|
||||
|
Reference in New Issue
Block a user