Tuan,
For some reason, my custom language strings aren't being picked up by jText. Here is the code I added to the default.php file for the event screen so that an input field will be displayed for Min Registrants in Group (I also added the min_group_number field to the ev_events table):
Code:
<tr>
<td class="key">
<span class="editlinktip hasTip" title="<?php echo JText::_( 'EB_MIN_NUMBER_REGISTRANTS' );?>::<?php echo JText::_('EB_MIN_NUMBER_REGISTRANTS_EXPLAIN'); ?>"><?php echo JText::_('EB_MIN_NUMBER_REGISTRANT_GROUP'); ?></span>
</td>
<td>
<input type="text" name="min_group_number" id="min_group_number" class="inputbox" size="10" value="<?php echo $this->item->min_group_number; ?>" />
</td>
</tr>
And here are the strings that were added using the Add button on the Translation tab of the EB dashboard:
EB_MIN_NUMBER_REGISTRANT_GROUP="Min Number of Registrants for Group Registration"
EB_MIN_NUMBER_REGISTRANTS_EXPLAIN="Set minimum registrants for group registration. Leave it empty for unlimited"
EB_MIN_NUMBER_REGISTRANTS="Min Number of Registrants for Group"
For some reason, those jText calls aren't working and only the string variable name is being displayed. So the label for my input is "EB_MIN_NUMBER_REGISTRANT_GROUP."
What did I miss?