http://www.icyphoenix.com/viewtopic.php?f=32&t=7521&p=55377#p55377
-----------------------------------
Tree of Life
Sun 11 Mar, 2012 01:08

Re: [SOLVED]   Number Of Message Display In Chrome & Safari For Black Pearl Problem
-----------------------------------
[quote user="Joshua203" post="50949"]Hi again Lilly  ( i asume  :wink:  ),

I completely overlooked the fact that to view that you need to be registered and logged in  :lol:  :lol: 

anyway i did some searching and experimenting on my own board (where it did not look as bad as in you pic) and you could try something, however i did not test this fully in all browsers but i gave it a quicky


in the language files common.php find :
[code linenumbers=false]
	'NO_NEW_PM'			=> '<strong>0</strong> New Private',[/code]
replace with:
[code linenumbers=false]    'NO_NEW_PM'            => '0 New Private',[/code]


and find:
[code linenumbers=false]	'NEW_PM'			=> '<strong>%d</strong> New Private',
	'NEW_PMS'			=> '</strong>%d</strong> New Private',[/code]
and replace with:
[code linenumbers=false]	'NEW_PM'			=> '%d New Private',
	'NEW_PMS'			=> '%d New Private',[/code]

then fully test it and let me know cause i'm curious too  :mrorange: 

GoodLuck,
..Joshua203[/quote]



Thanks Joshua203,

My results are as follows:

1. Reviewing some of my uploaded 48 languages I found that at least several of those language files have the same problem.

2. Searching for the string "'<strong>0</strong> " I found 95 hits in 48 languages, all in their respective common.php files. Not quite half of them pertaining to "'NO_NEW_PM'                    => '<strong>0</strong>" and not quite half of them pertaining to "'NO_UNREAD_PM'                => '<strong>0</strong> "...   In addition the same strings were found 4 more times in the eu language folder, and 3 more times in the fr and he language folders, and a total of 8 times in the vi language folder.

3. I replaced all 95 instances of  "'<strong>0</strong> " with  "'0 " 

4. Similarly I found and replaced 192 items of "'<strong>%d</strong>" with "'%d". This replacement included not only the respective common.php files, but also a few odd install.php files, a few mcp.php files, and a few viewtopic.php files.

5. A total of 52 files were affected by the above edits. They were all uploaded to their respective folders...

6. The above procedure seems to be successful so far as I can tell after double checking a handful of languages...

7. Thanks for your help and assistance in getting the above bug taken care of...

8. Just curious though, and seeing that the above thread is well over a year old while Black Pearl is listed as last updated on Jan 21, 2012, Why is it that these fixes have not been included in that last update as posted at http://www.phpbb.com/customise/db/style/black_pearl/  ???    :oops: 


Shalom


