Commit 38692ccf authored by Robert Lyon's avatar Robert Lyon Committed by Gerrit Code Review

Merge "Bug 1578995: Change hardcoded lang to strings in skins" into 15.04_STABLE

parents ec675954 1debc3f1
......@@ -109,6 +109,15 @@ $string['backgroundattachment'] = 'Background image attachment';
$string['backgroundfixed'] = 'Fixed';
$string['backgroundscroll'] = 'Scroll';
$string['backgroundposition'] = 'Background image position';
$string['topleft'] = 'Top left';
$string['top'] = 'Top';
$string['topright'] = 'Top right';
$string['left'] = 'Left';
$string['centre'] = 'Centre';
$string['right'] = 'Right';
$string['bottomleft'] = 'Bottom left';
$string['bottom'] = 'Bottom';
$string['bottomright'] = 'Bottom right';
$string['viewwidth'] = 'Page width';
$string['textfontfamily'] = 'Text font';
......
......@@ -96,9 +96,15 @@ $skindesc = $skinobj->get('description');
$skintype = $skinobj->get('type');
$positions = array(
1 => 'Top left', 2 => 'Top', 3 => 'Top right',
4 => 'Left', 5 => 'Centre', 6 => 'Right',
7 => 'Bottom left', 8 => 'Bottom', 9 => 'Bottom right'
1 => get_string('topleft', 'skin'),
2 => get_string('top', 'skin'),
3 => get_string('topright', 'skin'),
4 => get_string('left', 'skin'),
5 => get_string('centre', 'skin'),
6 => get_string('right', 'skin'),
7 => get_string('bottomleft', 'skin'),
8 => get_string('bottom', 'skin'),
9 => get_string('bottomright', 'skin'),
);
$elements = array();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment