SimplePortal

Development => Bugs => Fixed or Bogus Bugs => Topic started by: Nathaniel on August 22, 2008, 09:26:31 PM

Title: Hard coded Language string.
Post by: Nathaniel on August 22, 2008, 09:26:31 PM
There is a hard coded language string in the Load.php edit.'Forum' is used, should really be $txt['sp-forum'].
Title: Re: Hard coded Language string.
Post by: Nathaniel on August 26, 2008, 11:37:30 PM
The alts for the images in the 'getBlockInfo()' function are all hardcoded. BUG!!!!

We need to add these language strings to the language files (Line 69, Sportal language files):
Code: [Select]
$txt['sp-blocksMoveUp'] = 'Move Up';
$txt['sp-blocksMoveDown'] = 'Move Down';
$txt['sp-blocksActivate'] = 'Activate';
$txt['sp-blocksDeactivate'] = 'Deactivate';

The other images can use these strings:
$txt['delete']
$txt['modify']

I have implemented these changes for the SMF 2 Beta version.

Edit:
Added to BugTracker.
Title: Re: Hard coded Language string.
Post by: Runic on September 08, 2008, 03:39:36 AM
sorry to open this but also have

SPortal.php
Code: [Select]
echo '<td>Nothing is purchased.';
Code: [Select]
echo 'There is no picture in the gallery.';
Code: [Select]
die("Could not get the newest champ");
Code: [Select]
echo 'There no game installed.';
Title: Re: Hard coded Language string.
Post by: Nathaniel on September 08, 2008, 03:47:08 AM
Confirmed and added to the bugtracker (http://simpleportal.devira.info/beta/index.php?issue=4.com43#com43).

Thank you for reporting them RunicWarrior. :)
SimplePortal 2.3.8 © 2008-2024, SimplePortal