langtools/src/jdk.jshell/share/classes/jdk/internal/jshell/tool/resources/l10n.properties
changeset 38513 0ae85633d035
parent 37745 4b6b59f8e327
child 38514 f7df9ab653b0
equal deleted inserted replaced
38512:c71e1cdd6674 38513:0ae85633d035
   115 
   115 
   116 jshell.msg.feedback.new.mode = Created new feedback mode: {0}
   116 jshell.msg.feedback.new.mode = Created new feedback mode: {0}
   117 jshell.msg.feedback.mode = Feedback mode: {0}
   117 jshell.msg.feedback.mode = Feedback mode: {0}
   118 jshell.msg.feedback.mode.following = The feedback mode should be one of the following:
   118 jshell.msg.feedback.mode.following = The feedback mode should be one of the following:
   119 
   119 
       
   120 jshell.err.truncation.expected.length = Expected truncation length -- {0}
       
   121 jshell.err.truncation.length.not.integer = Truncation length must be an integer: {0} -- {1}
       
   122 
   120 jshell.console.see.more = <press tab to see more>
   123 jshell.console.see.more = <press tab to see more>
   121 jshell.console.do.nothing = Do nothing
   124 jshell.console.do.nothing = Do nothing
   122 jshell.console.choice = Choice: \
   125 jshell.console.choice = Choice: \
   123 
   126 
   124 jshell.console.create.variable = Create variable
   127 jshell.console.create.variable = Create variable
   316      Set the feedback mode describing displayed feedback for entered snippets and commands.\n\n\
   319      Set the feedback mode describing displayed feedback for entered snippets and commands.\n\n\
   317 /set newmode <new-mode> [command|quiet [<old-mode>]]\n\t\
   320 /set newmode <new-mode> [command|quiet [<old-mode>]]\n\t\
   318      Create a user-defined feedback mode, optionally copying from an existing mode.\n\n\
   321      Create a user-defined feedback mode, optionally copying from an existing mode.\n\n\
   319 /set prompt <mode> "<prompt>" "<continuation-prompt>"\n\t\
   322 /set prompt <mode> "<prompt>" "<continuation-prompt>"\n\t\
   320      Set the displayed prompts for a given feedback mode.\n\n\
   323      Set the displayed prompts for a given feedback mode.\n\n\
       
   324 /set truncation <mode> <length> <selector>...\n\t\
       
   325      Set the maximum length of a displayed value\n\t\
   321 /set format <mode> <field> "<format>" <selector>...\n\t\
   326 /set format <mode> <field> "<format>" <selector>...\n\t\
   322      Configure a feedback mode by setting the format of a field when the selector matchs.\n\n\
   327      Configure a feedback mode by setting the format of a field when the selector matchs.\n\n\
   323 To get more information about one of these forms, use /help with the form specified.\n\
   328 To get more information about one of these forms, use /help with the form specified.\n\
   324 For example:   /help /set format
   329 For example:   /help /set format
   325 
   330 
   460 /set format myformat action 'Update replaced' replaced-update\n\t\
   465 /set format myformat action 'Update replaced' replaced-update\n\t\
   461 /set format myformat display '{pre}{action} class {name}{post}' class-ok\n\t\
   466 /set format myformat display '{pre}{action} class {name}{post}' class-ok\n\t\
   462 /set format myformat display '{pre}{action} variable {name}, reset to null{post}' replaced-vardecl,varinit-ok-update\n\n\
   467 /set format myformat display '{pre}{action} variable {name}, reset to null{post}' replaced-vardecl,varinit-ok-update\n\n\
   463 Note that subsequent selectors for a field may overwrite some or all of previous used selectors -- last one wins\n
   468 Note that subsequent selectors for a field may overwrite some or all of previous used selectors -- last one wins\n
   464 
   469 
       
   470 help.set.truncation = \
       
   471 Set the max length a displayed value.\n\
       
   472 \n\t\
       
   473 /set truncation <mode> <length> <selector>...\n\
       
   474 \n\
       
   475 Where <mode> is the name of a previously defined feedback mode -- see '/help /set newmode'.\n\
       
   476 Where <length> is an unsigned integer representing a maximum length.\n\
       
   477 Where <format> is a quoted string which will be the value of the field if one of\n\
       
   478 Where <selector> is only needed if you wish to fine-tune value truncation length\n\
       
   479 by context, <selector> is the context in which the truncation is applied.\n\
       
   480 The structure of selector is a hyphen separated list of selector kind lists.\n\
       
   481 A selector kind list is a comma separated list of values of one selector kind.\n\
       
   482 A selector matches if each selector kind list matches; A selector kind list\n\
       
   483 matches if one of the values matches.\n\n\
       
   484 Below are the relevant selector kinds for truncation.\n\n\
       
   485 The case selector kind describes the kind of snippet.  The values are:\n\t\
       
   486    vardecl    -- variable declaration without init\n\t\
       
   487    varinit    -- variable declaration with init\n\t\
       
   488    expression -- expression -- note: {name}==scratch-variable-name\n\t\
       
   489    varvalue   -- variable value expression\n\t\
       
   490    assignment -- assign variable\n\t\
       
   491 The action selector kind describes what happened to the snippet.  The values are:\n\t\
       
   492    added     -- snippet has been added\n\t\
       
   493    modified  -- an existing snippet has been modified\n\t\
       
   494    replaced  -- an existing snippet has been replaced with a new snippet\n\
       
   495 Examples:\n\t\
       
   496 /set trunc mymode 80\n\t\
       
   497 /set truncation mymode 45 expression\n\t\
       
   498 /set truncation mymode 0 vardecl-modified,replaced\n\n\
       
   499 Note that subsequent selectors for a field may overwrite some or all of previous used selectors -- last one wins\n
       
   500 
   465 help.set.feedback = \
   501 help.set.feedback = \
   466 Set the feedback mode describing displayed feedback for entered snippets and commands.\n\
   502 Set the feedback mode describing displayed feedback for entered snippets and commands.\n\
   467 \n\t\
   503 \n\t\
   468 /set feedback <mode>\n\
   504 /set feedback <mode>\n\
   469 \n\
   505 \n\
   576 /set format verbose display '{pre}{action} method {name}({type}){resolve}{post}'             method    \n\
   612 /set format verbose display '{pre}{action} method {name}({type}){resolve}{post}'             method    \n\
   577 \n\
   613 \n\
   578 /set format verbose display '{pre}attempted to use {typeKind} {name}{resolve}{post}'         used-class,interface,enum,annotation    \n\
   614 /set format verbose display '{pre}attempted to use {typeKind} {name}{resolve}{post}'         used-class,interface,enum,annotation    \n\
   579 /set format verbose display '{pre}attempted to call method {name}({type}){resolve}{post}'    used-method    \n\
   615 /set format verbose display '{pre}attempted to call method {name}({type}){resolve}{post}'    used-method    \n\
   580 \n\
   616 \n\
       
   617 /set truncation verbose 80\n\
       
   618 /set truncation verbose 500                                                                  varvalue\n\
       
   619 \n\
   581 /set newmode normal command verbose    \n\
   620 /set newmode normal command verbose    \n\
   582 /set format normal display ''                                                               added,modified,replaced,overwrote,dropped-update    \n\
   621 /set format normal display ''                                                               added,modified,replaced,overwrote,dropped-update    \n\
   583 /set format normal display '{pre}{action} variable {name}, reset to null{post}'             replaced-vardecl,varinit-ok-update    \n\
   622 /set format normal display '{pre}{action} variable {name}, reset to null{post}'             replaced-vardecl,varinit-ok-update    \n\
   584 /set format normal display '{result}'                                                       added,modified,replaced-expression,varvalue,assignment,varinit,vardecl-ok-primary    \n\
   623 /set format normal display '{result}'                                                       added,modified,replaced-expression,varvalue,assignment,varinit,vardecl-ok-primary    \n\
   585 /set newmode concise quiet normal    \n\
   624 /set newmode concise quiet normal    \n\