[Tiki-devel] Long and complex string in translation files
Bsfez Tiki via TikiWiki-devel <[email protected]>
| Newsgroups | gmane.comp.cms.tiki.devel |
|---|---|
| Message-ID | <[email protected]> |
Hello,
Checking translations on a Tiki 22 I found this string:
// "File Upload Error: ' . \$_FILES['passwordlist']['error']));\n\t} else { // if file has been uploaded, and there are no errors, then index the file in the database.\n\t\t\$blackL->deletePassIndex();\n\t\t\$blackL->createPassIndex();\n\t\t\$blackL->loadPassIndex(\$_FILES['passwordlist']['tmp_name'], \$_POST['loaddata']);\n\t\tFeedback::success(tra('Uploaded file has been populated into database and indexed. Ready to generate password lists" => "File Upload Error: ' . \$_FILES['passwordlist']['error']));\n\t} else { // if file has been uploaded, and there are no errors, then index the file in the database.\n\t\t\$blackL->deletePassIndex();\n\t\t\$blackL->createPassIndex();\n\t\t\$blackL->loadPassIndex(\$_FILES['passwordlist']['tmp_name'], \$_POST['loaddata']);\n\t\tFeedback::success(tra('Uploaded file has been populated into database and indexed. Ready to generate password lists",
While PHPstorm search couldn’t find the source directly it seems it comes from:
admin/include_login.php line 84
Feedback::error(tr('File Upload Error: ' . $_FILES['passwordlist']['error']));
The tr tags is not closed properly. Is this the correct way to fix it ?
Feedback::error(tr('File Upload Error: ') . $_FILES['passwordlist']['error']);
May it is also in 21.3 (should be an update today) ?
Thanks
B
_______________________________________________
TikiWiki-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tikiwiki-devel