Skip to content

Commit

Permalink
Update Importer for 2024 (NFC) (#703)
Browse files Browse the repository at this point in the history
  • Loading branch information
sciencewhiz authored Oct 15, 2024
1 parent 600406c commit 5d66645
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion vscode-wpilib/locale/zh-cn/package.i18n.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ wpilibcore.help.title: 打开 WPILib 帮助
wpilibcore.openCommandPalette.title: 打开 WPILib 的命令面板
wpilibcore.refreshCppProperties.title: 更新 Gradle C++ 属性
wpilibcore.selectCppToolchain.title: 选择当前的 C++ 工具链
wpilibcore.importGradle2020Project.title: 将 Gradle 2020-2023 项目迁移到 VSCode
wpilibcore.importGradle2020Project.title: 将 Gradle 2020-2024 项目迁移到 VSCode
wpilibcore.createNewProject.title: 创建一个新项目
wpilibcore.manageVendorLibs.title: 管理外部供应商库
wpilibcore.setJavaHome.title: 设置 Java 环境
Expand Down
2 changes: 1 addition & 1 deletion vscode-wpilib/package.nls.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"wpilibcore.openCommandPalette.title": "Open WPILib Command Palette",
"wpilibcore.refreshCppProperties.title": "Refresh C++ Intellisense",
"wpilibcore.selectCppToolchain.title": "Select Current C++ Toolchain",
"wpilibcore.importGradle2020Project.title": "Import a WPILib 2020-2023 Gradle project",
"wpilibcore.importGradle2020Project.title": "Import a WPILib 2020-2024 Gradle project",
"wpilibcore.createNewProject.title": "Create a new project",
"wpilibcore.manageVendorLibs.title": "Manage Vendor Libraries",
"wpilibcore.setJavaHome.title": "Set VS Code Java Home to FRC Home",
Expand Down
4 changes: 2 additions & 2 deletions vscode-wpilib/resources/webviews/gradle2020import.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<html>

<head>
<title>WPILib 2020-2023 Project Import</title>
<title>WPILib 2020-2024 Project Import</title>
<style>
.error {
color: red;
Expand All @@ -17,7 +17,7 @@
<body>
<img src="replaceresource/resources/wpilib-generic.svg" height="75" />

<h1>Welcome to WPILib 2020-2023 Project Importer</h1>
<h1>Welcome to WPILib 2020-2024 Project Importer</h1>

The import process copies your project source files from the current directory to a new directory and completely regenerates the gradle files. If you made non-standard updates to the build.gradle, you will need to make those changes again. For this reason, in place upgrades are not supported. It is also necessary to import vendor libraries again, since last year's vendor libraries must be updated to be compatible with this year's projects. See <a href="https://docs.wpilib.org/en/stable/docs/software/wpilib-overview/importing-gradle-project.html">Importing a Gradle Project</a> on frc-docs for more details.
<br/>
Expand Down
2 changes: 1 addition & 1 deletion vscode-wpilib/src/webviews/gradle2020import.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export class Gradle2020Import extends WebViewBase {
private onLoad?: () => Promise<void>;

private constructor(resourceRoot: string) {
super('wpilibgradle2020import', 'WPILib Gradle 2020-2023 Import', resourceRoot);
super('wpilibgradle2020import', 'WPILib Gradle 2020-2024 Import', resourceRoot);

this.disposables.push(vscode.commands.registerCommand('wpilibcore.importGradle2020Project', () => {
return this.startWebpage();
Expand Down

0 comments on commit 5d66645

Please sign in to comment.