-
AuthorPosts
-
huena Friend
huena
- Join date:
- February 2011
- Posts:
- 14
- Downloads:
- 1
- Uploads:
- 0
- Thanks:
- 3
- Thanked:
- 2 times in 1 posts
March 3, 2011 at 1:48 pm #160958When I tried to translate JA Voice to my language (Japanese),
I have encountered several probrems (may be bugs), and now I solved them.
I want to report them to developers with hoping my suggestions to be reflected to the next release version.
(The following problems is found both ver. 1.4.2 and 1.4.3. )This post is on mismatches between language file (en-GB.com_javoice.ini and *.ini generated based on it ) and template (*.php).
These mismatches become reasons of incomplete translation.
They are easy to correct, but please fix them.
Otherwise, we will be compelled to fix them by hand each time you release new version!* The ‘?’ is placed illeagally.
/admin/language/en-GB.com_javoice.ini line 201:NEW VOICE NEED TO BE ACTIVATED? = New voice need to be approved?
On the other hand,
/admin/views/configs/tmpl/systems.php line 307:
[PHP]<?php echo JText::_(‘New voice need to be activated’)?>?[/PHP]As the result, my language file based on the en-GB.com_javoice.ini doesn’t show keyword, because of the ‘?’ character is placed illeagally.
I suggest you to correct the file ‘/admin/views/configs/tmpl/systems.php’ as following:
[PHP]<?php echo JText::_(‘New voice need to be activated?’)?>[/PHP]A similar problem is also found at:
/site/views/items/tmpl/item.php line 183
/site/language/en-GB.com_javoice.ini line152* Trim a white space at the end (or at the start, or both ) of keyword.
/admin/views/configs/tmpl/plugin.php line 263:
[PHP]<?php echo JText::_(‘Let users check spelling and grammar before submitting their comments. ‘)?>
[/PHP]A white space exists at the last of strings. But the white space is eliminated (or ignored).
in admin/language/en-GB.com_javoice.ini line 551:
[PHP]LET USERS CHECK SPELLING AND GRAMMAR BEFORE SUBMITTING THEIR COMMENTS.=Let users check spelling and grammar before submitting their comments.[/PHP]Similar problems are also found:
/site/views/feeds/tmpl/list.php line 21: And,
/site/views/feeds/tmpl/guide.php line 21:
[PHP]$msg = JText::_(“The “).$javconfig[’emails’]->get(‘sitename’).JText::_(” RSS feed delivers voice search results as an RSS feed. “);[/PHP]On the other hand,
/site/language/en-GB.com_javoice.ini line 230:
[PHP]
THE=The
RSS FEED DELIVERS VOICE SEARCH RESULTS AS AN RSS FEED.=Rss feed delivers voice search results as an rss feed.[/PHP]/site/views/feeds/tmpl/list.php line 22:
/site/views/feeds/tmpl/guide.php line 22:
/site/language/en-GB.com_javoice.ini line 231* Remove the “.”
/admin/controllers/configs.php line 280:
[PHP]$message = JText::_ ( “Delete data successfully.” );[/PHP]may correspond to:
/admin/language/en-GB.com_javoice.ini line 4:
[PHP]DELETE DATA SUCCESSFULLY =Data successfully deleted![/PHP]( Of course, you can Add ‘.’ to en-GB.com_javoice.ini instead, but then you should fix some *.php files. )
* This may be a mistake, isn’t it?
/admin/views/voice/tmpl/supportandlicense.php line 58:
[PHP]<a onclick=”hiddenNote(‘permission’,”,”);return false;” href=”index.php” id=”jav_help”>[<?php echo JText::_(“Close”);?>]</a>[/PHP]This part should be:
[PHP]<a onclick=”hiddenNote(‘permission’,”,”);return false;” href=”index.php” id=”jav_help”><?php echo JText::_(“”);?></a>[/PHP]* Duplicated Keywords
/site/language/en-GB.com_javoice.ini
line 60: NEW=New
line 89: NEW=New* Duplicated Keywords and Need to delete ‘!’
/site/language/en-GB.com_javoice.ini
line 75: VOTES LEFT!=votes left!
line 256: VOTES LEFT!=votes left!
Above keywords should be the followings:
line 75: VOTES LEFT=votes left!please consult to:
/site/views/items/tmpl/default.php line 292:
/site/views/items/tmpl/item.php line 179:Thank you in advance.
nghiatd Friendnghiatd
- Join date:
- October 2009
- Posts:
- 324
- Downloads:
- 0
- Uploads:
- 8
- Thanks:
- 7
- Thanked:
- 39 times in 37 posts
March 5, 2011 at 3:03 am #379731Hello,
The first thank you very much for your report.:-*
We edited javoice and will release with this error fixed in next version.in file:
/admin/views/voice/tmpl/supportandlicense.php line 58:
We don’t support translate this file. We removed all JText function in tag [] in this file.Best Regards.
-
AuthorPosts
This topic contains 3 replies, has 2 voices, and was last updated by huena 13 years, 9 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum