local L = AceLibrary("AceLocale-2.0"):new("XRS")
 
----------------------------
--      Localization      --
----------------------------

L:RegisterTranslations("enUS", function() return {
    -- XRS.lua
    Scale = "Set Scale",
    Scale_D = "Set the scale of the XRaidStatus window.",
    Texture = "Texture",
    Textures = "Textures",
    Textures_D = "Select a texture of the bars.",
    Color_Group = "Change colors",
    Color_Group_D = "Change some colors of the XRaidStatus window.",
    BColor = "Background color",
    BColor_D = "Change the background color.",
    BOColor = "Border color",
    BOColor_D = "Change the border color",
    TColor = "Title color",
    TColor_D = "Change the title color.",
    Update_Rate = "Update Rate",
    Update_Rate_D = "Change the update rate of the bars.",
    Save = "Save",
    Save_D = "Save a configuration.",
    Load = "Load",
    Load_D = "Load a configuration.",
    Delete = "Delete",
    Delete_D = "Delete a configuration.",
    New_Group = "New",
    New_Group_D = "Create a new bar or a new buff button.",
    Create_Bar = "Create a new bar",
    Create_Bar_D = "Creates a new bar with some values.",
    Create_Button = "Create a new buff button",
    Create_Button_D = "Creates a new buff button.",
    Delete_DB = "Delete DB",
    Delete_DB_D = "Delete the Database/Profile",
    Lock = "Lock Frame",
    Lock_D = "Lock the XRaidStatus frame in the current position",
    Raid_Leader_Options = "Raid Leader Options",
    Buff_Check = "Buff Check",
    Buff_Check_TTText = "Do a buff check with selected buffs and print the result in the raid chat.",
    Ready_Check = "Ready Check",
    Ready_Check_TTText = "Starts the blizzard ready check",
    Select_Buffs = "Select Buffs",
    Select_Buffs_TTText = "Select buffs which should be scanned for.",
    Start_Check = "Start Check",
    Start_Check_TTText = "Starts the buff check an prints the result into the raid chat.",
    Hint = "Hint",
    Hint_D = "Show hints in the tooltips",
    
    -- XRS_BarClass.lua
    Name = "Name",
    Name_TTText = "The name of the statusbar.",
    Type = "Type",
    Type_TTTitle = "Select Type",
    Type_TTText = "The type of the bar.",
    Classes = "Classes",
    Classes_TTTitle = "Select Classes",
    Classes_TTText = "The classes which represents this bar.",
    Groups = "Groups",
    Groups_TTTitle = "Select Groups",
    Groups_TTText = "The groups which represents this bar.",
    Group = "Group",
    Color = "Color",
    Color_TTTitle = "Select Colors",
    Color_TTText = "Select the colors of the bar and text or use the default ones.",    
    Deaths = "Include deaths",
    Deaths_TTText = "Include Death People in computing the percent value of the bar.",
    Backgroundbar = "Activate Background Bar",
    Backgroundbar_TTTitle = "Activate Background Bar",
    Backgroundbar_TTText = "Activates a Background Bar for this Statusbar.",
    Bar_Up = "Bar Up",
    Bar_Up_TTText = "Moves the Bar one place up",
    Bar_Down = "Bar Down",
    Bar_Down_TTText = "Moves the Bar one place down",
    Delete_Bar = "Delete bar",
    Delete_Bar_TTText = "Deletes the bar",
    Create_Bar_TTTitle = "Create a new bar",
    Create_Bar_TTText = "Creates a new bar with some values",
    Life = "Life",
    Mana = "Mana",
    Alive = "Alive",
    Dead = "Dead",
    Offline = "Offline",
    Range = "Range",
    Range_Text = "Range Mode",
    Range_TTTitle = "Select Range Mode",
    Range_TTText = "Select the range mode for this range type.",
    Blank = "Blank",
    Afk = "Afk",
	PvP = "PvP",
    Use_Bar_Color = "Use Bar Color",
    Bar_Color = "Bar Color",
    Use_Text_Color = "Use Text Color",
    Text_Color = "Text Color",
    Yards_1 = "30 yards",
    Yards_2 = "100 yards",
    Yards_3 = "Zone",
    
    -- XRS_BuffClass.lua
    Buff_Text = "Select Buff",
    Buff_TTTitle = "Select Buff",
    Buff_TTText = "Select the buff for this icon.",
    Delete_Buff_Text = "Delete Buff",
    Delete_Buff_TTTitle = "Delete Buff",
    Delete_Buff_TTText = "Delete this buff from the view.",
    Predefined_Text = "Predefined Buffs", 
    Predefined_TTTitle = "Predefined Buffs",
    Predefined_TTText = "Choose one of the predefined buffs.",
    Enter_Buff = "Enter own Buff",
    Enter_Buff_TTTitle = "Enter an own buff",
    Enter_Buff_TTText = "Enter an own buff to check for",
    Group = "(Group) ",
    Invert = "Invert",
    
    -- XRS_TooltipClasses.lua
    Buff_Hint = "Leftclick = buff, Shift-leftclick = Report missing buffs, Ctrl-leftclick = Detach tooltip",
    Bar_Hint = "Ctrl-leftclick = Detach tooltip",
} end)

