From 105b36c47d521c12fb2f8e13cdce0ffdb6903d4f Mon Sep 17 00:00:00 2001
From: Tim Schroeder <t.schroeder@itc.rwth-aachen.de>
Date: Tue, 6 Sep 2022 13:37:25 +0200
Subject: [PATCH] fixed some language strings

---
 lang/en/pdfannotator.php | 6 +++---
 version.php              | 2 +-
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/lang/en/pdfannotator.php b/lang/en/pdfannotator.php
index 76028cb..48861ce 100644
--- a/lang/en/pdfannotator.php
+++ b/lang/en/pdfannotator.php
@@ -113,8 +113,8 @@ $string['error:hideComment'] = "An error has occured while trying to hide the co
 $string['error:markasread'] = 'The item could not be marked as read.';
 $string['error:markasunread'] = 'The item could not be marked as unread.';
 $string['error:markcorrectanswer'] = 'An error has occured while marking the answer as correct.';
-$string['error:maximalfilenumber_created'] = 'Your comment cannot be created, because it exceeds the maximum number of images. You can add maximal {$a} image(s) into comments.';
-$string['error:maximalfilenumber_edited'] = 'Your comment cannot be edited, because it exceeds the maximum number of images. You can add maximal {$a} image(s) into comments.';
+$string['error:maximalfilenumber_created'] = 'Your comment cannot be created, because it exceeds the maximum number of files. You can attach at most {$a} file(s) to a single comment.';
+$string['error:maximalfilenumber_edited'] = 'Your comment cannot be edited, because it exceeds the maximum number of files. You can attach at most {$a} file(s) to a single comment.';
 $string['error:missingAnnotationtype'] = 'Annotationtype does not exists. Possibly the entry in table pdfannotator_annotationtypes is missing.';
 $string['error:openingPDF'] = 'An error occurred while opening the PDF file.';
 $string['error:openprintview'] = 'An error has occured while trying to open the pdf in Acrobat Reader.';
@@ -214,7 +214,7 @@ $string['markhidden'] = 'Hide';
 $string['markSolved'] = 'Close question';
 $string['markUnsolved'] = 'Reopen question';
 $string['maxfiles'] = 'Maximal number of file';
-$string['maxfiles_help'] = 'Maximal number of file pro comment uploaded by users.';
+$string['maxfiles_help'] = 'Maximal number of file per comment uploaded by users.';
 $string['maximumfilesize'] = 'Maximum file size';
 $string['maximumfilesize_help'] = 'Files uploaded by users may be up to this size.';
 $string['me'] = 'me';
diff --git a/version.php b/version.php
index e014b28..2182b1c 100644
--- a/version.php
+++ b/version.php
@@ -25,7 +25,7 @@
 defined('MOODLE_INTERNAL') || die();
 
 $plugin->component = 'mod_pdfannotator';
-$plugin->version   = 2022090500;
+$plugin->version   = 2022090600;
 $plugin->release  = 'PDF Annotator v1.4 release 11';
 $plugin->requires  = 2021051700;
 $plugin->maturity  = MATURITY_STABLE;
-- 
GitLab