Browse Source

Tweaks.

master
Erik Stein 3 years ago
parent
commit
ec37b872cd
  1. 3
      CHANGES
  2. BIN
      shared/media_archive/locale/de/LC_MESSAGES/django.mo
  3. 253
      shared/media_archive/locale/de/LC_MESSAGES/django.po
  4. BIN
      shared/media_archive/locale/en/LC_MESSAGES/django.mo
  5. 254
      shared/media_archive/locale/en/LC_MESSAGES/django.po
  6. 4
      shared/media_archive/models.py

3
CHANGES

@ -1,3 +1,6 @@
Next
-
0.1.8 2021-04-26
- Django 2.0 compatibility

BIN
shared/media_archive/locale/de/LC_MESSAGES/django.mo

Binary file not shown.

253
shared/media_archive/locale/de/LC_MESSAGES/django.po

@ -0,0 +1,253 @@
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the PACKAGE package.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2022-03-13 19:29+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"Language: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
msgid "All"
msgstr "Alle"
msgid "Texte"
msgstr ""
msgid "Ordnung"
msgstr ""
msgid "Foto"
msgstr ""
msgid "Name"
msgstr ""
msgid "Arbeitsmappen"
msgstr ""
msgid "Bild"
msgstr ""
msgid "Bilder"
msgstr ""
msgid "Weiteres"
msgstr ""
msgid "Add images to gallery"
msgstr "Bilder zu Galerie hinzufügen"
msgid "The selected images will be added to the following gallery:"
msgstr "Die ausgewählten Bilder werden zu folgender Galerie hinzugefügt"
msgid "Add Images"
msgstr "Bilder hinzufügen"
msgid "Assign category to images"
msgstr "Bilder kategorisieren"
msgid "Images which will be assigned to the chosen category:"
msgstr "Die ausgewählten Bilder werden zu folgender Kategorie hinzugefügt"
msgid "Nicht veröffentlicht"
msgstr ""
msgid "Veröffentlicht"
msgstr ""
#, python-format
msgid "Successfully set %(count)d media file to %(chosen_is_public)s."
msgid_plural "Successfully set %(count)d media files to %(chosen_is_public)s."
msgstr[0] ""
msgstr[1] ""
msgid "Zugriff für ausgewählte Mediendateien setzen"
msgstr ""
msgid "Digital Media File Archive"
msgstr "Mediendateien"
msgid "This would create a loop in the hierarchy"
msgstr ""
msgid "name"
msgstr ""
msgid "Übergeordnet"
msgstr ""
msgid "slug"
msgstr ""
msgid "Working Folder"
msgstr ""
msgid "Working Folders"
msgstr ""
msgid "Internal Name"
msgstr ""
msgid "Internal use only, not publicly visible."
msgstr ""
msgid "Publicly visible name."
msgstr ""
msgid "Slug"
msgstr ""
msgid "Credits"
msgstr ""
msgid "Caption"
msgstr ""
msgid "Active"
msgstr ""
msgid "Order Index"
msgstr ""
msgid "Images"
msgstr ""
msgid "Image Gallery"
msgstr ""
msgid "Image Galleries"
msgstr ""
msgid "file type"
msgstr ""
msgid "Dieser Wert wird in der Programmierung benutzt und darf nicht verändert werden."
msgstr ""
msgid "Bild-Typ"
msgstr ""
msgid "Bild-Typen"
msgstr ""
msgid "Hochgeladen"
msgstr ""
msgid "Geändert"
msgstr ""
msgid "Nur als \"öffentlich sichtbar\" markierte Mediendaten werden öffentlich angezeigt."
msgstr ""
msgid "file size"
msgstr ""
msgid "Typ"
msgstr ""
msgid "Bildunterschrift"
msgstr ""
msgid "Rechteinhaber/in"
msgstr ""
msgid "Arbeitsmappe"
msgstr ""
msgid "image width"
msgstr ""
msgid "image height"
msgstr ""
msgid "primary point of interest"
msgstr ""
msgid "image"
msgstr ""
msgid "Datei"
msgstr ""
msgid "Download"
msgstr ""
msgid "Downloads"
msgstr ""
msgid "Image"
msgstr ""
msgid "Video"
msgstr ""
msgid "Audio"
msgstr ""
msgid "PDF document"
msgstr ""
msgid "Flash"
msgstr ""
msgid "Text"
msgstr ""
msgid "Rich Text"
msgstr ""
msgid "Zip archive"
msgstr ""
msgid "Microsoft Word"
msgstr ""
msgid "Microsoft Excel"
msgstr ""
msgid "Microsoft PowerPoint"
msgstr ""
msgid "Binary"
msgstr ""
msgid "Add to working folder"
msgstr ""
msgid "Add files to working folder"
msgstr ""
msgid "Files to add:"
msgstr ""
msgid "Add"
msgstr ""
msgid "Cancel"
msgstr ""
msgid "Set access mode for media files"
msgstr ""
msgid "Select access mode:"
msgstr ""
msgid "The following media files' access mode will be changed:"
msgstr ""
msgid "Change access mode"
msgstr ""
#, python-format
msgid " By %(filter_title)s "
msgstr ""

