Use foundry vtt provided rollmode labels

This commit is contained in:
Johannes Loher 2021-03-17 19:23:57 +01:00
parent 90c2b7843c
commit 0d864b67c1
5 changed files with 6 additions and 24 deletions

View file

@ -10,9 +10,9 @@
<label for="visibility">{{localize "DS4.RollDialogVisibilityLabel"}}</label>
<select id="visibility" data-type="String">
{{#select rollMode}}
{{#each config.i18n.chatVisibilities as |rollModeValue rollModeKey|}}
<option value="{{rollModeKey}}">{{rollModeValue}}</option>
{{#each rollModes as |rollModeValue rollModeKey|}}
<option value="{{rollModeKey}}">{{localize rollModeValue}}</option>
{{/each}}
{{/select}}
</select>
</form>
</form>