-
Notifications
You must be signed in to change notification settings - Fork 149
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add 'name' value to all CfgPatches #365
Merged
Merged
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,16 @@ | ||
#include "script_component.hpp" | ||
class CfgPatches | ||
{ | ||
class ADDON | ||
{ | ||
|
||
class CfgPatches { | ||
class ADDON { | ||
author = "$STR_CBA_Author"; | ||
name = CSTRING(component); | ||
url = "$STR_CBA_URL"; | ||
units[] = {}; | ||
requiredVersion = REQUIRED_VERSION; | ||
requiredAddons[] = { "CBA_common" }; | ||
requiredAddons[] = {"CBA_common"}; | ||
version = VERSION; | ||
author = "$STR_CBA_Author"; | ||
authors[] = {"Rommel"}; | ||
authorUrl = "https://github.com/CBATeam/CBA_A3"; | ||
}; | ||
}; | ||
|
||
#include "CfgFunctions.hpp" | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
<?xml version="1.0" encoding="utf-8" ?> | ||
<Project name="CBA_A3"> | ||
<Package name="AI"> | ||
<Key ID="STR_CBA_AI_Component"> | ||
<English>Community Base Addons - Artificial Intelligence</English> | ||
</Key> | ||
</Package> | ||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,16 @@ | ||
#include "script_component.hpp" | ||
class CfgPatches | ||
{ | ||
class ADDON | ||
{ | ||
|
||
class CfgPatches { | ||
class ADDON { | ||
author = "$STR_CBA_Author"; | ||
name = CSTRING(component); | ||
url = "$STR_CBA_URL"; | ||
units[] = {}; | ||
requiredVersion = REQUIRED_VERSION; | ||
requiredAddons[] = { "CBA_common" }; | ||
requiredAddons[] = {"CBA_common"}; | ||
version = VERSION; | ||
author = "$STR_CBA_Author"; | ||
authors[] = {"Spooner"}; | ||
authorUrl = "https://github.com/CBATeam/CBA_A3"; | ||
}; | ||
}; | ||
|
||
#include "CfgFunctions.hpp" | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
<?xml version="1.0" encoding="utf-8" ?> | ||
<Project name="CBA_A3"> | ||
<Package name="Arrays"> | ||
<Key ID="STR_CBA_Arrays_Component"> | ||
<English>Community Base Addons - Arrays</English> | ||
</Key> | ||
</Package> | ||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
<?xml version="1.0" encoding="utf-8" ?> | ||
<Project name="CBA_A3"> | ||
<Package name="Diagnostics"> | ||
<Key ID="STR_CBA_Diagnostics_Component"> | ||
<English>Community Base Addons - Diagnostics</English> | ||
</Key> | ||
</Package> | ||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,6 +2,9 @@ | |
#ifndef EH_DEBUG_ENABLED | ||
class CfgPatches { | ||
class cba_diagnostics_xeh_disabled { | ||
author = "$STR_CBA_Author"; | ||
name = "$STR_CBA_Optional_Component"; | ||
url = "$STR_CBA_URL"; | ||
units[] = {}; | ||
weapons[] = {}; | ||
worlds[] = {}; | ||
|
@@ -14,6 +17,9 @@ | |
#include "script_component.hpp" | ||
class CfgPatches { | ||
class ADDON { | ||
author = "$STR_CBA_Author"; | ||
name = "$STR_CBA_Optional_Component"; | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
|
||
url = "$STR_CBA_URL"; | ||
units[] = {}; | ||
weapons[] = {}; | ||
worlds[] = {}; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
<?xml version="1.0" encoding="utf-8" ?> | ||
<Project name="CBA_A3"> | ||
<Package name="Events"> | ||
<Key ID="STR_CBA_Events_Component"> | ||
<English>Community Base Addons - Events</English> | ||
</Key> | ||
</Package> | ||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,16 @@ | ||
#include "script_component.hpp" | ||
class CfgPatches | ||
{ | ||
class ADDON | ||
{ | ||
|
||
class CfgPatches { | ||
class ADDON { | ||
author = "$STR_CBA_Author"; | ||
name = CSTRING(component); | ||
url = "$STR_CBA_URL"; | ||
units[] = {}; | ||
requiredVersion = REQUIRED_VERSION; | ||
requiredAddons[] = { "CBA_common" }; | ||
requiredAddons[] = {"CBA_common"}; | ||
version = VERSION; | ||
author = "$STR_CBA_Author"; | ||
authors[] = {"Spooner"}; | ||
authorUrl = "https://github.com/CBATeam/CBA_A3"; | ||
}; | ||
}; | ||
|
||
#include "CfgFunctions.hpp" | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
<?xml version="1.0" encoding="utf-8" ?> | ||
<Project name="CBA_A3"> | ||
<Package name="Hashes"> | ||
<Key ID="STR_CBA_Hashes_Component"> | ||
<English>Community Base Addons - Hashes</English> | ||
</Key> | ||
</Package> | ||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,62 +1,64 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<Project name="Arma3"> | ||
<Package name="CBA"> | ||
<Container name="STR_DN"> | ||
<Key ID="STR_DN_CBA_HELP_KEYS"> | ||
<English>Keybindings</English> | ||
<German>Tastendruckzuweisung</German> | ||
<Spanish>Keybindings</Spanish> | ||
<Czech>Keybindings</Czech> | ||
<Russian>Keybindings</Russian> | ||
<Italian>Keybindings</Italian> | ||
<Polish>Klawisze</Polish> | ||
<French>Keybindings</French> | ||
<Hungarian>Keybindings</Hungarian> | ||
</Key> | ||
<Key ID="STR_DN_CBA_WEBSITE"> | ||
<English>Bugtracker</English> | ||
<German>Bugtracker</German> | ||
<Spanish>Bugtracker</Spanish> | ||
<Czech>Bugtracker</Czech> | ||
<Russian>Bugtracker</Russian> | ||
<Italian>Bugtracker</Italian> | ||
<Polish>Zgłaszanie błędów</Polish> | ||
<French>Bugtracker</French> | ||
<Hungarian>Bugtracker</Hungarian> | ||
</Key> | ||
<Key ID="STR_DN_CBA_WEBSITE_WIKI"> | ||
<English>Wiki (Documentation)</English> | ||
<German>Wiki (Documentation)</German> | ||
<Spanish>Wiki (Documentation)</Spanish> | ||
<Czech>Wiki (Documentation)</Czech> | ||
<Russian>Wiki (Documentation)</Russian> | ||
<Italian>Wiki (Documentation)</Italian> | ||
<Polish>Wiki (dokumentacja)</Polish> | ||
<French>Wiki (Documentation)</French> | ||
<Hungarian>Wiki (Documentation)</Hungarian> | ||
</Key> | ||
<Key ID="STR_DN_CBA_CREDITS"> | ||
<English>Credits</English> | ||
<German>Credits</German> | ||
<Spanish>Credits</Spanish> | ||
<Czech>Credits</Czech> | ||
<Russian>Credits</Russian> | ||
<Italian>Credits</Italian> | ||
<Polish>Twórcy</Polish> | ||
<French>Credits</French> | ||
<Hungarian>Credits</Hungarian> | ||
</Key> | ||
<Key ID="STR_DN_CBA_CREDITS_ADDONS"> | ||
<English>Credits - Addons</English> | ||
<German>Credits - Addons</German> | ||
<Spanish>Credits - Addons</Spanish> | ||
<Czech>Credits - Addons</Czech> | ||
<Russian>Credits - Addons</Russian> | ||
<Italian>Credits - Addons</Italian> | ||
<Polish>Twórcy - Addons</Polish> | ||
<French>Credits - Addons</French> | ||
<Hungarian>Credits - Addons</Hungarian> | ||
</Key> | ||
</Container> | ||
</Package> | ||
<Project name="CBA_A3"> | ||
<Package name="Help"> | ||
<Key ID="STR_CBA_Help_Component"> | ||
<English>Community Base Addons - Help</English> | ||
</Key> | ||
|
||
<Key ID="STR_DN_CBA_HELP_KEYS"> | ||
<English>Keybindings</English> | ||
<German>Tastendruckzuweisung</German> | ||
<Spanish>Keybindings</Spanish> | ||
<Czech>Keybindings</Czech> | ||
<Russian>Keybindings</Russian> | ||
<Italian>Keybindings</Italian> | ||
<Polish>Klawisze</Polish> | ||
<French>Keybindings</French> | ||
<Hungarian>Keybindings</Hungarian> | ||
</Key> | ||
<Key ID="STR_DN_CBA_WEBSITE"> | ||
<English>Bugtracker</English> | ||
<German>Bugtracker</German> | ||
<Spanish>Bugtracker</Spanish> | ||
<Czech>Bugtracker</Czech> | ||
<Russian>Bugtracker</Russian> | ||
<Italian>Bugtracker</Italian> | ||
<Polish>Zgłaszanie błędów</Polish> | ||
<French>Bugtracker</French> | ||
<Hungarian>Bugtracker</Hungarian> | ||
</Key> | ||
<Key ID="STR_DN_CBA_WEBSITE_WIKI"> | ||
<English>Wiki (Documentation)</English> | ||
<German>Wiki (Documentation)</German> | ||
<Spanish>Wiki (Documentation)</Spanish> | ||
<Czech>Wiki (Documentation)</Czech> | ||
<Russian>Wiki (Documentation)</Russian> | ||
<Italian>Wiki (Documentation)</Italian> | ||
<Polish>Wiki (dokumentacja)</Polish> | ||
<French>Wiki (Documentation)</French> | ||
<Hungarian>Wiki (Documentation)</Hungarian> | ||
</Key> | ||
<Key ID="STR_DN_CBA_CREDITS"> | ||
<English>Credits</English> | ||
<German>Credits</German> | ||
<Spanish>Credits</Spanish> | ||
<Czech>Credits</Czech> | ||
<Russian>Credits</Russian> | ||
<Italian>Credits</Italian> | ||
<Polish>Twórcy</Polish> | ||
<French>Credits</French> | ||
<Hungarian>Credits</Hungarian> | ||
</Key> | ||
<Key ID="STR_DN_CBA_CREDITS_ADDONS"> | ||
<English>Credits - Addons</English> | ||
<German>Credits - Addons</German> | ||
<Spanish>Credits - Addons</Spanish> | ||
<Czech>Credits - Addons</Czech> | ||
<Russian>Credits - Addons</Russian> | ||
<Italian>Credits - Addons</Italian> | ||
<Polish>Twórcy - Addons</Polish> | ||
<French>Credits - Addons</French> | ||
<Hungarian>Credits - Addons</Hungarian> | ||
</Key> | ||
</Package> | ||
</Project> |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ECSTRING(Optional,Component)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Wouldn't that imply that "Optional" is a component?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It would expand to the above. Not sure about semantics, if you are worried people might be looking for "optional" component then it might be best to leave it like that.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I added it everywhere I can, but there are some PBOs that don't or can't include the script_mod