Skip to content

Commit

Permalink
add optional i18n for feature titles
Browse files Browse the repository at this point in the history
  • Loading branch information
warm-coolguy committed Feb 26, 2024
1 parent a215cea commit da91743
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions packages/plugins/AddressSearch/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# CHANGELOG

## unpublished

- Feature: Add title internationalization; i.e. features may now contain locale keys as titles.

## 1.2.1

- Fix: Keyboard navigation of results to work on all browsers.
Expand Down
2 changes: 1 addition & 1 deletion packages/plugins/AddressSearch/src/components/Results.vue
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
>
<v-list-item-title>
<!-- eslint-disable-next-line vue/no-v-html -->
<span v-html="emTitleByInput(feature.title, inputValue)"></span>
<span v-html="emTitleByInput($t(feature.title), inputValue)"></span>
</v-list-item-title>
</v-list-item>
</template>
Expand Down

0 comments on commit da91743

Please sign in to comment.