From 332abaf1bdccffbd95fdde61df522d92ecba0599 Mon Sep 17 00:00:00 2001 From: Matijs van Zuijlen Date: Sat, 23 Oct 2021 15:31:06 +0200 Subject: [PATCH] Add documentation about use of the media library The media library is for images, video and audio, and all files are publicly accessible. Make this purpose and caveat clearer to the user. --- publify_core/app/views/admin/resources/index.html.erb | 3 +++ publify_core/config/locales/da.yml | 3 +++ publify_core/config/locales/de.yml | 3 +++ publify_core/config/locales/en.yml | 3 +++ publify_core/config/locales/es-MX.yml | 3 +++ publify_core/config/locales/fr.yml | 3 +++ publify_core/config/locales/he.yml | 3 +++ publify_core/config/locales/it.yml | 3 +++ publify_core/config/locales/ja.yml | 3 +++ publify_core/config/locales/lt.yml | 3 +++ publify_core/config/locales/nb-NO.yml | 3 +++ publify_core/config/locales/nl.yml | 8 ++++++-- publify_core/config/locales/pl.yml | 3 +++ publify_core/config/locales/pt-BR.yml | 3 +++ publify_core/config/locales/ro.yml | 3 +++ publify_core/config/locales/ru.yml | 5 ++++- publify_core/config/locales/zh-CN.yml | 3 +++ publify_core/config/locales/zh-TW.yml | 3 +++ 18 files changed, 58 insertions(+), 3 deletions(-) diff --git a/publify_core/app/views/admin/resources/index.html.erb b/publify_core/app/views/admin/resources/index.html.erb index ec3d4fdcb1..e536b0f8bf 100644 --- a/publify_core/app/views/admin/resources/index.html.erb +++ b/publify_core/app/views/admin/resources/index.html.erb @@ -2,6 +2,9 @@

<%= t('.media_library') %>

+

+ <%= t('.explain_media_library_html') %> +

