Mercurial > octave
changeset 26936:72fab319b47d
Capitalize "Octave" in warning IDs.
* print.m, __print_parse_opts__.m: Change "octave:print:" warning IDs to
"Octave:print" IDs.
author | Rik <rik@octave.org> |
---|---|
date | Mon, 18 Mar 2019 10:43:45 -0700 |
parents | d17eecaf4a14 |
children | cfa2a65c9fdc |
files | scripts/plot/util/print.m scripts/plot/util/private/__print_parse_opts__.m |
diffstat | 2 files changed, 11 insertions(+), 11 deletions(-) [+] |
line wrap: on
line diff
--- a/scripts/plot/util/print.m Mon Mar 18 10:33:38 2019 -0700 +++ b/scripts/plot/util/print.m Mon Mar 18 10:43:45 2019 -0700 @@ -721,8 +721,8 @@ for n = 1:numel (opts.unlink) [status, output] = unlink (opts.unlink{n}); if (status != 0) - warning ("octave:print:unlinkerror", ... - "print.m: %s, '%s'", output, opts.unlink{n}); + warning ("Octave:print:unlinkerror", ... + "print: %s, '%s'", output, opts.unlink{n}); endif endfor end_unwind_protect @@ -789,8 +789,8 @@ endif if (! isempty (opts.preview) && opts.tight) - warning ("octave:print:previewandtight", - "print.m: eps preview may not be combined with -tight"); + warning ("Octave:print:previewandtight", + "print: eps preview may not be combined with -tight"); endif if (! isempty (opts.preview) || opts.tight) @@ -1050,9 +1050,9 @@ endif if (isempty (opts.svgconvert_binary)) - warning ("octave:print:nosvgconvert", ... - ["print.m: unale to find octave-svgconvert, ", ... - "falling back to eps convertion"]); + warning ("Octave:print:nosvgconvert", ... + ["print: unable to find octave-svgconvert, ", ... + "falling back to eps conversion"]); else fontdir = getenv ("OCTAVE_FONTS_DIR");
--- a/scripts/plot/util/private/__print_parse_opts__.m Mon Mar 18 10:33:38 2019 -0700 +++ b/scripts/plot/util/private/__print_parse_opts__.m Mon Mar 18 10:43:45 2019 -0700 @@ -366,7 +366,7 @@ if (arg_st.rgb_output) if (! isempty (arg_st.printer) || ! isempty (arg_st.name)) - warning ("octave:print:ignored_argument", + warning ("Octave:print:ignored_argument", "print: ignoring file name and printer argument when using -RGBImage option"); endif elseif (! isempty (arg_st.printer) || isempty (arg_st.name)) @@ -495,7 +495,7 @@ if (warn_on_missing_ghostscript) if (isempty (arg_st.ghostscript.binary)) warning ("octave:print:missing_gs", ... - ["print.m: Ghostscript binary is not available. ", ... + ["print: Ghostscript binary is not available. ", ... "Only eps output is possible"]); endif warn_on_missing_ghostscript = false; @@ -590,8 +590,8 @@ || (! isempty (GSC) && file_in_path (getenv ("PATH"), GSC))) gs_binaries = {GSC}; elseif (! isempty (GSC) && warn_on_bad_gsc) - warning ("octave:print:badgscenv", - "print.m: GSC environment variable not set properly"); + warning ("Octave:print:badgscenv", + "print: GSC environment variable not set properly"); warn_on_bad_gsc = false; gs_binaries = {}; else