[Translation] Traditional Chinese Translation for 2.0.1

Phoca Guestbook - creating guestbooks in Joomla! CMS
abokuo
Phoca Member
Phoca Member
Posts: 26
Joined: 28 May 2010, 12:17

[Translation] Traditional Chinese Translation for 2.0.1

Post by abokuo »

Hello, i am glad to share Traditional Chinese translation for Phoca Guestbook v2.0.1, hope you can like it.
File location: http://www.mediafire.com/?76ih7a5g788htto

By the way, i found word-break problem while show message in Traditional Chinese, it may also at other 2-byte language like Korean, Japanese and Simplified Chinese.
I solve it by add html tag nobr at file (root)/components/com_phocaguestbook/views/guestbook/tmpl/default.php
line 241: Subject

Code: Select all

.'<td width="5"><strong>'.JText::_('COM_PHOCAGUESTBOOK_SUBJECT').PhocaguestbookHelperFront::getRequiredSign((int)$this->tmpl['display_title_form']).' </strong></td>'
change to

Code: Select all

.'<td width="5"><strong><nobr>'.JText::_('COM_PHOCAGUESTBOOK_SUBJECT').PhocaguestbookHelperFront::getRequiredSign((int)$this->tmpl['display_title_form']).' </nobr></strong></td>'
line 249: Name

Code: Select all

.'<td><strong>'.JText::_('COM_PHOCAGUESTBOOK_NAME').PhocaguestbookHelperFront::getRequiredSign((int)$this->tmpl['display_name_form']).' </strong></td>'
change to

Code: Select all

.'<td><strong><nobr>'.JText::_('COM_PHOCAGUESTBOOK_NAME').PhocaguestbookHelperFront::getRequiredSign((int)$this->tmpl['display_name_form']).' </nobr></strong></td>'
line 257: Email

Code: Select all

.'<td><strong>'.JText::_('COM_PHOCAGUESTBOOK_EMAIL').PhocaguestbookHelperFront::getRequiredSign((int)$this->tmpl['display_email_form']).' </strong></td>'
change to

Code: Select all

.'<td><strong><nobr>'.JText::_('COM_PHOCAGUESTBOOK_EMAIL').PhocaguestbookHelperFront::getRequiredSign((int)$this->tmpl['display_email_form']).' </nobr></strong></td>'
line 265: Website

Code: Select all

.'<td><strong>'.JText::_('COM_PHOCAGUESTBOOK_WEBSITE').PhocaguestbookHelperFront::getRequiredSign((int)$this->tmpl['display_website_form']).' </strong></td>'
change to

Code: Select all

.'<td><strong><nobr>'.JText::_('COM_PHOCAGUESTBOOK_WEBSITE').PhocaguestbookHelperFront::getRequiredSign((int)$this->tmpl['display_website_form']).' </nobr></strong></td>'
line 273: Content

Code: Select all

.'<td><strong>'.JText::_('COM_PHOCAGUESTBOOK_CONTENT').PhocaguestbookHelperFront::getRequiredSign((int)$this->tmpl['display_content_form']).' </strong></td>'
change to

Code: Select all

.'<td><strong><nobr>'.JText::_('COM_PHOCAGUESTBOOK_CONTENT').PhocaguestbookHelperFront::getRequiredSign((int)$this->tmpl['display_content_form']).' </nobr>s</strong></td>'
line 288: Image Verification

Code: Select all

.'<td width="5"><strong>'. JText::_('COM_PHOCAGUESTBOOK_IMG_VERIFICATION').PhocaguestbookHelperFront::getRequiredSign(2).' </strong></td>';
change to

Code: Select all

.'<td width="5"><strong><nobr>'. JText::_('COM_PHOCAGUESTBOOK_IMG_VERIFICATION').PhocaguestbookHelperFront::getRequiredSign(2).' </nobr></strong></td>';
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48739
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: [Translation] Traditional Chinese Translation for 2.0.1

Post by Jan »

Hi, thank you for your translation and thank you for the guide.

Jan
If you find Phoca extensions useful, please support the project
Post Reply