Changing labels.
This commit is contained in:
parent
4a775b1df5
commit
91ade27d81
@ -71,16 +71,16 @@ function register ({ registerHook, registerSettingsScript, peertubeHelpers }: Re
|
|||||||
container.append(table)
|
container.append(table)
|
||||||
// TODO: translate labels.
|
// TODO: translate labels.
|
||||||
const labels: any = {
|
const labels: any = {
|
||||||
Name: 'Name',
|
RoomName: 'Room name',
|
||||||
Description: 'Description',
|
RoomDescription: 'Room description',
|
||||||
NotFound: 'Not found',
|
NotFound: 'Not found',
|
||||||
Video: 'Video'
|
Video: 'Video'
|
||||||
}
|
}
|
||||||
const titleLineEl = document.createElement('tr')
|
const titleLineEl = document.createElement('tr')
|
||||||
const titleNameEl = document.createElement('th')
|
const titleNameEl = document.createElement('th')
|
||||||
titleNameEl.textContent = labels.Name
|
titleNameEl.textContent = labels.RoomName
|
||||||
const titleDescriptionEl = document.createElement('th')
|
const titleDescriptionEl = document.createElement('th')
|
||||||
titleDescriptionEl.textContent = labels.Description
|
titleDescriptionEl.textContent = labels.RoomDescription
|
||||||
const titleVideoEl = document.createElement('th')
|
const titleVideoEl = document.createElement('th')
|
||||||
titleVideoEl.textContent = labels.Video
|
titleVideoEl.textContent = labels.Video
|
||||||
titleLineEl.append(titleNameEl)
|
titleLineEl.append(titleNameEl)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user