File: adddemo.diff

package info (click to toggle)
scilab 2024.1.0%2Bdfsg-7
  • links: PTS, VCS
  • area: main
  • in suites: forky
  • size: 381,880 kB
  • sloc: xml: 765,066; ansic: 285,813; cpp: 264,881; java: 172,629; fortran: 91,526; ml: 23,103; tcl: 16,853; makefile: 9,722; sh: 7,027; f90: 6,437; lex: 1,656; perl: 1,566; yacc: 1,308; php: 690; cs: 613; javascript: 50
file content (15 lines) | stat: -rw-r--r-- 543 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Description: provide a more helpful message to point to the doc package
Author: Sylvestre Ledru
Forwarded: Debian-specific

--- a/scilab/modules/demo_tools/macros/add_demo.sci
+++ b/scilab/modules/demo_tools/macros/add_demo.sci
@@ -38,7 +38,7 @@
     path = pathconvert(path, %f, %t);
 
     if ~isfile(path) then
-        error(msprintf(gettext("%s: The file %s does not exist.\n"), "add_demo", path));
+        error(msprintf(gettext("Demos are not available. Please install the package scilab-doc\n")));
     end
 
     if isdir(path) then