Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/microsoft/vscode.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLadislau Szomoru <3372902+lszomoru@users.noreply.github.com>2022-06-02 17:27:06 +0300
committerGitHub <noreply@github.com>2022-06-02 17:27:06 +0300
commit59fa71999ecf3035abdc836410b076f397de4c42 (patch)
tree28ed97ecd931847118c96ab65035b3409e367539 /extensions
parent826f0f6e4a83529467ad04719fdbfcc64102b172 (diff)
Git - branch name generation setting feedback (#151106)
Diffstat (limited to 'extensions')
-rw-r--r--extensions/git/package.json14
-rw-r--r--extensions/git/package.nls.json6
2 files changed, 18 insertions, 2 deletions
diff --git a/extensions/git/package.json b/extensions/git/package.json
index 8f96b80fbe1..ef401886f02 100644
--- a/extensions/git/package.json
+++ b/extensions/git/package.json
@@ -1913,7 +1913,19 @@
"type": "array",
"markdownDescription": "%config.branchRandomNameDictionary%",
"items": {
- "type": "string"
+ "type": "string",
+ "enum": [
+ "adjectives",
+ "animals",
+ "colors",
+ "numbers"
+ ],
+ "enumDescriptions": [
+ "%config.branchRandomNameDictionary.adjectives%",
+ "%config.branchRandomNameDictionary.animals%",
+ "%config.branchRandomNameDictionary.colors%",
+ "%config.branchRandomNameDictionary.numbers%"
+ ]
},
"default": [
"adjectives",
diff --git a/extensions/git/package.nls.json b/extensions/git/package.nls.json
index e1a8c6a9faf..b729f821b61 100644
--- a/extensions/git/package.nls.json
+++ b/extensions/git/package.nls.json
@@ -126,7 +126,11 @@
"config.branchProtectionPrompt.alwaysCommit": "Always commit changes to the protected branch.",
"config.branchProtectionPrompt.alwaysCommitToNewBranch": "Always commit changes to a new branch.",
"config.branchProtectionPrompt.alwaysPrompt": "Always prompt before changes are committed to a protected branch.",
- "config.branchRandomNameDictionary": "List of dictionaries used when the branch name that is randomly generated. Supported values: `adjectives`, `animals`, `colors`, `numbers`.",
+ "config.branchRandomNameDictionary": "List of dictionaries used for the randomly generated branch name. Each value represents the dictionary used to generate the segment of the branch name. Supported dictionaries: `adjectives`, `animals`, `colors` and `numbers`.",
+ "config.branchRandomNameDictionary.adjectives": "A random adjective",
+ "config.branchRandomNameDictionary.animals": "A random animal name",
+ "config.branchRandomNameDictionary.colors": "A random color name",
+ "config.branchRandomNameDictionary.numbers": "A random number between 100 and 999",
"config.branchRandomNameEnable": "Controls whether a random name is generated when creating a new branch.",
"config.branchValidationRegex": "A regular expression to validate new branch names.",
"config.branchWhitespaceChar": "The character to replace whitespace in new branch names, and to separate segments of a randomly generated branch name.",