get_strings.php populate language.php file with invalid strings
- Status
- Closed
- Subject
- get_strings.php populate language.php file with invalid strings
- Category
- Error
- Feature
- i18n (Multilingual, l10n, Babelfish)
- Submitted by
- Rodrigo Primo
- Lastmod by
- Rodrigo Primo
- Rating
- Description
Probably after r15010 get_strings.php is collecting code from Smarty template as strings to be translated like the one below:
"</div>\n\t\t</div>\n\t\t\t\t{/if}\n\t\t\t{/foreach}\n\t</div>\n\t{/tab}{/if}\n\t\n\t{if \$prefs.feature_display_my_to_others eq 'y' and \$infoPublic eq \"y\"}{tab name=\"{tr}User Contribution"
The regular expression used to parse the source files in search of translatable strings needs to be fixed but it is a bit scary to change it without unit tests. It is too easy to introduce another regression bug fixing this one.- Solution
- Fixed after r35220
- 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.
- Ticket ID
- 3881
- Created
- Thursday 12 May, 2011 19:40:44 UTC
by Rodrigo Primo - LastModif
- Tuesday 05 July, 2011 21:02:31 UTC