L:RegisterTranslations("koKR", function() return {
    -- XRS.lua
     Scale = "확대/축소",
    Scale_D = "XRaidStatus 창의 크기를 조절합니다.",
    Texture = "텍스쳐",
    Textures = "텍스쳐",
    Textures_D = "바의 텍스쳐를 설정합니다.",
    Color_Group = "색상 변경",
    Color_Group_D = "XRaidStatus 창의 색상을 변경합니다.",
    BColor = "배경 색상",
    BColor_D = "배경 색상을 변경합니다..",
    BOColor = "테두리 색상",
    BOColor_D = "테두리 색상을 변경합니다.",
    TColor = "제목 색상",
    TColor_D = "제목 색상을 변경합니다.",
    Update_Rate = "갱신율 변경",
    Update_Rate_D = "바의 갱신주기를 변경합니다.",
    Save = "저장",
    Save_D = "설정을 저장합니다.",
    Load = "로드",
    Load_D = "설정을 로드합니다.",
    Delete = "삭제",
    Delete_D = "설정을 삭제합니다.",
    New_Group = "신규",
    New_Group_D = "새로운 바/버프버튼을 만듭니다.",
    Create_Bar = "새로운 바 만들기",
    Create_Bar_D = "몇가지 변수로 새로운 바를 만듭니다.",
    Create_Button = "새로운 버프버튼 만들기",
    Create_Button_D = "새로운 버프버튼을 만듭니다.",
    Delete_DB = "데이터베이스 삭제",
    Delete_DB_D = "데이터베이스/프로필을 삭제합니다.",
    Lock = "프레임 잠금",
    Lock_D = "XRaidStatus 프레임을 지금 위치에 고정 시킵니다.",
    Raid_Leader_Options = "공대장 메뉴",
    Buff_Check = "버프 검사",
    Buff_Check_TTText = "선택된 버프에 대해 검사를 실시하고 결과를 공대창에 출력합니다.",
    Ready_Check = "전투준비",
    Ready_Check_TTText = "블리자드 기본 '전투준비'기능입니다.",
    Select_Buffs = "버프 선택",
    Select_Buffs_TTText = "검사할 버프를 고릅니다.",
    Start_Check = "검사 시작",
    Start_Check_TTText = "버프 검사를 시작하고 결과를 공대창에 출력합니다.",
    Hint = "힌트",
    Hint_D = "툴팁에 힌트를 출력합니다.",
    
    -- XRS_BarClass.lua
    Name = "이름",
    Name_TTText = "상태바의 이름.",
    Type = "종류",
    Type_TTTitle = "종류 선택",
    Type_TTText = "바의 종류를 선택하세요.",
    Classes = "직업",
    Classes_TTTitle = "직업 선택",
    Classes_TTText = "이 바로 나타낼 직업을 선택하세요.",
    Groups = "파티",
    Groups_TTTitle = "파티 선택",
    Groups_TTText = "이 바로 나타낼 파티를 선택하세요.",
    Group = "파티",
    Color = "색상",
    Color_TTTitle = "색상 선택",
    Color_TTText = "바와 텍스트의 색상을 선택하거나 기본값을 사용할 수 있습니다.",    
    Deaths = "사망자 포함",
    Deaths_TTText = "바의 퍼센트값 계산시에 사망자를 포함합니다.",
    Backgroundbar = "배경바 활성화",
    Backgroundbar_TTTitle = "배경바 활성화",
    Backgroundbar_TTText = "현재바의 배경을 활성화 시킵니다.",
    Bar_Up = "바 위로",
    Bar_Up_TTText = "바를 한칸 위로 올립니다.",
    Bar_Down = "바 아래로",
    Bar_Down_TTText = "바를 한칸 아래로 내립니다.",
    Delete_Bar = "바 삭제",
    Delete_Bar_TTText = "바를 삭제합니다.",
    Create_Bar_TTTitle = "새로운 바 만들기",
    Create_Bar_TTText = "몇가지 변수로 새로운 바를 만듭니다.",
    Life = "체력",
    Mana = "마나",
    Alive = "생존",
    Dead = "죽음",
    Offline = "오프라인",
    Range = "거리",
    Range_Text = "거리 모드",
    Range_TTTitle = "거리에 관련된 옵션",
    Range_TTText = "거리 종류에 따른 옵션을 선택합니다.",
    Blank = "빈칸",
    Afk = "자리비움",
		PvP = "전쟁 상태",
    Use_Bar_Color = "바 색상을 사용합니다.",
    Bar_Color = "바 색상",
    Use_Text_Color = "텍스트 색상을 사용합니다.",
    Text_Color = "텍스트 색상",
    Yards_1 = "30 야드",
    Yards_2 = "100 야드",
    Yards_3 = "지역",
    
    -- XRS_BuffClass.lua
    Buff_Text = "버프 선택",
    Buff_TTTitle = "버프 선택",
    Buff_TTText = "현재 아이콘에 대해 버프를 선택합니다.",
    Delete_Buff_Text = "버프 삭제",
    Delete_Buff_TTTitle = "버프 삭제",
    Delete_Buff_TTText = "현재 버프 아이콘을 삭제합니다.",
    Predefined_Text = "미리 정의된 버프", 
    Predefined_TTTitle = "미리 정의된 버프",
    Predefined_TTText = "미리 정의된 버프중에서 선택합니다.",
    Enter_Buff = "버프 직접 입력",
    Enter_Buff_TTTitle = "버프를 직접 입력",
    Enter_Buff_TTText = "확인할 임의 버프를 직접 입력합니다.",
    Group = "(파티) ",
    Invert = "반전",
    
    -- XRS_TooltipClasses.lua
    Buff_Hint = "왼클릭 = 버프시전, 쉬프트+왼클릭 = 버프없는사람보고, 컨트롤+왼클릭 = 툴팁분리",
    Bar_Hint = "컨트롤+왼클릭 = 툴팁분리",
} end)

