translations of BV terms

This commit is contained in:
Tyrel Souza 2014-05-09 14:17:00 -04:00
parent 54fe5df3d5
commit 93b1773302

View File

@ -22,7 +22,8 @@ class BetterVideo
resp[:success] = true
resp[:message] = "Successfully submitted to BetterVideo, Please wait."
else
resp[:message] = "Error Code #{resp["errorcode"]}: #{resp["errormessage"]}"
resp['errormessage'].sub!("VPA", "Customer Service Rep") # fix for Customer Service Reps being called VPA in BV
resp[:message] = "Error Code #{resp["errorcode"]}: #{resp['errormessage']}"
if resp["errorcode"].to_i == 1
resp[:message] += "Please Contact Dev"
end