Fix size and margin placeholders

main 2.0.0-beta2
Miraty 6 months ago
parent 8fdfb1b0a0
commit fdfa947fc0
  1. 4
      index.php
  2. 1
      locales/en.php
  3. 1
      locales/fr.php
  4. 1
      locales/oc.php
  5. 1
      locales/template.php

@ -171,7 +171,7 @@ foreach($themeDimensionsIcons as $dimFav) // Set all icons dimensions
<?= $loc['help_margin'] ?>
</p>
</details>
<input type="number" id="margin" placeholder="<?= $loc['placeholder_pixels'] ?>" name="margin" required="" min="0" max="1024" value="<?= htmlspecialchars($params['margin']) ?>">
<input type="number" id="margin" placeholder="<?= DEFAULT_MARGIN ?>" name="margin" required="" min="0" max="1024" value="<?= htmlspecialchars($params['margin']) ?>">
</div>
<div class="param">
@ -181,7 +181,7 @@ foreach($themeDimensionsIcons as $dimFav) // Set all icons dimensions
<?= $loc['help_size'] ?>
</p>
</details>
<input type="number" id="size" placeholder="<?= $loc['placeholder_pixels'] ?>" name="size" required="" min="1" max="4096" value="<?= htmlspecialchars($params['size']) ?>">
<input type="number" id="size" placeholder="<?= DEFAULT_SIZE ?>" name="size" required="" min="1" max="4096" value="<?= htmlspecialchars($params['size']) ?>">
</div>
</div>

@ -11,7 +11,6 @@ $loc = array(
'label_fgColor' => "Foreground color",
'placeholder' => "Enter the text to encode in the QR code",
'placeholder_pixels' => "automatic",
'help_content' => "
<p>You can encode whatever text you want.</p>

@ -11,7 +11,6 @@ $loc = array(
'label_fgColor' => "Couleur de premier plan",
'placeholder' => "Entrez le texte à encoder dans le code QR",
'placeholder_pixels' => "automatique",
'help_content' => "
<p>Vous pouvez encoder ce que vous voulez sous forme de texte.</p>

@ -11,7 +11,6 @@ $loc = array(
'label_fgColor' => "Color del primièr plan",
'placeholder' => "Dintratz lo tèxt de codar en còdi QR",
'placeholder_pixels' => "auto",
'help_content' => "
<p>Podètz pas que codar lo tèxt que volètz.</p>

@ -11,7 +11,6 @@ $loc = array(
'label_fgColor' => "label_fgColor",
'placeholder' => "placeholder",
'placeholder_pixels' => "placeholder_pixels",
'value_default' => "value_default",

Loading…
Cancel
Save