Changeset 1465 for irpg


Ignore:
Timestamp:
Jan 13, 2006 4:58:04 PM (13 years ago)
Author:
skalpette
Message:

i18n

File:
1 edited

Legend:

Unmodified
Added
Removed
  • irpg/trunk/htdocs/playerview.php

    r1462 r1465  
    7373            $uniquecolor="#be9256";
    7474            if ($key == "helm" && substr($val,-1,1) == "a") {
    75                 $val = intval($val)." [<font color=\"$uniquecolor\">Mattt's Omniscience Grand Crown</font>]";
     75                $val = intval($val)." [<font color=\"$uniquecolor\">".htmlentities(ucfirst(gettext("Mattt's Omniscience Grand Crown")))."</font>]";
    7676            }
    7777            if ($key == "tunic" && substr($val,-1,1) == "b") {
    78                 $val = intval($val)." [<font color=\"$uniquecolor\">Res0's Protectorate Plate Mail</font>]";
     78                $val = intval($val)." [<font color=\"$uniquecolor\">".htmlentities(ucfirst(gettext(Res0's Protectorate Plate Mail")))."</font>]";
    7979            }
    8080            if ($key == "amulet" && substr($val,-1,1) == "c") {
    81                 $val = intval($val)." [<font color=\"$uniquecolor\">Dwyn's Storm Magic Amulet</font>]";
     81                $val = intval($val)." [<font color=\"$uniquecolor\">".htmlentities(ucfirst(gettext(Dwyn's Storm Magic Amulet")))."</font>]";
    8282            }
    8383            if ($key == "weapon" && substr($val,-1,1) == "d") {
    84                 $val = intval($val)." [<font color=\"$uniquecolor\">Jotun's Fury Colossal Sword</font>]";
     84                $val = intval($val)." [<font color=\"$uniquecolor\">".htmlentities(ucfirst(gettext(Jotun's Fury Colossal Sword")))."</font>]";
    8585            }
    8686            if ($key == "weapon" && substr($val,-1,1) == "e") {
    87                 $val = intval($val)." [<font color=\"$uniquecolor\">Drdink's Cane of Blind Rage</font>]";
     87                $val = intval($val)." [<font color=\"$uniquecolor\">".htmlentities(ucfirst(gettext(Drdink's Cane of Blind Rage")))."</font>]";
    8888            }
    8989            if ($key == "boots" && substr($val,-1,1) == "f") {
    90                 $val = intval($val)." [<font color=\"$uniquecolor\">Mrquick's Magical Boots of Swiftness</font>]";
     90                $val = intval($val)." [<font color=\"$uniquecolor\">".htmlentities(ucfirst(gettext(Mrquick's Magical Boots of Swiftness")))."</font>]";
    9191            }
    9292            if ($key == "weapon" && substr($val,-1,1) == "g") {
    93                 $val = intval($val)." [<font color=\"$uniquecolor\">Jeff's Cluehammer of Doom</font>]";
     93                $val = intval($val)." [<font color=\"$uniquecolor\">".htmlentities(ucfirst(gettext(Jeff's Cluehammer of Doom")))."</font>]";
    9494            }
    9595            if ($key == "ring" && substr($val,-1,1) == "h") {
    96                 $val = intval($val)." [<font color=\"$uniquecolor\">Juliet's Glorious Ring of Sparkliness</font>]";
     96                $val = intval($val)." [<font color=\"$uniquecolor\">".htmlentities(ucfirst(gettext(Juliet's Glorious Ring of Sparkliness")))."</font>]";
    9797            }
    9898            echo "      ".htmlentities(ucfirst(gettext($key)))." : $val<br />\n";
Note: See TracChangeset for help on using the changeset viewer.