blob: 257435c54b61913f08b4fa4a53b6aa79e9ff65b8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
<?php
/**
* Translation aid provider.
*
* @file
* @author Niklas Laxström
* @copyright Copyright © 2012-2013, Niklas Laxström
* @license GPL-2.0-or-later
*/
/**
* Translation aid which gives the message definition.
* This usually matches the content of the page ns:key/source_language.
*
* @ingroup TranslationAids
* @since 2013-01-01
*/
class MessageDefinitionAid extends TranslationAid {
public function getData() {
$language = $this->group->getSourceLanguage();
return [
'value' => $this->dataProvider->getDefinition(),
'language' => $language,
];
}
}
|