A config option to have a placeholder in both address 1 and address 2 to setup through the interface instead of hacking the lang file which get replace every time
the custom config setting doesn't ... something like (adding placeholder_address1 and placeholder_address2 to config file)
<?php if ($params->get('show_address1')) { ?>
<li>
<input type="text" class="form-control input-sm validation keyup length-4"
placeholder="<?php
if (strlen($params->get('placeholder_address1') < 1)
echo JText::_('PLG_FIELDS_ADDRESS_ADDRESS1_PLACEHOLDER', true);
else
echo $params->get('placeholder_address1')
?>"
name="<?php echo $inputName;?>[address1]"
value="<?php echo FD::string()->escape($value->address1);?>"
data-field-address-address1
/>
</li>
<?php } ?>
<?php if ($params->get('show_address2')) { ?>
<li>
<input type="text" class="form-control input-sm validation keyup length-4"
placeholder="<?php
if (strlen($params->get('placeholder_address2') < 1)
echo JText::_('PLG_FIELDS_ADDRESS_ADDRESS2_PLACEHOLDER', true);
else
echo $params->get('placeholder_address2')
?>"name="<?php echo $inputName;?>[address2]"
value="<?php echo FD::string()->escape($value->address2);?>"
data-field-address-address2
/>
</li>