updated warning for github settings

createwwarniigin/master
lianahus 2 years ago
parent c7ba67c9dd
commit a2eee839ad
  1. 2
      apps/remix-ide/src/app/tabs/locales/en/filePanel.json
  2. 2
      libs/remix-ui/workspace/src/lib/actions/workspace.ts

@ -54,7 +54,7 @@
"filePanel.checkoutGitBranch": "Checkout Git Branch",
"filePanel.findOrCreateABranch": "Find or create a branch.",
"filePanel.initGitRepositoryLabel": "Initialize workspace as a new git repository",
"filePanel.initGitRepositoryWarning": "Please add username and email to Remix GitHub Settings to use git features.",
"filePanel.initGitRepositoryWarning": "To use Git features, add username and email to the Github section of the Settings panel.",
"filePanel.workspaceName": "Workspace name",
"filePanel.customizeTemplate": "Customize template",
"filePanel.features": "Features",

@ -97,7 +97,7 @@ export const createWorkspace = async (workspaceName: string, workspaceTemplateNa
if (!currentBranch) {
if (!name || !email) {
await plugin.call('notification', 'toast', 'Please add username and email to Remix GitHub Settings to use git features.')
await plugin.call('notification', 'toast', 'To use Git features, add username and email to the Github section of the Settings panel.')
} else {
// commit the template as first commit
plugin.call('notification', 'toast', 'Creating initial git commit ...')

Loading…
Cancel
Save