Skip to content

Commit

Permalink
[97] Small fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Shadez committed Feb 28, 2010
1 parent 20b5130 commit 9186bf3
Show file tree
Hide file tree
Showing 7 changed files with 22 additions and 10 deletions.
5 changes: 4 additions & 1 deletion character-achievements.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
/**
* @package World of Warcraft Armory
* @version Release Candidate 1
* @revision 65
* @revision 97
* @copyright (c) 2009-2010 Shadez
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
*
Expand Down Expand Up @@ -39,6 +39,9 @@
elseif(isset($_GET['cn'])) {
$charname = $_GET['cn'];
}
else {
$charname = false;
}
$characters->name = Utils::escape($charname);
// Check
if(!$characters->IsCharacter()) {
Expand Down
5 changes: 4 additions & 1 deletion character-reputation.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
/**
* @package World of Warcraft Armory
* @version Release Candidate 1
* @revision 65
* @revision 97
* @copyright (c) 2009-2010 Shadez
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
*
Expand Down Expand Up @@ -39,6 +39,9 @@
elseif(isset($_GET['cn'])) {
$charname = $_GET['cn'];
}
else {
$charname = false;
}
$characters->name = Utils::escape($charname);
// Check
if(!$characters->IsCharacter()) {
Expand Down
5 changes: 4 additions & 1 deletion character-sheet.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
/**
* @package World of Warcraft Armory
* @version Release Candidate 1
* @revision 95
* @revision 97
* @copyright (c) 2009-2010 Shadez
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
*
Expand Down Expand Up @@ -41,6 +41,9 @@
elseif(isset($_GET['cn'])) {
$charname = $_GET['cn'];
}
else {
$charname = false;
}
$characters->name = Utils::escape($charname);
// Check
if(!$characters->IsCharacter()) {
Expand Down
5 changes: 4 additions & 1 deletion character-talents.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
/**
* @package World of Warcraft Armory
* @version Release Candidate 1
* @revision 65
* @revision 97
* @copyright (c) 2009-2010 Shadez
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
*
Expand Down Expand Up @@ -39,6 +39,9 @@
elseif(isset($_GET['cn'])) {
$charname = $_GET['cn'];
}
else {
$charname = false;
}
$characters->name = Utils::escape($charname);
// Check
if(!$characters->IsCharacter()) {
Expand Down
4 changes: 2 additions & 2 deletions includes/classes/class.items.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
/**
* @package World of Warcraft Armory
* @version Release Candidate 1
* @revision 95
* @revision 97
* @copyright (c) 2009-2010 Shadez
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
*
Expand Down Expand Up @@ -488,7 +488,7 @@ public function BuildLootTable($item, $vendor, $data=false) {
if(!empty($CraftLoot)) {
$i=0;
foreach($CraftLoot as $craftItem) {
$lootTable[$i]['name'] = $craftItem['SpellName_'.$locale];
$lootTable[$i]['name'] = $craftItem['SpellName_'.$this->_locale];
for($o=1;$o<9;$o++) {
if($craftItem['Reagent_'.$o] > 0) {
$lootTable[$i]['entry_reagent_'.$o] = $craftItem['Reagent_'.$o];
Expand Down
4 changes: 2 additions & 2 deletions includes/locales/en_gb.conf
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# Author: Shadez
# Locale: English (en_GB)
# Package: World of Warcraft Armory
# File revision: 94
# File revision: 97
# Status: Release Candidate 1

# global strings
Expand Down Expand Up @@ -97,7 +97,7 @@ equip_slot_19 = Tabard
equip_slot_20 = Chest
equip_slot_21 = Right hand
equip_slot_22 = Left hand
equip_slot_23 = Gun
equip_slot_23 = Held In Off Hand
equip_slot_24 = Колчан
equip_slot_25 = Relic

Expand Down
4 changes: 2 additions & 2 deletions includes/locales/ru_ru.conf
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# Author: Shadez
# Locale: Russian (ru_RU)
# Package: World of Warcraft Armory
# File revision: 94
# File revision: 97
# Status: Release Candidate 1

# global strings
Expand Down Expand Up @@ -97,7 +97,7 @@ equip_slot_19 = Накидка
equip_slot_20 = Грудь
equip_slot_21 = Правая рука
equip_slot_22 = Левая рука
equip_slot_23 = Огнестрельное
equip_slot_23 = Держится в левой руке
equip_slot_24 = Колчан
equip_slot_25 = Реликвия

Expand Down

0 comments on commit 9186bf3

Please sign in to comment.