diff --git a/frontend/locales/en.yml b/frontend/locales/en.yml
index bfc1c04..e585bac 100644
--- a/frontend/locales/en.yml
+++ b/frontend/locales/en.yml
@@ -11,16 +11,38 @@ en:
onbase_id: OnBase ID
document_type: Document Type
keywords: Keywords
+ filename: Filename
+ mime_type: MIME-Type
+ linked_record: Linked Record
_frontend:
action:
add: Add OnBase Document
save: Save OnBase Document
create: Create an OnBase Document
+ download: Download Document
+ upload: Upload Document
+ fetch_keywords: Fetch Keywords from OnBase
+ show_linker: Or link to an existing OnBase Document?
+ upload_and_link: Upload and Link to OnBase Document
+ delete: Delete OnBase Document
messages:
updated: OnBase Document Saved
document_type_required: Document Type is required
file_required: File to Import is required
keyword_required: Keyword "%{code}" is required
+ no_document_types_defined: "There are no OnBase document types defined for this record: %{parent_type}"
+ transferring_file_step_1: Transferring file...
+ transferring_file_step_2: Transferred!
+ transferring_file_step_3: Sending to the OnBase Service...
+ transferring_file_step_4: Done!
+ transferring_file_error: Error -- see message above.
+ edit_not_supported: Edit of Onbase Record not supported
+ system_generated: System Generated
+ type_not_supported: "Type not supported: %{type}"
+ no_keywords: There are no keywords stored in OnBase for this document
+ delete: This action will queue the OnBase Document to be deleted from both ArchivesSpace and OnBase. This action cannot be undone.
+ unlinked: OnBase Document is unlinked
+
onbase_document_keyword:
linked_record_system_id: Record ID
agent_system_id: Agent ID
diff --git a/frontend/views/onbase_documents/_form.html.erb b/frontend/views/onbase_documents/_form.html.erb
index 1c0ba2e..9fc5860 100644
--- a/frontend/views/onbase_documents/_form.html.erb
+++ b/frontend/views/onbase_documents/_form.html.erb
@@ -23,7 +23,7 @@
<% else %>
- There are no OnBase document types defined for this record: <%= @parent_type %>
+ <%= I18n.t("plugins.onbase_document._frontend.messages.no_document_types_defined", :parent_type => @parent_type) %>
- System Generated
+ <%= I18n.t("plugins.onbase_document._frontend.messages.system_generated") %>
<% else %>
- Type not supported: <%= field[:type] %>
+ <%= I18n.t("plugins.onbase_document._frontend.messages.type_not_supported", :type => field[:type]) %>
<% end %>
<% end %>
diff --git a/frontend/views/onbase_documents/_keywords_readonly.html.erb b/frontend/views/onbase_documents/_keywords_readonly.html.erb
index f7e0920..b55bf2f 100644
--- a/frontend/views/onbase_documents/_keywords_readonly.html.erb
+++ b/frontend/views/onbase_documents/_keywords_readonly.html.erb
@@ -1,5 +1,5 @@
<% if @keywords.empty? %>
- There are no keywords stored in OnBase for this document
+ <%= I18n.t("plugins.onbase_document._frontend.messages.no_keywords") %>
<% else %>