Skocz do zawartości

Witamy na polskim forum Contao
Zarejestruj się teraz, aby skorzystać ze wszystkich funkcji forum. Kiedy się zalogujesz, będziesz mógł tworzyć tematy, pisać posty, rozdawać punkty reputacji, korzystać z prywatnych wiadomości i zarządzać swoim profilem. Jeśli posiadasz już konto, zaloguj się - w przeciwnym wypadku zarejestruj się już teraz!
Zdjęcie

Tłumaczenia rozszerzeń

tłumaczenia moduły rozszerzenia dodatkowe

  • Zaloguj się, aby dodać odpowiedź
Brak odpowiedzi do tego tematu

#1
h2o

h2o

    Doświadczony

  • Zarejestrowani
  • PipPipPip
  • 99 postów

cześć!

Jak dodać własne tłumaczenie do rozszerzeń? Zainstalowałem https://packagist.or...y/checked-emailChciałem dodać coś po polsku ale nie ma gdzie... W dodanej templatce raczej nic nie ma...

 

<?php $this->extend('form_row_double'); ?>

<?php $this->block('label'); ?>
  <?php if ($this->label): ?>
    <label for="ctrl_<?= $this->id ?>"<?php if ($this->class): ?> class="<?= $this->class ?>"<?php endif; ?>>
      <?php if ($this->mandatory): ?>
        <span class="invisible"><?= $this->mandatoryField ?> </span><?= $this->label ?><span class="mandatory">*</span>
      <?php else: ?>
        <?= $this->label ?>
      <?php endif; ?>
    </label>
  <?php endif; ?>
<?php $this->endblock(); ?>

<?php $this->block('field'); ?>
  <?php if ($this->hasErrors()): ?>
    <p class="error"><?= $this->getErrorAsString() ?></p>
  <?php endif; ?>

  <input type="email" name="<?= $this->name ?>" id="ctrl_<?= $this->id ?>" class="text<?php if ($this->class) echo ' ' . $this->class; ?>" value=""<?= $this->getAttributes() ?>>

  <?php if ($this->addSubmit): ?>
    <input type="submit" id="ctrl_<?= $this->id ?>_submit" class="submit" value="<?= $this->slabel ?>">
  <?php endif; ?>
<?php $this->endblock(); ?>

<?php $this->block('label2'); ?>
  <?php if ($this->confirmLabel): ?>
    <label for="ctrl_<?= $this->id ?>_confirm" class="confirm<?php if ($this->class) echo ' ' . $this->class; ?>">
      <?php if ($this->mandatory): ?>
        <span class="invisible"><?= $this->mandatoryField ?> </span><?= $this->confirmLabel ?><span class="mandatory">*</span>
      <?php else: ?>
        <?= $this->confirmLabel ?>
      <?php endif; ?>
    </label>
  <?php endif; ?>
<?php $this->endblock(); ?>

<?php $this->block('field2'); ?>
  <input type="email" name="<?= $this->name ?>_confirm" id="ctrl_<?= $this->id ?>_confirm" class="text<?php if ($this->class) echo ' ' . $this->class; ?>" value=""<?= $this->getAttributes() ?>>
<?php $this->endblock(); ?>


  • 0





Również z jednym lub większą ilością słów kluczowych: tłumaczenia, moduły, rozszerzenia, dodatkowe

Użytkownicy przeglądający ten temat: 0

0 użytkowników, 0 gości, 0 anonimowych użytkowników