Add translation contexts to ambiguous form element labels

This commit is contained in:
Johannes Meyer 2014-10-02 16:34:44 +02:00
parent a980184eb9
commit 0793033559

View File

@ -32,11 +32,11 @@ class LoggingConfigForm extends Form
'label' => t('Logging Level'), 'label' => t('Logging Level'),
'description' => t('The maximum loglevel to emit.'), 'description' => t('The maximum loglevel to emit.'),
'multiOptions' => array( 'multiOptions' => array(
0 => t('None'), 0 => t('None', 'app.config.logging.level'),
1 => t('Error'), 1 => t('Error', 'app.config.logging.level'),
2 => t('Warning'), 2 => t('Warning', 'app.config.logging.level'),
3 => t('Information'), 3 => t('Information', 'app.config.logging.level'),
4 => t('Debug') 4 => t('Debug', 'app.config.logging.level')
) )
) )
); );
@ -50,7 +50,7 @@ class LoggingConfigForm extends Form
'description' => t('The type of logging to utilize.'), 'description' => t('The type of logging to utilize.'),
'multiOptions' => array( 'multiOptions' => array(
'syslog' => 'Syslog', 'syslog' => 'Syslog',
'file' => t('File') 'file' => t('File', 'app.config.logging.type')
) )
) )
); );