changed to 'createChallengeCloneTasks' (#9300)

* changed to 'createChallengeCloneTasks'

* createChallengeCloneTasks

* Added new i18n strings
This commit is contained in:
Emily Ong
2017-11-16 00:34:33 +08:00
committed by Matteo Pagliazzi
parent 2038d5e7c8
commit e39b80bb9a
2 changed files with 2 additions and 1 deletions

View File

@@ -57,7 +57,7 @@
You do not have enough gems to create a Tavern challenge You do not have enough gems to create a Tavern challenge
// @TODO if buy gems button is added, add analytics tracking to it // @TODO if buy gems button is added, add analytics tracking to it
// see https://github.com/HabitRPG/habitica/blob/develop/website/views/options/social/challenges.jade#L134 // see https://github.com/HabitRPG/habitica/blob/develop/website/views/options/social/challenges.jade#L134
button.btn.btn-primary(v-once, v-if='creating', @click='createChallenge()') {{$t('createChallengeAddTasks')}} button.btn.btn-primary(v-once, v-if='creating', @click='createChallenge()') {{$t('createChallengeCloneTasks')}}
button.btn.btn-primary(v-once, v-if='!creating', @click='updateChallenge()') {{$t('updateChallenge')}} button.btn.btn-primary(v-once, v-if='!creating', @click='updateChallenge()') {{$t('updateChallenge')}}
.col-12.text-center .col-12.text-center
p(v-once) {{$t('challengeMinimum')}} p(v-once) {{$t('challengeMinimum')}}

View File

@@ -31,6 +31,7 @@
"either": "Either", "either": "Either",
"createChallenge": "Create Challenge", "createChallenge": "Create Challenge",
"createChallengeAddTasks": "Add Challenge Tasks", "createChallengeAddTasks": "Add Challenge Tasks",
"createChallengeCloneTasks": "Clone Challenge Tasks",
"addTaskToChallenge": "Add Task", "addTaskToChallenge": "Add Task",
"discard": "Discard", "discard": "Discard",
"challengeTitle": "Challenge Title", "challengeTitle": "Challenge Title",