Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update: Add annotation button strings for localizing #623

Merged
merged 2 commits into from
Feb 2, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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