mirror of
https://github.com/silverstripe/silverstripe-translatable
synced 2024-10-22 11:05:59 +02:00
Adjust block indentation
This commit is contained in:
parent
4324d5b607
commit
7f34bac485
@ -1578,11 +1578,11 @@ class Translatable extends DataExtension implements PermissionProvider {
|
|||||||
$translations = $translations->toArray();
|
$translations = $translations->toArray();
|
||||||
$translations[] = $this->owner;
|
$translations[] = $this->owner;
|
||||||
|
|
||||||
foreach($translations as $translation) {
|
foreach($translations as $translation) {
|
||||||
$tags .= sprintf($template,
|
$tags .= sprintf($template,
|
||||||
Convert::raw2xml($translation->Title),
|
Convert::raw2xml($translation->Title),
|
||||||
i18n::convert_rfc1766($translation->Locale),
|
i18n::convert_rfc1766($translation->Locale),
|
||||||
$translation->AbsoluteLink()
|
$translation->AbsoluteLink()
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user