Migrated (hopefully) all translations to PO/Gettext (references #161)

This commit is contained in:
Bernd Bestel
2019-05-01 20:19:18 +02:00
parent 40b5afe926
commit 9b2dba2397
372 changed files with 23242 additions and 16905 deletions

View File

@@ -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)
{