Skip to content

Commit e3945c4

Browse files
G-RathAnatoly Bolshakov
andauthored
fix: improve grammar of ExactVersionNotRecommended messages (#14870)
* fix: improve grammar of `ExactVersionNotRecommended` messages * chore: bump version numbers Co-authored-by: Anatoly Bolshakov <[email protected]>
1 parent d7f9db5 commit e3945c4

File tree

6 files changed

+14
-14
lines changed

6 files changed

+14
-14
lines changed

Tasks/UsePythonVersionV0/Strings/resources.resjson/en-US/resources.resjson

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,5 +17,5 @@
1717
"loc.messages.ToolNotFoundMicrosoftHosted": "If this is a Microsoft-hosted agent, check that this image supports side-by-side versions of %s at %s.",
1818
"loc.messages.ToolNotFoundSelfHosted": "If this is a self-hosted agent, see how to configure side-by-side %s versions at %s.",
1919
"loc.messages.VersionNotFound": "Version spec %s for architecture %s did not match any version in Agent.ToolsDirectory.",
20-
"loc.messages.ExactVersionNotRecommended": "It is not recommended to specify exact version on Microsoft-Hosted agents. Patch version of Python can be replaced by new one on Hosted agents without notice and build stops to work. it is recommended to specify only major or major and minor version (Example: `3` or `3.6`)"
21-
}
20+
"loc.messages.ExactVersionNotRecommended": "Specifying an exact version is not recommended on Microsoft-Hosted agents. Patch versions of Python can be replaced by new ones on Hosted agents without notice, which will cause builds to fail unexpectedly. It is recommended to specify only major or major and minor version (Example: `3` or `3.6`)"
21+
}

Tasks/UsePythonVersionV0/task.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"minimumAgentVersion": "2.182.1",
1515
"version": {
1616
"Major": 0,
17-
"Minor": 186,
17+
"Minor": 188,
1818
"Patch": 0
1919
},
2020
"demands": [],
@@ -77,7 +77,7 @@
7777
"ToolNotFoundMicrosoftHosted": "If this is a Microsoft-hosted agent, check that this image supports side-by-side versions of %s at %s.",
7878
"ToolNotFoundSelfHosted": "If this is a self-hosted agent, see how to configure side-by-side %s versions at %s.",
7979
"VersionNotFound": "Version spec %s for architecture %s did not match any version in Agent.ToolsDirectory.",
80-
"ExactVersionNotRecommended": "It is not recommended to specify exact version on Microsoft-Hosted agents. Patch version of Python can be replaced by new one on Hosted agents without notice and build stops to work. it is recommended to specify only major or major and minor version (Example: `3` or `3.6`)"
80+
"ExactVersionNotRecommended": "Specifying an exact version is not recommended on Microsoft-Hosted agents. Patch versions of Python can be replaced by new ones on Hosted agents without notice, which will cause builds to fail unexpectedly. It is recommended to specify only major or major and minor version (Example: `3` or `3.6`)"
8181
},
8282
"restrictions": {
8383
"commands": {
@@ -87,4 +87,4 @@
8787
"allowed": ["pythonLocation", "PATH"]
8888
}
8989
}
90-
}
90+
}

Tasks/UsePythonVersionV0/task.loc.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"minimumAgentVersion": "2.182.1",
1515
"version": {
1616
"Major": 0,
17-
"Minor": 186,
17+
"Minor": 188,
1818
"Patch": 0
1919
},
2020
"demands": [],
@@ -87,4 +87,4 @@
8787
"allowed": ["pythonLocation", "PATH"]
8888
}
8989
}
90-
}
90+
}

Tasks/UseRubyVersionV0/Strings/resources.resjson/en-US/resources.resjson

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,5 @@
1212
"loc.messages.ToolNotFoundMicrosoftHosted": "If this is a Microsoft-hosted agent, check that this image supports side-by-side versions of %s at %s.",
1313
"loc.messages.ToolNotFoundSelfHosted": "If this is a self-hosted agent, see how to configure side-by-side %s versions at %s.",
1414
"loc.messages.VersionNotFound": "Version spec %s for architecture %s did not match any version in Agent.ToolsDirectory.",
15-
"loc.messages.ExactVersionNotRecommended": "It is not recommended to specify exact version on Microsoft-Hosted agents. Patch version of Ruby can be replaced by new one on Hosted agents without notice and build stops to work. it is recommended to specify only major or major and minor version (Example: `2` or `2.4`)"
16-
}
15+
"loc.messages.ExactVersionNotRecommended": "Specifying an exact version is not recommended on Microsoft-Hosted agents. Patch versions of Ruby can be replaced by new ones on Hosted agents without notice, which will cause builds to fail unexpectedly. It is recommended to specify only major or major and minor version (Example: `2` or `2.4`)"
16+
}

Tasks/UseRubyVersionV0/task.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"author": "Microsoft Corporation",
1414
"version": {
1515
"Major": 0,
16-
"Minor": 186,
16+
"Minor": 188,
1717
"Patch": 0
1818
},
1919
"demands": [],
@@ -55,7 +55,7 @@
5555
"ToolNotFoundMicrosoftHosted": "If this is a Microsoft-hosted agent, check that this image supports side-by-side versions of %s at %s.",
5656
"ToolNotFoundSelfHosted": "If this is a self-hosted agent, see how to configure side-by-side %s versions at %s.",
5757
"VersionNotFound": "Version spec %s for architecture %s did not match any version in Agent.ToolsDirectory.",
58-
"ExactVersionNotRecommended": "It is not recommended to specify exact version on Microsoft-Hosted agents. Patch version of Ruby can be replaced by new one on Hosted agents without notice and build stops to work. it is recommended to specify only major or major and minor version (Example: `2` or `2.4`)"
58+
"ExactVersionNotRecommended": "Specifying an exact version is not recommended on Microsoft-Hosted agents. Patch versions of Ruby can be replaced by new ones on Hosted agents without notice, which will cause builds to fail unexpectedly. It is recommended to specify only major or major and minor version (Example: `2` or `2.4`)"
5959
},
6060
"restrictions": {
6161
"commands": {
@@ -65,4 +65,4 @@
6565
"allowed": ["rubyLocation", "PATH"]
6666
}
6767
}
68-
}
68+
}

Tasks/UseRubyVersionV0/task.loc.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"author": "Microsoft Corporation",
1414
"version": {
1515
"Major": 0,
16-
"Minor": 186,
16+
"Minor": 188,
1717
"Patch": 0
1818
},
1919
"demands": [],
@@ -68,4 +68,4 @@
6868
]
6969
}
7070
}
71-
}
71+
}

0 commit comments

Comments
 (0)