[patch] space "left" is not "right"
Posted: 31 Aug 2013, 20:33
Hi there
languages have funny namesakes
english uses the same word for "what is opposite to the right" and "the amount of space that is not used yet"
You guess the answer is "left"
But in french, as well as in italian or spanish (non exhaustive list), the translation may look strange to the average user.
Here's a little patch for phocagallery 3.26 to create a new tag (this may be close for V4)
open {root of your website}/language/{your language}/{your language}.com_phocagallery.ini
find
Insert on the line before
for example, in french
save and upload file
open {root of your website}/components/com_phocagallery/views/user/tmpl/default_user.php
find
Replace with
find
Replace with
save and upload file
This have been suggested here
Hope this helps!
languages have funny namesakes
english uses the same word for "what is opposite to the right" and "the amount of space that is not used yet"
You guess the answer is "left"
But in french, as well as in italian or spanish (non exhaustive list), the translation may look strange to the average user.
Here's a little patch for phocagallery 3.26 to create a new tag (this may be close for V4)
open {root of your website}/language/{your language}/{your language}.com_phocagallery.ini
find
Code: Select all
COM_PHOCAGALLERY_SPECIAL=Code: Select all
COM_PHOCAGALLERY_SPACE_LEFT="{what is the most accurate translation to describe an amount of space that is not used yet}"Code: Select all
COM_PHOCAGALLERY_SPACE_LEFT="Disponible"open {root of your website}/components/com_phocagallery/views/user/tmpl/default_user.php
find
Code: Select all
<td><?php echo $this->tmpl['usersubcategory'] . ' ('.JText::_('COM_PHOCAGALLERY_MAX').': '.$this->tmpl['usersubcatcount'].', '.JText::_('COM_PHOCAGALLERY_LEFT').': '.$this->tmpl['usersubcategoryleft'].')'; ?></td>Code: Select all
<td><?php echo $this->tmpl['usersubcategory'] . ' ('.JText::_('COM_PHOCAGALLERY_MAX').': '.$this->tmpl['usersubcatcount'].', '.JText::_('COM_PHOCAGALLERY_SPACE_LEFT').': '.$this->tmpl['usersubcategoryleft'].')'; ?></td>Code: Select all
<td><?php echo $this->tmpl['userimagesspace']. ' ('.JText::_('COM_PHOCAGALLERY_MAX').': '.$this->tmpl['userimagesmaxspace'].', '.JText::_('COM_PHOCAGALLERY_LEFT').': '.$this->tmpl['userimagesspaceleft'].')'; ?></td>Code: Select all
<td><?php echo $this->tmpl['userimagesspace']. ' ('.JText::_('COM_PHOCAGALLERY_MAX').': '.$this->tmpl['userimagesmaxspace'].', '.JText::_('COM_PHOCAGALLERY_SPACE_LEFT').': '.$this->tmpl['userimagesspaceleft'].')'; ?></td>This have been suggested here
Hope this helps!