From 91ade27d81a7a4a8f50e7159185b882785b2e724 Mon Sep 17 00:00:00 2001 From: John Livingston Date: Mon, 19 Jul 2021 15:47:18 +0200 Subject: [PATCH] Changing labels. --- client/admin-plugin-client-plugin.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/client/admin-plugin-client-plugin.ts b/client/admin-plugin-client-plugin.ts index fde4199a..916b3d67 100644 --- a/client/admin-plugin-client-plugin.ts +++ b/client/admin-plugin-client-plugin.ts @@ -71,16 +71,16 @@ function register ({ registerHook, registerSettingsScript, peertubeHelpers }: Re container.append(table) // TODO: translate labels. const labels: any = { - Name: 'Name', - Description: 'Description', + RoomName: 'Room name', + RoomDescription: 'Room description', NotFound: 'Not found', Video: 'Video' } const titleLineEl = document.createElement('tr') const titleNameEl = document.createElement('th') - titleNameEl.textContent = labels.Name + titleNameEl.textContent = labels.RoomName const titleDescriptionEl = document.createElement('th') - titleDescriptionEl.textContent = labels.Description + titleDescriptionEl.textContent = labels.RoomDescription const titleVideoEl = document.createElement('th') titleVideoEl.textContent = labels.Video titleLineEl.append(titleNameEl)