Skip to content

Commit

Permalink
Fix gitextensions#5999: Add option to qoute arguments in script parser
Browse files Browse the repository at this point in the history
- Use {option} for old/existing way
- Use {{option}} for quoted arguments. When replaced options ends with backslash, this backslash is escaped.
  • Loading branch information
Fernsehkind committed Dec 28, 2018
1 parent 7bfc7ae commit 1b8bb93
Show file tree
Hide file tree
Showing 3 changed files with 221 additions and 142 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,10 @@ public partial class ScriptsSettingsPage : SettingsPageWithHeader
#region translation

private readonly TranslationString _scriptSettingsPageHelpDisplayArgumentsHelp = new TranslationString("Arguments help");
private readonly TranslationString _scriptSettingsPageHelpDisplayContent = new TranslationString(@"User Input:
private readonly TranslationString _scriptSettingsPageHelpDisplayContent = new TranslationString(@"Use {option} for normal replacement.
Use {{option}} for qouted replacement.
User Input:
{UserInput}
{UserFiles}
Expand Down

0 comments on commit 1b8bb93

Please sign in to comment.