<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -31,11 +31,11 @@ local notDEable = {
 	[&quot;29378&quot;] = true,
 }
 
-local GS = Panda.GS
+local GS, L = Panda.GS, Panda.locale
 local function IsBound(bag, slot)
 	tip:SetBagItem(bag, slot)
 	for i=1,30 do
-		if tip.L[i] == &quot;Soulbound&quot; then return true end
+		if tip.L[i] == L.Soulbound then return true end
 	end
 end
 
@@ -45,7 +45,7 @@ function Panda:DEable(link)
 	if id and notDEable[id] then return end
 
 	local _, _, qual, itemLevel, _, itemType = GetItemInfo(link)
-	if (itemType == &quot;Armor&quot; or itemType == &quot;Weapon&quot;) and qual &gt; 1 and qual &lt; 5 then return true end
+	if (itemType == ARMOR or itemType == L.Weapon) and qual &gt; 1 and qual &lt; 5 then return true end
 end
 
 
@@ -108,7 +108,7 @@ end
 
 
 local frame = CreateFrame(&quot;Frame&quot;, nil, UIParent)
-Panda.panel:RegisterFrame(&quot;Disenchanting&quot;, frame)
+Panda.panel:RegisterFrame(L.Disenchanting, frame)
 frame:Hide()
 
 frame:SetScript(&quot;OnShow&quot;, function(self)
@@ -157,7 +157,7 @@ frame:SetScript(&quot;OnShow&quot;, function(self)
 						l.icon:SetTexture(texture)
 						l.name:SetText(link)
 						l.type:SetText(itemType)
-						l.bind:SetText(bound and &quot;Soulbound&quot; or &quot;Bind on Equip&quot;)
+						l.bind:SetText(bound and ITEM_SOULBOUND or ITEM_BIND_ON_EQUIP)
 						l:Show()
 
 						if l == tipinframe then ShowItemDetails(tipinframe) end</diff>
      <filename>Disenchanting.lua</filename>
    </modified>
    <modified>
      <diff>@@ -1,10 +1,13 @@
 &#65279;
+local L = Panda.locale
+
+
 local SPELLID = 7411
 local AVELLUM1, AVELLUM2, AVELLUM3 = 38682, 37602, 43145
 local WVELLUM1, WVELLUM2, WVELLUM3 = 29249, 39350, 43146
 local NAME = GetSpellInfo(SPELLID)
 local function MakeMacro(id, name, isweapon)
-	local chantname = name:match(&quot;Scroll of (.+)$&quot;)
+	local chantname = name:match(L[&quot;Scroll of (.+)$&quot;])
 	return &quot;/run if IsShiftKeyDown() then ChatEdit_InsertLink('&quot;..select(2, GetItemInfo(id))..&quot;') end\n&quot;..
 		&quot;/stopmacro [mod:shift]\n/run CloseTradeSkill()\n/cast &quot;..NAME..&quot;\n&quot;..
 		&quot;/run for i=1,GetNumTradeSkills() do if GetTradeSkillInfo(i) == '&quot;..chantname..&quot;' then TradeSkillFrame_SetSelection(i); DoTradeSkill(i) end end CloseTradeSkill()\n&quot;..
@@ -12,7 +15,7 @@ local function MakeMacro(id, name, isweapon)
 end
 
 
-Panda.PanelFactory(&quot;Enchant Bracer&quot;, SPELLID,
+Panda.PanelFactory(L[&quot;Enchant Bracer&quot;], SPELLID,
 [[38768 38811 38842 38899   0   38984   0   38898 38987
   38771 38793 38812 38849 38855 38902
   38778 38797 38817 38846 38854 38897   0   38938 38971 44815
@@ -25,7 +28,7 @@ Panda.PanelFactory(&quot;Enchant Bracer&quot;, SPELLID,
 end)
 
 
-Panda.PanelFactory(&quot;Enchant Cloak&quot;, SPELLID,
+Panda.PanelFactory(L[&quot;Enchant Cloak&quot;], SPELLID,
 [[38789 38835 38940 38959 44457   0     0     0     0     0     0     0     0   38770 38826 38858 38915
   38775 38790 38806 38825 38859 38914 39001   0     0     0     0     0     0   38784 38815 38891 38969
     0     0     0     0     0     0     0     0     0     0     0     0     0     0   38795 38942 38977
@@ -38,7 +41,7 @@ Panda.PanelFactory(&quot;Enchant Cloak&quot;, SPELLID,
 end)
 
 
-Panda.PanelFactory(&quot;Enchant Shield&quot;, SPELLID,
+Panda.PanelFactory(L[&quot;Enchant Shield&quot;], SPELLID,
 [[38787 38805 38828 38861 38945 38983   0   38949
   38791   0   38904   0   38820 38906   0   38954
   38792 38816 38839 38860   0   38905 44455
@@ -49,7 +52,7 @@ Panda.PanelFactory(&quot;Enchant Shield&quot;, SPELLID,
 end)
 
 
-Panda.PanelFactory(&quot;Enchant Weapon&quot;, SPELLID,
+Panda.PanelFactory(L[&quot;Enchant Weapon&quot;], SPELLID,
 [[38779 38813   0   38814   0   38840
   38780 38794 38821 38848 38870 38917 38957   0     0     0     0     0   38772 38796 38822 38845 38869
   38880 38947 38947 38995   0   38879 38920   0     0     0     0     0     0   38896 38922   0   38919</diff>
      <filename>Enchanting.lua</filename>
    </modified>
    <modified>
      <diff>@@ -1,6 +1,8 @@
 &#65279;
+local L = Panda.locale
 
-Panda.PanelFactory(&quot;Gem Cutting (BC Unc/Rare)&quot;, 25229,
+
+Panda.PanelFactory(L[&quot;Gem Cutting (BC Unc/Rare)&quot;], 25229,
 [[23077 23094 23095 23097 23096 28595   0   35945   0   24027 24028 24029 24030 24031 24032 24036 23436
   21929 23098 23099 23100 23101 31866 31869   0     0   24058 24059 24060 24061 31867 31868 35316 23439
   23112 23113 23114 23115 23116 28290 31860   0   24047 24048 24050 24051 24052 24053 31861 35315 23440
@@ -9,7 +11,7 @@ Panda.PanelFactory(&quot;Gem Cutting (BC Unc/Rare)&quot;, 25229,
   23107 23108 23109 23110 23111 31862 31864 32833 32836 24054 24055 24056 24057 31863 31865 35707 23441]])
 
 
-Panda.PanelFactory(&quot;Gem Cutting (BC Epic/Meta)&quot;, 25229,
+Panda.PanelFactory(L[&quot;Gem Cutting (BC Epic/Meta)&quot;], 25229,
 [[32227 32193 32194 32195 32196 32197 32198 32199
   32231 32217 32218 32219 32220 32221 32222 35760
   32229 32204 32205 32206 32207 32208 32209 32210 35761
@@ -18,7 +20,7 @@ Panda.PanelFactory(&quot;Gem Cutting (BC Epic/Meta)&quot;, 25229,
   32230 32211 32212 32213 32214 32215 32216   0     0   25890 25893 25894 25895 32410 34220 35503 25868]])
 
 
-Panda.PanelFactory(&quot;Gem Cutting (Wrath Unc)&quot;, 25229,
+Panda.PanelFactory(L[&quot;Gem Cutting (Wrath Unc)&quot;], 25229,
 [[36917 39900 39905 39906 39907 39908 39909 39910 39911   0     0   39962 39963 39964 39965 39966 39967
   36929 39946 39947 39948 39949 39950 39951 39952 39953 39954 39955 39956 39957 39958 39959 39960 39961
   36920 39912 39914 39915 39916 39917 39918
@@ -27,7 +29,7 @@ Panda.PanelFactory(&quot;Gem Cutting (Wrath Unc)&quot;, 25229,
   36926 39933 39934 39935 39936 39937 39938 39939 39940 39941 39942 39943 39944 39945]])
 
 
-Panda.PanelFactory(&quot;Gem Cutting (Wrath Rare)&quot;, 25229,
+Panda.PanelFactory(L[&quot;Gem Cutting (Wrath Rare)&quot;], 25229,
 [[36918 39996 39997 39998 39999 40000 40001 40002 40003   0     0   40054 40055 40056 40057 40058 40059
   36930 40037 40038 40039 40040 40041 40043 40044 40045 40046 40047 40048 40049 40050 40051 40052 40053
   36921 40012 40016 40017 40014 40013 40015
@@ -35,6 +37,7 @@ Panda.PanelFactory(&quot;Gem Cutting (Wrath Rare)&quot;, 25229,
   36924 40008 40009 40010 40011   0     0     0     0     0     0     0     0     0   40104 40105 40106
   36927 40022 40023 40024 40025 40026 40027 40028 40029 40030 40031 40032 40033 40034]])
 
-Panda.PanelFactory(&quot;Gem Cutting (Wrath Meta)&quot;, 25229,
+
+Panda.PanelFactory(L[&quot;Gem Cutting (Wrath Meta)&quot;], 25229,
 [[41334 41380 41381 41382 41385 41389 41395 41396 41397 41398 41401
   41266 41285 41307 41333 41335 41339 41375 41376 41377 41378 41379 41400]])</diff>
      <filename>GemCutting.lua</filename>
    </modified>
    <modified>
      <diff>@@ -1,4 +1,7 @@
 &#65279;
+local L = Panda.locale
+
+
 local name = GetSpellInfo(45357)
 local twoinks = [[42906 42462 43418 41537 42410 42962 42400 41092 42458 41532 43417 41532 43417 42737 42908 40923 42964 42402 41108 42465 41536 43427 40909 42897 42746 41104 42415 41547 42970 42960
 43424 42473 41547 42970 43424 43473 41098 42904 42744 41535 42973 42470 42749 42471 43551 41542 42736 41094 42955 43827 43554 42453 40896 42906 42406 43549 42453 40896 42906 42406]]
@@ -17,7 +20,7 @@ local function glyphcolorer(id, frame)
 end
 
 
-Panda.PanelFactory(&quot;Glyphs&quot;, 45357,
+Panda.PanelFactory(GLYPHS, 45357,
 [[39334 39774 43413 41096 42741 42956 41531 42408 42455 42907 40913 40922
     0     0   43418 41095 42743 42960 41537 42410 42462 42912 40897
   39338 43116 43423 41106 42734 42961 41530 42398 42461 42898 40924
@@ -44,14 +47,14 @@ Panda.PanelFactory(&quot;Glyphs&quot;, 45357,
 	frame:SetAttribute(&quot;type&quot;, &quot;macro&quot;)
 	if frame.id == 44680 then
 		frame:SetAttribute(&quot;macrotext&quot;, &quot;/run CloseTradeSkill()\n/cast &quot;..name..&quot;\n&quot;..
-			&quot;/run for i=1,GetNumTradeSkills() do if GetTradeSkillInfo(i) == 'Northrend Inscription Research' then DoTradeSkill(i) end end CloseTradeSkill()&quot;)
+			&quot;/run for i=1,GetNumTradeSkills() do if GetTradeSkillInfo(i) == '&quot;..L[&quot;Northrend Inscription Research&quot;]..&quot;' then DoTradeSkill(i) end end CloseTradeSkill()&quot;)
 	else
 		frame:SetAttribute(&quot;macrotext&quot;, Panda.CraftMacro(name, frame.id))
 	end
 end)
 
 
-Panda.PanelFactory(&quot;Minor Glyphs (by ink)&quot;, 45357,
+Panda.PanelFactory(L[&quot;Minor Glyphs (by ink)&quot;], 45357,
 [[39334 39774 43395 43396 43366 43390 43339 43364 43379 43342 43354 43338 43335   0     0   44680
     0     0   43399 43397 43367 43340 43359 43361 43343 43371 43350 43356 43332
   39338 43116 43398 43377 43365 43357 43725 43373 43389 43316
@@ -62,14 +65,14 @@ Panda.PanelFactory(&quot;Minor Glyphs (by ink)&quot;, 45357,
 	frame:SetAttribute(&quot;type&quot;, &quot;macro&quot;)
 	if frame.id == 44680 then
 		frame:SetAttribute(&quot;macrotext&quot;, &quot;/run CloseTradeSkill()\n/cast &quot;..name..&quot;\n&quot;..
-			&quot;/run for i=1,GetNumTradeSkills() do if GetTradeSkillInfo(i) == 'Minor Inscription Research' then DoTradeSkill(i) end end CloseTradeSkill()&quot;)
+			&quot;/run for i=1,GetNumTradeSkills() do if GetTradeSkillInfo(i) == '&quot;..L[&quot;Minor Inscription Research&quot;]..&quot;' then DoTradeSkill(i) end end CloseTradeSkill()&quot;)
 	else
 		frame:SetAttribute(&quot;macrotext&quot;, Panda.CraftMacro(name, frame.id))
 	end
 end)
 
 
-Panda.PanelFactory(&quot;Minor Glyphs (by class)&quot;, 45357,
+Panda.PanelFactory(L[&quot;Minor Glyphs (by class)&quot;], 45357,
 [[43395 43366 43339 43379 43725 43342 43390 43354 43335 43671
   43399 43367 43359 43343 43344 43371 43389 43350 43332 43539
   43396 43340 43364 43377 43386 43373 43391 43338 43316 43672
@@ -79,7 +82,7 @@ Panda.PanelFactory(&quot;Minor Glyphs (by class)&quot;, 45357,
 ]], glyphcolorer)
 
 
-Panda.PanelFactory(&quot;Scrolls&quot;, 45357,
+Panda.PanelFactory(L[&quot;Scrolls&quot;], 45357,
 [[39151 37101  3012   955  1180  1181   954
   39151 39469   0     0     0     0     0   37118 38682
   39334 39774  1477  2290  1711  1712  2289   0     0   39349</diff>
      <filename>Glyphs.lua</filename>
    </modified>
    <modified>
      <diff>@@ -1,4 +1,32 @@
 &#65279;
+----------------------------
+--      Localization      --
+----------------------------
+
+Local locale = GetLocale()
+local L = setmetatable(locale == &quot;deDE&quot; and {
+	Disenchanting = &quot;Entzaubern&quot;,
+	Scrolls = &quot;Rollen&quot;,
+	Weapon = &quot;Waffe&quot;,
+	[&quot;Elixirs (BC)&quot;] = &quot;Elixire (BC)&quot;,
+	[&quot;Elixirs (Wrath)&quot;] = &quot;Elixire (WotLK)&quot;,
+	[&quot;Enchant Bracer&quot;] = &quot;Armschiene verzaubern&quot;,
+	[&quot;Enchant Cloak&quot;] = &quot;Umhang verzaubern&quot;,
+	[&quot;Enchant Shield&quot;] = &quot;Schild verzaubern&quot;,
+	[&quot;Enchant Weapon&quot;] = &quot;Waffe verzaubern&quot;,
+	[&quot;Gem Cutting (BC Epic/Meta)&quot;] = &quot;Sockel (BC Epic/Meta)&quot;,
+	[&quot;Gem Cutting (BC Unc/Rare)&quot;] = &quot;Sockel (BC Selten/Rar)&quot;,
+	[&quot;Gem Cutting (Wrath Meta)&quot;] = &quot;Sockel (WotLK Meta)&quot;,
+	[&quot;Gem Cutting (Wrath Rare)&quot;] = &quot;Sockel (WotLK Rar)&quot;,
+	[&quot;Gem Cutting (Wrath Unc)&quot;] = &quot;Sockel (WotLK Selten)&quot;,
+	[&quot;Minor Glyphs (by class)&quot;] = &quot;Geringe Glyphen (-&gt; Klasse)&quot;,
+	[&quot;Minor Glyphs (by ink)&quot;] = &quot;Geringe Glyphen (-&gt; Tinte)&quot;,
+	[&quot;Minor Inscription Research&quot;] = &quot;Schwache Inschriftenforschung&quot;,
+	[&quot;Northrend Inscription Research&quot;] = &quot;Inschriftenforschung von Nordend&quot;,
+	[&quot;Scroll of (.+)$&quot;] = &quot;Rolle der (.+)$&quot;,
+} or {}, {__index=function(t,i) return i end})
+
+
 -------------------------------
 --      Addon Namespace      --
 -------------------------------
@@ -8,7 +36,7 @@
 
 
 local panel = LibStub(&quot;tekPanel-Auction&quot;).new(&quot;PandaPanel&quot;, &quot;Panda&quot;, true)
-Panda = {panel = panel}
+Panda = {panel = panel, locale = L}
 
 UIErrorsFrame:SetFrameStrata(&quot;FULLSCREEN&quot;)
 </diff>
      <filename>Panda.lua</filename>
    </modified>
    <modified>
      <diff>@@ -1,5 +1,8 @@
 &#65279;
-Panda.PanelFactory(&quot;Elixirs (BC)&quot;, 2259,
+local L = Panda.locale
+
+
+Panda.PanelFactory(L[&quot;Elixirs (BC)&quot;], 2259,
 [[22830 18256 22789 22787 22787   0     0   22823 18256 22785 22787
   28102 18256 22785 13465   0     0     0   32062 18256 22785 22787 22787
   28103 18256 22785 13463   0     0     0   32067 18256 22785 22789
@@ -14,7 +17,7 @@ Panda.PanelFactory(&quot;Elixirs (BC)&quot;, 2259,
 ]])
 
 
-Panda.PanelFactory(&quot;Elixirs (Wrath)&quot;, 2259,
+Panda.PanelFactory(L[&quot;Elixirs (Wrath)&quot;], 2259,
 [[40068 18256 36901 37921 37921   0     0   40072 18256 36907 36907 36907
   40076 18256 40195 40195 40195   0     0   40078 18256 36901 36901 36901 36901
   40073 18256 36904 36904   0     0     0   44332 18256 36907 37921 37921
@@ -29,7 +32,7 @@ Panda.PanelFactory(&quot;Elixirs (Wrath)&quot;, 2259,
 ]])
 
 
-Panda.PanelFactory(&quot;Flasks&quot;, 2259,
+Panda.PanelFactory(L[&quot;Flasks&quot;], 2259,
 [[40079 40411 36901 37921   0    0  33208 18256 22794 22791 22786  0  13513 8925 13468 13465 13467
   40083 40411 36908 37704 36905  0  22851 18256 22794 22793 22790  0  13510 8925 13468 13423  8846
   40404 40411 36908 40195 36906  0  22853 18256 22794 22793 22786  0  13511 8925 13468 13467 13463</diff>
      <filename>Pot.lua</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>00a4e6ba187e364d8a4a3125b491c0f5181f4160</id>
    </parent>
  </parents>
  <author>
    <name>Tekkub</name>
    <email>tekkub@gmail.com</email>
  </author>
  <url>http://github.com/tekkub/panda/commit/ec627a87a4d3bda91300d30e5d8b4e4e50591916</url>
  <id>ec627a87a4d3bda91300d30e5d8b4e4e50591916</id>
  <committed-date>2009-01-13T16:58:14-08:00</committed-date>
  <authored-date>2009-01-13T16:58:14-08:00</authored-date>
  <message>deDE locale</message>
  <tree>a067720a9ec949bff88c84e121f1d8724f8097fe</tree>
  <committer>
    <name>Tekkub</name>
    <email>tekkub@gmail.com</email>
  </committer>
</commit>
