diff --git a/src/lang/en-US/index.json b/src/lang/en-US/index.json index 4077a5f081..f0f7c1ad06 100644 --- a/src/lang/en-US/index.json +++ b/src/lang/en-US/index.json @@ -581,6 +581,11 @@ "layout_preview": "Layout Preview", "layout_setup": "Layout Setup", + "unsaved_changes": "Unsaved Changes", + "unsaved_changes_copy": "Are you sure you want to leave this page?", + "discard_changes": "Discard Changes", + "keep_editing": "Keep Editing", + "page_help_collections_overview": "Provides a listing of all collections you have access to.", "page_help_collections_browse": "**Item Browse Page** — Customize the layout, filters, and sorting to tailor your view of items within this {collection} collection.

You can also save bookmarks of these different configurations to quickly switch between them.

Learn More", "page_help_collections_detail": "For more information this page please refer to the

Learn More", @@ -746,7 +751,6 @@ "desc": "desc", "description": "Description", "dialog_beginning": "Beginning of dialog window.", - "discard_changes": "Discard Changes", "display_name": "Display Name", "directus_version": "Directus Version", "done": "Done", @@ -855,7 +859,6 @@ "item_deleted": "Item Deleted", "item_saved": "Item Saved | {count} Items Saved", "junction_collection": "Junction Collection", - "keep_editing": "Keep Editing", "latency": "Latency", "learn_more": "Learn More", "length_disabled_placeholder": "Length is determined by the datatype", @@ -980,8 +983,6 @@ "to": "To", "turn_all_on": "Turn all on", "turn_all_off": "Turn all off", - "unsaved_changes": "Unsaved Changes", - "unsaved_changes_copy": "Are you sure you want to leave this page?", "update_confirm": "Are you sure you want to update {count} items?", "update_field": "Update Field", "upload_exceeds_max_size": "{filename} can't be uploaded. Your server is not configured to handle uploads of this size.", diff --git a/src/modules/collections/routes/detail/detail.vue b/src/modules/collections/routes/detail/detail.vue index 0f7b863a7a..acd2e08526 100644 --- a/src/modules/collections/routes/detail/detail.vue +++ b/src/modules/collections/routes/detail/detail.vue @@ -142,6 +142,19 @@ v-model="edits" /> + + + {{ $t('unsaved_changes') }} + {{ $t('unsaved_changes_copy') }} + + + {{ $t('discard_changes') }} + + {{ $t('keep_editing') }} + + + +