Skip to content

Commit

Permalink
MDL-55586 blocks_lp: Translation strings in competencies
Browse files Browse the repository at this point in the history
  • Loading branch information
taboubi committed Sep 19, 2016
1 parent 1f27448 commit c2cd126
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 2 additions & 0 deletions blocks/lp/lang/en/block_lp.php
Expand Up @@ -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...';
Expand Down
6 changes: 3 additions & 3 deletions blocks/lp/templates/summary.mustache
Expand Up @@ -37,7 +37,7 @@
}}
<div>
{{#hasplans}}
<h3>My plans</h3>
<h3>{{#str}}myplans, block_lp{{/str}}</h3>
<div class="sub-content">
{{#hasactiveplans}}
<ul>
Expand All @@ -50,7 +50,7 @@
</ul>
{{/hasactiveplans}}
{{^hasactiveplans}}
<p>No active plans at the moment. <a href="{{plansurl}}">{{#str}}viewotherplans, block_lp{{/str}}</a></p>
<p>{{#str}}noactiveplans, block_lp{{/str}} <a href="{{plansurl}}">{{#str}}viewotherplans, block_lp{{/str}}</a></p>
{{/hasactiveplans}}
</div>
{{/hasplans}}
Expand All @@ -70,7 +70,7 @@
</div>
{{/hascompstoreview}}
{{#hasplanstoreview}}
<h3>Plans to review</h3>
<h3>{{#str}}planstoreview, block_lp{{/str}}</h3>
<div class="sub-content">
<ul>
{{#planstoreview}}
Expand Down

0 comments on commit c2cd126

Please sign in to comment.