update text strings

This commit is contained in:
Zachary Chai 2016-11-18 13:59:20 -05:00
parent b8ec40c35f
commit 6620df9c65
4 changed files with 21 additions and 11 deletions

View File

@ -13,14 +13,14 @@ class @Recordings
info: false,
order: [[ 0, "desc" ]],
language: {
emptyTable: " "
emptyTable: I18n.no_recordings
},
columns: [
{ data: "start_time" },
{ data: "previews" },
{ data: "previews", orderable: false },
{ data: "duration" },
{ data: "playbacks" },
{ data: "id" }
{ data: "playbacks", orderable: false },
{ data: "id", orderable: false }
],
columnDefs: [
{
@ -61,7 +61,7 @@ class @Recordings
roomName = Meeting.getInstance().getId()
published = row.published
icon = getPublishClass(published)
publishText = if published then 'publish' else 'unpublish'
publishText = if published then 'unpublish' else 'publish'
recordingActions = $('.hidden-elements').find('.recording-actions')
recordingActions.find('.recording-update > i')
.removeClass()
@ -74,6 +74,13 @@ class @Recordings
}
]
})
options = {
selector: '.delete-tooltip',
container: 'body',
placement: 'bottom',
title: I18n.delete_recording
};
$('#recordings').tooltip(options);
# Gets the current instance or creates a new one
@getInstance: ->

View File

@ -25,6 +25,9 @@
content: none; //removes the sort icon in table header
}
}
.dataTables_empty {
text-align: center;
}
}
}

View File

@ -14,7 +14,6 @@
</div>
<div class="table-wrapper">
<h3><%= t('past_recordings') %></h3>
<table id="recordings" class="table" width="100%">
<thead>
<th><%= t('date_recorded') %></th>
@ -49,8 +48,8 @@
<button type="button" class="btn btn-default recording-update bottom-tooltip" data-published="">
<i class="fa" aria-hidden="true"></i>
</button>
<a tabindex="0" role="button" class="btn btn-default has-popover bottom-tooltip"
data-placement="top" title="<%= t('delete_recording') %>">
<a tabindex="0" role="button" class="btn btn-default has-popover delete-tooltip"
data-placement="top">
<i class="fa fa-trash-o" aria-hidden="true"></i>
</a>
</div>

View File

@ -24,16 +24,18 @@ en-US:
are_you: Are you %{name}?
client:
are_you_sure: Are you sure?
delete_recording: Delete recording
meeting_ended: Meeting was ended
meeting_started: Meeting was started
no_recordings: No recordings
publish_recording: Publish recording
recording_deleted: Recording was deleted
recording_published: Recording was published
recording_unpublished: Recording was unpublished
unpublish_recording: Unpublish recording
unpublish_recording: Hide recording
copied: Copied
copy_error: Use Ctrl-c to copy
date_recorded: Date Recorded
date_recorded: Date
duration: Duration
end: End
enter_name: Enter your name
@ -52,7 +54,6 @@ en-US:
powered_bigbluebutton: Powered by BigBlueButton
presentation: Presentation
refresh_html: <a href="#" class="generate-link">Click refresh</a> to generate a new meeting URL
delete_recording: Delete recording
session_url_explanation: The session will be taking place using the following URL
start: Start
start_new_session: Start a new session