L:RegisterTranslations("deDE", function() return {
    -- XRS.lua
    Scale = "Skalierung",
    Scale_D = "Die Skalierung des XRaidStatus Fenster setzen.",
    Texture = "Textur",
    Textures = "Texturen",
    Textures_D = "Textur der Bars auswählen",
    Color_Group = "Farben auswählen",
    Color_Group_D = "Farben des XRaidStatus Fenster ändern.",
    BColor = "Hintergrundfarbe",
    BColor_D = "Die Hintergrundfarbe des XRaidStatus Fensters ändern.",
    BOColor = "Rand Farbe",
    BOColor_D = "Die Farbe des Randes ändern.",
    TColor = "Titel Farbe",
    TColor_D = "Die Farbe der Titel Schrift ändern.",
    Update_Rate = "Aktualisierungsrate",
    Update_Rate_D = "Die Aktualisierungsrate der Bars ändern.",
    Save = "Speichern",
    Save_D = "Eine Konfiguration sichern.",
    Load = "Laden",
    Load_D = "Eine Konfiguration laden.",
    Delete = "Löschen",
    Delete_D = "Eine Konfiguration löschen.",
    New_Group = "Neu",
    New_Group_D = "Eine neue Bar oder einen neuen Buff-Button erstellen.",
    Create_Bar = "Neue Bar",
    Create_Bar_D = "Eine neue Bar mit Standardwerten erstellen.",
    Create_Button = "Neuen Buff-Button",
    Create_Button_D = "Einen neuen Buff-Button erstellen.",
    Delete_DB = "DB löschen",
    Delete_DB_D = "Löscht die Datenbank/das Profil",
    Lock = "Fenster sperren",
    Lock_D = "Sperrt das XRaidStatus Fenster so dass es nichtmehr bewegt werden kann",
    Raid_Leader_Options = "Raid Leiter Optionen",
    Buff_Check = "Buff Test",
    Buff_Check_TTText = "Einen Buff Test mit den ausgewählten Buffs ausführen und die Ergebnisse im Raid Chat posten.",
    Ready_Check = "Bereitschafts Test",
    Ready_Check_TTText = "Startet den Bereitschafts Test von Blizzard",
    Select_Buffs = "Buffs auswählen",
    Select_Buffs_TTText = "Buffs auswählen nach denen gesucht werden soll",
    Start_Check = "Test starten",
    Start_Check_TTText = "Startet den Buff Test und veröffentlicht das Ergebnis im Raid Chat.",
    Hint = "Hinweis",
    Hint_D = "Hinweise anzeigen in den Tooltips",
    
    -- XRS_BarClass.lua
    Name = "Name",
    Name_TTText = "Name der Statusbar.",
    Type = "Typ",
    Type_TTTitle = "Typ auswählen",
    Type_TTText = "Typ der Bar.",
    Classes = "Klassen",
    Classes_TTTitle = "Klassen auswählen",
    Classes_TTText = "Klassen die diese Bar repräsentieren.",
    Groups = "Gruppen",
    Groups_TTTitle = "Gruppen auswählen",
    Groups_TTText = "Raid Gruppen die diese Bar repräsentieren.",
    Group = "Gruppe",
    Color = "Farbe",
    Color_TTTitle = "Farben auswählen",
    Color_TTText = "Die Farbe der Bar und dem Text auswählen oder Standard Einstellungen benutzen.",    
    Backgroundbar = "Hintergrund Bar aktivieren",
    Backgroundbar_TTTitle = "Hintergrund Bar aktivieren",
    Backgroundbar_TTText = "Eine Bar im Hintergrund aktivieren mit der gleichen Farbeinstellung.",
    Deaths = "Tote miteinbeziehen",
    Deaths_TTText = "Tote miteinbeziehen in der Berechnung der Bar.",
    Bar_Up = "Bar hoch",
    Bar_Up_TTText = "Die Bar wird um eine Zeile nach oben verschoben.",
    Bar_Down = "Bar runter",
    Bar_Down_TTText = "Die Bar wird um eine Zeile nach unten verschoben.",
    Delete_Bar = "Bar löschen",
    Delete_Bar_TTText = "Löscht die Bar.",
    Create_Bar_TTTitle = "Neue Bar erstellen",
    Create_Bar_TTText = "Eine neue Bar mit Standardwerten erstellen.",
    Life = "Leben",
    Mana = "Mana",
    Alive = "Am Leben",
    Dead = "Tot",
    Offline = "Offline",
    Range = "In Reichweite",
    Range_Text = "Reichweiten Modus",
    Range_TTTitle = "Reichweiten Modus",
    Range_TTText = "Den Reichweiten Modus auswählen.",
    Blank = "Frei",
    Afk = "Afk",
	PvP = "PvP",
    Use_Bar_Color = "Bar Farbe benutzen",
    Bar_Color = "Farbe der Bar",
    Use_Text_Color = "Text Farbe benutzen",
    Text_Color = "Farbe vom Text",
    Yards_1 = "30 Meter",
    Yards_2 = "100 Meter",
    Yards_3 = "Zone",
    
    -- XRS_BuffClass.lua
    Buff_Text = "Buff auswählen",
    Buff_TTTitle = "Buff auswählen",
    Buff_TTText = "Einen Buff für diesen Button auswählen.",
    Delete_Buff_Text = "Buff löschen",
    Delete_Buff_TTTitle = "Buff löschen",
    Delete_Buff_TTText = "Diesen Buff aus der Anzeige löschen.",
    Predefined_Text = "Vordefinierte Buffs", 
    Predefined_TTTitle = "Vordefinierte Buffs",
    Predefined_TTText = "Einen Buff aus dem vordefinierten Pool auswählen.",
    Enter_Buff = "Eigener Buff",
    Enter_Buff_TTTitle = "Eigenen Buff eintragen",
    Enter_Buff_TTText = "Einen eigenen Buff eintragen nach dem gesucht werden soll.",
    Group = "(Gruppen) ",
    Invert = "Invertieren",
    
    -- XRS_TooltipClasses.lua
    Buff_Hint = "Linksklick = buffen, Shift-linksklick = Fehlende Buffs posten, Strg-linksklick = Tooltip lösen",
    Bar_Hint = "Strg-linksklick = Tooltip lösen",
} end)

