53 close_after_send: false, |
53 close_after_send: false, |
54 tag_prefix: "#", |
54 tag_prefix: "#", |
55 pause_when_displaying: false, |
55 pause_when_displaying: false, |
56 custom_send_button: false, |
56 custom_send_button: false, |
57 custom_cancel_button: false, |
57 custom_cancel_button: false, |
|
58 preview_mode: false, |
58 }; |
59 }; |
59 |
60 |
60 IriSP.Widgets.CreateAnnotation.prototype.messages = { |
61 IriSP.Widgets.CreateAnnotation.prototype.messages = { |
61 en: { |
62 en: { |
62 from_time: "from", |
63 from_time: "from", |
63 to_time: "to", |
64 to_time: "to", |
64 at_time: "at", |
65 at_time: "at", |
65 submit: "Submit", |
66 submit: "Submit", |
|
67 preview_submit: "You cannot submit annotations in preview mode", |
66 cancel: "Cancel", |
68 cancel: "Cancel", |
67 add_keywords_: "Add keywords:", |
69 add_keywords_: "Add keywords:", |
68 add_polemic_keywords_: "Add polemic attributes :", |
70 add_polemic_keywords_: "Add polemic attributes :", |
69 your_name_: "Your name:", |
71 your_name_: "Your name:", |
70 annotate_video: "Annotate this video", |
72 annotate_video: "Annotate this video", |
83 fr: { |
85 fr: { |
84 from_time: "de", |
86 from_time: "de", |
85 to_time: "à", |
87 to_time: "à", |
86 at_time: "à", |
88 at_time: "à", |
87 submit: "Envoyer", |
89 submit: "Envoyer", |
|
90 preview_submit: "Vous ne pouvez pas envoyer d'annotation en mode aperçu", |
88 cancel: "Annuler", |
91 cancel: "Annuler", |
89 add_keywords_: "Ajouter des mots-clés\u00a0:", |
92 add_keywords_: "Ajouter des mots-clés\u00a0:", |
90 add_polemic_keywords_: "Ajouter des attributs polémiques\u00a0:", |
93 add_polemic_keywords_: "Ajouter des attributs polémiques\u00a0:", |
91 your_name_: "Votre nom\u00a0:", |
94 your_name_: "Votre nom\u00a0:", |
92 annotate_video: "Annoter cette vidéo", |
95 annotate_video: "Annoter cette vidéo", |
114 + '{{#show_time}}<span class="Ldt-CreateAnnotation-Times"> {{#show_slice}}{{l10n.from_time}} {{/show_slice}}{{^show_slice}}{{l10n.at_time}} {{/show_slice}} <span class="Ldt-CreateAnnotation-Begin">00:00</span>{{/show_time}}' |
117 + '{{#show_time}}<span class="Ldt-CreateAnnotation-Times"> {{#show_slice}}{{l10n.from_time}} {{/show_slice}}{{^show_slice}}{{l10n.at_time}} {{/show_slice}} <span class="Ldt-CreateAnnotation-Begin">00:00</span>{{/show_time}}' |
115 + '{{#show_slice}} {{l10n.to_time}} <span class="Ldt-CreateAnnotation-End">{{end}}</span>{{/show_slice}}</span></span>' |
118 + '{{#show_slice}} {{l10n.to_time}} <span class="Ldt-CreateAnnotation-End">{{end}}</span>{{/show_slice}}</span></span>' |
116 + '{{#show_creator_field}}{{l10n.your_name_}} <input class="Ldt-CreateAnnotation-Creator empty" value="{{creator_name}}" {{#creator_field_readonly}}readonly{{/creator_field_readonly}}/>{{/show_creator_field}}</h3>' |
119 + '{{#show_creator_field}}{{l10n.your_name_}} <input class="Ldt-CreateAnnotation-Creator empty" value="{{creator_name}}" {{#creator_field_readonly}}readonly{{/creator_field_readonly}}/>{{/show_creator_field}}</h3>' |
117 + '<textarea class="Ldt-CreateAnnotation-Description empty" placeholder="{{l10n.type_description}}"></textarea>' |
120 + '<textarea class="Ldt-CreateAnnotation-Description empty" placeholder="{{l10n.type_description}}"></textarea>' |
118 + '<div class="Ldt-CreateAnnotation-Avatar"><img src="{{creator_avatar}}" title="{{creator_name}}"></img></div>' |
121 + '<div class="Ldt-CreateAnnotation-Avatar"><img src="{{creator_avatar}}" title="{{creator_name}}"></img></div>' |
119 + '<input type="submit" class="Ldt-CreateAnnotation-Submit" value="{{#custom_send_button}}{{custom_send_button}}{{/custom_send_button}}{{^custom_send_button}}{{l10n.submit}}{{/custom_send_button}}" />' |
122 + '{{#preview_mode}}<input type="button" class="Ldt-CreateAnnotation-PreviewSubmit" title="{{l10n.preview_submit}}" value="{{#custom_send_button}}{{custom_send_button}}{{/custom_send_button}}{{^custom_send_button}}{{l10n.submit}}{{/custom_send_button}}" />{{/preview_mode}}' |
|
123 + '{{^preview_mode}}<input type="submit" class="Ldt-CreateAnnotation-Submit" value="{{#custom_send_button}}{{custom_send_button}}{{/custom_send_button}}{{^custom_send_button}}{{l10n.submit}}{{/custom_send_button}}" />{{/preview_mode}}' |
120 + '<input type="button" class="Ldt-CreateAnnotation-Cancel" value="{{#custom_cancel_button}}{{custom_cancel_button}}{{/custom_cancel_button}}{{^custom_cancel_button}}{{l10n.cancel}}{{/custom_cancel_button}}" />' |
124 + '<input type="button" class="Ldt-CreateAnnotation-Cancel" value="{{#custom_cancel_button}}{{custom_cancel_button}}{{/custom_cancel_button}}{{^custom_cancel_button}}{{l10n.cancel}}{{/custom_cancel_button}}" />' |
121 + '{{#show_mic_record}}<div class="Ldt-CreateAnnotation-RecBlock"><div class="Ldt-CreateAnnotation-RecLabel">Add voice annotation</div>' |
125 + '{{#show_mic_record}}<div class="Ldt-CreateAnnotation-RecBlock"><div class="Ldt-CreateAnnotation-RecLabel">Add voice annotation</div>' |
122 + ' <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="220" height="160">' |
126 + ' <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="220" height="160">' |
123 + ' <param name="movie" value="{{record_swf}}" />' |
127 + ' <param name="movie" value="{{record_swf}}" />' |
124 + ' <param name="quality" value="high" />' |
128 + ' <param name="quality" value="high" />' |