|
551 | 551 | $description = get_string('backgroundimagepositionsetting_desc', 'theme_boost_union', null, true); |
552 | 552 | $backgroundimagepositionoptions = [ |
553 | 553 | THEME_BOOST_UNION_SETTING_IMAGEPOSITION_CENTER_CENTER => |
554 | | - THEME_BOOST_UNION_SETTING_IMAGEPOSITION_CENTER_CENTER, |
| 554 | + get_string('imageposition_center_center', 'theme_boost_union'), |
555 | 555 | THEME_BOOST_UNION_SETTING_IMAGEPOSITION_CENTER_TOP => |
556 | | - THEME_BOOST_UNION_SETTING_IMAGEPOSITION_CENTER_TOP, |
| 556 | + get_string('imageposition_center_top', 'theme_boost_union'), |
557 | 557 | THEME_BOOST_UNION_SETTING_IMAGEPOSITION_CENTER_BOTTOM => |
558 | | - THEME_BOOST_UNION_SETTING_IMAGEPOSITION_CENTER_BOTTOM, |
| 558 | + get_string('imageposition_center_bottom', 'theme_boost_union'), |
559 | 559 | THEME_BOOST_UNION_SETTING_IMAGEPOSITION_LEFT_TOP => |
560 | | - THEME_BOOST_UNION_SETTING_IMAGEPOSITION_LEFT_TOP, |
| 560 | + get_string('imageposition_left_top', 'theme_boost_union'), |
561 | 561 | THEME_BOOST_UNION_SETTING_IMAGEPOSITION_LEFT_CENTER => |
562 | | - THEME_BOOST_UNION_SETTING_IMAGEPOSITION_LEFT_CENTER, |
| 562 | + get_string('imageposition_left_center', 'theme_boost_union'), |
563 | 563 | THEME_BOOST_UNION_SETTING_IMAGEPOSITION_LEFT_BOTTOM => |
564 | | - THEME_BOOST_UNION_SETTING_IMAGEPOSITION_LEFT_BOTTOM, |
| 564 | + get_string('imageposition_left_bottom', 'theme_boost_union'), |
565 | 565 | THEME_BOOST_UNION_SETTING_IMAGEPOSITION_RIGHT_TOP => |
566 | | - THEME_BOOST_UNION_SETTING_IMAGEPOSITION_RIGHT_TOP, |
| 566 | + get_string('imageposition_right_top', 'theme_boost_union'), |
567 | 567 | THEME_BOOST_UNION_SETTING_IMAGEPOSITION_RIGHT_CENTER => |
568 | | - THEME_BOOST_UNION_SETTING_IMAGEPOSITION_RIGHT_CENTER, |
| 568 | + get_string('imageposition_right_center', 'theme_boost_union'), |
569 | 569 | THEME_BOOST_UNION_SETTING_IMAGEPOSITION_RIGHT_BOTTOM => |
570 | | - THEME_BOOST_UNION_SETTING_IMAGEPOSITION_RIGHT_BOTTOM, ]; |
| 570 | + get_string('imageposition_right_bottom', 'theme_boost_union'), |
| 571 | + ]; |
571 | 572 | $setting = new admin_setting_configselect( |
572 | 573 | $name, |
573 | 574 | $title, |
|
928 | 929 | $description = get_string('loginbackgroundimagepositionsetting_desc', 'theme_boost_union', null, true); |
929 | 930 | $loginbackgroundimagepositionoptions = [ |
930 | 931 | THEME_BOOST_UNION_SETTING_IMAGEPOSITION_CENTER_CENTER => |
931 | | - THEME_BOOST_UNION_SETTING_IMAGEPOSITION_CENTER_CENTER, |
| 932 | + get_string('imageposition_center_center', 'theme_boost_union'), |
932 | 933 | THEME_BOOST_UNION_SETTING_IMAGEPOSITION_CENTER_TOP => |
933 | | - THEME_BOOST_UNION_SETTING_IMAGEPOSITION_CENTER_TOP, |
| 934 | + get_string('imageposition_center_top', 'theme_boost_union'), |
934 | 935 | THEME_BOOST_UNION_SETTING_IMAGEPOSITION_CENTER_BOTTOM => |
935 | | - THEME_BOOST_UNION_SETTING_IMAGEPOSITION_CENTER_BOTTOM, |
| 936 | + get_string('imageposition_center_bottom', 'theme_boost_union'), |
936 | 937 | THEME_BOOST_UNION_SETTING_IMAGEPOSITION_LEFT_TOP => |
937 | | - THEME_BOOST_UNION_SETTING_IMAGEPOSITION_LEFT_TOP, |
| 938 | + get_string('imageposition_left_top', 'theme_boost_union'), |
938 | 939 | THEME_BOOST_UNION_SETTING_IMAGEPOSITION_LEFT_CENTER => |
939 | | - THEME_BOOST_UNION_SETTING_IMAGEPOSITION_LEFT_CENTER, |
| 940 | + get_string('imageposition_left_center', 'theme_boost_union'), |
940 | 941 | THEME_BOOST_UNION_SETTING_IMAGEPOSITION_LEFT_BOTTOM => |
941 | | - THEME_BOOST_UNION_SETTING_IMAGEPOSITION_LEFT_BOTTOM, |
| 942 | + get_string('imageposition_left_bottom', 'theme_boost_union'), |
942 | 943 | THEME_BOOST_UNION_SETTING_IMAGEPOSITION_RIGHT_TOP => |
943 | | - THEME_BOOST_UNION_SETTING_IMAGEPOSITION_RIGHT_TOP, |
| 944 | + get_string('imageposition_right_top', 'theme_boost_union'), |
944 | 945 | THEME_BOOST_UNION_SETTING_IMAGEPOSITION_RIGHT_CENTER => |
945 | | - THEME_BOOST_UNION_SETTING_IMAGEPOSITION_RIGHT_CENTER, |
| 946 | + get_string('imageposition_right_center', 'theme_boost_union'), |
946 | 947 | THEME_BOOST_UNION_SETTING_IMAGEPOSITION_RIGHT_BOTTOM => |
947 | | - THEME_BOOST_UNION_SETTING_IMAGEPOSITION_RIGHT_BOTTOM, ]; |
| 948 | + get_string('imageposition_right_bottom', 'theme_boost_union'), |
| 949 | + ]; |
948 | 950 | $setting = new admin_setting_configselect( |
949 | 951 | $name, |
950 | 952 | $title, |
|
3381 | 3383 | $description = get_string('tilebackgroundimagepositionsetting_desc', 'theme_boost_union', ['no' => $i], true); |
3382 | 3384 | $tilebackgroundimagepositionoptions = [ |
3383 | 3385 | THEME_BOOST_UNION_SETTING_IMAGEPOSITION_CENTER_CENTER => |
3384 | | - THEME_BOOST_UNION_SETTING_IMAGEPOSITION_CENTER_CENTER, |
| 3386 | + get_string('imageposition_center_center', 'theme_boost_union'), |
3385 | 3387 | THEME_BOOST_UNION_SETTING_IMAGEPOSITION_CENTER_TOP => |
3386 | | - THEME_BOOST_UNION_SETTING_IMAGEPOSITION_CENTER_TOP, |
| 3388 | + get_string('imageposition_center_top', 'theme_boost_union'), |
3387 | 3389 | THEME_BOOST_UNION_SETTING_IMAGEPOSITION_CENTER_BOTTOM => |
3388 | | - THEME_BOOST_UNION_SETTING_IMAGEPOSITION_CENTER_BOTTOM, |
| 3390 | + get_string('imageposition_center_bottom', 'theme_boost_union'), |
3389 | 3391 | THEME_BOOST_UNION_SETTING_IMAGEPOSITION_LEFT_TOP => |
3390 | | - THEME_BOOST_UNION_SETTING_IMAGEPOSITION_LEFT_TOP, |
| 3392 | + get_string('imageposition_left_top', 'theme_boost_union'), |
3391 | 3393 | THEME_BOOST_UNION_SETTING_IMAGEPOSITION_LEFT_CENTER => |
3392 | | - THEME_BOOST_UNION_SETTING_IMAGEPOSITION_LEFT_CENTER, |
| 3394 | + get_string('imageposition_left_center', 'theme_boost_union'), |
3393 | 3395 | THEME_BOOST_UNION_SETTING_IMAGEPOSITION_LEFT_BOTTOM => |
3394 | | - THEME_BOOST_UNION_SETTING_IMAGEPOSITION_LEFT_BOTTOM, |
| 3396 | + get_string('imageposition_left_bottom', 'theme_boost_union'), |
3395 | 3397 | THEME_BOOST_UNION_SETTING_IMAGEPOSITION_RIGHT_TOP => |
3396 | | - THEME_BOOST_UNION_SETTING_IMAGEPOSITION_RIGHT_TOP, |
| 3398 | + get_string('imageposition_right_top', 'theme_boost_union'), |
3397 | 3399 | THEME_BOOST_UNION_SETTING_IMAGEPOSITION_RIGHT_CENTER => |
3398 | | - THEME_BOOST_UNION_SETTING_IMAGEPOSITION_RIGHT_CENTER, |
| 3400 | + get_string('imageposition_right_center', 'theme_boost_union'), |
3399 | 3401 | THEME_BOOST_UNION_SETTING_IMAGEPOSITION_RIGHT_BOTTOM => |
3400 | | - THEME_BOOST_UNION_SETTING_IMAGEPOSITION_RIGHT_BOTTOM, ]; |
| 3402 | + get_string('imageposition_right_bottom', 'theme_boost_union'), |
| 3403 | + ]; |
3401 | 3404 | $setting = new admin_setting_configselect( |
3402 | 3405 | $name, |
3403 | 3406 | $title, |
|
0 commit comments