Commit ecbe84ae authored by Nigel McNie's avatar Nigel McNie
Browse files

Translate the 'add' button I added to the authentication plugin element.

(cherry picked from commit 29dd5e39)
parent df5f482a
......@@ -322,6 +322,7 @@ $string['loginasrestorenodata'] = 'No user data to restore';
$string['loginasoverridepasswordchange'] = 'As you are masquerading as another user, you may choose to %slog in anyway%s, ignoring the password change screen.';
// Institutions
$string['Add'] = 'Add';
$string['admininstitutions'] = 'Administer Institutions';
$string['adminauthorities'] = 'Administer Authorities';
$string['addinstitution'] = 'Add Institution';
......
......@@ -201,6 +201,6 @@ section name=mysec loop=$instancelist
<option value="{{$authtypes[mysec2]->name|escape}}"{{if !$authtypes[mysec2]->is_usable}} disabled="disabled"{{/if}}>{{$authtypes[mysec2]->title|escape}} - {{$authtypes[mysec2]->description|escape}}</option>
{{/section}}
</select>
<button type="button" onclick="addinstance(); return false;" name="button" value="foo">Add</button>
<button type="button" onclick="addinstance(); return false;" name="button" value="foo">{{str tag=Add section=admin}}</button>
<input type="hidden" id="instancePriority" name="instancePriority" value="{{ $instancestring }}" />
<input type="hidden" id="deleteList" name="deleteList" value="" />
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