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 @@ ...@@ -39,7 +39,7 @@
<label> <label>
<? if ($topic->forum_thread_url) : ?> <? if ($topic->forum_thread_url) : ?>
<?= Icon::create('accept', Icon::ROLE_ACCEPT)->asImg(['class' => 'text-bottom']) ?> <?= Icon::create('accept', Icon::ROLE_ACCEPT)->asImg(['class' => 'text-bottom']) ?>
<?= _('Forenthema vorhanden ') ?> <?= _('Forenthema vorhanden') ?>
<? else : ?> <? else : ?>
<input type="checkbox" name="forumthread" id="topic_forumthread" value="1"> <input type="checkbox" name="forumthread" id="topic_forumthread" value="1">
<?= _('Forenthema anlegen') ?> <?= _('Forenthema anlegen') ?>
...@@ -77,13 +77,13 @@ ...@@ -77,13 +77,13 @@
</fieldset> </fieldset>
<footer data-dialog-button> <footer data-dialog-button>
<div class="button-group"> <div class="button-group">
<?= \Studip\Button::createAccept(_("Speichern")) ?> <?= \Studip\Button::createAccept(_('Speichern')) ?>
<? if (!$topic->isNew()) : ?> <? if (!$topic->isNew()) : ?>
<?= \Studip\LinkButton::create( <?= \Studip\LinkButton::create(
_('Löschen'), _('Löschen'),
$controller->url_for('course/topics/delete/' . $topic->getId()), $controller->url_for('course/topics/delete/' . $topic->getId()),
['data-confirm' => _('Wirklich löschen?')] ['data-confirm' => _('Das Thema wirklich löschen?')]
) ?> ) ?>
<? endif ?> <? endif ?>
</div> </div>
......
...@@ -6,8 +6,8 @@ ...@@ -6,8 +6,8 @@
</colgroup> </colgroup>
<thead> <thead>
<tr> <tr>
<th><?= _("Thema") ?></th> <th><?= _('Thema') ?></th>
<th><?= _("Termine") ?></th> <th><?= _('Termine') ?></th>
</tr> </tr>
</thead> </thead>
<tbody> <tbody>
...@@ -43,11 +43,11 @@ ...@@ -43,11 +43,11 @@
<table class="default nohover"> <table class="default nohover">
<tbody> <tbody>
<tr> <tr>
<td><strong><?= _("Beschreibung") ?></strong></td> <td><strong><?= _('Beschreibung') ?></strong></td>
<td><?= formatReady($topic['description']) ?></td> <td><?= formatReady($topic['description']) ?></td>
</tr> </tr>
<tr> <tr>
<td><strong><?= _("Materialien") ?></strong></td> <td><strong><?= _('Materialien') ?></strong></td>
<td> <td>
<? $material = false ?> <? $material = false ?>
<ul class="clean"> <ul class="clean">
...@@ -58,7 +58,7 @@ ...@@ -58,7 +58,7 @@
'dispatch.php/course/files/index/' . $folder->id 'dispatch.php/course/files/index/' . $folder->id
) ?>"> ) ?>">
<?= $folder->getTypedFolder()->getIcon('clickable')->asImg(['class' => "text-bottom"]) ?> <?= $folder->getTypedFolder()->getIcon('clickable')->asImg(['class' => "text-bottom"]) ?>
<?= _("Dateiordner") ?> <?= _('Dateiordner') ?>
</a> </a>
</li> </li>
<? $material = true ?> <? $material = true ?>
...@@ -68,14 +68,14 @@ ...@@ -68,14 +68,14 @@
<li> <li>
<a href="<?= URLHelper::getLink($link_to_thread) ?>"> <a href="<?= URLHelper::getLink($link_to_thread) ?>">
<?= Icon::create('forum', 'clickable')->asImg(['class' => "text-bottom"]) ?> <?= Icon::create('forum', 'clickable')->asImg(['class' => "text-bottom"]) ?>
<?= _("Thema im Forum") ?> <?= _('Thema im Forum') ?>
</a> </a>
</li> </li>
<? $material = true ?> <? $material = true ?>
<? endif ?> <? endif ?>
</ul> </ul>
<? if (!$material) : ?> <? if (!$material) : ?>
<?= _("Keine Materialien zu dem Thema vorhanden") ?> <?= _('Keine Materialien zu dem Thema vorhanden') ?>
<? endif ?> <? endif ?>
</td> </td>
</tr> </tr>
...@@ -93,12 +93,12 @@ ...@@ -93,12 +93,12 @@
<?= Studip\Button::create( <?= Studip\Button::create(
_('Löschen'), _('Löschen'),
'delete', 'delete',
['data-confirm' => _('Wirklich löschen?')] ['data-confirm' => _('Das Thema wirklich löschen?')]
) ?> ) ?>
</form> </form>
<? if (!$cancelled_dates_locked && $topic->dates->count()) : ?> <? 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 ?> <? endif ?>
<span class="button-group"> <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