This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "FusionForge".

The branch, master has been updated
       via  671bc09d076f6398f154fbce0b7bd3f1d7026495 (commit)
      from  34bce0f8e5c76ff2f23bae000f3a634ffa32e626 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
https://scm.fusionforge.org/anonscm/gitweb/?p=fusionforge/fusionforge.git;a=commitdiff;h=671bc09d076f6398f154fbce0b7bd3f1d7026495

commit 671bc09d076f6398f154fbce0b7bd3f1d7026495
Author: Marc-Etienne Vargenau <[email protected]>
Date:   Wed Apr 19 10:29:53 2017 +0200

    Less strings

diff --git a/src/common/tracker/include/ArtifactFileHtml.class.php 
b/src/common/tracker/include/ArtifactFileHtml.class.php
index 9f2a042..922ff59 100644
--- a/src/common/tracker/include/ArtifactFileHtml.class.php
+++ b/src/common/tracker/include/ArtifactFileHtml.class.php
@@ -30,7 +30,7 @@ class ArtifactFileHtml extends ArtifactFile {
 
        function 
upload($input_file,$input_file_name,$input_file_type,$description) {
                if (!util_check_fileupload($input_file)) {
-                       $this->setError(_('ArtifactFile')._(': ')._('Invalid 
filename'));
+                       $this->setError(_('ArtifactFile')._(': ')._('Invalid 
file name.'));
                        return false;
                }
                $size = @filesize($input_file);
diff --git a/src/www/project/admin/editimages.php 
b/src/www/project/admin/editimages.php
index 9781a15..1929847 100644
--- a/src/www/project/admin/editimages.php
+++ b/src/www/project/admin/editimages.php
@@ -115,7 +115,7 @@ if (getStringFromRequest('submit')) {
 
        if (getStringFromRequest('add')) {
                if (!util_check_fileupload($input_file['tmp_name'])) {
-                       exit_error(_('Invalid filename'));
+                       exit_error(_('Invalid file name.'));
                }
                if (!$input_file['tmp_name'] || $description == "") {
                        $error_msg .= _('Both file name and description are 
required');
@@ -165,7 +165,7 @@ if (getStringFromRequest('submit')) {
 
                        } else {
                                if 
(!util_check_fileupload($input_file['tmp_name'])) {
-                                       exit_error(_('Invalid filename'));
+                                       exit_error(_('Invalid file name.'));
                                }
 
                                // new version of the file is uploaded

-----------------------------------------------------------------------

Summary of changes:
 src/common/tracker/include/ArtifactFileHtml.class.php | 2 +-
 src/www/project/admin/editimages.php                  | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)


hooks/post-receive
-- 
FusionForge

_______________________________________________
Fusionforge-commits mailing list
[email protected]
http://lists.fusionforge.org/cgi-bin/mailman/listinfo/fusionforge-commits

Reply via email to