replace some fixed strings

His Dad [04-16-15 - 02:47]
replace some fixed strings
Filename
HistOffline.lua
en.lua
diff --git a/HistOffline.lua b/HistOffline.lua
index 6fbe712..6066e6d 100644
--- a/HistOffline.lua
+++ b/HistOffline.lua
@@ -302,25 +302,25 @@ for _,char in ipairs(names) do
 						iup.label{title=allchar[char].Race .." / ".. allchar[char].Class, PADDING="10X0", FONT="Times,BOLD,10"},
 						iup.label{title=allchar[char].Alliance, PADDING="10X0"},
 						iup.label{title=L.Level .. ": ".. getlevel_as_text(char), PADDING="10X0"},
-						iup.label{title="Created: ".. os.date(dateformat,allchar[char].Recorded), PADDING="10X0"},
-						iup.label{title="Last Login: ".. os.date(dateformat,allchar[char].LoginTime), PADDING="10X0"},
-						iup.label{title="Time Played: ".. timeplayed .. L.Hrs},
+						iup.label{title=L.Created .. os.date(dateformat,allchar[char].Recorded), PADDING="10X0"},
+						iup.label{title=L.Log .. os.date(dateformat,allchar[char].LoginTime), PADDING="10X0"},
+						iup.label{title=L.TPlayed .. timeplayed .. L.Hrs},
 						iup.fill{}
 						},
 				iup.label{SEPARATOR="HORIZONTAL"},
 				iup.vbox {		--Data tabs for Char
 					iup.tabs { iup.vbox {	["tabtitle"] =L.GrpDungeon,
-											iup.label{title="Levels are Minimum, scales to leader",expand="HORIZONTAL"},
+											iup.label{title=L.GrpLab,expand="HORIZONTAL"},
 											Grp_box[char],
 											iup.fill{}
 										},
 								iup.vbox {	["tabtitle"] =L.PubDungeon,
-											iup.label{title="PubLabel",expand="HORIZONTAL"},
+											iup.label{title=L.PubLab,expand="HORIZONTAL"},
 											Pub_box[char],
 											iup.fill{}
 										},
 								iup.vbox {	["tabtitle"] =L.VetDungeon,
-											iup.label{title="All are V1-V12 except City of Ash which is V13-V14",expand="HORIZONTAL"},
+											iup.label{title=L.VetLab,expand="HORIZONTAL"},
 											Vet_box[char],
 											iup.fill{}
 										},
@@ -354,7 +354,7 @@ iup.Append(logtabs,log_box)
 local panelsize = (#names*80+100) .. "x250"

 -- Creates dialog
-dlg = iup.dialog{iup.vbox{Chartabs; margin="10x10"}; title="History For  " .. myaccount, size=panelsize}
+dlg = iup.dialog{iup.vbox{Chartabs; margin="10x10"}; title=L.title .. myaccount, size=panelsize}

 -- Shows dialog in the center of the screen
 dlg:showxy(iup.CENTER, iup.CENTER)
diff --git a/en.lua b/en.lua
index 8b84833..17beb4a 100644
--- a/en.lua
+++ b/en.lua
@@ -22,17 +22,19 @@ Area_names = {
 		Leveling  = "Leveling",
 		Male = "Male",
 		Female = "Female",
-		LLog = "Last Login:",
-		TPlayed = "Time Played:",
+		LLog = "Last Login: ",
+		TPlayed = "Time Played: ",
 		Hrs = "Hours.",
 		Level = "Level",
-		Created = "Created",
+		Created = "Created: ",
 		PTime = "Play Time (Hr)",
 		Start = "Start Date",
 		Deaths = "Deaths",
 		APts = "Ach Points",
 		GrpLab = "Levels are Minimum, scales to leader",
-		VetLab = "All are V1-V12 except City of Ash which is V13-V14"
+		PubLab = ""
+		VetLab = "All are V1-V12 except City of Ash which is V13-V14",
+		title = "History For  "
 	}