diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 8acb93ca0..a81258e7e 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -14,7 +14,13 @@ jobs: django-4.0.txt, django-4.1.txt, django-4.2.txt, + django-5.0.txt, ] + exclude: + - requirements-file: django-5.0.txt + python-version: 3.8 + - requirements-file: django-5.0.txt + python-version: 3.9 os: [ ubuntu-20.04, ] diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 9a2fc5327..6d5dfe6f9 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -2,6 +2,22 @@ CHANGELOG ========= +unreleased +========== + +* feat: limit uploaded image area (width x height) to prevent decompression + bombs +* fix: Run validators on updated files in file change view +* fix: Update mime type if uploading file in file change view +* fix: Do not allow to remove the file field from an uplaoded file in + the admin interface +* fix: refactor upload checks into running validators in the admin + and adding clean methods for file and (abstract) image models. +* Fixed two more instances of javascript int overflow issue (#1335) +* fix: ensure uniqueness of icon admin url names +* fix: Crash with django-storage if filer file does not have a + storage file attached + 3.0.6 (2023-09-08) ================== diff --git a/docs/settings.rst b/docs/settings.rst index 9edc82680..4685ce3d8 100644 --- a/docs/settings.rst +++ b/docs/settings.rst @@ -178,6 +178,19 @@ Limits the maximal file size if set. Takes an integer (file size in MB). Defaults to ``None``. +``FILER_MAX_IMAGE_PIXELS`` +-------------------------------- + +Limits the maximal pixel size of the image that can be uploaded to the Filer. +It will also be lower than or equals to the MAX_IMAGE_PIXELS that Pillow's PIL allows. + + +``MAX_IMAGE_PIXELS = int(1024 * 1024 * 1024 // 4 // 3)`` + +Defaults to ``MAX_IMAGE_PIXELS``. But when set, should always be lower than the MAX_IMAGE_PIXELS limit set by Pillow. + +This is useful setting to prevent decompression bomb DOS attack. + ``FILER_ADD_FILE_VALIDATORS`` ----------------------------- diff --git a/filer/admin/clipboardadmin.py b/filer/admin/clipboardadmin.py index d9e64f21c..73b32a560 100644 --- a/filer/admin/clipboardadmin.py +++ b/filer/admin/clipboardadmin.py @@ -1,4 +1,5 @@ from django.contrib import admin, messages +from django.core.exceptions import ValidationError from django.forms.models import modelform_factory from django.http import JsonResponse from django.urls import path @@ -9,7 +10,7 @@ from ..models import Clipboard, ClipboardItem, Folder from ..utils.files import handle_request_files_upload, handle_upload from ..utils.loader import load_model -from ..validation import FileValidationError, validate_upload +from ..validation import validate_upload from . import views @@ -31,7 +32,6 @@ class ClipboardItemInline(admin.TabularInline): class ClipboardAdmin(admin.ModelAdmin): model = Clipboard inlines = [ClipboardItemInline] - filter_horizontal = ('files',) raw_id_fields = ('user',) verbose_name = "DEBUG Clipboard" verbose_name_plural = "DEBUG Clipboards" @@ -113,18 +113,17 @@ def ajax_upload(request, folder_id=None): break uploadform = FileForm({'original_filename': filename, 'owner': request.user.pk}, {'file': upload}) + uploadform.request = request uploadform.instance.mime_type = mime_type if uploadform.is_valid(): try: validate_upload(filename, upload, request.user, mime_type) - except FileValidationError as error: - from django.contrib.messages import ERROR, add_message - message = str(error) - add_message(request, ERROR, message) - return JsonResponse({'error': message}) - file_obj = uploadform.save(commit=False) - # Enforce the FILER_IS_PUBLIC_DEFAULT - file_obj.is_public = filer_settings.FILER_IS_PUBLIC_DEFAULT + file_obj = uploadform.save(commit=False) + # Enforce the FILER_IS_PUBLIC_DEFAULT + file_obj.is_public = filer_settings.FILER_IS_PUBLIC_DEFAULT + except ValidationError as error: + messages.error(request, str(error)) + return JsonResponse({'error': str(error)}) file_obj.folder = folder file_obj.save() # TODO: Deprecated/refactor @@ -132,29 +131,35 @@ def ajax_upload(request, folder_id=None): # clipboard=clipboard, file=file_obj) # clipboard_item.save() - thumbnail = None - data = { - 'thumbnail': thumbnail, - 'alt_text': '', - 'label': str(file_obj), - 'file_id': file_obj.pk, - } - # prepare preview thumbnail - if isinstance(file_obj, Image): - thumbnail_180_options = { - 'size': (180, 180), - 'crop': True, - 'upscale': True, + try: + thumbnail = None + data = { + 'thumbnail': thumbnail, + 'alt_text': '', + 'label': str(file_obj), + 'file_id': file_obj.pk, } - thumbnail_180 = file_obj.file.get_thumbnail( - thumbnail_180_options) - data['thumbnail_180'] = thumbnail_180.url - data['original_image'] = file_obj.url - return JsonResponse(data) + # prepare preview thumbnail + if isinstance(file_obj, Image): + thumbnail_180_options = { + 'size': (180, 180), + 'crop': True, + 'upscale': True, + } + thumbnail_180 = file_obj.file.get_thumbnail( + thumbnail_180_options) + data['thumbnail_180'] = thumbnail_180.url + data['original_image'] = file_obj.url + return JsonResponse(data) + except Exception as error: + messages.error(request, str(error)) + return JsonResponse({"error": str(error)}) else: - form_errors = '; '.join(['{}: {}'.format( - field, - ', '.join(errors)) for field, errors in list( - uploadform.errors.items()) + for key, error_list in uploadform.errors.items(): + for error in error_list: + messages.error(request, error) + + form_errors = '; '.join(['{}'.format( + ', '.join(errors)) for errors in list(uploadform.errors.values()) ]) - return JsonResponse({'message': str(form_errors)}, status=422) + return JsonResponse({'error': str(form_errors)}, status=200) diff --git a/filer/admin/fileadmin.py b/filer/admin/fileadmin.py index 1af66d6f8..afe2edbfb 100644 --- a/filer/admin/fileadmin.py +++ b/filer/admin/fileadmin.py @@ -1,3 +1,5 @@ +import mimetypes + from django import forms from django.contrib.admin.utils import unquote from django.contrib.staticfiles.storage import staticfiles_storage @@ -8,6 +10,7 @@ from django.utils.timezone import now from django.utils.translation import gettext as _ +from easy_thumbnails.engine import NoSourceGenerator from easy_thumbnails.exceptions import InvalidImageFormatError from easy_thumbnails.files import get_thumbnailer from easy_thumbnails.models import Thumbnail as EasyThumbnail @@ -25,6 +28,27 @@ class Meta: model = File exclude = () + def __init__(self, *args, **kwargs): + super().__init__(*args, **kwargs) + self.fields["file"].widget = forms.FileInput() + + def clean(self): + from ..validation import validate_upload + cleaned_data = super().clean() + if "file" in self.changed_data and cleaned_data["file"]: + mime_type = mimetypes.guess_type(cleaned_data["file"].name)[0] or 'application/octet-stream' + file = cleaned_data["file"] + file.open("w+") # Allow for sanitizing upload + file.seek(0) + validate_upload( + file_name=cleaned_data["file"].name, + file=file.file, + owner=cleaned_data["owner"], + mime_type=mime_type, + ) + file.open("r") + return self.cleaned_data + class FileAdmin(PrimitivePermissionAwareModelAdmin): list_display = ('label',) @@ -167,7 +191,7 @@ def get_urls(self): return super().get_urls() + [ path("icon//", self.admin_site.admin_view(self.icon_view), - name="filer_file_fileicon") + name=f"filer_{self.model._meta.model_name}_fileicon") ] def icon_view(self, request, file_id: int, size: int) -> HttpResponse: @@ -185,7 +209,7 @@ def icon_view(self, request, file_id: int, size: int) -> HttpResponse: # Touch thumbnail to allow it to be prefetched for directory listing EasyThumbnail.objects.filter(name=thumbnail.name).update(modified=now()) return HttpResponseRedirect(thumbnail.url) - except InvalidImageFormatError: + except (InvalidImageFormatError, NoSourceGenerator): return HttpResponseRedirect(staticfiles_storage.url('filer/icons/file-missing.svg')) diff --git a/filer/admin/folderadmin.py b/filer/admin/folderadmin.py index e132a9bec..203674b55 100644 --- a/filer/admin/folderadmin.py +++ b/filer/admin/folderadmin.py @@ -1288,7 +1288,6 @@ def resize_images(self, request, files_queryset, folders_queryset): "breadcrumbs_action": _("Resize images"), "to_resize": to_resize, "resize_form": form, - "cmsplugin_enabled": 'cmsplugin_filer_image' in django_settings.INSTALLED_APPS, "files_queryset": files_queryset, "folders_queryset": folders_queryset, "perms_lacking": perms_needed, diff --git a/filer/admin/forms.py b/filer/admin/forms.py index 02f6ae417..1a35e4125 100644 --- a/filer/admin/forms.py +++ b/filer/admin/forms.py @@ -1,6 +1,6 @@ from django import forms -from django.conf import settings from django.contrib.admin import widgets +from django.contrib.admin.helpers import AdminForm from django.core.exceptions import ValidationError from django.db import models from django.utils.translation import gettext as _ @@ -9,18 +9,18 @@ from ..utils.files import get_valid_filename -class AsPWithHelpMixin: - def as_p_with_help(self): - "Returns this form rendered as HTML

s with help text formated for admin." - return self._html_output( - normal_row='%(label)s %(field)s

%(help_text)s', - error_row='%s', - row_ender='

', - help_text_html='

%s

', - errors_on_separate_row=True) +class WithFieldsetMixin: + def get_fieldsets(self): + return getattr(self, "fieldsets", [ + (None, {"fields": [field for field in self.fields]}) + ]) + def admin_form(self): + "Returns a class contains the Admin fieldset to show form as admin form" + return AdminForm(self, self.get_fieldsets(), {}) -class CopyFilesAndFoldersForm(forms.Form, AsPWithHelpMixin): + +class CopyFilesAndFoldersForm(forms.Form): suffix = forms.CharField(required=False, help_text=_("Suffix which will be appended to filenames of copied files.")) # TODO: We have to find a way to overwrite files with different storage backends first. # overwrite_files = forms.BooleanField(required=False, help_text=_("Overwrite a file if there already exists a file with the same filename?")) @@ -32,7 +32,7 @@ def clean_suffix(self): return self.cleaned_data['suffix'] -class RenameFilesForm(forms.Form, AsPWithHelpMixin): +class RenameFilesForm(WithFieldsetMixin, forms.Form): rename_format = forms.CharField(required=True) def clean_rename_format(self): @@ -55,15 +55,20 @@ def clean_rename_format(self): return self.cleaned_data['rename_format'] -class ResizeImagesForm(forms.Form, AsPWithHelpMixin): - if 'cmsplugin_filer_image' in settings.INSTALLED_APPS: - thumbnail_option = models.ForeignKey( - ThumbnailOption, - null=True, - blank=True, - verbose_name=_("thumbnail option"), - on_delete=models.CASCADE, - ).formfield() +class ResizeImagesForm(WithFieldsetMixin, forms.Form): + fieldsets = ((None, {"fields": ( + "thumbnail_option", + ("width", "height"), + ("crop", "upscale"))}),) + + thumbnail_option = models.ForeignKey( + ThumbnailOption, + null=True, + blank=True, + verbose_name=_("thumbnail option"), + on_delete=models.CASCADE, + ).formfield() + width = models.PositiveIntegerField(_("width"), null=True, blank=True).formfield(widget=widgets.AdminIntegerFieldWidget) height = models.PositiveIntegerField(_("height"), null=True, blank=True).formfield(widget=widgets.AdminIntegerFieldWidget) crop = models.BooleanField(_("crop"), default=True).formfield() @@ -71,8 +76,5 @@ class ResizeImagesForm(forms.Form, AsPWithHelpMixin): def clean(self): if not (self.cleaned_data.get('thumbnail_option') or ((self.cleaned_data.get('width') or 0) + (self.cleaned_data.get('height') or 0))): - if 'cmsplugin_filer_image' in settings.INSTALLED_APPS: - raise ValidationError(_('Thumbnail option or resize parameters must be choosen.')) - else: - raise ValidationError(_('Resize parameters must be choosen.')) + raise ValidationError(_('Thumbnail option or resize parameters must be choosen.')) return self.cleaned_data diff --git a/filer/admin/imageadmin.py b/filer/admin/imageadmin.py index 6c5264aed..263a9c59a 100644 --- a/filer/admin/imageadmin.py +++ b/filer/admin/imageadmin.py @@ -8,13 +8,13 @@ from ..thumbnail_processors import normalize_subject_location from ..utils.compatibility import string_concat from ..utils.loader import load_model -from .fileadmin import FileAdmin +from .fileadmin import FileAdmin, FileAdminChangeFrom Image = load_model(FILER_IMAGE_MODEL) -class ImageAdminForm(forms.ModelForm): +class ImageAdminForm(FileAdminChangeFrom): subject_location = forms.CharField( max_length=64, required=False, label=_('Subject location'), @@ -60,8 +60,8 @@ def clean_subject_location(self): err_code = 'invalid_subject_format' elif ( - coordinates[0] > self.instance.width - or coordinates[1] > self.instance.height + coordinates[0] > self.instance.width > 0 + or coordinates[1] > self.instance.height > 0 ): err_msg = gettext_lazy( 'Subject location is outside of the image. ') diff --git a/filer/fields/multistorage_file.py b/filer/fields/multistorage_file.py index 6d4f480cc..8ceb76a99 100644 --- a/filer/fields/multistorage_file.py +++ b/filer/fields/multistorage_file.py @@ -43,7 +43,7 @@ class MultiStorageFileDescriptor(FileDescriptor): """ This is rather similar to Django's ImageFileDescriptor. It calls _data_changed on model instance when new - value is set. The callback is suposed to update fields which + value is set. The callback is supposed to update fields which are related to file data (like size, checksum, etc.). When this is called from model __init__ (prev_assigned=False), it does nothing because related fields might not have values yet. @@ -58,7 +58,7 @@ def __set__(self, instance, value): # To prevent recalculating file data related attributes when we are instantiating # an object from the database, update only if the field had a value before this assignment. # To prevent recalculating upon reassignment of the same file, update only if value is - # different than the previous one. + # different from the previous one. if prev_assigned and value != previous_file: callback_attr = f'{self.field.name}_data_changed' if hasattr(instance, callback_attr): @@ -123,7 +123,7 @@ def exists(self): """ Returns ``True`` if underlying file exists in storage. """ - return self.storage.exists(self.name) + return self.name and self.storage.exists(self.name) class MultiStorageFileField(easy_thumbnails_fields.ThumbnailerField): diff --git a/filer/locale/ar/LC_MESSAGES/django.po b/filer/locale/ar/LC_MESSAGES/django.po index 3b72f6a6c..b34041683 100644 --- a/filer/locale/ar/LC_MESSAGES/django.po +++ b/filer/locale/ar/LC_MESSAGES/django.po @@ -1,7 +1,7 @@ # SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. -# +# # Translators: # Translators: # Translators: @@ -9,19 +9,19 @@ msgid "" msgstr "" "Project-Id-Version: django Filer\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-07-31 22:21+0200\n" +"POT-Creation-Date: 2023-09-20 10:11+0200\n" "PO-Revision-Date: 2012-07-13 15:50+0000\n" "Last-Translator: Angelo Dini \n" -"Language-Team: Arabic (http://app.transifex.com/divio/django-filer/language/" -"ar/)\n" -"Language: ar\n" +"Language-Team: Arabic (http://app.transifex.com/divio/django-filer/language/ar/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: nplurals=6; plural=n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 " -"&& n%100<=10 ? 3 : n%100>=11 && n%100<=99 ? 4 : 5;\n" +"Language: ar\n" +"Plural-Forms: nplurals=6; plural=n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 && n%100<=10 ? 3 : n%100>=11 && n%100<=99 ? 4 : 5;\n" #: admin/clipboardadmin.py:16 +#| msgid "" +#| "ccount doesn't have permissions to rename all of the selected files." msgid "You do not have permission to upload files." msgstr "" @@ -30,24 +30,25 @@ msgid "Can't find folder to upload. Please refresh and try again" msgstr "" #: admin/clipboardadmin.py:19 -msgid "Can't use this folder, Permission Denied. Please select another folder." +msgid "" +"Can't use this folder, Permission Denied. Please select another folder." msgstr "" -#: admin/fileadmin.py:47 +#: admin/fileadmin.py:49 msgid "Advanced" msgstr "" -#: admin/fileadmin.py:162 +#: admin/fileadmin.py:164 msgid "canonical URL" msgstr "" -#: admin/folderadmin.py:399 admin/folderadmin.py:570 +#: admin/folderadmin.py:411 admin/folderadmin.py:582 msgid "" "Items must be selected in order to perform actions on them. No items have " "been changed." msgstr "" -#: admin/folderadmin.py:422 +#: admin/folderadmin.py:434 #, python-format msgid "%(total_count)s selected" msgid_plural "All %(total_count)s selected" @@ -58,175 +59,171 @@ msgstr[3] "" msgstr[4] "" msgstr[5] "" -#: admin/folderadmin.py:448 +#: admin/folderadmin.py:460 #, python-format msgid "Directory listing for %(folder_name)s" msgstr "" -#: admin/folderadmin.py:463 +#: admin/folderadmin.py:475 #, python-format msgid "0 of %(cnt)s selected" msgstr "" -#: admin/folderadmin.py:600 +#: admin/folderadmin.py:612 msgid "No action selected." msgstr "" -#: admin/folderadmin.py:652 +#: admin/folderadmin.py:664 #, python-format msgid "Successfully moved %(count)d files to clipboard." msgstr "" -#: admin/folderadmin.py:657 +#: admin/folderadmin.py:669 msgid "Move selected files to clipboard" msgstr "" -#: admin/folderadmin.py:697 +#: admin/folderadmin.py:709 #, python-format msgid "Successfully disabled permissions for %(count)d files." msgstr "" -#: admin/folderadmin.py:699 +#: admin/folderadmin.py:711 #, python-format msgid "Successfully enabled permissions for %(count)d files." msgstr "" -#: admin/folderadmin.py:707 +#: admin/folderadmin.py:719 msgid "Enable permissions for selected files" msgstr "" -#: admin/folderadmin.py:713 +#: admin/folderadmin.py:725 msgid "Disable permissions for selected files" msgstr "" -#: admin/folderadmin.py:777 +#: admin/folderadmin.py:789 #, python-format msgid "Successfully deleted %(count)d files and/or folders." msgstr "" -#: admin/folderadmin.py:782 +#: admin/folderadmin.py:794 msgid "Cannot delete files and/or folders" msgstr "" -#: admin/folderadmin.py:784 +#: admin/folderadmin.py:796 msgid "Are you sure?" msgstr "" -#: admin/folderadmin.py:790 +#: admin/folderadmin.py:802 msgid "Delete files and/or folders" msgstr "" -#: admin/folderadmin.py:811 +#: admin/folderadmin.py:823 msgid "Delete selected files and/or folders" msgstr "" -#: admin/folderadmin.py:918 +#: admin/folderadmin.py:930 #, python-format msgid "Folders with names %s already exist at the selected destination" msgstr "" -#: admin/folderadmin.py:922 +#: admin/folderadmin.py:934 #, python-format msgid "" "Successfully moved %(count)d files and/or folders to folder " "'%(destination)s'." msgstr "" -#: admin/folderadmin.py:930 admin/folderadmin.py:932 +#: admin/folderadmin.py:942 admin/folderadmin.py:944 msgid "Move files and/or folders" msgstr "" -#: admin/folderadmin.py:947 +#: admin/folderadmin.py:959 msgid "Move selected files and/or folders" msgstr "" -#: admin/folderadmin.py:1004 +#: admin/folderadmin.py:1016 #, python-format msgid "Successfully renamed %(count)d files." msgstr "" -#: admin/folderadmin.py:1013 admin/folderadmin.py:1015 -#: admin/folderadmin.py:1030 +#: admin/folderadmin.py:1025 admin/folderadmin.py:1027 +#: admin/folderadmin.py:1042 msgid "Rename files" msgstr "" -#: admin/folderadmin.py:1125 +#: admin/folderadmin.py:1137 #, python-format msgid "" "Successfully copied %(count)d files and/or folders to folder " "'%(destination)s'." msgstr "" -#: admin/folderadmin.py:1143 admin/folderadmin.py:1145 +#: admin/folderadmin.py:1155 admin/folderadmin.py:1157 msgid "Copy files and/or folders" msgstr "" -#: admin/folderadmin.py:1162 +#: admin/folderadmin.py:1174 msgid "Copy selected files and/or folders" msgstr "" -#: admin/folderadmin.py:1267 +#: admin/folderadmin.py:1279 #, python-format msgid "Successfully resized %(count)d images." msgstr "" -#: admin/folderadmin.py:1274 admin/folderadmin.py:1276 +#: admin/folderadmin.py:1286 admin/folderadmin.py:1288 msgid "Resize images" msgstr "" -#: admin/folderadmin.py:1292 +#: admin/folderadmin.py:1303 msgid "Resize selected images" msgstr "" -#: admin/forms.py:24 +#: admin/forms.py:25 msgid "Suffix which will be appended to filenames of copied files." msgstr "" -#: admin/forms.py:31 +#: admin/forms.py:32 #, python-format msgid "" "Suffix should be a valid, simple and lowercase filename part, like " "\"%(valid)s\"." msgstr "" -#: admin/forms.py:52 +#: admin/forms.py:53 #, python-format msgid "Unknown rename format value key \"%(key)s\"." msgstr "" -#: admin/forms.py:54 +#: admin/forms.py:55 #, python-format msgid "Invalid rename format: %(error)s." msgstr "" -#: admin/forms.py:64 models/thumbnailoptionmodels.py:37 +#: admin/forms.py:69 models/thumbnailoptionmodels.py:37 msgid "thumbnail option" msgstr "" -#: admin/forms.py:67 models/thumbnailoptionmodels.py:15 +#: admin/forms.py:73 models/thumbnailoptionmodels.py:15 msgid "width" msgstr "" -#: admin/forms.py:68 models/thumbnailoptionmodels.py:20 +#: admin/forms.py:74 models/thumbnailoptionmodels.py:20 msgid "height" msgstr "" -#: admin/forms.py:69 models/thumbnailoptionmodels.py:25 +#: admin/forms.py:75 models/thumbnailoptionmodels.py:25 msgid "crop" msgstr "" -#: admin/forms.py:70 models/thumbnailoptionmodels.py:30 +#: admin/forms.py:76 models/thumbnailoptionmodels.py:30 msgid "upscale" msgstr "" -#: admin/forms.py:75 +#: admin/forms.py:80 msgid "Thumbnail option or resize parameters must be choosen." msgstr "" -#: admin/forms.py:77 -msgid "Resize parameters must be choosen." -msgstr "" - #: admin/imageadmin.py:18 admin/imageadmin.py:105 msgid "Subject location" msgstr "" @@ -465,6 +462,7 @@ msgid "At least one of user, group, or \"everybody\" has to be selected." msgstr "" #: models/foldermodels.py:360 +#| msgid "Folders" msgid "All Folders" msgstr "" @@ -483,6 +481,7 @@ msgid "Group: {group}" msgstr "" #: models/foldermodels.py:375 +#| msgid "everybody" msgid "Everybody" msgstr "" @@ -495,6 +494,7 @@ msgid "Read" msgstr "" #: models/foldermodels.py:390 +#| msgid "can add children" msgid "Add children" msgstr "" @@ -549,6 +549,7 @@ msgid "Show table view" msgstr "" #: settings.py:278 +#| msgid "thumbnail option" msgid "Show thumbnail view" msgstr "" @@ -677,8 +678,8 @@ msgstr "" #: templates/admin/filer/folder/choose_copy_destination.html:23 msgid "" -"Your account doesn't have permissions to copy all of the selected files and/" -"or folders." +"Your account doesn't have permissions to copy all of the selected files " +"and/or folders." msgstr "" #: templates/admin/filer/folder/choose_copy_destination.html:25 @@ -733,28 +734,24 @@ msgstr "" msgid "The following images will be resized:" msgstr "" -#: templates/admin/filer/folder/choose_images_resize_options.html:33 +#: templates/admin/filer/folder/choose_images_resize_options.html:32 msgid "Choose an existing thumbnail option or enter resize parameters:" msgstr "" -#: templates/admin/filer/folder/choose_images_resize_options.html:35 -msgid "Choose resize parameters:" -msgstr "" - -#: templates/admin/filer/folder/choose_images_resize_options.html:38 +#: templates/admin/filer/folder/choose_images_resize_options.html:36 msgid "" "Warning: Images will be resized in-place and originals will be lost. Maybe " "first make a copy of them to retain the originals." msgstr "" -#: templates/admin/filer/folder/choose_images_resize_options.html:41 +#: templates/admin/filer/folder/choose_images_resize_options.html:39 msgid "Resize" msgstr "" #: templates/admin/filer/folder/choose_move_destination.html:35 msgid "" -"Your account doesn't have permissions to move all of the selected files and/" -"or folders." +"Your account doesn't have permissions to move all of the selected files " +"and/or folders." msgstr "" #: templates/admin/filer/folder/choose_move_destination.html:47 @@ -953,11 +950,13 @@ msgstr "" #: templates/admin/filer/folder/directory_table_list.html:144 #, python-format +#| msgid "Change '%(item_label)s' details" msgid "Canonical url '%(item_label)s'" msgstr "" #: templates/admin/filer/folder/directory_table_list.html:148 #, python-format +#| msgid "Change '%(item_label)s' details" msgid "Download '%(item_label)s'" msgstr "" @@ -1019,10 +1018,12 @@ msgstr "" #: templates/admin/filer/folder/directory_thumbnail_list.html:15 #: templates/admin/filer/folder/directory_thumbnail_list.html:80 +#| msgid "Select this file" msgid "Select all" msgstr "" #: templates/admin/filer/folder/directory_thumbnail_list.html:77 +#| msgid "Filer" msgid "Files" msgstr "" @@ -1092,6 +1093,7 @@ msgstr "" #: templates/admin/filer/tools/detail_info.html:20 #: templates/admin/filer/widgets/admin_file.html:32 #: templatetags/filer_admin_tags.py:107 +#| msgid "file missing" msgid "File is missing" msgstr "" @@ -1147,6 +1149,7 @@ msgid "Choose File" msgstr "" #: templates/admin/filer/widgets/admin_folder.html:16 +#| msgid "Choose File" msgid "Choose Folder" msgstr "" @@ -1172,6 +1175,12 @@ msgid "" "vulnerability" msgstr "" +#~ msgid "Resize parameters must be choosen." +#~ msgstr "Resize parameters must be choosen." + +#~ msgid "Choose resize parameters:" +#~ msgstr "Choose resize parameters:" + #~ msgid "Open file" #~ msgstr "Open file" diff --git a/filer/locale/bg/LC_MESSAGES/django.mo b/filer/locale/bg/LC_MESSAGES/django.mo index 2a40bc140..24974f0a5 100644 Binary files a/filer/locale/bg/LC_MESSAGES/django.mo and b/filer/locale/bg/LC_MESSAGES/django.mo differ diff --git a/filer/locale/bg/LC_MESSAGES/django.po b/filer/locale/bg/LC_MESSAGES/django.po index b4408c723..11194bb15 100644 --- a/filer/locale/bg/LC_MESSAGES/django.po +++ b/filer/locale/bg/LC_MESSAGES/django.po @@ -9,7 +9,7 @@ msgid "" msgstr "" "Project-Id-Version: django Filer\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-07-31 22:21+0200\n" +"POT-Creation-Date: 2023-09-26 08:46+0200\n" "PO-Revision-Date: 2012-07-13 15:50+0000\n" "Last-Translator: Angelo Dini \n" "Language-Team: Bulgarian (http://app.transifex.com/divio/django-filer/" @@ -20,156 +20,156 @@ msgstr "" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" -#: admin/clipboardadmin.py:16 +#: admin/clipboardadmin.py:17 msgid "You do not have permission to upload files." msgstr "" -#: admin/clipboardadmin.py:17 +#: admin/clipboardadmin.py:18 msgid "Can't find folder to upload. Please refresh and try again" msgstr "" -#: admin/clipboardadmin.py:19 +#: admin/clipboardadmin.py:20 msgid "Can't use this folder, Permission Denied. Please select another folder." msgstr "" -#: admin/fileadmin.py:47 +#: admin/fileadmin.py:73 msgid "Advanced" msgstr "" -#: admin/fileadmin.py:162 +#: admin/fileadmin.py:188 msgid "canonical URL" msgstr "" -#: admin/folderadmin.py:399 admin/folderadmin.py:570 +#: admin/folderadmin.py:411 admin/folderadmin.py:582 msgid "" "Items must be selected in order to perform actions on them. No items have " "been changed." msgstr "" -#: admin/folderadmin.py:422 +#: admin/folderadmin.py:434 #, python-format msgid "%(total_count)s selected" msgid_plural "All %(total_count)s selected" msgstr[0] "" msgstr[1] "" -#: admin/folderadmin.py:448 +#: admin/folderadmin.py:460 #, python-format msgid "Directory listing for %(folder_name)s" msgstr "" -#: admin/folderadmin.py:463 +#: admin/folderadmin.py:475 #, python-format msgid "0 of %(cnt)s selected" msgstr "" -#: admin/folderadmin.py:600 +#: admin/folderadmin.py:612 msgid "No action selected." msgstr "" -#: admin/folderadmin.py:652 +#: admin/folderadmin.py:664 #, python-format msgid "Successfully moved %(count)d files to clipboard." msgstr "" -#: admin/folderadmin.py:657 +#: admin/folderadmin.py:669 msgid "Move selected files to clipboard" msgstr "" -#: admin/folderadmin.py:697 +#: admin/folderadmin.py:709 #, python-format msgid "Successfully disabled permissions for %(count)d files." msgstr "" -#: admin/folderadmin.py:699 +#: admin/folderadmin.py:711 #, python-format msgid "Successfully enabled permissions for %(count)d files." msgstr "" -#: admin/folderadmin.py:707 +#: admin/folderadmin.py:719 msgid "Enable permissions for selected files" msgstr "" -#: admin/folderadmin.py:713 +#: admin/folderadmin.py:725 msgid "Disable permissions for selected files" msgstr "" -#: admin/folderadmin.py:777 +#: admin/folderadmin.py:789 #, python-format msgid "Successfully deleted %(count)d files and/or folders." msgstr "" -#: admin/folderadmin.py:782 +#: admin/folderadmin.py:794 msgid "Cannot delete files and/or folders" msgstr "" -#: admin/folderadmin.py:784 +#: admin/folderadmin.py:796 msgid "Are you sure?" msgstr "" -#: admin/folderadmin.py:790 +#: admin/folderadmin.py:802 msgid "Delete files and/or folders" msgstr "" -#: admin/folderadmin.py:811 +#: admin/folderadmin.py:823 msgid "Delete selected files and/or folders" msgstr "" -#: admin/folderadmin.py:918 +#: admin/folderadmin.py:930 #, python-format msgid "Folders with names %s already exist at the selected destination" msgstr "" -#: admin/folderadmin.py:922 +#: admin/folderadmin.py:934 #, python-format msgid "" "Successfully moved %(count)d files and/or folders to folder " "'%(destination)s'." msgstr "" -#: admin/folderadmin.py:930 admin/folderadmin.py:932 +#: admin/folderadmin.py:942 admin/folderadmin.py:944 msgid "Move files and/or folders" msgstr "" -#: admin/folderadmin.py:947 +#: admin/folderadmin.py:959 msgid "Move selected files and/or folders" msgstr "" -#: admin/folderadmin.py:1004 +#: admin/folderadmin.py:1016 #, python-format msgid "Successfully renamed %(count)d files." msgstr "" -#: admin/folderadmin.py:1013 admin/folderadmin.py:1015 -#: admin/folderadmin.py:1030 +#: admin/folderadmin.py:1025 admin/folderadmin.py:1027 +#: admin/folderadmin.py:1042 msgid "Rename files" msgstr "" -#: admin/folderadmin.py:1125 +#: admin/folderadmin.py:1137 #, python-format msgid "" "Successfully copied %(count)d files and/or folders to folder " "'%(destination)s'." msgstr "" -#: admin/folderadmin.py:1143 admin/folderadmin.py:1145 +#: admin/folderadmin.py:1155 admin/folderadmin.py:1157 msgid "Copy files and/or folders" msgstr "" -#: admin/folderadmin.py:1162 +#: admin/folderadmin.py:1174 msgid "Copy selected files and/or folders" msgstr "" -#: admin/folderadmin.py:1267 +#: admin/folderadmin.py:1279 #, python-format msgid "Successfully resized %(count)d images." msgstr "" -#: admin/folderadmin.py:1274 admin/folderadmin.py:1276 +#: admin/folderadmin.py:1286 admin/folderadmin.py:1288 msgid "Resize images" msgstr "" -#: admin/folderadmin.py:1292 +#: admin/folderadmin.py:1303 msgid "Resize selected images" msgstr "" @@ -194,34 +194,30 @@ msgstr "" msgid "Invalid rename format: %(error)s." msgstr "" -#: admin/forms.py:64 models/thumbnailoptionmodels.py:37 +#: admin/forms.py:68 models/thumbnailoptionmodels.py:37 msgid "thumbnail option" msgstr "" -#: admin/forms.py:67 models/thumbnailoptionmodels.py:15 +#: admin/forms.py:72 models/thumbnailoptionmodels.py:15 msgid "width" msgstr "" -#: admin/forms.py:68 models/thumbnailoptionmodels.py:20 +#: admin/forms.py:73 models/thumbnailoptionmodels.py:20 msgid "height" msgstr "" -#: admin/forms.py:69 models/thumbnailoptionmodels.py:25 +#: admin/forms.py:74 models/thumbnailoptionmodels.py:25 msgid "crop" msgstr "" -#: admin/forms.py:70 models/thumbnailoptionmodels.py:30 +#: admin/forms.py:75 models/thumbnailoptionmodels.py:30 msgid "upscale" msgstr "" -#: admin/forms.py:75 +#: admin/forms.py:79 msgid "Thumbnail option or resize parameters must be choosen." msgstr "" -#: admin/forms.py:77 -msgid "Resize parameters must be choosen." -msgstr "" - #: admin/imageadmin.py:18 admin/imageadmin.py:105 msgid "Subject location" msgstr "" @@ -265,26 +261,42 @@ msgstr "" msgid "Media library" msgstr "" -#: models/abstract.py:49 +#: models/abstract.py:62 msgid "default alt text" msgstr "" -#: models/abstract.py:56 +#: models/abstract.py:69 msgid "default caption" msgstr "" -#: models/abstract.py:63 +#: models/abstract.py:76 msgid "subject location" msgstr "" -#: models/abstract.py:78 +#: models/abstract.py:91 msgid "image" msgstr "" -#: models/abstract.py:79 +#: models/abstract.py:92 msgid "images" msgstr "" +#: models/abstract.py:147 +#, python-format +msgid "" +"Image format not recognized or image size exceeds limit of %(max_pixels)d " +"million pixels by a factor of two or more. Before uploading again, check " +"file format or resize image to %(width)d x %(height)d resolution or lower." +msgstr "" + +#: models/abstract.py:156 +#, python-format +msgid "" +"Image size (%(pixels)d million pixels) exceeds limit of %(max_pixels)d " +"million pixels. Before uploading again, resize image to %(width)d x " +"%(height)d resolution or lower." +msgstr "" + #: models/clipboardmodels.py:11 models/foldermodels.py:289 msgid "user" msgstr "" @@ -728,21 +740,17 @@ msgstr "" msgid "The following images will be resized:" msgstr "" -#: templates/admin/filer/folder/choose_images_resize_options.html:33 +#: templates/admin/filer/folder/choose_images_resize_options.html:32 msgid "Choose an existing thumbnail option or enter resize parameters:" msgstr "" -#: templates/admin/filer/folder/choose_images_resize_options.html:35 -msgid "Choose resize parameters:" -msgstr "" - -#: templates/admin/filer/folder/choose_images_resize_options.html:38 +#: templates/admin/filer/folder/choose_images_resize_options.html:36 msgid "" "Warning: Images will be resized in-place and originals will be lost. Maybe " "first make a copy of them to retain the originals." msgstr "" -#: templates/admin/filer/folder/choose_images_resize_options.html:41 +#: templates/admin/filer/folder/choose_images_resize_options.html:39 msgid "Resize" msgstr "" @@ -1074,7 +1082,7 @@ msgstr "" #: templates/admin/filer/tools/detail_info.html:20 #: templates/admin/filer/widgets/admin_file.html:32 -#: templatetags/filer_admin_tags.py:107 +#: templatetags/filer_admin_tags.py:108 msgid "File is missing" msgstr "" @@ -1133,28 +1141,39 @@ msgstr "" msgid "Choose Folder" msgstr "" -#: validation.py:19 +#: validation.py:20 #, python-brace-format msgid "File \"{file_name}\": Upload denied by site security policy" msgstr "" -#: validation.py:22 +#: validation.py:23 #, python-brace-format msgid "File \"{file_name}\": {file_type} upload denied by site security policy" msgstr "" -#: validation.py:33 +#: validation.py:34 #, python-brace-format msgid "File \"{file_name}\": HTML upload denied by site security policy" msgstr "" -#: validation.py:71 +#: validation.py:72 #, python-brace-format msgid "" "File \"{file_name}\": Rejected due to potential cross site scripting " "vulnerability" msgstr "" +#: validation.py:84 +#, python-brace-format +msgid "File \"{file_name}\": SVG file format not recognized" +msgstr "" + +#~ msgid "Resize parameters must be choosen." +#~ msgstr "Resize parameters must be choosen." + +#~ msgid "Choose resize parameters:" +#~ msgstr "Choose resize parameters:" + #~ msgid "Open file" #~ msgstr "Open file" diff --git a/filer/locale/ca/LC_MESSAGES/django.mo b/filer/locale/ca/LC_MESSAGES/django.mo index 923ae25db..abddc6195 100644 Binary files a/filer/locale/ca/LC_MESSAGES/django.mo and b/filer/locale/ca/LC_MESSAGES/django.mo differ diff --git a/filer/locale/ca/LC_MESSAGES/django.po b/filer/locale/ca/LC_MESSAGES/django.po index 73a7894d7..0cdd06293 100644 --- a/filer/locale/ca/LC_MESSAGES/django.po +++ b/filer/locale/ca/LC_MESSAGES/django.po @@ -10,7 +10,7 @@ msgid "" msgstr "" "Project-Id-Version: django Filer\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-07-31 22:21+0200\n" +"POT-Creation-Date: 2023-09-26 08:46+0200\n" "PO-Revision-Date: 2012-07-13 15:50+0000\n" "Last-Translator: Roger Pons , 2013-2014,2016\n" "Language-Team: Catalan (http://app.transifex.com/divio/django-filer/language/" @@ -21,27 +21,27 @@ msgstr "" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" -#: admin/clipboardadmin.py:16 +#: admin/clipboardadmin.py:17 msgid "You do not have permission to upload files." msgstr "" -#: admin/clipboardadmin.py:17 +#: admin/clipboardadmin.py:18 msgid "Can't find folder to upload. Please refresh and try again" msgstr "" -#: admin/clipboardadmin.py:19 +#: admin/clipboardadmin.py:20 msgid "Can't use this folder, Permission Denied. Please select another folder." msgstr "" -#: admin/fileadmin.py:47 +#: admin/fileadmin.py:73 msgid "Advanced" msgstr "Avançat" -#: admin/fileadmin.py:162 +#: admin/fileadmin.py:188 msgid "canonical URL" msgstr "URL canònica" -#: admin/folderadmin.py:399 admin/folderadmin.py:570 +#: admin/folderadmin.py:411 admin/folderadmin.py:582 msgid "" "Items must be selected in order to perform actions on them. No items have " "been changed." @@ -49,81 +49,81 @@ msgstr "" "Cal seleccionar els elements en ordre per tal de realitzar accions sobre " "ells. No s'ha modificat cap element." -#: admin/folderadmin.py:422 +#: admin/folderadmin.py:434 #, python-format msgid "%(total_count)s selected" msgid_plural "All %(total_count)s selected" msgstr[0] "%(total_count)s seleccionat" msgstr[1] "Tots %(total_count)s seleccionats" -#: admin/folderadmin.py:448 +#: admin/folderadmin.py:460 #, python-format msgid "Directory listing for %(folder_name)s" msgstr "" -#: admin/folderadmin.py:463 +#: admin/folderadmin.py:475 #, python-format msgid "0 of %(cnt)s selected" msgstr "0 de %(cnt)s seleccionats" -#: admin/folderadmin.py:600 +#: admin/folderadmin.py:612 msgid "No action selected." msgstr "No s'ha seleccionat cap acció." -#: admin/folderadmin.py:652 +#: admin/folderadmin.py:664 #, python-format msgid "Successfully moved %(count)d files to clipboard." msgstr "S'han mogut %(count)d fitxers al portapapers." -#: admin/folderadmin.py:657 +#: admin/folderadmin.py:669 msgid "Move selected files to clipboard" msgstr "Moure els fitxers seleccionats al portapapers." -#: admin/folderadmin.py:697 +#: admin/folderadmin.py:709 #, python-format msgid "Successfully disabled permissions for %(count)d files." msgstr "S'han desactivat els permisos de %(count)d fitxers." -#: admin/folderadmin.py:699 +#: admin/folderadmin.py:711 #, python-format msgid "Successfully enabled permissions for %(count)d files." msgstr "S'han activat els permisos de %(count)d fitxers." -#: admin/folderadmin.py:707 +#: admin/folderadmin.py:719 msgid "Enable permissions for selected files" msgstr "Activar els permisos dels fitxers seleccionats" -#: admin/folderadmin.py:713 +#: admin/folderadmin.py:725 msgid "Disable permissions for selected files" msgstr "Desactivaer els permisos dels fitxers seleccionats" -#: admin/folderadmin.py:777 +#: admin/folderadmin.py:789 #, python-format msgid "Successfully deleted %(count)d files and/or folders." msgstr "S'han esborrat %(count)d fitxers i/o carpetes." -#: admin/folderadmin.py:782 +#: admin/folderadmin.py:794 msgid "Cannot delete files and/or folders" msgstr "No es poden esborrar els fitxers i/o carpetes" -#: admin/folderadmin.py:784 +#: admin/folderadmin.py:796 msgid "Are you sure?" msgstr "Esteu segur?" -#: admin/folderadmin.py:790 +#: admin/folderadmin.py:802 msgid "Delete files and/or folders" msgstr "Esborrar fitxers i/o carpetes" -#: admin/folderadmin.py:811 +#: admin/folderadmin.py:823 msgid "Delete selected files and/or folders" msgstr "Esborrar els fitxers i/o carpetes seleccionats" -#: admin/folderadmin.py:918 +#: admin/folderadmin.py:930 #, python-format msgid "Folders with names %s already exist at the selected destination" msgstr "Ja existeixen carpetes amb els noms %s a la destinació seleccionada" -#: admin/folderadmin.py:922 +#: admin/folderadmin.py:934 #, python-format msgid "" "Successfully moved %(count)d files and/or folders to folder " @@ -131,25 +131,25 @@ msgid "" msgstr "" "S'han mogut %(count)d fitxers i/o carpetes a la carpeta '%(destination)s'" -#: admin/folderadmin.py:930 admin/folderadmin.py:932 +#: admin/folderadmin.py:942 admin/folderadmin.py:944 msgid "Move files and/or folders" msgstr "Moure fitxers i/o carpetes" -#: admin/folderadmin.py:947 +#: admin/folderadmin.py:959 msgid "Move selected files and/or folders" msgstr "Moure els fitxers i/o carpetes seleccionats" -#: admin/folderadmin.py:1004 +#: admin/folderadmin.py:1016 #, python-format msgid "Successfully renamed %(count)d files." msgstr "S'ha canviat el nom de %(count)d fitxers." -#: admin/folderadmin.py:1013 admin/folderadmin.py:1015 -#: admin/folderadmin.py:1030 +#: admin/folderadmin.py:1025 admin/folderadmin.py:1027 +#: admin/folderadmin.py:1042 msgid "Rename files" msgstr "Canviar el nom a fitxers" -#: admin/folderadmin.py:1125 +#: admin/folderadmin.py:1137 #, python-format msgid "" "Successfully copied %(count)d files and/or folders to folder " @@ -157,24 +157,24 @@ msgid "" msgstr "" "S'han copiat %(count)d fitxeres i/o carpetes a la carpeta '%(destination)s'." -#: admin/folderadmin.py:1143 admin/folderadmin.py:1145 +#: admin/folderadmin.py:1155 admin/folderadmin.py:1157 msgid "Copy files and/or folders" msgstr "Copiar fitxers i/o carpetes" -#: admin/folderadmin.py:1162 +#: admin/folderadmin.py:1174 msgid "Copy selected files and/or folders" msgstr "Copiar els fitxers i/o carpetes seleccionats" -#: admin/folderadmin.py:1267 +#: admin/folderadmin.py:1279 #, python-format msgid "Successfully resized %(count)d images." msgstr "S'han redimensionat %(count)d imatges." -#: admin/folderadmin.py:1274 admin/folderadmin.py:1276 +#: admin/folderadmin.py:1286 admin/folderadmin.py:1288 msgid "Resize images" msgstr "Redimensionar imatges" -#: admin/folderadmin.py:1292 +#: admin/folderadmin.py:1303 msgid "Resize selected images" msgstr "Redimensionar les imatges seleccionades" @@ -201,34 +201,30 @@ msgstr "Format de renombrat amb valor de clau \"%(key)s\" desconegut." msgid "Invalid rename format: %(error)s." msgstr "Format de renombrat no vàlid: %(error)s" -#: admin/forms.py:64 models/thumbnailoptionmodels.py:37 +#: admin/forms.py:68 models/thumbnailoptionmodels.py:37 msgid "thumbnail option" msgstr "opció de miniatures" -#: admin/forms.py:67 models/thumbnailoptionmodels.py:15 +#: admin/forms.py:72 models/thumbnailoptionmodels.py:15 msgid "width" msgstr "ample" -#: admin/forms.py:68 models/thumbnailoptionmodels.py:20 +#: admin/forms.py:73 models/thumbnailoptionmodels.py:20 msgid "height" msgstr "alçada" -#: admin/forms.py:69 models/thumbnailoptionmodels.py:25 +#: admin/forms.py:74 models/thumbnailoptionmodels.py:25 msgid "crop" msgstr "retallar" -#: admin/forms.py:70 models/thumbnailoptionmodels.py:30 +#: admin/forms.py:75 models/thumbnailoptionmodels.py:30 msgid "upscale" msgstr "ampliar" -#: admin/forms.py:75 +#: admin/forms.py:79 msgid "Thumbnail option or resize parameters must be choosen." msgstr "Heu de triar una opció de miniatura o paràmetres de redimensionat." -#: admin/forms.py:77 -msgid "Resize parameters must be choosen." -msgstr "Heu de triar paràmetres de redimensionat." - #: admin/imageadmin.py:18 admin/imageadmin.py:105 msgid "Subject location" msgstr "Lloc del subjecte." @@ -272,26 +268,42 @@ msgstr "Filer" msgid "Media library" msgstr "Biblioteca de medis." -#: models/abstract.py:49 +#: models/abstract.py:62 msgid "default alt text" msgstr "text alternatiu per defecte" -#: models/abstract.py:56 +#: models/abstract.py:69 msgid "default caption" msgstr "títol per defecte" -#: models/abstract.py:63 +#: models/abstract.py:76 msgid "subject location" msgstr "lloc del subjecte" -#: models/abstract.py:78 +#: models/abstract.py:91 msgid "image" msgstr "imatge" -#: models/abstract.py:79 +#: models/abstract.py:92 msgid "images" msgstr "imatges" +#: models/abstract.py:147 +#, python-format +msgid "" +"Image format not recognized or image size exceeds limit of %(max_pixels)d " +"million pixels by a factor of two or more. Before uploading again, check " +"file format or resize image to %(width)d x %(height)d resolution or lower." +msgstr "" + +#: models/abstract.py:156 +#, python-format +msgid "" +"Image size (%(pixels)d million pixels) exceeds limit of %(max_pixels)d " +"million pixels. Before uploading again, resize image to %(width)d x " +"%(height)d resolution or lower." +msgstr "" + #: models/clipboardmodels.py:11 models/foldermodels.py:289 msgid "user" msgstr "usuari" @@ -749,17 +761,13 @@ msgstr "No hi ha imatges disponibles per redimensionar." msgid "The following images will be resized:" msgstr "Les següents imatges seran redimensionades:" -#: templates/admin/filer/folder/choose_images_resize_options.html:33 +#: templates/admin/filer/folder/choose_images_resize_options.html:32 msgid "Choose an existing thumbnail option or enter resize parameters:" msgstr "" "Trieu una opció de miniatura existent o especifiqueu paràmetres de " "redimensionat:" -#: templates/admin/filer/folder/choose_images_resize_options.html:35 -msgid "Choose resize parameters:" -msgstr "Trieu els paràmetres de redimensionat:" - -#: templates/admin/filer/folder/choose_images_resize_options.html:38 +#: templates/admin/filer/folder/choose_images_resize_options.html:36 msgid "" "Warning: Images will be resized in-place and originals will be lost. Maybe " "first make a copy of them to retain the originals." @@ -768,7 +776,7 @@ msgstr "" "perdran. Considereu realitzar abans una còpia d'aquestes per mantenir els " "originals." -#: templates/admin/filer/folder/choose_images_resize_options.html:41 +#: templates/admin/filer/folder/choose_images_resize_options.html:39 msgid "Resize" msgstr "Redimensionar" @@ -1109,7 +1117,7 @@ msgstr "" #: templates/admin/filer/tools/detail_info.html:20 #: templates/admin/filer/widgets/admin_file.html:32 -#: templatetags/filer_admin_tags.py:107 +#: templatetags/filer_admin_tags.py:108 msgid "File is missing" msgstr "" @@ -1168,28 +1176,39 @@ msgstr "Escollir Fitxer" msgid "Choose Folder" msgstr "" -#: validation.py:19 +#: validation.py:20 #, python-brace-format msgid "File \"{file_name}\": Upload denied by site security policy" msgstr "" -#: validation.py:22 +#: validation.py:23 #, python-brace-format msgid "File \"{file_name}\": {file_type} upload denied by site security policy" msgstr "" -#: validation.py:33 +#: validation.py:34 #, python-brace-format msgid "File \"{file_name}\": HTML upload denied by site security policy" msgstr "" -#: validation.py:71 +#: validation.py:72 #, python-brace-format msgid "" "File \"{file_name}\": Rejected due to potential cross site scripting " "vulnerability" msgstr "" +#: validation.py:84 +#, python-brace-format +msgid "File \"{file_name}\": SVG file format not recognized" +msgstr "" + +#~ msgid "Resize parameters must be choosen." +#~ msgstr "Resize parameters must be choosen." + +#~ msgid "Choose resize parameters:" +#~ msgstr "Choose resize parameters:" + #~ msgid "Open file" #~ msgstr "Open file" diff --git a/filer/locale/cs/LC_MESSAGES/django.mo b/filer/locale/cs/LC_MESSAGES/django.mo index 8264299e8..c73f2c7d9 100644 Binary files a/filer/locale/cs/LC_MESSAGES/django.mo and b/filer/locale/cs/LC_MESSAGES/django.mo differ diff --git a/filer/locale/cs/LC_MESSAGES/django.po b/filer/locale/cs/LC_MESSAGES/django.po index 948960e99..b1b08ceff 100644 --- a/filer/locale/cs/LC_MESSAGES/django.po +++ b/filer/locale/cs/LC_MESSAGES/django.po @@ -11,7 +11,7 @@ msgid "" msgstr "" "Project-Id-Version: django Filer\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-07-31 22:21+0200\n" +"POT-Creation-Date: 2023-09-26 08:46+0200\n" "PO-Revision-Date: 2012-07-13 15:50+0000\n" "Last-Translator: Jakub Dorňák , 2020\n" "Language-Team: Czech (http://app.transifex.com/divio/django-filer/language/" @@ -23,33 +23,33 @@ msgstr "" "Plural-Forms: nplurals=4; plural=(n == 1 && n % 1 == 0) ? 0 : (n >= 2 && n " "<= 4 && n % 1 == 0) ? 1: (n % 1 != 0 ) ? 2 : 3;\n" -#: admin/clipboardadmin.py:16 +#: admin/clipboardadmin.py:17 msgid "You do not have permission to upload files." msgstr "" -#: admin/clipboardadmin.py:17 +#: admin/clipboardadmin.py:18 msgid "Can't find folder to upload. Please refresh and try again" msgstr "" -#: admin/clipboardadmin.py:19 +#: admin/clipboardadmin.py:20 msgid "Can't use this folder, Permission Denied. Please select another folder." msgstr "" -#: admin/fileadmin.py:47 +#: admin/fileadmin.py:73 msgid "Advanced" msgstr "Pokročilé" -#: admin/fileadmin.py:162 +#: admin/fileadmin.py:188 msgid "canonical URL" msgstr "kanonický odkaz" -#: admin/folderadmin.py:399 admin/folderadmin.py:570 +#: admin/folderadmin.py:411 admin/folderadmin.py:582 msgid "" "Items must be selected in order to perform actions on them. No items have " "been changed." msgstr "Nejdříve vyberte položku, která má být změněna." -#: admin/folderadmin.py:422 +#: admin/folderadmin.py:434 #, python-format msgid "%(total_count)s selected" msgid_plural "All %(total_count)s selected" @@ -58,74 +58,74 @@ msgstr[1] "" msgstr[2] "" msgstr[3] "" -#: admin/folderadmin.py:448 +#: admin/folderadmin.py:460 #, python-format msgid "Directory listing for %(folder_name)s" msgstr "Výpis složky %(folder_name)s" -#: admin/folderadmin.py:463 +#: admin/folderadmin.py:475 #, python-format msgid "0 of %(cnt)s selected" msgstr "žádná položka z %(cnt)s není vybrána" -#: admin/folderadmin.py:600 +#: admin/folderadmin.py:612 msgid "No action selected." msgstr "Nebyla vybrána žádná operace." -#: admin/folderadmin.py:652 +#: admin/folderadmin.py:664 #, python-format msgid "Successfully moved %(count)d files to clipboard." msgstr "Soubory (%(count)d) byly přesunuty do schránky." -#: admin/folderadmin.py:657 +#: admin/folderadmin.py:669 msgid "Move selected files to clipboard" msgstr "Přesunout vybrané soubory do schránky" -#: admin/folderadmin.py:697 +#: admin/folderadmin.py:709 #, python-format msgid "Successfully disabled permissions for %(count)d files." msgstr "Pro vybrané soubory (%(count)d) byla deaktivována oprávnění." -#: admin/folderadmin.py:699 +#: admin/folderadmin.py:711 #, python-format msgid "Successfully enabled permissions for %(count)d files." msgstr "Pro vybrané soubory (%(count)d) byla aktivována oprávnění." -#: admin/folderadmin.py:707 +#: admin/folderadmin.py:719 msgid "Enable permissions for selected files" msgstr "Aktivovat oprávnění pro vybrané soubory" -#: admin/folderadmin.py:713 +#: admin/folderadmin.py:725 msgid "Disable permissions for selected files" msgstr "Deaktivovat oprávnění pro vybrané soubory" -#: admin/folderadmin.py:777 +#: admin/folderadmin.py:789 #, python-format msgid "Successfully deleted %(count)d files and/or folders." msgstr "Vybrané soubory a/nebo složky (%(count)d) byly smazány." -#: admin/folderadmin.py:782 +#: admin/folderadmin.py:794 msgid "Cannot delete files and/or folders" msgstr "Nemohu smazat soubory a/nebo složky" -#: admin/folderadmin.py:784 +#: admin/folderadmin.py:796 msgid "Are you sure?" msgstr "Opravdu provést?" -#: admin/folderadmin.py:790 +#: admin/folderadmin.py:802 msgid "Delete files and/or folders" msgstr "Smazat soubory a/nebo složky" -#: admin/folderadmin.py:811 +#: admin/folderadmin.py:823 msgid "Delete selected files and/or folders" msgstr "Smazat vybrané soubory a/nebo složky" -#: admin/folderadmin.py:918 +#: admin/folderadmin.py:930 #, python-format msgid "Folders with names %s already exist at the selected destination" msgstr "Složky pojmenované %s již v cílové složce existují" -#: admin/folderadmin.py:922 +#: admin/folderadmin.py:934 #, python-format msgid "" "Successfully moved %(count)d files and/or folders to folder " @@ -134,25 +134,25 @@ msgstr "" "Vybrané soubory a/nebo složky (%(count)d) byly přesunuty do složky " "'%(destination)s'." -#: admin/folderadmin.py:930 admin/folderadmin.py:932 +#: admin/folderadmin.py:942 admin/folderadmin.py:944 msgid "Move files and/or folders" msgstr "Přesunout soubory a/nebo složky" -#: admin/folderadmin.py:947 +#: admin/folderadmin.py:959 msgid "Move selected files and/or folders" msgstr "Přesunout vybrané soubory a/nebo složky" -#: admin/folderadmin.py:1004 +#: admin/folderadmin.py:1016 #, python-format msgid "Successfully renamed %(count)d files." msgstr "Soubory (%(count)d) vyly přejmenovány." -#: admin/folderadmin.py:1013 admin/folderadmin.py:1015 -#: admin/folderadmin.py:1030 +#: admin/folderadmin.py:1025 admin/folderadmin.py:1027 +#: admin/folderadmin.py:1042 msgid "Rename files" msgstr "Přejmenovat soubory" -#: admin/folderadmin.py:1125 +#: admin/folderadmin.py:1137 #, python-format msgid "" "Successfully copied %(count)d files and/or folders to folder " @@ -161,24 +161,24 @@ msgstr "" "Soubory a/nebo složky (%(count)d) byly zkopírovány do složky " "'%(destination)s'." -#: admin/folderadmin.py:1143 admin/folderadmin.py:1145 +#: admin/folderadmin.py:1155 admin/folderadmin.py:1157 msgid "Copy files and/or folders" msgstr "Kopírovat soubory a/nebo složky" -#: admin/folderadmin.py:1162 +#: admin/folderadmin.py:1174 msgid "Copy selected files and/or folders" msgstr "Kopírovat vybrané soubory a/nebo složky" -#: admin/folderadmin.py:1267 +#: admin/folderadmin.py:1279 #, python-format msgid "Successfully resized %(count)d images." msgstr "Velikost obrázků (%(count)d) byla změněna." -#: admin/folderadmin.py:1274 admin/folderadmin.py:1276 +#: admin/folderadmin.py:1286 admin/folderadmin.py:1288 msgid "Resize images" msgstr "Změnit velikost obrázků" -#: admin/folderadmin.py:1292 +#: admin/folderadmin.py:1303 msgid "Resize selected images" msgstr "Změnit velikost vybraných obrázků" @@ -205,36 +205,32 @@ msgstr "Neznámý formát klíče pro přejmenování \"%(key)s\"." msgid "Invalid rename format: %(error)s." msgstr "Špatný formát přejmenování: %(error)s." -#: admin/forms.py:64 models/thumbnailoptionmodels.py:37 +#: admin/forms.py:68 models/thumbnailoptionmodels.py:37 msgid "thumbnail option" msgstr "volby náhledu" -#: admin/forms.py:67 models/thumbnailoptionmodels.py:15 +#: admin/forms.py:72 models/thumbnailoptionmodels.py:15 msgid "width" msgstr "šířka" -#: admin/forms.py:68 models/thumbnailoptionmodels.py:20 +#: admin/forms.py:73 models/thumbnailoptionmodels.py:20 msgid "height" msgstr "výška" -#: admin/forms.py:69 models/thumbnailoptionmodels.py:25 +#: admin/forms.py:74 models/thumbnailoptionmodels.py:25 msgid "crop" msgstr "oříznout" -#: admin/forms.py:70 models/thumbnailoptionmodels.py:30 +#: admin/forms.py:75 models/thumbnailoptionmodels.py:30 msgid "upscale" msgstr "zvětšit" -#: admin/forms.py:75 +#: admin/forms.py:79 msgid "Thumbnail option or resize parameters must be choosen." msgstr "" "Musíte vybrat předdefinované volby náhledu nebo nastavit jednotlivé " "parametry." -#: admin/forms.py:77 -msgid "Resize parameters must be choosen." -msgstr "Parametry pro změny velikosti musí být vybrány." - #: admin/imageadmin.py:18 admin/imageadmin.py:105 msgid "Subject location" msgstr "Pozice objektu" @@ -278,26 +274,42 @@ msgstr "Správce souborů" msgid "Media library" msgstr "Knihovna médií" -#: models/abstract.py:49 +#: models/abstract.py:62 msgid "default alt text" msgstr "výchozí alternativní text" -#: models/abstract.py:56 +#: models/abstract.py:69 msgid "default caption" msgstr "výchozí popisek" -#: models/abstract.py:63 +#: models/abstract.py:76 msgid "subject location" msgstr "poloha objektu" -#: models/abstract.py:78 +#: models/abstract.py:91 msgid "image" msgstr "obrázek" -#: models/abstract.py:79 +#: models/abstract.py:92 msgid "images" msgstr "obrázky" +#: models/abstract.py:147 +#, python-format +msgid "" +"Image format not recognized or image size exceeds limit of %(max_pixels)d " +"million pixels by a factor of two or more. Before uploading again, check " +"file format or resize image to %(width)d x %(height)d resolution or lower." +msgstr "" + +#: models/abstract.py:156 +#, python-format +msgid "" +"Image size (%(pixels)d million pixels) exceeds limit of %(max_pixels)d " +"million pixels. Before uploading again, resize image to %(width)d x " +"%(height)d resolution or lower." +msgstr "" + #: models/clipboardmodels.py:11 models/foldermodels.py:289 msgid "user" msgstr "uživatel" @@ -752,16 +764,12 @@ msgstr "Žádné obrázky ke změně velikosti." msgid "The following images will be resized:" msgstr "Následujícím obrázkům bude změněna velikost:" -#: templates/admin/filer/folder/choose_images_resize_options.html:33 +#: templates/admin/filer/folder/choose_images_resize_options.html:32 msgid "Choose an existing thumbnail option or enter resize parameters:" msgstr "" "Vyberte existující volby náhledu nebo zadejte parametry změny velikosti:" -#: templates/admin/filer/folder/choose_images_resize_options.html:35 -msgid "Choose resize parameters:" -msgstr "Vyberte parametry změny velikosti:" - -#: templates/admin/filer/folder/choose_images_resize_options.html:38 +#: templates/admin/filer/folder/choose_images_resize_options.html:36 msgid "" "Warning: Images will be resized in-place and originals will be lost. Maybe " "first make a copy of them to retain the originals." @@ -770,7 +778,7 @@ msgstr "" "Pokud chcete zachovat obrázky v původní velikosti, nejdříve vytvořte jejich " "kopie." -#: templates/admin/filer/folder/choose_images_resize_options.html:41 +#: templates/admin/filer/folder/choose_images_resize_options.html:39 msgid "Resize" msgstr "Změnit velikost" @@ -1111,7 +1119,7 @@ msgstr "" #: templates/admin/filer/tools/detail_info.html:20 #: templates/admin/filer/widgets/admin_file.html:32 -#: templatetags/filer_admin_tags.py:107 +#: templatetags/filer_admin_tags.py:108 msgid "File is missing" msgstr "" @@ -1170,28 +1178,39 @@ msgstr "Vybrat soubor" msgid "Choose Folder" msgstr "" -#: validation.py:19 +#: validation.py:20 #, python-brace-format msgid "File \"{file_name}\": Upload denied by site security policy" msgstr "" -#: validation.py:22 +#: validation.py:23 #, python-brace-format msgid "File \"{file_name}\": {file_type} upload denied by site security policy" msgstr "" -#: validation.py:33 +#: validation.py:34 #, python-brace-format msgid "File \"{file_name}\": HTML upload denied by site security policy" msgstr "" -#: validation.py:71 +#: validation.py:72 #, python-brace-format msgid "" "File \"{file_name}\": Rejected due to potential cross site scripting " "vulnerability" msgstr "" +#: validation.py:84 +#, python-brace-format +msgid "File \"{file_name}\": SVG file format not recognized" +msgstr "" + +#~ msgid "Resize parameters must be choosen." +#~ msgstr "Resize parameters must be choosen." + +#~ msgid "Choose resize parameters:" +#~ msgstr "Choose resize parameters:" + #~ msgid "Open file" #~ msgstr "Open file" diff --git a/filer/locale/de/LC_MESSAGES/django.mo b/filer/locale/de/LC_MESSAGES/django.mo index ccbfd5b60..2fd9fa070 100644 Binary files a/filer/locale/de/LC_MESSAGES/django.mo and b/filer/locale/de/LC_MESSAGES/django.mo differ diff --git a/filer/locale/de/LC_MESSAGES/django.po b/filer/locale/de/LC_MESSAGES/django.po index 10d1bc769..5d301a387 100644 --- a/filer/locale/de/LC_MESSAGES/django.po +++ b/filer/locale/de/LC_MESSAGES/django.po @@ -16,7 +16,7 @@ msgid "" msgstr "" "Project-Id-Version: django Filer\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-07-31 22:21+0200\n" +"POT-Creation-Date: 2023-09-26 08:46+0200\n" "PO-Revision-Date: 2012-07-13 15:50+0000\n" "Last-Translator: Fabian Braun , 2023\n" "Language-Team: German (http://app.transifex.com/divio/django-filer/language/de/)\n" @@ -26,159 +26,159 @@ msgstr "" "Language: de\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" -#: admin/clipboardadmin.py:16 +#: admin/clipboardadmin.py:17 #| msgid "" #| "ccount doesn't have permissions to rename all of the selected files." msgid "You do not have permission to upload files." msgstr "Du hast keine Berechtigungen, um Dateien hochzuladen." -#: admin/clipboardadmin.py:17 +#: admin/clipboardadmin.py:18 msgid "Can't find folder to upload. Please refresh and try again" msgstr "Ich kann den Zielordner nicht finden. Bitter lade die Seite neu und versuche es noch einmal." -#: admin/clipboardadmin.py:19 +#: admin/clipboardadmin.py:20 msgid "" "Can't use this folder, Permission Denied. Please select another folder." msgstr "Zugriff auf diesen Ordner verweigert. Bitte wähle einen anderen Ordner." -#: admin/fileadmin.py:47 +#: admin/fileadmin.py:73 msgid "Advanced" msgstr "Fortgeschritten" -#: admin/fileadmin.py:162 +#: admin/fileadmin.py:188 msgid "canonical URL" msgstr "Kanonische URL" -#: admin/folderadmin.py:399 admin/folderadmin.py:570 +#: admin/folderadmin.py:411 admin/folderadmin.py:582 msgid "" "Items must be selected in order to perform actions on them. No items have " "been changed." msgstr "Einträge müssen ausgewählt werden, um Aktionen darauf auszuführen. Keine Einträge wurden geändert." -#: admin/folderadmin.py:422 +#: admin/folderadmin.py:434 #, python-format msgid "%(total_count)s selected" msgid_plural "All %(total_count)s selected" msgstr[0] "%(total_count)s ausgewählt" msgstr[1] "Alle %(total_count)s ausgewählt" -#: admin/folderadmin.py:448 +#: admin/folderadmin.py:460 #, python-format msgid "Directory listing for %(folder_name)s" msgstr "Verzeichnis Auflistung für %(folder_name)s" -#: admin/folderadmin.py:463 +#: admin/folderadmin.py:475 #, python-format msgid "0 of %(cnt)s selected" msgstr "0 von %(cnt)s ausgewählt" -#: admin/folderadmin.py:600 +#: admin/folderadmin.py:612 msgid "No action selected." msgstr "Keine Aktion ausgewählt." -#: admin/folderadmin.py:652 +#: admin/folderadmin.py:664 #, python-format msgid "Successfully moved %(count)d files to clipboard." msgstr "%(count)d Dateien wurden erfolgreich in die Zwischenablage gelegt." -#: admin/folderadmin.py:657 +#: admin/folderadmin.py:669 msgid "Move selected files to clipboard" msgstr "Ausgewählte Dateien in die Zwischenablage legen" -#: admin/folderadmin.py:697 +#: admin/folderadmin.py:709 #, python-format msgid "Successfully disabled permissions for %(count)d files." msgstr "Berechtigungen für %(count)d Dateien erfolgreich deaktiviert." -#: admin/folderadmin.py:699 +#: admin/folderadmin.py:711 #, python-format msgid "Successfully enabled permissions for %(count)d files." msgstr "Berechtigungen für %(count)d Dateien erfolgreich aktiviert." -#: admin/folderadmin.py:707 +#: admin/folderadmin.py:719 msgid "Enable permissions for selected files" msgstr "Berechtigungen für ausgewählte Dateien aktivieren" -#: admin/folderadmin.py:713 +#: admin/folderadmin.py:725 msgid "Disable permissions for selected files" msgstr "Berechtigungen für ausgewählte Dateien deaktivieren" -#: admin/folderadmin.py:777 +#: admin/folderadmin.py:789 #, python-format msgid "Successfully deleted %(count)d files and/or folders." msgstr "%(count)d Dateien und/oder Ordner wurden erfolgreich gelöscht." -#: admin/folderadmin.py:782 +#: admin/folderadmin.py:794 msgid "Cannot delete files and/or folders" msgstr "Dateien und/oder Ordner können nicht gelöscht werden" -#: admin/folderadmin.py:784 +#: admin/folderadmin.py:796 msgid "Are you sure?" msgstr "Bist Du sicher?" -#: admin/folderadmin.py:790 +#: admin/folderadmin.py:802 msgid "Delete files and/or folders" msgstr "Lösche Dateien und/oder Ordner" -#: admin/folderadmin.py:811 +#: admin/folderadmin.py:823 msgid "Delete selected files and/or folders" msgstr "Lösche ausgewählte Dateien und/oder Ordner" -#: admin/folderadmin.py:918 +#: admin/folderadmin.py:930 #, python-format msgid "Folders with names %s already exist at the selected destination" msgstr "Die Ordner mit den Namen %s existieren bereits am ausgewählten Zielort" -#: admin/folderadmin.py:922 +#: admin/folderadmin.py:934 #, python-format msgid "" "Successfully moved %(count)d files and/or folders to folder " "'%(destination)s'." msgstr "%(count)d Dateien und/oder Ordner wurden erfolgreich in den Ordner '%(destination)s' verschoben." -#: admin/folderadmin.py:930 admin/folderadmin.py:932 +#: admin/folderadmin.py:942 admin/folderadmin.py:944 msgid "Move files and/or folders" msgstr "Verschiebe Dateien und/oder Ordner" -#: admin/folderadmin.py:947 +#: admin/folderadmin.py:959 msgid "Move selected files and/or folders" msgstr "Ausgewählte Dateien und/oder Ordner verschieben" -#: admin/folderadmin.py:1004 +#: admin/folderadmin.py:1016 #, python-format msgid "Successfully renamed %(count)d files." msgstr "%(count)d Dateien wurden erfolgreich umbenannt." -#: admin/folderadmin.py:1013 admin/folderadmin.py:1015 -#: admin/folderadmin.py:1030 +#: admin/folderadmin.py:1025 admin/folderadmin.py:1027 +#: admin/folderadmin.py:1042 msgid "Rename files" msgstr "Dateien umbenennen" -#: admin/folderadmin.py:1125 +#: admin/folderadmin.py:1137 #, python-format msgid "" "Successfully copied %(count)d files and/or folders to folder " "'%(destination)s'." msgstr "%(count)d Dateien und/oder Ordner wurden erfolgreich in den Ordner '%(destination)s' kopiert." -#: admin/folderadmin.py:1143 admin/folderadmin.py:1145 +#: admin/folderadmin.py:1155 admin/folderadmin.py:1157 msgid "Copy files and/or folders" msgstr "Kopiere Dateien und/oder Ordner" -#: admin/folderadmin.py:1162 +#: admin/folderadmin.py:1174 msgid "Copy selected files and/or folders" msgstr "Ausgewählte Dateien und/oder Ordner kopieren" -#: admin/folderadmin.py:1267 +#: admin/folderadmin.py:1279 #, python-format msgid "Successfully resized %(count)d images." msgstr "Die Bildgrösse von %(count)d Bildern wurde erfolgreich geändert." -#: admin/folderadmin.py:1274 admin/folderadmin.py:1276 +#: admin/folderadmin.py:1286 admin/folderadmin.py:1288 msgid "Resize images" msgstr "Bildgrössen verändern" -#: admin/folderadmin.py:1292 +#: admin/folderadmin.py:1303 msgid "Resize selected images" msgstr "Die Bildgrössen der ausgewählten Bilder verändern" @@ -203,34 +203,30 @@ msgstr "Unbekannter Schlüssel für das Umbenennungs-Format: %(key)s." msgid "Invalid rename format: %(error)s." msgstr "Ungültiges Umbenennungs-Format: %(error)s." -#: admin/forms.py:64 models/thumbnailoptionmodels.py:37 +#: admin/forms.py:68 models/thumbnailoptionmodels.py:37 msgid "thumbnail option" msgstr "Vorschaubild Optionen" -#: admin/forms.py:67 models/thumbnailoptionmodels.py:15 +#: admin/forms.py:72 models/thumbnailoptionmodels.py:15 msgid "width" msgstr "Breite" -#: admin/forms.py:68 models/thumbnailoptionmodels.py:20 +#: admin/forms.py:73 models/thumbnailoptionmodels.py:20 msgid "height" msgstr "Höhe" -#: admin/forms.py:69 models/thumbnailoptionmodels.py:25 +#: admin/forms.py:74 models/thumbnailoptionmodels.py:25 msgid "crop" msgstr "Beschneiden" -#: admin/forms.py:70 models/thumbnailoptionmodels.py:30 +#: admin/forms.py:75 models/thumbnailoptionmodels.py:30 msgid "upscale" msgstr "Vergrössern" -#: admin/forms.py:75 +#: admin/forms.py:79 msgid "Thumbnail option or resize parameters must be choosen." msgstr "Vorschaubild Optionen oder Parameter zur Grössenänderung müssen ausgewählt werden." -#: admin/forms.py:77 -msgid "Resize parameters must be choosen." -msgstr "Parameter zur Grössenänderung müssen ausgewählt werden." - #: admin/imageadmin.py:18 admin/imageadmin.py:105 msgid "Subject location" msgstr "Ort des Hauptinhalts" @@ -274,26 +270,42 @@ msgstr "Filer" msgid "Media library" msgstr "Medienbibliothek" -#: models/abstract.py:49 +#: models/abstract.py:62 msgid "default alt text" msgstr "Standard Alt-Text" -#: models/abstract.py:56 +#: models/abstract.py:69 msgid "default caption" msgstr "Standard Bildlegende" -#: models/abstract.py:63 +#: models/abstract.py:76 msgid "subject location" msgstr "Ort des Hauptinhalts" -#: models/abstract.py:78 +#: models/abstract.py:91 msgid "image" msgstr "Bild" -#: models/abstract.py:79 +#: models/abstract.py:92 msgid "images" msgstr "Bilder" +#: models/abstract.py:147 +#, python-format +msgid "" +"Image format not recognized or image size exceeds limit of %(max_pixels)d " +"million pixels by a factor of two or more. Before uploading again, check " +"file format or resize image to %(width)d x %(height)d resolution or lower." +msgstr "Bildformat nicht erkannt oder Bildgröße überschreitet den Grenzwert von %(max_pixels)d Millionen Pixeln um einen Faktor 2 oder mehr. Vor erneutem Hochladen prüfen Sie das Dateiformat oder verkleinern Sie das Bild auf %(width)d x %(height)d oder weniger." + +#: models/abstract.py:156 +#, python-format +msgid "" +"Image size (%(pixels)d million pixels) exceeds limit of %(max_pixels)d " +"million pixels. Before uploading again, resize image to %(width)d x " +"%(height)d resolution or lower." +msgstr "Bildgröße (%(pixels)d Millionen Pixel) überschreitet den Grenzwert von %(max_pixels)d Millionen Pixeln. Vor erneutem Hochladen verkleinern Sie das Bild auf %(width)d x %(height)d oder weniger." + #: models/clipboardmodels.py:11 models/foldermodels.py:289 msgid "user" msgstr "Benutzer" @@ -741,21 +753,17 @@ msgstr "Es gibt keine Bilder auf denen die Größenänderung anwendbar ist." msgid "The following images will be resized:" msgstr "Die Grösse der folgenden Bilder wird verändert:" -#: templates/admin/filer/folder/choose_images_resize_options.html:33 +#: templates/admin/filer/folder/choose_images_resize_options.html:32 msgid "Choose an existing thumbnail option or enter resize parameters:" msgstr "Wähle eine vorhandene Vorschaubild Option aus oder gib die Parameter für die Bildgrössenänderung an:" -#: templates/admin/filer/folder/choose_images_resize_options.html:35 -msgid "Choose resize parameters:" -msgstr "Wähle die Parameter für die Bildgrössenänderung:" - -#: templates/admin/filer/folder/choose_images_resize_options.html:38 +#: templates/admin/filer/folder/choose_images_resize_options.html:36 msgid "" "Warning: Images will be resized in-place and originals will be lost. Maybe " "first make a copy of them to retain the originals." msgstr "Warnung: Die Bilder werden in-place verändert. Die Originale gehen dabei verloren. Lege bei Bedarf eine Kopie der Originale an." -#: templates/admin/filer/folder/choose_images_resize_options.html:41 +#: templates/admin/filer/folder/choose_images_resize_options.html:39 msgid "Resize" msgstr "Bildgrösse verändern" @@ -1091,7 +1099,7 @@ msgstr "Vergrößern" #: templates/admin/filer/tools/detail_info.html:20 #: templates/admin/filer/widgets/admin_file.html:32 -#: templatetags/filer_admin_tags.py:107 +#: templatetags/filer_admin_tags.py:108 #| msgid "file missing" msgid "File is missing" msgstr "Datei fehlt" @@ -1152,28 +1160,39 @@ msgstr "Datei auswählen" msgid "Choose Folder" msgstr "Ordner auswählen" -#: validation.py:19 +#: validation.py:20 #, python-brace-format msgid "File \"{file_name}\": Upload denied by site security policy" msgstr "Datei \"{file_name}\": Die Sicherheitseinstellung der Seite haben die Datei zurückgewiesen." -#: validation.py:22 +#: validation.py:23 #, python-brace-format msgid "File \"{file_name}\": {file_type} upload denied by site security policy" msgstr "Datei \"{file_name}\": Die Sicherheitseinstellung weisen {file_type}-Dateien zurück." -#: validation.py:33 +#: validation.py:34 #, python-brace-format msgid "File \"{file_name}\": HTML upload denied by site security policy" msgstr "Datei \"{file_name}\": Die Sicherheitseinstellung weisen HTML-Dateien zurück." -#: validation.py:71 +#: validation.py:72 #, python-brace-format msgid "" "File \"{file_name}\": Rejected due to potential cross site scripting " "vulnerability" msgstr "Datei \"{file_name}\": Zurückgewiesen, da eine \"Cross Site Scripting\"-Attacke nicht ausgeschlossen werden kann." +#: validation.py:84 +#, python-brace-format +msgid "File \"{file_name}\": SVG file format not recognized" +msgstr "Datei \"{file_name}\": SVG-Format nicht erkannt" + +#~ msgid "Resize parameters must be choosen." +#~ msgstr "Resize parameters must be choosen." + +#~ msgid "Choose resize parameters:" +#~ msgstr "Choose resize parameters:" + #~ msgid "Open file" #~ msgstr "Open file" diff --git a/filer/locale/en/LC_MESSAGES/django.mo b/filer/locale/en/LC_MESSAGES/django.mo index 7f122d3b0..4f8792c06 100644 Binary files a/filer/locale/en/LC_MESSAGES/django.mo and b/filer/locale/en/LC_MESSAGES/django.mo differ diff --git a/filer/locale/en/LC_MESSAGES/django.po b/filer/locale/en/LC_MESSAGES/django.po index 12a8e904c..5fa29bc08 100644 --- a/filer/locale/en/LC_MESSAGES/django.po +++ b/filer/locale/en/LC_MESSAGES/django.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: django Filer\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-07-31 22:21+0200\n" +"POT-Creation-Date: 2023-09-26 08:46+0200\n" "PO-Revision-Date: 2016-06-17 14:16+0000\n" "Last-Translator: Angelo Dini \n" "Language-Team: English (http://www.transifex.com/divio/django-filer/language/" @@ -19,7 +19,7 @@ msgstr "" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" -#: admin/clipboardadmin.py:16 +#: admin/clipboardadmin.py:17 #, fuzzy #| msgid "" #| "Your account doesn't have permissions to rename all of the selected files." @@ -27,23 +27,23 @@ msgid "You do not have permission to upload files." msgstr "" "Your account doesn't have permissions to rename all of the selected files." -#: admin/clipboardadmin.py:17 +#: admin/clipboardadmin.py:18 msgid "Can't find folder to upload. Please refresh and try again" msgstr "" -#: admin/clipboardadmin.py:19 +#: admin/clipboardadmin.py:20 msgid "Can't use this folder, Permission Denied. Please select another folder." msgstr "" -#: admin/fileadmin.py:47 +#: admin/fileadmin.py:73 msgid "Advanced" msgstr "Advanced" -#: admin/fileadmin.py:162 +#: admin/fileadmin.py:188 msgid "canonical URL" msgstr "canonical URL" -#: admin/folderadmin.py:399 admin/folderadmin.py:570 +#: admin/folderadmin.py:411 admin/folderadmin.py:582 msgid "" "Items must be selected in order to perform actions on them. No items have " "been changed." @@ -51,81 +51,81 @@ msgstr "" "Items must be selected in order to perform actions on them. No items have " "been changed." -#: admin/folderadmin.py:422 +#: admin/folderadmin.py:434 #, python-format msgid "%(total_count)s selected" msgid_plural "All %(total_count)s selected" msgstr[0] "%(total_count)s selected" msgstr[1] "All %(total_count)s selected" -#: admin/folderadmin.py:448 +#: admin/folderadmin.py:460 #, python-format msgid "Directory listing for %(folder_name)s" msgstr "" -#: admin/folderadmin.py:463 +#: admin/folderadmin.py:475 #, python-format msgid "0 of %(cnt)s selected" msgstr "0 of %(cnt)s selected" -#: admin/folderadmin.py:600 +#: admin/folderadmin.py:612 msgid "No action selected." msgstr "No action selected." -#: admin/folderadmin.py:652 +#: admin/folderadmin.py:664 #, python-format msgid "Successfully moved %(count)d files to clipboard." msgstr "Successfully moved %(count)d files to clipboard." -#: admin/folderadmin.py:657 +#: admin/folderadmin.py:669 msgid "Move selected files to clipboard" msgstr "Move selected files to clipboard" -#: admin/folderadmin.py:697 +#: admin/folderadmin.py:709 #, python-format msgid "Successfully disabled permissions for %(count)d files." msgstr "Successfully disabled permissions for %(count)d files." -#: admin/folderadmin.py:699 +#: admin/folderadmin.py:711 #, python-format msgid "Successfully enabled permissions for %(count)d files." msgstr "Successfully enabled permissions for %(count)d files." -#: admin/folderadmin.py:707 +#: admin/folderadmin.py:719 msgid "Enable permissions for selected files" msgstr "Enable permissions for selected files" -#: admin/folderadmin.py:713 +#: admin/folderadmin.py:725 msgid "Disable permissions for selected files" msgstr "Disable permissions for selected files" -#: admin/folderadmin.py:777 +#: admin/folderadmin.py:789 #, python-format msgid "Successfully deleted %(count)d files and/or folders." msgstr "Successfully deleted %(count)d files and/or folders." -#: admin/folderadmin.py:782 +#: admin/folderadmin.py:794 msgid "Cannot delete files and/or folders" msgstr "Cannot delete files and/or folders" -#: admin/folderadmin.py:784 +#: admin/folderadmin.py:796 msgid "Are you sure?" msgstr "Are you sure?" -#: admin/folderadmin.py:790 +#: admin/folderadmin.py:802 msgid "Delete files and/or folders" msgstr "Delete files and/or folders" -#: admin/folderadmin.py:811 +#: admin/folderadmin.py:823 msgid "Delete selected files and/or folders" msgstr "Delete selected files and/or folders" -#: admin/folderadmin.py:918 +#: admin/folderadmin.py:930 #, python-format msgid "Folders with names %s already exist at the selected destination" msgstr "Folders with names %s already exist at the selected destination" -#: admin/folderadmin.py:922 +#: admin/folderadmin.py:934 #, python-format msgid "" "Successfully moved %(count)d files and/or folders to folder " @@ -134,25 +134,25 @@ msgstr "" "Successfully moved %(count)d files and/or folders to folder " "'%(destination)s'." -#: admin/folderadmin.py:930 admin/folderadmin.py:932 +#: admin/folderadmin.py:942 admin/folderadmin.py:944 msgid "Move files and/or folders" msgstr "Move files and/or folders" -#: admin/folderadmin.py:947 +#: admin/folderadmin.py:959 msgid "Move selected files and/or folders" msgstr "Move selected files and/or folders" -#: admin/folderadmin.py:1004 +#: admin/folderadmin.py:1016 #, python-format msgid "Successfully renamed %(count)d files." msgstr "Successfully renamed %(count)d files." -#: admin/folderadmin.py:1013 admin/folderadmin.py:1015 -#: admin/folderadmin.py:1030 +#: admin/folderadmin.py:1025 admin/folderadmin.py:1027 +#: admin/folderadmin.py:1042 msgid "Rename files" msgstr "Rename files" -#: admin/folderadmin.py:1125 +#: admin/folderadmin.py:1137 #, python-format msgid "" "Successfully copied %(count)d files and/or folders to folder " @@ -161,24 +161,24 @@ msgstr "" "Successfully copied %(count)d files and/or folders to folder " "'%(destination)s'." -#: admin/folderadmin.py:1143 admin/folderadmin.py:1145 +#: admin/folderadmin.py:1155 admin/folderadmin.py:1157 msgid "Copy files and/or folders" msgstr "Copy files and/or folders" -#: admin/folderadmin.py:1162 +#: admin/folderadmin.py:1174 msgid "Copy selected files and/or folders" msgstr "Copy selected files and/or folders" -#: admin/folderadmin.py:1267 +#: admin/folderadmin.py:1279 #, python-format msgid "Successfully resized %(count)d images." msgstr "Successfully resized %(count)d images." -#: admin/folderadmin.py:1274 admin/folderadmin.py:1276 +#: admin/folderadmin.py:1286 admin/folderadmin.py:1288 msgid "Resize images" msgstr "Resize images" -#: admin/folderadmin.py:1292 +#: admin/folderadmin.py:1303 msgid "Resize selected images" msgstr "Resize selected images" @@ -205,34 +205,30 @@ msgstr "Unknown rename format value key \"%(key)s\"." msgid "Invalid rename format: %(error)s." msgstr "Invalid rename format: %(error)s." -#: admin/forms.py:64 models/thumbnailoptionmodels.py:37 +#: admin/forms.py:68 models/thumbnailoptionmodels.py:37 msgid "thumbnail option" msgstr "thumbnail option" -#: admin/forms.py:67 models/thumbnailoptionmodels.py:15 +#: admin/forms.py:72 models/thumbnailoptionmodels.py:15 msgid "width" msgstr "width" -#: admin/forms.py:68 models/thumbnailoptionmodels.py:20 +#: admin/forms.py:73 models/thumbnailoptionmodels.py:20 msgid "height" msgstr "height" -#: admin/forms.py:69 models/thumbnailoptionmodels.py:25 +#: admin/forms.py:74 models/thumbnailoptionmodels.py:25 msgid "crop" msgstr "crop" -#: admin/forms.py:70 models/thumbnailoptionmodels.py:30 +#: admin/forms.py:75 models/thumbnailoptionmodels.py:30 msgid "upscale" msgstr "upscale" -#: admin/forms.py:75 +#: admin/forms.py:79 msgid "Thumbnail option or resize parameters must be choosen." msgstr "Thumbnail option or resize parameters must be choosen." -#: admin/forms.py:77 -msgid "Resize parameters must be choosen." -msgstr "Resize parameters must be choosen." - #: admin/imageadmin.py:18 admin/imageadmin.py:105 msgid "Subject location" msgstr "Subject location" @@ -276,26 +272,42 @@ msgstr "Filer" msgid "Media library" msgstr "" -#: models/abstract.py:49 +#: models/abstract.py:62 msgid "default alt text" msgstr "default alt text" -#: models/abstract.py:56 +#: models/abstract.py:69 msgid "default caption" msgstr "default caption" -#: models/abstract.py:63 +#: models/abstract.py:76 msgid "subject location" msgstr "subject location" -#: models/abstract.py:78 +#: models/abstract.py:91 msgid "image" msgstr "image" -#: models/abstract.py:79 +#: models/abstract.py:92 msgid "images" msgstr "images" +#: models/abstract.py:147 +#, python-format +msgid "" +"Image format not recognized or image size exceeds limit of %(max_pixels)d " +"million pixels by a factor of two or more. Before uploading again, check " +"file format or resize image to %(width)d x %(height)d resolution or lower." +msgstr "" + +#: models/abstract.py:156 +#, python-format +msgid "" +"Image size (%(pixels)d million pixels) exceeds limit of %(max_pixels)d " +"million pixels. Before uploading again, resize image to %(width)d x " +"%(height)d resolution or lower." +msgstr "" + #: models/clipboardmodels.py:11 models/foldermodels.py:289 msgid "user" msgstr "user" @@ -761,15 +773,11 @@ msgstr "There are no images available to resize." msgid "The following images will be resized:" msgstr "The following images will be resized:" -#: templates/admin/filer/folder/choose_images_resize_options.html:33 +#: templates/admin/filer/folder/choose_images_resize_options.html:32 msgid "Choose an existing thumbnail option or enter resize parameters:" msgstr "Choose an existing thumbnail option or enter resize parameters:" -#: templates/admin/filer/folder/choose_images_resize_options.html:35 -msgid "Choose resize parameters:" -msgstr "Choose resize parameters:" - -#: templates/admin/filer/folder/choose_images_resize_options.html:38 +#: templates/admin/filer/folder/choose_images_resize_options.html:36 msgid "" "Warning: Images will be resized in-place and originals will be lost. Maybe " "first make a copy of them to retain the originals." @@ -777,7 +785,7 @@ msgstr "" "Warning: Images will be resized in-place and originals will be lost. Maybe " "first make a copy of them to retain the originals." -#: templates/admin/filer/folder/choose_images_resize_options.html:41 +#: templates/admin/filer/folder/choose_images_resize_options.html:39 msgid "Resize" msgstr "Resize" @@ -1122,7 +1130,7 @@ msgstr "" #: templates/admin/filer/tools/detail_info.html:20 #: templates/admin/filer/widgets/admin_file.html:32 -#: templatetags/filer_admin_tags.py:107 +#: templatetags/filer_admin_tags.py:108 #, fuzzy #| msgid "file missing" msgid "File is missing" @@ -1185,28 +1193,39 @@ msgstr "Choose File" msgid "Choose Folder" msgstr "Choose File" -#: validation.py:19 +#: validation.py:20 #, python-brace-format msgid "File \"{file_name}\": Upload denied by site security policy" msgstr "" -#: validation.py:22 +#: validation.py:23 #, python-brace-format msgid "File \"{file_name}\": {file_type} upload denied by site security policy" msgstr "" -#: validation.py:33 +#: validation.py:34 #, python-brace-format msgid "File \"{file_name}\": HTML upload denied by site security policy" msgstr "" -#: validation.py:71 +#: validation.py:72 #, python-brace-format msgid "" "File \"{file_name}\": Rejected due to potential cross site scripting " "vulnerability" msgstr "" +#: validation.py:84 +#, python-brace-format +msgid "File \"{file_name}\": SVG file format not recognized" +msgstr "" + +#~ msgid "Resize parameters must be choosen." +#~ msgstr "Resize parameters must be choosen." + +#~ msgid "Choose resize parameters:" +#~ msgstr "Choose resize parameters:" + #~ msgid "Open file" #~ msgstr "Open file" diff --git a/filer/locale/es/LC_MESSAGES/django.mo b/filer/locale/es/LC_MESSAGES/django.mo index 58062ee45..f11285aee 100644 Binary files a/filer/locale/es/LC_MESSAGES/django.mo and b/filer/locale/es/LC_MESSAGES/django.mo differ diff --git a/filer/locale/es/LC_MESSAGES/django.po b/filer/locale/es/LC_MESSAGES/django.po index 3adb0ec9b..05849f99b 100644 --- a/filer/locale/es/LC_MESSAGES/django.po +++ b/filer/locale/es/LC_MESSAGES/django.po @@ -1,7 +1,7 @@ # SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. -# +# # Translators: # Translators: # Translators: @@ -18,46 +18,51 @@ msgid "" msgstr "" "Project-Id-Version: django Filer\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-07-31 22:21+0200\n" +"POT-Creation-Date: 2023-09-26 08:46+0200\n" "PO-Revision-Date: 2012-07-13 15:50+0000\n" "Last-Translator: Biel Frontera, 2023\n" -"Language-Team: Spanish (http://app.transifex.com/divio/django-filer/language/es/)\n" +"Language-Team: Spanish (http://app.transifex.com/divio/django-filer/language/" +"es/)\n" +"Language: es\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"Language: es\n" -"Plural-Forms: nplurals=3; plural=n == 1 ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;\n" +"Plural-Forms: nplurals=3; plural=n == 1 ? 0 : n != 0 && n % 1000000 == 0 ? " +"1 : 2;\n" -#: admin/clipboardadmin.py:16 -#| msgid "" -#| "ccount doesn't have permissions to rename all of the selected files." +#: admin/clipboardadmin.py:17 msgid "You do not have permission to upload files." msgstr "No tienes autorización para subir ficheros. " -#: admin/clipboardadmin.py:17 +#: admin/clipboardadmin.py:18 msgid "Can't find folder to upload. Please refresh and try again" -msgstr "No se ha encontrado la carpeta donde guardar el fichero. Por favor, refresca la página y vuelve a probar." +msgstr "" +"No se ha encontrado la carpeta donde guardar el fichero. Por favor, refresca " +"la página y vuelve a probar." -#: admin/clipboardadmin.py:19 -msgid "" -"Can't use this folder, Permission Denied. Please select another folder." -msgstr "No se puede utilizar esta carpeta: permiso denegado. Por favor, selecciona otra carpeta." +#: admin/clipboardadmin.py:20 +msgid "Can't use this folder, Permission Denied. Please select another folder." +msgstr "" +"No se puede utilizar esta carpeta: permiso denegado. Por favor, selecciona " +"otra carpeta." -#: admin/fileadmin.py:47 +#: admin/fileadmin.py:73 msgid "Advanced" msgstr "Avanzado" -#: admin/fileadmin.py:162 +#: admin/fileadmin.py:188 msgid "canonical URL" msgstr "URL canónica" -#: admin/folderadmin.py:399 admin/folderadmin.py:570 +#: admin/folderadmin.py:411 admin/folderadmin.py:582 msgid "" "Items must be selected in order to perform actions on them. No items have " "been changed." -msgstr "Los elementos deben estar seleccionados para efectuar acciones sobre ellos. Ningún elemento ha sido modificado." +msgstr "" +"Los elementos deben estar seleccionados para efectuar acciones sobre ellos. " +"Ningún elemento ha sido modificado." -#: admin/folderadmin.py:422 +#: admin/folderadmin.py:434 #, python-format msgid "%(total_count)s selected" msgid_plural "All %(total_count)s selected" @@ -65,174 +70,180 @@ msgstr[0] " %(total_count)s seleccionado" msgstr[1] "Todos los %(total_count)s seleccionados" msgstr[2] "Todos los %(total_count)s seleccionados" -#: admin/folderadmin.py:448 +#: admin/folderadmin.py:460 #, python-format msgid "Directory listing for %(folder_name)s" msgstr "Listado de directorio para %(folder_name)s" -#: admin/folderadmin.py:463 +#: admin/folderadmin.py:475 #, python-format msgid "0 of %(cnt)s selected" msgstr "0 de %(cnt)s seleccionados" -#: admin/folderadmin.py:600 +#: admin/folderadmin.py:612 msgid "No action selected." msgstr "Ninguna acción seleccionada." -#: admin/folderadmin.py:652 +#: admin/folderadmin.py:664 #, python-format msgid "Successfully moved %(count)d files to clipboard." msgstr "%(count)d archivos movidos con éxito al clipboard." -#: admin/folderadmin.py:657 +#: admin/folderadmin.py:669 msgid "Move selected files to clipboard" msgstr "Mover archivos selecionados al clipboard." -#: admin/folderadmin.py:697 +#: admin/folderadmin.py:709 #, python-format msgid "Successfully disabled permissions for %(count)d files." msgstr "Permisos para %(count)d ficheros deshabilitados con éxito." -#: admin/folderadmin.py:699 +#: admin/folderadmin.py:711 #, python-format msgid "Successfully enabled permissions for %(count)d files." msgstr "Permisos para %(count)d ficheros habilitados con éxito." -#: admin/folderadmin.py:707 +#: admin/folderadmin.py:719 msgid "Enable permissions for selected files" msgstr "Habilitar permisos para los archivos seleccionados." -#: admin/folderadmin.py:713 +#: admin/folderadmin.py:725 msgid "Disable permissions for selected files" msgstr "Deshabilitar permisos para los archivos seleccionados." -#: admin/folderadmin.py:777 +#: admin/folderadmin.py:789 #, python-format msgid "Successfully deleted %(count)d files and/or folders." msgstr "Eliminados %(count)d ficheros y/o directorios con éxito." -#: admin/folderadmin.py:782 +#: admin/folderadmin.py:794 msgid "Cannot delete files and/or folders" msgstr "No es posible eliminar ficheros y/o directorios" -#: admin/folderadmin.py:784 +#: admin/folderadmin.py:796 msgid "Are you sure?" msgstr "¿Estás seguro?" -#: admin/folderadmin.py:790 +#: admin/folderadmin.py:802 msgid "Delete files and/or folders" msgstr "Eliminar ficheros y/o directorios" -#: admin/folderadmin.py:811 +#: admin/folderadmin.py:823 msgid "Delete selected files and/or folders" msgstr "Eliminar ficheros y/o directorios seleccionados" -#: admin/folderadmin.py:918 +#: admin/folderadmin.py:930 #, python-format msgid "Folders with names %s already exist at the selected destination" msgstr "Las carpetas con los nombres %s ya existen en el destino seleccionado" -#: admin/folderadmin.py:922 +#: admin/folderadmin.py:934 #, python-format msgid "" "Successfully moved %(count)d files and/or folders to folder " "'%(destination)s'." -msgstr "Movidos con éxito %(count)d ficheros y/o directorios al directorio '%(destination)s'." +msgstr "" +"Movidos con éxito %(count)d ficheros y/o directorios al directorio " +"'%(destination)s'." -#: admin/folderadmin.py:930 admin/folderadmin.py:932 +#: admin/folderadmin.py:942 admin/folderadmin.py:944 msgid "Move files and/or folders" msgstr "Mover ficheros y/o directorios" -#: admin/folderadmin.py:947 +#: admin/folderadmin.py:959 msgid "Move selected files and/or folders" msgstr "Mover ficheros y/o directorios seleccionados" -#: admin/folderadmin.py:1004 +#: admin/folderadmin.py:1016 #, python-format msgid "Successfully renamed %(count)d files." msgstr "Cambiado el nombre de %(count)d archivos con éxito." -#: admin/folderadmin.py:1013 admin/folderadmin.py:1015 -#: admin/folderadmin.py:1030 +#: admin/folderadmin.py:1025 admin/folderadmin.py:1027 +#: admin/folderadmin.py:1042 msgid "Rename files" msgstr "Cambiar el nombre de los archivos" -#: admin/folderadmin.py:1125 +#: admin/folderadmin.py:1137 #, python-format msgid "" "Successfully copied %(count)d files and/or folders to folder " "'%(destination)s'." -msgstr "Copiados con éxito %(count)d ficheros y/o directorios al directorio '%(destination)s'." +msgstr "" +"Copiados con éxito %(count)d ficheros y/o directorios al directorio " +"'%(destination)s'." -#: admin/folderadmin.py:1143 admin/folderadmin.py:1145 +#: admin/folderadmin.py:1155 admin/folderadmin.py:1157 msgid "Copy files and/or folders" msgstr "Copiar ficheros y/o directorios" -#: admin/folderadmin.py:1162 +#: admin/folderadmin.py:1174 msgid "Copy selected files and/or folders" msgstr "Copiar ficheros y/o directorios seleccionados" -#: admin/folderadmin.py:1267 +#: admin/folderadmin.py:1279 #, python-format msgid "Successfully resized %(count)d images." msgstr "Cambiado correctamente el tamaño de %(count)d imágenes." -#: admin/folderadmin.py:1274 admin/folderadmin.py:1276 +#: admin/folderadmin.py:1286 admin/folderadmin.py:1288 msgid "Resize images" msgstr "Cambiar el tamaño de imágenes." -#: admin/folderadmin.py:1292 +#: admin/folderadmin.py:1303 msgid "Resize selected images" msgstr "Cambiar el tamaño de imágenes seleccionadas." #: admin/forms.py:24 msgid "Suffix which will be appended to filenames of copied files." -msgstr "Sufijo que se añadirá al nombre de los archivos de los archivos copiados." +msgstr "" +"Sufijo que se añadirá al nombre de los archivos de los archivos copiados." #: admin/forms.py:31 #, python-format msgid "" "Suffix should be a valid, simple and lowercase filename part, like " "\"%(valid)s\"." -msgstr "El sufijo debe ser una parte válida de un nombre de fichero, simple y en minúsculas, como \"%(valid)s\"." +msgstr "" +"El sufijo debe ser una parte válida de un nombre de fichero, simple y en " +"minúsculas, como \"%(valid)s\"." #: admin/forms.py:52 #, python-format msgid "Unknown rename format value key \"%(key)s\"." -msgstr "Formato de cambio de nombre con valor de clave \"%(key)s\" desconocido." +msgstr "" +"Formato de cambio de nombre con valor de clave \"%(key)s\" desconocido." #: admin/forms.py:54 #, python-format msgid "Invalid rename format: %(error)s." msgstr "Formato de cambio de nombre no válido: %(error)s." -#: admin/forms.py:64 models/thumbnailoptionmodels.py:37 +#: admin/forms.py:68 models/thumbnailoptionmodels.py:37 msgid "thumbnail option" msgstr "opción de miniatura" -#: admin/forms.py:67 models/thumbnailoptionmodels.py:15 +#: admin/forms.py:72 models/thumbnailoptionmodels.py:15 msgid "width" msgstr "ancho" -#: admin/forms.py:68 models/thumbnailoptionmodels.py:20 +#: admin/forms.py:73 models/thumbnailoptionmodels.py:20 msgid "height" msgstr "alto" -#: admin/forms.py:69 models/thumbnailoptionmodels.py:25 +#: admin/forms.py:74 models/thumbnailoptionmodels.py:25 msgid "crop" msgstr "recortar" -#: admin/forms.py:70 models/thumbnailoptionmodels.py:30 +#: admin/forms.py:75 models/thumbnailoptionmodels.py:30 msgid "upscale" msgstr "ampliar" -#: admin/forms.py:75 +#: admin/forms.py:79 msgid "Thumbnail option or resize parameters must be choosen." -msgstr "Se debe elegir una opción de miniatura o unos parámetros para el cambio de tamaño." - -#: admin/forms.py:77 -msgid "Resize parameters must be choosen." -msgstr "Se deben elegir unos parámetros para el cambio de tamaño." +msgstr "" +"Se debe elegir una opción de miniatura o unos parámetros para el cambio de " +"tamaño." #: admin/imageadmin.py:18 admin/imageadmin.py:105 msgid "Subject location" @@ -277,26 +288,42 @@ msgstr "Filer" msgid "Media library" msgstr "Biblioteca multimedia" -#: models/abstract.py:49 +#: models/abstract.py:62 msgid "default alt text" msgstr "texto alternativo por defecto" -#: models/abstract.py:56 +#: models/abstract.py:69 msgid "default caption" msgstr "leyenda por defecto" -#: models/abstract.py:63 +#: models/abstract.py:76 msgid "subject location" msgstr "localización del sujeto" -#: models/abstract.py:78 +#: models/abstract.py:91 msgid "image" msgstr "imagen" -#: models/abstract.py:79 +#: models/abstract.py:92 msgid "images" msgstr "imágenes" +#: models/abstract.py:147 +#, python-format +msgid "" +"Image format not recognized or image size exceeds limit of %(max_pixels)d " +"million pixels by a factor of two or more. Before uploading again, check " +"file format or resize image to %(width)d x %(height)d resolution or lower." +msgstr "" + +#: models/abstract.py:156 +#, python-format +msgid "" +"Image size (%(pixels)d million pixels) exceeds limit of %(max_pixels)d " +"million pixels. Before uploading again, resize image to %(width)d x " +"%(height)d resolution or lower." +msgstr "" + #: models/clipboardmodels.py:11 models/foldermodels.py:289 msgid "user" msgstr "usuario" @@ -379,7 +406,9 @@ msgstr "Permisos desactivados" msgid "" "Disable any permission checking for this file. File will be publicly " "accessible to anyone." -msgstr "Desactiva cualquier comprobación de permiso para este archivo. El archivo será accesible públicamente para todos." +msgstr "" +"Desactiva cualquier comprobación de permiso para este archivo. El archivo " +"será accesible públicamente para todos." #: models/foldermodels.py:94 msgid "parent" @@ -457,11 +486,14 @@ msgstr "permisos de la carpeta" #: models/foldermodels.py:348 msgid "Folder cannot be selected with type \"all items\"." -msgstr "La carpeta no se puede seleccionar con el tipo \"todos los elementos\"." +msgstr "" +"La carpeta no se puede seleccionar con el tipo \"todos los elementos\"." #: models/foldermodels.py:350 msgid "Folder has to be selected when type is not \"all items\"." -msgstr "La carpeta se tiene que seleccionar cuando el tipo no es \"todos los elementos\"." +msgstr "" +"La carpeta se tiene que seleccionar cuando el tipo no es \"todos los " +"elementos\"." #: models/foldermodels.py:352 msgid "User or group cannot be selected together with \"everybody\"." @@ -472,7 +504,6 @@ msgid "At least one of user, group, or \"everybody\" has to be selected." msgstr "Al menos se debe seleccionar un usuario, un grupo o \"todos\"." #: models/foldermodels.py:360 -#| msgid "Folders" msgid "All Folders" msgstr "Todas las carpetas" @@ -491,7 +522,6 @@ msgid "Group: {group}" msgstr "Grupo: {group}" #: models/foldermodels.py:375 -#| msgid "everybody" msgid "Everybody" msgstr "Todos" @@ -504,7 +534,6 @@ msgid "Read" msgstr "Leer" #: models/foldermodels.py:390 -#| msgid "can add children" msgid "Add children" msgstr "Añadir hijos" @@ -559,7 +588,6 @@ msgid "Show table view" msgstr "Muestra la vista de tabla" #: settings.py:278 -#| msgid "thumbnail option" msgid "Show thumbnail view" msgstr "Muestra la vista de miniaturas" @@ -575,7 +603,8 @@ msgstr "Continuar" #: templates/admin/filer/folder/directory_table_list.html:232 #: templates/admin/filer/folder/directory_thumbnail_list.html:210 msgid "Click here to select the objects across all pages" -msgstr "Haz clic aquí para seleccionar los objetos a través de todas las páginas" +msgstr "" +"Haz clic aquí para seleccionar los objetos a través de todas las páginas" #: templates/admin/filer/actions.html:14 #, python-format @@ -627,19 +656,26 @@ msgid "" "Deleting the selected files and/or folders would result in deleting related " "objects, but your account doesn't have permission to delete the following " "types of objects:" -msgstr "Borrar los archivos y/o carpetas seleccionados borraría los objetos seleccionados, pero tu cuenta no tiene permiso para borrar los siguientes tipos de objetos:" +msgstr "" +"Borrar los archivos y/o carpetas seleccionados borraría los objetos " +"seleccionados, pero tu cuenta no tiene permiso para borrar los siguientes " +"tipos de objetos:" #: templates/admin/filer/delete_selected_files_confirmation.html:19 msgid "" "Deleting the selected files and/or folders would require deleting the " "following protected related objects:" -msgstr "Borrar los archivos y/o carpetas requeriría borrar los siguientes objetos relacionados protegidos:" +msgstr "" +"Borrar los archivos y/o carpetas requeriría borrar los siguientes objetos " +"relacionados protegidos:" #: templates/admin/filer/delete_selected_files_confirmation.html:27 msgid "" "Are you sure you want to delete the selected files and/or folders? All of " "the following objects and their related items will be deleted:" -msgstr "¿Estás seguro de que quieres borrar los archivos y/o carpetas seleccionados? Los siguientes objetos y sus elementos relacionados serán borrados:" +msgstr "" +"¿Estás seguro de que quieres borrar los archivos y/o carpetas seleccionados? " +"Los siguientes objetos y sus elementos relacionados serán borrados:" #: templates/admin/filer/delete_selected_files_confirmation.html:46 #: templates/admin/filer/folder/choose_copy_destination.html:64 @@ -688,9 +724,11 @@ msgstr "Icono de la Carpeta" #: templates/admin/filer/folder/choose_copy_destination.html:23 msgid "" -"Your account doesn't have permissions to copy all of the selected files " -"and/or folders." -msgstr "Tu cuenta no tiene permisos para copiar todos los archivos y/o carpetas seleccionados." +"Your account doesn't have permissions to copy all of the selected files and/" +"or folders." +msgstr "" +"Tu cuenta no tiene permisos para copiar todos los archivos y/o carpetas " +"seleccionados." #: templates/admin/filer/folder/choose_copy_destination.html:25 #: templates/admin/filer/folder/choose_copy_destination.html:31 @@ -714,7 +752,9 @@ msgstr "No hay archivos y/o carpetas disponibles para copiar." msgid "" "The following files and/or folders will be copied to a destination folder " "(retaining their tree structure):" -msgstr "Los siguientes archivos y/o carpetas serán copiados a una carpeta de destino (manteniendo su estructura en árbol):" +msgstr "" +"Los siguientes archivos y/o carpetas serán copiados a una carpeta de destino " +"(manteniendo su estructura en árbol):" #: templates/admin/filer/folder/choose_copy_destination.html:54 #: templates/admin/filer/folder/choose_move_destination.html:64 @@ -734,7 +774,9 @@ msgstr "No está permitido copiar los archivos dentro de la misma carpeta" #: templates/admin/filer/folder/choose_images_resize_options.html:15 msgid "" "Your account doesn't have permissions to resize all of the selected images." -msgstr "Tu cuenta no tiene permisos para cambiar el tamaño de todas las imágenes seleccionadas." +msgstr "" +"Tu cuenta no tiene permisos para cambiar el tamaño de todas las imágenes " +"seleccionadas." #: templates/admin/filer/folder/choose_images_resize_options.html:18 msgid "There are no images available to resize." @@ -744,29 +786,32 @@ msgstr "No hay imágenes disponibles a las que cambiarles el tamaño." msgid "The following images will be resized:" msgstr "Se les cambiará el tamaño a las siguientes imágenes:" -#: templates/admin/filer/folder/choose_images_resize_options.html:33 +#: templates/admin/filer/folder/choose_images_resize_options.html:32 msgid "Choose an existing thumbnail option or enter resize parameters:" -msgstr "Elige una opción de miniatura existente o introduce parámetros para el cambio de tamaño:" - -#: templates/admin/filer/folder/choose_images_resize_options.html:35 -msgid "Choose resize parameters:" -msgstr "Elegir parámetros para el cambio de tamaño:" +msgstr "" +"Elige una opción de miniatura existente o introduce parámetros para el " +"cambio de tamaño:" -#: templates/admin/filer/folder/choose_images_resize_options.html:38 +#: templates/admin/filer/folder/choose_images_resize_options.html:36 msgid "" "Warning: Images will be resized in-place and originals will be lost. Maybe " "first make a copy of them to retain the originals." -msgstr "Aviso: se cambiará el tamaño de las imágenes en el mismo sitio y los originales se perderán. Considera realizar una copia de aquellas para conservar los originales." +msgstr "" +"Aviso: se cambiará el tamaño de las imágenes en el mismo sitio y los " +"originales se perderán. Considera realizar una copia de aquellas para " +"conservar los originales." -#: templates/admin/filer/folder/choose_images_resize_options.html:41 +#: templates/admin/filer/folder/choose_images_resize_options.html:39 msgid "Resize" msgstr "Cambiar de tamaño" #: templates/admin/filer/folder/choose_move_destination.html:35 msgid "" -"Your account doesn't have permissions to move all of the selected files " -"and/or folders." -msgstr "Tu cuenta no tiene permisos para mover todos los archivos y/o carpetas seleccionados." +"Your account doesn't have permissions to move all of the selected files and/" +"or folders." +msgstr "" +"Tu cuenta no tiene permisos para mover todos los archivos y/o carpetas " +"seleccionados." #: templates/admin/filer/folder/choose_move_destination.html:47 msgid "There are no files and/or folders available to move." @@ -776,7 +821,9 @@ msgstr "No hay archivos y/o carpetas disponibles para mover." msgid "" "The following files and/or folders will be moved to a destination folder " "(retaining their tree structure):" -msgstr "Los siguientes archivos y/o directorios serán movidos a una carpeta de destino (manteniendo su estructura de árbol):" +msgstr "" +"Los siguientes archivos y/o directorios serán movidos a una carpeta de " +"destino (manteniendo su estructura de árbol):" #: templates/admin/filer/folder/choose_move_destination.html:73 #: templates/admin/filer/folder/choose_move_destination.html:76 @@ -791,7 +838,8 @@ msgstr "No está permitido mover los archivos dentro de la misma carpeta" #: templates/admin/filer/folder/choose_rename_format.html:15 msgid "" "Your account doesn't have permissions to rename all of the selected files." -msgstr "Tu cuenta no tiene permisos para renombrar todos los objetos seleccionados." +msgstr "" +"Tu cuenta no tiene permisos para renombrar todos los objetos seleccionados." #: templates/admin/filer/folder/choose_rename_format.html:18 msgid "There are no files available to rename." @@ -801,7 +849,9 @@ msgstr "No hay archivos disponibles a los que cambiar el nombre." msgid "" "The following files will be renamed (they will stay in their folders and " "keep original filename, only displayed filename will be changed):" -msgstr "Los siguientes archivos serán renombrados (se quedarán en sus carpetas y mantendrán su nombre original, solo los nombres mostrados serán cambiados):" +msgstr "" +"Los siguientes archivos serán renombrados (se quedarán en sus carpetas y " +"mantendrán su nombre original, solo los nombres mostrados serán cambiados):" #: templates/admin/filer/folder/choose_rename_format.html:59 msgid "Rename" @@ -958,13 +1008,11 @@ msgstr "activado" #: templates/admin/filer/folder/directory_table_list.html:144 #, python-format -#| msgid "Change '%(item_label)s' details" msgid "Canonical url '%(item_label)s'" msgstr "Url canónica '%(item_label)s'" #: templates/admin/filer/folder/directory_table_list.html:148 #, python-format -#| msgid "Change '%(item_label)s' details" msgid "Download '%(item_label)s'" msgstr "Descargar '%(item_label)s'" @@ -1026,12 +1074,10 @@ msgstr "Seleccionar todo %(total_count)s" #: templates/admin/filer/folder/directory_thumbnail_list.html:15 #: templates/admin/filer/folder/directory_thumbnail_list.html:80 -#| msgid "Select this file" msgid "Select all" msgstr "Selecciona todas" #: templates/admin/filer/folder/directory_thumbnail_list.html:77 -#| msgid "Filer" msgid "Files" msgstr "Ficheros" @@ -1097,8 +1143,7 @@ msgstr "Expande" #: templates/admin/filer/tools/detail_info.html:20 #: templates/admin/filer/widgets/admin_file.html:32 -#: templatetags/filer_admin_tags.py:107 -#| msgid "file missing" +#: templatetags/filer_admin_tags.py:108 msgid "File is missing" msgstr "Fichero no encontrado" @@ -1154,31 +1199,49 @@ msgid "Choose File" msgstr "Selecciona el archivo" #: templates/admin/filer/widgets/admin_folder.html:16 -#| msgid "Choose File" msgid "Choose Folder" msgstr "Escoge una carpeta" -#: validation.py:19 +#: validation.py:20 #, python-brace-format msgid "File \"{file_name}\": Upload denied by site security policy" -msgstr "Fichero \"{file_name}\": carga denegada por políticas de seguridad del sitio web" +msgstr "" +"Fichero \"{file_name}\": carga denegada por políticas de seguridad del sitio " +"web" -#: validation.py:22 +#: validation.py:23 #, python-brace-format msgid "File \"{file_name}\": {file_type} upload denied by site security policy" -msgstr "Fichero \"{file_name}\": carga del tipo {file_type} denegada por políticas de seguridad del sitio web" +msgstr "" +"Fichero \"{file_name}\": carga del tipo {file_type} denegada por políticas " +"de seguridad del sitio web" -#: validation.py:33 +#: validation.py:34 #, python-brace-format msgid "File \"{file_name}\": HTML upload denied by site security policy" -msgstr "Fichero \"{file_name}\": carga de HTML denegada por políticas de seguridad del sitio web" +msgstr "" +"Fichero \"{file_name}\": carga de HTML denegada por políticas de seguridad " +"del sitio web" -#: validation.py:71 +#: validation.py:72 #, python-brace-format msgid "" "File \"{file_name}\": Rejected due to potential cross site scripting " "vulnerability" -msgstr "Fichero \"{file_name}\": rechazado por posible vulnerabilidad XSS (Cross-site scripting)" +msgstr "" +"Fichero \"{file_name}\": rechazado por posible vulnerabilidad XSS (Cross-" +"site scripting)" + +#: validation.py:84 +#, python-brace-format +msgid "File \"{file_name}\": SVG file format not recognized" +msgstr "" + +#~ msgid "Resize parameters must be choosen." +#~ msgstr "Resize parameters must be choosen." + +#~ msgid "Choose resize parameters:" +#~ msgstr "Choose resize parameters:" #~ msgid "Open file" #~ msgstr "Open file" diff --git a/filer/locale/et/LC_MESSAGES/django.mo b/filer/locale/et/LC_MESSAGES/django.mo index c28bd7da1..6f688e0c0 100644 Binary files a/filer/locale/et/LC_MESSAGES/django.mo and b/filer/locale/et/LC_MESSAGES/django.mo differ diff --git a/filer/locale/et/LC_MESSAGES/django.po b/filer/locale/et/LC_MESSAGES/django.po index 2d8168937..b4a984d46 100644 --- a/filer/locale/et/LC_MESSAGES/django.po +++ b/filer/locale/et/LC_MESSAGES/django.po @@ -12,7 +12,7 @@ msgid "" msgstr "" "Project-Id-Version: django Filer\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-07-31 22:21+0200\n" +"POT-Creation-Date: 2023-09-26 08:46+0200\n" "PO-Revision-Date: 2012-07-13 15:50+0000\n" "Last-Translator: Johan Viirok, 2022\n" "Language-Team: Estonian (http://app.transifex.com/divio/django-filer/" @@ -23,156 +23,156 @@ msgstr "" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" -#: admin/clipboardadmin.py:16 +#: admin/clipboardadmin.py:17 msgid "You do not have permission to upload files." msgstr "" -#: admin/clipboardadmin.py:17 +#: admin/clipboardadmin.py:18 msgid "Can't find folder to upload. Please refresh and try again" msgstr "" -#: admin/clipboardadmin.py:19 +#: admin/clipboardadmin.py:20 msgid "Can't use this folder, Permission Denied. Please select another folder." msgstr "" -#: admin/fileadmin.py:47 +#: admin/fileadmin.py:73 msgid "Advanced" msgstr "" -#: admin/fileadmin.py:162 +#: admin/fileadmin.py:188 msgid "canonical URL" msgstr "" -#: admin/folderadmin.py:399 admin/folderadmin.py:570 +#: admin/folderadmin.py:411 admin/folderadmin.py:582 msgid "" "Items must be selected in order to perform actions on them. No items have " "been changed." msgstr "" -#: admin/folderadmin.py:422 +#: admin/folderadmin.py:434 #, python-format msgid "%(total_count)s selected" msgid_plural "All %(total_count)s selected" msgstr[0] "" msgstr[1] "" -#: admin/folderadmin.py:448 +#: admin/folderadmin.py:460 #, python-format msgid "Directory listing for %(folder_name)s" msgstr "" -#: admin/folderadmin.py:463 +#: admin/folderadmin.py:475 #, python-format msgid "0 of %(cnt)s selected" msgstr "" -#: admin/folderadmin.py:600 +#: admin/folderadmin.py:612 msgid "No action selected." msgstr "Ühtegi tegevust pole valitud." -#: admin/folderadmin.py:652 +#: admin/folderadmin.py:664 #, python-format msgid "Successfully moved %(count)d files to clipboard." msgstr "" -#: admin/folderadmin.py:657 +#: admin/folderadmin.py:669 msgid "Move selected files to clipboard" msgstr "" -#: admin/folderadmin.py:697 +#: admin/folderadmin.py:709 #, python-format msgid "Successfully disabled permissions for %(count)d files." msgstr "" -#: admin/folderadmin.py:699 +#: admin/folderadmin.py:711 #, python-format msgid "Successfully enabled permissions for %(count)d files." msgstr "" -#: admin/folderadmin.py:707 +#: admin/folderadmin.py:719 msgid "Enable permissions for selected files" msgstr "" -#: admin/folderadmin.py:713 +#: admin/folderadmin.py:725 msgid "Disable permissions for selected files" msgstr "" -#: admin/folderadmin.py:777 +#: admin/folderadmin.py:789 #, python-format msgid "Successfully deleted %(count)d files and/or folders." msgstr "" -#: admin/folderadmin.py:782 +#: admin/folderadmin.py:794 msgid "Cannot delete files and/or folders" msgstr "" -#: admin/folderadmin.py:784 +#: admin/folderadmin.py:796 msgid "Are you sure?" msgstr "Oled sa kindel?" -#: admin/folderadmin.py:790 +#: admin/folderadmin.py:802 msgid "Delete files and/or folders" msgstr "Kustuta failid ja/või kaustad" -#: admin/folderadmin.py:811 +#: admin/folderadmin.py:823 msgid "Delete selected files and/or folders" msgstr "Kustuta valitud failid ja/või kaustad" -#: admin/folderadmin.py:918 +#: admin/folderadmin.py:930 #, python-format msgid "Folders with names %s already exist at the selected destination" msgstr "" -#: admin/folderadmin.py:922 +#: admin/folderadmin.py:934 #, python-format msgid "" "Successfully moved %(count)d files and/or folders to folder " "'%(destination)s'." msgstr "" -#: admin/folderadmin.py:930 admin/folderadmin.py:932 +#: admin/folderadmin.py:942 admin/folderadmin.py:944 msgid "Move files and/or folders" msgstr "" -#: admin/folderadmin.py:947 +#: admin/folderadmin.py:959 msgid "Move selected files and/or folders" msgstr "" -#: admin/folderadmin.py:1004 +#: admin/folderadmin.py:1016 #, python-format msgid "Successfully renamed %(count)d files." msgstr "" -#: admin/folderadmin.py:1013 admin/folderadmin.py:1015 -#: admin/folderadmin.py:1030 +#: admin/folderadmin.py:1025 admin/folderadmin.py:1027 +#: admin/folderadmin.py:1042 msgid "Rename files" msgstr "Nimeta failid ümber" -#: admin/folderadmin.py:1125 +#: admin/folderadmin.py:1137 #, python-format msgid "" "Successfully copied %(count)d files and/or folders to folder " "'%(destination)s'." msgstr "" -#: admin/folderadmin.py:1143 admin/folderadmin.py:1145 +#: admin/folderadmin.py:1155 admin/folderadmin.py:1157 msgid "Copy files and/or folders" msgstr "" -#: admin/folderadmin.py:1162 +#: admin/folderadmin.py:1174 msgid "Copy selected files and/or folders" msgstr "" -#: admin/folderadmin.py:1267 +#: admin/folderadmin.py:1279 #, python-format msgid "Successfully resized %(count)d images." msgstr "" -#: admin/folderadmin.py:1274 admin/folderadmin.py:1276 +#: admin/folderadmin.py:1286 admin/folderadmin.py:1288 msgid "Resize images" msgstr "" -#: admin/folderadmin.py:1292 +#: admin/folderadmin.py:1303 msgid "Resize selected images" msgstr "" @@ -197,34 +197,30 @@ msgstr "" msgid "Invalid rename format: %(error)s." msgstr "" -#: admin/forms.py:64 models/thumbnailoptionmodels.py:37 +#: admin/forms.py:68 models/thumbnailoptionmodels.py:37 msgid "thumbnail option" msgstr "pisipildi valikud" -#: admin/forms.py:67 models/thumbnailoptionmodels.py:15 +#: admin/forms.py:72 models/thumbnailoptionmodels.py:15 msgid "width" msgstr "laius" -#: admin/forms.py:68 models/thumbnailoptionmodels.py:20 +#: admin/forms.py:73 models/thumbnailoptionmodels.py:20 msgid "height" msgstr "kõrgus" -#: admin/forms.py:69 models/thumbnailoptionmodels.py:25 +#: admin/forms.py:74 models/thumbnailoptionmodels.py:25 msgid "crop" msgstr "lõika" -#: admin/forms.py:70 models/thumbnailoptionmodels.py:30 +#: admin/forms.py:75 models/thumbnailoptionmodels.py:30 msgid "upscale" msgstr "suurenda" -#: admin/forms.py:75 +#: admin/forms.py:79 msgid "Thumbnail option or resize parameters must be choosen." msgstr "" -#: admin/forms.py:77 -msgid "Resize parameters must be choosen." -msgstr "" - #: admin/imageadmin.py:18 admin/imageadmin.py:105 msgid "Subject location" msgstr "" @@ -268,26 +264,42 @@ msgstr "Filer" msgid "Media library" msgstr "" -#: models/abstract.py:49 +#: models/abstract.py:62 msgid "default alt text" msgstr "" -#: models/abstract.py:56 +#: models/abstract.py:69 msgid "default caption" msgstr "" -#: models/abstract.py:63 +#: models/abstract.py:76 msgid "subject location" msgstr "" -#: models/abstract.py:78 +#: models/abstract.py:91 msgid "image" msgstr "pilt" -#: models/abstract.py:79 +#: models/abstract.py:92 msgid "images" msgstr "pildid" +#: models/abstract.py:147 +#, python-format +msgid "" +"Image format not recognized or image size exceeds limit of %(max_pixels)d " +"million pixels by a factor of two or more. Before uploading again, check " +"file format or resize image to %(width)d x %(height)d resolution or lower." +msgstr "" + +#: models/abstract.py:156 +#, python-format +msgid "" +"Image size (%(pixels)d million pixels) exceeds limit of %(max_pixels)d " +"million pixels. Before uploading again, resize image to %(width)d x " +"%(height)d resolution or lower." +msgstr "" + #: models/clipboardmodels.py:11 models/foldermodels.py:289 msgid "user" msgstr "kasutaja" @@ -731,21 +743,17 @@ msgstr "" msgid "The following images will be resized:" msgstr "" -#: templates/admin/filer/folder/choose_images_resize_options.html:33 +#: templates/admin/filer/folder/choose_images_resize_options.html:32 msgid "Choose an existing thumbnail option or enter resize parameters:" msgstr "" -#: templates/admin/filer/folder/choose_images_resize_options.html:35 -msgid "Choose resize parameters:" -msgstr "" - -#: templates/admin/filer/folder/choose_images_resize_options.html:38 +#: templates/admin/filer/folder/choose_images_resize_options.html:36 msgid "" "Warning: Images will be resized in-place and originals will be lost. Maybe " "first make a copy of them to retain the originals." msgstr "" -#: templates/admin/filer/folder/choose_images_resize_options.html:41 +#: templates/admin/filer/folder/choose_images_resize_options.html:39 msgid "Resize" msgstr "Muuda suurust" @@ -1077,7 +1085,7 @@ msgstr "" #: templates/admin/filer/tools/detail_info.html:20 #: templates/admin/filer/widgets/admin_file.html:32 -#: templatetags/filer_admin_tags.py:107 +#: templatetags/filer_admin_tags.py:108 msgid "File is missing" msgstr "" @@ -1136,28 +1144,39 @@ msgstr "Vali fail" msgid "Choose Folder" msgstr "" -#: validation.py:19 +#: validation.py:20 #, python-brace-format msgid "File \"{file_name}\": Upload denied by site security policy" msgstr "" -#: validation.py:22 +#: validation.py:23 #, python-brace-format msgid "File \"{file_name}\": {file_type} upload denied by site security policy" msgstr "" -#: validation.py:33 +#: validation.py:34 #, python-brace-format msgid "File \"{file_name}\": HTML upload denied by site security policy" msgstr "" -#: validation.py:71 +#: validation.py:72 #, python-brace-format msgid "" "File \"{file_name}\": Rejected due to potential cross site scripting " "vulnerability" msgstr "" +#: validation.py:84 +#, python-brace-format +msgid "File \"{file_name}\": SVG file format not recognized" +msgstr "" + +#~ msgid "Resize parameters must be choosen." +#~ msgstr "Resize parameters must be choosen." + +#~ msgid "Choose resize parameters:" +#~ msgstr "Choose resize parameters:" + #~ msgid "Open file" #~ msgstr "Open file" diff --git a/filer/locale/eu/LC_MESSAGES/django.mo b/filer/locale/eu/LC_MESSAGES/django.mo index c6df64812..0c1dfafb6 100644 Binary files a/filer/locale/eu/LC_MESSAGES/django.mo and b/filer/locale/eu/LC_MESSAGES/django.mo differ diff --git a/filer/locale/eu/LC_MESSAGES/django.po b/filer/locale/eu/LC_MESSAGES/django.po index 56e3b41fe..f63018d80 100644 --- a/filer/locale/eu/LC_MESSAGES/django.po +++ b/filer/locale/eu/LC_MESSAGES/django.po @@ -10,7 +10,7 @@ msgid "" msgstr "" "Project-Id-Version: django Filer\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-07-31 22:21+0200\n" +"POT-Creation-Date: 2023-09-26 08:46+0200\n" "PO-Revision-Date: 2012-07-13 15:50+0000\n" "Last-Translator: Ales Zabala Alava , 2013\n" "Language-Team: Basque (http://app.transifex.com/divio/django-filer/language/" @@ -21,27 +21,27 @@ msgstr "" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" -#: admin/clipboardadmin.py:16 +#: admin/clipboardadmin.py:17 msgid "You do not have permission to upload files." msgstr "" -#: admin/clipboardadmin.py:17 +#: admin/clipboardadmin.py:18 msgid "Can't find folder to upload. Please refresh and try again" msgstr "" -#: admin/clipboardadmin.py:19 +#: admin/clipboardadmin.py:20 msgid "Can't use this folder, Permission Denied. Please select another folder." msgstr "" -#: admin/fileadmin.py:47 +#: admin/fileadmin.py:73 msgid "Advanced" msgstr "Aurreratua" -#: admin/fileadmin.py:162 +#: admin/fileadmin.py:188 msgid "canonical URL" msgstr "" -#: admin/folderadmin.py:399 admin/folderadmin.py:570 +#: admin/folderadmin.py:411 admin/folderadmin.py:582 msgid "" "Items must be selected in order to perform actions on them. No items have " "been changed." @@ -49,81 +49,81 @@ msgstr "" "Elementuak hautatu behar dira beraiekin zeozer egiteko. Ez da elementurik " "aldatu." -#: admin/folderadmin.py:422 +#: admin/folderadmin.py:434 #, python-format msgid "%(total_count)s selected" msgid_plural "All %(total_count)s selected" msgstr[0] "bat haututa" msgstr[1] "%(total_count)s hautatuta" -#: admin/folderadmin.py:448 +#: admin/folderadmin.py:460 #, python-format msgid "Directory listing for %(folder_name)s" msgstr "" -#: admin/folderadmin.py:463 +#: admin/folderadmin.py:475 #, python-format msgid "0 of %(cnt)s selected" msgstr "%(cnt)s-(e)tik 0 hautatuta" -#: admin/folderadmin.py:600 +#: admin/folderadmin.py:612 msgid "No action selected." msgstr "Ez da ekintzarik hautatu" -#: admin/folderadmin.py:652 +#: admin/folderadmin.py:664 #, python-format msgid "Successfully moved %(count)d files to clipboard." msgstr "%(count)d fitxategi arbelera mugituta." -#: admin/folderadmin.py:657 +#: admin/folderadmin.py:669 msgid "Move selected files to clipboard" msgstr "Hautatutako fitxategiak arbelara mugitu" -#: admin/folderadmin.py:697 +#: admin/folderadmin.py:709 #, python-format msgid "Successfully disabled permissions for %(count)d files." msgstr "%(count)d fitxategientzako baimenak ezgaituta." -#: admin/folderadmin.py:699 +#: admin/folderadmin.py:711 #, python-format msgid "Successfully enabled permissions for %(count)d files." msgstr "%(count)d fitxategientzako baimenak gaituta." -#: admin/folderadmin.py:707 +#: admin/folderadmin.py:719 msgid "Enable permissions for selected files" msgstr "Hautatutako fitxategientzako baimenak gaitu" -#: admin/folderadmin.py:713 +#: admin/folderadmin.py:725 msgid "Disable permissions for selected files" msgstr "Hautatutako fitxategientzako baimenak ezgaitu" -#: admin/folderadmin.py:777 +#: admin/folderadmin.py:789 #, python-format msgid "Successfully deleted %(count)d files and/or folders." msgstr "%(count)d fitxategi eta/edo karpeta ezabatuta." -#: admin/folderadmin.py:782 +#: admin/folderadmin.py:794 msgid "Cannot delete files and/or folders" msgstr "Ezin dira fitxategia eta/edo karpetak ezabatu" -#: admin/folderadmin.py:784 +#: admin/folderadmin.py:796 msgid "Are you sure?" msgstr "Ziur zaude?" -#: admin/folderadmin.py:790 +#: admin/folderadmin.py:802 msgid "Delete files and/or folders" msgstr "Ezabatu fitxategi eta/edo karpetak" -#: admin/folderadmin.py:811 +#: admin/folderadmin.py:823 msgid "Delete selected files and/or folders" msgstr "Ezabatu hautatutako fitxategi eta/edo karpetak" -#: admin/folderadmin.py:918 +#: admin/folderadmin.py:930 #, python-format msgid "Folders with names %s already exist at the selected destination" msgstr "" -#: admin/folderadmin.py:922 +#: admin/folderadmin.py:934 #, python-format msgid "" "Successfully moved %(count)d files and/or folders to folder " @@ -131,25 +131,25 @@ msgid "" msgstr "" "%(count)d fitxategi eta/edo karpeta '%(destination)s' karpetara mugituta." -#: admin/folderadmin.py:930 admin/folderadmin.py:932 +#: admin/folderadmin.py:942 admin/folderadmin.py:944 msgid "Move files and/or folders" msgstr "Fitxategi eta/edo karpetak mugitu" -#: admin/folderadmin.py:947 +#: admin/folderadmin.py:959 msgid "Move selected files and/or folders" msgstr "Hautatutako fitxategi eta/edo karpetak mugitu" -#: admin/folderadmin.py:1004 +#: admin/folderadmin.py:1016 #, python-format msgid "Successfully renamed %(count)d files." msgstr "%(count)d fitxategi berrizendatuta." -#: admin/folderadmin.py:1013 admin/folderadmin.py:1015 -#: admin/folderadmin.py:1030 +#: admin/folderadmin.py:1025 admin/folderadmin.py:1027 +#: admin/folderadmin.py:1042 msgid "Rename files" msgstr "Fitxategiak berrizendatu" -#: admin/folderadmin.py:1125 +#: admin/folderadmin.py:1137 #, python-format msgid "" "Successfully copied %(count)d files and/or folders to folder " @@ -157,24 +157,24 @@ msgid "" msgstr "" "%(count)d fitxategi eta/edo karpeta %(destination)s karpetara kopiatuta." -#: admin/folderadmin.py:1143 admin/folderadmin.py:1145 +#: admin/folderadmin.py:1155 admin/folderadmin.py:1157 msgid "Copy files and/or folders" msgstr "Fitxategi eta/edo karpetak kopiatu" -#: admin/folderadmin.py:1162 +#: admin/folderadmin.py:1174 msgid "Copy selected files and/or folders" msgstr "Hautatutako fitxategi eta/edo karpetak kopiatu" -#: admin/folderadmin.py:1267 +#: admin/folderadmin.py:1279 #, python-format msgid "Successfully resized %(count)d images." msgstr "%(count)d irudien tamaina aldatuta." -#: admin/folderadmin.py:1274 admin/folderadmin.py:1276 +#: admin/folderadmin.py:1286 admin/folderadmin.py:1288 msgid "Resize images" msgstr "Irudien tamaina aldatu" -#: admin/folderadmin.py:1292 +#: admin/folderadmin.py:1303 msgid "Resize selected images" msgstr "Hautatutako irudien tamaina aldatu" @@ -201,35 +201,31 @@ msgstr "Berrizendatze formatuko gako balio ezezaguna \"%(key)s\"." msgid "Invalid rename format: %(error)s." msgstr "Berrizendatze formatu okerra: %(error)s." -#: admin/forms.py:64 models/thumbnailoptionmodels.py:37 +#: admin/forms.py:68 models/thumbnailoptionmodels.py:37 msgid "thumbnail option" msgstr "argazkitxoaren aukerak" -#: admin/forms.py:67 models/thumbnailoptionmodels.py:15 +#: admin/forms.py:72 models/thumbnailoptionmodels.py:15 msgid "width" msgstr "zabalera" -#: admin/forms.py:68 models/thumbnailoptionmodels.py:20 +#: admin/forms.py:73 models/thumbnailoptionmodels.py:20 msgid "height" msgstr "altuera" -#: admin/forms.py:69 models/thumbnailoptionmodels.py:25 +#: admin/forms.py:74 models/thumbnailoptionmodels.py:25 msgid "crop" msgstr "moztu" -#: admin/forms.py:70 models/thumbnailoptionmodels.py:30 +#: admin/forms.py:75 models/thumbnailoptionmodels.py:30 msgid "upscale" msgstr "handitu" -#: admin/forms.py:75 +#: admin/forms.py:79 msgid "Thumbnail option or resize parameters must be choosen." msgstr "" "Argazkitxo aukerak edo tamaina aldatzeko parametroak zehaztu behar dira." -#: admin/forms.py:77 -msgid "Resize parameters must be choosen." -msgstr "Tamaina aldatzeko parametroak zehaztu behar dira." - #: admin/imageadmin.py:18 admin/imageadmin.py:105 msgid "Subject location" msgstr "Subjektuaren kokapena" @@ -273,26 +269,42 @@ msgstr "Filer" msgid "Media library" msgstr "" -#: models/abstract.py:49 +#: models/abstract.py:62 msgid "default alt text" msgstr "defektuzko testu alternatiboa" -#: models/abstract.py:56 +#: models/abstract.py:69 msgid "default caption" msgstr "defektuzko epigrafea" -#: models/abstract.py:63 +#: models/abstract.py:76 msgid "subject location" msgstr "subjektuaren kokapena" -#: models/abstract.py:78 +#: models/abstract.py:91 msgid "image" msgstr "irudia" -#: models/abstract.py:79 +#: models/abstract.py:92 msgid "images" msgstr "irudiak" +#: models/abstract.py:147 +#, python-format +msgid "" +"Image format not recognized or image size exceeds limit of %(max_pixels)d " +"million pixels by a factor of two or more. Before uploading again, check " +"file format or resize image to %(width)d x %(height)d resolution or lower." +msgstr "" + +#: models/abstract.py:156 +#, python-format +msgid "" +"Image size (%(pixels)d million pixels) exceeds limit of %(max_pixels)d " +"million pixels. Before uploading again, resize image to %(width)d x " +"%(height)d resolution or lower." +msgstr "" + #: models/clipboardmodels.py:11 models/foldermodels.py:289 msgid "user" msgstr "erabiltzailea" @@ -738,16 +750,12 @@ msgstr "Ez dago tamaina aldatu dezakeen irudirik." msgid "The following images will be resized:" msgstr "Ondoko irudien tamaina aldatuko da:" -#: templates/admin/filer/folder/choose_images_resize_options.html:33 +#: templates/admin/filer/folder/choose_images_resize_options.html:32 msgid "Choose an existing thumbnail option or enter resize parameters:" msgstr "" "Argazkitxo aukera bat hautatu edo tamaina aldatzeko parametroak ezarri:" -#: templates/admin/filer/folder/choose_images_resize_options.html:35 -msgid "Choose resize parameters:" -msgstr "Tamaina aldatzeko parametroak aukeratu:" - -#: templates/admin/filer/folder/choose_images_resize_options.html:38 +#: templates/admin/filer/folder/choose_images_resize_options.html:36 msgid "" "Warning: Images will be resized in-place and originals will be lost. Maybe " "first make a copy of them to retain the originals." @@ -755,7 +763,7 @@ msgstr "" "Kontuz: Irudien tamaina aldatzean jatorrizkoak galduko dira. Lehenbizi " "jatorrizkoen kopia egin zenezake." -#: templates/admin/filer/folder/choose_images_resize_options.html:41 +#: templates/admin/filer/folder/choose_images_resize_options.html:39 msgid "Resize" msgstr "Tamaina aldatu" @@ -1089,7 +1097,7 @@ msgstr "" #: templates/admin/filer/tools/detail_info.html:20 #: templates/admin/filer/widgets/admin_file.html:32 -#: templatetags/filer_admin_tags.py:107 +#: templatetags/filer_admin_tags.py:108 msgid "File is missing" msgstr "" @@ -1148,28 +1156,39 @@ msgstr "" msgid "Choose Folder" msgstr "" -#: validation.py:19 +#: validation.py:20 #, python-brace-format msgid "File \"{file_name}\": Upload denied by site security policy" msgstr "" -#: validation.py:22 +#: validation.py:23 #, python-brace-format msgid "File \"{file_name}\": {file_type} upload denied by site security policy" msgstr "" -#: validation.py:33 +#: validation.py:34 #, python-brace-format msgid "File \"{file_name}\": HTML upload denied by site security policy" msgstr "" -#: validation.py:71 +#: validation.py:72 #, python-brace-format msgid "" "File \"{file_name}\": Rejected due to potential cross site scripting " "vulnerability" msgstr "" +#: validation.py:84 +#, python-brace-format +msgid "File \"{file_name}\": SVG file format not recognized" +msgstr "" + +#~ msgid "Resize parameters must be choosen." +#~ msgstr "Resize parameters must be choosen." + +#~ msgid "Choose resize parameters:" +#~ msgstr "Choose resize parameters:" + #~ msgid "Open file" #~ msgstr "Open file" diff --git a/filer/locale/fa/LC_MESSAGES/django.mo b/filer/locale/fa/LC_MESSAGES/django.mo index e8f4f49d6..673673cea 100644 Binary files a/filer/locale/fa/LC_MESSAGES/django.mo and b/filer/locale/fa/LC_MESSAGES/django.mo differ diff --git a/filer/locale/fa/LC_MESSAGES/django.po b/filer/locale/fa/LC_MESSAGES/django.po index 0900b6fc9..753cf2f2d 100644 --- a/filer/locale/fa/LC_MESSAGES/django.po +++ b/filer/locale/fa/LC_MESSAGES/django.po @@ -10,7 +10,7 @@ msgid "" msgstr "" "Project-Id-Version: django Filer\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-07-31 22:21+0200\n" +"POT-Creation-Date: 2023-09-26 08:46+0200\n" "PO-Revision-Date: 2012-07-13 15:50+0000\n" "Last-Translator: Fariman Ghaedi , 2019\n" "Language-Team: Persian (http://app.transifex.com/divio/django-filer/language/" @@ -21,27 +21,27 @@ msgstr "" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n > 1);\n" -#: admin/clipboardadmin.py:16 +#: admin/clipboardadmin.py:17 msgid "You do not have permission to upload files." msgstr "" -#: admin/clipboardadmin.py:17 +#: admin/clipboardadmin.py:18 msgid "Can't find folder to upload. Please refresh and try again" msgstr "" -#: admin/clipboardadmin.py:19 +#: admin/clipboardadmin.py:20 msgid "Can't use this folder, Permission Denied. Please select another folder." msgstr "" -#: admin/fileadmin.py:47 +#: admin/fileadmin.py:73 msgid "Advanced" msgstr "پیشرفته" -#: admin/fileadmin.py:162 +#: admin/fileadmin.py:188 msgid "canonical URL" msgstr "آدرس کانونی" -#: admin/folderadmin.py:399 admin/folderadmin.py:570 +#: admin/folderadmin.py:411 admin/folderadmin.py:582 msgid "" "Items must be selected in order to perform actions on them. No items have " "been changed." @@ -49,130 +49,130 @@ msgstr "" "برای اینکه بتوانید روی آیتم ها اقداماتی انجام دهید ابتدا باید آیتم ها را " "انتخاب کنید. هیچ آیتمی تغییر نکرد." -#: admin/folderadmin.py:422 +#: admin/folderadmin.py:434 #, python-format msgid "%(total_count)s selected" msgid_plural "All %(total_count)s selected" msgstr[0] "" msgstr[1] "" -#: admin/folderadmin.py:448 +#: admin/folderadmin.py:460 #, python-format msgid "Directory listing for %(folder_name)s" msgstr "" -#: admin/folderadmin.py:463 +#: admin/folderadmin.py:475 #, python-format msgid "0 of %(cnt)s selected" msgstr "" -#: admin/folderadmin.py:600 +#: admin/folderadmin.py:612 msgid "No action selected." msgstr "هیچ اقدامی انتخاب نشده است." -#: admin/folderadmin.py:652 +#: admin/folderadmin.py:664 #, python-format msgid "Successfully moved %(count)d files to clipboard." msgstr "" -#: admin/folderadmin.py:657 +#: admin/folderadmin.py:669 msgid "Move selected files to clipboard" msgstr "انتقال فایل های انتخاب شده به کلیپ برد" -#: admin/folderadmin.py:697 +#: admin/folderadmin.py:709 #, python-format msgid "Successfully disabled permissions for %(count)d files." msgstr "" -#: admin/folderadmin.py:699 +#: admin/folderadmin.py:711 #, python-format msgid "Successfully enabled permissions for %(count)d files." msgstr "" -#: admin/folderadmin.py:707 +#: admin/folderadmin.py:719 msgid "Enable permissions for selected files" msgstr "" -#: admin/folderadmin.py:713 +#: admin/folderadmin.py:725 msgid "Disable permissions for selected files" msgstr "" -#: admin/folderadmin.py:777 +#: admin/folderadmin.py:789 #, python-format msgid "Successfully deleted %(count)d files and/or folders." msgstr "" -#: admin/folderadmin.py:782 +#: admin/folderadmin.py:794 msgid "Cannot delete files and/or folders" msgstr "" -#: admin/folderadmin.py:784 +#: admin/folderadmin.py:796 msgid "Are you sure?" msgstr "آیا مطمئن هستید؟" -#: admin/folderadmin.py:790 +#: admin/folderadmin.py:802 msgid "Delete files and/or folders" msgstr "پاک کردن فایل ها و/یا پوشه ها" -#: admin/folderadmin.py:811 +#: admin/folderadmin.py:823 msgid "Delete selected files and/or folders" msgstr "پاک کردن فایل ها و/یا پوشه های انتخاب شده" -#: admin/folderadmin.py:918 +#: admin/folderadmin.py:930 #, python-format msgid "Folders with names %s already exist at the selected destination" msgstr "" -#: admin/folderadmin.py:922 +#: admin/folderadmin.py:934 #, python-format msgid "" "Successfully moved %(count)d files and/or folders to folder " "'%(destination)s'." msgstr "" -#: admin/folderadmin.py:930 admin/folderadmin.py:932 +#: admin/folderadmin.py:942 admin/folderadmin.py:944 msgid "Move files and/or folders" msgstr "" -#: admin/folderadmin.py:947 +#: admin/folderadmin.py:959 msgid "Move selected files and/or folders" msgstr "" -#: admin/folderadmin.py:1004 +#: admin/folderadmin.py:1016 #, python-format msgid "Successfully renamed %(count)d files." msgstr "" -#: admin/folderadmin.py:1013 admin/folderadmin.py:1015 -#: admin/folderadmin.py:1030 +#: admin/folderadmin.py:1025 admin/folderadmin.py:1027 +#: admin/folderadmin.py:1042 msgid "Rename files" msgstr "" -#: admin/folderadmin.py:1125 +#: admin/folderadmin.py:1137 #, python-format msgid "" "Successfully copied %(count)d files and/or folders to folder " "'%(destination)s'." msgstr "" -#: admin/folderadmin.py:1143 admin/folderadmin.py:1145 +#: admin/folderadmin.py:1155 admin/folderadmin.py:1157 msgid "Copy files and/or folders" msgstr "" -#: admin/folderadmin.py:1162 +#: admin/folderadmin.py:1174 msgid "Copy selected files and/or folders" msgstr "" -#: admin/folderadmin.py:1267 +#: admin/folderadmin.py:1279 #, python-format msgid "Successfully resized %(count)d images." msgstr "" -#: admin/folderadmin.py:1274 admin/folderadmin.py:1276 +#: admin/folderadmin.py:1286 admin/folderadmin.py:1288 msgid "Resize images" msgstr "" -#: admin/folderadmin.py:1292 +#: admin/folderadmin.py:1303 msgid "Resize selected images" msgstr "" @@ -197,34 +197,30 @@ msgstr "" msgid "Invalid rename format: %(error)s." msgstr "" -#: admin/forms.py:64 models/thumbnailoptionmodels.py:37 +#: admin/forms.py:68 models/thumbnailoptionmodels.py:37 msgid "thumbnail option" msgstr "" -#: admin/forms.py:67 models/thumbnailoptionmodels.py:15 +#: admin/forms.py:72 models/thumbnailoptionmodels.py:15 msgid "width" msgstr "" -#: admin/forms.py:68 models/thumbnailoptionmodels.py:20 +#: admin/forms.py:73 models/thumbnailoptionmodels.py:20 msgid "height" msgstr "" -#: admin/forms.py:69 models/thumbnailoptionmodels.py:25 +#: admin/forms.py:74 models/thumbnailoptionmodels.py:25 msgid "crop" msgstr "" -#: admin/forms.py:70 models/thumbnailoptionmodels.py:30 +#: admin/forms.py:75 models/thumbnailoptionmodels.py:30 msgid "upscale" msgstr "" -#: admin/forms.py:75 +#: admin/forms.py:79 msgid "Thumbnail option or resize parameters must be choosen." msgstr "" -#: admin/forms.py:77 -msgid "Resize parameters must be choosen." -msgstr "" - #: admin/imageadmin.py:18 admin/imageadmin.py:105 msgid "Subject location" msgstr "" @@ -268,26 +264,42 @@ msgstr "" msgid "Media library" msgstr "" -#: models/abstract.py:49 +#: models/abstract.py:62 msgid "default alt text" msgstr "" -#: models/abstract.py:56 +#: models/abstract.py:69 msgid "default caption" msgstr "" -#: models/abstract.py:63 +#: models/abstract.py:76 msgid "subject location" msgstr "" -#: models/abstract.py:78 +#: models/abstract.py:91 msgid "image" msgstr "" -#: models/abstract.py:79 +#: models/abstract.py:92 msgid "images" msgstr "" +#: models/abstract.py:147 +#, python-format +msgid "" +"Image format not recognized or image size exceeds limit of %(max_pixels)d " +"million pixels by a factor of two or more. Before uploading again, check " +"file format or resize image to %(width)d x %(height)d resolution or lower." +msgstr "" + +#: models/abstract.py:156 +#, python-format +msgid "" +"Image size (%(pixels)d million pixels) exceeds limit of %(max_pixels)d " +"million pixels. Before uploading again, resize image to %(width)d x " +"%(height)d resolution or lower." +msgstr "" + #: models/clipboardmodels.py:11 models/foldermodels.py:289 msgid "user" msgstr "" @@ -731,21 +743,17 @@ msgstr "" msgid "The following images will be resized:" msgstr "" -#: templates/admin/filer/folder/choose_images_resize_options.html:33 +#: templates/admin/filer/folder/choose_images_resize_options.html:32 msgid "Choose an existing thumbnail option or enter resize parameters:" msgstr "" -#: templates/admin/filer/folder/choose_images_resize_options.html:35 -msgid "Choose resize parameters:" -msgstr "" - -#: templates/admin/filer/folder/choose_images_resize_options.html:38 +#: templates/admin/filer/folder/choose_images_resize_options.html:36 msgid "" "Warning: Images will be resized in-place and originals will be lost. Maybe " "first make a copy of them to retain the originals." msgstr "" -#: templates/admin/filer/folder/choose_images_resize_options.html:41 +#: templates/admin/filer/folder/choose_images_resize_options.html:39 msgid "Resize" msgstr "" @@ -1077,7 +1085,7 @@ msgstr "" #: templates/admin/filer/tools/detail_info.html:20 #: templates/admin/filer/widgets/admin_file.html:32 -#: templatetags/filer_admin_tags.py:107 +#: templatetags/filer_admin_tags.py:108 msgid "File is missing" msgstr "" @@ -1136,28 +1144,39 @@ msgstr "" msgid "Choose Folder" msgstr "" -#: validation.py:19 +#: validation.py:20 #, python-brace-format msgid "File \"{file_name}\": Upload denied by site security policy" msgstr "" -#: validation.py:22 +#: validation.py:23 #, python-brace-format msgid "File \"{file_name}\": {file_type} upload denied by site security policy" msgstr "" -#: validation.py:33 +#: validation.py:34 #, python-brace-format msgid "File \"{file_name}\": HTML upload denied by site security policy" msgstr "" -#: validation.py:71 +#: validation.py:72 #, python-brace-format msgid "" "File \"{file_name}\": Rejected due to potential cross site scripting " "vulnerability" msgstr "" +#: validation.py:84 +#, python-brace-format +msgid "File \"{file_name}\": SVG file format not recognized" +msgstr "" + +#~ msgid "Resize parameters must be choosen." +#~ msgstr "Resize parameters must be choosen." + +#~ msgid "Choose resize parameters:" +#~ msgstr "Choose resize parameters:" + #~ msgid "Open file" #~ msgstr "Open file" diff --git a/filer/locale/fi/LC_MESSAGES/django.mo b/filer/locale/fi/LC_MESSAGES/django.mo index 2687344ad..984dc53b7 100644 Binary files a/filer/locale/fi/LC_MESSAGES/django.mo and b/filer/locale/fi/LC_MESSAGES/django.mo differ diff --git a/filer/locale/fi/LC_MESSAGES/django.po b/filer/locale/fi/LC_MESSAGES/django.po index 808350553..8971021b3 100644 --- a/filer/locale/fi/LC_MESSAGES/django.po +++ b/filer/locale/fi/LC_MESSAGES/django.po @@ -11,7 +11,7 @@ msgid "" msgstr "" "Project-Id-Version: django Filer\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-07-31 22:21+0200\n" +"POT-Creation-Date: 2023-09-26 08:46+0200\n" "PO-Revision-Date: 2012-07-13 15:50+0000\n" "Last-Translator: Teemu Gratschev , 2022\n" "Language-Team: Finnish (http://app.transifex.com/divio/django-filer/language/" @@ -22,27 +22,27 @@ msgstr "" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" -#: admin/clipboardadmin.py:16 +#: admin/clipboardadmin.py:17 msgid "You do not have permission to upload files." msgstr "" -#: admin/clipboardadmin.py:17 +#: admin/clipboardadmin.py:18 msgid "Can't find folder to upload. Please refresh and try again" msgstr "" -#: admin/clipboardadmin.py:19 +#: admin/clipboardadmin.py:20 msgid "Can't use this folder, Permission Denied. Please select another folder." msgstr "" -#: admin/fileadmin.py:47 +#: admin/fileadmin.py:73 msgid "Advanced" msgstr "Edistyneet asetukset" -#: admin/fileadmin.py:162 +#: admin/fileadmin.py:188 msgid "canonical URL" msgstr "sääntöjenmukainen URL" -#: admin/folderadmin.py:399 admin/folderadmin.py:570 +#: admin/folderadmin.py:411 admin/folderadmin.py:582 msgid "" "Items must be selected in order to perform actions on them. No items have " "been changed." @@ -50,81 +50,81 @@ msgstr "" "Toiminnon suorittamiseksi pitää valita kohteita. Yhtäänkohdetta ei ole " "valittu." -#: admin/folderadmin.py:422 +#: admin/folderadmin.py:434 #, python-format msgid "%(total_count)s selected" msgid_plural "All %(total_count)s selected" msgstr[0] "%(total_count)s valittu" msgstr[1] "Kaikki %(total_count)s valittu" -#: admin/folderadmin.py:448 +#: admin/folderadmin.py:460 #, python-format msgid "Directory listing for %(folder_name)s" msgstr "Hakemistolistaus kansiolle %(folder_name)s" -#: admin/folderadmin.py:463 +#: admin/folderadmin.py:475 #, python-format msgid "0 of %(cnt)s selected" msgstr "0 / %(cnt)s valittu" -#: admin/folderadmin.py:600 +#: admin/folderadmin.py:612 msgid "No action selected." msgstr "Toimintoa ei ole valittu." -#: admin/folderadmin.py:652 +#: admin/folderadmin.py:664 #, python-format msgid "Successfully moved %(count)d files to clipboard." msgstr "%(count)d tiedostoa siirretty leikepöydälle." -#: admin/folderadmin.py:657 +#: admin/folderadmin.py:669 msgid "Move selected files to clipboard" msgstr "Siirrä valitut tiedostot leikepöydälle" -#: admin/folderadmin.py:697 +#: admin/folderadmin.py:709 #, python-format msgid "Successfully disabled permissions for %(count)d files." msgstr "%(count)d tiedoston käyttöoikeudet poistettu käytöstä." -#: admin/folderadmin.py:699 +#: admin/folderadmin.py:711 #, python-format msgid "Successfully enabled permissions for %(count)d files." msgstr "Käyttöoikeudet otettu käyttöön %(count)d tiedostolle." -#: admin/folderadmin.py:707 +#: admin/folderadmin.py:719 msgid "Enable permissions for selected files" msgstr "Ota käyttöoikeudet käyttöön valituille tiedostoille" -#: admin/folderadmin.py:713 +#: admin/folderadmin.py:725 msgid "Disable permissions for selected files" msgstr "Poista käyttöoikeudet käytöstä valituista tiedostoista" -#: admin/folderadmin.py:777 +#: admin/folderadmin.py:789 #, python-format msgid "Successfully deleted %(count)d files and/or folders." msgstr "%(count)d tiedostoa ja/tai kansiota poistettu." -#: admin/folderadmin.py:782 +#: admin/folderadmin.py:794 msgid "Cannot delete files and/or folders" msgstr "Kansioita ja/tai tiedostoja ei voida poistaa" -#: admin/folderadmin.py:784 +#: admin/folderadmin.py:796 msgid "Are you sure?" msgstr "Oletko varma?" -#: admin/folderadmin.py:790 +#: admin/folderadmin.py:802 msgid "Delete files and/or folders" msgstr "Poista tiedostot ja/tai kansiot" -#: admin/folderadmin.py:811 +#: admin/folderadmin.py:823 msgid "Delete selected files and/or folders" msgstr "Poista valitut tiedostot ja/tai kansiot" -#: admin/folderadmin.py:918 +#: admin/folderadmin.py:930 #, python-format msgid "Folders with names %s already exist at the selected destination" msgstr "%s niminen kansio on jo valitussa kohteessa" -#: admin/folderadmin.py:922 +#: admin/folderadmin.py:934 #, python-format msgid "" "Successfully moved %(count)d files and/or folders to folder " @@ -132,25 +132,25 @@ msgid "" msgstr "" "%(count)d tiedostoa ja/tai kansiota siirretty kansioon '%(destination)s'." -#: admin/folderadmin.py:930 admin/folderadmin.py:932 +#: admin/folderadmin.py:942 admin/folderadmin.py:944 msgid "Move files and/or folders" msgstr "Siirrä tiedostot ja/tai kansiot" -#: admin/folderadmin.py:947 +#: admin/folderadmin.py:959 msgid "Move selected files and/or folders" msgstr "Siirrä valitut tiedostot ja/tai kansiot" -#: admin/folderadmin.py:1004 +#: admin/folderadmin.py:1016 #, python-format msgid "Successfully renamed %(count)d files." msgstr "%(count)d tiedostoa nimetty uudelleen." -#: admin/folderadmin.py:1013 admin/folderadmin.py:1015 -#: admin/folderadmin.py:1030 +#: admin/folderadmin.py:1025 admin/folderadmin.py:1027 +#: admin/folderadmin.py:1042 msgid "Rename files" msgstr "Nimeä tiedostot uudelleen" -#: admin/folderadmin.py:1125 +#: admin/folderadmin.py:1137 #, python-format msgid "" "Successfully copied %(count)d files and/or folders to folder " @@ -158,24 +158,24 @@ msgid "" msgstr "" "%(count)d tiedostoa ja/tai kansiota kopioitu kansioon '%(destination)s'." -#: admin/folderadmin.py:1143 admin/folderadmin.py:1145 +#: admin/folderadmin.py:1155 admin/folderadmin.py:1157 msgid "Copy files and/or folders" msgstr "Kopioi tiedostot ja/tai kansiot" -#: admin/folderadmin.py:1162 +#: admin/folderadmin.py:1174 msgid "Copy selected files and/or folders" msgstr "Kopioi valitut tiedostot ja/tai kansiot" -#: admin/folderadmin.py:1267 +#: admin/folderadmin.py:1279 #, python-format msgid "Successfully resized %(count)d images." msgstr "%(count)d kuvan kokoa muutettu." -#: admin/folderadmin.py:1274 admin/folderadmin.py:1276 +#: admin/folderadmin.py:1286 admin/folderadmin.py:1288 msgid "Resize images" msgstr "Muuta kuvien kokoa" -#: admin/folderadmin.py:1292 +#: admin/folderadmin.py:1303 msgid "Resize selected images" msgstr "Muuta valittujen kuvien kokoa" @@ -202,34 +202,30 @@ msgstr "Tuntematon uudelleennimeämisarvo \"%(key)s\"." msgid "Invalid rename format: %(error)s." msgstr "Virheellinen uudelleennimeämismuoto: %(error)s." -#: admin/forms.py:64 models/thumbnailoptionmodels.py:37 +#: admin/forms.py:68 models/thumbnailoptionmodels.py:37 msgid "thumbnail option" msgstr "pikkukuvan asetus" -#: admin/forms.py:67 models/thumbnailoptionmodels.py:15 +#: admin/forms.py:72 models/thumbnailoptionmodels.py:15 msgid "width" msgstr "leveys" -#: admin/forms.py:68 models/thumbnailoptionmodels.py:20 +#: admin/forms.py:73 models/thumbnailoptionmodels.py:20 msgid "height" msgstr "korkeus" -#: admin/forms.py:69 models/thumbnailoptionmodels.py:25 +#: admin/forms.py:74 models/thumbnailoptionmodels.py:25 msgid "crop" msgstr "rajaus" -#: admin/forms.py:70 models/thumbnailoptionmodels.py:30 +#: admin/forms.py:75 models/thumbnailoptionmodels.py:30 msgid "upscale" msgstr "suurenna" -#: admin/forms.py:75 +#: admin/forms.py:79 msgid "Thumbnail option or resize parameters must be choosen." msgstr "Pikkukuvan asetus tai koon muuttamisen parametrit tulee valita." -#: admin/forms.py:77 -msgid "Resize parameters must be choosen." -msgstr "Koon muuttamisen parametrit tulee valita." - #: admin/imageadmin.py:18 admin/imageadmin.py:105 msgid "Subject location" msgstr "Kohteen sijainti" @@ -273,26 +269,42 @@ msgstr "Filer" msgid "Media library" msgstr "Mediakirjasto" -#: models/abstract.py:49 +#: models/abstract.py:62 msgid "default alt text" msgstr "oletus alt-teksti" -#: models/abstract.py:56 +#: models/abstract.py:69 msgid "default caption" msgstr "oletuskuvateksti" -#: models/abstract.py:63 +#: models/abstract.py:76 msgid "subject location" msgstr "kohteen sijainti" -#: models/abstract.py:78 +#: models/abstract.py:91 msgid "image" msgstr "kuva" -#: models/abstract.py:79 +#: models/abstract.py:92 msgid "images" msgstr "kuvat" +#: models/abstract.py:147 +#, python-format +msgid "" +"Image format not recognized or image size exceeds limit of %(max_pixels)d " +"million pixels by a factor of two or more. Before uploading again, check " +"file format or resize image to %(width)d x %(height)d resolution or lower." +msgstr "" + +#: models/abstract.py:156 +#, python-format +msgid "" +"Image size (%(pixels)d million pixels) exceeds limit of %(max_pixels)d " +"million pixels. Before uploading again, resize image to %(width)d x " +"%(height)d resolution or lower." +msgstr "" + #: models/clipboardmodels.py:11 models/foldermodels.py:289 msgid "user" msgstr "käyttäjä" @@ -750,15 +762,11 @@ msgstr "Kuvia, joiden kokoa voisi muuttaa ei ole saatavilla." msgid "The following images will be resized:" msgstr "Seuraavien kuvien kokoa muutetaan:" -#: templates/admin/filer/folder/choose_images_resize_options.html:33 +#: templates/admin/filer/folder/choose_images_resize_options.html:32 msgid "Choose an existing thumbnail option or enter resize parameters:" msgstr "Valitse olemassaolevat pikkukuvan asetukset tai syötä kokoparametrit:" -#: templates/admin/filer/folder/choose_images_resize_options.html:35 -msgid "Choose resize parameters:" -msgstr "Valitse kokoparametrit:" - -#: templates/admin/filer/folder/choose_images_resize_options.html:38 +#: templates/admin/filer/folder/choose_images_resize_options.html:36 msgid "" "Warning: Images will be resized in-place and originals will be lost. Maybe " "first make a copy of them to retain the originals." @@ -766,7 +774,7 @@ msgstr "" "Varoitus: Kuvien kokoa muuttaessa alkuperäiset versiot menetetään. On hyvä " "idea tehdä kuvista ensin kopiot alkuperäisten säilyttämiseksi." -#: templates/admin/filer/folder/choose_images_resize_options.html:41 +#: templates/admin/filer/folder/choose_images_resize_options.html:39 msgid "Resize" msgstr "Muuta kokoa" @@ -1107,7 +1115,7 @@ msgstr "" #: templates/admin/filer/tools/detail_info.html:20 #: templates/admin/filer/widgets/admin_file.html:32 -#: templatetags/filer_admin_tags.py:107 +#: templatetags/filer_admin_tags.py:108 msgid "File is missing" msgstr "" @@ -1166,28 +1174,39 @@ msgstr "Valitse tiedosto" msgid "Choose Folder" msgstr "" -#: validation.py:19 +#: validation.py:20 #, python-brace-format msgid "File \"{file_name}\": Upload denied by site security policy" msgstr "" -#: validation.py:22 +#: validation.py:23 #, python-brace-format msgid "File \"{file_name}\": {file_type} upload denied by site security policy" msgstr "" -#: validation.py:33 +#: validation.py:34 #, python-brace-format msgid "File \"{file_name}\": HTML upload denied by site security policy" msgstr "" -#: validation.py:71 +#: validation.py:72 #, python-brace-format msgid "" "File \"{file_name}\": Rejected due to potential cross site scripting " "vulnerability" msgstr "" +#: validation.py:84 +#, python-brace-format +msgid "File \"{file_name}\": SVG file format not recognized" +msgstr "" + +#~ msgid "Resize parameters must be choosen." +#~ msgstr "Resize parameters must be choosen." + +#~ msgid "Choose resize parameters:" +#~ msgstr "Choose resize parameters:" + #~ msgid "Open file" #~ msgstr "Open file" diff --git a/filer/locale/fr/LC_MESSAGES/django.mo b/filer/locale/fr/LC_MESSAGES/django.mo index f00475990..119a59692 100644 Binary files a/filer/locale/fr/LC_MESSAGES/django.mo and b/filer/locale/fr/LC_MESSAGES/django.mo differ diff --git a/filer/locale/fr/LC_MESSAGES/django.po b/filer/locale/fr/LC_MESSAGES/django.po index 58080e380..6da5807f3 100644 --- a/filer/locale/fr/LC_MESSAGES/django.po +++ b/filer/locale/fr/LC_MESSAGES/django.po @@ -16,7 +16,7 @@ msgid "" msgstr "" "Project-Id-Version: django Filer\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-07-31 22:21+0200\n" +"POT-Creation-Date: 2023-09-26 08:46+0200\n" "PO-Revision-Date: 2012-07-13 15:50+0000\n" "Last-Translator: Corentin Bettiol, 2023\n" "Language-Team: French (http://app.transifex.com/divio/django-filer/language/" @@ -28,29 +28,29 @@ msgstr "" "Plural-Forms: nplurals=3; plural=(n == 0 || n == 1) ? 0 : n != 0 && n % " "1000000 == 0 ? 1 : 2;\n" -#: admin/clipboardadmin.py:16 +#: admin/clipboardadmin.py:17 msgid "You do not have permission to upload files." msgstr "Vous n'avez pas la permission d'héberger des fichiers." -#: admin/clipboardadmin.py:17 +#: admin/clipboardadmin.py:18 msgid "Can't find folder to upload. Please refresh and try again" msgstr "Dossier d'hébergement introuvable, rafraîchissez la page et réessayez." -#: admin/clipboardadmin.py:19 +#: admin/clipboardadmin.py:20 msgid "Can't use this folder, Permission Denied. Please select another folder." msgstr "" "Utilisation du dossier impossible : Permissions insuffisantes. Sélectionnez " "un autre dossier." -#: admin/fileadmin.py:47 +#: admin/fileadmin.py:73 msgid "Advanced" msgstr "Avancé" -#: admin/fileadmin.py:162 +#: admin/fileadmin.py:188 msgid "canonical URL" msgstr "URL canonique" -#: admin/folderadmin.py:399 admin/folderadmin.py:570 +#: admin/folderadmin.py:411 admin/folderadmin.py:582 msgid "" "Items must be selected in order to perform actions on them. No items have " "been changed." @@ -58,7 +58,7 @@ msgstr "" "Des éléments doivent être sélectionnés pour effectuer les actions. Aucun " "élément n'a été modifié." -#: admin/folderadmin.py:422 +#: admin/folderadmin.py:434 #, python-format msgid "%(total_count)s selected" msgid_plural "All %(total_count)s selected" @@ -66,74 +66,74 @@ msgstr[0] "%(total_count)s sélectionné" msgstr[1] "Tous les %(total_count)s sélectionnés" msgstr[2] "Tous les %(total_count)s sélectionnés" -#: admin/folderadmin.py:448 +#: admin/folderadmin.py:460 #, python-format msgid "Directory listing for %(folder_name)s" msgstr "Liste du répertoire pour %(folder_name)s" -#: admin/folderadmin.py:463 +#: admin/folderadmin.py:475 #, python-format msgid "0 of %(cnt)s selected" msgstr "0 sur %(cnt)s sélectionné" -#: admin/folderadmin.py:600 +#: admin/folderadmin.py:612 msgid "No action selected." msgstr "Pas d'action sélectionnée." -#: admin/folderadmin.py:652 +#: admin/folderadmin.py:664 #, python-format msgid "Successfully moved %(count)d files to clipboard." msgstr "%(count)d fichiers déplacés avec succès vers le presse-papiers." -#: admin/folderadmin.py:657 +#: admin/folderadmin.py:669 msgid "Move selected files to clipboard" msgstr "Déplacer les fichiers sélectionnés vers le presse-papiers" -#: admin/folderadmin.py:697 +#: admin/folderadmin.py:709 #, python-format msgid "Successfully disabled permissions for %(count)d files." msgstr "Permissions désactivées avec succès pour %(count)d fichiers." -#: admin/folderadmin.py:699 +#: admin/folderadmin.py:711 #, python-format msgid "Successfully enabled permissions for %(count)d files." msgstr "Permissions activées avec succès pour %(count)d fichiers." -#: admin/folderadmin.py:707 +#: admin/folderadmin.py:719 msgid "Enable permissions for selected files" msgstr "Activer les permissions pour les fichiers sélectionnés." -#: admin/folderadmin.py:713 +#: admin/folderadmin.py:725 msgid "Disable permissions for selected files" msgstr "Désactiver les permissions pour les fichiers sélectionnés." -#: admin/folderadmin.py:777 +#: admin/folderadmin.py:789 #, python-format msgid "Successfully deleted %(count)d files and/or folders." msgstr "%(count)d fichiers et/ou dossiers supprimés avec succès." -#: admin/folderadmin.py:782 +#: admin/folderadmin.py:794 msgid "Cannot delete files and/or folders" msgstr "Impossible de supprimer les fichiers et/ou dossiers." -#: admin/folderadmin.py:784 +#: admin/folderadmin.py:796 msgid "Are you sure?" msgstr "Êtes-vous sûr(e) ?" -#: admin/folderadmin.py:790 +#: admin/folderadmin.py:802 msgid "Delete files and/or folders" msgstr "Supprimer les fichiers et/ou dossiers" -#: admin/folderadmin.py:811 +#: admin/folderadmin.py:823 msgid "Delete selected files and/or folders" msgstr "Supprimer les fichiers et/ou dossiers sélectionnés" -#: admin/folderadmin.py:918 +#: admin/folderadmin.py:930 #, python-format msgid "Folders with names %s already exist at the selected destination" msgstr "Des dossiers nommés %s existent déjà dans la destination sélectionnée" -#: admin/folderadmin.py:922 +#: admin/folderadmin.py:934 #, python-format msgid "" "Successfully moved %(count)d files and/or folders to folder " @@ -142,25 +142,25 @@ msgstr "" "%(count)d fichiers et/ou dossiers déplacés avec succès vers le dossier " "« %(destination)s »." -#: admin/folderadmin.py:930 admin/folderadmin.py:932 +#: admin/folderadmin.py:942 admin/folderadmin.py:944 msgid "Move files and/or folders" msgstr "Déplacer les fichiers et/ou dossiers" -#: admin/folderadmin.py:947 +#: admin/folderadmin.py:959 msgid "Move selected files and/or folders" msgstr "Déplacer les fichiers et/ou dossiers sélectionnés" -#: admin/folderadmin.py:1004 +#: admin/folderadmin.py:1016 #, python-format msgid "Successfully renamed %(count)d files." msgstr "%(count)d fichiers renommés avec succès." -#: admin/folderadmin.py:1013 admin/folderadmin.py:1015 -#: admin/folderadmin.py:1030 +#: admin/folderadmin.py:1025 admin/folderadmin.py:1027 +#: admin/folderadmin.py:1042 msgid "Rename files" msgstr "Renommer les fichiers" -#: admin/folderadmin.py:1125 +#: admin/folderadmin.py:1137 #, python-format msgid "" "Successfully copied %(count)d files and/or folders to folder " @@ -169,24 +169,24 @@ msgstr "" "%(count)d fichiers et/dossiers copiés avec succès dans le dossier " "« %(destination)s »." -#: admin/folderadmin.py:1143 admin/folderadmin.py:1145 +#: admin/folderadmin.py:1155 admin/folderadmin.py:1157 msgid "Copy files and/or folders" msgstr "Copier les fichiers et/ou dossiers" -#: admin/folderadmin.py:1162 +#: admin/folderadmin.py:1174 msgid "Copy selected files and/or folders" msgstr "Copier les fichiers et/ou dossiers sélectionnés" -#: admin/folderadmin.py:1267 +#: admin/folderadmin.py:1279 #, python-format msgid "Successfully resized %(count)d images." msgstr "%(count)d images redimensionnées avec succès." -#: admin/folderadmin.py:1274 admin/folderadmin.py:1276 +#: admin/folderadmin.py:1286 admin/folderadmin.py:1288 msgid "Resize images" msgstr "Redimensionner les images" -#: admin/folderadmin.py:1292 +#: admin/folderadmin.py:1303 msgid "Resize selected images" msgstr "Redimensionner les images sélectionnées" @@ -213,36 +213,32 @@ msgstr "La clé de formatage « %(key)s » est inconnue." msgid "Invalid rename format: %(error)s." msgstr "Format de renommage non valide : %(error)s." -#: admin/forms.py:64 models/thumbnailoptionmodels.py:37 +#: admin/forms.py:68 models/thumbnailoptionmodels.py:37 msgid "thumbnail option" msgstr "option de miniature" -#: admin/forms.py:67 models/thumbnailoptionmodels.py:15 +#: admin/forms.py:72 models/thumbnailoptionmodels.py:15 msgid "width" msgstr "largeur" -#: admin/forms.py:68 models/thumbnailoptionmodels.py:20 +#: admin/forms.py:73 models/thumbnailoptionmodels.py:20 msgid "height" msgstr "hauteur" -#: admin/forms.py:69 models/thumbnailoptionmodels.py:25 +#: admin/forms.py:74 models/thumbnailoptionmodels.py:25 msgid "crop" msgstr "rogner" -#: admin/forms.py:70 models/thumbnailoptionmodels.py:30 +#: admin/forms.py:75 models/thumbnailoptionmodels.py:30 msgid "upscale" msgstr "agrandir" -#: admin/forms.py:75 +#: admin/forms.py:79 msgid "Thumbnail option or resize parameters must be choosen." msgstr "" "Une option de miniature ou des paramètres de dimensionnement doivent être " "choisis." -#: admin/forms.py:77 -msgid "Resize parameters must be choosen." -msgstr "Des paramètres de dimensionnement doivent être choisis." - #: admin/imageadmin.py:18 admin/imageadmin.py:105 msgid "Subject location" msgstr "Emplacement du sujet" @@ -286,26 +282,42 @@ msgstr "Filer" msgid "Media library" msgstr "Bibliotèque multimedia" -#: models/abstract.py:49 +#: models/abstract.py:62 msgid "default alt text" msgstr "texte alternatif par défaut" -#: models/abstract.py:56 +#: models/abstract.py:69 msgid "default caption" msgstr "légende par défaut" -#: models/abstract.py:63 +#: models/abstract.py:76 msgid "subject location" msgstr "emplacement du sujet" -#: models/abstract.py:78 +#: models/abstract.py:91 msgid "image" msgstr "image" -#: models/abstract.py:79 +#: models/abstract.py:92 msgid "images" msgstr "images" +#: models/abstract.py:147 +#, python-format +msgid "" +"Image format not recognized or image size exceeds limit of %(max_pixels)d " +"million pixels by a factor of two or more. Before uploading again, check " +"file format or resize image to %(width)d x %(height)d resolution or lower." +msgstr "" + +#: models/abstract.py:156 +#, python-format +msgid "" +"Image size (%(pixels)d million pixels) exceeds limit of %(max_pixels)d " +"million pixels. Before uploading again, resize image to %(width)d x " +"%(height)d resolution or lower." +msgstr "" + #: models/clipboardmodels.py:11 models/foldermodels.py:289 msgid "user" msgstr "utilisateur" @@ -468,19 +480,26 @@ msgstr "permissions du dossier" #: models/foldermodels.py:348 msgid "Folder cannot be selected with type \"all items\"." -msgstr "Le dossier ne peut pas être sélectionné avec le type \"tous les éléments\"." +msgstr "" +"Le dossier ne peut pas être sélectionné avec le type \"tous les éléments\"." #: models/foldermodels.py:350 msgid "Folder has to be selected when type is not \"all items\"." -msgstr "Un dossier doit être sélectionné lorsque le type n'est pas \"tous les éléments\"." +msgstr "" +"Un dossier doit être sélectionné lorsque le type n'est pas \"tous les " +"éléments\"." #: models/foldermodels.py:352 msgid "User or group cannot be selected together with \"everybody\"." -msgstr "Un utilisateur ou un groupe ne peuvent être sélectionnés lorsque \"tout le monde\" est également sélectionné." +msgstr "" +"Un utilisateur ou un groupe ne peuvent être sélectionnés lorsque \"tout le " +"monde\" est également sélectionné." #: models/foldermodels.py:354 msgid "At least one of user, group, or \"everybody\" has to be selected." -msgstr "Au moins une option parmi un utilisateur, un groupe, ou \"tout le monde\" doit être sélectionnée." +msgstr "" +"Au moins une option parmi un utilisateur, un groupe, ou \"tout le monde\" " +"doit être sélectionnée." #: models/foldermodels.py:360 msgid "All Folders" @@ -764,17 +783,13 @@ msgstr "Il n'y a aucune image disponible à redimensionner." msgid "The following images will be resized:" msgstr "Les images suivantes seront redimensionnées :" -#: templates/admin/filer/folder/choose_images_resize_options.html:33 +#: templates/admin/filer/folder/choose_images_resize_options.html:32 msgid "Choose an existing thumbnail option or enter resize parameters:" msgstr "" "Choisissez une option de miniature existante ou entrez des paramètres de " "redimensionnement :" -#: templates/admin/filer/folder/choose_images_resize_options.html:35 -msgid "Choose resize parameters:" -msgstr "Choisissez des paramètres de redimensionnement :" - -#: templates/admin/filer/folder/choose_images_resize_options.html:38 +#: templates/admin/filer/folder/choose_images_resize_options.html:36 msgid "" "Warning: Images will be resized in-place and originals will be lost. Maybe " "first make a copy of them to retain the originals." @@ -783,7 +798,7 @@ msgstr "" "seront perdues. Faites-en éventuellement une copie préalable afin de les " "conserver." -#: templates/admin/filer/folder/choose_images_resize_options.html:41 +#: templates/admin/filer/folder/choose_images_resize_options.html:39 msgid "Resize" msgstr "Redimensionner" @@ -1128,7 +1143,7 @@ msgstr "Agrandir" #: templates/admin/filer/tools/detail_info.html:20 #: templates/admin/filer/widgets/admin_file.html:32 -#: templatetags/filer_admin_tags.py:107 +#: templatetags/filer_admin_tags.py:108 msgid "File is missing" msgstr "Le fichier est manquant" @@ -1187,28 +1202,28 @@ msgstr "Sélectionner un fichier" msgid "Choose Folder" msgstr "Choisissez un dossier" -#: validation.py:19 +#: validation.py:20 #, python-brace-format msgid "File \"{file_name}\": Upload denied by site security policy" msgstr "" "Fichier \"{file_name}\" : Hébergement refusé par la politique de sécurité du " "site" -#: validation.py:22 +#: validation.py:23 #, python-brace-format msgid "File \"{file_name}\": {file_type} upload denied by site security policy" msgstr "" "Fichier \"{file_name}\" : hébergement de {file_type} refusé par la politique " "de sécurité du site" -#: validation.py:33 +#: validation.py:34 #, python-brace-format msgid "File \"{file_name}\": HTML upload denied by site security policy" msgstr "" "Fichier \"{file_name}\" : hébergement HTML refusé par la politique de " "sécurité du site" -#: validation.py:71 +#: validation.py:72 #, python-brace-format msgid "" "File \"{file_name}\": Rejected due to potential cross site scripting " @@ -1217,6 +1232,17 @@ msgstr "" "Fichier \"{file_name}\" : Rejeté à cause d'une potentielle vulnérabilité de " "cross-site scripting" +#: validation.py:84 +#, python-brace-format +msgid "File \"{file_name}\": SVG file format not recognized" +msgstr "" + +#~ msgid "Resize parameters must be choosen." +#~ msgstr "Resize parameters must be choosen." + +#~ msgid "Choose resize parameters:" +#~ msgstr "Choose resize parameters:" + #~ msgid "Open file" #~ msgstr "Open file" diff --git a/filer/locale/gl/LC_MESSAGES/django.mo b/filer/locale/gl/LC_MESSAGES/django.mo index 84f876a33..888daadd0 100644 Binary files a/filer/locale/gl/LC_MESSAGES/django.mo and b/filer/locale/gl/LC_MESSAGES/django.mo differ diff --git a/filer/locale/gl/LC_MESSAGES/django.po b/filer/locale/gl/LC_MESSAGES/django.po index a81d1a3a8..170460263 100644 --- a/filer/locale/gl/LC_MESSAGES/django.po +++ b/filer/locale/gl/LC_MESSAGES/django.po @@ -11,7 +11,7 @@ msgid "" msgstr "" "Project-Id-Version: django Filer\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-07-31 22:21+0200\n" +"POT-Creation-Date: 2023-09-26 08:46+0200\n" "PO-Revision-Date: 2012-07-13 15:50+0000\n" "Last-Translator: Pablo, 2015\n" "Language-Team: Galician (http://app.transifex.com/divio/django-filer/" @@ -22,156 +22,156 @@ msgstr "" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" -#: admin/clipboardadmin.py:16 +#: admin/clipboardadmin.py:17 msgid "You do not have permission to upload files." msgstr "" -#: admin/clipboardadmin.py:17 +#: admin/clipboardadmin.py:18 msgid "Can't find folder to upload. Please refresh and try again" msgstr "" -#: admin/clipboardadmin.py:19 +#: admin/clipboardadmin.py:20 msgid "Can't use this folder, Permission Denied. Please select another folder." msgstr "" -#: admin/fileadmin.py:47 +#: admin/fileadmin.py:73 msgid "Advanced" msgstr "Avanzado" -#: admin/fileadmin.py:162 +#: admin/fileadmin.py:188 msgid "canonical URL" msgstr "" -#: admin/folderadmin.py:399 admin/folderadmin.py:570 +#: admin/folderadmin.py:411 admin/folderadmin.py:582 msgid "" "Items must be selected in order to perform actions on them. No items have " "been changed." msgstr "" -#: admin/folderadmin.py:422 +#: admin/folderadmin.py:434 #, python-format msgid "%(total_count)s selected" msgid_plural "All %(total_count)s selected" msgstr[0] "%(total_count)s seleccionados" msgstr[1] "Os %(total_count)s seleccionados" -#: admin/folderadmin.py:448 +#: admin/folderadmin.py:460 #, python-format msgid "Directory listing for %(folder_name)s" msgstr "" -#: admin/folderadmin.py:463 +#: admin/folderadmin.py:475 #, python-format msgid "0 of %(cnt)s selected" msgstr "0 de %(cnt)s seleccionados" -#: admin/folderadmin.py:600 +#: admin/folderadmin.py:612 msgid "No action selected." msgstr "Ningunha acción seleccionada." -#: admin/folderadmin.py:652 +#: admin/folderadmin.py:664 #, python-format msgid "Successfully moved %(count)d files to clipboard." msgstr "Movéronse correctamente %(count)d arquivos ao portapapeis." -#: admin/folderadmin.py:657 +#: admin/folderadmin.py:669 msgid "Move selected files to clipboard" msgstr "Mover arquivos seleccionados ao portapapeis." -#: admin/folderadmin.py:697 +#: admin/folderadmin.py:709 #, python-format msgid "Successfully disabled permissions for %(count)d files." msgstr "" -#: admin/folderadmin.py:699 +#: admin/folderadmin.py:711 #, python-format msgid "Successfully enabled permissions for %(count)d files." msgstr "" -#: admin/folderadmin.py:707 +#: admin/folderadmin.py:719 msgid "Enable permissions for selected files" msgstr "" -#: admin/folderadmin.py:713 +#: admin/folderadmin.py:725 msgid "Disable permissions for selected files" msgstr "" -#: admin/folderadmin.py:777 +#: admin/folderadmin.py:789 #, python-format msgid "Successfully deleted %(count)d files and/or folders." msgstr "" -#: admin/folderadmin.py:782 +#: admin/folderadmin.py:794 msgid "Cannot delete files and/or folders" msgstr "Non se poden borrar arquivos e/ou carpetas" -#: admin/folderadmin.py:784 +#: admin/folderadmin.py:796 msgid "Are you sure?" msgstr "Estás seguro?" -#: admin/folderadmin.py:790 +#: admin/folderadmin.py:802 msgid "Delete files and/or folders" msgstr "Borrar arquivos e/ou carpetas" -#: admin/folderadmin.py:811 +#: admin/folderadmin.py:823 msgid "Delete selected files and/or folders" msgstr "" -#: admin/folderadmin.py:918 +#: admin/folderadmin.py:930 #, python-format msgid "Folders with names %s already exist at the selected destination" msgstr "" -#: admin/folderadmin.py:922 +#: admin/folderadmin.py:934 #, python-format msgid "" "Successfully moved %(count)d files and/or folders to folder " "'%(destination)s'." msgstr "" -#: admin/folderadmin.py:930 admin/folderadmin.py:932 +#: admin/folderadmin.py:942 admin/folderadmin.py:944 msgid "Move files and/or folders" msgstr "Mover alquivos e/ou carpetas" -#: admin/folderadmin.py:947 +#: admin/folderadmin.py:959 msgid "Move selected files and/or folders" msgstr "Mover arquivos e/ou carpetas seleccionados" -#: admin/folderadmin.py:1004 +#: admin/folderadmin.py:1016 #, python-format msgid "Successfully renamed %(count)d files." msgstr "" -#: admin/folderadmin.py:1013 admin/folderadmin.py:1015 -#: admin/folderadmin.py:1030 +#: admin/folderadmin.py:1025 admin/folderadmin.py:1027 +#: admin/folderadmin.py:1042 msgid "Rename files" msgstr "" -#: admin/folderadmin.py:1125 +#: admin/folderadmin.py:1137 #, python-format msgid "" "Successfully copied %(count)d files and/or folders to folder " "'%(destination)s'." msgstr "" -#: admin/folderadmin.py:1143 admin/folderadmin.py:1145 +#: admin/folderadmin.py:1155 admin/folderadmin.py:1157 msgid "Copy files and/or folders" msgstr "Copiar arquivos e/ou carpetas" -#: admin/folderadmin.py:1162 +#: admin/folderadmin.py:1174 msgid "Copy selected files and/or folders" msgstr "Copiar arquivos e/ou carpetas seleccionados" -#: admin/folderadmin.py:1267 +#: admin/folderadmin.py:1279 #, python-format msgid "Successfully resized %(count)d images." msgstr "" -#: admin/folderadmin.py:1274 admin/folderadmin.py:1276 +#: admin/folderadmin.py:1286 admin/folderadmin.py:1288 msgid "Resize images" msgstr "Cambiar o tamaño das imaxes" -#: admin/folderadmin.py:1292 +#: admin/folderadmin.py:1303 msgid "Resize selected images" msgstr "Cambiar o tamaño das imaxes seleccionadas" @@ -196,34 +196,30 @@ msgstr "" msgid "Invalid rename format: %(error)s." msgstr "Formato para o cambio de nome non válido: %(error)s." -#: admin/forms.py:64 models/thumbnailoptionmodels.py:37 +#: admin/forms.py:68 models/thumbnailoptionmodels.py:37 msgid "thumbnail option" msgstr "opción da miniatura" -#: admin/forms.py:67 models/thumbnailoptionmodels.py:15 +#: admin/forms.py:72 models/thumbnailoptionmodels.py:15 msgid "width" msgstr "ancho" -#: admin/forms.py:68 models/thumbnailoptionmodels.py:20 +#: admin/forms.py:73 models/thumbnailoptionmodels.py:20 msgid "height" msgstr "alto" -#: admin/forms.py:69 models/thumbnailoptionmodels.py:25 +#: admin/forms.py:74 models/thumbnailoptionmodels.py:25 msgid "crop" msgstr "recortar" -#: admin/forms.py:70 models/thumbnailoptionmodels.py:30 +#: admin/forms.py:75 models/thumbnailoptionmodels.py:30 msgid "upscale" msgstr "ampliar" -#: admin/forms.py:75 +#: admin/forms.py:79 msgid "Thumbnail option or resize parameters must be choosen." msgstr "" -#: admin/forms.py:77 -msgid "Resize parameters must be choosen." -msgstr "" - #: admin/imageadmin.py:18 admin/imageadmin.py:105 msgid "Subject location" msgstr "" @@ -267,26 +263,42 @@ msgstr "" msgid "Media library" msgstr "" -#: models/abstract.py:49 +#: models/abstract.py:62 msgid "default alt text" msgstr "texto alternativo por defecto" -#: models/abstract.py:56 +#: models/abstract.py:69 msgid "default caption" msgstr "lenda por defecto" -#: models/abstract.py:63 +#: models/abstract.py:76 msgid "subject location" msgstr "" -#: models/abstract.py:78 +#: models/abstract.py:91 msgid "image" msgstr "imaxe" -#: models/abstract.py:79 +#: models/abstract.py:92 msgid "images" msgstr "imaxes" +#: models/abstract.py:147 +#, python-format +msgid "" +"Image format not recognized or image size exceeds limit of %(max_pixels)d " +"million pixels by a factor of two or more. Before uploading again, check " +"file format or resize image to %(width)d x %(height)d resolution or lower." +msgstr "" + +#: models/abstract.py:156 +#, python-format +msgid "" +"Image size (%(pixels)d million pixels) exceeds limit of %(max_pixels)d " +"million pixels. Before uploading again, resize image to %(width)d x " +"%(height)d resolution or lower." +msgstr "" + #: models/clipboardmodels.py:11 models/foldermodels.py:289 msgid "user" msgstr "usuario" @@ -730,21 +742,17 @@ msgstr "" msgid "The following images will be resized:" msgstr "" -#: templates/admin/filer/folder/choose_images_resize_options.html:33 +#: templates/admin/filer/folder/choose_images_resize_options.html:32 msgid "Choose an existing thumbnail option or enter resize parameters:" msgstr "" -#: templates/admin/filer/folder/choose_images_resize_options.html:35 -msgid "Choose resize parameters:" -msgstr "" - -#: templates/admin/filer/folder/choose_images_resize_options.html:38 +#: templates/admin/filer/folder/choose_images_resize_options.html:36 msgid "" "Warning: Images will be resized in-place and originals will be lost. Maybe " "first make a copy of them to retain the originals." msgstr "" -#: templates/admin/filer/folder/choose_images_resize_options.html:41 +#: templates/admin/filer/folder/choose_images_resize_options.html:39 msgid "Resize" msgstr "" @@ -1076,7 +1084,7 @@ msgstr "" #: templates/admin/filer/tools/detail_info.html:20 #: templates/admin/filer/widgets/admin_file.html:32 -#: templatetags/filer_admin_tags.py:107 +#: templatetags/filer_admin_tags.py:108 msgid "File is missing" msgstr "" @@ -1135,28 +1143,39 @@ msgstr "" msgid "Choose Folder" msgstr "" -#: validation.py:19 +#: validation.py:20 #, python-brace-format msgid "File \"{file_name}\": Upload denied by site security policy" msgstr "" -#: validation.py:22 +#: validation.py:23 #, python-brace-format msgid "File \"{file_name}\": {file_type} upload denied by site security policy" msgstr "" -#: validation.py:33 +#: validation.py:34 #, python-brace-format msgid "File \"{file_name}\": HTML upload denied by site security policy" msgstr "" -#: validation.py:71 +#: validation.py:72 #, python-brace-format msgid "" "File \"{file_name}\": Rejected due to potential cross site scripting " "vulnerability" msgstr "" +#: validation.py:84 +#, python-brace-format +msgid "File \"{file_name}\": SVG file format not recognized" +msgstr "" + +#~ msgid "Resize parameters must be choosen." +#~ msgstr "Resize parameters must be choosen." + +#~ msgid "Choose resize parameters:" +#~ msgstr "Choose resize parameters:" + #~ msgid "Open file" #~ msgstr "Open file" diff --git a/filer/locale/he/LC_MESSAGES/django.mo b/filer/locale/he/LC_MESSAGES/django.mo index 850c59e4b..f1dc779e0 100644 Binary files a/filer/locale/he/LC_MESSAGES/django.mo and b/filer/locale/he/LC_MESSAGES/django.mo differ diff --git a/filer/locale/he/LC_MESSAGES/django.po b/filer/locale/he/LC_MESSAGES/django.po index 30fce3f31..60190950b 100644 --- a/filer/locale/he/LC_MESSAGES/django.po +++ b/filer/locale/he/LC_MESSAGES/django.po @@ -9,7 +9,7 @@ msgid "" msgstr "" "Project-Id-Version: django Filer\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-07-31 22:21+0200\n" +"POT-Creation-Date: 2023-09-26 08:46+0200\n" "PO-Revision-Date: 2012-07-13 15:50+0000\n" "Last-Translator: Angelo Dini \n" "Language-Team: Hebrew (http://app.transifex.com/divio/django-filer/language/" @@ -21,33 +21,33 @@ msgstr "" "Plural-Forms: nplurals=4; plural=(n == 1 && n % 1 == 0) ? 0 : (n == 2 && n % " "1 == 0) ? 1: (n % 10 == 0 && n % 1 == 0 && n > 10) ? 2 : 3;\n" -#: admin/clipboardadmin.py:16 +#: admin/clipboardadmin.py:17 msgid "You do not have permission to upload files." msgstr "" -#: admin/clipboardadmin.py:17 +#: admin/clipboardadmin.py:18 msgid "Can't find folder to upload. Please refresh and try again" msgstr "" -#: admin/clipboardadmin.py:19 +#: admin/clipboardadmin.py:20 msgid "Can't use this folder, Permission Denied. Please select another folder." msgstr "" -#: admin/fileadmin.py:47 +#: admin/fileadmin.py:73 msgid "Advanced" msgstr "מתקדם" -#: admin/fileadmin.py:162 +#: admin/fileadmin.py:188 msgid "canonical URL" msgstr "" -#: admin/folderadmin.py:399 admin/folderadmin.py:570 +#: admin/folderadmin.py:411 admin/folderadmin.py:582 msgid "" "Items must be selected in order to perform actions on them. No items have " "been changed." msgstr "יש לבחור פריטים על מנת לבצע עליהם פעולות. לא בוצעו פעולות." -#: admin/folderadmin.py:422 +#: admin/folderadmin.py:434 #, python-format msgid "%(total_count)s selected" msgid_plural "All %(total_count)s selected" @@ -56,123 +56,123 @@ msgstr[1] "כל ה-%(total_count)s נבחרו" msgstr[2] "כל ה-%(total_count)s נבחרו" msgstr[3] "כל ה-%(total_count)s נבחרו" -#: admin/folderadmin.py:448 +#: admin/folderadmin.py:460 #, python-format msgid "Directory listing for %(folder_name)s" msgstr "" -#: admin/folderadmin.py:463 +#: admin/folderadmin.py:475 #, python-format msgid "0 of %(cnt)s selected" msgstr "0 מתוך %(cnt)s נבחרו" -#: admin/folderadmin.py:600 +#: admin/folderadmin.py:612 msgid "No action selected." msgstr "לא נבחרה פעולה." -#: admin/folderadmin.py:652 +#: admin/folderadmin.py:664 #, python-format msgid "Successfully moved %(count)d files to clipboard." msgstr "הועברו בהצלחה %(count)d קבצים ללוח" -#: admin/folderadmin.py:657 +#: admin/folderadmin.py:669 msgid "Move selected files to clipboard" msgstr "העבר קבצים שנבחרו ללוח" -#: admin/folderadmin.py:697 +#: admin/folderadmin.py:709 #, python-format msgid "Successfully disabled permissions for %(count)d files." msgstr "בוטלו בהצלחה הרשאות עבור %(count)d קבצים." -#: admin/folderadmin.py:699 +#: admin/folderadmin.py:711 #, python-format msgid "Successfully enabled permissions for %(count)d files." msgstr "אופשרו בהצלחה הרשאות עבור %(count)d קבצים." -#: admin/folderadmin.py:707 +#: admin/folderadmin.py:719 msgid "Enable permissions for selected files" msgstr "אופשרו הרשאות עבור קבצים בחורים" -#: admin/folderadmin.py:713 +#: admin/folderadmin.py:725 msgid "Disable permissions for selected files" msgstr "בוטלו הרשאות עבור קבצים בחורים" -#: admin/folderadmin.py:777 +#: admin/folderadmin.py:789 #, python-format msgid "Successfully deleted %(count)d files and/or folders." msgstr "נמחקו בהצלחה %(count)d קבצים ו/או תיקיות." -#: admin/folderadmin.py:782 +#: admin/folderadmin.py:794 msgid "Cannot delete files and/or folders" msgstr "לא ניתן למחוק קבצים ו/או תיקיות" -#: admin/folderadmin.py:784 +#: admin/folderadmin.py:796 msgid "Are you sure?" msgstr "האם את/ה בטוח/ה?" -#: admin/folderadmin.py:790 +#: admin/folderadmin.py:802 msgid "Delete files and/or folders" msgstr "מחק קבצים ו/או תיקיות" -#: admin/folderadmin.py:811 +#: admin/folderadmin.py:823 msgid "Delete selected files and/or folders" msgstr "מחק קבצים ו/או תיקיות בחורים" -#: admin/folderadmin.py:918 +#: admin/folderadmin.py:930 #, python-format msgid "Folders with names %s already exist at the selected destination" msgstr "" -#: admin/folderadmin.py:922 +#: admin/folderadmin.py:934 #, python-format msgid "" "Successfully moved %(count)d files and/or folders to folder " "'%(destination)s'." msgstr "הועברו בהצלחה %(count)d קבצים ו/או תיקיות לתיקיה '%(destination)s'." -#: admin/folderadmin.py:930 admin/folderadmin.py:932 +#: admin/folderadmin.py:942 admin/folderadmin.py:944 msgid "Move files and/or folders" msgstr "העבר קבצים ו/או תיקיות" -#: admin/folderadmin.py:947 +#: admin/folderadmin.py:959 msgid "Move selected files and/or folders" msgstr "העבר קבצים ו/או תיקיות בחורים" -#: admin/folderadmin.py:1004 +#: admin/folderadmin.py:1016 #, python-format msgid "Successfully renamed %(count)d files." msgstr "שונו בהצלחה שמותיהם של %(count)d קבצים." -#: admin/folderadmin.py:1013 admin/folderadmin.py:1015 -#: admin/folderadmin.py:1030 +#: admin/folderadmin.py:1025 admin/folderadmin.py:1027 +#: admin/folderadmin.py:1042 msgid "Rename files" msgstr "שנה שמות קבצים" -#: admin/folderadmin.py:1125 +#: admin/folderadmin.py:1137 #, python-format msgid "" "Successfully copied %(count)d files and/or folders to folder " "'%(destination)s'." msgstr "הועתקו בהצלחה %(count)d קבצים ו/או תיקיות לתיקיה '%(destination)s'." -#: admin/folderadmin.py:1143 admin/folderadmin.py:1145 +#: admin/folderadmin.py:1155 admin/folderadmin.py:1157 msgid "Copy files and/or folders" msgstr "העתק קבצים ו/או תיקיות" -#: admin/folderadmin.py:1162 +#: admin/folderadmin.py:1174 msgid "Copy selected files and/or folders" msgstr "העתק קבצים ו/או תיקיות בחורים" -#: admin/folderadmin.py:1267 +#: admin/folderadmin.py:1279 #, python-format msgid "Successfully resized %(count)d images." msgstr "שונה בהצלחה גודלם של %(count)d תמונות." -#: admin/folderadmin.py:1274 admin/folderadmin.py:1276 +#: admin/folderadmin.py:1286 admin/folderadmin.py:1288 msgid "Resize images" msgstr "שנה גודל תמונות" -#: admin/folderadmin.py:1292 +#: admin/folderadmin.py:1303 msgid "Resize selected images" msgstr "שנה גודל תמונות בחורות" @@ -197,34 +197,30 @@ msgstr "ערך מפתח תבנית שינוי השם \"%(key)s\". אינו חו msgid "Invalid rename format: %(error)s." msgstr "תבנית שינוי שם לא תקינה: %(error)s." -#: admin/forms.py:64 models/thumbnailoptionmodels.py:37 +#: admin/forms.py:68 models/thumbnailoptionmodels.py:37 msgid "thumbnail option" msgstr "אפשרות תמונה ממוזערת" -#: admin/forms.py:67 models/thumbnailoptionmodels.py:15 +#: admin/forms.py:72 models/thumbnailoptionmodels.py:15 msgid "width" msgstr "רוחב" -#: admin/forms.py:68 models/thumbnailoptionmodels.py:20 +#: admin/forms.py:73 models/thumbnailoptionmodels.py:20 msgid "height" msgstr "גובה" -#: admin/forms.py:69 models/thumbnailoptionmodels.py:25 +#: admin/forms.py:74 models/thumbnailoptionmodels.py:25 msgid "crop" msgstr "חיתוך" -#: admin/forms.py:70 models/thumbnailoptionmodels.py:30 +#: admin/forms.py:75 models/thumbnailoptionmodels.py:30 msgid "upscale" msgstr "הגדל" -#: admin/forms.py:75 +#: admin/forms.py:79 msgid "Thumbnail option or resize parameters must be choosen." msgstr "עליך לבחור אפשרות תמונה ממוזערת או פרמטרי שינוי גודל." -#: admin/forms.py:77 -msgid "Resize parameters must be choosen." -msgstr "יש לבחור פרמטרי שינוי גודל." - #: admin/imageadmin.py:18 admin/imageadmin.py:105 msgid "Subject location" msgstr "מיקום נושא" @@ -268,26 +264,42 @@ msgstr "Filer" msgid "Media library" msgstr "" -#: models/abstract.py:49 +#: models/abstract.py:62 msgid "default alt text" msgstr "טקסט חלופי ברירת מחדל" -#: models/abstract.py:56 +#: models/abstract.py:69 msgid "default caption" msgstr "כותרת ברירת מחדל" -#: models/abstract.py:63 +#: models/abstract.py:76 msgid "subject location" msgstr "מיקום נושא" -#: models/abstract.py:78 +#: models/abstract.py:91 msgid "image" msgstr "תמונה" -#: models/abstract.py:79 +#: models/abstract.py:92 msgid "images" msgstr "תמונות" +#: models/abstract.py:147 +#, python-format +msgid "" +"Image format not recognized or image size exceeds limit of %(max_pixels)d " +"million pixels by a factor of two or more. Before uploading again, check " +"file format or resize image to %(width)d x %(height)d resolution or lower." +msgstr "" + +#: models/abstract.py:156 +#, python-format +msgid "" +"Image size (%(pixels)d million pixels) exceeds limit of %(max_pixels)d " +"million pixels. Before uploading again, resize image to %(width)d x " +"%(height)d resolution or lower." +msgstr "" + #: models/clipboardmodels.py:11 models/foldermodels.py:289 msgid "user" msgstr "משתמש" @@ -738,15 +750,11 @@ msgstr "אין תמונות זמינות לשינוי גודלן." msgid "The following images will be resized:" msgstr "התמונות הבאות ישונה גודלן:" -#: templates/admin/filer/folder/choose_images_resize_options.html:33 +#: templates/admin/filer/folder/choose_images_resize_options.html:32 msgid "Choose an existing thumbnail option or enter resize parameters:" msgstr "בחר אפשרות תמונה ממוזערת קיימת או הזן פרמטרי שינוי גודל:" -#: templates/admin/filer/folder/choose_images_resize_options.html:35 -msgid "Choose resize parameters:" -msgstr "בחר פרמטרי שינוי גודל:" - -#: templates/admin/filer/folder/choose_images_resize_options.html:38 +#: templates/admin/filer/folder/choose_images_resize_options.html:36 msgid "" "Warning: Images will be resized in-place and originals will be lost. Maybe " "first make a copy of them to retain the originals." @@ -754,7 +762,7 @@ msgstr "" "הזהרה: התמונות ישונה גודלן במקום והמקוריות יאבדו. אולי ראשית עשה/י העתק שלהם " "כדי לשמור על המקויות." -#: templates/admin/filer/folder/choose_images_resize_options.html:41 +#: templates/admin/filer/folder/choose_images_resize_options.html:39 msgid "Resize" msgstr "שנה גודל" @@ -1095,7 +1103,7 @@ msgstr "" #: templates/admin/filer/tools/detail_info.html:20 #: templates/admin/filer/widgets/admin_file.html:32 -#: templatetags/filer_admin_tags.py:107 +#: templatetags/filer_admin_tags.py:108 msgid "File is missing" msgstr "" @@ -1154,28 +1162,39 @@ msgstr "" msgid "Choose Folder" msgstr "" -#: validation.py:19 +#: validation.py:20 #, python-brace-format msgid "File \"{file_name}\": Upload denied by site security policy" msgstr "" -#: validation.py:22 +#: validation.py:23 #, python-brace-format msgid "File \"{file_name}\": {file_type} upload denied by site security policy" msgstr "" -#: validation.py:33 +#: validation.py:34 #, python-brace-format msgid "File \"{file_name}\": HTML upload denied by site security policy" msgstr "" -#: validation.py:71 +#: validation.py:72 #, python-brace-format msgid "" "File \"{file_name}\": Rejected due to potential cross site scripting " "vulnerability" msgstr "" +#: validation.py:84 +#, python-brace-format +msgid "File \"{file_name}\": SVG file format not recognized" +msgstr "" + +#~ msgid "Resize parameters must be choosen." +#~ msgstr "Resize parameters must be choosen." + +#~ msgid "Choose resize parameters:" +#~ msgstr "Choose resize parameters:" + #~ msgid "Open file" #~ msgstr "Open file" diff --git a/filer/locale/hr/LC_MESSAGES/django.mo b/filer/locale/hr/LC_MESSAGES/django.mo index 3c9724799..8a2e68474 100644 Binary files a/filer/locale/hr/LC_MESSAGES/django.mo and b/filer/locale/hr/LC_MESSAGES/django.mo differ diff --git a/filer/locale/hr/LC_MESSAGES/django.po b/filer/locale/hr/LC_MESSAGES/django.po index e9804dd94..70317b6f8 100644 --- a/filer/locale/hr/LC_MESSAGES/django.po +++ b/filer/locale/hr/LC_MESSAGES/django.po @@ -11,7 +11,7 @@ msgid "" msgstr "" "Project-Id-Version: django Filer\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-07-31 22:21+0200\n" +"POT-Creation-Date: 2023-09-26 08:46+0200\n" "PO-Revision-Date: 2012-07-13 15:50+0000\n" "Last-Translator: Aleks Acimovic, 2022\n" "Language-Team: Croatian (http://app.transifex.com/divio/django-filer/" @@ -23,27 +23,27 @@ msgstr "" "Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && " "n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n" -#: admin/clipboardadmin.py:16 +#: admin/clipboardadmin.py:17 msgid "You do not have permission to upload files." msgstr "" -#: admin/clipboardadmin.py:17 +#: admin/clipboardadmin.py:18 msgid "Can't find folder to upload. Please refresh and try again" msgstr "" -#: admin/clipboardadmin.py:19 +#: admin/clipboardadmin.py:20 msgid "Can't use this folder, Permission Denied. Please select another folder." msgstr "" -#: admin/fileadmin.py:47 +#: admin/fileadmin.py:73 msgid "Advanced" msgstr "Napredno" -#: admin/fileadmin.py:162 +#: admin/fileadmin.py:188 msgid "canonical URL" msgstr "" -#: admin/folderadmin.py:399 admin/folderadmin.py:570 +#: admin/folderadmin.py:411 admin/folderadmin.py:582 msgid "" "Items must be selected in order to perform actions on them. No items have " "been changed." @@ -51,7 +51,7 @@ msgstr "" "Stavke moraju biti odabrane kako bi se obavila akcija. Nijedna stavka nije " "promijenjena." -#: admin/folderadmin.py:422 +#: admin/folderadmin.py:434 #, python-format msgid "%(total_count)s selected" msgid_plural "All %(total_count)s selected" @@ -59,74 +59,74 @@ msgstr[0] "%(total_count)s odabrana" msgstr[1] "%(total_count)s odabrano" msgstr[2] "Svih %(total_count)s odabrano" -#: admin/folderadmin.py:448 +#: admin/folderadmin.py:460 #, python-format msgid "Directory listing for %(folder_name)s" msgstr "Popis direktorija za %(folder_name)s" -#: admin/folderadmin.py:463 +#: admin/folderadmin.py:475 #, python-format msgid "0 of %(cnt)s selected" msgstr "0 od %(cnt)s odabrano" -#: admin/folderadmin.py:600 +#: admin/folderadmin.py:612 msgid "No action selected." msgstr "Nije izabrana akcija." -#: admin/folderadmin.py:652 +#: admin/folderadmin.py:664 #, python-format msgid "Successfully moved %(count)d files to clipboard." msgstr "Uspješno premješteno %(count)d datoteka u spremnik." -#: admin/folderadmin.py:657 +#: admin/folderadmin.py:669 msgid "Move selected files to clipboard" msgstr "Premjesti odabrane datoteke u spremnik" -#: admin/folderadmin.py:697 +#: admin/folderadmin.py:709 #, python-format msgid "Successfully disabled permissions for %(count)d files." msgstr "Uspješno onemogućene ovlasti za %(count)d datoteka." -#: admin/folderadmin.py:699 +#: admin/folderadmin.py:711 #, python-format msgid "Successfully enabled permissions for %(count)d files." msgstr "Uspješno omogućene ovlasti za %(count)d datoteka." -#: admin/folderadmin.py:707 +#: admin/folderadmin.py:719 msgid "Enable permissions for selected files" msgstr "Omogući ovlasti za odabrane datoteke" -#: admin/folderadmin.py:713 +#: admin/folderadmin.py:725 msgid "Disable permissions for selected files" msgstr "Onemogući ovlasti za odabrane datoteke" -#: admin/folderadmin.py:777 +#: admin/folderadmin.py:789 #, python-format msgid "Successfully deleted %(count)d files and/or folders." msgstr "Uspješno obrisano %(count)d datoteka i/ili direktorija." -#: admin/folderadmin.py:782 +#: admin/folderadmin.py:794 msgid "Cannot delete files and/or folders" msgstr "Nije moguće obrisati datoteke i/ili direktorije" -#: admin/folderadmin.py:784 +#: admin/folderadmin.py:796 msgid "Are you sure?" msgstr "Jeste li sigurni?" -#: admin/folderadmin.py:790 +#: admin/folderadmin.py:802 msgid "Delete files and/or folders" msgstr "Obriši datoteke i/ili direktorije" -#: admin/folderadmin.py:811 +#: admin/folderadmin.py:823 msgid "Delete selected files and/or folders" msgstr "Obriši odabrane datoteke i/ili direktorije" -#: admin/folderadmin.py:918 +#: admin/folderadmin.py:930 #, python-format msgid "Folders with names %s already exist at the selected destination" msgstr "" -#: admin/folderadmin.py:922 +#: admin/folderadmin.py:934 #, python-format msgid "" "Successfully moved %(count)d files and/or folders to folder " @@ -135,25 +135,25 @@ msgstr "" "Uspješno premješteno %(count)d datoteka i/ili direktorija u direktorij " "'%(destination)s'." -#: admin/folderadmin.py:930 admin/folderadmin.py:932 +#: admin/folderadmin.py:942 admin/folderadmin.py:944 msgid "Move files and/or folders" msgstr "Premjesti datoteke i/ili direktorije" -#: admin/folderadmin.py:947 +#: admin/folderadmin.py:959 msgid "Move selected files and/or folders" msgstr "Premjesti odabrane datoteke i/ili direktorije" -#: admin/folderadmin.py:1004 +#: admin/folderadmin.py:1016 #, python-format msgid "Successfully renamed %(count)d files." msgstr "Uspješno preimenovano %(count)d datoteka." -#: admin/folderadmin.py:1013 admin/folderadmin.py:1015 -#: admin/folderadmin.py:1030 +#: admin/folderadmin.py:1025 admin/folderadmin.py:1027 +#: admin/folderadmin.py:1042 msgid "Rename files" msgstr "Preimenuj datoteke" -#: admin/folderadmin.py:1125 +#: admin/folderadmin.py:1137 #, python-format msgid "" "Successfully copied %(count)d files and/or folders to folder " @@ -162,24 +162,24 @@ msgstr "" "Uspješno kopirano %(count)d datoteka i/ili direktorija u direktorij " "'%(destination)s'." -#: admin/folderadmin.py:1143 admin/folderadmin.py:1145 +#: admin/folderadmin.py:1155 admin/folderadmin.py:1157 msgid "Copy files and/or folders" msgstr "Kopiraj datoteke i/ili direktorije" -#: admin/folderadmin.py:1162 +#: admin/folderadmin.py:1174 msgid "Copy selected files and/or folders" msgstr "Kopiraj odabrane datoteke i/ili direktorije" -#: admin/folderadmin.py:1267 +#: admin/folderadmin.py:1279 #, python-format msgid "Successfully resized %(count)d images." msgstr "Uspješno promijenjena veličina za %(count)d slika." -#: admin/folderadmin.py:1274 admin/folderadmin.py:1276 +#: admin/folderadmin.py:1286 admin/folderadmin.py:1288 msgid "Resize images" msgstr "Promijeni veličinu slika" -#: admin/folderadmin.py:1292 +#: admin/folderadmin.py:1303 msgid "Resize selected images" msgstr "Promijeni veličinu odabranih slika" @@ -205,35 +205,31 @@ msgstr "Nepoznata vrijednost formata ključa za preimenovanje \"%(key)s\"." msgid "Invalid rename format: %(error)s." msgstr "Neispravan format za premenovanje: %(error)s." -#: admin/forms.py:64 models/thumbnailoptionmodels.py:37 +#: admin/forms.py:68 models/thumbnailoptionmodels.py:37 msgid "thumbnail option" msgstr "opcija sličica" -#: admin/forms.py:67 models/thumbnailoptionmodels.py:15 +#: admin/forms.py:72 models/thumbnailoptionmodels.py:15 msgid "width" msgstr "širina" -#: admin/forms.py:68 models/thumbnailoptionmodels.py:20 +#: admin/forms.py:73 models/thumbnailoptionmodels.py:20 msgid "height" msgstr "visina" -#: admin/forms.py:69 models/thumbnailoptionmodels.py:25 +#: admin/forms.py:74 models/thumbnailoptionmodels.py:25 msgid "crop" msgstr "obreži" -#: admin/forms.py:70 models/thumbnailoptionmodels.py:30 +#: admin/forms.py:75 models/thumbnailoptionmodels.py:30 msgid "upscale" msgstr "povećaj veličinu" -#: admin/forms.py:75 +#: admin/forms.py:79 msgid "Thumbnail option or resize parameters must be choosen." msgstr "" "Opcija sličica ili parametri za promjenu veličine moraju biti izabrani." -#: admin/forms.py:77 -msgid "Resize parameters must be choosen." -msgstr "Parametri za promjenu veličine moraju biti izabrani." - #: admin/imageadmin.py:18 admin/imageadmin.py:105 msgid "Subject location" msgstr "Lokacija subjekta" @@ -277,26 +273,42 @@ msgstr "Filer" msgid "Media library" msgstr "" -#: models/abstract.py:49 +#: models/abstract.py:62 msgid "default alt text" msgstr "predefinirani alt tekst" -#: models/abstract.py:56 +#: models/abstract.py:69 msgid "default caption" msgstr "predefinirani opis slike" -#: models/abstract.py:63 +#: models/abstract.py:76 msgid "subject location" msgstr "lokacija subjekta" -#: models/abstract.py:78 +#: models/abstract.py:91 msgid "image" msgstr "slika" -#: models/abstract.py:79 +#: models/abstract.py:92 msgid "images" msgstr "slike" +#: models/abstract.py:147 +#, python-format +msgid "" +"Image format not recognized or image size exceeds limit of %(max_pixels)d " +"million pixels by a factor of two or more. Before uploading again, check " +"file format or resize image to %(width)d x %(height)d resolution or lower." +msgstr "" + +#: models/abstract.py:156 +#, python-format +msgid "" +"Image size (%(pixels)d million pixels) exceeds limit of %(max_pixels)d " +"million pixels. Before uploading again, resize image to %(width)d x " +"%(height)d resolution or lower." +msgstr "" + #: models/clipboardmodels.py:11 models/foldermodels.py:289 msgid "user" msgstr "korisnik" @@ -751,17 +763,13 @@ msgstr "Nema dostupnih slika kojima bi se promijenila veličina." msgid "The following images will be resized:" msgstr "Slijedećim slikama biti će promijenjena veličina:" -#: templates/admin/filer/folder/choose_images_resize_options.html:33 +#: templates/admin/filer/folder/choose_images_resize_options.html:32 msgid "Choose an existing thumbnail option or enter resize parameters:" msgstr "" "Izaberite postojeću opciju sličica ili unesite parametre za promjenu " "veličine:" -#: templates/admin/filer/folder/choose_images_resize_options.html:35 -msgid "Choose resize parameters:" -msgstr "Odaberite parametre za promjenu veličine:" - -#: templates/admin/filer/folder/choose_images_resize_options.html:38 +#: templates/admin/filer/folder/choose_images_resize_options.html:36 msgid "" "Warning: Images will be resized in-place and originals will be lost. Maybe " "first make a copy of them to retain the originals." @@ -770,7 +778,7 @@ msgstr "" "sa slikama s novom veličinom. Preporuča se prvo kopirati originalne slike " "prije promjene veličine." -#: templates/admin/filer/folder/choose_images_resize_options.html:41 +#: templates/admin/filer/folder/choose_images_resize_options.html:39 msgid "Resize" msgstr "Promjeni veličinu" @@ -1112,7 +1120,7 @@ msgstr "" #: templates/admin/filer/tools/detail_info.html:20 #: templates/admin/filer/widgets/admin_file.html:32 -#: templatetags/filer_admin_tags.py:107 +#: templatetags/filer_admin_tags.py:108 msgid "File is missing" msgstr "" @@ -1171,28 +1179,39 @@ msgstr "" msgid "Choose Folder" msgstr "" -#: validation.py:19 +#: validation.py:20 #, python-brace-format msgid "File \"{file_name}\": Upload denied by site security policy" msgstr "" -#: validation.py:22 +#: validation.py:23 #, python-brace-format msgid "File \"{file_name}\": {file_type} upload denied by site security policy" msgstr "" -#: validation.py:33 +#: validation.py:34 #, python-brace-format msgid "File \"{file_name}\": HTML upload denied by site security policy" msgstr "" -#: validation.py:71 +#: validation.py:72 #, python-brace-format msgid "" "File \"{file_name}\": Rejected due to potential cross site scripting " "vulnerability" msgstr "" +#: validation.py:84 +#, python-brace-format +msgid "File \"{file_name}\": SVG file format not recognized" +msgstr "" + +#~ msgid "Resize parameters must be choosen." +#~ msgstr "Resize parameters must be choosen." + +#~ msgid "Choose resize parameters:" +#~ msgstr "Choose resize parameters:" + #~ msgid "Open file" #~ msgstr "Open file" diff --git a/filer/locale/hu/LC_MESSAGES/django.mo b/filer/locale/hu/LC_MESSAGES/django.mo index 6dca5114d..4f949fb53 100644 Binary files a/filer/locale/hu/LC_MESSAGES/django.mo and b/filer/locale/hu/LC_MESSAGES/django.mo differ diff --git a/filer/locale/hu/LC_MESSAGES/django.po b/filer/locale/hu/LC_MESSAGES/django.po index 5a644653b..d49a83610 100644 --- a/filer/locale/hu/LC_MESSAGES/django.po +++ b/filer/locale/hu/LC_MESSAGES/django.po @@ -10,7 +10,7 @@ msgid "" msgstr "" "Project-Id-Version: django Filer\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-07-31 22:21+0200\n" +"POT-Creation-Date: 2023-09-26 08:46+0200\n" "PO-Revision-Date: 2012-07-13 15:50+0000\n" "Last-Translator: Istvan Farkas , 2016-2017\n" "Language-Team: Hungarian (http://app.transifex.com/divio/django-filer/" @@ -21,27 +21,27 @@ msgstr "" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" -#: admin/clipboardadmin.py:16 +#: admin/clipboardadmin.py:17 msgid "You do not have permission to upload files." msgstr "" -#: admin/clipboardadmin.py:17 +#: admin/clipboardadmin.py:18 msgid "Can't find folder to upload. Please refresh and try again" msgstr "" -#: admin/clipboardadmin.py:19 +#: admin/clipboardadmin.py:20 msgid "Can't use this folder, Permission Denied. Please select another folder." msgstr "" -#: admin/fileadmin.py:47 +#: admin/fileadmin.py:73 msgid "Advanced" msgstr "Haladó" -#: admin/fileadmin.py:162 +#: admin/fileadmin.py:188 msgid "canonical URL" msgstr "egyedi URL" -#: admin/folderadmin.py:399 admin/folderadmin.py:570 +#: admin/folderadmin.py:411 admin/folderadmin.py:582 msgid "" "Items must be selected in order to perform actions on them. No items have " "been changed." @@ -49,81 +49,81 @@ msgstr "" "Az akciók végrehajtásához egy vagy több elemet ki kell választani. Egyetlen " "elem sem változott." -#: admin/folderadmin.py:422 +#: admin/folderadmin.py:434 #, python-format msgid "%(total_count)s selected" msgid_plural "All %(total_count)s selected" msgstr[0] "%(total_count)s kiválasztva" msgstr[1] "Mind (%(total_count)s) kiválasztva" -#: admin/folderadmin.py:448 +#: admin/folderadmin.py:460 #, python-format msgid "Directory listing for %(folder_name)s" msgstr "" -#: admin/folderadmin.py:463 +#: admin/folderadmin.py:475 #, python-format msgid "0 of %(cnt)s selected" msgstr "0 kiválasztva a %(cnt)s elemből" -#: admin/folderadmin.py:600 +#: admin/folderadmin.py:612 msgid "No action selected." msgstr "Nincs akció megadva" -#: admin/folderadmin.py:652 +#: admin/folderadmin.py:664 #, python-format msgid "Successfully moved %(count)d files to clipboard." msgstr "%(count)d fájl a vágólapra mozgatva." -#: admin/folderadmin.py:657 +#: admin/folderadmin.py:669 msgid "Move selected files to clipboard" msgstr "Kiválasztott fájlok vágólapra mozgatása" -#: admin/folderadmin.py:697 +#: admin/folderadmin.py:709 #, python-format msgid "Successfully disabled permissions for %(count)d files." msgstr "%(count)d fájl jogosultságai kikapcsolva." -#: admin/folderadmin.py:699 +#: admin/folderadmin.py:711 #, python-format msgid "Successfully enabled permissions for %(count)d files." msgstr "%(count)d fájl jogosultságai bekapcsolva." -#: admin/folderadmin.py:707 +#: admin/folderadmin.py:719 msgid "Enable permissions for selected files" msgstr "Jogosultságok bekapcsolása a kiválasztott fájlokhoz" -#: admin/folderadmin.py:713 +#: admin/folderadmin.py:725 msgid "Disable permissions for selected files" msgstr "Jogosultságok kikapcsolása a kiválasztott fájlokhoz" -#: admin/folderadmin.py:777 +#: admin/folderadmin.py:789 #, python-format msgid "Successfully deleted %(count)d files and/or folders." msgstr "%(count)d fájl és/vagy mappa sikeresen törölve." -#: admin/folderadmin.py:782 +#: admin/folderadmin.py:794 msgid "Cannot delete files and/or folders" msgstr "Nem lehet a mappákat és/vagy fájlokat törölni" -#: admin/folderadmin.py:784 +#: admin/folderadmin.py:796 msgid "Are you sure?" msgstr "Biztos benne?" -#: admin/folderadmin.py:790 +#: admin/folderadmin.py:802 msgid "Delete files and/or folders" msgstr "Fájlok és/vagy mappák törlése" -#: admin/folderadmin.py:811 +#: admin/folderadmin.py:823 msgid "Delete selected files and/or folders" msgstr "Kiválasztott fájlok és/vagy mappák törlése" -#: admin/folderadmin.py:918 +#: admin/folderadmin.py:930 #, python-format msgid "Folders with names %s already exist at the selected destination" msgstr "A kiválasztott helyen már létezik %s nevű mappa" -#: admin/folderadmin.py:922 +#: admin/folderadmin.py:934 #, python-format msgid "" "Successfully moved %(count)d files and/or folders to folder " @@ -132,25 +132,25 @@ msgstr "" "%(count)d fájl és/vagy mappa sikeresen átmozgatva ebbe a mappába: " "%(destination)s" -#: admin/folderadmin.py:930 admin/folderadmin.py:932 +#: admin/folderadmin.py:942 admin/folderadmin.py:944 msgid "Move files and/or folders" msgstr "Fájlok és/vagy mappák mozgatása" -#: admin/folderadmin.py:947 +#: admin/folderadmin.py:959 msgid "Move selected files and/or folders" msgstr "Kiválasztott fájlok és/vagy mappák mozgatása" -#: admin/folderadmin.py:1004 +#: admin/folderadmin.py:1016 #, python-format msgid "Successfully renamed %(count)d files." msgstr "%(count)d fájl sikeresen átnevezve." -#: admin/folderadmin.py:1013 admin/folderadmin.py:1015 -#: admin/folderadmin.py:1030 +#: admin/folderadmin.py:1025 admin/folderadmin.py:1027 +#: admin/folderadmin.py:1042 msgid "Rename files" msgstr "Fájlok átnevezése" -#: admin/folderadmin.py:1125 +#: admin/folderadmin.py:1137 #, python-format msgid "" "Successfully copied %(count)d files and/or folders to folder " @@ -159,24 +159,24 @@ msgstr "" "%(count)d fájl és/vagy mappa sikeresen átmásolva ebbe a mappába: " "%(destination)s" -#: admin/folderadmin.py:1143 admin/folderadmin.py:1145 +#: admin/folderadmin.py:1155 admin/folderadmin.py:1157 msgid "Copy files and/or folders" msgstr "Fájlok és/vagy mappák másolása" -#: admin/folderadmin.py:1162 +#: admin/folderadmin.py:1174 msgid "Copy selected files and/or folders" msgstr "Kiválasztott fájlok és/vagy mappák másolása" -#: admin/folderadmin.py:1267 +#: admin/folderadmin.py:1279 #, python-format msgid "Successfully resized %(count)d images." msgstr "%(count)d kép sikeresen átméretezve." -#: admin/folderadmin.py:1274 admin/folderadmin.py:1276 +#: admin/folderadmin.py:1286 admin/folderadmin.py:1288 msgid "Resize images" msgstr "Képek átméretezése" -#: admin/folderadmin.py:1292 +#: admin/folderadmin.py:1303 msgid "Resize selected images" msgstr "Kiválasztott képek átméretezése" @@ -203,35 +203,31 @@ msgstr "Ismeretlen átnevezés formázási szó: \"%(key)s\" " msgid "Invalid rename format: %(error)s." msgstr "Érvénytelen átnevezési formátum: %(error)s." -#: admin/forms.py:64 models/thumbnailoptionmodels.py:37 +#: admin/forms.py:68 models/thumbnailoptionmodels.py:37 msgid "thumbnail option" msgstr "előnézeti kép beállítás" -#: admin/forms.py:67 models/thumbnailoptionmodels.py:15 +#: admin/forms.py:72 models/thumbnailoptionmodels.py:15 msgid "width" msgstr "szélesség" -#: admin/forms.py:68 models/thumbnailoptionmodels.py:20 +#: admin/forms.py:73 models/thumbnailoptionmodels.py:20 msgid "height" msgstr "magasság" -#: admin/forms.py:69 models/thumbnailoptionmodels.py:25 +#: admin/forms.py:74 models/thumbnailoptionmodels.py:25 msgid "crop" msgstr "vágás" -#: admin/forms.py:70 models/thumbnailoptionmodels.py:30 +#: admin/forms.py:75 models/thumbnailoptionmodels.py:30 msgid "upscale" msgstr "felméretezés" -#: admin/forms.py:75 +#: admin/forms.py:79 msgid "Thumbnail option or resize parameters must be choosen." msgstr "" "Előnézeti kép beállítást vagy átméretezési paramétert kötelező kiválasztani." -#: admin/forms.py:77 -msgid "Resize parameters must be choosen." -msgstr "Átméretezési paramétert kötelező kiválasztani." - #: admin/imageadmin.py:18 admin/imageadmin.py:105 msgid "Subject location" msgstr "Fókusz helye" @@ -275,26 +271,42 @@ msgstr "Fájlkezelő" msgid "Media library" msgstr "Médiatár" -#: models/abstract.py:49 +#: models/abstract.py:62 msgid "default alt text" msgstr "alapértelmezett alternatív szöveg" -#: models/abstract.py:56 +#: models/abstract.py:69 msgid "default caption" msgstr "alapértelmezett képaláírás" -#: models/abstract.py:63 +#: models/abstract.py:76 msgid "subject location" msgstr "fókusz helye" -#: models/abstract.py:78 +#: models/abstract.py:91 msgid "image" msgstr "kép" -#: models/abstract.py:79 +#: models/abstract.py:92 msgid "images" msgstr "képek" +#: models/abstract.py:147 +#, python-format +msgid "" +"Image format not recognized or image size exceeds limit of %(max_pixels)d " +"million pixels by a factor of two or more. Before uploading again, check " +"file format or resize image to %(width)d x %(height)d resolution or lower." +msgstr "" + +#: models/abstract.py:156 +#, python-format +msgid "" +"Image size (%(pixels)d million pixels) exceeds limit of %(max_pixels)d " +"million pixels. Before uploading again, resize image to %(width)d x " +"%(height)d resolution or lower." +msgstr "" + #: models/clipboardmodels.py:11 models/foldermodels.py:289 msgid "user" msgstr "felhasználó" @@ -750,17 +762,13 @@ msgstr "Nincsenek átméretezhető képek." msgid "The following images will be resized:" msgstr "A következő képek lesznek átméretezve:" -#: templates/admin/filer/folder/choose_images_resize_options.html:33 +#: templates/admin/filer/folder/choose_images_resize_options.html:32 msgid "Choose an existing thumbnail option or enter resize parameters:" msgstr "" "Válasszon ki egy meglévő előnézeti kép beállítást, vagy írja be az " "átméretezési paramétereket:" -#: templates/admin/filer/folder/choose_images_resize_options.html:35 -msgid "Choose resize parameters:" -msgstr "Válasszon átméretezési paramétereket:" - -#: templates/admin/filer/folder/choose_images_resize_options.html:38 +#: templates/admin/filer/folder/choose_images_resize_options.html:36 msgid "" "Warning: Images will be resized in-place and originals will be lost. Maybe " "first make a copy of them to retain the originals." @@ -768,7 +776,7 @@ msgstr "" "Figyelem: a képek helyben lesznek átméretezve, felülírva az eredetieket. Ha " "meg szeretné őrizni az eredeti képeket, előbb másolja át őket." -#: templates/admin/filer/folder/choose_images_resize_options.html:41 +#: templates/admin/filer/folder/choose_images_resize_options.html:39 msgid "Resize" msgstr "Átméretezés" @@ -1106,7 +1114,7 @@ msgstr "" #: templates/admin/filer/tools/detail_info.html:20 #: templates/admin/filer/widgets/admin_file.html:32 -#: templatetags/filer_admin_tags.py:107 +#: templatetags/filer_admin_tags.py:108 msgid "File is missing" msgstr "" @@ -1165,28 +1173,39 @@ msgstr "Fájl kiválasztása" msgid "Choose Folder" msgstr "" -#: validation.py:19 +#: validation.py:20 #, python-brace-format msgid "File \"{file_name}\": Upload denied by site security policy" msgstr "" -#: validation.py:22 +#: validation.py:23 #, python-brace-format msgid "File \"{file_name}\": {file_type} upload denied by site security policy" msgstr "" -#: validation.py:33 +#: validation.py:34 #, python-brace-format msgid "File \"{file_name}\": HTML upload denied by site security policy" msgstr "" -#: validation.py:71 +#: validation.py:72 #, python-brace-format msgid "" "File \"{file_name}\": Rejected due to potential cross site scripting " "vulnerability" msgstr "" +#: validation.py:84 +#, python-brace-format +msgid "File \"{file_name}\": SVG file format not recognized" +msgstr "" + +#~ msgid "Resize parameters must be choosen." +#~ msgstr "Resize parameters must be choosen." + +#~ msgid "Choose resize parameters:" +#~ msgstr "Choose resize parameters:" + #~ msgid "Open file" #~ msgstr "Open file" diff --git a/filer/locale/it/LC_MESSAGES/django.mo b/filer/locale/it/LC_MESSAGES/django.mo index 4030926dd..b15a9a632 100644 Binary files a/filer/locale/it/LC_MESSAGES/django.mo and b/filer/locale/it/LC_MESSAGES/django.mo differ diff --git a/filer/locale/it/LC_MESSAGES/django.po b/filer/locale/it/LC_MESSAGES/django.po index 464b71cf2..8169f8a1d 100644 --- a/filer/locale/it/LC_MESSAGES/django.po +++ b/filer/locale/it/LC_MESSAGES/django.po @@ -13,7 +13,7 @@ msgid "" msgstr "" "Project-Id-Version: django Filer\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-07-31 22:21+0200\n" +"POT-Creation-Date: 2023-09-26 08:46+0200\n" "PO-Revision-Date: 2012-07-13 15:50+0000\n" "Last-Translator: yakky , 2013,2015-2018\n" "Language-Team: Italian (http://app.transifex.com/divio/django-filer/language/" @@ -25,27 +25,27 @@ msgstr "" "Plural-Forms: nplurals=3; plural=n == 1 ? 0 : n != 0 && n % 1000000 == 0 ? " "1 : 2;\n" -#: admin/clipboardadmin.py:16 +#: admin/clipboardadmin.py:17 msgid "You do not have permission to upload files." msgstr "" -#: admin/clipboardadmin.py:17 +#: admin/clipboardadmin.py:18 msgid "Can't find folder to upload. Please refresh and try again" msgstr "" -#: admin/clipboardadmin.py:19 +#: admin/clipboardadmin.py:20 msgid "Can't use this folder, Permission Denied. Please select another folder." msgstr "" -#: admin/fileadmin.py:47 +#: admin/fileadmin.py:73 msgid "Advanced" msgstr "Avanzato" -#: admin/fileadmin.py:162 +#: admin/fileadmin.py:188 msgid "canonical URL" msgstr "URL standard" -#: admin/folderadmin.py:399 admin/folderadmin.py:570 +#: admin/folderadmin.py:411 admin/folderadmin.py:582 msgid "" "Items must be selected in order to perform actions on them. No items have " "been changed." @@ -53,7 +53,7 @@ msgstr "" "Gli elementi devono essere selezionati in modo da eseguire azioni su di " "essi. Nessun elemento è stato modificato." -#: admin/folderadmin.py:422 +#: admin/folderadmin.py:434 #, python-format msgid "%(total_count)s selected" msgid_plural "All %(total_count)s selected" @@ -61,74 +61,74 @@ msgstr[0] " %(total_count)s elemento selezionato" msgstr[1] "Tutti e %(total_count)s selezionati" msgstr[2] "Tutti e %(total_count)s selezionati" -#: admin/folderadmin.py:448 +#: admin/folderadmin.py:460 #, python-format msgid "Directory listing for %(folder_name)s" msgstr "%(folder_name)sLista file per " -#: admin/folderadmin.py:463 +#: admin/folderadmin.py:475 #, python-format msgid "0 of %(cnt)s selected" msgstr "0 su %(cnt)s selezionati" -#: admin/folderadmin.py:600 +#: admin/folderadmin.py:612 msgid "No action selected." msgstr "Nessuna azione selezionata." -#: admin/folderadmin.py:652 +#: admin/folderadmin.py:664 #, python-format msgid "Successfully moved %(count)d files to clipboard." msgstr "%(count)d file spostati con successo negli appunti." -#: admin/folderadmin.py:657 +#: admin/folderadmin.py:669 msgid "Move selected files to clipboard" msgstr "Sposta i file selezionati negli Appunti" -#: admin/folderadmin.py:697 +#: admin/folderadmin.py:709 #, python-format msgid "Successfully disabled permissions for %(count)d files." msgstr "Permessi per %(count)d file disabilitati con successo." -#: admin/folderadmin.py:699 +#: admin/folderadmin.py:711 #, python-format msgid "Successfully enabled permissions for %(count)d files." msgstr "Permessi per %(count)d file abilitati con successo." -#: admin/folderadmin.py:707 +#: admin/folderadmin.py:719 msgid "Enable permissions for selected files" msgstr "Attiva i permessi per i file selezionati" -#: admin/folderadmin.py:713 +#: admin/folderadmin.py:725 msgid "Disable permissions for selected files" msgstr "Disabilita i permessi per i file selezionati" -#: admin/folderadmin.py:777 +#: admin/folderadmin.py:789 #, python-format msgid "Successfully deleted %(count)d files and/or folders." msgstr "%(count)d file e/o cartelle cancellati con successo." -#: admin/folderadmin.py:782 +#: admin/folderadmin.py:794 msgid "Cannot delete files and/or folders" msgstr "Non è possibile cancellare i file e/o le cartelle" -#: admin/folderadmin.py:784 +#: admin/folderadmin.py:796 msgid "Are you sure?" msgstr "Sei sicuro?" -#: admin/folderadmin.py:790 +#: admin/folderadmin.py:802 msgid "Delete files and/or folders" msgstr "Elimina i file e/o le cartelle" -#: admin/folderadmin.py:811 +#: admin/folderadmin.py:823 msgid "Delete selected files and/or folders" msgstr "Elimina i file e/o le cartelle selezionati" -#: admin/folderadmin.py:918 +#: admin/folderadmin.py:930 #, python-format msgid "Folders with names %s already exist at the selected destination" msgstr "Esistono altre cartelle chiamate %s nella destinazione selezionata" -#: admin/folderadmin.py:922 +#: admin/folderadmin.py:934 #, python-format msgid "" "Successfully moved %(count)d files and/or folders to folder " @@ -137,25 +137,25 @@ msgstr "" "%(count)d file e/o le cartelle spostati con successo nella cartella " "'%(destination)s'." -#: admin/folderadmin.py:930 admin/folderadmin.py:932 +#: admin/folderadmin.py:942 admin/folderadmin.py:944 msgid "Move files and/or folders" msgstr "Sposta i file e/o le cartelle" -#: admin/folderadmin.py:947 +#: admin/folderadmin.py:959 msgid "Move selected files and/or folders" msgstr "Sposta i file e/o le cartelle selezionati" -#: admin/folderadmin.py:1004 +#: admin/folderadmin.py:1016 #, python-format msgid "Successfully renamed %(count)d files." msgstr "%(count)d file rinominati con successo." -#: admin/folderadmin.py:1013 admin/folderadmin.py:1015 -#: admin/folderadmin.py:1030 +#: admin/folderadmin.py:1025 admin/folderadmin.py:1027 +#: admin/folderadmin.py:1042 msgid "Rename files" msgstr "Rinomina file" -#: admin/folderadmin.py:1125 +#: admin/folderadmin.py:1137 #, python-format msgid "" "Successfully copied %(count)d files and/or folders to folder " @@ -164,24 +164,24 @@ msgstr "" "%(count)d file e/o cartelle copiati con successo nella cartella " "'%(destination)s '." -#: admin/folderadmin.py:1143 admin/folderadmin.py:1145 +#: admin/folderadmin.py:1155 admin/folderadmin.py:1157 msgid "Copy files and/or folders" msgstr "Copia i file e/o le cartelle" -#: admin/folderadmin.py:1162 +#: admin/folderadmin.py:1174 msgid "Copy selected files and/or folders" msgstr "Copia i file e/o le cartelle selezionati" -#: admin/folderadmin.py:1267 +#: admin/folderadmin.py:1279 #, python-format msgid "Successfully resized %(count)d images." msgstr "%(count)d immagini ridimensionate con successo." -#: admin/folderadmin.py:1274 admin/folderadmin.py:1276 +#: admin/folderadmin.py:1286 admin/folderadmin.py:1288 msgid "Resize images" msgstr "Ridimensiona le immagini" -#: admin/folderadmin.py:1292 +#: admin/folderadmin.py:1303 msgid "Resize selected images" msgstr "Ridimensiona le immagini selezionate" @@ -208,36 +208,32 @@ msgstr "Valore del formato di rinomina non valido \"%(key)s\"." msgid "Invalid rename format: %(error)s." msgstr "Formato di rinomina non valido: %(error)s." -#: admin/forms.py:64 models/thumbnailoptionmodels.py:37 +#: admin/forms.py:68 models/thumbnailoptionmodels.py:37 msgid "thumbnail option" msgstr "opzione anteprima immagine" -#: admin/forms.py:67 models/thumbnailoptionmodels.py:15 +#: admin/forms.py:72 models/thumbnailoptionmodels.py:15 msgid "width" msgstr "larghezza" -#: admin/forms.py:68 models/thumbnailoptionmodels.py:20 +#: admin/forms.py:73 models/thumbnailoptionmodels.py:20 msgid "height" msgstr "altezza" -#: admin/forms.py:69 models/thumbnailoptionmodels.py:25 +#: admin/forms.py:74 models/thumbnailoptionmodels.py:25 msgid "crop" msgstr "ritaglia" -#: admin/forms.py:70 models/thumbnailoptionmodels.py:30 +#: admin/forms.py:75 models/thumbnailoptionmodels.py:30 msgid "upscale" msgstr "ingrandisci" -#: admin/forms.py:75 +#: admin/forms.py:79 msgid "Thumbnail option or resize parameters must be choosen." msgstr "" "Devi selezionare l'opzione anteprima immagine o i parametri di " "ridimensionamento." -#: admin/forms.py:77 -msgid "Resize parameters must be choosen." -msgstr "Seleziona le opzioni di ridimensionamento." - #: admin/imageadmin.py:18 admin/imageadmin.py:105 msgid "Subject location" msgstr "Posizione del soggetto" @@ -281,26 +277,42 @@ msgstr "Filer" msgid "Media library" msgstr "Archivio file" -#: models/abstract.py:49 +#: models/abstract.py:62 msgid "default alt text" msgstr "testo predefinito per l'attributo alt " -#: models/abstract.py:56 +#: models/abstract.py:69 msgid "default caption" msgstr "didascalia predefinita" -#: models/abstract.py:63 +#: models/abstract.py:76 msgid "subject location" msgstr "posizione del soggetto" -#: models/abstract.py:78 +#: models/abstract.py:91 msgid "image" msgstr "immagine" -#: models/abstract.py:79 +#: models/abstract.py:92 msgid "images" msgstr "immagini" +#: models/abstract.py:147 +#, python-format +msgid "" +"Image format not recognized or image size exceeds limit of %(max_pixels)d " +"million pixels by a factor of two or more. Before uploading again, check " +"file format or resize image to %(width)d x %(height)d resolution or lower." +msgstr "" + +#: models/abstract.py:156 +#, python-format +msgid "" +"Image size (%(pixels)d million pixels) exceeds limit of %(max_pixels)d " +"million pixels. Before uploading again, resize image to %(width)d x " +"%(height)d resolution or lower." +msgstr "" + #: models/clipboardmodels.py:11 models/foldermodels.py:289 msgid "user" msgstr "utente" @@ -759,17 +771,13 @@ msgstr "Non ci sono immagini disponibili da ridimensionare." msgid "The following images will be resized:" msgstr "Le seguenti immagini verranno ridimensionate:" -#: templates/admin/filer/folder/choose_images_resize_options.html:33 +#: templates/admin/filer/folder/choose_images_resize_options.html:32 msgid "Choose an existing thumbnail option or enter resize parameters:" msgstr "" "Scegli un'opzione miniatura esistente o immetti i parametri di " "ridimensionamento:" -#: templates/admin/filer/folder/choose_images_resize_options.html:35 -msgid "Choose resize parameters:" -msgstr "Scegli i parametri di ridimensionamento:" - -#: templates/admin/filer/folder/choose_images_resize_options.html:38 +#: templates/admin/filer/folder/choose_images_resize_options.html:36 msgid "" "Warning: Images will be resized in-place and originals will be lost. Maybe " "first make a copy of them to retain the originals." @@ -777,7 +785,7 @@ msgstr "" "Attenzione: Le immagini verranno ridimensionate ora e le immagini originali " "andranno perse. Forse è meglio fare una copia per mantenere i file originali." -#: templates/admin/filer/folder/choose_images_resize_options.html:41 +#: templates/admin/filer/folder/choose_images_resize_options.html:39 msgid "Resize" msgstr "Ridimensiona" @@ -1121,7 +1129,7 @@ msgstr "" #: templates/admin/filer/tools/detail_info.html:20 #: templates/admin/filer/widgets/admin_file.html:32 -#: templatetags/filer_admin_tags.py:107 +#: templatetags/filer_admin_tags.py:108 msgid "File is missing" msgstr "" @@ -1180,28 +1188,39 @@ msgstr "Seleziona file" msgid "Choose Folder" msgstr "" -#: validation.py:19 +#: validation.py:20 #, python-brace-format msgid "File \"{file_name}\": Upload denied by site security policy" msgstr "" -#: validation.py:22 +#: validation.py:23 #, python-brace-format msgid "File \"{file_name}\": {file_type} upload denied by site security policy" msgstr "" -#: validation.py:33 +#: validation.py:34 #, python-brace-format msgid "File \"{file_name}\": HTML upload denied by site security policy" msgstr "" -#: validation.py:71 +#: validation.py:72 #, python-brace-format msgid "" "File \"{file_name}\": Rejected due to potential cross site scripting " "vulnerability" msgstr "" +#: validation.py:84 +#, python-brace-format +msgid "File \"{file_name}\": SVG file format not recognized" +msgstr "" + +#~ msgid "Resize parameters must be choosen." +#~ msgstr "Resize parameters must be choosen." + +#~ msgid "Choose resize parameters:" +#~ msgstr "Choose resize parameters:" + #~ msgid "Open file" #~ msgstr "Open file" diff --git a/filer/locale/ja/LC_MESSAGES/django.mo b/filer/locale/ja/LC_MESSAGES/django.mo index bbbd4388b..f18d8161c 100644 Binary files a/filer/locale/ja/LC_MESSAGES/django.mo and b/filer/locale/ja/LC_MESSAGES/django.mo differ diff --git a/filer/locale/ja/LC_MESSAGES/django.po b/filer/locale/ja/LC_MESSAGES/django.po index 84aff4ffe..1cae212dd 100644 --- a/filer/locale/ja/LC_MESSAGES/django.po +++ b/filer/locale/ja/LC_MESSAGES/django.po @@ -9,7 +9,7 @@ msgid "" msgstr "" "Project-Id-Version: django Filer\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-07-31 22:21+0200\n" +"POT-Creation-Date: 2023-09-26 08:46+0200\n" "PO-Revision-Date: 2012-07-13 15:50+0000\n" "Last-Translator: Angelo Dini \n" "Language-Team: Japanese (http://app.transifex.com/divio/django-filer/" @@ -20,155 +20,155 @@ msgstr "" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=1; plural=0;\n" -#: admin/clipboardadmin.py:16 +#: admin/clipboardadmin.py:17 msgid "You do not have permission to upload files." msgstr "" -#: admin/clipboardadmin.py:17 +#: admin/clipboardadmin.py:18 msgid "Can't find folder to upload. Please refresh and try again" msgstr "" -#: admin/clipboardadmin.py:19 +#: admin/clipboardadmin.py:20 msgid "Can't use this folder, Permission Denied. Please select another folder." msgstr "" -#: admin/fileadmin.py:47 +#: admin/fileadmin.py:73 msgid "Advanced" msgstr "" -#: admin/fileadmin.py:162 +#: admin/fileadmin.py:188 msgid "canonical URL" msgstr "" -#: admin/folderadmin.py:399 admin/folderadmin.py:570 +#: admin/folderadmin.py:411 admin/folderadmin.py:582 msgid "" "Items must be selected in order to perform actions on them. No items have " "been changed." msgstr "" -#: admin/folderadmin.py:422 +#: admin/folderadmin.py:434 #, python-format msgid "%(total_count)s selected" msgid_plural "All %(total_count)s selected" msgstr[0] "" -#: admin/folderadmin.py:448 +#: admin/folderadmin.py:460 #, python-format msgid "Directory listing for %(folder_name)s" msgstr "" -#: admin/folderadmin.py:463 +#: admin/folderadmin.py:475 #, python-format msgid "0 of %(cnt)s selected" msgstr "" -#: admin/folderadmin.py:600 +#: admin/folderadmin.py:612 msgid "No action selected." msgstr "" -#: admin/folderadmin.py:652 +#: admin/folderadmin.py:664 #, python-format msgid "Successfully moved %(count)d files to clipboard." msgstr "" -#: admin/folderadmin.py:657 +#: admin/folderadmin.py:669 msgid "Move selected files to clipboard" msgstr "" -#: admin/folderadmin.py:697 +#: admin/folderadmin.py:709 #, python-format msgid "Successfully disabled permissions for %(count)d files." msgstr "" -#: admin/folderadmin.py:699 +#: admin/folderadmin.py:711 #, python-format msgid "Successfully enabled permissions for %(count)d files." msgstr "" -#: admin/folderadmin.py:707 +#: admin/folderadmin.py:719 msgid "Enable permissions for selected files" msgstr "" -#: admin/folderadmin.py:713 +#: admin/folderadmin.py:725 msgid "Disable permissions for selected files" msgstr "" -#: admin/folderadmin.py:777 +#: admin/folderadmin.py:789 #, python-format msgid "Successfully deleted %(count)d files and/or folders." msgstr "" -#: admin/folderadmin.py:782 +#: admin/folderadmin.py:794 msgid "Cannot delete files and/or folders" msgstr "" -#: admin/folderadmin.py:784 +#: admin/folderadmin.py:796 msgid "Are you sure?" msgstr "" -#: admin/folderadmin.py:790 +#: admin/folderadmin.py:802 msgid "Delete files and/or folders" msgstr "" -#: admin/folderadmin.py:811 +#: admin/folderadmin.py:823 msgid "Delete selected files and/or folders" msgstr "" -#: admin/folderadmin.py:918 +#: admin/folderadmin.py:930 #, python-format msgid "Folders with names %s already exist at the selected destination" msgstr "" -#: admin/folderadmin.py:922 +#: admin/folderadmin.py:934 #, python-format msgid "" "Successfully moved %(count)d files and/or folders to folder " "'%(destination)s'." msgstr "" -#: admin/folderadmin.py:930 admin/folderadmin.py:932 +#: admin/folderadmin.py:942 admin/folderadmin.py:944 msgid "Move files and/or folders" msgstr "" -#: admin/folderadmin.py:947 +#: admin/folderadmin.py:959 msgid "Move selected files and/or folders" msgstr "" -#: admin/folderadmin.py:1004 +#: admin/folderadmin.py:1016 #, python-format msgid "Successfully renamed %(count)d files." msgstr "" -#: admin/folderadmin.py:1013 admin/folderadmin.py:1015 -#: admin/folderadmin.py:1030 +#: admin/folderadmin.py:1025 admin/folderadmin.py:1027 +#: admin/folderadmin.py:1042 msgid "Rename files" msgstr "" -#: admin/folderadmin.py:1125 +#: admin/folderadmin.py:1137 #, python-format msgid "" "Successfully copied %(count)d files and/or folders to folder " "'%(destination)s'." msgstr "" -#: admin/folderadmin.py:1143 admin/folderadmin.py:1145 +#: admin/folderadmin.py:1155 admin/folderadmin.py:1157 msgid "Copy files and/or folders" msgstr "" -#: admin/folderadmin.py:1162 +#: admin/folderadmin.py:1174 msgid "Copy selected files and/or folders" msgstr "" -#: admin/folderadmin.py:1267 +#: admin/folderadmin.py:1279 #, python-format msgid "Successfully resized %(count)d images." msgstr "" -#: admin/folderadmin.py:1274 admin/folderadmin.py:1276 +#: admin/folderadmin.py:1286 admin/folderadmin.py:1288 msgid "Resize images" msgstr "" -#: admin/folderadmin.py:1292 +#: admin/folderadmin.py:1303 msgid "Resize selected images" msgstr "" @@ -193,34 +193,30 @@ msgstr "" msgid "Invalid rename format: %(error)s." msgstr "" -#: admin/forms.py:64 models/thumbnailoptionmodels.py:37 +#: admin/forms.py:68 models/thumbnailoptionmodels.py:37 msgid "thumbnail option" msgstr "" -#: admin/forms.py:67 models/thumbnailoptionmodels.py:15 +#: admin/forms.py:72 models/thumbnailoptionmodels.py:15 msgid "width" msgstr "" -#: admin/forms.py:68 models/thumbnailoptionmodels.py:20 +#: admin/forms.py:73 models/thumbnailoptionmodels.py:20 msgid "height" msgstr "" -#: admin/forms.py:69 models/thumbnailoptionmodels.py:25 +#: admin/forms.py:74 models/thumbnailoptionmodels.py:25 msgid "crop" msgstr "" -#: admin/forms.py:70 models/thumbnailoptionmodels.py:30 +#: admin/forms.py:75 models/thumbnailoptionmodels.py:30 msgid "upscale" msgstr "" -#: admin/forms.py:75 +#: admin/forms.py:79 msgid "Thumbnail option or resize parameters must be choosen." msgstr "" -#: admin/forms.py:77 -msgid "Resize parameters must be choosen." -msgstr "" - #: admin/imageadmin.py:18 admin/imageadmin.py:105 msgid "Subject location" msgstr "" @@ -264,26 +260,42 @@ msgstr "" msgid "Media library" msgstr "" -#: models/abstract.py:49 +#: models/abstract.py:62 msgid "default alt text" msgstr "" -#: models/abstract.py:56 +#: models/abstract.py:69 msgid "default caption" msgstr "" -#: models/abstract.py:63 +#: models/abstract.py:76 msgid "subject location" msgstr "" -#: models/abstract.py:78 +#: models/abstract.py:91 msgid "image" msgstr "" -#: models/abstract.py:79 +#: models/abstract.py:92 msgid "images" msgstr "" +#: models/abstract.py:147 +#, python-format +msgid "" +"Image format not recognized or image size exceeds limit of %(max_pixels)d " +"million pixels by a factor of two or more. Before uploading again, check " +"file format or resize image to %(width)d x %(height)d resolution or lower." +msgstr "" + +#: models/abstract.py:156 +#, python-format +msgid "" +"Image size (%(pixels)d million pixels) exceeds limit of %(max_pixels)d " +"million pixels. Before uploading again, resize image to %(width)d x " +"%(height)d resolution or lower." +msgstr "" + #: models/clipboardmodels.py:11 models/foldermodels.py:289 msgid "user" msgstr "" @@ -727,21 +739,17 @@ msgstr "" msgid "The following images will be resized:" msgstr "" -#: templates/admin/filer/folder/choose_images_resize_options.html:33 +#: templates/admin/filer/folder/choose_images_resize_options.html:32 msgid "Choose an existing thumbnail option or enter resize parameters:" msgstr "" -#: templates/admin/filer/folder/choose_images_resize_options.html:35 -msgid "Choose resize parameters:" -msgstr "" - -#: templates/admin/filer/folder/choose_images_resize_options.html:38 +#: templates/admin/filer/folder/choose_images_resize_options.html:36 msgid "" "Warning: Images will be resized in-place and originals will be lost. Maybe " "first make a copy of them to retain the originals." msgstr "" -#: templates/admin/filer/folder/choose_images_resize_options.html:41 +#: templates/admin/filer/folder/choose_images_resize_options.html:39 msgid "Resize" msgstr "" @@ -1070,7 +1078,7 @@ msgstr "" #: templates/admin/filer/tools/detail_info.html:20 #: templates/admin/filer/widgets/admin_file.html:32 -#: templatetags/filer_admin_tags.py:107 +#: templatetags/filer_admin_tags.py:108 msgid "File is missing" msgstr "" @@ -1129,28 +1137,39 @@ msgstr "" msgid "Choose Folder" msgstr "" -#: validation.py:19 +#: validation.py:20 #, python-brace-format msgid "File \"{file_name}\": Upload denied by site security policy" msgstr "" -#: validation.py:22 +#: validation.py:23 #, python-brace-format msgid "File \"{file_name}\": {file_type} upload denied by site security policy" msgstr "" -#: validation.py:33 +#: validation.py:34 #, python-brace-format msgid "File \"{file_name}\": HTML upload denied by site security policy" msgstr "" -#: validation.py:71 +#: validation.py:72 #, python-brace-format msgid "" "File \"{file_name}\": Rejected due to potential cross site scripting " "vulnerability" msgstr "" +#: validation.py:84 +#, python-brace-format +msgid "File \"{file_name}\": SVG file format not recognized" +msgstr "" + +#~ msgid "Resize parameters must be choosen." +#~ msgstr "Resize parameters must be choosen." + +#~ msgid "Choose resize parameters:" +#~ msgstr "Choose resize parameters:" + #~ msgid "Open file" #~ msgstr "Open file" diff --git a/filer/locale/ja_JP/LC_MESSAGES/django.mo b/filer/locale/ja_JP/LC_MESSAGES/django.mo index 93e2189ae..c1581e2b2 100644 Binary files a/filer/locale/ja_JP/LC_MESSAGES/django.mo and b/filer/locale/ja_JP/LC_MESSAGES/django.mo differ diff --git a/filer/locale/ja_JP/LC_MESSAGES/django.po b/filer/locale/ja_JP/LC_MESSAGES/django.po index 06e53afe6..b3ab3ecc9 100644 --- a/filer/locale/ja_JP/LC_MESSAGES/django.po +++ b/filer/locale/ja_JP/LC_MESSAGES/django.po @@ -9,7 +9,7 @@ msgid "" msgstr "" "Project-Id-Version: django Filer\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-07-31 22:21+0200\n" +"POT-Creation-Date: 2023-09-26 08:46+0200\n" "PO-Revision-Date: 2012-07-13 15:50+0000\n" "Last-Translator: Angelo Dini \n" "Language-Team: Japanese (Japan) (http://app.transifex.com/divio/django-filer/" @@ -20,155 +20,155 @@ msgstr "" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=1; plural=0;\n" -#: admin/clipboardadmin.py:16 +#: admin/clipboardadmin.py:17 msgid "You do not have permission to upload files." msgstr "" -#: admin/clipboardadmin.py:17 +#: admin/clipboardadmin.py:18 msgid "Can't find folder to upload. Please refresh and try again" msgstr "" -#: admin/clipboardadmin.py:19 +#: admin/clipboardadmin.py:20 msgid "Can't use this folder, Permission Denied. Please select another folder." msgstr "" -#: admin/fileadmin.py:47 +#: admin/fileadmin.py:73 msgid "Advanced" msgstr "" -#: admin/fileadmin.py:162 +#: admin/fileadmin.py:188 msgid "canonical URL" msgstr "" -#: admin/folderadmin.py:399 admin/folderadmin.py:570 +#: admin/folderadmin.py:411 admin/folderadmin.py:582 msgid "" "Items must be selected in order to perform actions on them. No items have " "been changed." msgstr "" -#: admin/folderadmin.py:422 +#: admin/folderadmin.py:434 #, python-format msgid "%(total_count)s selected" msgid_plural "All %(total_count)s selected" msgstr[0] "" -#: admin/folderadmin.py:448 +#: admin/folderadmin.py:460 #, python-format msgid "Directory listing for %(folder_name)s" msgstr "" -#: admin/folderadmin.py:463 +#: admin/folderadmin.py:475 #, python-format msgid "0 of %(cnt)s selected" msgstr "" -#: admin/folderadmin.py:600 +#: admin/folderadmin.py:612 msgid "No action selected." msgstr "" -#: admin/folderadmin.py:652 +#: admin/folderadmin.py:664 #, python-format msgid "Successfully moved %(count)d files to clipboard." msgstr "" -#: admin/folderadmin.py:657 +#: admin/folderadmin.py:669 msgid "Move selected files to clipboard" msgstr "" -#: admin/folderadmin.py:697 +#: admin/folderadmin.py:709 #, python-format msgid "Successfully disabled permissions for %(count)d files." msgstr "" -#: admin/folderadmin.py:699 +#: admin/folderadmin.py:711 #, python-format msgid "Successfully enabled permissions for %(count)d files." msgstr "" -#: admin/folderadmin.py:707 +#: admin/folderadmin.py:719 msgid "Enable permissions for selected files" msgstr "" -#: admin/folderadmin.py:713 +#: admin/folderadmin.py:725 msgid "Disable permissions for selected files" msgstr "" -#: admin/folderadmin.py:777 +#: admin/folderadmin.py:789 #, python-format msgid "Successfully deleted %(count)d files and/or folders." msgstr "" -#: admin/folderadmin.py:782 +#: admin/folderadmin.py:794 msgid "Cannot delete files and/or folders" msgstr "" -#: admin/folderadmin.py:784 +#: admin/folderadmin.py:796 msgid "Are you sure?" msgstr "" -#: admin/folderadmin.py:790 +#: admin/folderadmin.py:802 msgid "Delete files and/or folders" msgstr "" -#: admin/folderadmin.py:811 +#: admin/folderadmin.py:823 msgid "Delete selected files and/or folders" msgstr "" -#: admin/folderadmin.py:918 +#: admin/folderadmin.py:930 #, python-format msgid "Folders with names %s already exist at the selected destination" msgstr "" -#: admin/folderadmin.py:922 +#: admin/folderadmin.py:934 #, python-format msgid "" "Successfully moved %(count)d files and/or folders to folder " "'%(destination)s'." msgstr "" -#: admin/folderadmin.py:930 admin/folderadmin.py:932 +#: admin/folderadmin.py:942 admin/folderadmin.py:944 msgid "Move files and/or folders" msgstr "" -#: admin/folderadmin.py:947 +#: admin/folderadmin.py:959 msgid "Move selected files and/or folders" msgstr "" -#: admin/folderadmin.py:1004 +#: admin/folderadmin.py:1016 #, python-format msgid "Successfully renamed %(count)d files." msgstr "" -#: admin/folderadmin.py:1013 admin/folderadmin.py:1015 -#: admin/folderadmin.py:1030 +#: admin/folderadmin.py:1025 admin/folderadmin.py:1027 +#: admin/folderadmin.py:1042 msgid "Rename files" msgstr "" -#: admin/folderadmin.py:1125 +#: admin/folderadmin.py:1137 #, python-format msgid "" "Successfully copied %(count)d files and/or folders to folder " "'%(destination)s'." msgstr "" -#: admin/folderadmin.py:1143 admin/folderadmin.py:1145 +#: admin/folderadmin.py:1155 admin/folderadmin.py:1157 msgid "Copy files and/or folders" msgstr "" -#: admin/folderadmin.py:1162 +#: admin/folderadmin.py:1174 msgid "Copy selected files and/or folders" msgstr "" -#: admin/folderadmin.py:1267 +#: admin/folderadmin.py:1279 #, python-format msgid "Successfully resized %(count)d images." msgstr "" -#: admin/folderadmin.py:1274 admin/folderadmin.py:1276 +#: admin/folderadmin.py:1286 admin/folderadmin.py:1288 msgid "Resize images" msgstr "" -#: admin/folderadmin.py:1292 +#: admin/folderadmin.py:1303 msgid "Resize selected images" msgstr "" @@ -193,34 +193,30 @@ msgstr "" msgid "Invalid rename format: %(error)s." msgstr "" -#: admin/forms.py:64 models/thumbnailoptionmodels.py:37 +#: admin/forms.py:68 models/thumbnailoptionmodels.py:37 msgid "thumbnail option" msgstr "" -#: admin/forms.py:67 models/thumbnailoptionmodels.py:15 +#: admin/forms.py:72 models/thumbnailoptionmodels.py:15 msgid "width" msgstr "" -#: admin/forms.py:68 models/thumbnailoptionmodels.py:20 +#: admin/forms.py:73 models/thumbnailoptionmodels.py:20 msgid "height" msgstr "" -#: admin/forms.py:69 models/thumbnailoptionmodels.py:25 +#: admin/forms.py:74 models/thumbnailoptionmodels.py:25 msgid "crop" msgstr "" -#: admin/forms.py:70 models/thumbnailoptionmodels.py:30 +#: admin/forms.py:75 models/thumbnailoptionmodels.py:30 msgid "upscale" msgstr "" -#: admin/forms.py:75 +#: admin/forms.py:79 msgid "Thumbnail option or resize parameters must be choosen." msgstr "" -#: admin/forms.py:77 -msgid "Resize parameters must be choosen." -msgstr "" - #: admin/imageadmin.py:18 admin/imageadmin.py:105 msgid "Subject location" msgstr "" @@ -264,26 +260,42 @@ msgstr "" msgid "Media library" msgstr "" -#: models/abstract.py:49 +#: models/abstract.py:62 msgid "default alt text" msgstr "" -#: models/abstract.py:56 +#: models/abstract.py:69 msgid "default caption" msgstr "" -#: models/abstract.py:63 +#: models/abstract.py:76 msgid "subject location" msgstr "" -#: models/abstract.py:78 +#: models/abstract.py:91 msgid "image" msgstr "" -#: models/abstract.py:79 +#: models/abstract.py:92 msgid "images" msgstr "" +#: models/abstract.py:147 +#, python-format +msgid "" +"Image format not recognized or image size exceeds limit of %(max_pixels)d " +"million pixels by a factor of two or more. Before uploading again, check " +"file format or resize image to %(width)d x %(height)d resolution or lower." +msgstr "" + +#: models/abstract.py:156 +#, python-format +msgid "" +"Image size (%(pixels)d million pixels) exceeds limit of %(max_pixels)d " +"million pixels. Before uploading again, resize image to %(width)d x " +"%(height)d resolution or lower." +msgstr "" + #: models/clipboardmodels.py:11 models/foldermodels.py:289 msgid "user" msgstr "" @@ -727,21 +739,17 @@ msgstr "" msgid "The following images will be resized:" msgstr "" -#: templates/admin/filer/folder/choose_images_resize_options.html:33 +#: templates/admin/filer/folder/choose_images_resize_options.html:32 msgid "Choose an existing thumbnail option or enter resize parameters:" msgstr "" -#: templates/admin/filer/folder/choose_images_resize_options.html:35 -msgid "Choose resize parameters:" -msgstr "" - -#: templates/admin/filer/folder/choose_images_resize_options.html:38 +#: templates/admin/filer/folder/choose_images_resize_options.html:36 msgid "" "Warning: Images will be resized in-place and originals will be lost. Maybe " "first make a copy of them to retain the originals." msgstr "" -#: templates/admin/filer/folder/choose_images_resize_options.html:41 +#: templates/admin/filer/folder/choose_images_resize_options.html:39 msgid "Resize" msgstr "" @@ -1070,7 +1078,7 @@ msgstr "" #: templates/admin/filer/tools/detail_info.html:20 #: templates/admin/filer/widgets/admin_file.html:32 -#: templatetags/filer_admin_tags.py:107 +#: templatetags/filer_admin_tags.py:108 msgid "File is missing" msgstr "" @@ -1129,28 +1137,39 @@ msgstr "" msgid "Choose Folder" msgstr "" -#: validation.py:19 +#: validation.py:20 #, python-brace-format msgid "File \"{file_name}\": Upload denied by site security policy" msgstr "" -#: validation.py:22 +#: validation.py:23 #, python-brace-format msgid "File \"{file_name}\": {file_type} upload denied by site security policy" msgstr "" -#: validation.py:33 +#: validation.py:34 #, python-brace-format msgid "File \"{file_name}\": HTML upload denied by site security policy" msgstr "" -#: validation.py:71 +#: validation.py:72 #, python-brace-format msgid "" "File \"{file_name}\": Rejected due to potential cross site scripting " "vulnerability" msgstr "" +#: validation.py:84 +#, python-brace-format +msgid "File \"{file_name}\": SVG file format not recognized" +msgstr "" + +#~ msgid "Resize parameters must be choosen." +#~ msgstr "Resize parameters must be choosen." + +#~ msgid "Choose resize parameters:" +#~ msgstr "Choose resize parameters:" + #~ msgid "Open file" #~ msgstr "Open file" diff --git a/filer/locale/lt/LC_MESSAGES/django.mo b/filer/locale/lt/LC_MESSAGES/django.mo index 13b52080f..de0708e70 100644 Binary files a/filer/locale/lt/LC_MESSAGES/django.mo and b/filer/locale/lt/LC_MESSAGES/django.mo differ diff --git a/filer/locale/lt/LC_MESSAGES/django.po b/filer/locale/lt/LC_MESSAGES/django.po index a5063acb9..53c74e66c 100644 --- a/filer/locale/lt/LC_MESSAGES/django.po +++ b/filer/locale/lt/LC_MESSAGES/django.po @@ -10,7 +10,7 @@ msgid "" msgstr "" "Project-Id-Version: django Filer\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-07-31 22:21+0200\n" +"POT-Creation-Date: 2023-09-26 08:46+0200\n" "PO-Revision-Date: 2012-07-13 15:50+0000\n" "Last-Translator: Matas Dailyda , 2015-2018\n" "Language-Team: Lithuanian (http://app.transifex.com/divio/django-filer/" @@ -23,27 +23,27 @@ msgstr "" "11) ? 0 : (n % 10 >= 2 && n % 10 <=9) && (n % 100 > 19 || n % 100 < 11) ? " "1 : n % 1 != 0 ? 2: 3);\n" -#: admin/clipboardadmin.py:16 +#: admin/clipboardadmin.py:17 msgid "You do not have permission to upload files." msgstr "" -#: admin/clipboardadmin.py:17 +#: admin/clipboardadmin.py:18 msgid "Can't find folder to upload. Please refresh and try again" msgstr "" -#: admin/clipboardadmin.py:19 +#: admin/clipboardadmin.py:20 msgid "Can't use this folder, Permission Denied. Please select another folder." msgstr "" -#: admin/fileadmin.py:47 +#: admin/fileadmin.py:73 msgid "Advanced" msgstr "Išplėstinės funkcijos" -#: admin/fileadmin.py:162 +#: admin/fileadmin.py:188 msgid "canonical URL" msgstr "kanoninis URL" -#: admin/folderadmin.py:399 admin/folderadmin.py:570 +#: admin/folderadmin.py:411 admin/folderadmin.py:582 msgid "" "Items must be selected in order to perform actions on them. No items have " "been changed." @@ -51,7 +51,7 @@ msgstr "" "Objektai turi būti pasirinkti, kad su jais būtų galima atlikti veiksmus. " "Jokie objektai nebuvo pakeisti." -#: admin/folderadmin.py:422 +#: admin/folderadmin.py:434 #, python-format msgid "%(total_count)s selected" msgid_plural "All %(total_count)s selected" @@ -60,75 +60,75 @@ msgstr[1] "pasirinkta %(total_count)s" msgstr[2] "pasirinkta %(total_count)s" msgstr[3] "pasirinkta %(total_count)s" -#: admin/folderadmin.py:448 +#: admin/folderadmin.py:460 #, python-format msgid "Directory listing for %(folder_name)s" msgstr "%(folder_name)svidinių aplankų sąrašas " -#: admin/folderadmin.py:463 +#: admin/folderadmin.py:475 #, python-format msgid "0 of %(cnt)s selected" msgstr "0 iš %(cnt)s pasirinkta" -#: admin/folderadmin.py:600 +#: admin/folderadmin.py:612 msgid "No action selected." msgstr "Nepasirinktas joks veiksmas." -#: admin/folderadmin.py:652 +#: admin/folderadmin.py:664 #, python-format msgid "Successfully moved %(count)d files to clipboard." msgstr "Sėkmingai perkelta %(count)d failai į iškarpinę." -#: admin/folderadmin.py:657 +#: admin/folderadmin.py:669 msgid "Move selected files to clipboard" msgstr "Perkelti pažymėtus failus į iškarpinę" -#: admin/folderadmin.py:697 +#: admin/folderadmin.py:709 #, python-format msgid "Successfully disabled permissions for %(count)d files." msgstr "Sėkmingai išjungti leidimai %(count)d failams." -#: admin/folderadmin.py:699 +#: admin/folderadmin.py:711 #, python-format msgid "Successfully enabled permissions for %(count)d files." msgstr "Sėkmingai įjungti leidimai %(count)d failams." -#: admin/folderadmin.py:707 +#: admin/folderadmin.py:719 msgid "Enable permissions for selected files" msgstr "Įjungti leidimus pasirinktiems failams" -#: admin/folderadmin.py:713 +#: admin/folderadmin.py:725 msgid "Disable permissions for selected files" msgstr "Išjungti leidimus pasirinktiems failams" -#: admin/folderadmin.py:777 +#: admin/folderadmin.py:789 #, python-format msgid "Successfully deleted %(count)d files and/or folders." msgstr "Sėkmingai pašalino %(count)d failus ir / ar aplankus." -#: admin/folderadmin.py:782 +#: admin/folderadmin.py:794 msgid "Cannot delete files and/or folders" msgstr "Negalima pašalinti failų ir / ar aplankų" -#: admin/folderadmin.py:784 +#: admin/folderadmin.py:796 msgid "Are you sure?" msgstr "Ar jūs esate tikri?" -#: admin/folderadmin.py:790 +#: admin/folderadmin.py:802 msgid "Delete files and/or folders" msgstr "Pašalinti failus ir / ar aplankus" -#: admin/folderadmin.py:811 +#: admin/folderadmin.py:823 msgid "Delete selected files and/or folders" msgstr "Pašalinti pasirinktus failus ir / ar aplankus" -#: admin/folderadmin.py:918 +#: admin/folderadmin.py:930 #, python-format msgid "Folders with names %s already exist at the selected destination" msgstr "" "Aplankai su %s pavadinimais jau egzistuoja pasirinktoje paskirties vietoje." -#: admin/folderadmin.py:922 +#: admin/folderadmin.py:934 #, python-format msgid "" "Successfully moved %(count)d files and/or folders to folder " @@ -137,25 +137,25 @@ msgstr "" "Sėkmingai perkelti %(count)d failai ir / ar aplankai į aplanką " "'%(destination)s'." -#: admin/folderadmin.py:930 admin/folderadmin.py:932 +#: admin/folderadmin.py:942 admin/folderadmin.py:944 msgid "Move files and/or folders" msgstr "Perkelti failus ir / ar aplankus" -#: admin/folderadmin.py:947 +#: admin/folderadmin.py:959 msgid "Move selected files and/or folders" msgstr "Perkelti pasirinktus failus ir / ar aplankus" -#: admin/folderadmin.py:1004 +#: admin/folderadmin.py:1016 #, python-format msgid "Successfully renamed %(count)d files." msgstr "Sėkmingai pervardinti %(count)d failai." -#: admin/folderadmin.py:1013 admin/folderadmin.py:1015 -#: admin/folderadmin.py:1030 +#: admin/folderadmin.py:1025 admin/folderadmin.py:1027 +#: admin/folderadmin.py:1042 msgid "Rename files" msgstr "Pervardinti failus" -#: admin/folderadmin.py:1125 +#: admin/folderadmin.py:1137 #, python-format msgid "" "Successfully copied %(count)d files and/or folders to folder " @@ -164,24 +164,24 @@ msgstr "" "Sėkmingai nukopijuoti %(count)d failai ir / ar aplankai į aplanką " "'%(destination)s'." -#: admin/folderadmin.py:1143 admin/folderadmin.py:1145 +#: admin/folderadmin.py:1155 admin/folderadmin.py:1157 msgid "Copy files and/or folders" msgstr "Kopijuoti failus ir / ar aplankus" -#: admin/folderadmin.py:1162 +#: admin/folderadmin.py:1174 msgid "Copy selected files and/or folders" msgstr "Kopijuoti pasirinktus failus ir / ar aplankus" -#: admin/folderadmin.py:1267 +#: admin/folderadmin.py:1279 #, python-format msgid "Successfully resized %(count)d images." msgstr "Sėkmingai pakeistas %(count)d paveikslėlių dydis." -#: admin/folderadmin.py:1274 admin/folderadmin.py:1276 +#: admin/folderadmin.py:1286 admin/folderadmin.py:1288 msgid "Resize images" msgstr "Pakeisti paveikslėlių dydžius" -#: admin/folderadmin.py:1292 +#: admin/folderadmin.py:1303 msgid "Resize selected images" msgstr "Pakeisti pasirinktų paveikslėlių dydžius" @@ -208,35 +208,31 @@ msgstr "Nežinomas pervardinimo formato reikšmės raktažodis \"%(key)s\"." msgid "Invalid rename format: %(error)s." msgstr "Negalimas pervardinimo formatas: %(error)s." -#: admin/forms.py:64 models/thumbnailoptionmodels.py:37 +#: admin/forms.py:68 models/thumbnailoptionmodels.py:37 msgid "thumbnail option" msgstr "miniatiūros nustatymas" -#: admin/forms.py:67 models/thumbnailoptionmodels.py:15 +#: admin/forms.py:72 models/thumbnailoptionmodels.py:15 msgid "width" msgstr "plotis" -#: admin/forms.py:68 models/thumbnailoptionmodels.py:20 +#: admin/forms.py:73 models/thumbnailoptionmodels.py:20 msgid "height" msgstr "aukštis" -#: admin/forms.py:69 models/thumbnailoptionmodels.py:25 +#: admin/forms.py:74 models/thumbnailoptionmodels.py:25 msgid "crop" msgstr "apkirpti" -#: admin/forms.py:70 models/thumbnailoptionmodels.py:30 +#: admin/forms.py:75 models/thumbnailoptionmodels.py:30 msgid "upscale" msgstr "išdidinti" -#: admin/forms.py:75 +#: admin/forms.py:79 msgid "Thumbnail option or resize parameters must be choosen." msgstr "" "Miniatiūros nustatymas arba dydžio keitimo parametrai turi būti pasirinkti." -#: admin/forms.py:77 -msgid "Resize parameters must be choosen." -msgstr "Turi būti pasirinkti dydžio keitimo parametrai." - #: admin/imageadmin.py:18 admin/imageadmin.py:105 msgid "Subject location" msgstr "Subjekto vieta" @@ -280,26 +276,42 @@ msgstr "Filer'is" msgid "Media library" msgstr "Medijos biblioteka" -#: models/abstract.py:49 +#: models/abstract.py:62 msgid "default alt text" msgstr "numatytasis alternatyvus tekstas" -#: models/abstract.py:56 +#: models/abstract.py:69 msgid "default caption" msgstr "numatytoji antraštė" -#: models/abstract.py:63 +#: models/abstract.py:76 msgid "subject location" msgstr "subjekto vieta" -#: models/abstract.py:78 +#: models/abstract.py:91 msgid "image" msgstr "paveikslėlis" -#: models/abstract.py:79 +#: models/abstract.py:92 msgid "images" msgstr "paveikslėliai" +#: models/abstract.py:147 +#, python-format +msgid "" +"Image format not recognized or image size exceeds limit of %(max_pixels)d " +"million pixels by a factor of two or more. Before uploading again, check " +"file format or resize image to %(width)d x %(height)d resolution or lower." +msgstr "" + +#: models/abstract.py:156 +#, python-format +msgid "" +"Image size (%(pixels)d million pixels) exceeds limit of %(max_pixels)d " +"million pixels. Before uploading again, resize image to %(width)d x " +"%(height)d resolution or lower." +msgstr "" + #: models/clipboardmodels.py:11 models/foldermodels.py:289 msgid "user" msgstr "vartotojas" @@ -757,17 +769,13 @@ msgstr "Nėra jokiu paveikslėlių dydžio keitimui." msgid "The following images will be resized:" msgstr "Šių paveikslėlių dydis bus pakeistas:" -#: templates/admin/filer/folder/choose_images_resize_options.html:33 +#: templates/admin/filer/folder/choose_images_resize_options.html:32 msgid "Choose an existing thumbnail option or enter resize parameters:" msgstr "" "Pasirinkite esamą miniatiūros nustatymą, arba įveskite dydžio keitimo " "parametrus:" -#: templates/admin/filer/folder/choose_images_resize_options.html:35 -msgid "Choose resize parameters:" -msgstr "Pasirinkite dydžio keitimo parametrus:" - -#: templates/admin/filer/folder/choose_images_resize_options.html:38 +#: templates/admin/filer/folder/choose_images_resize_options.html:36 msgid "" "Warning: Images will be resized in-place and originals will be lost. Maybe " "first make a copy of them to retain the originals." @@ -775,7 +783,7 @@ msgstr "" "Įspėjimas: Paveikslėlių dydžiai bus pakeisti vietoje, ir originalas bus " "pašalintas. Patartina atsikopijuoti paveikslėlį, kad nedingtų originalas." -#: templates/admin/filer/folder/choose_images_resize_options.html:41 +#: templates/admin/filer/folder/choose_images_resize_options.html:39 msgid "Resize" msgstr "Pakeisti dydį" @@ -1119,7 +1127,7 @@ msgstr "" #: templates/admin/filer/tools/detail_info.html:20 #: templates/admin/filer/widgets/admin_file.html:32 -#: templatetags/filer_admin_tags.py:107 +#: templatetags/filer_admin_tags.py:108 msgid "File is missing" msgstr "" @@ -1178,28 +1186,39 @@ msgstr "Pasirinkti bylą" msgid "Choose Folder" msgstr "" -#: validation.py:19 +#: validation.py:20 #, python-brace-format msgid "File \"{file_name}\": Upload denied by site security policy" msgstr "" -#: validation.py:22 +#: validation.py:23 #, python-brace-format msgid "File \"{file_name}\": {file_type} upload denied by site security policy" msgstr "" -#: validation.py:33 +#: validation.py:34 #, python-brace-format msgid "File \"{file_name}\": HTML upload denied by site security policy" msgstr "" -#: validation.py:71 +#: validation.py:72 #, python-brace-format msgid "" "File \"{file_name}\": Rejected due to potential cross site scripting " "vulnerability" msgstr "" +#: validation.py:84 +#, python-brace-format +msgid "File \"{file_name}\": SVG file format not recognized" +msgstr "" + +#~ msgid "Resize parameters must be choosen." +#~ msgstr "Resize parameters must be choosen." + +#~ msgid "Choose resize parameters:" +#~ msgstr "Choose resize parameters:" + #~ msgid "Open file" #~ msgstr "Open file" diff --git a/filer/locale/lt_LT/LC_MESSAGES/django.mo b/filer/locale/lt_LT/LC_MESSAGES/django.mo index 298e2473c..5e380751c 100644 Binary files a/filer/locale/lt_LT/LC_MESSAGES/django.mo and b/filer/locale/lt_LT/LC_MESSAGES/django.mo differ diff --git a/filer/locale/lt_LT/LC_MESSAGES/django.po b/filer/locale/lt_LT/LC_MESSAGES/django.po index d0fef1ec1..e585505ac 100644 --- a/filer/locale/lt_LT/LC_MESSAGES/django.po +++ b/filer/locale/lt_LT/LC_MESSAGES/django.po @@ -9,7 +9,7 @@ msgid "" msgstr "" "Project-Id-Version: django Filer\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-07-31 22:21+0200\n" +"POT-Creation-Date: 2023-09-26 08:46+0200\n" "PO-Revision-Date: 2012-07-13 15:50+0000\n" "Last-Translator: Angelo Dini \n" "Language-Team: Lithuanian (Lithuania) (http://app.transifex.com/divio/django-" @@ -22,33 +22,33 @@ msgstr "" "11) ? 0 : (n % 10 >= 2 && n % 10 <=9) && (n % 100 > 19 || n % 100 < 11) ? " "1 : n % 1 != 0 ? 2: 3);\n" -#: admin/clipboardadmin.py:16 +#: admin/clipboardadmin.py:17 msgid "You do not have permission to upload files." msgstr "" -#: admin/clipboardadmin.py:17 +#: admin/clipboardadmin.py:18 msgid "Can't find folder to upload. Please refresh and try again" msgstr "" -#: admin/clipboardadmin.py:19 +#: admin/clipboardadmin.py:20 msgid "Can't use this folder, Permission Denied. Please select another folder." msgstr "" -#: admin/fileadmin.py:47 +#: admin/fileadmin.py:73 msgid "Advanced" msgstr "" -#: admin/fileadmin.py:162 +#: admin/fileadmin.py:188 msgid "canonical URL" msgstr "" -#: admin/folderadmin.py:399 admin/folderadmin.py:570 +#: admin/folderadmin.py:411 admin/folderadmin.py:582 msgid "" "Items must be selected in order to perform actions on them. No items have " "been changed." msgstr "" -#: admin/folderadmin.py:422 +#: admin/folderadmin.py:434 #, python-format msgid "%(total_count)s selected" msgid_plural "All %(total_count)s selected" @@ -57,123 +57,123 @@ msgstr[1] "" msgstr[2] "" msgstr[3] "" -#: admin/folderadmin.py:448 +#: admin/folderadmin.py:460 #, python-format msgid "Directory listing for %(folder_name)s" msgstr "" -#: admin/folderadmin.py:463 +#: admin/folderadmin.py:475 #, python-format msgid "0 of %(cnt)s selected" msgstr "" -#: admin/folderadmin.py:600 +#: admin/folderadmin.py:612 msgid "No action selected." msgstr "" -#: admin/folderadmin.py:652 +#: admin/folderadmin.py:664 #, python-format msgid "Successfully moved %(count)d files to clipboard." msgstr "" -#: admin/folderadmin.py:657 +#: admin/folderadmin.py:669 msgid "Move selected files to clipboard" msgstr "" -#: admin/folderadmin.py:697 +#: admin/folderadmin.py:709 #, python-format msgid "Successfully disabled permissions for %(count)d files." msgstr "" -#: admin/folderadmin.py:699 +#: admin/folderadmin.py:711 #, python-format msgid "Successfully enabled permissions for %(count)d files." msgstr "" -#: admin/folderadmin.py:707 +#: admin/folderadmin.py:719 msgid "Enable permissions for selected files" msgstr "" -#: admin/folderadmin.py:713 +#: admin/folderadmin.py:725 msgid "Disable permissions for selected files" msgstr "" -#: admin/folderadmin.py:777 +#: admin/folderadmin.py:789 #, python-format msgid "Successfully deleted %(count)d files and/or folders." msgstr "" -#: admin/folderadmin.py:782 +#: admin/folderadmin.py:794 msgid "Cannot delete files and/or folders" msgstr "" -#: admin/folderadmin.py:784 +#: admin/folderadmin.py:796 msgid "Are you sure?" msgstr "" -#: admin/folderadmin.py:790 +#: admin/folderadmin.py:802 msgid "Delete files and/or folders" msgstr "" -#: admin/folderadmin.py:811 +#: admin/folderadmin.py:823 msgid "Delete selected files and/or folders" msgstr "" -#: admin/folderadmin.py:918 +#: admin/folderadmin.py:930 #, python-format msgid "Folders with names %s already exist at the selected destination" msgstr "" -#: admin/folderadmin.py:922 +#: admin/folderadmin.py:934 #, python-format msgid "" "Successfully moved %(count)d files and/or folders to folder " "'%(destination)s'." msgstr "" -#: admin/folderadmin.py:930 admin/folderadmin.py:932 +#: admin/folderadmin.py:942 admin/folderadmin.py:944 msgid "Move files and/or folders" msgstr "" -#: admin/folderadmin.py:947 +#: admin/folderadmin.py:959 msgid "Move selected files and/or folders" msgstr "" -#: admin/folderadmin.py:1004 +#: admin/folderadmin.py:1016 #, python-format msgid "Successfully renamed %(count)d files." msgstr "" -#: admin/folderadmin.py:1013 admin/folderadmin.py:1015 -#: admin/folderadmin.py:1030 +#: admin/folderadmin.py:1025 admin/folderadmin.py:1027 +#: admin/folderadmin.py:1042 msgid "Rename files" msgstr "" -#: admin/folderadmin.py:1125 +#: admin/folderadmin.py:1137 #, python-format msgid "" "Successfully copied %(count)d files and/or folders to folder " "'%(destination)s'." msgstr "" -#: admin/folderadmin.py:1143 admin/folderadmin.py:1145 +#: admin/folderadmin.py:1155 admin/folderadmin.py:1157 msgid "Copy files and/or folders" msgstr "" -#: admin/folderadmin.py:1162 +#: admin/folderadmin.py:1174 msgid "Copy selected files and/or folders" msgstr "" -#: admin/folderadmin.py:1267 +#: admin/folderadmin.py:1279 #, python-format msgid "Successfully resized %(count)d images." msgstr "" -#: admin/folderadmin.py:1274 admin/folderadmin.py:1276 +#: admin/folderadmin.py:1286 admin/folderadmin.py:1288 msgid "Resize images" msgstr "" -#: admin/folderadmin.py:1292 +#: admin/folderadmin.py:1303 msgid "Resize selected images" msgstr "" @@ -198,34 +198,30 @@ msgstr "" msgid "Invalid rename format: %(error)s." msgstr "" -#: admin/forms.py:64 models/thumbnailoptionmodels.py:37 +#: admin/forms.py:68 models/thumbnailoptionmodels.py:37 msgid "thumbnail option" msgstr "" -#: admin/forms.py:67 models/thumbnailoptionmodels.py:15 +#: admin/forms.py:72 models/thumbnailoptionmodels.py:15 msgid "width" msgstr "" -#: admin/forms.py:68 models/thumbnailoptionmodels.py:20 +#: admin/forms.py:73 models/thumbnailoptionmodels.py:20 msgid "height" msgstr "" -#: admin/forms.py:69 models/thumbnailoptionmodels.py:25 +#: admin/forms.py:74 models/thumbnailoptionmodels.py:25 msgid "crop" msgstr "" -#: admin/forms.py:70 models/thumbnailoptionmodels.py:30 +#: admin/forms.py:75 models/thumbnailoptionmodels.py:30 msgid "upscale" msgstr "" -#: admin/forms.py:75 +#: admin/forms.py:79 msgid "Thumbnail option or resize parameters must be choosen." msgstr "" -#: admin/forms.py:77 -msgid "Resize parameters must be choosen." -msgstr "" - #: admin/imageadmin.py:18 admin/imageadmin.py:105 msgid "Subject location" msgstr "" @@ -269,26 +265,42 @@ msgstr "" msgid "Media library" msgstr "" -#: models/abstract.py:49 +#: models/abstract.py:62 msgid "default alt text" msgstr "" -#: models/abstract.py:56 +#: models/abstract.py:69 msgid "default caption" msgstr "" -#: models/abstract.py:63 +#: models/abstract.py:76 msgid "subject location" msgstr "" -#: models/abstract.py:78 +#: models/abstract.py:91 msgid "image" msgstr "" -#: models/abstract.py:79 +#: models/abstract.py:92 msgid "images" msgstr "" +#: models/abstract.py:147 +#, python-format +msgid "" +"Image format not recognized or image size exceeds limit of %(max_pixels)d " +"million pixels by a factor of two or more. Before uploading again, check " +"file format or resize image to %(width)d x %(height)d resolution or lower." +msgstr "" + +#: models/abstract.py:156 +#, python-format +msgid "" +"Image size (%(pixels)d million pixels) exceeds limit of %(max_pixels)d " +"million pixels. Before uploading again, resize image to %(width)d x " +"%(height)d resolution or lower." +msgstr "" + #: models/clipboardmodels.py:11 models/foldermodels.py:289 msgid "user" msgstr "" @@ -732,21 +744,17 @@ msgstr "" msgid "The following images will be resized:" msgstr "" -#: templates/admin/filer/folder/choose_images_resize_options.html:33 +#: templates/admin/filer/folder/choose_images_resize_options.html:32 msgid "Choose an existing thumbnail option or enter resize parameters:" msgstr "" -#: templates/admin/filer/folder/choose_images_resize_options.html:35 -msgid "Choose resize parameters:" -msgstr "" - -#: templates/admin/filer/folder/choose_images_resize_options.html:38 +#: templates/admin/filer/folder/choose_images_resize_options.html:36 msgid "" "Warning: Images will be resized in-place and originals will be lost. Maybe " "first make a copy of them to retain the originals." msgstr "" -#: templates/admin/filer/folder/choose_images_resize_options.html:41 +#: templates/admin/filer/folder/choose_images_resize_options.html:39 msgid "Resize" msgstr "" @@ -1084,7 +1092,7 @@ msgstr "" #: templates/admin/filer/tools/detail_info.html:20 #: templates/admin/filer/widgets/admin_file.html:32 -#: templatetags/filer_admin_tags.py:107 +#: templatetags/filer_admin_tags.py:108 msgid "File is missing" msgstr "" @@ -1143,28 +1151,39 @@ msgstr "" msgid "Choose Folder" msgstr "" -#: validation.py:19 +#: validation.py:20 #, python-brace-format msgid "File \"{file_name}\": Upload denied by site security policy" msgstr "" -#: validation.py:22 +#: validation.py:23 #, python-brace-format msgid "File \"{file_name}\": {file_type} upload denied by site security policy" msgstr "" -#: validation.py:33 +#: validation.py:34 #, python-brace-format msgid "File \"{file_name}\": HTML upload denied by site security policy" msgstr "" -#: validation.py:71 +#: validation.py:72 #, python-brace-format msgid "" "File \"{file_name}\": Rejected due to potential cross site scripting " "vulnerability" msgstr "" +#: validation.py:84 +#, python-brace-format +msgid "File \"{file_name}\": SVG file format not recognized" +msgstr "" + +#~ msgid "Resize parameters must be choosen." +#~ msgstr "Resize parameters must be choosen." + +#~ msgid "Choose resize parameters:" +#~ msgstr "Choose resize parameters:" + #~ msgid "Open file" #~ msgstr "Open file" diff --git a/filer/locale/nb/LC_MESSAGES/django.mo b/filer/locale/nb/LC_MESSAGES/django.mo index 867da3970..cc24295a7 100644 Binary files a/filer/locale/nb/LC_MESSAGES/django.mo and b/filer/locale/nb/LC_MESSAGES/django.mo differ diff --git a/filer/locale/nb/LC_MESSAGES/django.po b/filer/locale/nb/LC_MESSAGES/django.po index c6649f961..11e808535 100644 --- a/filer/locale/nb/LC_MESSAGES/django.po +++ b/filer/locale/nb/LC_MESSAGES/django.po @@ -10,7 +10,7 @@ msgid "" msgstr "" "Project-Id-Version: django Filer\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-07-31 22:21+0200\n" +"POT-Creation-Date: 2023-09-26 08:46+0200\n" "PO-Revision-Date: 2012-07-13 15:50+0000\n" "Last-Translator: Eirik Krogstad , 2013\n" "Language-Team: Norwegian Bokmål (http://app.transifex.com/divio/django-filer/" @@ -21,27 +21,27 @@ msgstr "" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" -#: admin/clipboardadmin.py:16 +#: admin/clipboardadmin.py:17 msgid "You do not have permission to upload files." msgstr "" -#: admin/clipboardadmin.py:17 +#: admin/clipboardadmin.py:18 msgid "Can't find folder to upload. Please refresh and try again" msgstr "" -#: admin/clipboardadmin.py:19 +#: admin/clipboardadmin.py:20 msgid "Can't use this folder, Permission Denied. Please select another folder." msgstr "" -#: admin/fileadmin.py:47 +#: admin/fileadmin.py:73 msgid "Advanced" msgstr "Avansert" -#: admin/fileadmin.py:162 +#: admin/fileadmin.py:188 msgid "canonical URL" msgstr "" -#: admin/folderadmin.py:399 admin/folderadmin.py:570 +#: admin/folderadmin.py:411 admin/folderadmin.py:582 msgid "" "Items must be selected in order to perform actions on them. No items have " "been changed." @@ -49,81 +49,81 @@ msgstr "" "Du må velge noen elementer for å utføre handlinger på dem. Ingen elementer " "er endret." -#: admin/folderadmin.py:422 +#: admin/folderadmin.py:434 #, python-format msgid "%(total_count)s selected" msgid_plural "All %(total_count)s selected" msgstr[0] "%(total_count)s valgt" msgstr[1] "Alle %(total_count)s valgt" -#: admin/folderadmin.py:448 +#: admin/folderadmin.py:460 #, python-format msgid "Directory listing for %(folder_name)s" msgstr "" -#: admin/folderadmin.py:463 +#: admin/folderadmin.py:475 #, python-format msgid "0 of %(cnt)s selected" msgstr "0 av %(cnt)s valgt" -#: admin/folderadmin.py:600 +#: admin/folderadmin.py:612 msgid "No action selected." msgstr "Ingen handling valgt." -#: admin/folderadmin.py:652 +#: admin/folderadmin.py:664 #, python-format msgid "Successfully moved %(count)d files to clipboard." msgstr "Flyttet %(count)d filer til utklippstavlen." -#: admin/folderadmin.py:657 +#: admin/folderadmin.py:669 msgid "Move selected files to clipboard" msgstr "Flytt valgte filer til utklippstavlen" -#: admin/folderadmin.py:697 +#: admin/folderadmin.py:709 #, python-format msgid "Successfully disabled permissions for %(count)d files." msgstr "Fjernet tillatelser for %(count)d filer." -#: admin/folderadmin.py:699 +#: admin/folderadmin.py:711 #, python-format msgid "Successfully enabled permissions for %(count)d files." msgstr "Satte tillatelser for %(count)d filer." -#: admin/folderadmin.py:707 +#: admin/folderadmin.py:719 msgid "Enable permissions for selected files" msgstr "Sett tillatelser for valgte filer" -#: admin/folderadmin.py:713 +#: admin/folderadmin.py:725 msgid "Disable permissions for selected files" msgstr "Fjern tillatelser for valgte filer" -#: admin/folderadmin.py:777 +#: admin/folderadmin.py:789 #, python-format msgid "Successfully deleted %(count)d files and/or folders." msgstr "Slettet %(count)d filer og/eller mapper." -#: admin/folderadmin.py:782 +#: admin/folderadmin.py:794 msgid "Cannot delete files and/or folders" msgstr "Kan ikke slette filer og/eller mapper" -#: admin/folderadmin.py:784 +#: admin/folderadmin.py:796 msgid "Are you sure?" msgstr "Er du sikker?" -#: admin/folderadmin.py:790 +#: admin/folderadmin.py:802 msgid "Delete files and/or folders" msgstr "Slett filer og/eller mapper" -#: admin/folderadmin.py:811 +#: admin/folderadmin.py:823 msgid "Delete selected files and/or folders" msgstr "Slett valgte filer og/eller mapper" -#: admin/folderadmin.py:918 +#: admin/folderadmin.py:930 #, python-format msgid "Folders with names %s already exist at the selected destination" msgstr "" -#: admin/folderadmin.py:922 +#: admin/folderadmin.py:934 #, python-format msgid "" "Successfully moved %(count)d files and/or folders to folder " @@ -131,25 +131,25 @@ msgid "" msgstr "" "Flyttet %(count)d filer og/eller mapper til mappen \"%(destination)s\"." -#: admin/folderadmin.py:930 admin/folderadmin.py:932 +#: admin/folderadmin.py:942 admin/folderadmin.py:944 msgid "Move files and/or folders" msgstr "Flytt filer og/eller mapper" -#: admin/folderadmin.py:947 +#: admin/folderadmin.py:959 msgid "Move selected files and/or folders" msgstr "Flytt valgte filer og/eller mapper" -#: admin/folderadmin.py:1004 +#: admin/folderadmin.py:1016 #, python-format msgid "Successfully renamed %(count)d files." msgstr "Endret navn på %(count)d filer." -#: admin/folderadmin.py:1013 admin/folderadmin.py:1015 -#: admin/folderadmin.py:1030 +#: admin/folderadmin.py:1025 admin/folderadmin.py:1027 +#: admin/folderadmin.py:1042 msgid "Rename files" msgstr "Endre navn på filer" -#: admin/folderadmin.py:1125 +#: admin/folderadmin.py:1137 #, python-format msgid "" "Successfully copied %(count)d files and/or folders to folder " @@ -157,24 +157,24 @@ msgid "" msgstr "" "Kopierte %(count)d filer og/eller mapper til mappen \"%(destination)s\"." -#: admin/folderadmin.py:1143 admin/folderadmin.py:1145 +#: admin/folderadmin.py:1155 admin/folderadmin.py:1157 msgid "Copy files and/or folders" msgstr "Kopier filer og/eller mapper" -#: admin/folderadmin.py:1162 +#: admin/folderadmin.py:1174 msgid "Copy selected files and/or folders" msgstr "Kopier valgte filer og/eller mapper" -#: admin/folderadmin.py:1267 +#: admin/folderadmin.py:1279 #, python-format msgid "Successfully resized %(count)d images." msgstr "Endret størrelse på %(count)d bilder." -#: admin/folderadmin.py:1274 admin/folderadmin.py:1276 +#: admin/folderadmin.py:1286 admin/folderadmin.py:1288 msgid "Resize images" msgstr "Endre størrelse på bilder" -#: admin/folderadmin.py:1292 +#: admin/folderadmin.py:1303 msgid "Resize selected images" msgstr "Endre størrelse på valgte bilder" @@ -201,34 +201,30 @@ msgstr "Ugyldig nøkkel \"%(key)s\" for endring av navn." msgid "Invalid rename format: %(error)s." msgstr "Ugyldig format for endring av navn: %(error)s" -#: admin/forms.py:64 models/thumbnailoptionmodels.py:37 +#: admin/forms.py:68 models/thumbnailoptionmodels.py:37 msgid "thumbnail option" msgstr "miniatyrbildevalg" -#: admin/forms.py:67 models/thumbnailoptionmodels.py:15 +#: admin/forms.py:72 models/thumbnailoptionmodels.py:15 msgid "width" msgstr "bredde" -#: admin/forms.py:68 models/thumbnailoptionmodels.py:20 +#: admin/forms.py:73 models/thumbnailoptionmodels.py:20 msgid "height" msgstr "høyde" -#: admin/forms.py:69 models/thumbnailoptionmodels.py:25 +#: admin/forms.py:74 models/thumbnailoptionmodels.py:25 msgid "crop" msgstr "beskjæring" -#: admin/forms.py:70 models/thumbnailoptionmodels.py:30 +#: admin/forms.py:75 models/thumbnailoptionmodels.py:30 msgid "upscale" msgstr "oppskalering" -#: admin/forms.py:75 +#: admin/forms.py:79 msgid "Thumbnail option or resize parameters must be choosen." msgstr "Miniatyrbildevalg eller parametre for endring av størrelse må velges." -#: admin/forms.py:77 -msgid "Resize parameters must be choosen." -msgstr "Parametre for endring av størrelse må velges." - #: admin/imageadmin.py:18 admin/imageadmin.py:105 msgid "Subject location" msgstr "Fokuseringsområde" @@ -272,26 +268,42 @@ msgstr "Filer" msgid "Media library" msgstr "" -#: models/abstract.py:49 +#: models/abstract.py:62 msgid "default alt text" msgstr "standard alternativtekst" -#: models/abstract.py:56 +#: models/abstract.py:69 msgid "default caption" msgstr "standard undertekst" -#: models/abstract.py:63 +#: models/abstract.py:76 msgid "subject location" msgstr "fokuseringsområde" -#: models/abstract.py:78 +#: models/abstract.py:91 msgid "image" msgstr "bilde" -#: models/abstract.py:79 +#: models/abstract.py:92 msgid "images" msgstr "bilder" +#: models/abstract.py:147 +#, python-format +msgid "" +"Image format not recognized or image size exceeds limit of %(max_pixels)d " +"million pixels by a factor of two or more. Before uploading again, check " +"file format or resize image to %(width)d x %(height)d resolution or lower." +msgstr "" + +#: models/abstract.py:156 +#, python-format +msgid "" +"Image size (%(pixels)d million pixels) exceeds limit of %(max_pixels)d " +"million pixels. Before uploading again, resize image to %(width)d x " +"%(height)d resolution or lower." +msgstr "" + #: models/clipboardmodels.py:11 models/foldermodels.py:289 msgid "user" msgstr "bruker" @@ -747,17 +759,13 @@ msgstr "Det er ingen bilder å endre størrelse på." msgid "The following images will be resized:" msgstr "De følgende bildene vil få endret størrelse:" -#: templates/admin/filer/folder/choose_images_resize_options.html:33 +#: templates/admin/filer/folder/choose_images_resize_options.html:32 msgid "Choose an existing thumbnail option or enter resize parameters:" msgstr "" "Velg et eksisterende miniatyrbildevalg eller skriv inn parametre for endring " "av størrelse:" -#: templates/admin/filer/folder/choose_images_resize_options.html:35 -msgid "Choose resize parameters:" -msgstr "Velg parametre for endring av størrelse:" - -#: templates/admin/filer/folder/choose_images_resize_options.html:38 +#: templates/admin/filer/folder/choose_images_resize_options.html:36 msgid "" "Warning: Images will be resized in-place and originals will be lost. Maybe " "first make a copy of them to retain the originals." @@ -765,7 +773,7 @@ msgstr "" "Advarsel: Bilder vil få sin størrelse endret, og originalene vil gå tapt. " "Det kan være ønskelig å først gjøre en kopi for å beholde originalene." -#: templates/admin/filer/folder/choose_images_resize_options.html:41 +#: templates/admin/filer/folder/choose_images_resize_options.html:39 msgid "Resize" msgstr "Endre størrelse" @@ -1104,7 +1112,7 @@ msgstr "" #: templates/admin/filer/tools/detail_info.html:20 #: templates/admin/filer/widgets/admin_file.html:32 -#: templatetags/filer_admin_tags.py:107 +#: templatetags/filer_admin_tags.py:108 msgid "File is missing" msgstr "" @@ -1163,28 +1171,39 @@ msgstr "" msgid "Choose Folder" msgstr "" -#: validation.py:19 +#: validation.py:20 #, python-brace-format msgid "File \"{file_name}\": Upload denied by site security policy" msgstr "" -#: validation.py:22 +#: validation.py:23 #, python-brace-format msgid "File \"{file_name}\": {file_type} upload denied by site security policy" msgstr "" -#: validation.py:33 +#: validation.py:34 #, python-brace-format msgid "File \"{file_name}\": HTML upload denied by site security policy" msgstr "" -#: validation.py:71 +#: validation.py:72 #, python-brace-format msgid "" "File \"{file_name}\": Rejected due to potential cross site scripting " "vulnerability" msgstr "" +#: validation.py:84 +#, python-brace-format +msgid "File \"{file_name}\": SVG file format not recognized" +msgstr "" + +#~ msgid "Resize parameters must be choosen." +#~ msgstr "Resize parameters must be choosen." + +#~ msgid "Choose resize parameters:" +#~ msgstr "Choose resize parameters:" + #~ msgid "Open file" #~ msgstr "Open file" diff --git a/filer/locale/nl_NL/LC_MESSAGES/django.mo b/filer/locale/nl_NL/LC_MESSAGES/django.mo index 63a2fb59a..e74a4128b 100644 Binary files a/filer/locale/nl_NL/LC_MESSAGES/django.mo and b/filer/locale/nl_NL/LC_MESSAGES/django.mo differ diff --git a/filer/locale/nl_NL/LC_MESSAGES/django.po b/filer/locale/nl_NL/LC_MESSAGES/django.po index fd7ea6206..1332fcfa3 100644 --- a/filer/locale/nl_NL/LC_MESSAGES/django.po +++ b/filer/locale/nl_NL/LC_MESSAGES/django.po @@ -1,7 +1,7 @@ # SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. -# +# # Translators: # Translators: # Translators: @@ -17,187 +17,182 @@ msgid "" msgstr "" "Project-Id-Version: django Filer\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-07-31 22:21+0200\n" +"POT-Creation-Date: 2023-09-26 08:46+0200\n" "PO-Revision-Date: 2012-07-13 15:50+0000\n" "Last-Translator: Stefan van den Eertwegh , 2023\n" "Language-Team: Dutch (Netherlands) (http://app.transifex.com/divio/django-filer/language/nl_NL/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" +"Language: nl_NL\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" -#: admin/clipboardadmin.py:16 +#: admin/clipboardadmin.py:17 +#| msgid "" +#| "ccount doesn't have permissions to rename all of the selected files." msgid "You do not have permission to upload files." msgstr "Je hebt geen rechten om bestanden te uploaden." -#: admin/clipboardadmin.py:17 +#: admin/clipboardadmin.py:18 msgid "Can't find folder to upload. Please refresh and try again" -msgstr "" -"Kan map niet vinden om te uploaden. Herlaad de pagina en probeer het opnieuw." +msgstr "Kan map niet vinden om te uploaden. Herlaad de pagina en probeer het opnieuw." -#: admin/clipboardadmin.py:19 -msgid "Can't use this folder, Permission Denied. Please select another folder." +#: admin/clipboardadmin.py:20 +msgid "" +"Can't use this folder, Permission Denied. Please select another folder." msgstr "Kan deze map niet gebruiken, rechten geweigerd. Kies een andere map." -#: admin/fileadmin.py:47 +#: admin/fileadmin.py:73 msgid "Advanced" msgstr "Geavanceerd" -#: admin/fileadmin.py:162 +#: admin/fileadmin.py:188 msgid "canonical URL" msgstr "canonieke URL" -#: admin/folderadmin.py:399 admin/folderadmin.py:570 +#: admin/folderadmin.py:411 admin/folderadmin.py:582 msgid "" "Items must be selected in order to perform actions on them. No items have " "been changed." -msgstr "" -"De actie kan niet worden uitgevoerd omdat er zijn geen items geselecteerd." +msgstr "De actie kan niet worden uitgevoerd omdat er zijn geen items geselecteerd." -#: admin/folderadmin.py:422 +#: admin/folderadmin.py:434 #, python-format msgid "%(total_count)s selected" msgid_plural "All %(total_count)s selected" msgstr[0] "%(total_count)s geselecteerd" msgstr[1] "Alle %(total_count)s geselecteerd" -#: admin/folderadmin.py:448 +#: admin/folderadmin.py:460 #, python-format msgid "Directory listing for %(folder_name)s" msgstr "Inhoud van map %(folder_name)s" -#: admin/folderadmin.py:463 +#: admin/folderadmin.py:475 #, python-format msgid "0 of %(cnt)s selected" msgstr "0 van %(cnt)s geselecteerd" -#: admin/folderadmin.py:600 +#: admin/folderadmin.py:612 msgid "No action selected." msgstr "Geen actie geselecteerd." -#: admin/folderadmin.py:652 +#: admin/folderadmin.py:664 #, python-format msgid "Successfully moved %(count)d files to clipboard." msgstr "%(count)d bestanden zijn succesvol verplaatst naar het klembord." -#: admin/folderadmin.py:657 +#: admin/folderadmin.py:669 msgid "Move selected files to clipboard" msgstr "Verplaats geselecteerde bestanden naar het klembord" -#: admin/folderadmin.py:697 +#: admin/folderadmin.py:709 #, python-format msgid "Successfully disabled permissions for %(count)d files." msgstr "Toegangsrechten succesvol uitgeschakeld voor %(count)d bestanden." -#: admin/folderadmin.py:699 +#: admin/folderadmin.py:711 #, python-format msgid "Successfully enabled permissions for %(count)d files." msgstr "Toegangsrechten succesvol ingeschakeld voor %(count)d bestanden." -#: admin/folderadmin.py:707 +#: admin/folderadmin.py:719 msgid "Enable permissions for selected files" msgstr "Schakel toegangsrechten in voor geselecteerde bestanden" -#: admin/folderadmin.py:713 +#: admin/folderadmin.py:725 msgid "Disable permissions for selected files" msgstr "Schakel toegangsrechten uit voor geselecteerde bestanden" -#: admin/folderadmin.py:777 +#: admin/folderadmin.py:789 #, python-format msgid "Successfully deleted %(count)d files and/or folders." msgstr "%(count)d bestanden en/of mappen zijn succesvol verwijderd." -#: admin/folderadmin.py:782 +#: admin/folderadmin.py:794 msgid "Cannot delete files and/or folders" msgstr "Bestanden en/of mappen kunnen niet worden verwijderd" -#: admin/folderadmin.py:784 +#: admin/folderadmin.py:796 msgid "Are you sure?" msgstr "Weet je het zeker?" -#: admin/folderadmin.py:790 +#: admin/folderadmin.py:802 msgid "Delete files and/or folders" msgstr "Verwijder bestanden en/of mappen" -#: admin/folderadmin.py:811 +#: admin/folderadmin.py:823 msgid "Delete selected files and/or folders" msgstr "Verwijder geselecteerde bestanden en/of mappen" -#: admin/folderadmin.py:918 +#: admin/folderadmin.py:930 #, python-format msgid "Folders with names %s already exist at the selected destination" msgstr "Er bestaan al mappen met de namen %s op de geselecteerde bestemming" -#: admin/folderadmin.py:922 +#: admin/folderadmin.py:934 #, python-format msgid "" "Successfully moved %(count)d files and/or folders to folder " "'%(destination)s'." -msgstr "" -"%(count)d bestanden en of mappen zijn succesvol verplaatst naar map " -"'%(destination)s'." +msgstr "%(count)d bestanden en of mappen zijn succesvol verplaatst naar map '%(destination)s'." -#: admin/folderadmin.py:930 admin/folderadmin.py:932 +#: admin/folderadmin.py:942 admin/folderadmin.py:944 msgid "Move files and/or folders" msgstr "Verplaats bestanden en/of mappen" -#: admin/folderadmin.py:947 +#: admin/folderadmin.py:959 msgid "Move selected files and/or folders" msgstr "Verplaats geselecteerde bestanden en/of mappen" -#: admin/folderadmin.py:1004 +#: admin/folderadmin.py:1016 #, python-format msgid "Successfully renamed %(count)d files." msgstr "%(count)d bestanden zijn succesvol hernoemd." -#: admin/folderadmin.py:1013 admin/folderadmin.py:1015 -#: admin/folderadmin.py:1030 +#: admin/folderadmin.py:1025 admin/folderadmin.py:1027 +#: admin/folderadmin.py:1042 msgid "Rename files" msgstr "Hernoem bestanden" -#: admin/folderadmin.py:1125 +#: admin/folderadmin.py:1137 #, python-format msgid "" "Successfully copied %(count)d files and/or folders to folder " "'%(destination)s'." -msgstr "" -"%(count)d bestanden en/of mappen zijn succesvol gekopieerd naar map " -"'%(destination)s'." +msgstr "%(count)d bestanden en/of mappen zijn succesvol gekopieerd naar map '%(destination)s'." -#: admin/folderadmin.py:1143 admin/folderadmin.py:1145 +#: admin/folderadmin.py:1155 admin/folderadmin.py:1157 msgid "Copy files and/or folders" msgstr "Kopieer bestanden en/of mappen" -#: admin/folderadmin.py:1162 +#: admin/folderadmin.py:1174 msgid "Copy selected files and/or folders" msgstr "Kopieer geselecteerde bestanden en/of mappen" -#: admin/folderadmin.py:1267 +#: admin/folderadmin.py:1279 #, python-format msgid "Successfully resized %(count)d images." msgstr "Afmetingen van %(count)d afbeeldingen zijn succesvol aangepast." -#: admin/folderadmin.py:1274 admin/folderadmin.py:1276 +#: admin/folderadmin.py:1286 admin/folderadmin.py:1288 msgid "Resize images" msgstr "Afmetingen aanpassen" -#: admin/folderadmin.py:1292 +#: admin/folderadmin.py:1303 msgid "Resize selected images" msgstr "Afmetingen aanpassen van geselecteerde afbeeldingen" #: admin/forms.py:24 msgid "Suffix which will be appended to filenames of copied files." -msgstr "" -"Achtervoegsel wordt toegevoegd aan bestandsnaam van gekopieerde bestanden" +msgstr "Achtervoegsel wordt toegevoegd aan bestandsnaam van gekopieerde bestanden" #: admin/forms.py:31 #, python-format msgid "" "Suffix should be a valid, simple and lowercase filename part, like " "\"%(valid)s\"." -msgstr "" -"Achtervoegsel moet een geldige waarde zijn in kleine letters, bv. " -"\"%(valid)s\"." +msgstr "Achtervoegsel moet een geldige waarde zijn in kleine letters, bv. \"%(valid)s\"." #: admin/forms.py:52 #, python-format @@ -209,34 +204,30 @@ msgstr "Type \"%(key)s\" voor het hernoemen van bestandsnamen is ongeldig." msgid "Invalid rename format: %(error)s." msgstr "Ongeldige waarde voor het hernoemen van bestandsnamen: %(error)s." -#: admin/forms.py:64 models/thumbnailoptionmodels.py:37 +#: admin/forms.py:68 models/thumbnailoptionmodels.py:37 msgid "thumbnail option" msgstr "thumbnail optie" -#: admin/forms.py:67 models/thumbnailoptionmodels.py:15 +#: admin/forms.py:72 models/thumbnailoptionmodels.py:15 msgid "width" msgstr "breedte" -#: admin/forms.py:68 models/thumbnailoptionmodels.py:20 +#: admin/forms.py:73 models/thumbnailoptionmodels.py:20 msgid "height" msgstr "hoogte" -#: admin/forms.py:69 models/thumbnailoptionmodels.py:25 +#: admin/forms.py:74 models/thumbnailoptionmodels.py:25 msgid "crop" msgstr "uitsnijden" -#: admin/forms.py:70 models/thumbnailoptionmodels.py:30 +#: admin/forms.py:75 models/thumbnailoptionmodels.py:30 msgid "upscale" msgstr "opschalen" -#: admin/forms.py:75 +#: admin/forms.py:79 msgid "Thumbnail option or resize parameters must be choosen." msgstr "Thumbnail optie of afmetingsopties moet zijn geselecteerd" -#: admin/forms.py:77 -msgid "Resize parameters must be choosen." -msgstr "Afmetingsopties moeten zijn geselecteerd" - #: admin/imageadmin.py:18 admin/imageadmin.py:105 msgid "Subject location" msgstr "Locatie van onderwerp" @@ -280,26 +271,42 @@ msgstr "Bestandsbeheer" msgid "Media library" msgstr "Mediabibliotheek" -#: models/abstract.py:49 +#: models/abstract.py:62 msgid "default alt text" msgstr "standaard alt. tekst" -#: models/abstract.py:56 +#: models/abstract.py:69 msgid "default caption" msgstr "standaard titel" -#: models/abstract.py:63 +#: models/abstract.py:76 msgid "subject location" msgstr "locatie van onderwerp" -#: models/abstract.py:78 +#: models/abstract.py:91 msgid "image" msgstr "afbeelding" -#: models/abstract.py:79 +#: models/abstract.py:92 msgid "images" msgstr "afbeeldingen" +#: models/abstract.py:147 +#, python-format +msgid "" +"Image format not recognized or image size exceeds limit of %(max_pixels)d " +"million pixels by a factor of two or more. Before uploading again, check " +"file format or resize image to %(width)d x %(height)d resolution or lower." +msgstr "Afbeelding formaat niet herkend of afbeelding grootte overtreft limiet van %(max_pixels)d miljoen pixels bij een factor twee of meer. Voor opnieuw uploaden, check bestandsformaat of wijzig grootte afbeelding van %(width)d x %(height)d resolutie of lager." + +#: models/abstract.py:156 +#, python-format +msgid "" +"Image size (%(pixels)d million pixels) exceeds limit of %(max_pixels)d " +"million pixels. Before uploading again, resize image to %(width)d x " +"%(height)d resolution or lower." +msgstr "Afbeelding grootte (%(pixels)d miljoen pixels) overtreft limiet van %(max_pixels)d miljoen pixels. Voor het opnieuw uploaden, afbeelding grootte van %(width)d x %(height)d resolutie of lager." + #: models/clipboardmodels.py:11 models/foldermodels.py:289 msgid "user" msgstr "gebruiker" @@ -382,9 +389,7 @@ msgstr "Toegangsrechten uitgeschakeld" msgid "" "Disable any permission checking for this file. File will be publicly " "accessible to anyone." -msgstr "" -"Schakel controle op toegangsrechten uit voor dit bestand. Het bestand zal " -"publiek toegankelijk zijn voor iedereen" +msgstr "Schakel controle op toegangsrechten uit voor dit bestand. Het bestand zal publiek toegankelijk zijn voor iedereen" #: models/foldermodels.py:94 msgid "parent" @@ -477,6 +482,7 @@ msgid "At least one of user, group, or \"everybody\" has to be selected." msgstr "Ten minste één gebruiker, groep of \"iedereen\" moet worden geselecteerd." #: models/foldermodels.py:360 +#| msgid "Folders" msgid "All Folders" msgstr "Alle Mappen" @@ -495,6 +501,7 @@ msgid "Group: {group}" msgstr "Groep: {group}" #: models/foldermodels.py:375 +#| msgid "everybody" msgid "Everybody" msgstr "Iedereen" @@ -507,6 +514,7 @@ msgid "Read" msgstr "Lezen" #: models/foldermodels.py:390 +#| msgid "can add children" msgid "Add children" msgstr "Toevoegen kinderen" @@ -561,6 +569,7 @@ msgid "Show table view" msgstr "Toon tabel weergave" #: settings.py:278 +#| msgid "thumbnail option" msgid "Show thumbnail view" msgstr "Toon thumbnail weergave" @@ -628,27 +637,19 @@ msgid "" "Deleting the selected files and/or folders would result in deleting related " "objects, but your account doesn't have permission to delete the following " "types of objects:" -msgstr "" -"Het verwijderen van de geselecteerde bestanden en/of mappen resulteert in " -"het verwijderen van gerelateerde objecten. Je hebt echter geen " -"toegangsrechten voor het verwijderen van de volgende objecttypes:" +msgstr "Het verwijderen van de geselecteerde bestanden en/of mappen resulteert in het verwijderen van gerelateerde objecten. Je hebt echter geen toegangsrechten voor het verwijderen van de volgende objecttypes:" #: templates/admin/filer/delete_selected_files_confirmation.html:19 msgid "" "Deleting the selected files and/or folders would require deleting the " "following protected related objects:" -msgstr "" -"Het verwijderen van de geselecteerde bestanden en/of mappen leidt tot het " -"verwijderen van de volgende beschermde gerelateerde objecten:" +msgstr "Het verwijderen van de geselecteerde bestanden en/of mappen leidt tot het verwijderen van de volgende beschermde gerelateerde objecten:" #: templates/admin/filer/delete_selected_files_confirmation.html:27 msgid "" "Are you sure you want to delete the selected files and/or folders? All of " "the following objects and their related items will be deleted:" -msgstr "" -"Weet je zeker dat je de geselecteerde bestanden en/of folders wilt " -"verwijderen? Alle volgende objecten en gerelateerde items zullen worden " -"verwijderd: " +msgstr "Weet je zeker dat je de geselecteerde bestanden en/of folders wilt verwijderen? Alle volgende objecten en gerelateerde items zullen worden verwijderd: " #: templates/admin/filer/delete_selected_files_confirmation.html:46 #: templates/admin/filer/folder/choose_copy_destination.html:64 @@ -697,11 +698,9 @@ msgstr "Map icoon" #: templates/admin/filer/folder/choose_copy_destination.html:23 msgid "" -"Your account doesn't have permissions to copy all of the selected files and/" -"or folders." -msgstr "" -"Je account heeft geen toegangsrechten voor het kopiëren van de geselecteerde " -"bestanden en/of mappen" +"Your account doesn't have permissions to copy all of the selected files " +"and/or folders." +msgstr "Je account heeft geen toegangsrechten voor het kopiëren van de geselecteerde bestanden en/of mappen" #: templates/admin/filer/folder/choose_copy_destination.html:25 #: templates/admin/filer/folder/choose_copy_destination.html:31 @@ -725,9 +724,7 @@ msgstr "Er zijn geen bestanden en/of mappen beschikbaar om te kopiëren." msgid "" "The following files and/or folders will be copied to a destination folder " "(retaining their tree structure):" -msgstr "" -"De volgende bestanden en/of mappen zullen worden gekopieerd naar een " -"bestemmingsmap (structuur blijft behouden):" +msgstr "De volgende bestanden en/of mappen zullen worden gekopieerd naar een bestemmingsmap (structuur blijft behouden):" #: templates/admin/filer/folder/choose_copy_destination.html:54 #: templates/admin/filer/folder/choose_move_destination.html:64 @@ -747,47 +744,35 @@ msgstr "Het is niet toegestaan om bestanden naar dezelfde map te kopiëren" #: templates/admin/filer/folder/choose_images_resize_options.html:15 msgid "" "Your account doesn't have permissions to resize all of the selected images." -msgstr "" -"Je account heeft geen toegangsrechten om afmetingen van alle geselecteerde " -"afbeeldingen aan te passen." +msgstr "Je account heeft geen toegangsrechten om afmetingen van alle geselecteerde afbeeldingen aan te passen." #: templates/admin/filer/folder/choose_images_resize_options.html:18 msgid "There are no images available to resize." -msgstr "" -"Er zijn geen afbeeldingen beschikbaar voor het aanpassen van afmetingen." +msgstr "Er zijn geen afbeeldingen beschikbaar voor het aanpassen van afmetingen." #: templates/admin/filer/folder/choose_images_resize_options.html:20 msgid "The following images will be resized:" msgstr "De afmetingen van de volgende afbeeldingen zullen worden aangepast:" -#: templates/admin/filer/folder/choose_images_resize_options.html:33 +#: templates/admin/filer/folder/choose_images_resize_options.html:32 msgid "Choose an existing thumbnail option or enter resize parameters:" msgstr "Kies een bestaande thumbnail optie of voer afmetingsopties in:" -#: templates/admin/filer/folder/choose_images_resize_options.html:35 -msgid "Choose resize parameters:" -msgstr "Selecteer afmetingsopties:" - -#: templates/admin/filer/folder/choose_images_resize_options.html:38 +#: templates/admin/filer/folder/choose_images_resize_options.html:36 msgid "" "Warning: Images will be resized in-place and originals will be lost. Maybe " "first make a copy of them to retain the originals." -msgstr "" -"Waarschuwing: bestaande afmetingen van afbeeldingen zullen worden aangepast. " -"Oorspronkelijke bestanden zullen verloren gaan. Maak eventueel eerst een " -"kopie om de oorspronkelijke bestanden te behouden." +msgstr "Waarschuwing: bestaande afmetingen van afbeeldingen zullen worden aangepast. Oorspronkelijke bestanden zullen verloren gaan. Maak eventueel eerst een kopie om de oorspronkelijke bestanden te behouden." -#: templates/admin/filer/folder/choose_images_resize_options.html:41 +#: templates/admin/filer/folder/choose_images_resize_options.html:39 msgid "Resize" msgstr "Afmetingen aanpassen" #: templates/admin/filer/folder/choose_move_destination.html:35 msgid "" -"Your account doesn't have permissions to move all of the selected files and/" -"or folders." -msgstr "" -"Je account heeft geen toegangsrechten om alle geselecteerde bestanden en/of " -"mappen te verplaatsen." +"Your account doesn't have permissions to move all of the selected files " +"and/or folders." +msgstr "Je account heeft geen toegangsrechten om alle geselecteerde bestanden en/of mappen te verplaatsen." #: templates/admin/filer/folder/choose_move_destination.html:47 msgid "There are no files and/or folders available to move." @@ -797,9 +782,7 @@ msgstr "Er zijn geen bestanden en/of mappen beschikbaar om te verplaatsen." msgid "" "The following files and/or folders will be moved to a destination folder " "(retaining their tree structure):" -msgstr "" -"De volgende bestanden en/of mappen zullen worden verplaatst naar een " -"bestemmingsmap (huidige mapstructuur blijft behouden): " +msgstr "De volgende bestanden en/of mappen zullen worden verplaatst naar een bestemmingsmap (huidige mapstructuur blijft behouden): " #: templates/admin/filer/folder/choose_move_destination.html:73 #: templates/admin/filer/folder/choose_move_destination.html:76 @@ -814,9 +797,7 @@ msgstr "Het is niet toegestaan om bestanden naar dezelfde map te verplaatsen" #: templates/admin/filer/folder/choose_rename_format.html:15 msgid "" "Your account doesn't have permissions to rename all of the selected files." -msgstr "" -"Je account heeft onvoldoende toegangsrechten om alle geselecteerde bestanden " -"te hernoemen." +msgstr "Je account heeft onvoldoende toegangsrechten om alle geselecteerde bestanden te hernoemen." #: templates/admin/filer/folder/choose_rename_format.html:18 msgid "There are no files available to rename." @@ -826,10 +807,7 @@ msgstr "Er zijn geen bestanden beschikbaar om te hernoemen." msgid "" "The following files will be renamed (they will stay in their folders and " "keep original filename, only displayed filename will be changed):" -msgstr "" -"De volgende bestanden zullen worden hernoemd (de oorspronkelijke " -"mapstructuur en bestandsnamen blijven behouden, alleen de weergave zal " -"worden gewijzigd):" +msgstr "De volgende bestanden zullen worden hernoemd (de oorspronkelijke mapstructuur en bestandsnamen blijven behouden, alleen de weergave zal worden gewijzigd):" #: templates/admin/filer/folder/choose_rename_format.html:59 msgid "Rename" @@ -984,11 +962,13 @@ msgstr "ingeschakeld" #: templates/admin/filer/folder/directory_table_list.html:144 #, python-format +#| msgid "Change '%(item_label)s' details" msgid "Canonical url '%(item_label)s'" msgstr "Gebruikelijke url '%(item_label)s'" #: templates/admin/filer/folder/directory_table_list.html:148 #, python-format +#| msgid "Change '%(item_label)s' details" msgid "Download '%(item_label)s'" msgstr "Download '%(item_label)s'" @@ -1050,10 +1030,12 @@ msgstr "Selecteer alle %(total_count)s" #: templates/admin/filer/folder/directory_thumbnail_list.html:15 #: templates/admin/filer/folder/directory_thumbnail_list.html:80 +#| msgid "Select this file" msgid "Select all" msgstr "Alles selecteren" #: templates/admin/filer/folder/directory_thumbnail_list.html:77 +#| msgid "Filer" msgid "Files" msgstr "Bestanden" @@ -1118,7 +1100,8 @@ msgstr "Uitvouwen" #: templates/admin/filer/tools/detail_info.html:20 #: templates/admin/filer/widgets/admin_file.html:32 -#: templatetags/filer_admin_tags.py:107 +#: templatetags/filer_admin_tags.py:108 +#| msgid "file missing" msgid "File is missing" msgstr "Bestand ontbreekt" @@ -1174,38 +1157,42 @@ msgid "Choose File" msgstr "Kies bestand" #: templates/admin/filer/widgets/admin_folder.html:16 +#| msgid "Choose File" msgid "Choose Folder" msgstr "Kies Map" -#: validation.py:19 +#: validation.py:20 #, python-brace-format msgid "File \"{file_name}\": Upload denied by site security policy" -msgstr "" -"Bestand \"{file_name}\": Upload geweigerd door het beveiligingsbeleid van de " -"site" +msgstr "Bestand \"{file_name}\": Upload geweigerd door het beveiligingsbeleid van de site" -#: validation.py:22 +#: validation.py:23 #, python-brace-format msgid "File \"{file_name}\": {file_type} upload denied by site security policy" -msgstr "" -"Bestand \"{file_name}\": {file_type} upload geweigerd door het " -"beveiligingsbeleid van de site" +msgstr "Bestand \"{file_name}\": {file_type} upload geweigerd door het beveiligingsbeleid van de site" -#: validation.py:33 +#: validation.py:34 #, python-brace-format msgid "File \"{file_name}\": HTML upload denied by site security policy" -msgstr "" -"Bestand \"{file_name}\": HTML upload geweigerd door het beveiligingsbeleid " -"van de site" +msgstr "Bestand \"{file_name}\": HTML upload geweigerd door het beveiligingsbeleid van de site" -#: validation.py:71 +#: validation.py:72 #, python-brace-format msgid "" "File \"{file_name}\": Rejected due to potential cross site scripting " "vulnerability" -msgstr "" -"Bestand \"{file_name}\": Afgewezen wegens mogelijke kwetsbaarheid voor cross-" -"site scripting" +msgstr "Bestand \"{file_name}\": Afgewezen wegens mogelijke kwetsbaarheid voor cross-site scripting" + +#: validation.py:84 +#, python-brace-format +msgid "File \"{file_name}\": SVG file format not recognized" +msgstr "Bestand \"{file_name}\": SVG bestandsformaat niet herkend" + +#~ msgid "Resize parameters must be choosen." +#~ msgstr "Resize parameters must be choosen." + +#~ msgid "Choose resize parameters:" +#~ msgstr "Choose resize parameters:" #~ msgid "Open file" #~ msgstr "Open file" diff --git a/filer/locale/nn/LC_MESSAGES/django.mo b/filer/locale/nn/LC_MESSAGES/django.mo index 9c240da45..379659ff7 100644 Binary files a/filer/locale/nn/LC_MESSAGES/django.mo and b/filer/locale/nn/LC_MESSAGES/django.mo differ diff --git a/filer/locale/nn/LC_MESSAGES/django.po b/filer/locale/nn/LC_MESSAGES/django.po index add59b2a5..1d4d5a0d1 100644 --- a/filer/locale/nn/LC_MESSAGES/django.po +++ b/filer/locale/nn/LC_MESSAGES/django.po @@ -11,7 +11,7 @@ msgid "" msgstr "" "Project-Id-Version: django Filer\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-07-31 22:21+0200\n" +"POT-Creation-Date: 2023-09-26 08:46+0200\n" "PO-Revision-Date: 2012-07-13 15:50+0000\n" "Last-Translator: Eirik Krogstad , 2013\n" "Language-Team: Norwegian Nynorsk (http://app.transifex.com/divio/django-" @@ -22,27 +22,27 @@ msgstr "" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" -#: admin/clipboardadmin.py:16 +#: admin/clipboardadmin.py:17 msgid "You do not have permission to upload files." msgstr "" -#: admin/clipboardadmin.py:17 +#: admin/clipboardadmin.py:18 msgid "Can't find folder to upload. Please refresh and try again" msgstr "" -#: admin/clipboardadmin.py:19 +#: admin/clipboardadmin.py:20 msgid "Can't use this folder, Permission Denied. Please select another folder." msgstr "" -#: admin/fileadmin.py:47 +#: admin/fileadmin.py:73 msgid "Advanced" msgstr "Avansert" -#: admin/fileadmin.py:162 +#: admin/fileadmin.py:188 msgid "canonical URL" msgstr "" -#: admin/folderadmin.py:399 admin/folderadmin.py:570 +#: admin/folderadmin.py:411 admin/folderadmin.py:582 msgid "" "Items must be selected in order to perform actions on them. No items have " "been changed." @@ -50,106 +50,106 @@ msgstr "" "Element må vere vald for å utføre handlingar på dei. Ingen element vart " "endra." -#: admin/folderadmin.py:422 +#: admin/folderadmin.py:434 #, python-format msgid "%(total_count)s selected" msgid_plural "All %(total_count)s selected" msgstr[0] "%(total_count)s vald" msgstr[1] "Alle %(total_count)s vald" -#: admin/folderadmin.py:448 +#: admin/folderadmin.py:460 #, python-format msgid "Directory listing for %(folder_name)s" msgstr "" -#: admin/folderadmin.py:463 +#: admin/folderadmin.py:475 #, python-format msgid "0 of %(cnt)s selected" msgstr "0 av %(cnt)s vald" -#: admin/folderadmin.py:600 +#: admin/folderadmin.py:612 msgid "No action selected." msgstr "Ingen handling vald." -#: admin/folderadmin.py:652 +#: admin/folderadmin.py:664 #, python-format msgid "Successfully moved %(count)d files to clipboard." msgstr "Flytta %(count)d filer til utklippstavla." -#: admin/folderadmin.py:657 +#: admin/folderadmin.py:669 msgid "Move selected files to clipboard" msgstr "Flytt valde filer til utklippstavla" -#: admin/folderadmin.py:697 +#: admin/folderadmin.py:709 #, python-format msgid "Successfully disabled permissions for %(count)d files." msgstr "Fjerna løyve for %(count)d filer." -#: admin/folderadmin.py:699 +#: admin/folderadmin.py:711 #, python-format msgid "Successfully enabled permissions for %(count)d files." msgstr "Satte løyve for %(count)d filer." -#: admin/folderadmin.py:707 +#: admin/folderadmin.py:719 msgid "Enable permissions for selected files" msgstr "Sett løyve for valde filer" -#: admin/folderadmin.py:713 +#: admin/folderadmin.py:725 msgid "Disable permissions for selected files" msgstr "Fjern løyve for valde filer" -#: admin/folderadmin.py:777 +#: admin/folderadmin.py:789 #, python-format msgid "Successfully deleted %(count)d files and/or folders." msgstr "Sletta %(count)d filer og/eller mapper." -#: admin/folderadmin.py:782 +#: admin/folderadmin.py:794 msgid "Cannot delete files and/or folders" msgstr "Kan ikkje slette filer og/eller mapper" -#: admin/folderadmin.py:784 +#: admin/folderadmin.py:796 msgid "Are you sure?" msgstr "Er du sikker?" -#: admin/folderadmin.py:790 +#: admin/folderadmin.py:802 msgid "Delete files and/or folders" msgstr "Slett filer og/eller mapper" -#: admin/folderadmin.py:811 +#: admin/folderadmin.py:823 msgid "Delete selected files and/or folders" msgstr "Slett valde filer og/eller mapper" -#: admin/folderadmin.py:918 +#: admin/folderadmin.py:930 #, python-format msgid "Folders with names %s already exist at the selected destination" msgstr "" -#: admin/folderadmin.py:922 +#: admin/folderadmin.py:934 #, python-format msgid "" "Successfully moved %(count)d files and/or folders to folder " "'%(destination)s'." msgstr "Flytta %(count)d filer og/eller mapper til mappa \"%(destination)s\"." -#: admin/folderadmin.py:930 admin/folderadmin.py:932 +#: admin/folderadmin.py:942 admin/folderadmin.py:944 msgid "Move files and/or folders" msgstr "Flytt filer og/eller mapper" -#: admin/folderadmin.py:947 +#: admin/folderadmin.py:959 msgid "Move selected files and/or folders" msgstr "Flytt valde filer og/eller mapper" -#: admin/folderadmin.py:1004 +#: admin/folderadmin.py:1016 #, python-format msgid "Successfully renamed %(count)d files." msgstr "Endra namn på %(count)d filer." -#: admin/folderadmin.py:1013 admin/folderadmin.py:1015 -#: admin/folderadmin.py:1030 +#: admin/folderadmin.py:1025 admin/folderadmin.py:1027 +#: admin/folderadmin.py:1042 msgid "Rename files" msgstr "Endre namn på filer" -#: admin/folderadmin.py:1125 +#: admin/folderadmin.py:1137 #, python-format msgid "" "Successfully copied %(count)d files and/or folders to folder " @@ -157,24 +157,24 @@ msgid "" msgstr "" "Kopierte %(count)d filer og/eller mapper til mappa \"%(destination)s\"." -#: admin/folderadmin.py:1143 admin/folderadmin.py:1145 +#: admin/folderadmin.py:1155 admin/folderadmin.py:1157 msgid "Copy files and/or folders" msgstr "Kopier filer og/eller mapper" -#: admin/folderadmin.py:1162 +#: admin/folderadmin.py:1174 msgid "Copy selected files and/or folders" msgstr "Kopier valde filer og/eller mapper" -#: admin/folderadmin.py:1267 +#: admin/folderadmin.py:1279 #, python-format msgid "Successfully resized %(count)d images." msgstr "Endra storleik på %(count)d bilete." -#: admin/folderadmin.py:1274 admin/folderadmin.py:1276 +#: admin/folderadmin.py:1286 admin/folderadmin.py:1288 msgid "Resize images" msgstr "Endre storleik på bilete" -#: admin/folderadmin.py:1292 +#: admin/folderadmin.py:1303 msgid "Resize selected images" msgstr "Endre storleik på valde bilete" @@ -201,34 +201,30 @@ msgstr "Ugyldig nykel \"%(key)s\" for endring av namn." msgid "Invalid rename format: %(error)s." msgstr "Ugyldig format for endring av namn: %(error)s" -#: admin/forms.py:64 models/thumbnailoptionmodels.py:37 +#: admin/forms.py:68 models/thumbnailoptionmodels.py:37 msgid "thumbnail option" msgstr "miniatyrbileteval" -#: admin/forms.py:67 models/thumbnailoptionmodels.py:15 +#: admin/forms.py:72 models/thumbnailoptionmodels.py:15 msgid "width" msgstr "breidd" -#: admin/forms.py:68 models/thumbnailoptionmodels.py:20 +#: admin/forms.py:73 models/thumbnailoptionmodels.py:20 msgid "height" msgstr "høgd" -#: admin/forms.py:69 models/thumbnailoptionmodels.py:25 +#: admin/forms.py:74 models/thumbnailoptionmodels.py:25 msgid "crop" msgstr "skjering" -#: admin/forms.py:70 models/thumbnailoptionmodels.py:30 +#: admin/forms.py:75 models/thumbnailoptionmodels.py:30 msgid "upscale" msgstr "oppskalering" -#: admin/forms.py:75 +#: admin/forms.py:79 msgid "Thumbnail option or resize parameters must be choosen." msgstr "Miniatyrbileteval eller parametrar for endring av storleik må veljast." -#: admin/forms.py:77 -msgid "Resize parameters must be choosen." -msgstr "Parametrar for endring av storleik må veljast." - #: admin/imageadmin.py:18 admin/imageadmin.py:105 msgid "Subject location" msgstr "Fokuseringsområde" @@ -272,26 +268,42 @@ msgstr "Filer" msgid "Media library" msgstr "" -#: models/abstract.py:49 +#: models/abstract.py:62 msgid "default alt text" msgstr "standard alternativtekst" -#: models/abstract.py:56 +#: models/abstract.py:69 msgid "default caption" msgstr "standard undertekst" -#: models/abstract.py:63 +#: models/abstract.py:76 msgid "subject location" msgstr "fokuseringsområde" -#: models/abstract.py:78 +#: models/abstract.py:91 msgid "image" msgstr "bilete" -#: models/abstract.py:79 +#: models/abstract.py:92 msgid "images" msgstr "bilete" +#: models/abstract.py:147 +#, python-format +msgid "" +"Image format not recognized or image size exceeds limit of %(max_pixels)d " +"million pixels by a factor of two or more. Before uploading again, check " +"file format or resize image to %(width)d x %(height)d resolution or lower." +msgstr "" + +#: models/abstract.py:156 +#, python-format +msgid "" +"Image size (%(pixels)d million pixels) exceeds limit of %(max_pixels)d " +"million pixels. Before uploading again, resize image to %(width)d x " +"%(height)d resolution or lower." +msgstr "" + #: models/clipboardmodels.py:11 models/foldermodels.py:289 msgid "user" msgstr "brukar" @@ -746,17 +758,13 @@ msgstr "Det er ingen bilete å endre storleik på." msgid "The following images will be resized:" msgstr "Dei følgjande bileta vil få endra storleik:" -#: templates/admin/filer/folder/choose_images_resize_options.html:33 +#: templates/admin/filer/folder/choose_images_resize_options.html:32 msgid "Choose an existing thumbnail option or enter resize parameters:" msgstr "" "Vel eit eksisterande miniatyrbileteval eller skriv inn parametrar for " "endring av storleik:" -#: templates/admin/filer/folder/choose_images_resize_options.html:35 -msgid "Choose resize parameters:" -msgstr "Vel parametrar for endring av storleik:" - -#: templates/admin/filer/folder/choose_images_resize_options.html:38 +#: templates/admin/filer/folder/choose_images_resize_options.html:36 msgid "" "Warning: Images will be resized in-place and originals will be lost. Maybe " "first make a copy of them to retain the originals." @@ -764,7 +772,7 @@ msgstr "" "Åtvaring: Bileta vil få sin storleik endra, og originalane vil gå tapt. Det " "kan være ønskjeleg å først gjere ein kopi for å behalde originalane." -#: templates/admin/filer/folder/choose_images_resize_options.html:41 +#: templates/admin/filer/folder/choose_images_resize_options.html:39 msgid "Resize" msgstr "Endre storleik" @@ -1101,7 +1109,7 @@ msgstr "" #: templates/admin/filer/tools/detail_info.html:20 #: templates/admin/filer/widgets/admin_file.html:32 -#: templatetags/filer_admin_tags.py:107 +#: templatetags/filer_admin_tags.py:108 msgid "File is missing" msgstr "" @@ -1160,28 +1168,39 @@ msgstr "" msgid "Choose Folder" msgstr "" -#: validation.py:19 +#: validation.py:20 #, python-brace-format msgid "File \"{file_name}\": Upload denied by site security policy" msgstr "" -#: validation.py:22 +#: validation.py:23 #, python-brace-format msgid "File \"{file_name}\": {file_type} upload denied by site security policy" msgstr "" -#: validation.py:33 +#: validation.py:34 #, python-brace-format msgid "File \"{file_name}\": HTML upload denied by site security policy" msgstr "" -#: validation.py:71 +#: validation.py:72 #, python-brace-format msgid "" "File \"{file_name}\": Rejected due to potential cross site scripting " "vulnerability" msgstr "" +#: validation.py:84 +#, python-brace-format +msgid "File \"{file_name}\": SVG file format not recognized" +msgstr "" + +#~ msgid "Resize parameters must be choosen." +#~ msgstr "Resize parameters must be choosen." + +#~ msgid "Choose resize parameters:" +#~ msgstr "Choose resize parameters:" + #~ msgid "Open file" #~ msgstr "Open file" diff --git a/filer/locale/pl/LC_MESSAGES/django.mo b/filer/locale/pl/LC_MESSAGES/django.mo index 968f62b88..99ec9f2ea 100644 Binary files a/filer/locale/pl/LC_MESSAGES/django.mo and b/filer/locale/pl/LC_MESSAGES/django.mo differ diff --git a/filer/locale/pl/LC_MESSAGES/django.po b/filer/locale/pl/LC_MESSAGES/django.po index 61f99a827..a3ac05842 100644 --- a/filer/locale/pl/LC_MESSAGES/django.po +++ b/filer/locale/pl/LC_MESSAGES/django.po @@ -13,7 +13,7 @@ msgid "" msgstr "" "Project-Id-Version: django Filer\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-07-31 22:21+0200\n" +"POT-Creation-Date: 2023-09-26 08:46+0200\n" "PO-Revision-Date: 2012-07-13 15:50+0000\n" "Last-Translator: Grzegorz Biały , 2017\n" "Language-Team: Polish (http://app.transifex.com/divio/django-filer/language/" @@ -26,27 +26,27 @@ msgstr "" "(n%100<12 || n%100>14) ? 1 : n!=1 && (n%10>=0 && n%10<=1) || (n%10>=5 && " "n%10<=9) || (n%100>=12 && n%100<=14) ? 2 : 3);\n" -#: admin/clipboardadmin.py:16 +#: admin/clipboardadmin.py:17 msgid "You do not have permission to upload files." msgstr "" -#: admin/clipboardadmin.py:17 +#: admin/clipboardadmin.py:18 msgid "Can't find folder to upload. Please refresh and try again" msgstr "" -#: admin/clipboardadmin.py:19 +#: admin/clipboardadmin.py:20 msgid "Can't use this folder, Permission Denied. Please select another folder." msgstr "" -#: admin/fileadmin.py:47 +#: admin/fileadmin.py:73 msgid "Advanced" msgstr "Zaawansowane" -#: admin/fileadmin.py:162 +#: admin/fileadmin.py:188 msgid "canonical URL" msgstr "kanoniczny URL" -#: admin/folderadmin.py:399 admin/folderadmin.py:570 +#: admin/folderadmin.py:411 admin/folderadmin.py:582 msgid "" "Items must be selected in order to perform actions on them. No items have " "been changed." @@ -54,7 +54,7 @@ msgstr "" "Należy zaznaczyć elementy aby wykonań na nich jakąś akcję. Nie zaznaczono " "żadnych elementów." -#: admin/folderadmin.py:422 +#: admin/folderadmin.py:434 #, python-format msgid "%(total_count)s selected" msgid_plural "All %(total_count)s selected" @@ -63,74 +63,74 @@ msgstr[1] "zaznaczono %(total_count)s" msgstr[2] "Zaznaczono wszystkie %(total_count)s" msgstr[3] "Zaznaczono wszystkie %(total_count)s" -#: admin/folderadmin.py:448 +#: admin/folderadmin.py:460 #, python-format msgid "Directory listing for %(folder_name)s" msgstr "" -#: admin/folderadmin.py:463 +#: admin/folderadmin.py:475 #, python-format msgid "0 of %(cnt)s selected" msgstr "0 z %(cnt)s zaznaczonych" -#: admin/folderadmin.py:600 +#: admin/folderadmin.py:612 msgid "No action selected." msgstr "Nie zaznaczono akcji." -#: admin/folderadmin.py:652 +#: admin/folderadmin.py:664 #, python-format msgid "Successfully moved %(count)d files to clipboard." msgstr "Pomyślnie przeniesiono %(count)d plików do schowka." -#: admin/folderadmin.py:657 +#: admin/folderadmin.py:669 msgid "Move selected files to clipboard" msgstr "Przenieś zaznaczone pliki do schowka" -#: admin/folderadmin.py:697 +#: admin/folderadmin.py:709 #, python-format msgid "Successfully disabled permissions for %(count)d files." msgstr "Pomyślnie wyłączono uprawnienia dla %(count)d plików." -#: admin/folderadmin.py:699 +#: admin/folderadmin.py:711 #, python-format msgid "Successfully enabled permissions for %(count)d files." msgstr "Pomyślnie włączono uprawnienia dla %(count)d plików." -#: admin/folderadmin.py:707 +#: admin/folderadmin.py:719 msgid "Enable permissions for selected files" msgstr "Włącz uprawnienia dla wybranych plików" -#: admin/folderadmin.py:713 +#: admin/folderadmin.py:725 msgid "Disable permissions for selected files" msgstr "Wyłącz uprawnienia dla wybranych plików" -#: admin/folderadmin.py:777 +#: admin/folderadmin.py:789 #, python-format msgid "Successfully deleted %(count)d files and/or folders." msgstr "Pomyślnie usunięto %(count)d plików i/lub katalogów." -#: admin/folderadmin.py:782 +#: admin/folderadmin.py:794 msgid "Cannot delete files and/or folders" msgstr "Nie można usunąć plików i/lub katalogów" -#: admin/folderadmin.py:784 +#: admin/folderadmin.py:796 msgid "Are you sure?" msgstr "Czy na pewno?" -#: admin/folderadmin.py:790 +#: admin/folderadmin.py:802 msgid "Delete files and/or folders" msgstr "Usuń pliki i/lub katalogi" -#: admin/folderadmin.py:811 +#: admin/folderadmin.py:823 msgid "Delete selected files and/or folders" msgstr "Usuń zaznaczone pliki i/lub katalogi" -#: admin/folderadmin.py:918 +#: admin/folderadmin.py:930 #, python-format msgid "Folders with names %s already exist at the selected destination" msgstr "Katalogi z nazwami %s już istnieją w podanej lokacji" -#: admin/folderadmin.py:922 +#: admin/folderadmin.py:934 #, python-format msgid "" "Successfully moved %(count)d files and/or folders to folder " @@ -138,25 +138,25 @@ msgid "" msgstr "" "Pomyślnie przeniesiono %(count)d plików i/lub katalogów do '%(destination)s'." -#: admin/folderadmin.py:930 admin/folderadmin.py:932 +#: admin/folderadmin.py:942 admin/folderadmin.py:944 msgid "Move files and/or folders" msgstr "Przenieś pliki i/lub katalogi" -#: admin/folderadmin.py:947 +#: admin/folderadmin.py:959 msgid "Move selected files and/or folders" msgstr "Przenieś zaznaczone pliki i/lub katalogi" -#: admin/folderadmin.py:1004 +#: admin/folderadmin.py:1016 #, python-format msgid "Successfully renamed %(count)d files." msgstr "Pomyślnie zmieniono nazwę %(count)d plików." -#: admin/folderadmin.py:1013 admin/folderadmin.py:1015 -#: admin/folderadmin.py:1030 +#: admin/folderadmin.py:1025 admin/folderadmin.py:1027 +#: admin/folderadmin.py:1042 msgid "Rename files" msgstr "Zmień nazwy plików" -#: admin/folderadmin.py:1125 +#: admin/folderadmin.py:1137 #, python-format msgid "" "Successfully copied %(count)d files and/or folders to folder " @@ -164,24 +164,24 @@ msgid "" msgstr "" "Pomyślnie skopiowano %(count)d plików i/lub katalogów di '%(destination)s'." -#: admin/folderadmin.py:1143 admin/folderadmin.py:1145 +#: admin/folderadmin.py:1155 admin/folderadmin.py:1157 msgid "Copy files and/or folders" msgstr "Skopiuj pliki i/lub katalogi" -#: admin/folderadmin.py:1162 +#: admin/folderadmin.py:1174 msgid "Copy selected files and/or folders" msgstr "Skopiuj zaznaczone pliki i/lub katalogi" -#: admin/folderadmin.py:1267 +#: admin/folderadmin.py:1279 #, python-format msgid "Successfully resized %(count)d images." msgstr "Pomyślnie zmieniono rozmiar %(count)d obrazów." -#: admin/folderadmin.py:1274 admin/folderadmin.py:1276 +#: admin/folderadmin.py:1286 admin/folderadmin.py:1288 msgid "Resize images" msgstr "Zmień rozmiar obrazów" -#: admin/folderadmin.py:1292 +#: admin/folderadmin.py:1303 msgid "Resize selected images" msgstr "Zmień rozmiar zaznaczonych obrazów" @@ -208,34 +208,30 @@ msgstr "Nieznany format klucza \"%(key)s\"." msgid "Invalid rename format: %(error)s." msgstr "Niepoprawny format: %(error)s." -#: admin/forms.py:64 models/thumbnailoptionmodels.py:37 +#: admin/forms.py:68 models/thumbnailoptionmodels.py:37 msgid "thumbnail option" msgstr "opcje miniatur" -#: admin/forms.py:67 models/thumbnailoptionmodels.py:15 +#: admin/forms.py:72 models/thumbnailoptionmodels.py:15 msgid "width" msgstr "szerokość" -#: admin/forms.py:68 models/thumbnailoptionmodels.py:20 +#: admin/forms.py:73 models/thumbnailoptionmodels.py:20 msgid "height" msgstr "wysokość" -#: admin/forms.py:69 models/thumbnailoptionmodels.py:25 +#: admin/forms.py:74 models/thumbnailoptionmodels.py:25 msgid "crop" msgstr "przytnij" -#: admin/forms.py:70 models/thumbnailoptionmodels.py:30 +#: admin/forms.py:75 models/thumbnailoptionmodels.py:30 msgid "upscale" msgstr "skaluj" -#: admin/forms.py:75 +#: admin/forms.py:79 msgid "Thumbnail option or resize parameters must be choosen." msgstr "Opcja miniatury albo parametry zmiany rozmiaru muszą być określone." -#: admin/forms.py:77 -msgid "Resize parameters must be choosen." -msgstr "Parametry zmiany rozmiaru muszą być określone." - #: admin/imageadmin.py:18 admin/imageadmin.py:105 msgid "Subject location" msgstr "Współrzędne obiektu" @@ -279,26 +275,42 @@ msgstr "Filer" msgid "Media library" msgstr "Biblioteka mediów" -#: models/abstract.py:49 +#: models/abstract.py:62 msgid "default alt text" msgstr "domyślny tekst alternatywny" -#: models/abstract.py:56 +#: models/abstract.py:69 msgid "default caption" msgstr "domyślna etykieta" -#: models/abstract.py:63 +#: models/abstract.py:76 msgid "subject location" msgstr "Współrzędne obiektu" -#: models/abstract.py:78 +#: models/abstract.py:91 msgid "image" msgstr "obraz" -#: models/abstract.py:79 +#: models/abstract.py:92 msgid "images" msgstr "obrazy" +#: models/abstract.py:147 +#, python-format +msgid "" +"Image format not recognized or image size exceeds limit of %(max_pixels)d " +"million pixels by a factor of two or more. Before uploading again, check " +"file format or resize image to %(width)d x %(height)d resolution or lower." +msgstr "" + +#: models/abstract.py:156 +#, python-format +msgid "" +"Image size (%(pixels)d million pixels) exceeds limit of %(max_pixels)d " +"million pixels. Before uploading again, resize image to %(width)d x " +"%(height)d resolution or lower." +msgstr "" + #: models/clipboardmodels.py:11 models/foldermodels.py:289 msgid "user" msgstr "użytkownik" @@ -757,16 +769,12 @@ msgstr "Brak dostępnych obrazów do zmiany ich rozmiaru." msgid "The following images will be resized:" msgstr "Następujące obrazy będą miały zmieniony rozmiar:" -#: templates/admin/filer/folder/choose_images_resize_options.html:33 +#: templates/admin/filer/folder/choose_images_resize_options.html:32 msgid "Choose an existing thumbnail option or enter resize parameters:" msgstr "" "Wybierz istniejącą opcje miniatury albo wprowadź parametry zmiany rozmiaru:" -#: templates/admin/filer/folder/choose_images_resize_options.html:35 -msgid "Choose resize parameters:" -msgstr "Wybierz parametry zmiany rozmiaru:" - -#: templates/admin/filer/folder/choose_images_resize_options.html:38 +#: templates/admin/filer/folder/choose_images_resize_options.html:36 msgid "" "Warning: Images will be resized in-place and originals will be lost. Maybe " "first make a copy of them to retain the originals." @@ -774,7 +782,7 @@ msgstr "" "Uwaga: Rozmiary obrazów zostanie zmienione w miejscu a oryginały zostaną " "utracone. W celu zachowania oryginałów, najpierw wykonaj ich kopię." -#: templates/admin/filer/folder/choose_images_resize_options.html:41 +#: templates/admin/filer/folder/choose_images_resize_options.html:39 msgid "Resize" msgstr "Zmień rozmiar" @@ -1121,7 +1129,7 @@ msgstr "" #: templates/admin/filer/tools/detail_info.html:20 #: templates/admin/filer/widgets/admin_file.html:32 -#: templatetags/filer_admin_tags.py:107 +#: templatetags/filer_admin_tags.py:108 msgid "File is missing" msgstr "" @@ -1180,28 +1188,39 @@ msgstr "Wybierz plik" msgid "Choose Folder" msgstr "" -#: validation.py:19 +#: validation.py:20 #, python-brace-format msgid "File \"{file_name}\": Upload denied by site security policy" msgstr "" -#: validation.py:22 +#: validation.py:23 #, python-brace-format msgid "File \"{file_name}\": {file_type} upload denied by site security policy" msgstr "" -#: validation.py:33 +#: validation.py:34 #, python-brace-format msgid "File \"{file_name}\": HTML upload denied by site security policy" msgstr "" -#: validation.py:71 +#: validation.py:72 #, python-brace-format msgid "" "File \"{file_name}\": Rejected due to potential cross site scripting " "vulnerability" msgstr "" +#: validation.py:84 +#, python-brace-format +msgid "File \"{file_name}\": SVG file format not recognized" +msgstr "" + +#~ msgid "Resize parameters must be choosen." +#~ msgstr "Resize parameters must be choosen." + +#~ msgid "Choose resize parameters:" +#~ msgstr "Choose resize parameters:" + #~ msgid "Open file" #~ msgstr "Open file" diff --git a/filer/locale/pt/LC_MESSAGES/django.mo b/filer/locale/pt/LC_MESSAGES/django.mo index 852e2fbef..6a145895c 100644 Binary files a/filer/locale/pt/LC_MESSAGES/django.mo and b/filer/locale/pt/LC_MESSAGES/django.mo differ diff --git a/filer/locale/pt/LC_MESSAGES/django.po b/filer/locale/pt/LC_MESSAGES/django.po index 3b81472eb..991e9a08f 100644 --- a/filer/locale/pt/LC_MESSAGES/django.po +++ b/filer/locale/pt/LC_MESSAGES/django.po @@ -9,7 +9,7 @@ msgid "" msgstr "" "Project-Id-Version: django Filer\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-07-31 22:21+0200\n" +"POT-Creation-Date: 2023-09-26 08:46+0200\n" "PO-Revision-Date: 2012-07-13 15:50+0000\n" "Last-Translator: Angelo Dini \n" "Language-Team: Portuguese (http://app.transifex.com/divio/django-filer/" @@ -21,33 +21,33 @@ msgstr "" "Plural-Forms: nplurals=3; plural=(n == 0 || n == 1) ? 0 : n != 0 && n % " "1000000 == 0 ? 1 : 2;\n" -#: admin/clipboardadmin.py:16 +#: admin/clipboardadmin.py:17 msgid "You do not have permission to upload files." msgstr "" -#: admin/clipboardadmin.py:17 +#: admin/clipboardadmin.py:18 msgid "Can't find folder to upload. Please refresh and try again" msgstr "" -#: admin/clipboardadmin.py:19 +#: admin/clipboardadmin.py:20 msgid "Can't use this folder, Permission Denied. Please select another folder." msgstr "" -#: admin/fileadmin.py:47 +#: admin/fileadmin.py:73 msgid "Advanced" msgstr "" -#: admin/fileadmin.py:162 +#: admin/fileadmin.py:188 msgid "canonical URL" msgstr "" -#: admin/folderadmin.py:399 admin/folderadmin.py:570 +#: admin/folderadmin.py:411 admin/folderadmin.py:582 msgid "" "Items must be selected in order to perform actions on them. No items have " "been changed." msgstr "" -#: admin/folderadmin.py:422 +#: admin/folderadmin.py:434 #, python-format msgid "%(total_count)s selected" msgid_plural "All %(total_count)s selected" @@ -55,123 +55,123 @@ msgstr[0] "" msgstr[1] "" msgstr[2] "" -#: admin/folderadmin.py:448 +#: admin/folderadmin.py:460 #, python-format msgid "Directory listing for %(folder_name)s" msgstr "" -#: admin/folderadmin.py:463 +#: admin/folderadmin.py:475 #, python-format msgid "0 of %(cnt)s selected" msgstr "" -#: admin/folderadmin.py:600 +#: admin/folderadmin.py:612 msgid "No action selected." msgstr "" -#: admin/folderadmin.py:652 +#: admin/folderadmin.py:664 #, python-format msgid "Successfully moved %(count)d files to clipboard." msgstr "" -#: admin/folderadmin.py:657 +#: admin/folderadmin.py:669 msgid "Move selected files to clipboard" msgstr "" -#: admin/folderadmin.py:697 +#: admin/folderadmin.py:709 #, python-format msgid "Successfully disabled permissions for %(count)d files." msgstr "" -#: admin/folderadmin.py:699 +#: admin/folderadmin.py:711 #, python-format msgid "Successfully enabled permissions for %(count)d files." msgstr "" -#: admin/folderadmin.py:707 +#: admin/folderadmin.py:719 msgid "Enable permissions for selected files" msgstr "" -#: admin/folderadmin.py:713 +#: admin/folderadmin.py:725 msgid "Disable permissions for selected files" msgstr "" -#: admin/folderadmin.py:777 +#: admin/folderadmin.py:789 #, python-format msgid "Successfully deleted %(count)d files and/or folders." msgstr "" -#: admin/folderadmin.py:782 +#: admin/folderadmin.py:794 msgid "Cannot delete files and/or folders" msgstr "" -#: admin/folderadmin.py:784 +#: admin/folderadmin.py:796 msgid "Are you sure?" msgstr "" -#: admin/folderadmin.py:790 +#: admin/folderadmin.py:802 msgid "Delete files and/or folders" msgstr "" -#: admin/folderadmin.py:811 +#: admin/folderadmin.py:823 msgid "Delete selected files and/or folders" msgstr "" -#: admin/folderadmin.py:918 +#: admin/folderadmin.py:930 #, python-format msgid "Folders with names %s already exist at the selected destination" msgstr "" -#: admin/folderadmin.py:922 +#: admin/folderadmin.py:934 #, python-format msgid "" "Successfully moved %(count)d files and/or folders to folder " "'%(destination)s'." msgstr "" -#: admin/folderadmin.py:930 admin/folderadmin.py:932 +#: admin/folderadmin.py:942 admin/folderadmin.py:944 msgid "Move files and/or folders" msgstr "" -#: admin/folderadmin.py:947 +#: admin/folderadmin.py:959 msgid "Move selected files and/or folders" msgstr "" -#: admin/folderadmin.py:1004 +#: admin/folderadmin.py:1016 #, python-format msgid "Successfully renamed %(count)d files." msgstr "" -#: admin/folderadmin.py:1013 admin/folderadmin.py:1015 -#: admin/folderadmin.py:1030 +#: admin/folderadmin.py:1025 admin/folderadmin.py:1027 +#: admin/folderadmin.py:1042 msgid "Rename files" msgstr "" -#: admin/folderadmin.py:1125 +#: admin/folderadmin.py:1137 #, python-format msgid "" "Successfully copied %(count)d files and/or folders to folder " "'%(destination)s'." msgstr "" -#: admin/folderadmin.py:1143 admin/folderadmin.py:1145 +#: admin/folderadmin.py:1155 admin/folderadmin.py:1157 msgid "Copy files and/or folders" msgstr "" -#: admin/folderadmin.py:1162 +#: admin/folderadmin.py:1174 msgid "Copy selected files and/or folders" msgstr "" -#: admin/folderadmin.py:1267 +#: admin/folderadmin.py:1279 #, python-format msgid "Successfully resized %(count)d images." msgstr "" -#: admin/folderadmin.py:1274 admin/folderadmin.py:1276 +#: admin/folderadmin.py:1286 admin/folderadmin.py:1288 msgid "Resize images" msgstr "" -#: admin/folderadmin.py:1292 +#: admin/folderadmin.py:1303 msgid "Resize selected images" msgstr "" @@ -196,34 +196,30 @@ msgstr "" msgid "Invalid rename format: %(error)s." msgstr "" -#: admin/forms.py:64 models/thumbnailoptionmodels.py:37 +#: admin/forms.py:68 models/thumbnailoptionmodels.py:37 msgid "thumbnail option" msgstr "" -#: admin/forms.py:67 models/thumbnailoptionmodels.py:15 +#: admin/forms.py:72 models/thumbnailoptionmodels.py:15 msgid "width" msgstr "" -#: admin/forms.py:68 models/thumbnailoptionmodels.py:20 +#: admin/forms.py:73 models/thumbnailoptionmodels.py:20 msgid "height" msgstr "" -#: admin/forms.py:69 models/thumbnailoptionmodels.py:25 +#: admin/forms.py:74 models/thumbnailoptionmodels.py:25 msgid "crop" msgstr "" -#: admin/forms.py:70 models/thumbnailoptionmodels.py:30 +#: admin/forms.py:75 models/thumbnailoptionmodels.py:30 msgid "upscale" msgstr "" -#: admin/forms.py:75 +#: admin/forms.py:79 msgid "Thumbnail option or resize parameters must be choosen." msgstr "" -#: admin/forms.py:77 -msgid "Resize parameters must be choosen." -msgstr "" - #: admin/imageadmin.py:18 admin/imageadmin.py:105 msgid "Subject location" msgstr "" @@ -267,26 +263,42 @@ msgstr "" msgid "Media library" msgstr "" -#: models/abstract.py:49 +#: models/abstract.py:62 msgid "default alt text" msgstr "" -#: models/abstract.py:56 +#: models/abstract.py:69 msgid "default caption" msgstr "" -#: models/abstract.py:63 +#: models/abstract.py:76 msgid "subject location" msgstr "" -#: models/abstract.py:78 +#: models/abstract.py:91 msgid "image" msgstr "" -#: models/abstract.py:79 +#: models/abstract.py:92 msgid "images" msgstr "" +#: models/abstract.py:147 +#, python-format +msgid "" +"Image format not recognized or image size exceeds limit of %(max_pixels)d " +"million pixels by a factor of two or more. Before uploading again, check " +"file format or resize image to %(width)d x %(height)d resolution or lower." +msgstr "" + +#: models/abstract.py:156 +#, python-format +msgid "" +"Image size (%(pixels)d million pixels) exceeds limit of %(max_pixels)d " +"million pixels. Before uploading again, resize image to %(width)d x " +"%(height)d resolution or lower." +msgstr "" + #: models/clipboardmodels.py:11 models/foldermodels.py:289 msgid "user" msgstr "" @@ -730,21 +742,17 @@ msgstr "" msgid "The following images will be resized:" msgstr "" -#: templates/admin/filer/folder/choose_images_resize_options.html:33 +#: templates/admin/filer/folder/choose_images_resize_options.html:32 msgid "Choose an existing thumbnail option or enter resize parameters:" msgstr "" -#: templates/admin/filer/folder/choose_images_resize_options.html:35 -msgid "Choose resize parameters:" -msgstr "" - -#: templates/admin/filer/folder/choose_images_resize_options.html:38 +#: templates/admin/filer/folder/choose_images_resize_options.html:36 msgid "" "Warning: Images will be resized in-place and originals will be lost. Maybe " "first make a copy of them to retain the originals." msgstr "" -#: templates/admin/filer/folder/choose_images_resize_options.html:41 +#: templates/admin/filer/folder/choose_images_resize_options.html:39 msgid "Resize" msgstr "" @@ -1079,7 +1087,7 @@ msgstr "" #: templates/admin/filer/tools/detail_info.html:20 #: templates/admin/filer/widgets/admin_file.html:32 -#: templatetags/filer_admin_tags.py:107 +#: templatetags/filer_admin_tags.py:108 msgid "File is missing" msgstr "" @@ -1138,28 +1146,39 @@ msgstr "" msgid "Choose Folder" msgstr "" -#: validation.py:19 +#: validation.py:20 #, python-brace-format msgid "File \"{file_name}\": Upload denied by site security policy" msgstr "" -#: validation.py:22 +#: validation.py:23 #, python-brace-format msgid "File \"{file_name}\": {file_type} upload denied by site security policy" msgstr "" -#: validation.py:33 +#: validation.py:34 #, python-brace-format msgid "File \"{file_name}\": HTML upload denied by site security policy" msgstr "" -#: validation.py:71 +#: validation.py:72 #, python-brace-format msgid "" "File \"{file_name}\": Rejected due to potential cross site scripting " "vulnerability" msgstr "" +#: validation.py:84 +#, python-brace-format +msgid "File \"{file_name}\": SVG file format not recognized" +msgstr "" + +#~ msgid "Resize parameters must be choosen." +#~ msgstr "Resize parameters must be choosen." + +#~ msgid "Choose resize parameters:" +#~ msgstr "Choose resize parameters:" + #~ msgid "Open file" #~ msgstr "Open file" diff --git a/filer/locale/pt_BR/LC_MESSAGES/django.mo b/filer/locale/pt_BR/LC_MESSAGES/django.mo index 23c9c9846..423ed55ba 100644 Binary files a/filer/locale/pt_BR/LC_MESSAGES/django.mo and b/filer/locale/pt_BR/LC_MESSAGES/django.mo differ diff --git a/filer/locale/pt_BR/LC_MESSAGES/django.po b/filer/locale/pt_BR/LC_MESSAGES/django.po index 05d5c0009..df9d27398 100644 --- a/filer/locale/pt_BR/LC_MESSAGES/django.po +++ b/filer/locale/pt_BR/LC_MESSAGES/django.po @@ -12,7 +12,7 @@ msgid "" msgstr "" "Project-Id-Version: django Filer\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-07-31 22:21+0200\n" +"POT-Creation-Date: 2023-09-26 08:46+0200\n" "PO-Revision-Date: 2012-07-13 15:50+0000\n" "Last-Translator: Julio Lucchese , 2018\n" "Language-Team: Portuguese (Brazil) (http://app.transifex.com/divio/django-" @@ -24,27 +24,27 @@ msgstr "" "Plural-Forms: nplurals=3; plural=(n == 0 || n == 1) ? 0 : n != 0 && n % " "1000000 == 0 ? 1 : 2;\n" -#: admin/clipboardadmin.py:16 +#: admin/clipboardadmin.py:17 msgid "You do not have permission to upload files." msgstr "" -#: admin/clipboardadmin.py:17 +#: admin/clipboardadmin.py:18 msgid "Can't find folder to upload. Please refresh and try again" msgstr "" -#: admin/clipboardadmin.py:19 +#: admin/clipboardadmin.py:20 msgid "Can't use this folder, Permission Denied. Please select another folder." msgstr "" -#: admin/fileadmin.py:47 +#: admin/fileadmin.py:73 msgid "Advanced" msgstr "Avançado" -#: admin/fileadmin.py:162 +#: admin/fileadmin.py:188 msgid "canonical URL" msgstr "URL canônico" -#: admin/folderadmin.py:399 admin/folderadmin.py:570 +#: admin/folderadmin.py:411 admin/folderadmin.py:582 msgid "" "Items must be selected in order to perform actions on them. No items have " "been changed." @@ -52,7 +52,7 @@ msgstr "" "itens precisam ser selecionar para que a ação seja executada. Nenhuma " "alteração foi efetuada." -#: admin/folderadmin.py:422 +#: admin/folderadmin.py:434 #, python-format msgid "%(total_count)s selected" msgid_plural "All %(total_count)s selected" @@ -60,74 +60,74 @@ msgstr[0] "%(total_count)s selecionado" msgstr[1] "Todos %(total_count)s selecionados" msgstr[2] "Todos %(total_count)s selecionados" -#: admin/folderadmin.py:448 +#: admin/folderadmin.py:460 #, python-format msgid "Directory listing for %(folder_name)s" msgstr "Listando diretório para %(folder_name)s" -#: admin/folderadmin.py:463 +#: admin/folderadmin.py:475 #, python-format msgid "0 of %(cnt)s selected" msgstr "0 de %(cnt)s selecionados" -#: admin/folderadmin.py:600 +#: admin/folderadmin.py:612 msgid "No action selected." msgstr "Nenhuma ação selecionada." -#: admin/folderadmin.py:652 +#: admin/folderadmin.py:664 #, python-format msgid "Successfully moved %(count)d files to clipboard." msgstr "%(count)d arquivo(s) movidos para a área de transferência com sucesso." -#: admin/folderadmin.py:657 +#: admin/folderadmin.py:669 msgid "Move selected files to clipboard" msgstr "Mover os arquivos selecionados para a área de transferência" -#: admin/folderadmin.py:697 +#: admin/folderadmin.py:709 #, python-format msgid "Successfully disabled permissions for %(count)d files." msgstr "%(count)d arquivo(s) tiveram suas permissões desativadas com sucesso." -#: admin/folderadmin.py:699 +#: admin/folderadmin.py:711 #, python-format msgid "Successfully enabled permissions for %(count)d files." msgstr "%(count)d arquivo(s) tiveram suas permissões ativadas com sucesso." -#: admin/folderadmin.py:707 +#: admin/folderadmin.py:719 msgid "Enable permissions for selected files" msgstr "Habilitar as permissões para os arquivos selecionados" -#: admin/folderadmin.py:713 +#: admin/folderadmin.py:725 msgid "Disable permissions for selected files" msgstr "Desabilitar as permissões para os arquivos selecionados" -#: admin/folderadmin.py:777 +#: admin/folderadmin.py:789 #, python-format msgid "Successfully deleted %(count)d files and/or folders." msgstr "%(count)d arquivo(s) e/ou pasta(s) foram removidos com sucesso." -#: admin/folderadmin.py:782 +#: admin/folderadmin.py:794 msgid "Cannot delete files and/or folders" msgstr "Não é possível remover arquivo(s) e/ou pasta(s)" -#: admin/folderadmin.py:784 +#: admin/folderadmin.py:796 msgid "Are you sure?" msgstr "Você tem certeza?" -#: admin/folderadmin.py:790 +#: admin/folderadmin.py:802 msgid "Delete files and/or folders" msgstr "Remover arquivo(s) e/ou pasta(s)" -#: admin/folderadmin.py:811 +#: admin/folderadmin.py:823 msgid "Delete selected files and/or folders" msgstr "Remover arquivo(s) e/ou pasta(s) selecionados" -#: admin/folderadmin.py:918 +#: admin/folderadmin.py:930 #, python-format msgid "Folders with names %s already exist at the selected destination" msgstr "Pastas com os nomes %s s já existem no local selecionado" -#: admin/folderadmin.py:922 +#: admin/folderadmin.py:934 #, python-format msgid "" "Successfully moved %(count)d files and/or folders to folder " @@ -136,25 +136,25 @@ msgstr "" "%(count)d arquivo(s) e/ou pasta(s) foram movidos para a pasta " "'%(destination)s' com sucesso." -#: admin/folderadmin.py:930 admin/folderadmin.py:932 +#: admin/folderadmin.py:942 admin/folderadmin.py:944 msgid "Move files and/or folders" msgstr "Mover arquivo(s) e/ou pasta(s)" -#: admin/folderadmin.py:947 +#: admin/folderadmin.py:959 msgid "Move selected files and/or folders" msgstr "Mover arquivo(s) e/ou pasta(s) selecionados" -#: admin/folderadmin.py:1004 +#: admin/folderadmin.py:1016 #, python-format msgid "Successfully renamed %(count)d files." msgstr "%(count)d arquivo(s) foram renomeados com sucesso." -#: admin/folderadmin.py:1013 admin/folderadmin.py:1015 -#: admin/folderadmin.py:1030 +#: admin/folderadmin.py:1025 admin/folderadmin.py:1027 +#: admin/folderadmin.py:1042 msgid "Rename files" msgstr "Renomear arquivos" -#: admin/folderadmin.py:1125 +#: admin/folderadmin.py:1137 #, python-format msgid "" "Successfully copied %(count)d files and/or folders to folder " @@ -163,24 +163,24 @@ msgstr "" "%(count)d arquivo(s) e/ou pasta(s) foram copiados para o pasta " "'%(destination)s' com sucesso." -#: admin/folderadmin.py:1143 admin/folderadmin.py:1145 +#: admin/folderadmin.py:1155 admin/folderadmin.py:1157 msgid "Copy files and/or folders" msgstr "Copiar arquivo(s) e/ou pasta(s)" -#: admin/folderadmin.py:1162 +#: admin/folderadmin.py:1174 msgid "Copy selected files and/or folders" msgstr "Copiar arquivo(s) e/ou pasta(s) selecionados" -#: admin/folderadmin.py:1267 +#: admin/folderadmin.py:1279 #, python-format msgid "Successfully resized %(count)d images." msgstr "%(count)d imagem(ens) tiveram seu tamanho alterado com sucesso." -#: admin/folderadmin.py:1274 admin/folderadmin.py:1276 +#: admin/folderadmin.py:1286 admin/folderadmin.py:1288 msgid "Resize images" msgstr "Redimensionar imagens" -#: admin/folderadmin.py:1292 +#: admin/folderadmin.py:1303 msgid "Resize selected images" msgstr "Redimensionar imagens selecionadas" @@ -209,35 +209,31 @@ msgstr "" msgid "Invalid rename format: %(error)s." msgstr "Formato inválido para renomear: %(error)s." -#: admin/forms.py:64 models/thumbnailoptionmodels.py:37 +#: admin/forms.py:68 models/thumbnailoptionmodels.py:37 msgid "thumbnail option" msgstr "opções de miniaturas" -#: admin/forms.py:67 models/thumbnailoptionmodels.py:15 +#: admin/forms.py:72 models/thumbnailoptionmodels.py:15 msgid "width" msgstr "largura" -#: admin/forms.py:68 models/thumbnailoptionmodels.py:20 +#: admin/forms.py:73 models/thumbnailoptionmodels.py:20 msgid "height" msgstr "altura" -#: admin/forms.py:69 models/thumbnailoptionmodels.py:25 +#: admin/forms.py:74 models/thumbnailoptionmodels.py:25 msgid "crop" msgstr "recortar" -#: admin/forms.py:70 models/thumbnailoptionmodels.py:30 +#: admin/forms.py:75 models/thumbnailoptionmodels.py:30 msgid "upscale" msgstr "aumentar" -#: admin/forms.py:75 +#: admin/forms.py:79 msgid "Thumbnail option or resize parameters must be choosen." msgstr "" "Escolher entre as opções de miniaturas ou parâmetros de redimensionamento." -#: admin/forms.py:77 -msgid "Resize parameters must be choosen." -msgstr "Os parâmetros de redimensionamento precisam ser escolhidos" - #: admin/imageadmin.py:18 admin/imageadmin.py:105 msgid "Subject location" msgstr "Local do assunto" @@ -281,26 +277,42 @@ msgstr "Filer" msgid "Media library" msgstr "Biblioteca de Mídia" -#: models/abstract.py:49 +#: models/abstract.py:62 msgid "default alt text" msgstr "alt text padrão" -#: models/abstract.py:56 +#: models/abstract.py:69 msgid "default caption" msgstr "caption padrão" -#: models/abstract.py:63 +#: models/abstract.py:76 msgid "subject location" msgstr "local do assunto" -#: models/abstract.py:78 +#: models/abstract.py:91 msgid "image" msgstr "imagem" -#: models/abstract.py:79 +#: models/abstract.py:92 msgid "images" msgstr "imagens" +#: models/abstract.py:147 +#, python-format +msgid "" +"Image format not recognized or image size exceeds limit of %(max_pixels)d " +"million pixels by a factor of two or more. Before uploading again, check " +"file format or resize image to %(width)d x %(height)d resolution or lower." +msgstr "" + +#: models/abstract.py:156 +#, python-format +msgid "" +"Image size (%(pixels)d million pixels) exceeds limit of %(max_pixels)d " +"million pixels. Before uploading again, resize image to %(width)d x " +"%(height)d resolution or lower." +msgstr "" + #: models/clipboardmodels.py:11 models/foldermodels.py:289 msgid "user" msgstr "usuário" @@ -760,17 +772,13 @@ msgstr "Não existem imagens disponíveis para redimensionar." msgid "The following images will be resized:" msgstr "As seguintes imagens serão redimensionadas:" -#: templates/admin/filer/folder/choose_images_resize_options.html:33 +#: templates/admin/filer/folder/choose_images_resize_options.html:32 msgid "Choose an existing thumbnail option or enter resize parameters:" msgstr "" "Selecionar uma opção de miniatura ou digitar os parâmetros de " "redimensionamento:" -#: templates/admin/filer/folder/choose_images_resize_options.html:35 -msgid "Choose resize parameters:" -msgstr "Selecionar os parâmetros de redimensionamento:" - -#: templates/admin/filer/folder/choose_images_resize_options.html:38 +#: templates/admin/filer/folder/choose_images_resize_options.html:36 msgid "" "Warning: Images will be resized in-place and originals will be lost. Maybe " "first make a copy of them to retain the originals." @@ -778,7 +786,7 @@ msgstr "" "Cuidado: as imagens serão redimensionadas no mesmo local e os originais " "serão perdidos. Uma sugestão seria fazer uma cópia para guardar os originais." -#: templates/admin/filer/folder/choose_images_resize_options.html:41 +#: templates/admin/filer/folder/choose_images_resize_options.html:39 msgid "Resize" msgstr "Redimensionar" @@ -1121,7 +1129,7 @@ msgstr "" #: templates/admin/filer/tools/detail_info.html:20 #: templates/admin/filer/widgets/admin_file.html:32 -#: templatetags/filer_admin_tags.py:107 +#: templatetags/filer_admin_tags.py:108 msgid "File is missing" msgstr "" @@ -1180,28 +1188,39 @@ msgstr "Alterar Arquivo" msgid "Choose Folder" msgstr "" -#: validation.py:19 +#: validation.py:20 #, python-brace-format msgid "File \"{file_name}\": Upload denied by site security policy" msgstr "" -#: validation.py:22 +#: validation.py:23 #, python-brace-format msgid "File \"{file_name}\": {file_type} upload denied by site security policy" msgstr "" -#: validation.py:33 +#: validation.py:34 #, python-brace-format msgid "File \"{file_name}\": HTML upload denied by site security policy" msgstr "" -#: validation.py:71 +#: validation.py:72 #, python-brace-format msgid "" "File \"{file_name}\": Rejected due to potential cross site scripting " "vulnerability" msgstr "" +#: validation.py:84 +#, python-brace-format +msgid "File \"{file_name}\": SVG file format not recognized" +msgstr "" + +#~ msgid "Resize parameters must be choosen." +#~ msgstr "Resize parameters must be choosen." + +#~ msgid "Choose resize parameters:" +#~ msgstr "Choose resize parameters:" + #~ msgid "Open file" #~ msgstr "Open file" diff --git a/filer/locale/ru/LC_MESSAGES/django.mo b/filer/locale/ru/LC_MESSAGES/django.mo index d6cfde2c9..05996b220 100644 Binary files a/filer/locale/ru/LC_MESSAGES/django.mo and b/filer/locale/ru/LC_MESSAGES/django.mo differ diff --git a/filer/locale/ru/LC_MESSAGES/django.po b/filer/locale/ru/LC_MESSAGES/django.po index 9bc0f100c..9caee4289 100644 --- a/filer/locale/ru/LC_MESSAGES/django.po +++ b/filer/locale/ru/LC_MESSAGES/django.po @@ -14,7 +14,7 @@ msgid "" msgstr "" "Project-Id-Version: django Filer\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-07-31 22:21+0200\n" +"POT-Creation-Date: 2023-09-26 08:46+0200\n" "PO-Revision-Date: 2012-07-13 15:50+0000\n" "Last-Translator: Alexander Naydenko , 2020\n" "Language-Team: Russian (http://app.transifex.com/divio/django-filer/language/" @@ -27,27 +27,27 @@ msgstr "" "n%10<=4 && (n%100<12 || n%100>14) ? 1 : n%10==0 || (n%10>=5 && n%10<=9) || " "(n%100>=11 && n%100<=14)? 2 : 3);\n" -#: admin/clipboardadmin.py:16 +#: admin/clipboardadmin.py:17 msgid "You do not have permission to upload files." msgstr "" -#: admin/clipboardadmin.py:17 +#: admin/clipboardadmin.py:18 msgid "Can't find folder to upload. Please refresh and try again" msgstr "" -#: admin/clipboardadmin.py:19 +#: admin/clipboardadmin.py:20 msgid "Can't use this folder, Permission Denied. Please select another folder." msgstr "" -#: admin/fileadmin.py:47 +#: admin/fileadmin.py:73 msgid "Advanced" msgstr "Дополнительно" -#: admin/fileadmin.py:162 +#: admin/fileadmin.py:188 msgid "canonical URL" msgstr "канонический URL" -#: admin/folderadmin.py:399 admin/folderadmin.py:570 +#: admin/folderadmin.py:411 admin/folderadmin.py:582 msgid "" "Items must be selected in order to perform actions on them. No items have " "been changed." @@ -55,7 +55,7 @@ msgstr "" "Для выполнения действий нужно выбрать хотя бы один объект. Не произведено " "никаких изменений." -#: admin/folderadmin.py:422 +#: admin/folderadmin.py:434 #, python-format msgid "%(total_count)s selected" msgid_plural "All %(total_count)s selected" @@ -64,123 +64,123 @@ msgstr[1] "%(total_count)s выбрано" msgstr[2] "Все %(total_count)s выбраны" msgstr[3] "Все %(total_count)s выбраны" -#: admin/folderadmin.py:448 +#: admin/folderadmin.py:460 #, python-format msgid "Directory listing for %(folder_name)s" msgstr "Содержимое %(folder_name)s" -#: admin/folderadmin.py:463 +#: admin/folderadmin.py:475 #, python-format msgid "0 of %(cnt)s selected" msgstr "0 из %(cnt)s выбрано" -#: admin/folderadmin.py:600 +#: admin/folderadmin.py:612 msgid "No action selected." msgstr "Действие не выбрано." -#: admin/folderadmin.py:652 +#: admin/folderadmin.py:664 #, python-format msgid "Successfully moved %(count)d files to clipboard." msgstr "Успешно перемещено %(count)d файлов в буфер обмена." -#: admin/folderadmin.py:657 +#: admin/folderadmin.py:669 msgid "Move selected files to clipboard" msgstr "Переместить выбранные файлы в буфер обмена" -#: admin/folderadmin.py:697 +#: admin/folderadmin.py:709 #, python-format msgid "Successfully disabled permissions for %(count)d files." msgstr "Разрешения успешно отключены для %(count)d файлов." -#: admin/folderadmin.py:699 +#: admin/folderadmin.py:711 #, python-format msgid "Successfully enabled permissions for %(count)d files." msgstr "Разрешения успешно применены для %(count)d файлов." -#: admin/folderadmin.py:707 +#: admin/folderadmin.py:719 msgid "Enable permissions for selected files" msgstr "Включить разрешения для выбранных файлов" -#: admin/folderadmin.py:713 +#: admin/folderadmin.py:725 msgid "Disable permissions for selected files" msgstr "Отключить разрешения для выбранных файлов" -#: admin/folderadmin.py:777 +#: admin/folderadmin.py:789 #, python-format msgid "Successfully deleted %(count)d files and/or folders." msgstr "Успешно удалено %(count)d файлов/папок." -#: admin/folderadmin.py:782 +#: admin/folderadmin.py:794 msgid "Cannot delete files and/or folders" msgstr "Невозможно удалить файлы/папки" -#: admin/folderadmin.py:784 +#: admin/folderadmin.py:796 msgid "Are you sure?" msgstr "Вы уверены?" -#: admin/folderadmin.py:790 +#: admin/folderadmin.py:802 msgid "Delete files and/or folders" msgstr "Удалить файлы/папки" -#: admin/folderadmin.py:811 +#: admin/folderadmin.py:823 msgid "Delete selected files and/or folders" msgstr "Удалить выбранные файлы/папки" -#: admin/folderadmin.py:918 +#: admin/folderadmin.py:930 #, python-format msgid "Folders with names %s already exist at the selected destination" msgstr "Папки с именами %s уже существуют в указанном месте" -#: admin/folderadmin.py:922 +#: admin/folderadmin.py:934 #, python-format msgid "" "Successfully moved %(count)d files and/or folders to folder " "'%(destination)s'." msgstr "Успешно перемещено %(count)d файлов/папок в папку '%(destination)s'." -#: admin/folderadmin.py:930 admin/folderadmin.py:932 +#: admin/folderadmin.py:942 admin/folderadmin.py:944 msgid "Move files and/or folders" msgstr "Переместить файлы/папки" -#: admin/folderadmin.py:947 +#: admin/folderadmin.py:959 msgid "Move selected files and/or folders" msgstr "Переместить выбранные файлы/папки" -#: admin/folderadmin.py:1004 +#: admin/folderadmin.py:1016 #, python-format msgid "Successfully renamed %(count)d files." msgstr "Успешно переименовано %(count)d файлов." -#: admin/folderadmin.py:1013 admin/folderadmin.py:1015 -#: admin/folderadmin.py:1030 +#: admin/folderadmin.py:1025 admin/folderadmin.py:1027 +#: admin/folderadmin.py:1042 msgid "Rename files" msgstr "Переименовать файлы" -#: admin/folderadmin.py:1125 +#: admin/folderadmin.py:1137 #, python-format msgid "" "Successfully copied %(count)d files and/or folders to folder " "'%(destination)s'." msgstr "Успешно скопировано %(count)d файлов/папок в папку '%(destination)s'." -#: admin/folderadmin.py:1143 admin/folderadmin.py:1145 +#: admin/folderadmin.py:1155 admin/folderadmin.py:1157 msgid "Copy files and/or folders" msgstr "Скопировать файлы/папки" -#: admin/folderadmin.py:1162 +#: admin/folderadmin.py:1174 msgid "Copy selected files and/or folders" msgstr "Скопировать выбранные файлы/папки" -#: admin/folderadmin.py:1267 +#: admin/folderadmin.py:1279 #, python-format msgid "Successfully resized %(count)d images." msgstr "Успешно изменен размер %(count)d изображений." -#: admin/folderadmin.py:1274 admin/folderadmin.py:1276 +#: admin/folderadmin.py:1286 admin/folderadmin.py:1288 msgid "Resize images" msgstr "Изменить размер изображений" -#: admin/folderadmin.py:1292 +#: admin/folderadmin.py:1303 msgid "Resize selected images" msgstr "Изменить размер выбранных изображений" @@ -207,34 +207,30 @@ msgstr "Неизвестный ключ форматирования \"%(key)s\" msgid "Invalid rename format: %(error)s." msgstr "Неверный формат переименования: %(error)s." -#: admin/forms.py:64 models/thumbnailoptionmodels.py:37 +#: admin/forms.py:68 models/thumbnailoptionmodels.py:37 msgid "thumbnail option" msgstr "опция миниатюры" -#: admin/forms.py:67 models/thumbnailoptionmodels.py:15 +#: admin/forms.py:72 models/thumbnailoptionmodels.py:15 msgid "width" msgstr "ширина" -#: admin/forms.py:68 models/thumbnailoptionmodels.py:20 +#: admin/forms.py:73 models/thumbnailoptionmodels.py:20 msgid "height" msgstr "высота" -#: admin/forms.py:69 models/thumbnailoptionmodels.py:25 +#: admin/forms.py:74 models/thumbnailoptionmodels.py:25 msgid "crop" msgstr "обрезать" -#: admin/forms.py:70 models/thumbnailoptionmodels.py:30 +#: admin/forms.py:75 models/thumbnailoptionmodels.py:30 msgid "upscale" msgstr "увеличивать" -#: admin/forms.py:75 +#: admin/forms.py:79 msgid "Thumbnail option or resize parameters must be choosen." msgstr "Опция миниатюры или параметры изменения размера должны быть указаны." -#: admin/forms.py:77 -msgid "Resize parameters must be choosen." -msgstr "Параметры изменения размеры должны быть указаны." - #: admin/imageadmin.py:18 admin/imageadmin.py:105 msgid "Subject location" msgstr "Расположение объекта" @@ -278,26 +274,42 @@ msgstr "Filer" msgid "Media library" msgstr "Медиа-библиотека" -#: models/abstract.py:49 +#: models/abstract.py:62 msgid "default alt text" msgstr "альтернативный текст" -#: models/abstract.py:56 +#: models/abstract.py:69 msgid "default caption" msgstr "описание" -#: models/abstract.py:63 +#: models/abstract.py:76 msgid "subject location" msgstr "расположение объекта" -#: models/abstract.py:78 +#: models/abstract.py:91 msgid "image" msgstr "изображение" -#: models/abstract.py:79 +#: models/abstract.py:92 msgid "images" msgstr "изображения" +#: models/abstract.py:147 +#, python-format +msgid "" +"Image format not recognized or image size exceeds limit of %(max_pixels)d " +"million pixels by a factor of two or more. Before uploading again, check " +"file format or resize image to %(width)d x %(height)d resolution or lower." +msgstr "" + +#: models/abstract.py:156 +#, python-format +msgid "" +"Image size (%(pixels)d million pixels) exceeds limit of %(max_pixels)d " +"million pixels. Before uploading again, resize image to %(width)d x " +"%(height)d resolution or lower." +msgstr "" + #: models/clipboardmodels.py:11 models/foldermodels.py:289 msgid "user" msgstr "пользователь" @@ -751,15 +763,11 @@ msgstr "Нет доступных изображений для изменени msgid "The following images will be resized:" msgstr "У этих изображений будет изменен размер:" -#: templates/admin/filer/folder/choose_images_resize_options.html:33 +#: templates/admin/filer/folder/choose_images_resize_options.html:32 msgid "Choose an existing thumbnail option or enter resize parameters:" msgstr "Выберите опцию миниатюры или введите параметры изменения размеров:" -#: templates/admin/filer/folder/choose_images_resize_options.html:35 -msgid "Choose resize parameters:" -msgstr "Выбрите параметры изменения размеров:" - -#: templates/admin/filer/folder/choose_images_resize_options.html:38 +#: templates/admin/filer/folder/choose_images_resize_options.html:36 msgid "" "Warning: Images will be resized in-place and originals will be lost. Maybe " "first make a copy of them to retain the originals." @@ -767,7 +775,7 @@ msgstr "" "Внимание: изображения будут изменены в размерах с заменой оригиналов. " "Возможно, лучше будет сперва сделать копии." -#: templates/admin/filer/folder/choose_images_resize_options.html:41 +#: templates/admin/filer/folder/choose_images_resize_options.html:39 msgid "Resize" msgstr "Изменить размеры" @@ -1109,7 +1117,7 @@ msgstr "" #: templates/admin/filer/tools/detail_info.html:20 #: templates/admin/filer/widgets/admin_file.html:32 -#: templatetags/filer_admin_tags.py:107 +#: templatetags/filer_admin_tags.py:108 msgid "File is missing" msgstr "" @@ -1168,28 +1176,39 @@ msgstr "Выбрать файл" msgid "Choose Folder" msgstr "" -#: validation.py:19 +#: validation.py:20 #, python-brace-format msgid "File \"{file_name}\": Upload denied by site security policy" msgstr "" -#: validation.py:22 +#: validation.py:23 #, python-brace-format msgid "File \"{file_name}\": {file_type} upload denied by site security policy" msgstr "" -#: validation.py:33 +#: validation.py:34 #, python-brace-format msgid "File \"{file_name}\": HTML upload denied by site security policy" msgstr "" -#: validation.py:71 +#: validation.py:72 #, python-brace-format msgid "" "File \"{file_name}\": Rejected due to potential cross site scripting " "vulnerability" msgstr "" +#: validation.py:84 +#, python-brace-format +msgid "File \"{file_name}\": SVG file format not recognized" +msgstr "" + +#~ msgid "Resize parameters must be choosen." +#~ msgstr "Resize parameters must be choosen." + +#~ msgid "Choose resize parameters:" +#~ msgstr "Choose resize parameters:" + #~ msgid "Open file" #~ msgstr "Open file" diff --git a/filer/locale/sk/LC_MESSAGES/django.mo b/filer/locale/sk/LC_MESSAGES/django.mo index 7d21a5f07..439890714 100644 Binary files a/filer/locale/sk/LC_MESSAGES/django.mo and b/filer/locale/sk/LC_MESSAGES/django.mo differ diff --git a/filer/locale/sk/LC_MESSAGES/django.po b/filer/locale/sk/LC_MESSAGES/django.po index 5b67deb34..8f3381da1 100644 --- a/filer/locale/sk/LC_MESSAGES/django.po +++ b/filer/locale/sk/LC_MESSAGES/django.po @@ -9,7 +9,7 @@ msgid "" msgstr "" "Project-Id-Version: django Filer\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-07-31 22:21+0200\n" +"POT-Creation-Date: 2023-09-26 08:46+0200\n" "PO-Revision-Date: 2012-07-13 15:50+0000\n" "Last-Translator: Angelo Dini \n" "Language-Team: Slovak (http://app.transifex.com/divio/django-filer/language/" @@ -21,33 +21,33 @@ msgstr "" "Plural-Forms: nplurals=4; plural=(n % 1 == 0 && n == 1 ? 0 : n % 1 == 0 && n " ">= 2 && n <= 4 ? 1 : n % 1 != 0 ? 2: 3);\n" -#: admin/clipboardadmin.py:16 +#: admin/clipboardadmin.py:17 msgid "You do not have permission to upload files." msgstr "" -#: admin/clipboardadmin.py:17 +#: admin/clipboardadmin.py:18 msgid "Can't find folder to upload. Please refresh and try again" msgstr "" -#: admin/clipboardadmin.py:19 +#: admin/clipboardadmin.py:20 msgid "Can't use this folder, Permission Denied. Please select another folder." msgstr "" -#: admin/fileadmin.py:47 +#: admin/fileadmin.py:73 msgid "Advanced" msgstr "" -#: admin/fileadmin.py:162 +#: admin/fileadmin.py:188 msgid "canonical URL" msgstr "" -#: admin/folderadmin.py:399 admin/folderadmin.py:570 +#: admin/folderadmin.py:411 admin/folderadmin.py:582 msgid "" "Items must be selected in order to perform actions on them. No items have " "been changed." msgstr "" -#: admin/folderadmin.py:422 +#: admin/folderadmin.py:434 #, python-format msgid "%(total_count)s selected" msgid_plural "All %(total_count)s selected" @@ -56,123 +56,123 @@ msgstr[1] "" msgstr[2] "" msgstr[3] "" -#: admin/folderadmin.py:448 +#: admin/folderadmin.py:460 #, python-format msgid "Directory listing for %(folder_name)s" msgstr "" -#: admin/folderadmin.py:463 +#: admin/folderadmin.py:475 #, python-format msgid "0 of %(cnt)s selected" msgstr "" -#: admin/folderadmin.py:600 +#: admin/folderadmin.py:612 msgid "No action selected." msgstr "" -#: admin/folderadmin.py:652 +#: admin/folderadmin.py:664 #, python-format msgid "Successfully moved %(count)d files to clipboard." msgstr "" -#: admin/folderadmin.py:657 +#: admin/folderadmin.py:669 msgid "Move selected files to clipboard" msgstr "" -#: admin/folderadmin.py:697 +#: admin/folderadmin.py:709 #, python-format msgid "Successfully disabled permissions for %(count)d files." msgstr "" -#: admin/folderadmin.py:699 +#: admin/folderadmin.py:711 #, python-format msgid "Successfully enabled permissions for %(count)d files." msgstr "" -#: admin/folderadmin.py:707 +#: admin/folderadmin.py:719 msgid "Enable permissions for selected files" msgstr "" -#: admin/folderadmin.py:713 +#: admin/folderadmin.py:725 msgid "Disable permissions for selected files" msgstr "" -#: admin/folderadmin.py:777 +#: admin/folderadmin.py:789 #, python-format msgid "Successfully deleted %(count)d files and/or folders." msgstr "" -#: admin/folderadmin.py:782 +#: admin/folderadmin.py:794 msgid "Cannot delete files and/or folders" msgstr "" -#: admin/folderadmin.py:784 +#: admin/folderadmin.py:796 msgid "Are you sure?" msgstr "" -#: admin/folderadmin.py:790 +#: admin/folderadmin.py:802 msgid "Delete files and/or folders" msgstr "" -#: admin/folderadmin.py:811 +#: admin/folderadmin.py:823 msgid "Delete selected files and/or folders" msgstr "" -#: admin/folderadmin.py:918 +#: admin/folderadmin.py:930 #, python-format msgid "Folders with names %s already exist at the selected destination" msgstr "" -#: admin/folderadmin.py:922 +#: admin/folderadmin.py:934 #, python-format msgid "" "Successfully moved %(count)d files and/or folders to folder " "'%(destination)s'." msgstr "" -#: admin/folderadmin.py:930 admin/folderadmin.py:932 +#: admin/folderadmin.py:942 admin/folderadmin.py:944 msgid "Move files and/or folders" msgstr "" -#: admin/folderadmin.py:947 +#: admin/folderadmin.py:959 msgid "Move selected files and/or folders" msgstr "" -#: admin/folderadmin.py:1004 +#: admin/folderadmin.py:1016 #, python-format msgid "Successfully renamed %(count)d files." msgstr "" -#: admin/folderadmin.py:1013 admin/folderadmin.py:1015 -#: admin/folderadmin.py:1030 +#: admin/folderadmin.py:1025 admin/folderadmin.py:1027 +#: admin/folderadmin.py:1042 msgid "Rename files" msgstr "" -#: admin/folderadmin.py:1125 +#: admin/folderadmin.py:1137 #, python-format msgid "" "Successfully copied %(count)d files and/or folders to folder " "'%(destination)s'." msgstr "" -#: admin/folderadmin.py:1143 admin/folderadmin.py:1145 +#: admin/folderadmin.py:1155 admin/folderadmin.py:1157 msgid "Copy files and/or folders" msgstr "" -#: admin/folderadmin.py:1162 +#: admin/folderadmin.py:1174 msgid "Copy selected files and/or folders" msgstr "" -#: admin/folderadmin.py:1267 +#: admin/folderadmin.py:1279 #, python-format msgid "Successfully resized %(count)d images." msgstr "" -#: admin/folderadmin.py:1274 admin/folderadmin.py:1276 +#: admin/folderadmin.py:1286 admin/folderadmin.py:1288 msgid "Resize images" msgstr "" -#: admin/folderadmin.py:1292 +#: admin/folderadmin.py:1303 msgid "Resize selected images" msgstr "" @@ -197,34 +197,30 @@ msgstr "" msgid "Invalid rename format: %(error)s." msgstr "" -#: admin/forms.py:64 models/thumbnailoptionmodels.py:37 +#: admin/forms.py:68 models/thumbnailoptionmodels.py:37 msgid "thumbnail option" msgstr "" -#: admin/forms.py:67 models/thumbnailoptionmodels.py:15 +#: admin/forms.py:72 models/thumbnailoptionmodels.py:15 msgid "width" msgstr "" -#: admin/forms.py:68 models/thumbnailoptionmodels.py:20 +#: admin/forms.py:73 models/thumbnailoptionmodels.py:20 msgid "height" msgstr "" -#: admin/forms.py:69 models/thumbnailoptionmodels.py:25 +#: admin/forms.py:74 models/thumbnailoptionmodels.py:25 msgid "crop" msgstr "" -#: admin/forms.py:70 models/thumbnailoptionmodels.py:30 +#: admin/forms.py:75 models/thumbnailoptionmodels.py:30 msgid "upscale" msgstr "" -#: admin/forms.py:75 +#: admin/forms.py:79 msgid "Thumbnail option or resize parameters must be choosen." msgstr "" -#: admin/forms.py:77 -msgid "Resize parameters must be choosen." -msgstr "" - #: admin/imageadmin.py:18 admin/imageadmin.py:105 msgid "Subject location" msgstr "" @@ -268,26 +264,42 @@ msgstr "" msgid "Media library" msgstr "" -#: models/abstract.py:49 +#: models/abstract.py:62 msgid "default alt text" msgstr "" -#: models/abstract.py:56 +#: models/abstract.py:69 msgid "default caption" msgstr "" -#: models/abstract.py:63 +#: models/abstract.py:76 msgid "subject location" msgstr "" -#: models/abstract.py:78 +#: models/abstract.py:91 msgid "image" msgstr "" -#: models/abstract.py:79 +#: models/abstract.py:92 msgid "images" msgstr "" +#: models/abstract.py:147 +#, python-format +msgid "" +"Image format not recognized or image size exceeds limit of %(max_pixels)d " +"million pixels by a factor of two or more. Before uploading again, check " +"file format or resize image to %(width)d x %(height)d resolution or lower." +msgstr "" + +#: models/abstract.py:156 +#, python-format +msgid "" +"Image size (%(pixels)d million pixels) exceeds limit of %(max_pixels)d " +"million pixels. Before uploading again, resize image to %(width)d x " +"%(height)d resolution or lower." +msgstr "" + #: models/clipboardmodels.py:11 models/foldermodels.py:289 msgid "user" msgstr "" @@ -731,21 +743,17 @@ msgstr "" msgid "The following images will be resized:" msgstr "" -#: templates/admin/filer/folder/choose_images_resize_options.html:33 +#: templates/admin/filer/folder/choose_images_resize_options.html:32 msgid "Choose an existing thumbnail option or enter resize parameters:" msgstr "" -#: templates/admin/filer/folder/choose_images_resize_options.html:35 -msgid "Choose resize parameters:" -msgstr "" - -#: templates/admin/filer/folder/choose_images_resize_options.html:38 +#: templates/admin/filer/folder/choose_images_resize_options.html:36 msgid "" "Warning: Images will be resized in-place and originals will be lost. Maybe " "first make a copy of them to retain the originals." msgstr "" -#: templates/admin/filer/folder/choose_images_resize_options.html:41 +#: templates/admin/filer/folder/choose_images_resize_options.html:39 msgid "Resize" msgstr "" @@ -1083,7 +1091,7 @@ msgstr "" #: templates/admin/filer/tools/detail_info.html:20 #: templates/admin/filer/widgets/admin_file.html:32 -#: templatetags/filer_admin_tags.py:107 +#: templatetags/filer_admin_tags.py:108 msgid "File is missing" msgstr "" @@ -1142,28 +1150,39 @@ msgstr "" msgid "Choose Folder" msgstr "" -#: validation.py:19 +#: validation.py:20 #, python-brace-format msgid "File \"{file_name}\": Upload denied by site security policy" msgstr "" -#: validation.py:22 +#: validation.py:23 #, python-brace-format msgid "File \"{file_name}\": {file_type} upload denied by site security policy" msgstr "" -#: validation.py:33 +#: validation.py:34 #, python-brace-format msgid "File \"{file_name}\": HTML upload denied by site security policy" msgstr "" -#: validation.py:71 +#: validation.py:72 #, python-brace-format msgid "" "File \"{file_name}\": Rejected due to potential cross site scripting " "vulnerability" msgstr "" +#: validation.py:84 +#, python-brace-format +msgid "File \"{file_name}\": SVG file format not recognized" +msgstr "" + +#~ msgid "Resize parameters must be choosen." +#~ msgstr "Resize parameters must be choosen." + +#~ msgid "Choose resize parameters:" +#~ msgstr "Choose resize parameters:" + #~ msgid "Open file" #~ msgstr "Open file" diff --git a/filer/locale/tr/LC_MESSAGES/django.mo b/filer/locale/tr/LC_MESSAGES/django.mo index 2051dc892..d1049348f 100644 Binary files a/filer/locale/tr/LC_MESSAGES/django.mo and b/filer/locale/tr/LC_MESSAGES/django.mo differ diff --git a/filer/locale/tr/LC_MESSAGES/django.po b/filer/locale/tr/LC_MESSAGES/django.po index a144dd00e..5fd8ce5a1 100644 --- a/filer/locale/tr/LC_MESSAGES/django.po +++ b/filer/locale/tr/LC_MESSAGES/django.po @@ -11,7 +11,7 @@ msgid "" msgstr "" "Project-Id-Version: django Filer\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-07-31 22:21+0200\n" +"POT-Creation-Date: 2023-09-26 08:46+0200\n" "PO-Revision-Date: 2012-07-13 15:50+0000\n" "Last-Translator: Cihad GÜNDOĞDU , 2013,2015-2016\n" "Language-Team: Turkish (http://app.transifex.com/divio/django-filer/language/" @@ -22,107 +22,107 @@ msgstr "" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n > 1);\n" -#: admin/clipboardadmin.py:16 +#: admin/clipboardadmin.py:17 msgid "You do not have permission to upload files." msgstr "" -#: admin/clipboardadmin.py:17 +#: admin/clipboardadmin.py:18 msgid "Can't find folder to upload. Please refresh and try again" msgstr "" -#: admin/clipboardadmin.py:19 +#: admin/clipboardadmin.py:20 msgid "Can't use this folder, Permission Denied. Please select another folder." msgstr "" -#: admin/fileadmin.py:47 +#: admin/fileadmin.py:73 msgid "Advanced" msgstr "Gelişmiş" -#: admin/fileadmin.py:162 +#: admin/fileadmin.py:188 msgid "canonical URL" msgstr "standart URL" -#: admin/folderadmin.py:399 admin/folderadmin.py:570 +#: admin/folderadmin.py:411 admin/folderadmin.py:582 msgid "" "Items must be selected in order to perform actions on them. No items have " "been changed." msgstr "" -#: admin/folderadmin.py:422 +#: admin/folderadmin.py:434 #, python-format msgid "%(total_count)s selected" msgid_plural "All %(total_count)s selected" msgstr[0] "" msgstr[1] "" -#: admin/folderadmin.py:448 +#: admin/folderadmin.py:460 #, python-format msgid "Directory listing for %(folder_name)s" msgstr "" -#: admin/folderadmin.py:463 +#: admin/folderadmin.py:475 #, python-format msgid "0 of %(cnt)s selected" msgstr "%(cnt)s 0 adet seçildi" -#: admin/folderadmin.py:600 +#: admin/folderadmin.py:612 msgid "No action selected." msgstr "İşlem seçilmedi" -#: admin/folderadmin.py:652 +#: admin/folderadmin.py:664 #, python-format msgid "Successfully moved %(count)d files to clipboard." msgstr "%(count)d adet dosya arabelleğe taşındı" -#: admin/folderadmin.py:657 +#: admin/folderadmin.py:669 msgid "Move selected files to clipboard" msgstr "Seçili dosyalar ara belleğe alındı" -#: admin/folderadmin.py:697 +#: admin/folderadmin.py:709 #, python-format msgid "Successfully disabled permissions for %(count)d files." msgstr "%(count)d adet dosyanın yetkilendirmesi pasif hale getirildi." -#: admin/folderadmin.py:699 +#: admin/folderadmin.py:711 #, python-format msgid "Successfully enabled permissions for %(count)d files." msgstr "%(count)d adet dosyanın yetkilendirmesi pasif hale getirildi." -#: admin/folderadmin.py:707 +#: admin/folderadmin.py:719 msgid "Enable permissions for selected files" msgstr "Seçili dosyalar için yetkilendirmeyi aktif yap" -#: admin/folderadmin.py:713 +#: admin/folderadmin.py:725 msgid "Disable permissions for selected files" msgstr "Seçili dosyalar için yetkilendirmeyi pasif yap" -#: admin/folderadmin.py:777 +#: admin/folderadmin.py:789 #, python-format msgid "Successfully deleted %(count)d files and/or folders." msgstr "%(count)d dosya veya klasörler başarıyla silindi" -#: admin/folderadmin.py:782 +#: admin/folderadmin.py:794 msgid "Cannot delete files and/or folders" msgstr "Seçili dosya veya klasörler silinemedi" -#: admin/folderadmin.py:784 +#: admin/folderadmin.py:796 msgid "Are you sure?" msgstr "Eminmisiniz?" -#: admin/folderadmin.py:790 +#: admin/folderadmin.py:802 msgid "Delete files and/or folders" msgstr "Dosya veya klasörleri sil" -#: admin/folderadmin.py:811 +#: admin/folderadmin.py:823 msgid "Delete selected files and/or folders" msgstr "Seçili dosya veya klasörleri sil" -#: admin/folderadmin.py:918 +#: admin/folderadmin.py:930 #, python-format msgid "Folders with names %s already exist at the selected destination" msgstr "%s isimli klasörler seçili hedefte var." -#: admin/folderadmin.py:922 +#: admin/folderadmin.py:934 #, python-format msgid "" "Successfully moved %(count)d files and/or folders to folder " @@ -130,25 +130,25 @@ msgid "" msgstr "" "%(count)d adet dosya/klasör başarıyla '%(destination)s' klasörüne taşındı" -#: admin/folderadmin.py:930 admin/folderadmin.py:932 +#: admin/folderadmin.py:942 admin/folderadmin.py:944 msgid "Move files and/or folders" msgstr "Dosya veya klasörleri taşı" -#: admin/folderadmin.py:947 +#: admin/folderadmin.py:959 msgid "Move selected files and/or folders" msgstr "Seçili dosya veya klasörleri taşı" -#: admin/folderadmin.py:1004 +#: admin/folderadmin.py:1016 #, python-format msgid "Successfully renamed %(count)d files." msgstr "%(count)d adet dosya yeniden adlandırıldı." -#: admin/folderadmin.py:1013 admin/folderadmin.py:1015 -#: admin/folderadmin.py:1030 +#: admin/folderadmin.py:1025 admin/folderadmin.py:1027 +#: admin/folderadmin.py:1042 msgid "Rename files" msgstr "Dosyaları yeniden adlandır" -#: admin/folderadmin.py:1125 +#: admin/folderadmin.py:1137 #, python-format msgid "" "Successfully copied %(count)d files and/or folders to folder " @@ -156,24 +156,24 @@ msgid "" msgstr "" "%(count)d adet dosya veya klasör '%(destination)s' klasörüne kopyalandı" -#: admin/folderadmin.py:1143 admin/folderadmin.py:1145 +#: admin/folderadmin.py:1155 admin/folderadmin.py:1157 msgid "Copy files and/or folders" msgstr "Dosya veya klasörleri kopyala" -#: admin/folderadmin.py:1162 +#: admin/folderadmin.py:1174 msgid "Copy selected files and/or folders" msgstr "Seçili dosya veya klasörleri kopyala" -#: admin/folderadmin.py:1267 +#: admin/folderadmin.py:1279 #, python-format msgid "Successfully resized %(count)d images." msgstr "%(count)d adet resim başarıyla yeniden boyutlandırıldı." -#: admin/folderadmin.py:1274 admin/folderadmin.py:1276 +#: admin/folderadmin.py:1286 admin/folderadmin.py:1288 msgid "Resize images" msgstr "Resimleri yeniden boyutlandır" -#: admin/folderadmin.py:1292 +#: admin/folderadmin.py:1303 msgid "Resize selected images" msgstr "Seçili resimleri yeniden boyutlandır" @@ -198,34 +198,30 @@ msgstr "" msgid "Invalid rename format: %(error)s." msgstr "" -#: admin/forms.py:64 models/thumbnailoptionmodels.py:37 +#: admin/forms.py:68 models/thumbnailoptionmodels.py:37 msgid "thumbnail option" msgstr "" -#: admin/forms.py:67 models/thumbnailoptionmodels.py:15 +#: admin/forms.py:72 models/thumbnailoptionmodels.py:15 msgid "width" msgstr "genişlil" -#: admin/forms.py:68 models/thumbnailoptionmodels.py:20 +#: admin/forms.py:73 models/thumbnailoptionmodels.py:20 msgid "height" msgstr "yükseklik" -#: admin/forms.py:69 models/thumbnailoptionmodels.py:25 +#: admin/forms.py:74 models/thumbnailoptionmodels.py:25 msgid "crop" msgstr "kırp" -#: admin/forms.py:70 models/thumbnailoptionmodels.py:30 +#: admin/forms.py:75 models/thumbnailoptionmodels.py:30 msgid "upscale" msgstr "" -#: admin/forms.py:75 +#: admin/forms.py:79 msgid "Thumbnail option or resize parameters must be choosen." msgstr "" -#: admin/forms.py:77 -msgid "Resize parameters must be choosen." -msgstr "Boyutlandırma parametreleri seçilmeli" - #: admin/imageadmin.py:18 admin/imageadmin.py:105 msgid "Subject location" msgstr "" @@ -269,26 +265,42 @@ msgstr "" msgid "Media library" msgstr "" -#: models/abstract.py:49 +#: models/abstract.py:62 msgid "default alt text" msgstr "" -#: models/abstract.py:56 +#: models/abstract.py:69 msgid "default caption" msgstr "" -#: models/abstract.py:63 +#: models/abstract.py:76 msgid "subject location" msgstr "" -#: models/abstract.py:78 +#: models/abstract.py:91 msgid "image" msgstr "" -#: models/abstract.py:79 +#: models/abstract.py:92 msgid "images" msgstr "" +#: models/abstract.py:147 +#, python-format +msgid "" +"Image format not recognized or image size exceeds limit of %(max_pixels)d " +"million pixels by a factor of two or more. Before uploading again, check " +"file format or resize image to %(width)d x %(height)d resolution or lower." +msgstr "" + +#: models/abstract.py:156 +#, python-format +msgid "" +"Image size (%(pixels)d million pixels) exceeds limit of %(max_pixels)d " +"million pixels. Before uploading again, resize image to %(width)d x " +"%(height)d resolution or lower." +msgstr "" + #: models/clipboardmodels.py:11 models/foldermodels.py:289 msgid "user" msgstr "kullanıcı" @@ -732,21 +744,17 @@ msgstr "" msgid "The following images will be resized:" msgstr "" -#: templates/admin/filer/folder/choose_images_resize_options.html:33 +#: templates/admin/filer/folder/choose_images_resize_options.html:32 msgid "Choose an existing thumbnail option or enter resize parameters:" msgstr "" -#: templates/admin/filer/folder/choose_images_resize_options.html:35 -msgid "Choose resize parameters:" -msgstr "" - -#: templates/admin/filer/folder/choose_images_resize_options.html:38 +#: templates/admin/filer/folder/choose_images_resize_options.html:36 msgid "" "Warning: Images will be resized in-place and originals will be lost. Maybe " "first make a copy of them to retain the originals." msgstr "" -#: templates/admin/filer/folder/choose_images_resize_options.html:41 +#: templates/admin/filer/folder/choose_images_resize_options.html:39 msgid "Resize" msgstr "" @@ -1078,7 +1086,7 @@ msgstr "" #: templates/admin/filer/tools/detail_info.html:20 #: templates/admin/filer/widgets/admin_file.html:32 -#: templatetags/filer_admin_tags.py:107 +#: templatetags/filer_admin_tags.py:108 msgid "File is missing" msgstr "" @@ -1137,28 +1145,39 @@ msgstr "Dosya Seç" msgid "Choose Folder" msgstr "" -#: validation.py:19 +#: validation.py:20 #, python-brace-format msgid "File \"{file_name}\": Upload denied by site security policy" msgstr "" -#: validation.py:22 +#: validation.py:23 #, python-brace-format msgid "File \"{file_name}\": {file_type} upload denied by site security policy" msgstr "" -#: validation.py:33 +#: validation.py:34 #, python-brace-format msgid "File \"{file_name}\": HTML upload denied by site security policy" msgstr "" -#: validation.py:71 +#: validation.py:72 #, python-brace-format msgid "" "File \"{file_name}\": Rejected due to potential cross site scripting " "vulnerability" msgstr "" +#: validation.py:84 +#, python-brace-format +msgid "File \"{file_name}\": SVG file format not recognized" +msgstr "" + +#~ msgid "Resize parameters must be choosen." +#~ msgstr "Resize parameters must be choosen." + +#~ msgid "Choose resize parameters:" +#~ msgstr "Choose resize parameters:" + #~ msgid "Open file" #~ msgstr "Open file" diff --git a/filer/locale/vi_VN/LC_MESSAGES/django.mo b/filer/locale/vi_VN/LC_MESSAGES/django.mo index 80a7bf570..c784f9621 100644 Binary files a/filer/locale/vi_VN/LC_MESSAGES/django.mo and b/filer/locale/vi_VN/LC_MESSAGES/django.mo differ diff --git a/filer/locale/vi_VN/LC_MESSAGES/django.po b/filer/locale/vi_VN/LC_MESSAGES/django.po index b33029a37..9f125dd44 100644 --- a/filer/locale/vi_VN/LC_MESSAGES/django.po +++ b/filer/locale/vi_VN/LC_MESSAGES/django.po @@ -10,7 +10,7 @@ msgid "" msgstr "" "Project-Id-Version: django Filer\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-07-31 22:21+0200\n" +"POT-Creation-Date: 2023-09-26 08:46+0200\n" "PO-Revision-Date: 2012-07-13 15:50+0000\n" "Last-Translator: Duong Vu Hong , 2021\n" "Language-Team: Vietnamese (Viet Nam) (http://app.transifex.com/divio/django-" @@ -21,27 +21,27 @@ msgstr "" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=1; plural=0;\n" -#: admin/clipboardadmin.py:16 +#: admin/clipboardadmin.py:17 msgid "You do not have permission to upload files." msgstr "" -#: admin/clipboardadmin.py:17 +#: admin/clipboardadmin.py:18 msgid "Can't find folder to upload. Please refresh and try again" msgstr "" -#: admin/clipboardadmin.py:19 +#: admin/clipboardadmin.py:20 msgid "Can't use this folder, Permission Denied. Please select another folder." msgstr "" -#: admin/fileadmin.py:47 +#: admin/fileadmin.py:73 msgid "Advanced" msgstr "Nâng Cao" -#: admin/fileadmin.py:162 +#: admin/fileadmin.py:188 msgid "canonical URL" msgstr "URL hợp chuẩn" -#: admin/folderadmin.py:399 admin/folderadmin.py:570 +#: admin/folderadmin.py:411 admin/folderadmin.py:582 msgid "" "Items must be selected in order to perform actions on them. No items have " "been changed." @@ -49,80 +49,80 @@ msgstr "" "Những item được chọn để thực hiện hành động trên đó. Không có item nào bị " "thay đổi." -#: admin/folderadmin.py:422 +#: admin/folderadmin.py:434 #, python-format msgid "%(total_count)s selected" msgid_plural "All %(total_count)s selected" msgstr[0] "Tất cả %(total_count)s được chọn" -#: admin/folderadmin.py:448 +#: admin/folderadmin.py:460 #, python-format msgid "Directory listing for %(folder_name)s" msgstr "Thư mục liệt kê cho %(folder_name)s" -#: admin/folderadmin.py:463 +#: admin/folderadmin.py:475 #, python-format msgid "0 of %(cnt)s selected" msgstr "0 trên %(cnt)sđược chọn" -#: admin/folderadmin.py:600 +#: admin/folderadmin.py:612 msgid "No action selected." msgstr "Không có hành động được chọn" -#: admin/folderadmin.py:652 +#: admin/folderadmin.py:664 #, python-format msgid "Successfully moved %(count)d files to clipboard." msgstr "Di chuyển %(count)dtệp vào bảng tạm thành công" -#: admin/folderadmin.py:657 +#: admin/folderadmin.py:669 msgid "Move selected files to clipboard" msgstr "Di chuyển tệp đã chọn vào bảng tạm" -#: admin/folderadmin.py:697 +#: admin/folderadmin.py:709 #, python-format msgid "Successfully disabled permissions for %(count)d files." msgstr "Vô hiệu hóa quyền của %(count)dtệp thành công" -#: admin/folderadmin.py:699 +#: admin/folderadmin.py:711 #, python-format msgid "Successfully enabled permissions for %(count)d files." msgstr "Kích hoạt quyền của %(count)dtệp thành công" -#: admin/folderadmin.py:707 +#: admin/folderadmin.py:719 msgid "Enable permissions for selected files" msgstr "Kích hoạt quyền cho các tệp đã chọn" -#: admin/folderadmin.py:713 +#: admin/folderadmin.py:725 msgid "Disable permissions for selected files" msgstr "Vô hiệu hóa quyền của các tệp đã chọn" -#: admin/folderadmin.py:777 +#: admin/folderadmin.py:789 #, python-format msgid "Successfully deleted %(count)d files and/or folders." msgstr "Đã xóa %(count)d tệp và/hoặc thư mục thành công. " -#: admin/folderadmin.py:782 +#: admin/folderadmin.py:794 msgid "Cannot delete files and/or folders" msgstr "Không thể xóa các tệp và/hoặc các thư mục" -#: admin/folderadmin.py:784 +#: admin/folderadmin.py:796 msgid "Are you sure?" msgstr "Bạn chắc chắn chứ?" -#: admin/folderadmin.py:790 +#: admin/folderadmin.py:802 msgid "Delete files and/or folders" msgstr "Xóa các tệp và/hoặc các thư mục" -#: admin/folderadmin.py:811 +#: admin/folderadmin.py:823 msgid "Delete selected files and/or folders" msgstr "Xóa các tệp và/hoặc các thư mục dã chọn" -#: admin/folderadmin.py:918 +#: admin/folderadmin.py:930 #, python-format msgid "Folders with names %s already exist at the selected destination" msgstr "Các thư mục với tên %s đã tồn tại ở vị trí đã chọn" -#: admin/folderadmin.py:922 +#: admin/folderadmin.py:934 #, python-format msgid "" "Successfully moved %(count)d files and/or folders to folder " @@ -130,25 +130,25 @@ msgid "" msgstr "" "Đã di chuyển %(count)d tệp và/hoặc thư mục tới thư mục '%(destination)s'." -#: admin/folderadmin.py:930 admin/folderadmin.py:932 +#: admin/folderadmin.py:942 admin/folderadmin.py:944 msgid "Move files and/or folders" msgstr "Di chuyển tệp và/hoặc thư mục" -#: admin/folderadmin.py:947 +#: admin/folderadmin.py:959 msgid "Move selected files and/or folders" msgstr "Đã di chuyển tệp và/hoặc thư mục đã chọn" -#: admin/folderadmin.py:1004 +#: admin/folderadmin.py:1016 #, python-format msgid "Successfully renamed %(count)d files." msgstr "Đã thành công đổi tên %(count)d tệp." -#: admin/folderadmin.py:1013 admin/folderadmin.py:1015 -#: admin/folderadmin.py:1030 +#: admin/folderadmin.py:1025 admin/folderadmin.py:1027 +#: admin/folderadmin.py:1042 msgid "Rename files" msgstr "Đổi tên tệp" -#: admin/folderadmin.py:1125 +#: admin/folderadmin.py:1137 #, python-format msgid "" "Successfully copied %(count)d files and/or folders to folder " @@ -157,24 +157,24 @@ msgstr "" "Đã thành công sao chép %(count)d tệp và/hoặc thư mục tới thư mục " "'%(destination)s'." -#: admin/folderadmin.py:1143 admin/folderadmin.py:1145 +#: admin/folderadmin.py:1155 admin/folderadmin.py:1157 msgid "Copy files and/or folders" msgstr "Sao chép tệp và/hoặc thư mục" -#: admin/folderadmin.py:1162 +#: admin/folderadmin.py:1174 msgid "Copy selected files and/or folders" msgstr "Sao chép tệp và/hoặc thư mục đã chọn" -#: admin/folderadmin.py:1267 +#: admin/folderadmin.py:1279 #, python-format msgid "Successfully resized %(count)d images." msgstr "Đã thành công thay đổi kích thước %(count)d ảnh." -#: admin/folderadmin.py:1274 admin/folderadmin.py:1276 +#: admin/folderadmin.py:1286 admin/folderadmin.py:1288 msgid "Resize images" msgstr "Thay đổi kích thước ảnh" -#: admin/folderadmin.py:1292 +#: admin/folderadmin.py:1303 msgid "Resize selected images" msgstr "Thay dổi kích thước ảnh đã chọn" @@ -201,34 +201,30 @@ msgstr "Không biết định dạng đổi tên của khóa giá trị \"%(key) msgid "Invalid rename format: %(error)s." msgstr "Định dạng đổi tên không hợp lệ: %(error)s." -#: admin/forms.py:64 models/thumbnailoptionmodels.py:37 +#: admin/forms.py:68 models/thumbnailoptionmodels.py:37 msgid "thumbnail option" msgstr "tùy chọn thumbnail" -#: admin/forms.py:67 models/thumbnailoptionmodels.py:15 +#: admin/forms.py:72 models/thumbnailoptionmodels.py:15 msgid "width" msgstr "Độ rộng" -#: admin/forms.py:68 models/thumbnailoptionmodels.py:20 +#: admin/forms.py:73 models/thumbnailoptionmodels.py:20 msgid "height" msgstr "Độ cao" -#: admin/forms.py:69 models/thumbnailoptionmodels.py:25 +#: admin/forms.py:74 models/thumbnailoptionmodels.py:25 msgid "crop" msgstr "Xén" -#: admin/forms.py:70 models/thumbnailoptionmodels.py:30 +#: admin/forms.py:75 models/thumbnailoptionmodels.py:30 msgid "upscale" msgstr "cao cấp" -#: admin/forms.py:75 +#: admin/forms.py:79 msgid "Thumbnail option or resize parameters must be choosen." msgstr "Tùy chọn thumbnail hoặc tham số thay đổi kích thước phải được chọn." -#: admin/forms.py:77 -msgid "Resize parameters must be choosen." -msgstr "Tham số thay đổi kích thước phải được chọn." - #: admin/imageadmin.py:18 admin/imageadmin.py:105 msgid "Subject location" msgstr "Vị trí chủ đề" @@ -272,26 +268,42 @@ msgstr "Filer" msgid "Media library" msgstr "Thư viện phương tiện" -#: models/abstract.py:49 +#: models/abstract.py:62 msgid "default alt text" msgstr "văn bản thay thế mặc định" -#: models/abstract.py:56 +#: models/abstract.py:69 msgid "default caption" msgstr "đầu đề mặc định" -#: models/abstract.py:63 +#: models/abstract.py:76 msgid "subject location" msgstr "vị trí chủ đề" -#: models/abstract.py:78 +#: models/abstract.py:91 msgid "image" msgstr "hình ảnh" -#: models/abstract.py:79 +#: models/abstract.py:92 msgid "images" msgstr "những hình ảnh" +#: models/abstract.py:147 +#, python-format +msgid "" +"Image format not recognized or image size exceeds limit of %(max_pixels)d " +"million pixels by a factor of two or more. Before uploading again, check " +"file format or resize image to %(width)d x %(height)d resolution or lower." +msgstr "" + +#: models/abstract.py:156 +#, python-format +msgid "" +"Image size (%(pixels)d million pixels) exceeds limit of %(max_pixels)d " +"million pixels. Before uploading again, resize image to %(width)d x " +"%(height)d resolution or lower." +msgstr "" + #: models/clipboardmodels.py:11 models/foldermodels.py:289 msgid "user" msgstr "người dùng" @@ -748,17 +760,13 @@ msgstr "Không có hình ảnh để thay dổi kích thước" msgid "The following images will be resized:" msgstr "Hình ảnh dưới đay sẽ bị thay đổi kích thước:" -#: templates/admin/filer/folder/choose_images_resize_options.html:33 +#: templates/admin/filer/folder/choose_images_resize_options.html:32 msgid "Choose an existing thumbnail option or enter resize parameters:" msgstr "" "Chọn một tùy chọn của thumbnail đang tồn tại hoặc nhập tham số thay đổi kích " "thước:" -#: templates/admin/filer/folder/choose_images_resize_options.html:35 -msgid "Choose resize parameters:" -msgstr "Chọn tham số thay dổi kích thước:" - -#: templates/admin/filer/folder/choose_images_resize_options.html:38 +#: templates/admin/filer/folder/choose_images_resize_options.html:36 msgid "" "Warning: Images will be resized in-place and originals will be lost. Maybe " "first make a copy of them to retain the originals." @@ -766,7 +774,7 @@ msgstr "" "Cảnh bảo: Hình ảnh sẽ bị thay đổi tại chỗ và ảnh gốc sẽ bị mất. Có thể tạo " "một sao chép của chúng để giữ lại hình ảnh gốc." -#: templates/admin/filer/folder/choose_images_resize_options.html:41 +#: templates/admin/filer/folder/choose_images_resize_options.html:39 msgid "Resize" msgstr "Thay đổi kích thước" @@ -1101,7 +1109,7 @@ msgstr "" #: templates/admin/filer/tools/detail_info.html:20 #: templates/admin/filer/widgets/admin_file.html:32 -#: templatetags/filer_admin_tags.py:107 +#: templatetags/filer_admin_tags.py:108 msgid "File is missing" msgstr "" @@ -1160,28 +1168,39 @@ msgstr "Chọn tệp" msgid "Choose Folder" msgstr "" -#: validation.py:19 +#: validation.py:20 #, python-brace-format msgid "File \"{file_name}\": Upload denied by site security policy" msgstr "" -#: validation.py:22 +#: validation.py:23 #, python-brace-format msgid "File \"{file_name}\": {file_type} upload denied by site security policy" msgstr "" -#: validation.py:33 +#: validation.py:34 #, python-brace-format msgid "File \"{file_name}\": HTML upload denied by site security policy" msgstr "" -#: validation.py:71 +#: validation.py:72 #, python-brace-format msgid "" "File \"{file_name}\": Rejected due to potential cross site scripting " "vulnerability" msgstr "" +#: validation.py:84 +#, python-brace-format +msgid "File \"{file_name}\": SVG file format not recognized" +msgstr "" + +#~ msgid "Resize parameters must be choosen." +#~ msgstr "Resize parameters must be choosen." + +#~ msgid "Choose resize parameters:" +#~ msgstr "Choose resize parameters:" + #~ msgid "Open file" #~ msgstr "Open file" diff --git a/filer/locale/zh-Hans/LC_MESSAGES/django.mo b/filer/locale/zh-Hans/LC_MESSAGES/django.mo index d4d88d87f..3ca706516 100644 Binary files a/filer/locale/zh-Hans/LC_MESSAGES/django.mo and b/filer/locale/zh-Hans/LC_MESSAGES/django.mo differ diff --git a/filer/locale/zh-Hans/LC_MESSAGES/django.po b/filer/locale/zh-Hans/LC_MESSAGES/django.po index 6d48fb57a..20e70e4d0 100644 --- a/filer/locale/zh-Hans/LC_MESSAGES/django.po +++ b/filer/locale/zh-Hans/LC_MESSAGES/django.po @@ -11,7 +11,7 @@ msgid "" msgstr "" "Project-Id-Version: django Filer\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-06-28 19:25+0200\n" +"POT-Creation-Date: 2023-09-20 10:11+0200\n" "PO-Revision-Date: 2012-07-13 15:50+0000\n" "Last-Translator: node uuz , 2019\n" "Language-Team: Chinese Simplified (http://app.transifex.com/divio/django-filer/language/zh-Hans/)\n" @@ -36,195 +36,191 @@ msgid "" "Can't use this folder, Permission Denied. Please select another folder." msgstr "" -#: admin/fileadmin.py:45 +#: admin/fileadmin.py:49 msgid "Advanced" msgstr "高级" -#: admin/fileadmin.py:160 +#: admin/fileadmin.py:164 msgid "canonical URL" msgstr "权威URL" -#: admin/folderadmin.py:399 admin/folderadmin.py:570 +#: admin/folderadmin.py:411 admin/folderadmin.py:582 msgid "" "Items must be selected in order to perform actions on them. No items have " "been changed." msgstr "要对执行此操作,必须选择项目。没有项目被更改。" -#: admin/folderadmin.py:422 +#: admin/folderadmin.py:434 #, python-format msgid "%(total_count)s selected" msgid_plural "All %(total_count)s selected" msgstr[0] "选择了 %(total_count)s 个" -#: admin/folderadmin.py:448 +#: admin/folderadmin.py:460 #, python-format msgid "Directory listing for %(folder_name)s" msgstr "%(folder_name)s文件夹列表" -#: admin/folderadmin.py:463 +#: admin/folderadmin.py:475 #, python-format msgid "0 of %(cnt)s selected" msgstr "选择了 %(cnt)s 中的 0 个" -#: admin/folderadmin.py:600 +#: admin/folderadmin.py:612 msgid "No action selected." msgstr "没有选择任何动作。" -#: admin/folderadmin.py:652 +#: admin/folderadmin.py:664 #, python-format msgid "Successfully moved %(count)d files to clipboard." msgstr "成功将 %(count)d 个文件移动到剪贴板。" -#: admin/folderadmin.py:657 +#: admin/folderadmin.py:669 msgid "Move selected files to clipboard" msgstr "移动所选文件到剪贴板" -#: admin/folderadmin.py:697 +#: admin/folderadmin.py:709 #, python-format msgid "Successfully disabled permissions for %(count)d files." msgstr "成功禁用了权限设置(%(count)d 个文件)。" -#: admin/folderadmin.py:699 +#: admin/folderadmin.py:711 #, python-format msgid "Successfully enabled permissions for %(count)d files." msgstr "成功启用了权限设置(%(count)d 个文件)。" -#: admin/folderadmin.py:707 +#: admin/folderadmin.py:719 msgid "Enable permissions for selected files" msgstr "对于所选文件,启用权限设置" -#: admin/folderadmin.py:713 +#: admin/folderadmin.py:725 msgid "Disable permissions for selected files" msgstr "对于所选文件,禁用权限设置" -#: admin/folderadmin.py:777 +#: admin/folderadmin.py:789 #, python-format msgid "Successfully deleted %(count)d files and/or folders." msgstr "成功删除了 %(count)d 个文件或目录" -#: admin/folderadmin.py:782 +#: admin/folderadmin.py:794 msgid "Cannot delete files and/or folders" msgstr "目录或文件删除失败" -#: admin/folderadmin.py:784 +#: admin/folderadmin.py:796 msgid "Are you sure?" msgstr "确定吗?" -#: admin/folderadmin.py:790 +#: admin/folderadmin.py:802 msgid "Delete files and/or folders" msgstr "删除文件或目录" -#: admin/folderadmin.py:811 +#: admin/folderadmin.py:823 msgid "Delete selected files and/or folders" msgstr "删除所选的文件或目录" -#: admin/folderadmin.py:918 +#: admin/folderadmin.py:930 #, python-format msgid "Folders with names %s already exist at the selected destination" msgstr "所选的位置已存在名为 %s 的目录" -#: admin/folderadmin.py:922 +#: admin/folderadmin.py:934 #, python-format msgid "" "Successfully moved %(count)d files and/or folders to folder " "'%(destination)s'." msgstr "成功移动 %(count)d 个文件或目录到 '%(destination)s'。" -#: admin/folderadmin.py:930 admin/folderadmin.py:932 +#: admin/folderadmin.py:942 admin/folderadmin.py:944 msgid "Move files and/or folders" msgstr "移动目录或文件" -#: admin/folderadmin.py:947 +#: admin/folderadmin.py:959 msgid "Move selected files and/or folders" msgstr "移动所选的目录或文件" -#: admin/folderadmin.py:1004 +#: admin/folderadmin.py:1016 #, python-format msgid "Successfully renamed %(count)d files." msgstr "成功重命名 %(count)d 个文件。" -#: admin/folderadmin.py:1013 admin/folderadmin.py:1015 -#: admin/folderadmin.py:1030 +#: admin/folderadmin.py:1025 admin/folderadmin.py:1027 +#: admin/folderadmin.py:1042 msgid "Rename files" msgstr "重命名文件" -#: admin/folderadmin.py:1125 +#: admin/folderadmin.py:1137 #, python-format msgid "" "Successfully copied %(count)d files and/or folders to folder " "'%(destination)s'." msgstr "成功将 %(count)d 个文件或目录复制到 '%(destination)s'。" -#: admin/folderadmin.py:1143 admin/folderadmin.py:1145 +#: admin/folderadmin.py:1155 admin/folderadmin.py:1157 msgid "Copy files and/or folders" msgstr "复制文件或目录" -#: admin/folderadmin.py:1162 +#: admin/folderadmin.py:1174 msgid "Copy selected files and/or folders" msgstr "复制所选的文件或目录" -#: admin/folderadmin.py:1267 +#: admin/folderadmin.py:1279 #, python-format msgid "Successfully resized %(count)d images." msgstr "成功缩放 %(count)d 个图片。" -#: admin/folderadmin.py:1274 admin/folderadmin.py:1276 +#: admin/folderadmin.py:1286 admin/folderadmin.py:1288 msgid "Resize images" msgstr "缩放图片" -#: admin/folderadmin.py:1292 +#: admin/folderadmin.py:1303 msgid "Resize selected images" msgstr "缩放所选的图片" -#: admin/forms.py:24 +#: admin/forms.py:25 msgid "Suffix which will be appended to filenames of copied files." msgstr "所复制文件的文件名将会加上后缀。" -#: admin/forms.py:31 +#: admin/forms.py:32 #, python-format msgid "" "Suffix should be a valid, simple and lowercase filename part, like " "\"%(valid)s\"." msgstr "后缀应该类似 \"%(valid)s\",是简单、小写的部分文件名称" -#: admin/forms.py:52 +#: admin/forms.py:53 #, python-format msgid "Unknown rename format value key \"%(key)s\"." msgstr "未知重命名格式: \"%(key)s\"." -#: admin/forms.py:54 +#: admin/forms.py:55 #, python-format msgid "Invalid rename format: %(error)s." msgstr "无效的重命名格式:%(error)s 。" -#: admin/forms.py:64 models/thumbnailoptionmodels.py:37 +#: admin/forms.py:69 models/thumbnailoptionmodels.py:37 msgid "thumbnail option" msgstr "缩略图选项" -#: admin/forms.py:67 models/thumbnailoptionmodels.py:15 +#: admin/forms.py:73 models/thumbnailoptionmodels.py:15 msgid "width" msgstr "宽" -#: admin/forms.py:68 models/thumbnailoptionmodels.py:20 +#: admin/forms.py:74 models/thumbnailoptionmodels.py:20 msgid "height" msgstr "高" -#: admin/forms.py:69 models/thumbnailoptionmodels.py:25 +#: admin/forms.py:75 models/thumbnailoptionmodels.py:25 msgid "crop" msgstr "裁剪" -#: admin/forms.py:70 models/thumbnailoptionmodels.py:30 +#: admin/forms.py:76 models/thumbnailoptionmodels.py:30 msgid "upscale" msgstr "修改分辨率" -#: admin/forms.py:75 +#: admin/forms.py:80 msgid "Thumbnail option or resize parameters must be choosen." msgstr "必须选择缩略图选项或缩放参数。" -#: admin/forms.py:77 -msgid "Resize parameters must be choosen." -msgstr "必须选择缩放参数。" - #: admin/imageadmin.py:18 admin/imageadmin.py:105 msgid "Subject location" msgstr "主题位置" @@ -246,11 +242,11 @@ msgstr "主题位置超出了图片范围" msgid "Your input: \"{subject_location}\". " msgstr "你输入的:\"{subject_location}\"。" -#: admin/permissionadmin.py:10 models/foldermodels.py:379 +#: admin/permissionadmin.py:10 models/foldermodels.py:380 msgid "Who" msgstr "" -#: admin/permissionadmin.py:11 models/foldermodels.py:400 +#: admin/permissionadmin.py:11 models/foldermodels.py:401 msgid "What" msgstr "" @@ -258,7 +254,7 @@ msgstr "" msgid "Folder with this name already exists." msgstr "这个名称的目录已经存在。" -#: apps.py:9 templates/admin/filer/breadcrumbs.html:5 +#: apps.py:11 templates/admin/filer/breadcrumbs.html:5 #: templates/admin/filer/folder/change_form.html:7 #: templates/admin/filer/folder/directory_listing.html:33 msgid "Filer" @@ -288,7 +284,7 @@ msgstr "图片" msgid "images" msgstr "图片" -#: models/clipboardmodels.py:11 models/foldermodels.py:288 +#: models/clipboardmodels.py:11 models/foldermodels.py:289 msgid "user" msgstr "用户" @@ -318,7 +314,7 @@ msgid "clipboard items" msgstr "剪贴板对象" #: models/filemodels.py:66 templates/admin/filer/folder/change_form.html:8 -#: templates/admin/filer/folder/directory_listing.html:104 +#: templates/admin/filer/folder/directory_listing.html:102 #: templates/admin/filer/folder/new_folder_form.html:4 #: templates/admin/filer/folder/new_folder_form.html:7 #: templates/admin/filer/tools/clipboard/clipboard.html:27 @@ -341,7 +337,7 @@ msgstr "存在强制性数据" msgid "original filename" msgstr "原始文件名" -#: models/filemodels.py:110 models/foldermodels.py:101 +#: models/filemodels.py:110 models/foldermodels.py:102 #: models/thumbnailoptionmodels.py:10 msgid "name" msgstr "名称" @@ -350,15 +346,15 @@ msgstr "名称" msgid "description" msgstr "描述" -#: models/filemodels.py:125 models/foldermodels.py:107 +#: models/filemodels.py:125 models/foldermodels.py:108 msgid "owner" msgstr "所有者" -#: models/filemodels.py:129 models/foldermodels.py:115 +#: models/filemodels.py:129 models/foldermodels.py:116 msgid "uploaded at" msgstr "上传于" -#: models/filemodels.py:134 models/foldermodels.py:125 +#: models/filemodels.py:134 models/foldermodels.py:126 msgid "modified at" msgstr "修改于" @@ -372,112 +368,129 @@ msgid "" "accessible to anyone." msgstr "对此文件禁用所有权限设置。此文件将可以被任何人公开访问。" -#: models/foldermodels.py:93 +#: models/foldermodels.py:94 msgid "parent" msgstr "" -#: models/foldermodels.py:120 +#: models/foldermodels.py:121 msgid "created at" msgstr "创建于" -#: models/foldermodels.py:135 +#: models/foldermodels.py:136 templates/admin/filer/breadcrumbs.html:6 +#: templates/admin/filer/folder/directory_listing.html:35 msgid "Folder" msgstr "目录" -#: models/foldermodels.py:136 +#: models/foldermodels.py:137 #: templates/admin/filer/folder/directory_thumbnail_list.html:12 msgid "Folders" msgstr "目录" -#: models/foldermodels.py:259 +#: models/foldermodels.py:260 msgid "all items" msgstr "所有项目" -#: models/foldermodels.py:260 +#: models/foldermodels.py:261 msgid "this item only" msgstr "仅此项目" -#: models/foldermodels.py:261 +#: models/foldermodels.py:262 msgid "this item and all children" msgstr "此项目和所有子项目" -#: models/foldermodels.py:265 +#: models/foldermodels.py:266 msgid "inherit" msgstr "" -#: models/foldermodels.py:266 +#: models/foldermodels.py:267 msgid "allow" msgstr "允许" -#: models/foldermodels.py:267 +#: models/foldermodels.py:268 msgid "deny" msgstr "拒绝" -#: models/foldermodels.py:279 +#: models/foldermodels.py:280 msgid "type" msgstr "类型" -#: models/foldermodels.py:296 +#: models/foldermodels.py:297 msgid "group" msgstr "组" -#: models/foldermodels.py:303 +#: models/foldermodels.py:304 msgid "everybody" msgstr "所有人" -#: models/foldermodels.py:308 +#: models/foldermodels.py:309 msgid "can read" msgstr "可读" -#: models/foldermodels.py:316 +#: models/foldermodels.py:317 msgid "can edit" msgstr "可编辑" -#: models/foldermodels.py:324 +#: models/foldermodels.py:325 msgid "can add children" msgstr "可增加子项目" -#: models/foldermodels.py:332 +#: models/foldermodels.py:333 msgid "folder permission" msgstr "目录权限" -#: models/foldermodels.py:333 +#: models/foldermodels.py:334 msgid "folder permissions" msgstr "目录权限" -#: models/foldermodels.py:359 +#: models/foldermodels.py:348 +msgid "Folder cannot be selected with type \"all items\"." +msgstr "" + +#: models/foldermodels.py:350 +msgid "Folder has to be selected when type is not \"all items\"." +msgstr "" + +#: models/foldermodels.py:352 +msgid "User or group cannot be selected together with \"everybody\"." +msgstr "" + +#: models/foldermodels.py:354 +msgid "At least one of user, group, or \"everybody\" has to be selected." +msgstr "" + +#: models/foldermodels.py:360 #| msgid "Folders" msgid "All Folders" msgstr "" -#: models/foldermodels.py:361 +#: models/foldermodels.py:362 msgid "Logical Path" msgstr "" -#: models/foldermodels.py:370 +#: models/foldermodels.py:371 #, python-brace-format msgid "User: {user}" msgstr "" -#: models/foldermodels.py:372 +#: models/foldermodels.py:373 #, python-brace-format msgid "Group: {group}" msgstr "" -#: models/foldermodels.py:374 +#: models/foldermodels.py:375 #| msgid "everybody" msgid "Everybody" msgstr "" -#: models/foldermodels.py:387 templates/admin/filer/widgets/admin_file.html:45 +#: models/foldermodels.py:388 templates/admin/filer/widgets/admin_file.html:45 msgid "Edit" msgstr "" -#: models/foldermodels.py:388 +#: models/foldermodels.py:389 msgid "Read" msgstr "" -#: models/foldermodels.py:389 +#: models/foldermodels.py:390 #| msgid "can add children" msgid "Add children" msgstr "" @@ -523,10 +536,8 @@ msgstr "未分类的上传" msgid "files with missing metadata" msgstr "确实元数据的文件" -#: models/virtualitems.py:87 templates/admin/filer/breadcrumbs.html:7 -#: templates/admin/filer/folder/change_form.html:8 -#: templates/admin/filer/folder/directory_listing.html:37 -#: templates/admin/filer/folder/directory_listing.html:104 +#: models/virtualitems.py:87 templates/admin/filer/folder/change_form.html:8 +#: templates/admin/filer/folder/directory_listing.html:102 msgid "root" msgstr "根目录" @@ -580,16 +591,16 @@ msgstr "首页" msgid "Go back to Filer app" msgstr "回到文件管理器首页" -#: templates/admin/filer/breadcrumbs.html:7 -#: templates/admin/filer/folder/directory_listing.html:37 +#: templates/admin/filer/breadcrumbs.html:6 +#: templates/admin/filer/folder/directory_listing.html:35 msgid "Go back to root folder" msgstr "回到根目录" -#: templates/admin/filer/breadcrumbs.html:10 -#: templates/admin/filer/breadcrumbs.html:20 +#: templates/admin/filer/breadcrumbs.html:8 +#: templates/admin/filer/breadcrumbs.html:18 #: templates/admin/filer/folder/change_form.html:10 -#: templates/admin/filer/folder/directory_listing.html:42 -#: templates/admin/filer/folder/directory_listing.html:49 +#: templates/admin/filer/folder/directory_listing.html:39 +#: templates/admin/filer/folder/directory_listing.html:47 #, python-format msgid "Go back to '%(folder_name)s' folder" msgstr "回到 '%(folder_name)s' 目录" @@ -642,7 +653,7 @@ msgstr "查看站点" #: templates/admin/filer/folder/change_form.html:6 #: templates/admin/filer/folder/change_form.html:7 #: templates/admin/filer/folder/change_form.html:8 -#: templates/admin/filer/folder/directory_listing.html:104 +#: templates/admin/filer/folder/directory_listing.html:102 msgid "Go back to" msgstr "后退到" @@ -651,8 +662,8 @@ msgid "admin homepage" msgstr "管理首页" #: templates/admin/filer/folder/change_form.html:37 -#: templates/admin/filer/folder/directory_listing.html:97 -#: templates/admin/filer/folder/directory_listing.html:105 +#: templates/admin/filer/folder/directory_listing.html:95 +#: templates/admin/filer/folder/directory_listing.html:103 #: templates/admin/filer/folder/directory_table_list.html:29 #: templates/admin/filer/folder/directory_table_list.html:59 #: templates/admin/filer/folder/directory_table_list.html:178 @@ -699,7 +710,7 @@ msgstr "目标目录:" #: templates/admin/filer/folder/choose_copy_destination.html:65 #: templates/admin/filer/folder/choose_copy_destination.html:68 -#: templates/admin/filer/folder/directory_listing.html:180 +#: templates/admin/filer/folder/directory_listing.html:178 msgid "Copy" msgstr "复制" @@ -720,21 +731,17 @@ msgstr "没有图片可缩放。" msgid "The following images will be resized:" msgstr "以下图片将被缩放:" -#: templates/admin/filer/folder/choose_images_resize_options.html:33 +#: templates/admin/filer/folder/choose_images_resize_options.html:32 msgid "Choose an existing thumbnail option or enter resize parameters:" msgstr "选择一个缩略图选项或输入缩放参数:" -#: templates/admin/filer/folder/choose_images_resize_options.html:35 -msgid "Choose resize parameters:" -msgstr "缩放参数:" - -#: templates/admin/filer/folder/choose_images_resize_options.html:38 +#: templates/admin/filer/folder/choose_images_resize_options.html:36 msgid "" "Warning: Images will be resized in-place and originals will be lost. Maybe " "first make a copy of them to retain the originals." msgstr "警告:图片将被缩放,并且源文件将被覆盖。你应该先将它们做个备份。" -#: templates/admin/filer/folder/choose_images_resize_options.html:41 +#: templates/admin/filer/folder/choose_images_resize_options.html:39 msgid "Resize" msgstr "缩放" @@ -756,7 +763,7 @@ msgstr "以下的文件将移动到目标目录(包含它们的树结构):" #: templates/admin/filer/folder/choose_move_destination.html:73 #: templates/admin/filer/folder/choose_move_destination.html:76 -#: templates/admin/filer/folder/directory_listing.html:183 +#: templates/admin/filer/folder/directory_listing.html:181 msgid "Move" msgstr "移动" @@ -783,63 +790,63 @@ msgstr "以下文件将被重命名(源文件不变,只是显示名称被修 msgid "Rename" msgstr "重命名" -#: templates/admin/filer/folder/directory_listing.html:96 +#: templates/admin/filer/folder/directory_listing.html:94 msgid "Go back to the parent folder" msgstr "回到父目录" -#: templates/admin/filer/folder/directory_listing.html:133 +#: templates/admin/filer/folder/directory_listing.html:131 msgid "Change current folder details" msgstr "修改当前目录属性" -#: templates/admin/filer/folder/directory_listing.html:133 +#: templates/admin/filer/folder/directory_listing.html:131 msgid "Change" msgstr "修改" -#: templates/admin/filer/folder/directory_listing.html:143 +#: templates/admin/filer/folder/directory_listing.html:141 msgid "Click here to run search for entered phrase" msgstr "点击开始搜索" -#: templates/admin/filer/folder/directory_listing.html:146 +#: templates/admin/filer/folder/directory_listing.html:144 msgid "Search" msgstr "搜索" -#: templates/admin/filer/folder/directory_listing.html:153 +#: templates/admin/filer/folder/directory_listing.html:151 msgid "Close" msgstr "关闭" -#: templates/admin/filer/folder/directory_listing.html:155 +#: templates/admin/filer/folder/directory_listing.html:153 msgid "Limit" msgstr "限定" -#: templates/admin/filer/folder/directory_listing.html:160 +#: templates/admin/filer/folder/directory_listing.html:158 msgid "Check it to limit the search to current folder" msgstr "将搜索限定在当前目录" -#: templates/admin/filer/folder/directory_listing.html:161 +#: templates/admin/filer/folder/directory_listing.html:159 msgid "Limit the search to current folder" msgstr "将搜索限定在当前目录" -#: templates/admin/filer/folder/directory_listing.html:177 +#: templates/admin/filer/folder/directory_listing.html:175 msgid "Delete" msgstr "删除" -#: templates/admin/filer/folder/directory_listing.html:205 +#: templates/admin/filer/folder/directory_listing.html:203 msgid "Adds a new Folder" msgstr "新增一个目录" -#: templates/admin/filer/folder/directory_listing.html:208 +#: templates/admin/filer/folder/directory_listing.html:206 msgid "New Folder" msgstr "新增目录" -#: templates/admin/filer/folder/directory_listing.html:213 -#: templates/admin/filer/folder/directory_listing.html:220 -#: templates/admin/filer/folder/directory_listing.html:223 -#: templates/admin/filer/folder/directory_listing.html:230 -#: templates/admin/filer/folder/directory_listing.html:237 +#: templates/admin/filer/folder/directory_listing.html:211 +#: templates/admin/filer/folder/directory_listing.html:218 +#: templates/admin/filer/folder/directory_listing.html:221 +#: templates/admin/filer/folder/directory_listing.html:228 +#: templates/admin/filer/folder/directory_listing.html:235 msgid "Upload Files" msgstr "上传文件" -#: templates/admin/filer/folder/directory_listing.html:235 +#: templates/admin/filer/folder/directory_listing.html:233 msgid "You have to select a folder first" msgstr "必须先选择一个目录" @@ -1067,7 +1074,7 @@ msgstr "" #: templates/admin/filer/tools/detail_info.html:20 #: templates/admin/filer/widgets/admin_file.html:32 -#: templatetags/filer_admin_tags.py:101 +#: templatetags/filer_admin_tags.py:107 #| msgid "file missing" msgid "File is missing" msgstr "" @@ -1150,6 +1157,12 @@ msgid "" "vulnerability" msgstr "" +#~ msgid "Resize parameters must be choosen." +#~ msgstr "Resize parameters must be choosen." + +#~ msgid "Choose resize parameters:" +#~ msgstr "Choose resize parameters:" + #~ msgid "Open file" #~ msgstr "Open file" diff --git a/filer/locale/zh/LC_MESSAGES/django.mo b/filer/locale/zh/LC_MESSAGES/django.mo index 68635ed87..1f47492f0 100644 Binary files a/filer/locale/zh/LC_MESSAGES/django.mo and b/filer/locale/zh/LC_MESSAGES/django.mo differ diff --git a/filer/locale/zh/LC_MESSAGES/django.po b/filer/locale/zh/LC_MESSAGES/django.po index 05bbbbae8..dc438204f 100644 --- a/filer/locale/zh/LC_MESSAGES/django.po +++ b/filer/locale/zh/LC_MESSAGES/django.po @@ -9,7 +9,7 @@ msgid "" msgstr "" "Project-Id-Version: django Filer\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-07-31 22:21+0200\n" +"POT-Creation-Date: 2023-09-26 08:46+0200\n" "PO-Revision-Date: 2012-07-13 15:50+0000\n" "Last-Translator: Angelo Dini \n" "Language-Team: Chinese (http://app.transifex.com/divio/django-filer/language/" @@ -20,155 +20,155 @@ msgstr "" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=1; plural=0;\n" -#: admin/clipboardadmin.py:16 +#: admin/clipboardadmin.py:17 msgid "You do not have permission to upload files." msgstr "" -#: admin/clipboardadmin.py:17 +#: admin/clipboardadmin.py:18 msgid "Can't find folder to upload. Please refresh and try again" msgstr "" -#: admin/clipboardadmin.py:19 +#: admin/clipboardadmin.py:20 msgid "Can't use this folder, Permission Denied. Please select another folder." msgstr "" -#: admin/fileadmin.py:47 +#: admin/fileadmin.py:73 msgid "Advanced" msgstr "" -#: admin/fileadmin.py:162 +#: admin/fileadmin.py:188 msgid "canonical URL" msgstr "" -#: admin/folderadmin.py:399 admin/folderadmin.py:570 +#: admin/folderadmin.py:411 admin/folderadmin.py:582 msgid "" "Items must be selected in order to perform actions on them. No items have " "been changed." msgstr "" -#: admin/folderadmin.py:422 +#: admin/folderadmin.py:434 #, python-format msgid "%(total_count)s selected" msgid_plural "All %(total_count)s selected" msgstr[0] "" -#: admin/folderadmin.py:448 +#: admin/folderadmin.py:460 #, python-format msgid "Directory listing for %(folder_name)s" msgstr "" -#: admin/folderadmin.py:463 +#: admin/folderadmin.py:475 #, python-format msgid "0 of %(cnt)s selected" msgstr "" -#: admin/folderadmin.py:600 +#: admin/folderadmin.py:612 msgid "No action selected." msgstr "" -#: admin/folderadmin.py:652 +#: admin/folderadmin.py:664 #, python-format msgid "Successfully moved %(count)d files to clipboard." msgstr "" -#: admin/folderadmin.py:657 +#: admin/folderadmin.py:669 msgid "Move selected files to clipboard" msgstr "" -#: admin/folderadmin.py:697 +#: admin/folderadmin.py:709 #, python-format msgid "Successfully disabled permissions for %(count)d files." msgstr "" -#: admin/folderadmin.py:699 +#: admin/folderadmin.py:711 #, python-format msgid "Successfully enabled permissions for %(count)d files." msgstr "" -#: admin/folderadmin.py:707 +#: admin/folderadmin.py:719 msgid "Enable permissions for selected files" msgstr "" -#: admin/folderadmin.py:713 +#: admin/folderadmin.py:725 msgid "Disable permissions for selected files" msgstr "" -#: admin/folderadmin.py:777 +#: admin/folderadmin.py:789 #, python-format msgid "Successfully deleted %(count)d files and/or folders." msgstr "" -#: admin/folderadmin.py:782 +#: admin/folderadmin.py:794 msgid "Cannot delete files and/or folders" msgstr "" -#: admin/folderadmin.py:784 +#: admin/folderadmin.py:796 msgid "Are you sure?" msgstr "" -#: admin/folderadmin.py:790 +#: admin/folderadmin.py:802 msgid "Delete files and/or folders" msgstr "" -#: admin/folderadmin.py:811 +#: admin/folderadmin.py:823 msgid "Delete selected files and/or folders" msgstr "" -#: admin/folderadmin.py:918 +#: admin/folderadmin.py:930 #, python-format msgid "Folders with names %s already exist at the selected destination" msgstr "" -#: admin/folderadmin.py:922 +#: admin/folderadmin.py:934 #, python-format msgid "" "Successfully moved %(count)d files and/or folders to folder " "'%(destination)s'." msgstr "" -#: admin/folderadmin.py:930 admin/folderadmin.py:932 +#: admin/folderadmin.py:942 admin/folderadmin.py:944 msgid "Move files and/or folders" msgstr "" -#: admin/folderadmin.py:947 +#: admin/folderadmin.py:959 msgid "Move selected files and/or folders" msgstr "" -#: admin/folderadmin.py:1004 +#: admin/folderadmin.py:1016 #, python-format msgid "Successfully renamed %(count)d files." msgstr "" -#: admin/folderadmin.py:1013 admin/folderadmin.py:1015 -#: admin/folderadmin.py:1030 +#: admin/folderadmin.py:1025 admin/folderadmin.py:1027 +#: admin/folderadmin.py:1042 msgid "Rename files" msgstr "" -#: admin/folderadmin.py:1125 +#: admin/folderadmin.py:1137 #, python-format msgid "" "Successfully copied %(count)d files and/or folders to folder " "'%(destination)s'." msgstr "" -#: admin/folderadmin.py:1143 admin/folderadmin.py:1145 +#: admin/folderadmin.py:1155 admin/folderadmin.py:1157 msgid "Copy files and/or folders" msgstr "" -#: admin/folderadmin.py:1162 +#: admin/folderadmin.py:1174 msgid "Copy selected files and/or folders" msgstr "" -#: admin/folderadmin.py:1267 +#: admin/folderadmin.py:1279 #, python-format msgid "Successfully resized %(count)d images." msgstr "" -#: admin/folderadmin.py:1274 admin/folderadmin.py:1276 +#: admin/folderadmin.py:1286 admin/folderadmin.py:1288 msgid "Resize images" msgstr "" -#: admin/folderadmin.py:1292 +#: admin/folderadmin.py:1303 msgid "Resize selected images" msgstr "" @@ -193,34 +193,30 @@ msgstr "" msgid "Invalid rename format: %(error)s." msgstr "" -#: admin/forms.py:64 models/thumbnailoptionmodels.py:37 +#: admin/forms.py:68 models/thumbnailoptionmodels.py:37 msgid "thumbnail option" msgstr "" -#: admin/forms.py:67 models/thumbnailoptionmodels.py:15 +#: admin/forms.py:72 models/thumbnailoptionmodels.py:15 msgid "width" msgstr "" -#: admin/forms.py:68 models/thumbnailoptionmodels.py:20 +#: admin/forms.py:73 models/thumbnailoptionmodels.py:20 msgid "height" msgstr "" -#: admin/forms.py:69 models/thumbnailoptionmodels.py:25 +#: admin/forms.py:74 models/thumbnailoptionmodels.py:25 msgid "crop" msgstr "" -#: admin/forms.py:70 models/thumbnailoptionmodels.py:30 +#: admin/forms.py:75 models/thumbnailoptionmodels.py:30 msgid "upscale" msgstr "" -#: admin/forms.py:75 +#: admin/forms.py:79 msgid "Thumbnail option or resize parameters must be choosen." msgstr "" -#: admin/forms.py:77 -msgid "Resize parameters must be choosen." -msgstr "" - #: admin/imageadmin.py:18 admin/imageadmin.py:105 msgid "Subject location" msgstr "" @@ -264,26 +260,42 @@ msgstr "" msgid "Media library" msgstr "" -#: models/abstract.py:49 +#: models/abstract.py:62 msgid "default alt text" msgstr "" -#: models/abstract.py:56 +#: models/abstract.py:69 msgid "default caption" msgstr "" -#: models/abstract.py:63 +#: models/abstract.py:76 msgid "subject location" msgstr "" -#: models/abstract.py:78 +#: models/abstract.py:91 msgid "image" msgstr "" -#: models/abstract.py:79 +#: models/abstract.py:92 msgid "images" msgstr "" +#: models/abstract.py:147 +#, python-format +msgid "" +"Image format not recognized or image size exceeds limit of %(max_pixels)d " +"million pixels by a factor of two or more. Before uploading again, check " +"file format or resize image to %(width)d x %(height)d resolution or lower." +msgstr "" + +#: models/abstract.py:156 +#, python-format +msgid "" +"Image size (%(pixels)d million pixels) exceeds limit of %(max_pixels)d " +"million pixels. Before uploading again, resize image to %(width)d x " +"%(height)d resolution or lower." +msgstr "" + #: models/clipboardmodels.py:11 models/foldermodels.py:289 msgid "user" msgstr "" @@ -727,21 +739,17 @@ msgstr "" msgid "The following images will be resized:" msgstr "" -#: templates/admin/filer/folder/choose_images_resize_options.html:33 +#: templates/admin/filer/folder/choose_images_resize_options.html:32 msgid "Choose an existing thumbnail option or enter resize parameters:" msgstr "" -#: templates/admin/filer/folder/choose_images_resize_options.html:35 -msgid "Choose resize parameters:" -msgstr "" - -#: templates/admin/filer/folder/choose_images_resize_options.html:38 +#: templates/admin/filer/folder/choose_images_resize_options.html:36 msgid "" "Warning: Images will be resized in-place and originals will be lost. Maybe " "first make a copy of them to retain the originals." msgstr "" -#: templates/admin/filer/folder/choose_images_resize_options.html:41 +#: templates/admin/filer/folder/choose_images_resize_options.html:39 msgid "Resize" msgstr "" @@ -1070,7 +1078,7 @@ msgstr "" #: templates/admin/filer/tools/detail_info.html:20 #: templates/admin/filer/widgets/admin_file.html:32 -#: templatetags/filer_admin_tags.py:107 +#: templatetags/filer_admin_tags.py:108 msgid "File is missing" msgstr "" @@ -1129,28 +1137,39 @@ msgstr "" msgid "Choose Folder" msgstr "" -#: validation.py:19 +#: validation.py:20 #, python-brace-format msgid "File \"{file_name}\": Upload denied by site security policy" msgstr "" -#: validation.py:22 +#: validation.py:23 #, python-brace-format msgid "File \"{file_name}\": {file_type} upload denied by site security policy" msgstr "" -#: validation.py:33 +#: validation.py:34 #, python-brace-format msgid "File \"{file_name}\": HTML upload denied by site security policy" msgstr "" -#: validation.py:71 +#: validation.py:72 #, python-brace-format msgid "" "File \"{file_name}\": Rejected due to potential cross site scripting " "vulnerability" msgstr "" +#: validation.py:84 +#, python-brace-format +msgid "File \"{file_name}\": SVG file format not recognized" +msgstr "" + +#~ msgid "Resize parameters must be choosen." +#~ msgstr "Resize parameters must be choosen." + +#~ msgid "Choose resize parameters:" +#~ msgstr "Choose resize parameters:" + #~ msgid "Open file" #~ msgstr "Open file" diff --git a/filer/locale/zh_CN/LC_MESSAGES/django.mo b/filer/locale/zh_CN/LC_MESSAGES/django.mo index 84f71972e..0da366bff 100644 Binary files a/filer/locale/zh_CN/LC_MESSAGES/django.mo and b/filer/locale/zh_CN/LC_MESSAGES/django.mo differ diff --git a/filer/locale/zh_CN/LC_MESSAGES/django.po b/filer/locale/zh_CN/LC_MESSAGES/django.po index 5dc7b4114..ddbcb3939 100644 --- a/filer/locale/zh_CN/LC_MESSAGES/django.po +++ b/filer/locale/zh_CN/LC_MESSAGES/django.po @@ -9,7 +9,7 @@ msgid "" msgstr "" "Project-Id-Version: django Filer\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-07-31 22:21+0200\n" +"POT-Creation-Date: 2023-09-26 08:46+0200\n" "PO-Revision-Date: 2012-07-13 15:50+0000\n" "Last-Translator: Angelo Dini \n" "Language-Team: Chinese (China) (http://app.transifex.com/divio/django-filer/" @@ -20,155 +20,155 @@ msgstr "" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=1; plural=0;\n" -#: admin/clipboardadmin.py:16 +#: admin/clipboardadmin.py:17 msgid "You do not have permission to upload files." msgstr "" -#: admin/clipboardadmin.py:17 +#: admin/clipboardadmin.py:18 msgid "Can't find folder to upload. Please refresh and try again" msgstr "" -#: admin/clipboardadmin.py:19 +#: admin/clipboardadmin.py:20 msgid "Can't use this folder, Permission Denied. Please select another folder." msgstr "" -#: admin/fileadmin.py:47 +#: admin/fileadmin.py:73 msgid "Advanced" msgstr "" -#: admin/fileadmin.py:162 +#: admin/fileadmin.py:188 msgid "canonical URL" msgstr "" -#: admin/folderadmin.py:399 admin/folderadmin.py:570 +#: admin/folderadmin.py:411 admin/folderadmin.py:582 msgid "" "Items must be selected in order to perform actions on them. No items have " "been changed." msgstr "" -#: admin/folderadmin.py:422 +#: admin/folderadmin.py:434 #, python-format msgid "%(total_count)s selected" msgid_plural "All %(total_count)s selected" msgstr[0] "" -#: admin/folderadmin.py:448 +#: admin/folderadmin.py:460 #, python-format msgid "Directory listing for %(folder_name)s" msgstr "" -#: admin/folderadmin.py:463 +#: admin/folderadmin.py:475 #, python-format msgid "0 of %(cnt)s selected" msgstr "" -#: admin/folderadmin.py:600 +#: admin/folderadmin.py:612 msgid "No action selected." msgstr "" -#: admin/folderadmin.py:652 +#: admin/folderadmin.py:664 #, python-format msgid "Successfully moved %(count)d files to clipboard." msgstr "" -#: admin/folderadmin.py:657 +#: admin/folderadmin.py:669 msgid "Move selected files to clipboard" msgstr "" -#: admin/folderadmin.py:697 +#: admin/folderadmin.py:709 #, python-format msgid "Successfully disabled permissions for %(count)d files." msgstr "" -#: admin/folderadmin.py:699 +#: admin/folderadmin.py:711 #, python-format msgid "Successfully enabled permissions for %(count)d files." msgstr "" -#: admin/folderadmin.py:707 +#: admin/folderadmin.py:719 msgid "Enable permissions for selected files" msgstr "" -#: admin/folderadmin.py:713 +#: admin/folderadmin.py:725 msgid "Disable permissions for selected files" msgstr "" -#: admin/folderadmin.py:777 +#: admin/folderadmin.py:789 #, python-format msgid "Successfully deleted %(count)d files and/or folders." msgstr "" -#: admin/folderadmin.py:782 +#: admin/folderadmin.py:794 msgid "Cannot delete files and/or folders" msgstr "" -#: admin/folderadmin.py:784 +#: admin/folderadmin.py:796 msgid "Are you sure?" msgstr "" -#: admin/folderadmin.py:790 +#: admin/folderadmin.py:802 msgid "Delete files and/or folders" msgstr "" -#: admin/folderadmin.py:811 +#: admin/folderadmin.py:823 msgid "Delete selected files and/or folders" msgstr "" -#: admin/folderadmin.py:918 +#: admin/folderadmin.py:930 #, python-format msgid "Folders with names %s already exist at the selected destination" msgstr "" -#: admin/folderadmin.py:922 +#: admin/folderadmin.py:934 #, python-format msgid "" "Successfully moved %(count)d files and/or folders to folder " "'%(destination)s'." msgstr "" -#: admin/folderadmin.py:930 admin/folderadmin.py:932 +#: admin/folderadmin.py:942 admin/folderadmin.py:944 msgid "Move files and/or folders" msgstr "" -#: admin/folderadmin.py:947 +#: admin/folderadmin.py:959 msgid "Move selected files and/or folders" msgstr "" -#: admin/folderadmin.py:1004 +#: admin/folderadmin.py:1016 #, python-format msgid "Successfully renamed %(count)d files." msgstr "" -#: admin/folderadmin.py:1013 admin/folderadmin.py:1015 -#: admin/folderadmin.py:1030 +#: admin/folderadmin.py:1025 admin/folderadmin.py:1027 +#: admin/folderadmin.py:1042 msgid "Rename files" msgstr "" -#: admin/folderadmin.py:1125 +#: admin/folderadmin.py:1137 #, python-format msgid "" "Successfully copied %(count)d files and/or folders to folder " "'%(destination)s'." msgstr "" -#: admin/folderadmin.py:1143 admin/folderadmin.py:1145 +#: admin/folderadmin.py:1155 admin/folderadmin.py:1157 msgid "Copy files and/or folders" msgstr "" -#: admin/folderadmin.py:1162 +#: admin/folderadmin.py:1174 msgid "Copy selected files and/or folders" msgstr "" -#: admin/folderadmin.py:1267 +#: admin/folderadmin.py:1279 #, python-format msgid "Successfully resized %(count)d images." msgstr "" -#: admin/folderadmin.py:1274 admin/folderadmin.py:1276 +#: admin/folderadmin.py:1286 admin/folderadmin.py:1288 msgid "Resize images" msgstr "" -#: admin/folderadmin.py:1292 +#: admin/folderadmin.py:1303 msgid "Resize selected images" msgstr "" @@ -193,34 +193,30 @@ msgstr "" msgid "Invalid rename format: %(error)s." msgstr "" -#: admin/forms.py:64 models/thumbnailoptionmodels.py:37 +#: admin/forms.py:68 models/thumbnailoptionmodels.py:37 msgid "thumbnail option" msgstr "" -#: admin/forms.py:67 models/thumbnailoptionmodels.py:15 +#: admin/forms.py:72 models/thumbnailoptionmodels.py:15 msgid "width" msgstr "" -#: admin/forms.py:68 models/thumbnailoptionmodels.py:20 +#: admin/forms.py:73 models/thumbnailoptionmodels.py:20 msgid "height" msgstr "" -#: admin/forms.py:69 models/thumbnailoptionmodels.py:25 +#: admin/forms.py:74 models/thumbnailoptionmodels.py:25 msgid "crop" msgstr "" -#: admin/forms.py:70 models/thumbnailoptionmodels.py:30 +#: admin/forms.py:75 models/thumbnailoptionmodels.py:30 msgid "upscale" msgstr "" -#: admin/forms.py:75 +#: admin/forms.py:79 msgid "Thumbnail option or resize parameters must be choosen." msgstr "" -#: admin/forms.py:77 -msgid "Resize parameters must be choosen." -msgstr "" - #: admin/imageadmin.py:18 admin/imageadmin.py:105 msgid "Subject location" msgstr "" @@ -264,26 +260,42 @@ msgstr "" msgid "Media library" msgstr "" -#: models/abstract.py:49 +#: models/abstract.py:62 msgid "default alt text" msgstr "" -#: models/abstract.py:56 +#: models/abstract.py:69 msgid "default caption" msgstr "" -#: models/abstract.py:63 +#: models/abstract.py:76 msgid "subject location" msgstr "" -#: models/abstract.py:78 +#: models/abstract.py:91 msgid "image" msgstr "" -#: models/abstract.py:79 +#: models/abstract.py:92 msgid "images" msgstr "" +#: models/abstract.py:147 +#, python-format +msgid "" +"Image format not recognized or image size exceeds limit of %(max_pixels)d " +"million pixels by a factor of two or more. Before uploading again, check " +"file format or resize image to %(width)d x %(height)d resolution or lower." +msgstr "" + +#: models/abstract.py:156 +#, python-format +msgid "" +"Image size (%(pixels)d million pixels) exceeds limit of %(max_pixels)d " +"million pixels. Before uploading again, resize image to %(width)d x " +"%(height)d resolution or lower." +msgstr "" + #: models/clipboardmodels.py:11 models/foldermodels.py:289 msgid "user" msgstr "" @@ -727,21 +739,17 @@ msgstr "" msgid "The following images will be resized:" msgstr "" -#: templates/admin/filer/folder/choose_images_resize_options.html:33 +#: templates/admin/filer/folder/choose_images_resize_options.html:32 msgid "Choose an existing thumbnail option or enter resize parameters:" msgstr "" -#: templates/admin/filer/folder/choose_images_resize_options.html:35 -msgid "Choose resize parameters:" -msgstr "" - -#: templates/admin/filer/folder/choose_images_resize_options.html:38 +#: templates/admin/filer/folder/choose_images_resize_options.html:36 msgid "" "Warning: Images will be resized in-place and originals will be lost. Maybe " "first make a copy of them to retain the originals." msgstr "" -#: templates/admin/filer/folder/choose_images_resize_options.html:41 +#: templates/admin/filer/folder/choose_images_resize_options.html:39 msgid "Resize" msgstr "" @@ -1070,7 +1078,7 @@ msgstr "" #: templates/admin/filer/tools/detail_info.html:20 #: templates/admin/filer/widgets/admin_file.html:32 -#: templatetags/filer_admin_tags.py:107 +#: templatetags/filer_admin_tags.py:108 msgid "File is missing" msgstr "" @@ -1129,28 +1137,39 @@ msgstr "" msgid "Choose Folder" msgstr "" -#: validation.py:19 +#: validation.py:20 #, python-brace-format msgid "File \"{file_name}\": Upload denied by site security policy" msgstr "" -#: validation.py:22 +#: validation.py:23 #, python-brace-format msgid "File \"{file_name}\": {file_type} upload denied by site security policy" msgstr "" -#: validation.py:33 +#: validation.py:34 #, python-brace-format msgid "File \"{file_name}\": HTML upload denied by site security policy" msgstr "" -#: validation.py:71 +#: validation.py:72 #, python-brace-format msgid "" "File \"{file_name}\": Rejected due to potential cross site scripting " "vulnerability" msgstr "" +#: validation.py:84 +#, python-brace-format +msgid "File \"{file_name}\": SVG file format not recognized" +msgstr "" + +#~ msgid "Resize parameters must be choosen." +#~ msgstr "Resize parameters must be choosen." + +#~ msgid "Choose resize parameters:" +#~ msgstr "Choose resize parameters:" + #~ msgid "Open file" #~ msgstr "Open file" diff --git a/filer/locale/zh_TW/LC_MESSAGES/django.mo b/filer/locale/zh_TW/LC_MESSAGES/django.mo index c0c11dd5c..fdfa81427 100644 Binary files a/filer/locale/zh_TW/LC_MESSAGES/django.mo and b/filer/locale/zh_TW/LC_MESSAGES/django.mo differ diff --git a/filer/locale/zh_TW/LC_MESSAGES/django.po b/filer/locale/zh_TW/LC_MESSAGES/django.po index 29f4d8c5e..bd227abd9 100644 --- a/filer/locale/zh_TW/LC_MESSAGES/django.po +++ b/filer/locale/zh_TW/LC_MESSAGES/django.po @@ -9,7 +9,7 @@ msgid "" msgstr "" "Project-Id-Version: django Filer\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-07-31 22:21+0200\n" +"POT-Creation-Date: 2023-09-26 08:46+0200\n" "PO-Revision-Date: 2012-07-13 15:50+0000\n" "Last-Translator: Angelo Dini \n" "Language-Team: Chinese (Taiwan) (http://app.transifex.com/divio/django-filer/" @@ -20,155 +20,155 @@ msgstr "" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=1; plural=0;\n" -#: admin/clipboardadmin.py:16 +#: admin/clipboardadmin.py:17 msgid "You do not have permission to upload files." msgstr "" -#: admin/clipboardadmin.py:17 +#: admin/clipboardadmin.py:18 msgid "Can't find folder to upload. Please refresh and try again" msgstr "" -#: admin/clipboardadmin.py:19 +#: admin/clipboardadmin.py:20 msgid "Can't use this folder, Permission Denied. Please select another folder." msgstr "" -#: admin/fileadmin.py:47 +#: admin/fileadmin.py:73 msgid "Advanced" msgstr "" -#: admin/fileadmin.py:162 +#: admin/fileadmin.py:188 msgid "canonical URL" msgstr "" -#: admin/folderadmin.py:399 admin/folderadmin.py:570 +#: admin/folderadmin.py:411 admin/folderadmin.py:582 msgid "" "Items must be selected in order to perform actions on them. No items have " "been changed." msgstr "" -#: admin/folderadmin.py:422 +#: admin/folderadmin.py:434 #, python-format msgid "%(total_count)s selected" msgid_plural "All %(total_count)s selected" msgstr[0] "" -#: admin/folderadmin.py:448 +#: admin/folderadmin.py:460 #, python-format msgid "Directory listing for %(folder_name)s" msgstr "" -#: admin/folderadmin.py:463 +#: admin/folderadmin.py:475 #, python-format msgid "0 of %(cnt)s selected" msgstr "" -#: admin/folderadmin.py:600 +#: admin/folderadmin.py:612 msgid "No action selected." msgstr "" -#: admin/folderadmin.py:652 +#: admin/folderadmin.py:664 #, python-format msgid "Successfully moved %(count)d files to clipboard." msgstr "" -#: admin/folderadmin.py:657 +#: admin/folderadmin.py:669 msgid "Move selected files to clipboard" msgstr "" -#: admin/folderadmin.py:697 +#: admin/folderadmin.py:709 #, python-format msgid "Successfully disabled permissions for %(count)d files." msgstr "" -#: admin/folderadmin.py:699 +#: admin/folderadmin.py:711 #, python-format msgid "Successfully enabled permissions for %(count)d files." msgstr "" -#: admin/folderadmin.py:707 +#: admin/folderadmin.py:719 msgid "Enable permissions for selected files" msgstr "" -#: admin/folderadmin.py:713 +#: admin/folderadmin.py:725 msgid "Disable permissions for selected files" msgstr "" -#: admin/folderadmin.py:777 +#: admin/folderadmin.py:789 #, python-format msgid "Successfully deleted %(count)d files and/or folders." msgstr "" -#: admin/folderadmin.py:782 +#: admin/folderadmin.py:794 msgid "Cannot delete files and/or folders" msgstr "" -#: admin/folderadmin.py:784 +#: admin/folderadmin.py:796 msgid "Are you sure?" msgstr "" -#: admin/folderadmin.py:790 +#: admin/folderadmin.py:802 msgid "Delete files and/or folders" msgstr "" -#: admin/folderadmin.py:811 +#: admin/folderadmin.py:823 msgid "Delete selected files and/or folders" msgstr "" -#: admin/folderadmin.py:918 +#: admin/folderadmin.py:930 #, python-format msgid "Folders with names %s already exist at the selected destination" msgstr "" -#: admin/folderadmin.py:922 +#: admin/folderadmin.py:934 #, python-format msgid "" "Successfully moved %(count)d files and/or folders to folder " "'%(destination)s'." msgstr "" -#: admin/folderadmin.py:930 admin/folderadmin.py:932 +#: admin/folderadmin.py:942 admin/folderadmin.py:944 msgid "Move files and/or folders" msgstr "" -#: admin/folderadmin.py:947 +#: admin/folderadmin.py:959 msgid "Move selected files and/or folders" msgstr "" -#: admin/folderadmin.py:1004 +#: admin/folderadmin.py:1016 #, python-format msgid "Successfully renamed %(count)d files." msgstr "" -#: admin/folderadmin.py:1013 admin/folderadmin.py:1015 -#: admin/folderadmin.py:1030 +#: admin/folderadmin.py:1025 admin/folderadmin.py:1027 +#: admin/folderadmin.py:1042 msgid "Rename files" msgstr "" -#: admin/folderadmin.py:1125 +#: admin/folderadmin.py:1137 #, python-format msgid "" "Successfully copied %(count)d files and/or folders to folder " "'%(destination)s'." msgstr "" -#: admin/folderadmin.py:1143 admin/folderadmin.py:1145 +#: admin/folderadmin.py:1155 admin/folderadmin.py:1157 msgid "Copy files and/or folders" msgstr "" -#: admin/folderadmin.py:1162 +#: admin/folderadmin.py:1174 msgid "Copy selected files and/or folders" msgstr "" -#: admin/folderadmin.py:1267 +#: admin/folderadmin.py:1279 #, python-format msgid "Successfully resized %(count)d images." msgstr "" -#: admin/folderadmin.py:1274 admin/folderadmin.py:1276 +#: admin/folderadmin.py:1286 admin/folderadmin.py:1288 msgid "Resize images" msgstr "" -#: admin/folderadmin.py:1292 +#: admin/folderadmin.py:1303 msgid "Resize selected images" msgstr "" @@ -193,34 +193,30 @@ msgstr "" msgid "Invalid rename format: %(error)s." msgstr "" -#: admin/forms.py:64 models/thumbnailoptionmodels.py:37 +#: admin/forms.py:68 models/thumbnailoptionmodels.py:37 msgid "thumbnail option" msgstr "" -#: admin/forms.py:67 models/thumbnailoptionmodels.py:15 +#: admin/forms.py:72 models/thumbnailoptionmodels.py:15 msgid "width" msgstr "" -#: admin/forms.py:68 models/thumbnailoptionmodels.py:20 +#: admin/forms.py:73 models/thumbnailoptionmodels.py:20 msgid "height" msgstr "" -#: admin/forms.py:69 models/thumbnailoptionmodels.py:25 +#: admin/forms.py:74 models/thumbnailoptionmodels.py:25 msgid "crop" msgstr "" -#: admin/forms.py:70 models/thumbnailoptionmodels.py:30 +#: admin/forms.py:75 models/thumbnailoptionmodels.py:30 msgid "upscale" msgstr "" -#: admin/forms.py:75 +#: admin/forms.py:79 msgid "Thumbnail option or resize parameters must be choosen." msgstr "" -#: admin/forms.py:77 -msgid "Resize parameters must be choosen." -msgstr "" - #: admin/imageadmin.py:18 admin/imageadmin.py:105 msgid "Subject location" msgstr "" @@ -264,26 +260,42 @@ msgstr "" msgid "Media library" msgstr "" -#: models/abstract.py:49 +#: models/abstract.py:62 msgid "default alt text" msgstr "" -#: models/abstract.py:56 +#: models/abstract.py:69 msgid "default caption" msgstr "" -#: models/abstract.py:63 +#: models/abstract.py:76 msgid "subject location" msgstr "" -#: models/abstract.py:78 +#: models/abstract.py:91 msgid "image" msgstr "" -#: models/abstract.py:79 +#: models/abstract.py:92 msgid "images" msgstr "" +#: models/abstract.py:147 +#, python-format +msgid "" +"Image format not recognized or image size exceeds limit of %(max_pixels)d " +"million pixels by a factor of two or more. Before uploading again, check " +"file format or resize image to %(width)d x %(height)d resolution or lower." +msgstr "" + +#: models/abstract.py:156 +#, python-format +msgid "" +"Image size (%(pixels)d million pixels) exceeds limit of %(max_pixels)d " +"million pixels. Before uploading again, resize image to %(width)d x " +"%(height)d resolution or lower." +msgstr "" + #: models/clipboardmodels.py:11 models/foldermodels.py:289 msgid "user" msgstr "" @@ -727,21 +739,17 @@ msgstr "" msgid "The following images will be resized:" msgstr "" -#: templates/admin/filer/folder/choose_images_resize_options.html:33 +#: templates/admin/filer/folder/choose_images_resize_options.html:32 msgid "Choose an existing thumbnail option or enter resize parameters:" msgstr "" -#: templates/admin/filer/folder/choose_images_resize_options.html:35 -msgid "Choose resize parameters:" -msgstr "" - -#: templates/admin/filer/folder/choose_images_resize_options.html:38 +#: templates/admin/filer/folder/choose_images_resize_options.html:36 msgid "" "Warning: Images will be resized in-place and originals will be lost. Maybe " "first make a copy of them to retain the originals." msgstr "" -#: templates/admin/filer/folder/choose_images_resize_options.html:41 +#: templates/admin/filer/folder/choose_images_resize_options.html:39 msgid "Resize" msgstr "" @@ -1070,7 +1078,7 @@ msgstr "" #: templates/admin/filer/tools/detail_info.html:20 #: templates/admin/filer/widgets/admin_file.html:32 -#: templatetags/filer_admin_tags.py:107 +#: templatetags/filer_admin_tags.py:108 msgid "File is missing" msgstr "" @@ -1129,28 +1137,39 @@ msgstr "" msgid "Choose Folder" msgstr "" -#: validation.py:19 +#: validation.py:20 #, python-brace-format msgid "File \"{file_name}\": Upload denied by site security policy" msgstr "" -#: validation.py:22 +#: validation.py:23 #, python-brace-format msgid "File \"{file_name}\": {file_type} upload denied by site security policy" msgstr "" -#: validation.py:33 +#: validation.py:34 #, python-brace-format msgid "File \"{file_name}\": HTML upload denied by site security policy" msgstr "" -#: validation.py:71 +#: validation.py:72 #, python-brace-format msgid "" "File \"{file_name}\": Rejected due to potential cross site scripting " "vulnerability" msgstr "" +#: validation.py:84 +#, python-brace-format +msgid "File \"{file_name}\": SVG file format not recognized" +msgstr "" + +#~ msgid "Resize parameters must be choosen." +#~ msgstr "Resize parameters must be choosen." + +#~ msgid "Choose resize parameters:" +#~ msgstr "Choose resize parameters:" + #~ msgid "Open file" #~ msgstr "Open file" diff --git a/filer/models/abstract.py b/filer/models/abstract.py index 190f1c332..db3c16dd5 100644 --- a/filer/models/abstract.py +++ b/filer/models/abstract.py @@ -1,11 +1,14 @@ import logging +from django.conf import settings +from django.core.exceptions import ValidationError from django.db import models from django.utils.functional import cached_property from django.utils.translation import gettext_lazy as _ import easy_thumbnails.utils from easy_thumbnails.VIL import Image as VILImage +from PIL.Image import MAX_IMAGE_PIXELS from .. import settings as filer_settings from ..utils.compatibility import PILImage @@ -17,6 +20,16 @@ logger = logging.getLogger(__name__) +# We can never exceed the max pixel value set by Pillow's PIL Image MAX_IMAGE_PIXELS +# as if we allow it, it will fail while thumbnailing (first in the admin thumbnails +# and then in the page itself. +# Refer this https://github.com/python-pillow/Pillow/blob/b723e9e62e4706a85f7e44cb42b3d838dae5e546/src/PIL/Image.py#L3148 +FILER_MAX_IMAGE_PIXELS = min( + getattr(settings, "FILER_MAX_IMAGE_PIXELS", MAX_IMAGE_PIXELS), + MAX_IMAGE_PIXELS, +) + + class BaseImage(File): SIDEBAR_IMAGE_WIDTH = 210 DEFAULT_THUMBNAILS = { @@ -112,6 +125,41 @@ def file_data_changed(self, post_init=False): self._transparent = False return attrs_updated + def clean(self): + # We check the Image size and calculate the pixel before + # the image gets attached to a folder and saved. We also + # send the error msg in the JSON and also post the message + # so that they know what is wrong with the image they uploaded + if not self.file: + return + + if self._width is None or self._height is None: + # If image size exceeds Pillow's max image size, Pillow will not return width or height + pixels = 2 * FILER_MAX_IMAGE_PIXELS + 1 + aspect = 16 / 9 + else: + width, height = max(1, self.width), max(1, self.height) + pixels: int = width * height + aspect: float = width / height + res_x: int = int((FILER_MAX_IMAGE_PIXELS * aspect) ** 0.5) + res_y: int = int(res_x / aspect) + if pixels > 2 * FILER_MAX_IMAGE_PIXELS: + msg = _( + "Image format not recognized or image size exceeds limit of %(max_pixels)d million " + "pixels by a factor of two or more. Before uploading again, check file format or resize " + "image to %(width)d x %(height)d resolution or lower." + ) % dict(max_pixels=FILER_MAX_IMAGE_PIXELS // 1000000, width=res_x, height=res_y) + raise ValidationError(str(msg), code="image_size") + + if pixels > FILER_MAX_IMAGE_PIXELS: + msg = _( + "Image size (%(pixels)d million pixels) exceeds limit of %(max_pixels)d " + "million pixels. Before uploading again, resize image to %(width)d x %(height)d " + "resolution or lower." + ) % dict(pixels=pixels // 1000000, max_pixels=FILER_MAX_IMAGE_PIXELS // 1000000, + width=res_x, height=res_y) + raise ValidationError(str(msg), code="image_size") + def save(self, *args, **kwargs): self.has_all_mandatory_data = self._check_validity() super().save(*args, **kwargs) diff --git a/filer/models/filemodels.py b/filer/models/filemodels.py index 4dc622456..38f9a98f4 100644 --- a/filer/models/filemodels.py +++ b/filer/models/filemodels.py @@ -206,6 +206,12 @@ def file_data_changed(self, post_init=False): self.generate_sha1() except Exception: self.sha1 = '' + try: + self.mime_type = mimetypes.guess_type(self.file.name)[0] or 'application/octet-stream' + except Exception: + # Cannot find new mime-type? Keep existing + pass + return True def _move_file(self): diff --git a/filer/settings.py b/filer/settings.py index 26b5d18b1..bf1391540 100644 --- a/filer/settings.py +++ b/filer/settings.py @@ -3,7 +3,7 @@ from django.conf import settings from django.core.exceptions import ImproperlyConfigured -from django.core.files.storage import get_storage_class +from django.utils.module_loading import import_string as get_storage_class from django.utils.translation import gettext_lazy as _ from .utils.loader import load_object diff --git a/filer/templates/admin/filer/folder/choose_copy_destination.html b/filer/templates/admin/filer/folder/choose_copy_destination.html index 566912686..6981a6062 100644 --- a/filer/templates/admin/filer/folder/choose_copy_destination.html +++ b/filer/templates/admin/filer/folder/choose_copy_destination.html @@ -58,7 +58,7 @@ {% endfor %}

- {{ copy_form.as_p_with_help }} + {{ copy_form.as_p }}
{% translate "No, take me back" %} diff --git a/filer/templates/admin/filer/folder/choose_images_resize_options.html b/filer/templates/admin/filer/folder/choose_images_resize_options.html index 2aebe8d8c..a47df078a 100644 --- a/filer/templates/admin/filer/folder/choose_images_resize_options.html +++ b/filer/templates/admin/filer/folder/choose_images_resize_options.html @@ -29,12 +29,10 @@ {% endfor %} - {% if cmsplugin_enabled %} -

{% blocktrans %}Choose an existing thumbnail option or enter resize parameters:{% endblocktrans %}

- {% else %} -

{% blocktrans %}Choose resize parameters:{% endblocktrans %}

- {% endif %} - {{ resize_form.as_p_with_help }} +

{% blocktrans %}Choose an existing thumbnail option or enter resize parameters:{% endblocktrans %}

+ {% for fieldset in resize_form.admin_form %} + {% include "admin/includes/fieldset.html" %} + {% endfor %}

{% blocktrans %}Warning: Images will be resized in-place and originals will be lost. Maybe first make a copy of them to retain the originals.{% endblocktrans %}

diff --git a/filer/templates/admin/filer/folder/choose_move_destination.html b/filer/templates/admin/filer/folder/choose_move_destination.html index cfc8269f6..7d93fa9b2 100644 --- a/filer/templates/admin/filer/folder/choose_move_destination.html +++ b/filer/templates/admin/filer/folder/choose_move_destination.html @@ -69,7 +69,7 @@

- {% translate "No, take me back" %} + {% translate "No, take me back" %} diff --git a/filer/templates/admin/filer/folder/choose_rename_format.html b/filer/templates/admin/filer/folder/choose_rename_format.html index e45db94a2..fae8ea1b7 100644 --- a/filer/templates/admin/filer/folder/choose_rename_format.html +++ b/filer/templates/admin/filer/folder/choose_rename_format.html @@ -30,7 +30,7 @@ {% endfor %} - {{ rename_form.as_p_with_help }} + {{ rename_form.as_p }}

Rename format is in Python % operator format using dictionary of possible values:

diff --git a/filer/templates/admin/filer/folder/directory_table_list.html b/filer/templates/admin/filer/folder/directory_table_list.html index d4f3e1174..ffc256a9e 100644 --- a/filer/templates/admin/filer/folder/directory_table_list.html +++ b/filer/templates/admin/filer/folder/directory_table_list.html @@ -100,7 +100,7 @@ {% if is_popup and filer_admin_context.pick_file %} - {% elif has_change_permission %} {% if is_popup and filer_admin_context.pick_file %} - {% elif has_change_permission %}
{% if is_popup and filer_admin_context.pick_file %} - {% elif has_change_permission %}
{% if is_popup and filer_admin_context.pick_file %} - {% elif has_change_permission %} None: - from easy_thumbnails.VIL.Image import load - - image = load(file) # Load svg + from easy_thumbnails.VIL.Image import Image + from reportlab.graphics import renderSVG + from svglib.svglib import svg2rlg + drawing = svg2rlg(file) + if not drawing: + raise FileValidationError( + _('File "{file_name}": SVG file format not recognized') + .format(file_name=file_name) + ) + image = Image(size=(drawing.width, drawing.height)) + renderSVG.draw(drawing, image.canvas) xml = image.canvas.svg.toxml(encoding="UTF-8") # Removes non-graphic nodes -> sanitation file.seek(0) # Rewind file file.write(xml) # write to binary file with utf-8 encoding diff --git a/setup.py b/setup.py index ea32fa866..69deb6952 100644 --- a/setup.py +++ b/setup.py @@ -5,7 +5,7 @@ REQUIREMENTS = [ - 'django>=3.2,<5', + 'django>=3.2,<5.1', 'django-polymorphic', 'easy-thumbnails[svg]', ] diff --git a/tests/requirements/django-5.0.txt b/tests/requirements/django-5.0.txt new file mode 100644 index 000000000..574910cbc --- /dev/null +++ b/tests/requirements/django-5.0.txt @@ -0,0 +1,4 @@ +-r base.txt + +django>=5.0a1,<5.1 +django_polymorphic>=3.1 diff --git a/tests/test_admin.py b/tests/test_admin.py index 9f7a69636..de802146a 100644 --- a/tests/test_admin.py +++ b/tests/test_admin.py @@ -1,3 +1,4 @@ +import json import os import django @@ -7,6 +8,7 @@ from django.contrib.admin import helpers from django.contrib.auth import get_user_model from django.contrib.auth.models import Permission +from django.contrib.messages import ERROR, get_messages from django.forms.models import model_to_dict as model_to_dict_django from django.http import HttpRequest, HttpResponseForbidden from django.test import RequestFactory, TestCase @@ -18,12 +20,12 @@ from filer import settings as filer_settings from filer.admin import tools from filer.admin.folderadmin import FolderAdmin +from filer.models import abstract from filer.models.filemodels import File from filer.models.foldermodels import Folder, FolderPermission from filer.models.virtualitems import FolderRoot from filer.settings import DEFERRED_THUMBNAIL_SIZES, FILER_IMAGE_MODEL from filer.templatetags.filer_admin_tags import file_icon_url, get_aspect_ratio_and_download_url - from filer.thumbnail_processors import normalize_subject_location from filer.utils.loader import load_model from tests.helpers import SettingsOverride, create_folder_structure, create_image, create_superuser @@ -325,7 +327,7 @@ def test_detail_view_missing_file(self): image._height = 200 image.save() - url = reverse('admin:filer_image_change', kwargs={ + url = reverse(f'admin:{image.__class__._meta.app_label}_image_change', kwargs={ 'object_id': image.pk, }) @@ -489,6 +491,51 @@ def test_filer_ajax_upload_file(self): self.assertEqual(stored_image.original_filename, self.image_name) self.assertEqual(stored_image.mime_type, 'image/jpeg') + def test_filer_ajax_decompression_bomb(self): + DEFAULT_MAX_IMAGE_PIXELS = abstract.FILER_MAX_IMAGE_PIXELS + abstract.FILER_MAX_IMAGE_PIXELS = 800 * 200 # Triggers error + self.assertEqual(Image.objects.count(), 0) + folder = Folder.objects.create(name='foo') + with open(self.filename, 'rb') as fh: + file_obj = django.core.files.File(fh) + url = reverse( + 'admin:filer-ajax_upload', + kwargs={'folder_id': folder.pk} + ) + '?filename=%s' % self.image_name + response = self.client.post( + url, + data=file_obj.read(), + content_type='image/jpeg', + **{'HTTP_X_REQUESTED_WITH': 'XMLHttpRequest'} + ) + self.assertEqual(Image.objects.count(), 0) + self.assertIn("error", json.loads(response.content.decode("utf-8"))) + messages = list(get_messages(response.wsgi_request)) + self.assertEqual(len(messages), 1) + self.assertEqual(messages[0].level, ERROR) + + abstract.FILER_MAX_IMAGE_PIXELS = 800 * 300 # Triggers warning + folder = Folder.objects.create(name='foo') + with open(self.filename, 'rb') as fh: + file_obj = django.core.files.File(fh) + url = reverse( + 'admin:filer-ajax_upload', + kwargs={'folder_id': folder.pk} + ) + '?filename=%s' % self.image_name + response = self.client.post( + url, + data=file_obj.read(), + content_type='image/jpeg', + **{'HTTP_X_REQUESTED_WITH': 'XMLHttpRequest'} + ) + self.assertEqual(response.status_code, 200) + messages = list(get_messages(response.wsgi_request)) + self.assertEqual(len(messages), 2) # One more message + self.assertEqual(messages[1].level, ERROR) + self.assertEqual(Image.objects.count(), 0) + + abstract.FILER_MAX_IMAGE_PIXELS = DEFAULT_MAX_IMAGE_PIXELS + def test_filer_ajax_upload_file_using_content_type(self): self.assertEqual(Image.objects.count(), 0) folder = Folder.objects.create(name='foo') @@ -1807,3 +1854,49 @@ def test_file_icon_with_size(self): height, width, context = get_aspect_ratio_and_download_url(context=context, detail=True, file=file, height=40, width=40) self.assertNotIn('sidebar_image_ratio', context.keys()) self.assertIn('download_url', context.keys()) + + +class AdditionalAdminFormsTests(TestCase): + def setUp(self): + self.superuser = create_superuser() + self.client.login(username='admin', password='secret') + self.img = create_image() + self.image_name = 'test_file.jpg' + self.filename = os.path.join(settings.FILE_UPLOAD_TEMP_DIR, self.image_name) + self.img.save(self.filename, 'JPEG') + with open(self.filename, 'rb') as upload: + self.file_object = Image.objects.create(file=django.core.files.File(upload, name=self.image_name)) + self.payload = { + 'select_across': ['0'], 'index': ['0'], + '_selected_action': [f'file-{self.file_object.pk}',] + } + self.url = reverse("admin:filer-directory_listing-unfiled_images") + + def tearDown(self): + self.client.logout() + os.remove(self.filename) + + def test_copy_form(self): + response = self.client.post(self.url, {"action": ["copy_files_and_folders"], **self.payload}) + self.assertContains(response, '

There are no destination folders available.

') + + folder = Folder.objects.create(name="My Image Folder") + response = self.client.post(self.url, {"action": ["copy_files_and_folders"], **self.payload}) + self.assertContains(response, ' ') + + folder.delete() + + def test_move_form(self): + response = self.client.post(self.url, {"action": ["move_files_and_folders"], **self.payload}) + self.assertContains(response, '

There are no destination folders available.

') + + folder = Folder.objects.create(name="My Image Folder") + response = self.client.post(self.url, {"action": ["copy_files_and_folders"], **self.payload}) + self.assertContains(response, ' ') + + folder.delete() + + def test_resize_form(self): + response = self.client.post(self.url, {"action": ["resize_images"], **self.payload}) + self.assertContains(response, 'Warning: Images will be resized in-place and originals will be lost.') + self.assertContains(response, '
') diff --git a/tests/test_models.py b/tests/test_models.py index c9845fe83..e3c6bb56c 100644 --- a/tests/test_models.py +++ b/tests/test_models.py @@ -65,6 +65,7 @@ def test_upload_image_form(self): 'original_filename': self.image_name, 'owner': self.superuser.pk }, {'file': file_obj}) + self.assertTrue(upoad_image_form.is_valid()) if upoad_image_form.is_valid(): image = upoad_image_form.save() # noqa self.assertEqual(Image.objects.count(), 1) diff --git a/tests/test_validation.py b/tests/test_validation.py index 542bbc1ad..613bd58e6 100644 --- a/tests/test_validation.py +++ b/tests/test_validation.py @@ -1,3 +1,4 @@ +import json import os import django.core @@ -8,7 +9,7 @@ from django.utils.crypto import get_random_string from filer.models import File, Folder -from filer.validation import FileValidationError, validate_upload +from filer.validation import FileValidationError, validate_upload, sanitize_svg from tests.helpers import create_superuser @@ -57,7 +58,7 @@ def test_html_upload_fails(self): def test_svg_upload_fails(self): for attack, expected_files in [ - ("""test""", 0), + ("""test""", 0), ('', 0), ("""""", 0), ("", 1) @@ -68,23 +69,23 @@ def test_svg_upload_fails(self): svg_file ) - # create svg file with atack vector - with open(filename, 'w') as fh: - fh.write(self.svg_file.format(attack)) - n = File.objects.count() - - with open(filename, 'rb') as fh: - file_obj = django.core.files.File(fh) - url = reverse('admin:filer-ajax_upload', kwargs={'folder_id': self.folder.pk}) - post_data = { - 'Filename': svg_file, - 'Filedata': file_obj, - 'jsessionid': self.client.session.session_key - } - response = self.client.post(url, post_data) - if expected_files == 0: - self.assertContains(response, "Rejected due to potential cross site scripting vulnerability") - self.assertEqual(File.objects.count(), n + expected_files) + # create svg file with attack vector + with open(filename, 'w') as fh: + fh.write(self.svg_file.format(attack)) + n = File.objects.count() + + with open(filename, 'rb') as fh: + file_obj = django.core.files.File(fh) + url = reverse('admin:filer-ajax_upload', kwargs={'folder_id': self.folder.pk}) + post_data = { + 'Filename': svg_file, + 'Filedata': file_obj, + 'jsessionid': self.client.session.session_key + } + response = self.client.post(url, post_data) + if expected_files == 0: + self.assertContains(response, "Rejected due to potential cross site scripting vulnerability") + self.assertEqual(File.objects.count(), n + expected_files) def test_deny_validator(self): from filer.validation import deny @@ -119,6 +120,41 @@ def test_deny_validator(self): "text/html", ) + def test_svg_sanitizer(self): + config = apps.get_app_config("filer") + svg_validation = config.FILE_VALIDATORS["image/svg+xml"] + config.FILE_VALIDATORS["image/svg+xml"] = [sanitize_svg] + for attack, disallowed in [ + ("""test""", "javascript:"), + ('', "alert"), + ("""""", "onclick"), + ]: + svg_file = 'test_file.svg' + filename = os.path.join( + settings.FILE_UPLOAD_TEMP_DIR, + svg_file + ) + + # create svg file with attack vector + with open(filename, 'w') as fh: + fh.write(self.svg_file.format(attack)) + + with open(filename, 'rb') as fh: + file_obj = django.core.files.File(fh) + url = reverse('admin:filer-ajax_upload', kwargs={'folder_id': self.folder.pk}) + post_data = { + 'Filename': svg_file, + 'Filedata': file_obj, + 'jsessionid': self.client.session.session_key + } + response = self.client.post(url, post_data) + file_id = json.loads(response.content.decode("utf-8"))["file_id"] + img = File.objects.get(pk=file_id) + content = img.file.file.read().decode("utf-8") + self.assertNotIn(disallowed, content) + + config.FILE_VALIDATORS["image/svg+xml"] = svg_validation + class TestWhitelist(TestCase): def setUp(self) -> None: diff --git a/tox.ini b/tox.ini index 1d7d7e714..f81e1db80 100644 --- a/tox.ini +++ b/tox.ini @@ -6,6 +6,7 @@ envlist = frontend py{38,39,310}-dj32-{swap,noswap} py{38,39,310,311}-{dj40,dj41,dj42}-{swap,noswap} + py{310,311}-{dj50}-{swap,noswap} [gh-actions] python = @@ -22,6 +23,7 @@ deps = dj40: -r tests/requirements/django-4.0.txt dj41: -r tests/requirements/django-4.1.txt dj42: -r tests/requirements/django-4.2.txt + dj50: -r tests/requirements/django-5.0.txt commands = {envpython} --version {env:COMMAND:coverage} erase