msgid "Admin"
msgstr "Verwaltung"
-#: templates/telemeta/base.html:117 templates/telemeta/instrument_edit.html:4
+#: templates/telemeta/base.html:119 templates/telemeta/instrument_edit.html:4
#: templates/telemeta/instrument_edit.html:7
#: templates/telemeta/instrument_edit_value.html:5
- #: templates/telemeta/mediaitem_detail.html:195
msgid "Instruments"
msgstr "Instrumente"
"Die Benutzung des Archivs erfolgt mit Respekt vor dem kulturellen Erbe der "
"Ursprungsgesellschaften."
-#: templates/telemeta/base.html:165
+#: templates/telemeta/base.html:167
#: templates/telemeta/collection_detail.html:124
- #: templates/telemeta/mediaitem_detail.html:245
msgid "Legal notices"
msgstr "juristische Hinweise"
#: templates/telemeta/collection_edit.html:35
#: templates/telemeta/collection_related_edit.html:12
#: templates/telemeta/collection_related_edit.html:41
-#: templates/telemeta/enumeration_edit_value.html:19
+#: templates/telemeta/enumeration_edit_value.html:18
+#: templates/telemeta/enumeration_edit_value.html:40
#: templates/telemeta/instrument_edit_value.html:19
#: templates/telemeta/mediaitem_add.html:14
- #: templates/telemeta/mediaitem_add.html:43
+ #: templates/telemeta/mediaitem_add.html:49
#: templates/telemeta/mediaitem_copy.html:16
- #: templates/telemeta/mediaitem_copy.html:51
+ #: templates/telemeta/mediaitem_copy.html:57
#: templates/telemeta/mediaitem_edit.html:11
- #: templates/telemeta/mediaitem_edit.html:63
+ #: templates/telemeta/mediaitem_edit.html:69
#: templates/telemeta/mediaitem_keywords_edit.html:12
#: templates/telemeta/mediaitem_keywords_edit.html:40
#: templates/telemeta/mediaitem_performances_edit.html:12
#: templates/telemeta/collection_edit.html:37
#: templates/telemeta/collection_related_edit.html:14
#: templates/telemeta/collection_related_edit.html:43
-#: templates/telemeta/enumeration_edit_value.html:17
+#: templates/telemeta/enumeration_edit_value.html:16
#: templates/telemeta/instrument_edit_value.html:17
#: templates/telemeta/mediaitem_add.html:16
- #: templates/telemeta/mediaitem_add.html:46
+ #: templates/telemeta/mediaitem_add.html:52
#: templates/telemeta/mediaitem_copy.html:18
- #: templates/telemeta/mediaitem_copy.html:52
+ #: templates/telemeta/mediaitem_copy.html:58
#: templates/telemeta/mediaitem_edit.html:13
- #: templates/telemeta/mediaitem_edit.html:65
+ #: templates/telemeta/mediaitem_edit.html:71
#: templates/telemeta/mediaitem_keywords_edit.html:13
#: templates/telemeta/mediaitem_keywords_edit.html:41
#: templates/telemeta/mediaitem_performances_edit.html:13
msgid "Admin"
msgstr "Admin"
-#: templates/telemeta/base.html:117 templates/telemeta/instrument_edit.html:4
+#: templates/telemeta/base.html:119 templates/telemeta/instrument_edit.html:4
#: templates/telemeta/instrument_edit.html:7
#: templates/telemeta/instrument_edit_value.html:5
- #: templates/telemeta/mediaitem_detail.html:195
msgid "Instruments"
msgstr "Instruments"
"Usage des archives réservé dans le respect du patrimoine culturel des "
"communautés d'origine."
-#: templates/telemeta/base.html:165
+#: templates/telemeta/base.html:167
#: templates/telemeta/collection_detail.html:124
- #: templates/telemeta/mediaitem_detail.html:245
msgid "Legal notices"
msgstr "Mentions légales"
#: templates/telemeta/collection_edit.html:35
#: templates/telemeta/collection_related_edit.html:12
#: templates/telemeta/collection_related_edit.html:41
-#: templates/telemeta/enumeration_edit_value.html:19
+#: templates/telemeta/enumeration_edit_value.html:18
+#: templates/telemeta/enumeration_edit_value.html:40
#: templates/telemeta/instrument_edit_value.html:19
#: templates/telemeta/mediaitem_add.html:14
- #: templates/telemeta/mediaitem_add.html:43
+ #: templates/telemeta/mediaitem_add.html:49
#: templates/telemeta/mediaitem_copy.html:16
- #: templates/telemeta/mediaitem_copy.html:51
+ #: templates/telemeta/mediaitem_copy.html:57
#: templates/telemeta/mediaitem_edit.html:11
- #: templates/telemeta/mediaitem_edit.html:63
+ #: templates/telemeta/mediaitem_edit.html:69
#: templates/telemeta/mediaitem_keywords_edit.html:12
#: templates/telemeta/mediaitem_keywords_edit.html:40
#: templates/telemeta/mediaitem_performances_edit.html:12
#: templates/telemeta/collection_edit.html:37
#: templates/telemeta/collection_related_edit.html:14
#: templates/telemeta/collection_related_edit.html:43
-#: templates/telemeta/enumeration_edit_value.html:17
+#: templates/telemeta/enumeration_edit_value.html:16
#: templates/telemeta/instrument_edit_value.html:17
#: templates/telemeta/mediaitem_add.html:16
- #: templates/telemeta/mediaitem_add.html:46
+ #: templates/telemeta/mediaitem_add.html:52
#: templates/telemeta/mediaitem_copy.html:18
- #: templates/telemeta/mediaitem_copy.html:52
+ #: templates/telemeta/mediaitem_copy.html:58
#: templates/telemeta/mediaitem_edit.html:13
- #: templates/telemeta/mediaitem_edit.html:65
+ #: templates/telemeta/mediaitem_edit.html:71
#: templates/telemeta/mediaitem_keywords_edit.html:13
#: templates/telemeta/mediaitem_keywords_edit.html:41
#: templates/telemeta/mediaitem_performances_edit.html:13
index += 1
return code
-
+
+def get_room(content_type=None, id=None, name=None):
+ rooms = jqchat.models.Room.objects.filter(content_type=content_type,
+ object_id=id)
+ if not rooms:
+ room = jqchat.models.Room.objects.create(content_type=content_type,
+ object_id=id,
+ name=name[:20])
+ else:
+ room = rooms[0]
+ return room
++
if request.REQUEST.has_key('grapher_id'):
grapher_id = request.REQUEST['grapher_id']
else:
- try:
- grapher_id = settings.TELEMETA_DEFAULT_GRAPHER_ID
- except:
- grapher_id = 'waveform'
+ grapher_id = getattr(settings, 'TELEMETA_DEFAULT_GRAPHER_ID', 'waveform')
previous, next = self.item_previous_next(item)
+
mime_type = self.item_analyze(item)
+
#FIXME: use mimetypes.guess_type
if 'quicktime' in mime_type:
mime_type = 'video/mp4'