BIN
shared/media_archive/locale/en/LC_MESSAGES/django.mo

Binary file not shown.

254
shared/media_archive/locale/en/LC_MESSAGES/django.po

@ -0,0 +1,254 @@
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the PACKAGE package.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2022-03-13 19:29+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"Language: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
msgid "All"
msgstr ""
msgid "Texte"
msgstr ""
msgid "Ordnung"
msgstr ""
msgid "Foto"
msgstr ""
msgid "Name"
msgstr ""
msgid "Arbeitsmappen"
msgstr ""
msgid "Bild"
msgstr ""
msgid "Bilder"
msgstr ""
msgid "Weiteres"
msgstr ""
msgid "Add images to gallery"
msgstr ""
msgid "The selected images will be added to the following gallery:"
msgstr ""
msgid "Add Images"
msgstr ""
msgid "Assign category to images"
msgstr ""
msgid "Images which will be assigned to the chosen category:"
msgstr ""
msgid "Nicht veröffentlicht"
msgstr ""
msgid "Veröffentlicht"
msgstr ""
#, python-format
msgid "Successfully set %(count)d media file to %(chosen_is_public)s."
msgid_plural "Successfully set %(count)d media files to %(chosen_is_public)s."
msgstr[0] ""
msgstr[1] ""
msgid "Zugriff für ausgewählte Mediendateien setzen"
msgstr ""
msgid "Digital Media File Archive"
msgstr ""
msgid "This would create a loop in the hierarchy"
msgstr ""
msgid "name"
msgstr ""
msgid "Übergeordnet"
msgstr ""
msgid "slug"
msgstr ""
msgid "Working Folder"
msgstr ""
msgid "Working Folders"
msgstr ""
msgid "Internal Name"
msgstr ""
msgid "Internal use only, not publicly visible."
msgstr ""
msgid "Publicly visible name."
msgstr ""
msgid "Slug"
msgstr ""
msgid "Credits"
msgstr ""
msgid "Caption"
msgstr ""
msgid "Active"
msgstr ""
msgid "Order Index"
msgstr ""
msgid "Images"
msgstr ""
msgid "Image Gallery"
msgstr ""
msgid "Image Galleries"
msgstr ""
msgid "file type"
msgstr ""
msgid "Dieser Wert wird in der Programmierung benutzt und darf nicht verändert werden."
msgstr ""
msgid "Bild-Typ"
msgstr ""
msgid "Bild-Typen"
msgstr ""
msgid "Hochgeladen"
msgstr ""
msgid "Geändert"
msgstr ""
msgid "Nur als \"öffentlich sichtbar\" markierte Mediendaten werden öffentlich angezeigt."
msgstr ""
msgid "file size"
msgstr ""
msgid "Typ"
msgstr ""
msgid "Bildunterschrift"
msgstr ""
msgid "Rechteinhaber/in"
msgstr ""
msgid "Arbeitsmappe"
msgstr ""
msgid "image width"
msgstr ""
msgid "image height"
msgstr ""
msgid "primary point of interest"
msgstr ""
msgid "image"
msgstr ""
msgid "Datei"
msgstr ""
msgid "Download"
msgstr ""
msgid "Downloads"
msgstr ""
msgid "Image"
msgstr ""
msgid "Video"
msgstr ""
msgid "Audio"
msgstr ""
msgid "PDF document"
msgstr ""
msgid "Flash"
msgstr ""
msgid "Text"
msgstr ""
msgid "Rich Text"
msgstr ""
msgid "Zip archive"
msgstr ""
msgid "Microsoft Word"
msgstr ""
msgid "Microsoft Excel"
msgstr ""
msgid "Microsoft PowerPoint"
msgstr ""
msgid "Binary"
msgstr ""
msgid "Add to working folder"
msgstr ""
msgid "Add files to working folder"
msgstr ""
msgid "Files to add:"
msgstr ""
msgid "Add"
msgstr ""
msgid "Cancel"
msgstr ""
msgid "Set access mode for media files"
msgstr ""
msgid "Select access mode:"
msgstr ""
msgid "The following media files' access mode will be changed:"
msgstr ""
msgid "Change access mode"
msgstr ""
#, python-format
msgid " By %(filter_title)s "
msgstr ""

4
shared/media_archive/models.py

@ -231,6 +231,7 @@ class Image(MediaBase):
# file = models.ImageField(_("Datei"))
file = ImageField(
_("image"),
max_length=200,
upload_to=UPLOAD_TO,
width_field="image_width",
height_field="image_height",
@ -323,6 +324,9 @@ class Download(FileTypeMixin, MediaBase):
return self.name or posixpath.basename(self.file.name)
File = Download
Download.register_filetypes(
# Should we be using imghdr.what instead of extension guessing?
('image', _('Image'), lambda f: re.compile(

Loading…
Cancel
Save