@inherits LocalizableComponentBase @* The media limits the administrator sets over the configuration's (Media:*, /clientapi/admin/settings): what a login's media may take in all, how big a picture and a video may be, and how long a sound or a video may last. Left empty, a limit is the configuration's; beside each, the configured value and the one in force now, and PrivaPub's hard caps are the maxima (40 MB, 99 MB, four hours). Saving starts from the settings PrivaPub has now (InstanceAdminService.SaveSettings), so what Instance or Rules saved stays. *@
@Localizer["The server's settings could not be read."]
@Localizer["Empty, a limit is the one the server's configuration sets. Every change applies at once, to the next upload."]
@Localizer["Configured: {0}", Quota(settings.Media.ConfiguredQuotaBytesPerRoot)] · @Localizer["In force: {0}", Quota(settings.Media.EffectiveQuotaBytesPerRoot)] · @Localizer["0: no quota"]
@Localizer["Configured: {0}", settings.Media.ConfiguredMaxImageBytes.GetFileSize(Localizer)] · @Localizer["In force: {0}", settings.Media.EffectiveMaxImageBytes.GetFileSize(Localizer)] · @Localizer["At most {0}", settings.Media.HardMaxImageBytes.GetFileSize(Localizer)]
@Localizer["Configured: {0}", settings.Media.ConfiguredMaxVideoBytes.GetFileSize(Localizer)] · @Localizer["In force: {0}", settings.Media.EffectiveMaxVideoBytes.GetFileSize(Localizer)] · @Localizer["At most {0}", settings.Media.HardMaxVideoBytes.GetFileSize(Localizer)]
@Localizer["Configured: {0}", Length(settings.Media.ConfiguredMaxSeconds)] · @Localizer["In force: {0}", Length(settings.Media.EffectiveMaxSeconds)] · @Localizer["At most {0}", Length(settings.Media.HardMaxSeconds)]