L:RegisterTranslations("zhCN", function() return {
    -- XRS.lua
	
	-- zhCN localization by hk2717
    Scale = "设置缩放",
    Scale_D = "设置XRaidStatus窗口的缩放比例。",
    Texture = "材质",
    Textures = "材质",
    Textures_D = "选择状态条材质。",
    Color_Group = "设定颜色",
    Color_Group_D = "设定XRaidStatus窗口的颜色。",
    BColor = "背景颜色",
    BColor_D = "设定背景颜色。",
    BOColor = "边框颜色",
    BOColor_D = "设定边框颜色。",
    TColor = "标题颜色",
    TColor_D = "设定标题颜色。",
    Update_Rate = "更新速率",
    Update_Rate_D = "设定状态条更新速率。",
    Save = "保存",
    Save_D = "保存设置。",
    Load = "载入",
    Load_D = "载入设置。",
    Delete = "删除",
    Delete_D = "删除设置。",
    New_Group = "新建",
    New_Group_D = "新建一个状态条或增益按钮。",
    Create_Bar = "新建状态条",
    Create_Bar_D = "新建一个状态条。",
    Create_Button = "新建增益按钮",
    Create_Button_D = "新建一个增益按钮。",
    Delete_DB = "删除数据",
    Delete_DB_D = "删除一组保存的数据。",
    Lock = "锁定框体",
    Lock_D = "锁定XRaidStatus框体于当前位置。",
    Raid_Leader_Options = "团队领袖设置",
    Buff_Check = "增益检查",
    Buff_Check_TTText = "检查选择的增益效果，在团队聊天频道输出结果。",
    Ready_Check = "就绪检查",
    Ready_Check_TTText = "检查团队就绪状态。",
    Select_Buffs = "选择增益",
    Select_Buffs_TTText = "选择要检测的增益效果。",
    Start_Check = "开始检查",
    Start_Check_TTText = "进行增益效果检查，在团队聊天频道输出结果。",
    Hint = "Hint",
    Hint_D = "Show hints in the tooltips",
    
    -- XRS_BarClass.lua
    Name = "名字",
    Name_TTText = "状态条的名字。",
    Type = "类型",
    Type_TTTitle = "选择类型",
    Type_TTText = "状态条的类型。",
    Classes = "职业",
    Classes_TTTitle = "选择职业",
    Classes_TTText = "此状态条代表的职业。",
    Groups = "小队",
    Groups_TTTitle = "选择小队",
    Groups_TTText = "此状态条代表的小队。",
    Group = "小队",
    Color = "颜色",
    Color_TTTitle = "选择颜色",
    Color_TTText = "选择状态条及其上文本的颜色，或使用默认设置。",    
    Deaths = "包括死亡玩家",
    Deaths_TTText = "计算状态条数值时包括已死亡的玩家。",
    Backgroundbar = "激活背景条",
    Backgroundbar_TTTitle = "激活背景条",
    Backgroundbar_TTText = "为此状态条激活背景条。",
    Bar_Up = "向上移动",
    Bar_Up_TTText = "将此状态条向上移动一排",
    Bar_Down = "向下移动",
    Bar_Down_TTText = "将此状态条向下移动一排",
    Delete_Bar = "删除状态条",
    Delete_Bar_TTText = "删除状态条",
    Create_Bar_TTTitle = "新建状态条",
    Create_Bar_TTText = "新建一个状态条。",
    Life = "生命",
    Mana = "法力",
    Alive = "存活",
    Dead = "死亡",
    Offline = "离线",
    Range = "范围",
    Range_Text = "范围模式",
    Range_TTTitle = "选择范围模式",
    Range_TTText = "为此范围类型选择一个范围模式。",
    Blank = "空白",
    Afk = "Afk",
	PvP = "PvP",
    Use_Bar_Color = "使用状态条颜色",
    Bar_Color = "状态条颜色",
    Use_Text_Color = "使用文本颜色",
    Text_Color = "文本颜色",
    Yards_1 = "30码",
    Yards_2 = "100码",
    Yards_3 = "全区域",
    
    -- XRS_BuffClass.lua
    Buff_Text = "选择增益",
    Buff_TTTitle = "选择增益",
    Buff_TTText = "为此按钮选择一个增益效果。",
    Delete_Buff_Text = "删除增益",
    Delete_Buff_TTTitle = "删除增益",
    Delete_Buff_TTText = "删除此增益的显示。",
    Predefined_Text = "预定义增益", 
    Predefined_TTTitle = "预定义增益",
    Predefined_TTText = "选择一个预定义增益。",
    Enter_Buff = "输入自定义增益",
    Enter_Buff_TTTitle = "输入自定义增益",
    Enter_Buff_TTText = "输入一个供检查的自定义增益。",
    Group = "(Group) ",
    Invert = "Invert",
    
    -- XRS_TooltipClasses.lua
    Buff_Hint = "左键 = 增益, Shift-左键 = 报告增益缺失, Ctrl-左键 = 分离信息条",
    Bar_Hint = "Ctrl-左键 = 分离信息条",
} end)
