back to phpList.org

New string 'Contact the administrator' in 3.3.3


#1

There is a new string in index.php 3.3.3

s(‘Contact the administrator’)

shouldn’t this come from an inc file, to be translated?


#2

I could not find the string in any of the language files.


#3

If you wish to correct this issue until an update is considered, then add the following to your language ini file:

$strContactAdmin = “Contact the administrator”;

In your own language.

Then in index.php file, change line 375 from:

s(‘Contact the administrator’)

to:

$GLOBALS[‘strContactAdmin’]

Have added issue to Mantis.


#4

Thanks! I’ll make my local change.


#5

I’ve since been told by @samtuke that

It appears that the string is in fact translatable (the s() function is equivalent to using $GLOBALS[’’]). But the string is not listed on Pootle (translate.phplst.org). It may be that the automatic translation process isn’t working.

This is being investigated.


#6

Yeah, I just reported this bug and a second to the “translation” faculty. Then I immediatedly wanted to use your correction with copy and paste - and it didn’t work. Only until I realized that your apostrophs around the string variable had been translated on my German keyboard to grave accents… Oh, these languages. But now everything is fine. Thanks!


#7

By the way, german.inc on Github has been updated now with the string.


#8

Thanks for updating it @blu-IT


#9

@veltsu Can this thread be marked solved?


#10

Yes, sorry.
One more question related to translations. Is Github the proper place to update finnish.inc? I’ve asked you this before. The translation system po file has 10247 strings to be translated. The finnish.inc with most of strings translated can be found in Github


#11

@veltsu Sorry for the slow reply. Is the the language properly accessible to you at http://translate.phplist.org/? That is generally the easiest way to translate, but if you prefer to edit the whole text file then you can download and then upload the files via Pootle (at the link above) as well.


#12

Yes, I can access the Finnish language file at translate.phplist.org, but no strings are translated. The inc file, included in the installation, however, is mostly translated. I’ve explained this before.