Skip to content

Commit

Permalink
added Brazilian Portuguese by gabsF
Browse files Browse the repository at this point in the history
  • Loading branch information
irbizzelus authored Nov 2, 2022
1 parent 2a15137 commit d7bb390
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 2 deletions.
2 changes: 1 addition & 1 deletion main.xml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
<mod name="Immortal Dominated Cops" author="irbizzelus" color="Color(0.85,0,0.85)">
<AssetUpdates id="irbizzelus/IMMDOMCOPS" provider="github" release="true" version="1.5"/>
<AssetUpdates id="irbizzelus/IMMDOMCOPS" provider="github" release="true" version="1.5.1"/>
</mod>
2 changes: 2 additions & 0 deletions menus/immdomcopsmenu.lua
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ Hooks:Add('LocalizationManagerPostInit', 'immdomcops_loc', function(loc)
loc:load_localization_file(immdomcops.modpath .. 'menus/lang/immdomcopsmenu_chs.txt', false)
elseif lang == "es" then -- thanks MaxiAccess
loc:load_localization_file(immdomcops.modpath .. 'menus/lang/immdomcopsmenu_es.txt', false)
elseif lang == "pt-br" then -- thanks gabsF
loc:load_localization_file(immdomcops.modpath .. 'menus/lang/immdomcopsmenu_pt-br.txt', false)
else
loc:load_localization_file(immdomcops.modpath .. 'menus/lang/immdomcopsmenu_en.txt', false)
end
Expand Down
8 changes: 8 additions & 0 deletions menus/lang/immdomcopsmenu_pt-br.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"IMMDOMCOP_title": "Immortal dominated cops",
"IMMDOMCOP_desc": "",
"IMMDOMCOP_highlights": "Destaque",
"IMMDOMCOP_highlights_desc": "Decide se os policiais dominados são destacados",
"IMMDOMCOP_meleekill": "Instakill com Melee",
"IMMDOMCOP_meleekill_desc": "Se estiver ativado, o Host poderá matar o policial dominado com a Melee"
}
2 changes: 1 addition & 1 deletion mod.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"description" : "Gives immportality and visual highlight to dominated enemies.",
"author" : "irbizzelus\nBased on Undeadsewer's Intimidated Outlines",
"contact" : "Steam profile link is on my modworkshop account\nUndeadsewer: [email protected]",
"version" : "1.5",
"version" : "1.5.1",
"hooks" : [
{ "hook_id" : "lib/units/enemies/cop/copmovement", "script_path" : "lua/copmovement.lua" },
{ "hook_id" : "lib/units/enemies/cop/copdamage", "script_path" : "lua/copdamage.lua" },
Expand Down

0 comments on commit d7bb390

Please sign in to comment.