My favorites | Sign in
Project Home Downloads Wiki Issues Source
Checkout   Browse   Changes  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
<?php
/**
* Project: EQdkp - Open Source Points System
* License: http://eqdkp.com/?p=license
* -----------------------------------------------------------------------
* File: lang_game.php
* Began: Sun Dec 16 2007
* Date: $Date$
* -----------------------------------------------------------------------
* @author $Author$
* @copyright 2002-2008 The EQdkp Project Team
* @link http://eqdkp.com/
* @package eqdkp
* @version $Rev$
*/

if ( !defined('EQDKP_INC') )
{
header('HTTP/1.0 404 Not Found');
exit;
}

// Initialize the language array if it isn't already
if (empty($lang) || !is_array($lang))
{
$lang = array();
}

// %1\$<type> prevents a possible error in strings caused
// by another language re-ordering the variables
// $s is a string, $d is an integer, $f is a float

$lang = array_merge($lang, array(
'GAME_NAME' => 'World of Warcraft',
'GAME_ID' => 'WoW',

'GAME_ARMOR' => 'Armor',
'GAME_CLASS' => 'Class',
'GAME_RACE' => 'Race',
'GAME_FACTION' => 'Faction',

'ARMOR_CLOTH' => 'Cloth',
'ARMOR_LEATHER' => 'Leather',
'ARMOR_MAIL' => 'Mail',
'ARMOR_PLATE' => 'Plate',

'CLASS_DEATH_KNIGHT'=> 'Death Knight',
'CLASS_DRUID' => 'Druid',
'CLASS_HUNTER' => 'Hunter',
'CLASS_MAGE' => 'Mage',
'CLASS_PALADIN' => 'Paladin',
'CLASS_PRIEST' => 'Priest',
'CLASS_ROGUE' => 'Rogue',
'CLASS_SHAMAN' => 'Shaman',
'CLASS_WARLOCK' => 'Warlock',
'CLASS_WARRIOR' => 'Warrior',

'FACTION_HORDE' => 'Horde',
'FACTION_ALLIANCE' => 'Alliance',

'RACE_BLOOD_ELF' => 'Blood Elf',
'RACE_DRAENEI' => 'Draenei',
'RACE_DWARF' => 'Dwarf',
'RACE_GNOME' => 'Gnome',
'RACE_HUMAN' => 'Human',
'RACE_NIGHT_ELF' => 'Night Elf',
'RACE_ORC' => 'Orc',
'RACE_TAUREN' => 'Tauren',
'RACE_TROLL' => 'Troll',
'RACE_UNDEAD' => 'Undead',

'WOW' => 'World of Warcraft',
'WORLD_OF_WARCRAFT' => 'World of Warcraft',
));

Change log

r620 by rspeicher on Feb 7, 2009   Diff
WoW: Chain -> Mail
Go to: 
Project members, sign in to write a code review

Older revisions

r516 by rspeicher on Mar 8, 2008   Diff
Updated copyright date to 2008
r503 by dazzac on Feb 22, 2008   Diff
Game Support, Languages

- Added a few more language keys.
- Added some code to automatically use
the language-specific names for game
...
r444 by dazzac on Dec 16, 2007   Diff
- Added support for instantiating the
game manager class with a Game ID.
- Re-named the language file for
games.
- Added some language strings to the
...
All revisions of this file

File info

Size: 2177 bytes, 74 lines

File properties

svn:mime-type
text/plain
svn:keywords
Date Author Id Revision HeadURL
svn:eol-style
native
Powered by Google Project Hosting