浏览代码

Fix sepa mandate translation

Laurent Destailleur 8 年之前
父节点
当前提交
5e00fb8fc7
共有 3 个文件被更改,包括 6 次插入1 次删除
  1. 4 0
      htdocs/core/actions_builddoc.inc.php
  2. 1 0
      htdocs/langs/en_US/main.lang
  3. 1 1
      htdocs/societe/rib.php

+ 4 - 0
htdocs/core/actions_builddoc.inc.php

@@ -88,6 +88,10 @@ if ($action == 'builddoc' && $permissioncreate)
             setEventMessages($object->error, $object->errors, 'errors');
             $action='';
         }
+        else
+        {
+            setEventMessages($langs->trans("FileGenerated"), null);
+        }
     }
 }
 

+ 1 - 0
htdocs/langs/en_US/main.lang

@@ -70,6 +70,7 @@ SeeHere=See here
 BackgroundColorByDefault=Default background color
 FileRenamed=The file was successfully renamed
 FileUploaded=The file was successfully uploaded
+FileGenerated=The file was successfully generated
 FileWasNotUploaded=A file is selected for attachment but was not yet uploaded. Click on "Attach file" for this.
 NbOfEntries=Nb of entries
 GoToWikiHelpPage=Read online help (Internet access needed)

+ 1 - 1
htdocs/societe/rib.php

@@ -45,7 +45,7 @@ $result = restrictedArea($user, 'societe','','');
 
 $id=GETPOST("id","int");
 $ribid=GETPOST("ribid","int");
-$action=GETPOST("action");
+$action=GETPOST("action", 'alpha', 3);
 
 $object = new Societe($db);
 $object->fetch($socid);