diff options
3 files changed, 18 insertions, 8 deletions
diff --git a/modules-available/permissionmanager/lang/de/template-tags.json b/modules-available/permissionmanager/lang/de/template-tags.json index 93a44f27..9e7f79c1 100644 --- a/modules-available/permissionmanager/lang/de/template-tags.json +++ b/modules-available/permissionmanager/lang/de/template-tags.json @@ -11,5 +11,10 @@ "lang_Delete": "Löschen", "lang_removeCheck": "Sind Sie sich sicher, dass Sie diese Rolle entfernen wollen?", "lang_deleteCheck": "Sind Sie sich sicher, dass Sie diese Rolle löschen wollen?", - "lang_emptyNameWarning": "Der Name der Rolle darf nicht leer sein!" + "lang_emptyNameWarning": "Der Name der Rolle darf nicht leer sein!", + "lang_Name": "Name", + "lang_Cancel": "Abbrechen", + "lang_Save": "Speichern", + "lang_all": "alle", + "lang_selected": "ausgewählte" }
\ No newline at end of file diff --git a/modules-available/permissionmanager/lang/en/template-tags.json b/modules-available/permissionmanager/lang/en/template-tags.json index f8dab103..314824d4 100644 --- a/modules-available/permissionmanager/lang/en/template-tags.json +++ b/modules-available/permissionmanager/lang/en/template-tags.json @@ -11,5 +11,10 @@ "lang_Delete": "Delete", "lang_removeCheck": "Are you sure you want to remove this role?", "lang_deleteCheck": "Are you sure you want to delete this role?", - "lang_emptyNameWarning": "Role name can not be empty!" + "lang_emptyNameWarning": "Role name can not be empty!", + "lang_Name": "Name", + "lang_Cancel": "Cancel", + "lang_Save": "Save", + "lang_all": "all", + "lang_selected": "selected" }
\ No newline at end of file diff --git a/modules-available/permissionmanager/templates/roleEditor.html b/modules-available/permissionmanager/templates/roleEditor.html index 98d87b70..7f54a813 100644 --- a/modules-available/permissionmanager/templates/roleEditor.html +++ b/modules-available/permissionmanager/templates/roleEditor.html @@ -4,15 +4,15 @@ <input type="hidden" name="roleid" value="{{roleid}}"> <div class="row"> <div class="col-md-12"> - <b>Name:</b> + <b>{{lang_Name}}:</b> <input name="roleName" value="{{roleName}}" type="text" id="roleName" class="form-control"> - <button type="button" id="cancelButton" class="btn btn-default pull-right"><span class="glyphicon glyphicon-remove"></span> Cancel</button> - <button type="submit" id="saveButton" class="btn btn-primary pull-right"><span class="glyphicon glyphicon-floppy-disk"></span> Save</button> + <button type="button" id="cancelButton" class="btn btn-default pull-right"><span class="glyphicon glyphicon-remove"></span> {{lang_Cancel}}</button> + <button type="submit" id="saveButton" class="btn btn-primary pull-right"><span class="glyphicon glyphicon-floppy-disk"></span> {{lang_Save}}</button> </div> </div> <div class="row"> <div class="col-md-3"> - <b style="line-height: 34px">Locations:</b> + <b style="line-height: 34px">{{lang_Locations}}:</b> <div class="pull-right"><input name="allLocations" {{allLocChecked}} type="checkbox" id="allLocations"></div> </div> <div id="selectize-container" class="col-md-9 text-left {{selectizeClass}}"> @@ -58,8 +58,8 @@ var allLocations = $("#allLocations"); allLocations.bootstrapSwitch("size", "normal"); allLocations.bootstrapSwitch("labelWidth", 1); - allLocations.bootstrapSwitch("onText", "all"); - allLocations.bootstrapSwitch("offText", "selected"); + allLocations.bootstrapSwitch("onText", "{{lang_all}}"); + allLocations.bootstrapSwitch("offText", "{{lang_selected}}"); allLocations.bootstrapSwitch("onColor", "default"); allLocations.bootstrapSwitch("offColor", "primary"); |