Overview
You can modify all strings in RyuseiCode through the i18n
option.
Although some strings are not visible, you should translate all of them for accessibility.
new RyuseiCode( { i18n: { copy: 'Copy', cut : 'Cut', ... }, } );
Note that %s
in strings below will be replaced by proper values when they are used.
List of i18n
Main
{ copy : 'Copy', cut : 'Cut', paste : 'Paste', selectAll : 'Select All', close : 'Close', confirm : 'OK', activate : 'Activate', notice : 'Notice', cancel : 'Cancel', failedToCopy: 'Can not copy on your environment.', scrollbar : 'Drag to Scroll', inputLabel : 'Edit the code.', location : 'Line: %s, Column: %s', }
Indentation
{ indentNotice : 'Indent/Move Focus', indentDisabled: 'Inserting indents by the Tab is currently disabled. You can toggle it by %s.', }
Jump
{ jumpToLine : 'Jump to Line', jumpToolbar: 'Jump Toolbar', }
Resize
{ resizeBar: 'Drag to Resize/Double Click to Reset', }
Search
{ search : 'Search', searchToolbar: 'Search/Replace Toolbar', wholeWord : 'Match Whole Word', prevMatch : 'Previous Match', nextMatch : 'Next Match', replace : 'Replace', replaceAll : 'Replace All', matchCase : 'Match Case', regexp : 'Regex', noResults : 'No results', }