Quantcast

Fixed some localization issues

Kevin Lyles [02-19-11 - 19:03]
Fixed some localization issues
Filename
Locales/enUS/gems.lua
weights.xml
diff --git a/Locales/enUS/gems.lua b/Locales/enUS/gems.lua
index 6ae7bcd..9feef5f 100644
--- a/Locales/enUS/gems.lua
+++ b/Locales/enUS/gems.lua
@@ -10,6 +10,7 @@ ww_gemDisplayNames = {
 	["Accurate Twilight Opal"] = "Accurate Twilight Opal",
 	["Adept Ember Topaz"] = "Adept Ember Topaz",
 	["Adept Hessonite"] = "Adept Hessonite",
+	["Agile Shadowspirit Diamond"] = "Agile Shadowspirit Diamond",
 	["Artful Ember Topaz"] = "Artful Ember Topaz",
 	["Artful Hessonite"] = "Artful Hessonite",
 	["Austere Earthsiege Diamond"] = "Austere Earthsiege Diamond",
@@ -45,6 +46,7 @@ ww_gemDisplayNames = {
 	["Brilliant Stormjewel"] = "Brilliant Stormjewel",
 	["Brilliant Tourmaline"] = "Brilliant Tourmaline",
 	["Brutal Earthstorm Diamond"] = "Brutal Earthstorm Diamond",
+	["Burning Shadowspirit Diamond"] = "Burning Shadowspirit Diamond",
 	["Champion's Ametrine"] = "Champion's Ametrine",
 	["Champion's Fire Opal"] = "Champion's Fire Opal",
 	["Champion's Huge Citrine"] = "Champion's Huge Citrine",
@@ -219,6 +221,7 @@ ww_gemDisplayNames = {
 	["Mystical Skyfire Diamond"] = "Mystical Skyfire Diamond",
 	["Mystic Amberjewel"] = "Mystic Amberjewel",
 	["Mystic Autumn's Glow"] = "Mystic Autumn's Glow",
+	["Mystic Cogwheel"] = "Mystic Cogwheel",
 	["Mystic Chimera's Eye"] = "Mystic Chimera's Eye",
 	["Mystic Dawnstone"] = "Mystic Dawnstone",
 	["Mystic Dragon's Eye"] = "Mystic Dragon's Eye",
@@ -423,6 +426,7 @@ ww_gemDisplayNames = {
 	["Resplendent Monarch Topaz"] = "Resplendent Monarch Topaz",
 	["Retaliating Demonseye"] = "Retaliating Demonseye",
 	["Retaliating Nightstone"] = "Retaliating Nightstone",
+	["Reverberating Shadowspirit Diamond"] = "Reverberating Shadowspirit Diamond",
 	["Revitalizing Shadowspirit Diamond"] = "Revitalizing Shadowspirit Diamond",
 	["Revitalizing Skyflare Diamond"] = "Revitalizing Skyflare Diamond",
 	["Rigid Azure Moonstone"] = "Rigid Azure Moonstone",
@@ -575,6 +579,7 @@ ww_gemDisplayNames = {
 	["Veiled Shadowsong Amethyst"] = "Veiled Shadowsong Amethyst",
 	["Veiled Tanzanite"] = "Veiled Tanzanite",
 	["Veiled Twilight Opal"] = "Veiled Twilight Opal",
+	["Vivid Dream Emerald"] = "Vivid Dream Emerald",
 	["Void Sphere"] = "Void Sphere",
 	["Willful Ametrine"] = "Willful Ametrine",
 	["Willful Ember Topaz"] = "Willful Ember Topaz",
diff --git a/weights.xml b/weights.xml
index bc3211a..45bccfb 100644
--- a/weights.xml
+++ b/weights.xml
@@ -787,7 +787,7 @@
 		</Anchors>
 		<Layers>
 			<Layer level="ARTWORK">
-				<FontString name="$parentText" parentKey="text" inherits="GameFontHighlight" text="Please choose a class and name for your new weight:">
+				<FontString name="$parentText" parentKey="text" inherits="GameFontHighlight" text="CHOOSE_WEIGHT_NAME">
 					<Size>
 						<AbsDimension x="380" y="0"/>
 					</Size>
@@ -798,11 +798,6 @@
 							</Offset>
 						</Anchor>
 					</Anchors>
-					<Scripts>
-						<OnLoad>
-							self:SetText(ww_localization[self:GetText])
-						</OnLoad>
-					</Scripts>
 				</FontString>
 			</Layer>
 			<Layer level="BACKGROUND">
@@ -958,6 +953,9 @@
 			</Button>
 		</Frames>
 		<Scripts>
+			<OnLoad>
+				self.text:SetText(ww_localization[self.text:GetText()])
+			</OnLoad>
 			<OnShow>
 				self.editBox:SetFocus()
 			</OnShow>