Skip to content

Commit

Permalink
feat(completions): update psc
Browse files Browse the repository at this point in the history
  • Loading branch information
abgox committed Jul 6, 2024
1 parent 071fb58 commit e4ed20e
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
2 changes: 1 addition & 1 deletion completions/psc/guid.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
e7066493-00cf-41e5-bf10-acaa490bfbf6
4e284f57-7d07-4605-ad3a-67823a7bc9be
5 changes: 3 additions & 2 deletions completions/psc/language/en-US.json
Original file line number Diff line number Diff line change
Expand Up @@ -1447,7 +1447,8 @@
"<@Red>PSCompletions module update failed.\n",
"<@Yellow>Possible reasons for failure:\n",
"1. Network issue.\n",
"2. Permissions issue, In version 4.0.0+, you must install with user permissions.(<@Magenta>-Scope CurrentUser<@Yellow>)\n",
"2. If you used the scoop package manager to install PSCompletions, you should also use scoop to update it.(<@Magenta>scoop update PSCompletions<@Yellow>)\n",
"3. Permissions issue, In version 4.0.0+, you must install with user permissions.(<@Magenta>-Scope CurrentUser<@Yellow>)\n",
" - Permission issue for upgrading modules from v3.x.x to v4.x.x in Windows PowerShell(powershell)\n",
" - If you are using Windows PowerShell(powershell) and are updating modules, you should first remove all PSCompletions modules from your computer.\n",
" - Then use <@Magenta>Install-Module PSCompletions -Scope CurrentUser<@Yellow> to install the latest version of PSCompletions module.\n",
Expand All @@ -1457,7 +1458,7 @@
" - Then use <@Magenta>Install-Module PSCompletions -Scope CurrentUser<@Yellow> to install the latest version of PSCompletions module.\n",
" - <@Magenta>-Scope CurrentUser<@Yellow> is required, <@Red> cannot use '-Scope AllUser'<@Yellow>\n",
" - You are free to handle width the previously backed up module directory.\n",
"3. For other reasons, please submit an issue. ( https://github.com/abgox/PSCompletions/issues )\n"
"4. For other reasons, please submit an issue. ( https://github.com/abgox/PSCompletions/issues )\n"
]
},
"update_info": [
Expand Down
5 changes: 3 additions & 2 deletions completions/psc/language/zh-CN.json
Original file line number Diff line number Diff line change
Expand Up @@ -1449,7 +1449,8 @@
"<@Red>PSCompletions 模块更新失败, 请检查原因\n",
"<@Yellow>可能的失败原因:\n",
"1. 网络问题\n",
"2. 权限问题, 在 4.0.0+ 版本中, 你必须以用户权限(<@Magenta>-Scope CurrentUser<@Yellow>)安装\n",
"2. 如果你使用了 scoop 包管理器安装 PSCompletions, 你也应该使用 scoop 更新它(<@Magenta>scoop update PSCompletions<@Yellow>)\n",
"3. 权限问题, 在 4.0.0+ 版本中, 你必须以用户权限(<@Magenta>-Scope CurrentUser<@Yellow>)安装\n",
" - 在 Windows PowerShell(powershell) 中将模块从 v3.x.x 升级到 v4.x.x 的权限问题\n",
" - 如果你正在使用 Windows PowerShell(powershell), 且正在升级模块, 此时, 你应该先删除电脑中所有的 PSCompletions 模块\n",
" - 然后使用 <@Magenta>Install-Module PSCompletions -Scope CurrentUser<@Yellow> 来安装最新版本的 PSCompletions 模块\n",
Expand All @@ -1459,7 +1460,7 @@
" - 然后使用 <@Magenta>Install-Module PSCompletions -Scope CurrentUser<@Yellow> 来安装最新版本的 PSCompletions 模块\n",
" - <@Magenta>-Scope CurrentUser<@Yellow> 必须指定, <@Red>不能使用 -Scope AllUser<@Yellow>\n",
" - 你可以看情况处理之前备份的模块目录\n",
"3. 其他原因, 请提交 issue ( https://github.com/abgox/PSCompletions/issues )\n"
"4. 其他原因, 请提交 issue ( https://github.com/abgox/PSCompletions/issues )\n"
]
},
"update_info": [
Expand Down

0 comments on commit e4ed20e

Please sign in to comment.