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
Spelling - Ring of Fire Protection (EN) #152
Conversation
changed to description = "Ring of Fire Protection"; |
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 updated a few things. Test passes.
@@ -6,6 +6,7 @@ | |||
* Fix [#50](https://g1cp.org/issues/50): The inaccessible chest of the crypt below the stonehenge is now correctly positioned and accessible. | |||
* Fix [#52](https://g1cp.org/issues/52): The grindstone in the New Camp now correctly requires a sword blade to use. | |||
* Fix [#149](https://g1cp.org/issues/149): The armor "Improved ore Armor" is now correctly labelled as "Improved Ore Armor". | |||
* Fix [#152](https://g1cp.org/issues/152): The description of the ring "Protection of Fire" is corrected to "Ring of Fire Protection". |
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.
var int symbId; symbId = MEM_GetSymbolIndex("Schutzring_Feuer2"); | ||
const string needle = "Protection of Fire"; | ||
const string replace = "Ring of Fire Protection"; | ||
return (G1CP_ReplaceAssignStr(symbId, "C_ITEM.DESCRIPTION", 0, needle, replace) > 0); |
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 have split this line to stay within 120 character limit of the line.
if (Hlp_StrCmp(item.description, "Ring of Fire Protection")) { | ||
return TRUE; | ||
} else { | ||
var string msg; msg = "Description incorrect: description = '"; |
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 set "description" to upper case for consistent test output.
Describe the bug
In the English localization the description of the ring Protection of Fire is inconsistent and grammatically incorrect.
Changelog
Changed description of ring "Protection of Fire" to "Ring of Fire Protection"