Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
datlechin committed Jun 13, 2024
1 parent 6dca9d0 commit efb6869
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 4 additions & 1 deletion js/src/admin/components/SettingsPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,10 @@ export default class SettingsPage extends ExtensionPage {
onclick={() => app.modal.show(EditTourGuideStepModal, { model: step })}
/>
</td>
<td>{step.isTriggerClick() ? 'Yes' : 'No'}</td>
<td>{step.isTriggerClick()
? app.translator.trans('datlechin-simple-tour-guide.admin.yes')
: app.translator.trans('datlechin-simple-tour-guide.admin.no')
}</td>
</tr>
))}
</tbody>
Expand Down
2 changes: 2 additions & 0 deletions locale/en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ datlechin-simple-tour-guide:
target: Target
target_placeholder: "The target element of the step (e.g. #element-id)."
trigger_click: Trigger click
yes: Yes
no: No

forum:
progress_text: "{current} of {total}"
Expand Down

0 comments on commit efb6869

Please sign in to comment.