move comment from json to js

This commit is contained in:
Kazuki-Nakanishi 2018-05-28 17:06:38 +09:00
parent b2cca10e8b
commit b0c693cc3a
2 changed files with 2 additions and 1 deletions

View File

@ -897,6 +897,7 @@ RED.sidebar.versionControl = (function() {
},
400: {
'git_push_failed': function(err) {
// TODO: better message
RED.notify(RED._("sidebar.project.versionControl.pushFailed"),"error");
},
'unexpected_error': function(error) {

View File

@ -495,7 +495,7 @@
"createRemoteBranchPlaceholder": "Find or create a remote branch",
"trackedUpstreamBranch": "The created branch will be set as the tracked upstream branch.",
"selectUpstreamBranch": "The branch will be created. Select below to set it as the tracked upstream branch.",
"pushFailed": "Push failed as the remote has more recent commits. Pull and merge first, then push again.", // TODO: better message
"pushFailed": "Push failed as the remote has more recent commits. Pull and merge first, then push again.",
"push": "push",
"pull": "pull",
"unablePull": "<p>Unable to pull remote changes; your unstaged local changes would be overwritten.</p><p>Commit your changes and try again.</p>",