From a846b73e4630491599f8536146a0cdc123e57ff8 Mon Sep 17 00:00:00 2001 From: Djamil Legato Date: Mon, 1 Feb 2016 16:34:50 -0800 Subject: [PATCH] Added more lang strings for Medias --- admin.php | 5 ++++- languages/en.yaml | 4 +++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/admin.php b/admin.php index 6c952952..0ce10e88 100644 --- a/admin.php +++ b/admin.php @@ -598,7 +598,10 @@ class AdminPlugin extends Plugin 'PAGE_MODES', 'PAGE_TYPES', 'ACCESS_LEVELS', - 'NOTHING_TO_SAVE' + 'NOTHING_TO_SAVE', + 'FILE_UNSUPPORTED', + 'FILE_ERROR_ADD', + 'FILE_ERROR_UPLOAD' ]; foreach($strings as $string) { diff --git a/languages/en.yaml b/languages/en.yaml index 93303f13..c4dc046b 100644 --- a/languages/en.yaml +++ b/languages/en.yaml @@ -476,4 +476,6 @@ PLUGIN_ADMIN: REVERSE_PROXY_HELP: "Enable this if you are behind a reverse proxy and you are having trouble with URLs containing incorrect ports" INVALID_FRONTMATTER_COULD_NOT_SAVE: "Invalid frontmatter, could not save" NOTHING_TO_SAVE: "Nothing to Save" - + FILE_ERROR_ADD: "An error occurred while trying to add the file" + FILE_ERROR_UPLOAD: "An error occurred while trying to upload the file" + FILE_UNSUPPORTED: "Unsupported file type"