I am making some modifications to the admin section of 0.7.7 and started by building a phrase as follows...
Code: Select all
$_['text_confirm_delete'] = 'Are you sure you want to delete this %s?';
$_['text_product'] = 'Product';
$_['text_category'] = 'Category';
$_['text_country'] = 'Country';
I then had the thought that this kind of phrase building might only work in english and that some other languages that, for example, apply gender to nouns etc might also need different phrases for each noun. Hence in my english translation, the above would have to become instead...
Code: Select all
$_['text_confirm_delete_product'] = 'Are you sure you want to delete this Product?';
$_['text_confirm_delete_category'] = 'Are you sure you want to delete this Category';
$_['text_confirm_delete_country'] = 'Are you sure you want to delete this Country';
Thanks
Bruce