From c2cd126033d472d7d960d82364f83a3a485f023a Mon Sep 17 00:00:00 2001 From: Issam Taboubi Date: Wed, 14 Sep 2016 11:26:02 -0400 Subject: [PATCH] MDL-55586 blocks_lp: Translation strings in competencies --- blocks/lp/lang/en/block_lp.php | 2 ++ blocks/lp/templates/summary.mustache | 6 +++--- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/blocks/lp/lang/en/block_lp.php b/blocks/lp/lang/en/block_lp.php index 8470df81f4f84..0c0ba9a6161ec 100644 --- a/blocks/lp/lang/en/block_lp.php +++ b/blocks/lp/lang/en/block_lp.php @@ -28,6 +28,8 @@ $string['lp:addinstance'] = 'Add a new learning plans block'; $string['lp:myaddinstance'] = 'Add a new learning plans block to Dashboard'; $string['lp:view'] = 'View learning plans block'; +$string['myplans'] = 'My plans'; +$string['noactiveplans'] = 'No active plans at the moment.'; $string['planstoreview'] = 'Plans to review'; $string['pluginname'] = 'Learning plans'; $string['viewmore'] = 'View more...'; diff --git a/blocks/lp/templates/summary.mustache b/blocks/lp/templates/summary.mustache index 8ad8aa498af28..dc0943fe31d56 100644 --- a/blocks/lp/templates/summary.mustache +++ b/blocks/lp/templates/summary.mustache @@ -37,7 +37,7 @@ }}
{{#hasplans}} -

My plans

+

{{#str}}myplans, block_lp{{/str}}

{{#hasactiveplans}}
    @@ -50,7 +50,7 @@
{{/hasactiveplans}} {{^hasactiveplans}} -

No active plans at the moment. {{#str}}viewotherplans, block_lp{{/str}}

+

{{#str}}noactiveplans, block_lp{{/str}} {{#str}}viewotherplans, block_lp{{/str}}

{{/hasactiveplans}}
{{/hasplans}} @@ -70,7 +70,7 @@
{{/hascompstoreview}} {{#hasplanstoreview}} -

Plans to review

+

{{#str}}planstoreview, block_lp{{/str}}