Commit 2e6af580 authored by Sascha Pfeiffer's avatar Sascha Pfeiffer

some more translations

Signed-off-by: default avatarSascha Pfeiffer <sascha.pfeiffer@psono.com>
parent 48c7b5eb
{
"KNOWN_GROUPS": "Bekannte Gruppen",
"SEARCH_USER": "Benutzer suchen",
"SHARE": "Share",
"GROUP_ADMIN": "Gruppen Admin",
"SHARE_ADMIN": "Share Admin",
"MEMBER": "Mitglied",
"NEW_GROUP": "Neue Gruppe",
"EDIT_GROUP": "Gruppe Bearbeiten",
"SHARE_RIGHTS": "Share Rechte",
"SHARE_RIGHTS_OF": "Share Rechte von",
"USER": "Benutzer",
"USERS": "Benutzer",
"GROUP_NAME": "Gruppen Name",
"GROUP_NAME_REQUIRED": "Der Gruppen Name ist erforderlich",
"READ": "Lesen",
"WRITE": "Schreiben",
"GRANT": "Gewähren",
"ACCEPTED": "Akzeptiert",
"DECRYPTING_SECRET": "Secret entschlüsseln ...",
"SET_NEW_PASSWORD": "Neues passwort speichern",
"SECOND_FACTOR_REQUIRED": "Zweiter Faktor erforderlich",
......
{
"KNOWN_GROUPS": "Known Groups",
"SEARCH_USER": "Search User",
"SHARE": "Share",
"GROUP_ADMIN": "Group Admin",
"SHARE_ADMIN": "Share Admin",
"MEMBER": "Member",
"NEW_GROUP": "New Group",
"EDIT_GROUP": "Edit Group",
"SHARE_RIGHTS": "Share Rights",
"SHARE_RIGHTS_OF": "Share Rights of",
"USER": "User",
"USERS": "Users",
"GROUP_NAME": "Group Name",
"GROUP_NAME_REQUIRED": "The group's name is required",
"READ": "Read",
"WRITE": "Write",
"GRANT": "Grant",
"ACCEPTED": "Accepted",
"DECRYPTING_SECRET": "Decrypting Secret ...",
"SET_NEW_PASSWORD": "Set new password",
"SECOND_FACTOR_REQUIRED": "Second factor required",
......
<form name="displayShareRightsForm" novalidate>
<div class="modal-header">
<button type="button" class="close" ng-click="cancel()"><span aria-hidden="true">&times;</span></button>
<h3 class="modal-title">Share Rights of {{node.name}}</h3>
<h3 class="modal-title">{{'SHARE_RIGHTS_OF' | translate}} {{node.name}}</h3>
</div>
<div class="modal-body">
<uib-tabset>
<uib-tab heading="Users">
<uib-tab heading="{{'USERS' | translate}}">
<table datatable="ng" class="row-border hover" dt-options="dtOptions" dt-column-defs="dtColumnDefs">
<thead>
<tr>
<th>Username</th>
<th>Read</th>
<th>Write</th>
<th>Grant</th>
<th>Accepted</th>
<th>{{'USERNAME' | translate}}</th>
<th>{{'READ' | translate}}</th>
<th>{{'WRITE' | translate}}</th>
<th>{{'GRANT' | translate}}</th>
<th>{{'ACCEPTED' | translate}}</th>
<th>&nbsp;</th>
</tr>
</thead>
......@@ -58,16 +58,16 @@
</table>
</uib-tab>
<uib-tab heading="Groups">
<uib-tab heading="{{'GROUPS' | translate}}">
<table datatable="ng" class="row-border hover" dt-options="dtOptions" dt-column-defs="dtColumnDefs">
<thead>
<tr>
<th>Group Name</th>
<th>Read</th>
<th>Write</th>
<th>Grant</th>
<th>Accepted</th>
<th>{{'GROUP_NAME' | translate}}</th>
<th>{{'READ' | translate}}</th>
<th>{{'WRITE' | translate}}</th>
<th>{{'GRANT' | translate}}</th>
<th>{{'ACCEPTED' | translate}}</th>
<th>&nbsp;</th>
</tr>
</thead>
......
<form name="editGroupForm" novalidate>
<div class="modal-header">
<button type="button" class="close" ng-click="cancel()"><span aria-hidden="true">&times;</span></button>
<h3 class="modal-title">Edit Group</h3>
<h3 class="modal-title">{{'EDIT_GROUP' | translate}}</h3>
</div>
<div class="modal-body">
<div class="form-group" ng-class="{true: 'has-error'}[submitted && editGroupForm.name.$invalid]">
<input type="text" name="name" class="form-control" id="groupName" placeholder="Group Name" ng-model="group_name" required>
<p class="help-block" ng-show="submitted && editGroupForm.name.$error.required">The group's name is required</p>
<p class="help-block" ng-show="submitted && editGroupForm.name.$error.required">{{'GROUP_NAME_REQUIRED' | translate}}</p>
</div>
<hr>
<uib-tabset>
<uib-tab heading="Users">
<uib-tab heading="{{'USERS' | translate}}">
<div ng-if="users">
<table datatable="ng" class="row-border hover" dt-options="dtOptions" dt-column-defs="dtColumnDefs">
<thead>
<tr>
<th>Name</th>
<th>Member</th>
<th>Group Admin</th>
<th>Share Admin</th>
<th>Accepted</th>
<th>{{'NAME' | translate}}</th>
<th>{{'MEMBER' | translate}}</th>
<th>{{'GROUP_ADMIN' | translate}}</th>
<th>{{'SHARE_ADMIN' | translate}}</th>
<th>{{'ACCEPTED' | translate}}</th>
</tr>
</thead>
<tbody>
......@@ -55,18 +55,18 @@
</div>
<div class="row">
<button type="button" ng-click="add_user()" class="btn btn-link"><i class="fa fa-user-plus"></i> Search User</button>
<button type="button" ng-click="add_user()" class="btn btn-link"><i class="fa fa-user-plus"></i> {{'SEARCH_USER' | translate}}</button>
</div>
</uib-tab>
<uib-tab heading="Share Rights">
<uib-tab heading="{{'SHARE_RIGHTS' | translate}}">
<div ng-if="shares">
<table datatable="ng" class="row-border hover" dt-options="dtOptions" dt-column-defs="dtColumnDefs">
<thead>
<tr>
<th>Share</th>
<th>Read</th>
<th>Write</th>
<th>Grant</th>
<th>{{'SHARE' | translate}}</th>
<th>{{'READ' | translate}}</th>
<th>{{'WRITE' | translate}}</th>
<th>{{'GRANT' | translate}}</th>
<th>&nbsp;</th>
</tr>
</thead>
......
<form name="newGroupForm" novalidate>
<div class="modal-header">
<button type="button" class="close" ng-click="cancel()"><span aria-hidden="true">&times;</span></button>
<h3 class="modal-title">New Group</h3>
<h3 class="modal-title">{{'NEW_GROUP' | translate}}</h3>
</div>
<div class="modal-body">
<div class="form-group" ng-class="{true: 'has-error'}[submitted && newGroupForm.name.$invalid]">
<input type="text" name="name" class="form-control" id="groupName" placeholder="Group Name" ng-model="name" required autofocus>
<p class="help-block" ng-show="submitted && newGroupForm.name.$error.required">The group's name is required</p>
<input type="text" name="name" class="form-control" id="groupName" placeholder="{{'GROUP_NAME' | translate}}" ng-model="name" required autofocus>
<p class="help-block" ng-show="submitted && newGroupForm.name.$error.required">{{'GROUP_NAME_REQUIRED' | translate}}</p>
</div>
<div class="form-group alert alert-danger" ng-repeat="e in errors">
......@@ -14,6 +14,6 @@
</div>
</div>
<div class="modal-footer">
<button class="btn btn-primary" type="submit" ng-click="submitted=true;save()">OK</button>
<button class="btn btn-primary" type="submit" ng-click="submitted=true;save()">{{'OK' | translate}}</button>
</div>
</form>
\ No newline at end of file
......@@ -15,7 +15,7 @@
<div class="row" style="font-weight: bold">
<div class="col-xs-4 col-sm-4" ng-repeat="right in rights">
{{ right.name }}
{{ right.name | translate }}
<button type="button" class="btn btn-default btn-sm" ng-click="toggle_select(right.id, 'right')" >
<i ng-class="selected_rights.indexOf(right.id) > -1 ? 'fa fa-check-square-o' : 'fa fa-square-o'"></i>
</button>
......@@ -25,13 +25,13 @@
<hr>
<uib-tabset>
<uib-tab heading="Trusted Users">
<uib-tab heading="{{'TRUSTED_USERS' | translate}}">
<div ng-if="users">
<table datatable="ng" class="row-border hover" dt-options="dtOptions" dt-column-defs="dtColumnDefs">
<thead>
<tr>
<th>User</th>
<th>{{'USER' | translate}}</th>
<th>&nbsp;</th>
</tr>
</thead>
......@@ -49,17 +49,17 @@
</div>
<div class="row">
<button type="button" ng-click="add_user()" class="btn btn-link"><i class="fa fa-user-plus"></i> Search User</button>
<button type="button" ng-click="add_user()" class="btn btn-link"><i class="fa fa-user-plus"></i> {{'SEARCH_USER' | translate}}</button>
</div>
</uib-tab>
<uib-tab heading="Known Groups">
<uib-tab heading="{{'KNOWN_GROUPS' | translate}}">
<div ng-if="groups">
<table datatable="ng" class="row-border hover" dt-options="dtOptions" dt-column-defs="dtColumnDefs">
<thead>
<tr>
<th>Group</th>
<th>{{'GROUP' | translate}}</th>
<th>&nbsp;</th>
</tr>
</thead>
......@@ -77,7 +77,7 @@
</div>
<div class="row">
<button type="button" ng-click="create_group()" class="btn btn-link"><i class="fa fa-user-plus"></i> Create Group</button>
<button type="button" ng-click="create_group()" class="btn btn-link"><i class="fa fa-user-plus"></i> {{'CREATE_GROUP' | translate}}</button>
</div>
</uib-tab>
......@@ -93,6 +93,6 @@
</div>
<div class="modal-footer">
<button class="btn btn-primary" type="button" ng-click="submitted=true; save();">OK</button>
<button class="btn btn-primary" type="button" ng-click="submitted=true; save();">{{'OK' | translate}}</button>
</div>
</form>
\ No newline at end of file
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