Skip to content

Commit

Permalink
Add translation contexts to ambiguous form element labels
Browse files Browse the repository at this point in the history
  • Loading branch information
Johannes Meyer committed Oct 2, 2014
1 parent a980184 commit 0793033
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions application/forms/Config/General/LoggingConfigForm.php
Expand Up @@ -32,11 +32,11 @@ public function createElements(array $formData)
'label' => t('Logging Level'),
'description' => t('The maximum loglevel to emit.'),
'multiOptions' => array(
0 => t('None'),
1 => t('Error'),
2 => t('Warning'),
3 => t('Information'),
4 => t('Debug')
0 => t('None', 'app.config.logging.level'),
1 => t('Error', 'app.config.logging.level'),
2 => t('Warning', 'app.config.logging.level'),
3 => t('Information', 'app.config.logging.level'),
4 => t('Debug', 'app.config.logging.level')
)
)
);
Expand All @@ -50,7 +50,7 @@ public function createElements(array $formData)
'description' => t('The type of logging to utilize.'),
'multiOptions' => array(
'syslog' => 'Syslog',
'file' => t('File')
'file' => t('File', 'app.config.logging.type')
)
)
);
Expand Down

0 comments on commit 0793033

Please sign in to comment.