summaryrefslogtreecommitdiffstats
path: root/pkg/i18n
diff options
context:
space:
mode:
authorKristijan Husak <husakkristijan@gmail.com>2018-10-17 14:20:15 +0200
committerKristijan Husak <husakkristijan@gmail.com>2018-10-20 11:58:08 +0200
commit990dc8c4ea1133a58d5c863abd543ee5cde1e700 (patch)
tree80cee673655645b82f7d76d2cc2be409c16c1c8e /pkg/i18n
parentc69fce2e9d28dc847ad5a4528b99682fe61762af (diff)
Add separate open command for links and check if branch exists on remote before opening pull request link.
Diffstat (limited to 'pkg/i18n')
-rw-r--r--pkg/i18n/dutch.go3
-rw-r--r--pkg/i18n/english.go3
-rw-r--r--pkg/i18n/polish.go3
3 files changed, 9 insertions, 0 deletions
diff --git a/pkg/i18n/dutch.go b/pkg/i18n/dutch.go
index c95b3a99c..74b230ab4 100644
--- a/pkg/i18n/dutch.go
+++ b/pkg/i18n/dutch.go
@@ -385,6 +385,9 @@ func addDutch(i18nObject *i18n.Bundle) error {
}, &i18n.Message{
ID: "createPullRequest",
Other: `maak een pull-aanvraag`,
+ }, &i18n.Message{
+ ID: "NoBranchOnRemote",
+ Other: `Deze tak bestaat niet op de afstandsbediening. U moet eerst op de afstandsbediening drukken.`,
},
)
}
diff --git a/pkg/i18n/english.go b/pkg/i18n/english.go
index a549c3d58..96c2031bf 100644
--- a/pkg/i18n/english.go
+++ b/pkg/i18n/english.go
@@ -408,6 +408,9 @@ func addEnglish(i18nObject *i18n.Bundle) error {
}, &i18n.Message{
ID: "createPullRequest",
Other: `create pull request`,
+ }, &i18n.Message{
+ ID: "NoBranchOnRemote",
+ Other: `This branch doesn't exist on remote. You need to push it to remote first.`,
},
)
}
diff --git a/pkg/i18n/polish.go b/pkg/i18n/polish.go
index e7003ca36..975035771 100644
--- a/pkg/i18n/polish.go
+++ b/pkg/i18n/polish.go
@@ -383,6 +383,9 @@ func addPolish(i18nObject *i18n.Bundle) error {
}, &i18n.Message{
ID: "createPullRequest",
Other: `utwórz żądanie wyciągnięcia`,
+ }, &i18n.Message{
+ ID: "NoBranchOnRemote",
+ Other: `Ta gałąź nie istnieje na zdalnym. Najpierw musisz go odepchnąć na odległość.`,
},
)
}