<% end %> <%= form_tag({ action: 'upload' }, { enctype: 'multipart/form-data', class: 'form-inline' }) do %> diff --git a/publify_core/config/locales/da.yml b/publify_core/config/locales/da.yml index 9c4ca9ab58..1f298d0598 100644 --- a/publify_core/config/locales/da.yml +++ b/publify_core/config/locales/da.yml @@ -334,6 +334,9 @@ da: content_type: Indholdstype (Content Type) date: Dato delete: Slet + explain_media_library_html: Upload images, video and audio here for use in + your blog posts and pages. Please note that all uploaded files will + be publicly accessible even if they're not used in blog posts or pages. file_size: Filstørrelse filename: Filnavn media_library: Media Library diff --git a/publify_core/config/locales/de.yml b/publify_core/config/locales/de.yml index 34a4e0989a..aca7767d5b 100644 --- a/publify_core/config/locales/de.yml +++ b/publify_core/config/locales/de.yml @@ -334,6 +334,9 @@ de: content_type: Content Type date: Date delete: Löschen + explain_media_library_html: Upload images, video and audio here for use in + your blog posts and pages. Please note that all uploaded files will + be publicly accessible even if they're not used in blog posts or pages. file_size: Dateigröße filename: Dateiname media_library: Media Library diff --git a/publify_core/config/locales/en.yml b/publify_core/config/locales/en.yml index c7ef18d533..b860f55c92 100644 --- a/publify_core/config/locales/en.yml +++ b/publify_core/config/locales/en.yml @@ -334,6 +334,9 @@ en: content_type: Content Type date: Date delete: Delete + explain_media_library_html: Upload images, video and audio here for use in + your blog posts and pages. Please note that all uploaded files will + be publicly accessible even if they're not used in blog posts or pages. file_size: File Size filename: Filename media_library: Media Library diff --git a/publify_core/config/locales/es-MX.yml b/publify_core/config/locales/es-MX.yml index 5c153c207e..2f4cdfe640 100644 --- a/publify_core/config/locales/es-MX.yml +++ b/publify_core/config/locales/es-MX.yml @@ -334,6 +334,9 @@ es-MX: content_type: Content Type date: Date delete: Eliminar + explain_media_library_html: Upload images, video and audio here for use in + your blog posts and pages. Please note that all uploaded files will + be publicly accessible even if they're not used in blog posts or pages. file_size: Tamaño del Archivo filename: Nombre del archivo media_library: Media Library diff --git a/publify_core/config/locales/fr.yml b/publify_core/config/locales/fr.yml index 496febdd2a..a9141b33a9 100644 --- a/publify_core/config/locales/fr.yml +++ b/publify_core/config/locales/fr.yml @@ -338,6 +338,9 @@ fr: content_type: Type de contenu date: Date delete: Supprimer + explain_media_library_html: Upload images, video and audio here for use in + your blog posts and pages. Please note that all uploaded files will + be publicly accessible even if they're not used in blog posts or pages. file_size: Taille du fichier filename: Fichier media_library: Bibliothèque de médias diff --git a/publify_core/config/locales/he.yml b/publify_core/config/locales/he.yml index b4b93a87c6..b9cd9dbe38 100644 --- a/publify_core/config/locales/he.yml +++ b/publify_core/config/locales/he.yml @@ -333,6 +333,9 @@ he: content_type: סוג התוכן date: תאריך delete: מחק + explain_media_library_html: Upload images, video and audio here for use in + your blog posts and pages. Please note that all uploaded files will + be publicly accessible even if they're not used in blog posts or pages. file_size: גודל הקובץ filename: שם הקובץ media_library: Media Library diff --git a/publify_core/config/locales/it.yml b/publify_core/config/locales/it.yml index 41cf244ec0..d682aae431 100644 --- a/publify_core/config/locales/it.yml +++ b/publify_core/config/locales/it.yml @@ -334,6 +334,9 @@ it: content_type: Tipo di contenuto date: Date delete: Elimina + explain_media_library_html: Upload images, video and audio here for use in + your blog posts and pages. Please note that all uploaded files will + be publicly accessible even if they're not used in blog posts or pages. file_size: Dimensione filename: Nome del file media_library: Media Library diff --git a/publify_core/config/locales/ja.yml b/publify_core/config/locales/ja.yml index 6f680cea38..a6dabb927c 100644 --- a/publify_core/config/locales/ja.yml +++ b/publify_core/config/locales/ja.yml @@ -333,6 +333,9 @@ ja: content_type: コンテンツタイプ date: 日付 delete: 削除 + explain_media_library_html: Upload images, video and audio here for use in + your blog posts and pages. Please note that all uploaded files will + be publicly accessible even if they're not used in blog posts or pages. file_size: ファイルサイズ filename: ファイル名 media_library: Media Library diff --git a/publify_core/config/locales/lt.yml b/publify_core/config/locales/lt.yml index a7ab580afd..f1f6f0459f 100644 --- a/publify_core/config/locales/lt.yml +++ b/publify_core/config/locales/lt.yml @@ -346,6 +346,9 @@ lt: content_type: Content Type date: Date delete: Trinti + explain_media_library_html: Upload images, video and audio here for use in + your blog posts and pages. Please note that all uploaded files will + be publicly accessible even if they're not used in blog posts or pages. file_size: Dateigröße filename: Dateiname media_library: Media Library diff --git a/publify_core/config/locales/nb-NO.yml b/publify_core/config/locales/nb-NO.yml index 83019540fe..deb8395a00 100644 --- a/publify_core/config/locales/nb-NO.yml +++ b/publify_core/config/locales/nb-NO.yml @@ -333,6 +333,9 @@ nb-NO: content_type: Innholdstype (MIME Content Type) date: Dato delete: Slett + explain_media_library_html: Upload images, video and audio here for use in + your blog posts and pages. Please note that all uploaded files will + be publicly accessible even if they're not used in blog posts or pages. file_size: Filstørrelse filename: Filnavn media_library: Media-bibliotek diff --git a/publify_core/config/locales/nl.yml b/publify_core/config/locales/nl.yml index 797ca057b8..6f76f888eb 100644 --- a/publify_core/config/locales/nl.yml +++ b/publify_core/config/locales/nl.yml @@ -334,9 +334,13 @@ nl: content_type: Content Type date: Datum delete: Verwijderen + explain_media_library_html: Upload hier plaatjes, video en audio om te gebruiken + in blog posts en pagina's. Let op dat alle geüploade bestanden openbaar + toegankelijk zijn, zelfs als ze niet gebruikt worden in een blog post of + pagina.. file_size: Bestandsgrootte filename: Bestandsnaam - media_library: Media Library + media_library: Mediabibliotheek medium_size: Medium size no_resources: Er zijn nog geen media. Waarom begin je er niet een te maken? original_size: Original size @@ -556,7 +560,7 @@ nl: logged_in_as: Logged in as %{login} logout_html: Log out » manage_users: Manage Users - media_library: Media Library + media_library: Mediabibliotheek new: Nieuw new_article: Nieuw artikel new_media: New Media diff --git a/publify_core/config/locales/pl.yml b/publify_core/config/locales/pl.yml index 646d705341..65865a9649 100644 --- a/publify_core/config/locales/pl.yml +++ b/publify_core/config/locales/pl.yml @@ -358,6 +358,9 @@ pl: content_type: Typ treści date: Data delete: Usuń + explain_media_library_html: Upload images, video and audio here for use in + your blog posts and pages. Please note that all uploaded files will + be publicly accessible even if they're not used in blog posts or pages. file_size: Rozmiar pliku filename: Nazwa pliku media_library: Biblioteka multimediów diff --git a/publify_core/config/locales/pt-BR.yml b/publify_core/config/locales/pt-BR.yml index 7d9dc0d627..08d3b68be7 100644 --- a/publify_core/config/locales/pt-BR.yml +++ b/publify_core/config/locales/pt-BR.yml @@ -335,6 +335,9 @@ pt-BR: content_type: Tipo de conteúdo date: Data delete: Remover + explain_media_library_html: Upload images, video and audio here for use in + your blog posts and pages. Please note that all uploaded files will + be publicly accessible even if they're not used in blog posts or pages. file_size: Tamanho do arquivo filename: Nome do arquivo media_library: Biblioteca diff --git a/publify_core/config/locales/ro.yml b/publify_core/config/locales/ro.yml index 7b3ab62811..d3955d3bf2 100644 --- a/publify_core/config/locales/ro.yml +++ b/publify_core/config/locales/ro.yml @@ -346,6 +346,9 @@ ro: content_type: Tip de conținut (content type) date: Date delete: Delete + explain_media_library_html: Upload images, video and audio here for use in + your blog posts and pages. Please note that all uploaded files will + be publicly accessible even if they're not used in blog posts or pages. file_size: Dimensiunea fișierului filename: Nume de fișier media_library: Media Library diff --git a/publify_core/config/locales/ru.yml b/publify_core/config/locales/ru.yml index 7990ca8b00..68022993c9 100644 --- a/publify_core/config/locales/ru.yml +++ b/publify_core/config/locales/ru.yml @@ -358,6 +358,9 @@ ru: content_type: Content Type date: Дата delete: Удалить + explain_media_library_html: Upload images, video and audio here for use in + your blog posts and pages. Please note that all uploaded files will + be publicly accessible even if they're not used in blog posts or pages. file_size: Размер Файла filename: Имя Файла media_library: Медиатека @@ -579,7 +582,7 @@ ru: logged_in_as: Вы вошли как %{login} logout_html: Выйти » manage_users: Управление пользователями - media_library: Файлы + media_library: Медиатека new: Добавить... new_article: Новый пост new_media: Новый файл diff --git a/publify_core/config/locales/zh-CN.yml b/publify_core/config/locales/zh-CN.yml index afb2fb15e1..b75a9862fe 100644 --- a/publify_core/config/locales/zh-CN.yml +++ b/publify_core/config/locales/zh-CN.yml @@ -330,6 +330,9 @@ zh-CN: content_type: 內容類型 date: 日期 delete: 删除 + explain_media_library_html: Upload images, video and audio here for use in + your blog posts and pages. Please note that all uploaded files will + be publicly accessible even if they're not used in blog posts or pages. file_size: 檔案大小 filename: 檔案名稱 media_library: Media Library diff --git a/publify_core/config/locales/zh-TW.yml b/publify_core/config/locales/zh-TW.yml index 028e9367dc..bcd04bbac8 100644 --- a/publify_core/config/locales/zh-TW.yml +++ b/publify_core/config/locales/zh-TW.yml @@ -331,6 +331,9 @@ zh-TW: content_type: 內容類型 date: Date delete: 刪除 + explain_media_library_html: Upload images, video and audio here for use in + your blog posts and pages. Please note that all uploaded files will + be publicly accessible even if they're not used in blog posts or pages. file_size: 檔案大小 filename: 檔案名稱 media_library: Media Library