get_strings.php doesn't collect properly strings with single quotes in some cases
- Status
- Closed
- Subject
- get_strings.php doesn't collect properly strings with single quotes in some cases
- Category
- Error
- Feature
- i18n (Multilingual, l10n, Babelfish)
- Submitted by
- Rodrigo Primo
- Lastmod by
- Rodrigo Primo
- Rating
- Description
get_strings.php doesn't collect properly strings with single quotes if they have been declared inside tr() or tra() functions with single quotes as well. For example:
tr('You are not permitted to edit someone else\'s post!');
Should go to language.php files as:
// "You are not permitted to edit someone else's post!" => "You are not permitted to edit someone else's post!"
But instead it goes as:
// "You are not permitted to edit someone else\\'s post!" => "You are not permitted to edit someone else\\'s post!"
Even the string above is translated, the translation will never be used by Tiki since the English string in language.php files differs from the original string.
- Solution
- See r36324. This commit fix the problem and correct language.php files to preserve translations.
- Priority
- 25
- Demonstrate Bug on Tiki 19+
-
This bug has been demonstrated on show2.tiki.org
Please demonstrate your bug on show2.tiki.org
Show.tiki.org is not configured properlyThe public/private keys configured to connect to show2.tiki.org were not accepted. Please make sure you are using RSA keys. Thanks.
- Demonstrate Bug (older Tiki versions)
-
This bug has been demonstrated on show.tikiwiki.org
Please demonstrate your bug on show.tikiwiki.org
Show.tiki.org is not configured properlyThe public/private keys configured to connect to show.tikiwiki.org were not accepted. Please make sure you are using RSA keys. Thanks.
- Created
- Friday 19 August, 2011 16:47:35 UTC
by Rodrigo Primo - LastModif
- Friday 19 August, 2011 16:57:46 UTC