Commit e1157d20 authored by Penny Leach's avatar Penny Leach Committed by Nigel McNie
Browse files

i18n some strings in viewrework stuff

parent 5dd1d5bb
...@@ -830,5 +830,6 @@ $string['country.zw'] = 'Zimbabwe'; ...@@ -830,5 +830,6 @@ $string['country.zw'] = 'Zimbabwe';
// general stuff that doesn't really fit anywhere else // general stuff that doesn't really fit anywhere else
$string['system'] = 'System'; $string['system'] = 'System';
$string['preview'] = 'Preview';
?> ?>
...@@ -91,4 +91,6 @@ $string['err.removecolumn'] = 'Failed to delete column'; ...@@ -91,4 +91,6 @@ $string['err.removecolumn'] = 'Failed to delete column';
$string['confirmdeleteblockinstance'] = 'Are you sure you wish to delete this block?'; $string['confirmdeleteblockinstance'] = 'Are you sure you wish to delete this block?';
$string['addnewblockhere'] = 'Add new block here';
?> ?>
...@@ -14,6 +14,6 @@ ...@@ -14,6 +14,6 @@
</div> </div>
{if !$javascript} {if !$javascript}
<div class="add-button"> <div class="add-button">
<input type="submit" class="submit newblockhere" name="action_addblocktype_column_{$column}_order_{$order+1}" value="Add new block here"> <input type="submit" class="submit newblockhere" name="action_addblocktype_column_{$column}_order_{$order+1}" value="{str tag='addnewblockhere' section='view'}">
</div> </div>
{/if} {/if}
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
{foreach from=$blocktypes item=blocktype} {foreach from=$blocktypes item=blocktype}
<li> <li>
<div class="blocktype"> <div class="blocktype">
<img src="{$blocktype.thumbnail_path | escape}" alt="Preview"> <img src="{$blocktype.thumbnail_path | escape}" alt="{str tag='preview'}">
<h3>{$blocktype.title | escape}</h3> <h3>{$blocktype.title | escape}</h3>
<p>{$blocktype.description | escape}</p> <p>{$blocktype.description | escape}</p>
<input type="{if $javascript}hidden{else}radio{/if}" class="blocktype-radio" name="blocktype" value="{$blocktype.name | escape}"> <input type="{if $javascript}hidden{else}radio{/if}" class="blocktype-radio" name="blocktype" value="{$blocktype.name | escape}">
......
...@@ -75,6 +75,6 @@ case 'blocktype_list': ...@@ -75,6 +75,6 @@ case 'blocktype_list':
break; break;
} }
json_reply(true, 'Unknown action "' . $action . '"'); json_reply(true, get_string('noviewcontrolaction', 'error', $action));
?> ?>
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