Skip to content

Commit

Permalink
Update: Add annotation button strings for localizing (#623)
Browse files Browse the repository at this point in the history
  • Loading branch information
pramodsum authored Feb 2, 2018
1 parent d29f320 commit ed63a02
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/i18n/en-US.properties
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,10 @@ box3d_settings=Settings
annotation_add_comment_placeholder=Add a comment here...
# Placeholder text for reply textarea in annotation dialog
annotation_reply_placeholder=Post a reply...
# Text for finish annotation mode button
annotation_done=Done
# Text for close annotation mode button
annotation_close=Close
# Text for cancel annotation button
annotation_cancel=Cancel
# Text for save annotation button
Expand Down
2 changes: 2 additions & 0 deletions src/lib/viewers/BaseViewer.js
Original file line number Diff line number Diff line change
Expand Up @@ -894,6 +894,8 @@ class BaseViewer extends EventEmitter {
createError: __('annotations_create_error'),
deleteError: __('annotations_delete_error'),
authError: __('annotations_authorization_error'),
doneButton: __('annotation_done'),
closeButton: __('annotation_close'),
cancelButton: __('annotation_cancel'),
saveButton: __('annotation_save'),
postButton: __('annotation_post'),
Expand Down

0 comments on commit ed63a02

Please sign in to comment.