Skip to content
Snippets Groups Projects
Commit 3eb5132b authored by Peter Thienel's avatar Peter Thienel
Browse files

some adjustments due to QA textstrings #401

parent 05da2b3b
No related branches found
No related tags found
No related merge requests found
......@@ -39,7 +39,7 @@
<label>
<? if ($topic->forum_thread_url) : ?>
<?= Icon::create('accept', Icon::ROLE_ACCEPT)->asImg(['class' => 'text-bottom']) ?>
<?= _('Forenthema vorhanden ') ?>
<?= _('Forenthema vorhanden') ?>
<? else : ?>
<input type="checkbox" name="forumthread" id="topic_forumthread" value="1">
<?= _('Forenthema anlegen') ?>
......@@ -77,13 +77,13 @@
</fieldset>
<footer data-dialog-button>
<div class="button-group">
<?= \Studip\Button::createAccept(_("Speichern")) ?>
<?= \Studip\Button::createAccept(_('Speichern')) ?>
<? if (!$topic->isNew()) : ?>
<?= \Studip\LinkButton::create(
_('Löschen'),
$controller->url_for('course/topics/delete/' . $topic->getId()),
['data-confirm' => _('Wirklich löschen?')]
['data-confirm' => _('Das Thema wirklich löschen?')]
) ?>
<? endif ?>
</div>
......
......@@ -6,8 +6,8 @@
</colgroup>
<thead>
<tr>
<th><?= _("Thema") ?></th>
<th><?= _("Termine") ?></th>
<th><?= _('Thema') ?></th>
<th><?= _('Termine') ?></th>
</tr>
</thead>
<tbody>
......@@ -43,11 +43,11 @@
<table class="default nohover">
<tbody>
<tr>
<td><strong><?= _("Beschreibung") ?></strong></td>
<td><strong><?= _('Beschreibung') ?></strong></td>
<td><?= formatReady($topic['description']) ?></td>
</tr>
<tr>
<td><strong><?= _("Materialien") ?></strong></td>
<td><strong><?= _('Materialien') ?></strong></td>
<td>
<? $material = false ?>
<ul class="clean">
......@@ -58,7 +58,7 @@
'dispatch.php/course/files/index/' . $folder->id
) ?>">
<?= $folder->getTypedFolder()->getIcon('clickable')->asImg(['class' => "text-bottom"]) ?>
<?= _("Dateiordner") ?>
<?= _('Dateiordner') ?>
</a>
</li>
<? $material = true ?>
......@@ -68,14 +68,14 @@
<li>
<a href="<?= URLHelper::getLink($link_to_thread) ?>">
<?= Icon::create('forum', 'clickable')->asImg(['class' => "text-bottom"]) ?>
<?= _("Thema im Forum") ?>
<?= _('Thema im Forum') ?>
</a>
</li>
<? $material = true ?>
<? endif ?>
</ul>
<? if (!$material) : ?>
<?= _("Keine Materialien zu dem Thema vorhanden") ?>
<?= _('Keine Materialien zu dem Thema vorhanden') ?>
<? endif ?>
</td>
</tr>
......@@ -93,12 +93,12 @@
<?= Studip\Button::create(
_('Löschen'),
'delete',
['data-confirm' => _('Wirklich löschen?')]
['data-confirm' => _('Das Thema wirklich löschen?')]
) ?>
</form>
<? if (!$cancelled_dates_locked && $topic->dates->count()) : ?>
<?= \Studip\LinkButton::create(_("Alle Termine ausfallen lassen"), URLHelper::getURL("dispatch.php/course/cancel_dates", ['issue_id' => $topic->getId()]), ['data-dialog' => '']) ?>
<?= \Studip\LinkButton::create(_('Alle Termine ausfallen lassen'), URLHelper::getURL("dispatch.php/course/cancel_dates", ['issue_id' => $topic->getId()]), ['data-dialog' => '']) ?>
<? endif ?>
<span class="button-group">
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment