Skip to content

Commit

Permalink
add translation, refs #1
Browse files Browse the repository at this point in the history
  • Loading branch information
mlunzena committed May 13, 2021
1 parent aea080d commit 7b933c0
Show file tree
Hide file tree
Showing 5 changed files with 241 additions and 282 deletions.
16 changes: 0 additions & 16 deletions controllers/pads.php
Original file line number Diff line number Diff line change
Expand Up @@ -179,22 +179,6 @@ public function iframe_action($padid)
);
}

if (!$pad['hasPassword']) {
$actions->addLink(
dgettext('studipad', 'Passwort festlegen'),
$this->url_for('pads/add_password', $padid, ['page'=>1]),
Icon::create('key+add'),
['data-dialog' => '']
);
} else {
$actions->addLink(
dgettext('studipad', 'Passwort löschen'),
$this->url_for('pads/remove_password', $padid, ['page'=>1]),
Icon::create('key+remove'),
['data-confirm' => dgettext('studipad', 'Wollen Sie das Passwort wirklich löschen?')]
);
}

if (!$pad['public']) {
$actions->addLink(
dgettext('studipad', 'Veröffentlichen'),
Expand Down
Binary file modified locale/en/LC_MESSAGES/studipad.mo
Binary file not shown.
Loading

0 comments on commit 7b933c0

Please sign in to comment.