Loading...
 
Skip to main content

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
(0)
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+
Demonstrate Bug (older Tiki versions)
Ticket ID
3881
Created
Thursday 12 May, 2011 19:40:44 UTC
by Rodrigo Primo
LastModif
Tuesday 05 July, 2011 21:02:31 UTC


Show PHP error messages