mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-18 23:27:26 +01:00
committed by
Blade Barringer
parent
1915f8665c
commit
0e5f748c9a
@@ -28,9 +28,6 @@
|
||||
"medium": "Medium",
|
||||
"hard": "Hard",
|
||||
"attributes": "Attributes",
|
||||
"physical": "Physical",
|
||||
"mental": "Mental",
|
||||
"otherExamples": "Eg, professional pursuits, hobbies, financial, etc.",
|
||||
"progress": "Progress",
|
||||
"daily": "Daily",
|
||||
"dailies": "Dailies",
|
||||
@@ -127,5 +124,9 @@
|
||||
"positionRequired": "\"position\" is required and must be a number.",
|
||||
"cantMoveCompletedTodo": "Can't move a completed todo.",
|
||||
"directionUpDown": "\"direction\" is required and must be 'up' or 'down'.",
|
||||
"alreadyTagged": "The task is already tagged with given tag."
|
||||
"alreadyTagged": "The task is already tagged with given tag.",
|
||||
"strengthExample": "Relating to exercise and activity",
|
||||
"intelligenceExample": "Relating to academic or mentally challenging pursuits",
|
||||
"perceptionExample": "Relating to work or financial tasks",
|
||||
"constitutionExample": "Relating to health, wellness, and social interaction"
|
||||
}
|
||||
|
||||
@@ -58,18 +58,21 @@ div(ng-if='::task.type!="reward"')
|
||||
ul.task-attributes
|
||||
li
|
||||
button(type='button', ng-class='{active: task.attribute=="str"}',
|
||||
ng-click='task.attribute="str"')
|
||||
=env.t('physical')
|
||||
ng-click='task.attribute="str"',
|
||||
popover=env.t('strengthExample'), popover-trigger='mouseenter', popover-placement='top')
|
||||
=env.t('strength')
|
||||
li
|
||||
button(type='button', ng-class='{active: task.attribute=="int"}',
|
||||
ng-click='task.attribute="int"')
|
||||
=env.t('mental')
|
||||
ng-click='task.attribute="int"',
|
||||
popover=env.t('intelligenceExample'), popover-trigger='mouseenter', popover-placement='top')
|
||||
=env.t('intelligence')
|
||||
li
|
||||
button(type='button', ng-class='{active: task.attribute=="con"}',
|
||||
ng-click='task.attribute="con"')
|
||||
=env.t('social')
|
||||
ng-click='task.attribute="con"',
|
||||
popover=env.t('constitutionExample'), popover-trigger='mouseenter', popover-placement='top')
|
||||
=env.t('constitution')
|
||||
li
|
||||
button(type='button', ng-class='{active: task.attribute=="per"}',
|
||||
ng-click='task.attribute="per"',
|
||||
popover=env.t('otherExamples'), popover-trigger='mouseenter', popover-placement='top')
|
||||
=env.t('other')
|
||||
popover=env.t('perceptionExamples'), popover-trigger='mouseenter', popover-placement='top')
|
||||
=env.t('perception')
|
||||
|
||||
Reference in New Issue
Block a user