local ESOMRL = _G['ESOMRL']
local L = ESOMRL.DB.Strings

do
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
-- Setup app window dimensions for different client languages
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
	if GetCVar("Language.2") == "fr" then
		ESOMRL_MainFrame:SetWidth(940)
		ESOMRL_MainFrameIngredientsFrame:SetWidth(940)
		ESOMRL_MainFrameHeader:SetWidth(940)
		ESOMRL_MainFrameListFrame:SetWidth(595)
		ESOMRL_MainFrameListFrameList:SetWidth(595)
		ESOMRL_MainFrameIngredientsFrameFindFoodRecipeIng:ClearAnchors()
		ESOMRL_MainFrameIngredientsFrameListTooltipButton:ClearAnchors()
		ESOMRL_MainFrameIngredientsFrameFindFoodRecipeIng:SetAnchor(BOTTOMLEFT, ESOMRL_MainFrameIngredientsFrame, BOTTOMLEFT, 0, 32)
		ESOMRL_MainFrameIngredientsFrameListTooltipButton:SetAnchor(BOTTOMRIGHT, ESOMRL_MainFrameIngredientsFrame, BOTTOMRIGHT, 0, 35)
		ESOMRL_MainFrameSelectionFrameClearSearchButton:SetWidth(360)
		ESOMRL_MainFrameFurnitureFrameFClearSearchButton:SetWidth(360)
		ESOMRL_MainFrameIngredientsFrameClearIngTrackButton:SetWidth(465)
		ESOMRL_MainFrameInfoBox:SetWidth(460)
		ESOMRL_MainFrameInfoBoxIng:SetWidth(300)
	elseif GetCVar("Language.2") == "de" then
		ESOMRL_MainFrame:SetWidth(950)
		ESOMRL_MainFrameIngredientsFrame:SetWidth(950)
		ESOMRL_MainFrameHeader:SetWidth(950)
		ESOMRL_MainFrameListFrame:SetWidth(605)
		ESOMRL_MainFrameListFrameList:SetWidth(605)
		ESOMRL_MainFrameIngredientsFrameFindFoodRecipeIng:ClearAnchors()
		ESOMRL_MainFrameIngredientsFrameListTooltipButton:ClearAnchors()
		ESOMRL_MainFrameIngredientsFrameFindFoodRecipeIng:SetAnchor(BOTTOMLEFT, ESOMRL_MainFrameIngredientsFrame, BOTTOMLEFT, -5, 32)
		ESOMRL_MainFrameIngredientsFrameListTooltipButton:SetAnchor(BOTTOMRIGHT, ESOMRL_MainFrameIngredientsFrame, BOTTOMRIGHT, 5, 35)
		ESOMRL_MainFrameSelectionFrameClearSearchButton:SetWidth(335)
		ESOMRL_MainFrameFurnitureFrameFClearSearchButton:SetWidth(335)
		ESOMRL_MainFrameIngredientsFrameClearIngTrackButton:SetWidth(350)
		ESOMRL_MainFrameInfoBox:SetWidth(410)
		ESOMRL_MainFrameInfoBoxIng:SetWidth(375)
	end
	ESOMRL_MainFrameIngredientsFrame:SetParent(ESOMRL_MainFrame)
	ESOMRL_MainFrameSelectionFrame:SetParent(ESOMRL_MainFrame)
	ESOMRL_MainFrameFurnitureFrame:SetParent(ESOMRL_MainFrame)
	ESOMRL_MainFrameSelectionFrameFoodList1:SetText(L.ESOMRL_TFOOD)
	ESOMRL_MainFrameSelectionFrameFood1T:SetText(L.ESOMRL_FOOD1)
	ESOMRL_MainFrameSelectionFrameFood2T:SetText(L.ESOMRL_FOOD2)
	ESOMRL_MainFrameSelectionFrameFood3T:SetText(L.ESOMRL_FOOD3)
	ESOMRL_MainFrameSelectionFrameFood4T:SetText(L.ESOMRL_FOOD4)
	ESOMRL_MainFrameSelectionFrameFood5T:SetText(L.ESOMRL_FOOD5)
	ESOMRL_MainFrameSelectionFrameFood6T:SetText(L.ESOMRL_FOOD6)
	ESOMRL_MainFrameSelectionFrameFood7T:SetText(L.ESOMRL_FOOD7)
	ESOMRL_MainFrameSelectionFrameFood8T:SetText(L.ESOMRL_FOOD8)
	ESOMRL_MainFrameSelectionFrameFood1T2:SetText(L.ESOMRL_H)
	ESOMRL_MainFrameSelectionFrameFood2T2:SetText(L.ESOMRL_M)
	ESOMRL_MainFrameSelectionFrameFood3T2:SetText(L.ESOMRL_S)
	ESOMRL_MainFrameSelectionFrameFood4T2:SetText(L.ESOMRL_HM)
	ESOMRL_MainFrameSelectionFrameFood5T2:SetText(L.ESOMRL_HS)
	ESOMRL_MainFrameSelectionFrameFood6T2:SetText(L.ESOMRL_MS)
	ESOMRL_MainFrameSelectionFrameFood7T2:SetText(L.ESOMRL_HMS)
	ESOMRL_MainFrameSelectionFrameFood8T2:SetText(L.ESOMRL_UF)
	ESOMRL_MainFrameSelectionFrameDrinkList1:SetText(L.ESOMRL_TDRINK)
	ESOMRL_MainFrameSelectionFrameDrink1T:SetText(L.ESOMRL_DRINK1)
	ESOMRL_MainFrameSelectionFrameDrink2T:SetText(L.ESOMRL_DRINK2)
	ESOMRL_MainFrameSelectionFrameDrink3T:SetText(L.ESOMRL_DRINK3)
	ESOMRL_MainFrameSelectionFrameDrink4T:SetText(L.ESOMRL_DRINK4)
	ESOMRL_MainFrameSelectionFrameDrink5T:SetText(L.ESOMRL_DRINK5)
	ESOMRL_MainFrameSelectionFrameDrink6T:SetText(L.ESOMRL_DRINK6)
	ESOMRL_MainFrameSelectionFrameDrink7T:SetText(L.ESOMRL_DRINK7)
	ESOMRL_MainFrameSelectionFrameDrink8T:SetText(L.ESOMRL_DRINK8)
	ESOMRL_MainFrameSelectionFrameDrink1T2:SetText(L.ESOMRL_H)
	ESOMRL_MainFrameSelectionFrameDrink2T2:SetText(L.ESOMRL_M)
	ESOMRL_MainFrameSelectionFrameDrink3T2:SetText(L.ESOMRL_S)
	ESOMRL_MainFrameSelectionFrameDrink4T2:SetText(L.ESOMRL_HM)
	ESOMRL_MainFrameSelectionFrameDrink5T2:SetText(L.ESOMRL_HS)
	ESOMRL_MainFrameSelectionFrameDrink6T2:SetText(L.ESOMRL_MS)
	ESOMRL_MainFrameSelectionFrameDrink7T2:SetText(L.ESOMRL_HMS)
	ESOMRL_MainFrameSelectionFrameDrink8T2:SetText(L.ESOMRL_UD)
	ESOMRL_MainFrameFurnitureFrameAlchemyHead:SetText(L.ESOMRL_FALCH)
	ESOMRL_MainFrameFurnitureFrameBlacksmithHead:SetText(L.ESOMRL_FBSMITH)
	ESOMRL_MainFrameFurnitureFrameClothingHead:SetText(L.ESOMRL_FCLOTH)
	ESOMRL_MainFrameFurnitureFrameEnchantHead:SetText(L.ESOMRL_FENCH)
	ESOMRL_MainFrameFurnitureFrameProvisioningHead:SetText(L.ESOMRL_FPROV)
	ESOMRL_MainFrameFurnitureFrameWoodworkingHead:SetText(L.ESOMRL_FWOOD)
	ESOMRL_MainFrameFurnitureFrameJewelryHead:SetText(L.ESOMRL_FJEWEL)
	ESOMRL_MainFrameInfoBoxKnownText:SetText(L.ESOMRL_IKNOWN)
	ESOMRL_MainFrameInfoBoxKnownTrackText:SetText(L.ESOMRL_IKNOWNT)
	ESOMRL_MainFrameInfoBoxUnknownText:SetText(L.ESOMRL_IUNKNOWN)
	ESOMRL_MainFrameInfoBoxTrackedText:SetText(L.ESOMRL_IUNKNOWNT)
	ESOMRL_MainFrameInfoBoxWritText:SetText(L.ESOMRL_IWRIT)
	ESOMRL_MainFrameInfoBoxWritTrackText:SetText(L.ESOMRL_IWTRACK)
	ESOMRL_MainFrameInfoBoxShiftClickText:SetText(L.ESOMRL_SHIFTCLICK)
	ESOMRL_MainFrameInfoBoxIngShiftClickText:SetText(L.ESOMRL_SHIFTCLICK)
	ESOMRL_MainFrameInfoBoxIngKnownText:SetText(L.ESOMRL_INGGOLD)
	ESOMRLSortOrderUp:SetHidden(true)
	ESOMRLSortOrderDown:SetHidden(true)
	ESOMRL.XMLExport = function() end
end
