Profiler - draft

basic stuff is working with examplary static data
need to sit down and collect mods from talents and class-spells
<bla bla>                         from profession perks
loadOnDemandData not implemented as the structure needs more research

some visual bugs

remember to generate your realm-file. i used these example realms
[
    ["us","US & Oceanic",null,[["pure-pwnage","Pure Pwnage",null,[["trinity","Trinity"]]]]],
    ["eu","Europe",null,[["pure-pwnage","Pure Pwnage",null,[["dafuque","da'Fuqú]]]
]
This commit is contained in:
Sarjuuk
2014-03-14 16:32:15 +01:00
parent 63895e838b
commit c865a3a9a4
42 changed files with 13685 additions and 129 deletions

View File

@@ -3776,14 +3776,156 @@ var LANG = {
message_nosigbookmarks: "You have not bookmarked any characters. Please add some to continue.",
message_bookmarkforsig: "Please bookmark this character before creating a signature.",
pr_dialog_level: "Level:",
confirm_linkcharacter: "This character will be added to your list of characters.\n\nDo you want to continue?",
confirm_linkedcharacter: "This character has been added to your list.\n\nDo you want to be taken there?",
confirm_unlinkcharacter: "Are you sure that you want to remove the selected characters from your list?",
confirm_deleteprofile: "Are you sure that you want to delete the selected profiles?",
confirm_deleteprofile2: "Are you sure that you want to delete this profile?",
confirm_privateprofile: "Are you sure that you want to make the selected profiles private?",
confirm_publicprofile: "Are you sure that you want to make the selected profiles public?",
confirm_purgedata: "Are you sure you wish to purge your $1?",
confirm_newprofile: "Create a new profile?\n\nYou will be redirected upon saving the profile.",
confirm_resetexclusions: "This will reset your exclusion settings to the default. Are you sure you want to proceed?",
confirm_pincharacter: "This character will be pinned as your default character throughout the site.\n\nDo you want to continue?",
confirm_unpincharacter: "You will no longer have a pinned character.\n\nDo you want to continue?",
confirm_deletesigimages: "Are you sure you want to delete these signature backgrounds?",
confirm_deletesignature: "Are you sure that you want to delete the selected signatures?",
loremasteryes_tip: "This quest counts towards<br />loremaster achievements",
loremasterno_tip: "This quest does not count<br />towards loremaster achievements",
prompt_charlookup: "Please enter the name of the character you wish to view:",
prompt_nameprofile: "Please provide a name for this profile.\n(i.e. Resistance Gear, PvP Set, Wishlist, etc.)\n\nYou will be redirected upon saving the profile.",
dialog_notavail: "Not available to players",
dialog_tcg: "Obtained via TCG loot redemption",
dialog_collector: "Reward from a Collector's Edition",
dialog_promo: "Obtained from a promotion",
dialog_nonus: "Not available on US servers",
dialog_faction: "Favored by opposite faction",
dialog_profession: "Requires another profession",
dialog_exclude: "Excluding entries lets you remove things you can't or don't plan on completing. Individual inclusions/exclusions will override the quick categories below.<br /><br />Your exclusion settings are shared between all characters.",
dialog_noexalted: "Impossible to reach exalted",
dialog_manageexclusions: "Manage Personal Exclusions",
dialog_resetexclusions: "Reset all exclusions",
tab_arenateams: "Arena teams",
tab_character: "Character",
tab_characters: "Characters",
tab_guilds: "Guilds",
tab_reputation: "Reputation",
lvnote_clicksubcatg: "Click on a subcategory below to filter the other tabs.",
button_save: "Save",
button_saveas: "Save as",
button_bookmark: "Bookmark",
button_pin: "Pin",
button_unpin: "Unpin",
button_claimchar: "Claim character",
button_resync: "Resync",
button_signature: "Signature",
button_customprofile: "Custom profile",
button_armorychar: "Manage character",
pr_clienttab: "$1<br /><span class=\"q1\">If this is your character, you can track your<br />$2 using the Wowhead Client!</span><br /><span class=\"q2\">Click to learn more</span>",
pr_lookup: "Lookup: ",
pr_noneitem: "None",
pr_nonegem: "None",
pr_noneenchant: "None",
pr_nonepet: "None",
pr_specifyitem: "Please enter an item name to search for.",
pr_searching: 'Searching for items named "$1"...',
pr_noresults: 'No results found for "$1"!',
pr_region: "(Region)",
pr_realm: "(Realm)",
pr_selectregion: "Select a region",
pr_vendorsin: "Vendors in ",
pr_yes: "Yes",
pr_dungeons: "Dungeons",
pr_tt_items: "Items",
pr_tt_enchants: "Enchants",
pr_tt_gems: "Gems",
pr_tt_normal: "$1 (10-player)",
pr_tt_heroic: "$1 (25-player)",
pr_tt_earned: "$1 has earned $2 of $3 achievements ($4%).",
pr_tt_earned2: "$1 has killed all bosses in this instance.",
pr_tt_progress: "Progress",
pr_tt_obtained: "Total number obtained: $1",
pr_tt_nodata: "This statistic is not currently available in-game<br />and cannot be tracked by Wowhead.",
pr_tt_enchreq: "Enchantment Requires Level $1",
pr_tt_new: '<b class="q">New</b><br />Create a new custom profile from scratch.',
pr_tt_saveas: '<b class="q">Save as</b><br />Save the current character as a custom<br />profile tied to your Wowhead account.',
pr_tt_resync: '<b class="q">Resync</b><br />Resync the character with the latest<br />version available on the Armory.',
pr_tt_claim: '<b class="q">Claim character</b><br />Add this character to your list of characters.',
pr_tt_include: '<b class="q">Include</b><br />Move selected entries out of your exclusion list.',
pr_tt_exclude: '<b class="q">Exclude</b><br />Move selected entries to your exclusion list.<br />This can be useful to hide things you don\'t<br />consider important to reach 100% completion.',
pr_tt_noqexcl: '<div class="pad"><span class="q10">Note:</span> Quick exclusions aren\'t currently available for this tab.',
pr_tt_excldone: "Complete but excluded",
pr_tt_questtip: "Repeatable quests and quests that don't<br />appear in your quest log aren't tracked.",
pr_tip_rclkopt: "Tip: Right-click slots for more options.",
pr_tip_sclkopt: "Tip: Shift-click items for more options.",
pr_tip_rclkopt2: "Tip: Right-click items, gems and enchants for more options.",
pr_tip_sclkopt2: "Tip: Shift-click items, gems and enchants for more options.",
pr_tip_quests: "Note: <span class=\"tip\">Certain</span> quests aren't tracked by Blizzard's API.",
pr_header_noname: "Noname",
pr_header_character: 'Level $1 <a href="?race=$4">$2</a> <a href="?class=$5" class="c$5">$3</a>',
pr_header_edit: "Edit",
pr_header_armory: "Armory",
pr_header_help: "Help",
pr_header_print: "Print",
pr_dialog_chardetails: "Character Details",
pr_dialog_name: "Name: ",
pr_dialog_level: "Level: ",
pr_dialog_class: "Class: ",
pr_dialog_race: "Race: ",
pr_dialog_gender: "Gender: ",
pr_dialog_icon: "Icon: ",
pr_dialog_iconeg: "e.g. INV_Axe_54",
pr_dialog_description: "Description: ",
pr_dialog_public: "Visibility: ",
pr_qf_quickfacts: "Quick Facts",
pr_qf_progress: "Progress",
pr_qf_toc: "Table of Contents",
pr_qf_owner: "Owner: ",
pr_qf_character: "Character: ",
pr_qf_profiles: "Profiles: ",
pr_qf_playedtime: "Played time: ",
pr_qf_itemlevel: "Item Level: ",
pr_qf_gearscore: "Gear score: ",
pr_qf_talents: "Talents: ",
pr_qf_achievements: "Achievements: ",
pr_qf_xvxteam: "$1v$1 team: ",
pr_qf_updated: "Updated ",
pr_qf_resynced: "Resynced ",
pr_qf_notsaved: "Profile has not been saved!",
pr_qf_gearmeter: "Gear",
pr_qf_raidactivity1: "All Raid Activity",
pr_qf_raidactivity2: "Recent Raid Activity",
pr_qf_activitytip1: "Click to display recent raid activity",
pr_qf_activitytip2: "Click to display all raid activity",
pr_qf_activitypct1: "$1% of all activity",
pr_qf_activitypct2: "$1% of recent activity",
pr_qf_raidcomplete: "$1% complete",
pr_qf_gear0: "Trivial",
pr_qf_gear1: "Easy",
pr_qf_gear2: "Ideal",
pr_qf_gear3: "Challenging",
pr_qf_gear4: "Difficult",
pr_qf_gear5: "Futile",
menu_charlookup: "Lookup by name...",
menu_newprofile: "New Custom Profile",
menu_chooseclassspec: "Choose Your Class/Spec",
pr_selectregion: "Select a region",
pr_menu_equip: "Equip...",
pr_menu_replace: "Replace...",
pr_menu_add: "Add...",
@@ -3803,9 +3945,134 @@ var LANG = {
pr_menu_upgrades: "Find Upgrades",
pr_menu_whowears: "Who Wears This?",
pr_noneitem: "None",
pr_nonegem: "None",
pr_noneenchant: "None",
pr_queue_unknown: "Unknown",
pr_queue_noprocess: "The queue is not currently running.",
pr_queue_resyncreq: "<b>An Armory resync has been requested.</b>",
pr_queue_addqueue: "Adding to the Armory queue...",
pr_queue_status1: "Position in queue: <b>$1</b> &ndash; Estimated time: <b>$2</b>",
pr_queue_status2: "Fetching data now...",
pr_queue_status3: 'Data is ready! <a href="?$2" rel="np">Reload to view</a>.',
pr_queue_status4: 'Unable to resync from the Armory: $1. Try <a href="javascript:;">resyncing</a> again.',
pr_queue_batch: "Queue: <b>$1</b> Processing: <b>$2</b> Ready: <b>$3</b> Error: <b>$4</b>",
pr_error_armory0: "Error unknown",
pr_error_armory1: "Character does not exist",
pr_error_armory2: "The Armory could not be reached",
pr_inv_title: "Gear Summary",
pr_inv_missing: "Missing: ",
pr_inv_lowlevel: "Low level: ",
pr_inv_metareq: "Meta condition: ",
pr_inv_item: "$1 item",
pr_inv_items: "$1 items",
pr_inv_gem: "$1 gem",
pr_inv_gems: "$1 gems",
pr_inv_enchant: "$1 enchant",
pr_inv_enchants: "$1 enchants",
pr_inv_socket: "$1 socket",
pr_inv_sockets: "$1 sockets",
pr_print_none: "None",
pr_print_yes: "Yes",
pr_print_no: "No",
pr_print_normal: "Normal",
pr_print_heroic: "Heroic",
pr_stats_warning: "Warning: Some statistics (particularly dodge) may not be entirely accurate.",
pr_stats_title: "Statistics",
pr_stats_base: "Base",
pr_stats_melee: "Melee",
pr_stats_ranged: "Ranged",
pr_stats_spell: "Spell",
pr_stats_defenses: "Defenses",
pr_stats_resistances: "Resistances",
pr_stats_beta: "beta",
pr_stats_agi: "Agility",
pr_stats_arcres: "Arcane resistance",
pr_stats_armor: "Armor",
pr_stats_armorpenpct: "Penetration",
pr_stats_blockpct: "Block",
pr_stats_def: "Defense",
pr_stats_dodgepct: "Dodge",
pr_stats_energy: "Energy",
pr_stats_exp: "Expertise",
pr_stats_firres: "Fire resistance",
pr_stats_frores: "Frost resistance",
pr_stats_health: "Health",
pr_stats_holres: "Holy resistance",
pr_stats_int: "Intellect",
pr_stats_mana: "Mana",
pr_stats_mleatkpwr: "Power",
pr_stats_mlecritstrkpct: "Critical",
pr_stats_mlehastepct: "Haste",
pr_stats_mlehitpct: "Hit",
pr_stats_natres: "Nature resistance",
pr_stats_oocmanargn: "Mana Regen",
pr_stats_parrypct: "Parry",
pr_stats_rage: "Rage",
pr_stats_resipct: "Resilience",
pr_stats_rgdatkpwr: "Power",
pr_stats_rgdcritstrkpct: "Critical",
pr_stats_rgdhastepct: "Haste",
pr_stats_rgdhitpct: "Hit",
pr_stats_runic: "Runic Power",
pr_stats_shares: "Shadow resistance",
pr_stats_spi: "Spirit",
pr_stats_splcritstrkpct: "Critical",
pr_stats_spldmg: "Bonus Damage",
pr_stats_splhastepct: "Haste",
pr_stats_splheal: "Bonus Healing",
pr_stats_splhitpct: "Hit",
pr_stats_splpen: "Penetration",
pr_stats_sta: "Stamina",
pr_stats_str: "Strength",
pr_statstt_arc: "Arcane",
pr_statstt_fir: "Fire",
pr_statstt_fro: "Frost",
pr_statstt_hol: "Holy",
pr_statstt_nat: "Nature",
pr_statstt_sha: "Shadow",
pr_statstt_agi: "Increases attack power by $1<br />Increases physical critical hit chance by $2%<br />Increases armor by $3",
pr_statstt_armor: "Reduces physical damage taken by $2%",
pr_statstt_armor2: "Reduces physical damage taken by $2%<br />Increases your pet's armor by $1",
pr_statstt_armorpenpct: '<span class="q2">Armor penetration rating $1 (+$2% armor penetration)</span><br />Reduces enemy armor by $3%',
pr_statstt_blockpct: '<span class="q2">Block rating $1 (+$2% block)</span><br />Increases chance to block by $4%<br />Your block stops $3 damage',
pr_statstt_def: '<span class="q2">Defense rating $1 (+$2 defense)</span><br />Increases chance to dodge, block and parry by $3%<br />Decreases chance to be hit and critically hit by $4%',
pr_statstt_dodgepct: '<span class="q2">Dodge rating $1 (+$2% dodge)</span><br />Increases chance to dodge by $3%<br /><span class="q0">(Before diminishing returns)</span>',
pr_statstt_exp: '<span class="q2">Expertise rating $1 (+$2 expertise)</span><br />Reduces chance to be dodged or parried by $3%',
pr_statstt_int: "Increases mana by $1<br />Increases spell critical hit chance by $2%",
pr_statstt_int2: "Increases mana by $1<br />Increases spell critical hit chance by $2%<br />Increases your pet's intellect by $3",
pr_statstt_mleatkpwr: "Increases damage with melee weapons by $1 per second",
pr_statstt_mlecritstrkpct: '<span class="q2">Crit rating $1 (+$2% crit chance)</span><br />Increases melee critical strike chance by $3%',
pr_statstt_mlehastepct: '<span class="q2">Haste rating $1 (+$2% haste)</span><br />Increases melee attack speed by $3%',
pr_statstt_mlehitpct: '<span class="q2">Hit rating $1 (+$2% hit chance)</span><br />Increases melee chance to hit a level $4 target by $3%',
pr_statstt_oocmanargn: "$1 mana regenerated every 5 seconds while not casting<br />$2 mana regenerated every 5 seconds while casting",
pr_statstt_parrypct: '<span class="q2">Parry rating $1 (+$2% parry)</span><br />Increases chance to parry by $3%<br /><span class="q0">(Before diminishing returns)</span>',
pr_statstt_resipct: '<span class="q2">Resilience rating $1 (+$2% resilience)</span><br />Reduces chance to be critically hit by $3%<br />Reduces the effect of mana-drains and the damage of critical strikes by $4%<br />Provides $5% additional damage reduction against all damage done by players and their pets or minions',
pr_statstt_resist: "Increases resistance to $1-based attacks, spells, and abilities.<br />Average resistance against spells cast by level $3: $1%",
pr_statstt_rgdatkpwr: "Increases damage with ranged weapons by $1 per second",
pr_statstt_rgdatkpwr2: "Increases damage with ranged weapons by $1 per second<br />Increases your pet's attack power by $2<br />Increases your pet's spell damage by $3",
pr_statstt_rgdcritstrkpct: '<span class="q2">Crit rating $1 (+$2% crit chance)</span><br />Increases ranged critical strike chance by $3%',
pr_statstt_rgdhastepct: '<span class="q2">Haste rating $1 (+$2% haste)</span><br />Increases ranged attack speed by $3%',
pr_statstt_rgdhitpct: '<span class="q2">Hit rating $1 (+$2% hit chance)</span><br />Increases ranged chance to hit a level $4 target by $3%',
pr_statstt_spi: "Increases health regeneration by $1 per 5 seconds while not in combat<br />Increases mana regeneration by $2 per 5 seconds while not casting",
pr_statstt_splcritstrkpct: '<span class="q2">Crit rating $2 (+$3% crit chance)</span><br />$1',
pr_statstt_spldmg: "$1",
pr_statstt_spldmg2: "$1<br />Increases your pet's attack power by $3<br />Increases your pet's spell damage by $4",
pr_statstt_splhastepct: '<span class="q2">Haste rating $1 (+$2% haste)</span><br />Increases spell casting speed by $3%',
pr_statstt_splheal: "Increases healing by up to $1",
pr_statstt_splhitpct: '<span class="q2">Hit rating $1 (+$2% hit chance)</span><br />Increases spell chance to hit a level $4 target by $3%',
pr_statstt_splpen: "Reduces enemy resistances by $1",
pr_statstt_sta: "Increases health by $1",
pr_statstt_sta2: "Increases health by $1<br />Increases your pet's stamina by $2",
pr_statstt_str: "Increases attack power by $1",
pr_statstt_str2: "Increases attack power by $1<br />Increases block value by $2",
pr_ach_overall: "Overall Progress",
pr_note_color: "Color: ",
pr_note_source: "Source: ",
@@ -3815,7 +4082,7 @@ var LANG = {
pr_note_family: "Family: ",
pr_note_sort: "Sort by: ",
ddaysago: "$1 days ago",
ddaysago: "$1 days ago",
pr_note_all: "All",
pr_note_bc: "BC",
@@ -3833,6 +4100,8 @@ var LANG = {
pr_note_missing: "Missing",
pr_note_normal: "Normal",
pr_note_exotic: "Exotic",
pr_note_gearscore: "Gear score",
pr_note_weighted: "Weighted",
su_note_stats: "Stats",
su_note_other: "Other",