[Tiki-devel] Translation for tiki site close page (tiki-error_simple.php)

Bsfez Tiki via TikiWiki-devel <[email protected]>
Newsgroups gmane.comp.cms.tiki.devel
Message-ID <[email protected]>
Hello,

Finding out that a few strings are not translated at tiki-error_simple.php used when the Tiki site is closed we work it out adding:
require_once('tiki-setup.php');

And a few tra(' ')

However part of the page is in an external HTML file: themes/base_files/other/site_closed.html and it doesn't allow to translate the single string that is there "Retry".

if (file_exists('themes/base_files/other/site_closed_local.html')) {
   $html = file_get_contents('themes/base_files/other/site_closed_local.html');
} else {
   $html = file_get_contents('themes/base_files/other/site_closed.html');
}

While I understand why it is good to have a "_local" option (I understand to customise it) I’m wondering why it was done that way.

First isn't wiser to have it in the themes folder instead of the base_files folder ?

Second I don’t understand why the default display (themes/base_files/other/site_closed.html) is in an external HTML instead of being added in the else so we can use the Tiki translation ?

Bernard

_______________________________________________
TikiWiki-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tikiwiki-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.