fixinganerror
lianahus 1 year ago
parent 5ea6f8d4ad
commit ec2243253a
  1. 1
      apps/remix-ide/src/app/files/fileManager.ts
  2. 1
      apps/remix-ide/src/app/tabs/locales/es/home.json
  3. 3
      apps/remix-ide/src/app/tabs/locales/zh/home.json
  4. 2
      libs/remix-ws-templates/src/index.ts

@ -264,7 +264,6 @@ class FileManager extends Plugin {
if (await this.exists(path)) {
const newPath = await helper.createNonClashingNameAsync(path, this)
const content = await this.setFileContent(newPath, data)
console.log("newp in write ", newPath)
return {newContent: content, newPath}
} else {
const ret = await this.setFileContent(path, data)

@ -55,7 +55,6 @@
"home.files": "Files",
"home.newFile": "New File",
"home.openFile": "Open File",
"home.openFileTooltip": "Open a File from you File System",
"home.connectToLocalhost": "Access File System",
"home.loadFrom": "Load from",
"home.resources": "Resources"

@ -54,10 +54,7 @@
"home.searchDocumentation": "搜索文档",
"home.files": "文件",
"home.newFile": "新建文件",
"home.startCoding": "Start Coding",
"home.startCodingPlayground": "Open a playground for prototyping and simply learning",
"home.openFile": "打开本地文件",
"home.openFileTooltip": "Open a File from you File System",
"home.connectToLocalhost": "连接本地主机",
"home.loadFrom": "从以下来源导入",
"home.resources": "资源"

@ -1,4 +1,4 @@
export { default as remixDefault } from './templates/playground'
export { default as remixDefault } from './templates/remixDefault'
export { default as blank } from './templates/blank'
export { default as ozerc20 } from './templates/ozerc20'
export { default as ozerc721 } from './templates/ozerc721'

Loading…
Cancel
Save