[Legacy] Refactor string vars to bool and int

- Add dynamic language variable
This commit is contained in:
yunusyerli1 2023-02-07 12:02:57 +03:00 committed by Clemente Raposo
parent d7956a6af2
commit 7ab8aa12e1
4 changed files with 5 additions and 2 deletions

View file

@ -3989,3 +3989,4 @@ $app_strings['LBL_INBOUND_ACCOUNT'] = 'Inbound Account';
$app_strings['LBL_SYSTEM_ACCOUNT'] = 'System Account';
$app_strings['LBL_FROM_SYSTEM'] = 'Send From System';
$app_strings['LBL_SIGNATURE'] = 'Signature';
$app_strings['LBL_NEW_NOTIFICATION'] = "You have {{context.unread}} new notifications";

View file

@ -28,6 +28,7 @@
require_once __DIR__ . '/TargetModuleTypeMapper.php';
require_once __DIR__ . '/TargetModuleLabelMapper.php';
require_once __DIR__ . '/AlertNameMapper.php';
require_once __DIR__ . '/IsReadMapper.php';
require_once __DIR__ . '/../../ApiBeanModuleMappers.php';
class AlertsMappers extends ApiBeanModuleMappers
@ -42,6 +43,7 @@ class AlertsMappers extends ApiBeanModuleMappers
$this->fieldMappers[TargetModuleTypeMapper::getField()] = new TargetModuleTypeMapper();
$this->fieldMappers[TargetModuleLabelMapper::getField()] = new TargetModuleLabelMapper();
$this->fieldMappers[AlertNameMapper::getField()] = new AlertNameMapper();
$this->fieldMappers[IsReadMapper::getField()] = new IsReadMapper();
}
/**