Skip to content

Commit

Permalink
translate event more text
Browse files Browse the repository at this point in the history
  • Loading branch information
seibtph authored and [email protected] committed Jul 14, 2020
1 parent ba93c44 commit 940db10
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/Module/OddThemeSetup.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

class OddThemeSetup extends \BackendModule
{
const VERSION = '1.4.1';
const VERSION = '1.4.2';

protected $strTemplate = 'be_oddtheme_setup';

Expand Down
4 changes: 3 additions & 1 deletion src/Resources/contao/languages/de/default.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,6 @@
$GLOBALS['TL_LANG']['tl_article']['th_tags']['ODD02/05'] = 'Fußzeile / 05';

$GLOBALS['TL_LANG']['MOD']['oddTheme'][0] = "pdir themes";
$GLOBALS['TL_LANG']['MOD']['oddThemeSetup'][0] = "ODD Theme Setup";
$GLOBALS['TL_LANG']['MOD']['oddThemeSetup'][0] = "ODD Theme Setup";

$GLOBALS['TL_LANG']['odd']['event_more_link'] = "Event-Details ansehen";
4 changes: 3 additions & 1 deletion src/Resources/contao/languages/en/default.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,6 @@
$GLOBALS['TL_LANG']['tl_article']['th_tags']['ODD02/03'] = 'Footer / 05';

$GLOBALS['TL_LANG']['MOD']['oddTheme'][0] = "pdir themes";
$GLOBALS['TL_LANG']['MOD']['oddThemeSetup'][0] = "ODD Theme Setup";
$GLOBALS['TL_LANG']['MOD']['oddThemeSetup'][0] = "ODD Theme Setup";

$GLOBALS['TL_LANG']['odd']['event_more_link'] = "Show event details";
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
</div>

<?php if ($this->hasDetails): ?>
<p class="more"><a href="<?= $this->href ?>" title="<?= $this->readMore ?>"<?= $this->target ?> itemprop="url">Event-Details ansehen <span class="invisible"> <?= $this->link ?></span></a></p>
<p class="more"><a href="<?= $this->href ?>" title="<?= $this->readMore ?>"<?= $this->target ?> itemprop="url"><?= $GLOBALS['TL_LANG']['odd']['event_more_link'] ?> <span class="invisible"> <?= $this->link ?></span></a></p>
<?php endif; ?>
</div>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
</div>

<?php if ($this->hasDetails): ?>
<p class="more"><a href="<?= $this->href ?>" title="<?= $this->readMore ?>"<?= $this->target ?> itemprop="url">Event-Details ansehen <span class="invisible"> <?= $this->link ?></span></a></p>
<p class="more"><a href="<?= $this->href ?>" title="<?= $this->readMore ?>"<?= $this->target ?> itemprop="url"><?= $GLOBALS['TL_LANG']['odd']['event_more_link'] ?> <span class="invisible"> <?= $this->link ?></span></a></p>
<?php endif; ?>
</div>

Expand Down

0 comments on commit 940db10

Please sign in to comment.