Skip to content

Commit c042bdf

Browse files
committed
Merge tag '2.1.1'
Hotfix release 2.1.1 - Hotfix build.xml - Changed p-Tag into div-Tag - Translation update
2 parents 38f6922 + 4ecf869 commit c042bdf

File tree

3 files changed

+21
-9
lines changed

3 files changed

+21
-9
lines changed

build.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,5 @@
88
-->
99
<project name="metamodels/attribute_translatedcombinedvalues" default="build">
1010
<import file="vendor/phpcq/phpcq/phpcq.main.xml" />
11+
<target name="phpspec" />
1112
</project>
Lines changed: 18 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,37 @@
11
<?php
22
/**
3-
* Translations are managed using Transifex. To create a new translation
4-
* or to help to maintain an existing one, please register at transifex.com.
3+
* This file is part of MetaModels/attribute_translatedfile.
4+
*
5+
* (c) 2012-2020 The MetaModels team.
56
*
6-
* @link http://help.transifex.com/intro/translating.html
7-
* @link https://www.transifex.com/projects/p/metamodels/language/de/
7+
* For the full copyright and license information, please view the LICENSE
8+
* file that was distributed with this source code.
89
*
9-
* @license http://www.gnu.org/licenses/lgpl-3.0.html LGPL
10+
* This project is provided in good faith and hope to be usable by anyone.
11+
*
12+
* Translations are managed automatically using Transifex. To create a new translation
13+
* or to help to maintain an existing one, please register at transifex.com.
1014
*
11-
* last-updated: 2014-05-09T16:15:01+02:00
15+
* Last-updated: 2020-02-16T16:31:44+01:00
16+
*
17+
* @copyright 2012-2020 The MetaModels team.
18+
* @license https://github.com/MetaModels/attribute_translatedfile/blob/master/LICENSE LGPL-3.0-or-later
19+
* @link https://www.transifex.com/metamodels/public/
20+
* @link https://www.transifex.com/signup/?join_project=metamodels
1221
*/
1322

23+
1424
$GLOBALS['TL_LANG']['tl_metamodel_attribute']['file_customFiletree']['0'] = 'Passen Sie den Dateibaum an.';
1525
$GLOBALS['TL_LANG']['tl_metamodel_attribute']['file_customFiletree']['1'] = 'Erlaubt Ihnen, individuelle Optionen für den Dateibaum zu setzen.';
1626
$GLOBALS['TL_LANG']['tl_metamodel_attribute']['file_filePicker']['0'] = 'Dateipicker benutzen';
1727
$GLOBALS['TL_LANG']['tl_metamodel_attribute']['file_filePicker']['1'] = 'Falls angewählt wird der Dateipicker anstelle des Dateibaums benutzt.';
1828
$GLOBALS['TL_LANG']['tl_metamodel_attribute']['file_filesOnly']['0'] = 'Nur Dateien erlauben';
1929
$GLOBALS['TL_LANG']['tl_metamodel_attribute']['file_filesOnly']['1'] = 'Wählen Sie diese Option, um die Auswahl auf Einzeldateien zu beschränken und die Auswahl kompletter Ordner zu verhindern.';
2030
$GLOBALS['TL_LANG']['tl_metamodel_attribute']['file_multiple']['0'] = 'Mehrfachauswahl';
21-
$GLOBALS['TL_LANG']['tl_metamodel_attribute']['file_multiple']['1'] = 'Wenn aktiviert können mehrere Dateien ausgewählt werden.';
31+
$GLOBALS['TL_LANG']['tl_metamodel_attribute']['file_multiple']['1'] = 'Wenn aktiviert, können mehrere Dateien ausgewählt werden.';
2232
$GLOBALS['TL_LANG']['tl_metamodel_attribute']['file_uploadFolder']['0'] = 'Wurzelordner (Root) angeben';
2333
$GLOBALS['TL_LANG']['tl_metamodel_attribute']['file_uploadFolder']['1'] = 'Wählen Sie den Punkt im Dateibaum, von dem aus Benutzer Daten hinzufügen können.';
2434
$GLOBALS['TL_LANG']['tl_metamodel_attribute']['file_validFileTypes']['0'] = 'Gültige Dateitypen';
2535
$GLOBALS['TL_LANG']['tl_metamodel_attribute']['file_validFileTypes']['1'] = 'Bitte geben Sie eine Liste gültiger Dateitypen ein. Die Liste besteht aus kommagetrennten Werten.';
2636
$GLOBALS['TL_LANG']['tl_metamodel_attribute']['typeOptions']['translatedfile'] = 'Übersetzte Datei';
37+

src/Resources/contao/templates/mm_attr_translatedfile_alternative.html5

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php if (is_array($this->src)): ?>
22
<?php foreach($this->src as $arrFile): ?>
3-
<p class="<?= $arrFile['class'] ?><?= $this->additional_class ?>">
3+
<div class="<?= $arrFile['class'] ?><?= $this->additional_class ?>">
44
<?php if ($arrFile['isPicture'] && $this->settings->get('file_showImage')): ?>
55
<figure class="image_container<?= $arrFile['floatClass'] ?>"<?php if ($arrFile['margin']): ?> style="<?= $arrFile['margin'] ?>"<?php endif; ?>>
66
<?php endif; ?>
@@ -29,6 +29,6 @@
2929
<?php endif; ?>
3030
</figure>
3131
<?php endif; ?>
32-
</p>
32+
</div>
3333
<?php endforeach; ?>
3434
<?php endif; ?>

0 commit comments

Comments
 (0)