Skip to content
Snippets Groups Projects
Commit 8e49a1b7 authored by dfurrer's avatar dfurrer
Browse files

OO-725: fixed wording, fixed initialisation of node-config, added needed css-class to previewlink

parent 1bd966bc
No related branches found
No related tags found
No related merge requests found
...@@ -136,6 +136,7 @@ public class VideoEditController extends ActivateableTabbableDefaultController ...@@ -136,6 +136,7 @@ public class VideoEditController extends ActivateableTabbableDefaultController
String displayname = StringHelper.escapeHtml(repositoryEntry.getDisplayname()); String displayname = StringHelper.escapeHtml(repositoryEntry.getDisplayname());
previewLink = LinkFactory.createCustomLink("command.preview", "command.preview", displayname, Link.NONTRANSLATED, videoConfigurationVc, this); previewLink = LinkFactory.createCustomLink("command.preview", "command.preview", displayname, Link.NONTRANSLATED, videoConfigurationVc, this);
previewLink.setTitle(getTranslator().translate("command.preview")); previewLink.setTitle(getTranslator().translate("command.preview"));
previewLink.setIconLeftCSS("o_icon o_icon-fw o_icon_preview");
previewLink.setEnabled(true); previewLink.setEnabled(true);
} }
videoConfigurationVc.contextPut("showOptions", Boolean.TRUE); videoConfigurationVc.contextPut("showOptions", Boolean.TRUE);
...@@ -374,6 +375,14 @@ class VideoOptionsForm extends FormBasicController{ ...@@ -374,6 +375,14 @@ class VideoOptionsForm extends FormBasicController{
descriptionField = uifactory.addRichTextElementForStringDataMinimalistic("description", "", desc, -1, -1, formLayout, getWindowControl()); descriptionField = uifactory.addRichTextElementForStringDataMinimalistic("description", "", desc, -1, -1, formLayout, getWindowControl());
updateDescriptionField(); updateDescriptionField();
uifactory.addFormSubmitButton("submit", formLayout); uifactory.addFormSubmitButton("submit", formLayout);
//init options-config
config.setBooleanEntry(VideoEditController.CONFIG_KEY_COMMENTS, videoComments.isSelected(0));
config.setBooleanEntry(VideoEditController.CONFIG_KEY_RATING, videoRating.isSelected(0));
config.setBooleanEntry(VideoEditController.CONFIG_KEY_AUTOPLAY, videoAutoplay.isSelected(0));
config.setStringValue(VideoEditController.CONFIG_KEY_DESCRIPTION_SELECT, description.getSelectedKey());
if(description.getSelectedKey() == "customDescription"){
config.setStringValue(VideoEditController.CONFIG_KEY_DESCRIPTION_CUSTOMTEXT, descriptionField.getValue());
}
} }
//update visibility of the textfield for entering custom description //update visibility of the textfield for entering custom description
......
chosenvideo=ausgewhlte Videoresource chosenvideo=Gew\u00E4hltes Video
command.changevideo=Videoresource ersetzten command.changevideo=Video ersetzten
command.choosevideo=Videoresource auswhlen command.choosevideo=Video auswhlen
command.closevideo=Fenster schliessen command.closevideo=Fenster schliessen
command.createvideo=Videoressource auswhlen oder importieren command.createvideo=Video auswhlen oder importieren
command.preview=preview video
title_video=Video title_video=Video
condition.accessibility.title=Zugang condition.accessibility.title=Zugang
header=Video auswhlen header=Video auswhlen
optionsSection=Optionen optionsSection=Optionen
no.video.chosen=Kein Video ausgew\u00E4hlt no.video.chosen=<i>Kein Video ausgew\u00E4hlt</i>
preview.video=Vorschau preview.video=Vorschau
title_cvideo=Videoressource title_cvideo=Videoressource
pane.tab.accessibility=Zugang pane.tab.accessibility=Zugang
pane.tab.videoconfig=Video pane.tab.videoconfig=Lerninhalt
pane.tab.deliveryOptions=$org.olat.core.gui.control.generic.iframe\:option.delivery pane.tab.deliveryOptions=$org.olat.core.gui.control.generic.iframe\:option.delivery
video.config.comments=Video Kommentare video.config.comments=Video Kommentare
video.config.rating=Video Bewertung video.config.rating=Video Bewertung
......
chosenvideo=Selected Videoressource chosenvideo=Selected Video
command.changevideo=Replace Videoressource command.changevideo=Replace Video
command.choosevideo=Choose Videoressource command.choosevideo=Choose Video
command.closevideo=Close window command.closevideo=Close window
command.createvideo=Select or import Videoressource command.createvideo=Select or import Video
command.preview=preview video
title_video=Video title_video=Video
condition.accessibility.title=Access condition.accessibility.title=Access
header=Select Video header=Select Video
......
...@@ -6,7 +6,7 @@ admin.config.transcoding=Transcoding aktivieren ...@@ -6,7 +6,7 @@ admin.config.transcoding=Transcoding aktivieren
admin.config.videoNode=Video Kursbaustein aktivieren admin.config.videoNode=Video Kursbaustein aktivieren
admin.menu.title=Video admin.menu.title=Video
admin.menu.title.alt=Konfiguration der Video-Resource admin.menu.title.alt=Konfiguration der Video-Resource
poster.select=Dieses Vorschaubild ausw\u00E4hlen poster.select=Poster ausw\u00E4hlen
quality.table.header.dimension=Dimension quality.table.header.dimension=Dimension
quality.table.header.format=Format quality.table.header.format=Format
quality.table.header.size=Gr\u00F6sse quality.table.header.size=Gr\u00F6sse
...@@ -36,7 +36,7 @@ track.table.header.delete=l\u00F6schen ...@@ -36,7 +36,7 @@ track.table.header.delete=l\u00F6schen
track.table.header.file=Datei track.table.header.file=Datei
track.table.header.language=Sprache track.table.header.language=Sprache
track.table.label=Untertitel track.table.label=Untertitel
track.upload=Upload track.upload=Hochladen
track.upload.error.nofile=Bitte w\u00E4hlen Sie eine Datei aus. track.upload.error.nofile=Bitte w\u00E4hlen Sie eine Datei aus.
track.upload.error.nolang=Bitte w\u00E4hlen Sie eine Sprache aus dieser Liste aus track.upload.error.nolang=Bitte w\u00E4hlen Sie eine Sprache aus dieser Liste aus
video.config.creationDate=Erstellungs Datum video.config.creationDate=Erstellungs Datum
...@@ -45,9 +45,9 @@ video.config.fileSize=Gr\u00F6sse der Videodatei ...@@ -45,9 +45,9 @@ video.config.fileSize=Gr\u00F6sse der Videodatei
video.config.filename=Dateinamen video.config.filename=Dateinamen
video.config.height=H\u00F6he video.config.height=H\u00F6he
video.config.poster=Poster video.config.poster=Poster
video.config.poster.hint=Hier k\u00F6nnen Sie das Titelbild konfigurieren welches vor dem Video angezeigt wird sowie in der Kursnode \u00FCbersicht. video.config.poster.hint=Hier legen Sie fest welches Bild sowohl als Poster / Startbild fr das Video im Kurs als auch als Titelbild fr die Lernressource auf der Infoseite benutzt wird.
video.config.poster.replace=Ersetzte poster video.config.poster.replace=Poster ersetzen
video.config.poster.upload=Upload poster video.config.poster.upload=Poster hochladen
video.config.ratio=Seitenverh\u00E4ltnis video.config.ratio=Seitenverh\u00E4ltnis
video.config.track.table.file=Untertitel Datei video.config.track.table.file=Untertitel Datei
video.config.tracks=Verf\u00FCgbare Untertiteldateien video.config.tracks=Verf\u00FCgbare Untertiteldateien
......
#Thu Apr 21 15:22:05 CEST 2016 #Thu Apr 21 15:22:05 CEST 2016
add.track=Add Subtitle add.track=Add Subtitle
admin.config.enable=enable videoresource admin.config.enable=Enable videoresource
admin.config.title=Video Configuration admin.config.title=Video Configuration
admin.config.transcoding=enable video transcoding admin.config.transcoding=Enable video transcoding
admin.config.videoNode=enable video coursenode admin.config.videoNode=Enable video coursenode
admin.menu.title=Video admin.menu.title=Video
admin.menu.title.alt=Configuration of the Video-Resource admin.menu.title.alt=Configuration of the Video-Resource
poster.select=Select this poster frame poster.select=Select this poster frame
...@@ -29,7 +29,7 @@ video.config.fileSize=Size of videofile ...@@ -29,7 +29,7 @@ video.config.fileSize=Size of videofile
video.config.filename=Filename video.config.filename=Filename
video.config.height=Height video.config.height=Height
video.config.poster=Poster frame video.config.poster=Poster frame
video.config.poster.hint=Here you can configure the posterframe which will be visible in the videoplayer before the video start playing aswell as in course overview video.config.poster.hint=Determine here which image or video still you wish to add as poster/start screen for the video in the course as well as the title image for the learning resource on the info page.
video.config.poster.replace=Replace poster video.config.poster.replace=Replace poster
video.config.poster.upload=Upload poster video.config.poster.upload=Upload poster
video.config.ratio=Aspect ratio video.config.ratio=Aspect ratio
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment