s/mode/language/

for user-facing CodeMirror mode (hover text, language menu)
This commit is contained in:
Min RK 2014-12-08 11:37:01 -08:00
parent c81609f5d6
commit 1e5bd77bda
2 changed files with 3 additions and 3 deletions

View File

@ -125,7 +125,7 @@ define([
.text(modeinfo.name)
.attr(
'title',
"The current highlighting mode is " + modeinfo.name
"The current language is " + modeinfo.name
);
});
};
@ -145,7 +145,7 @@ define([
.text(info.name)
.click(make_set_mode(info))
.attr('title',
"Set highlighting mode to " + info.name
"Set language to " + info.name
)
));
}

View File

@ -63,7 +63,7 @@ data-file-path="{{file_path}}"
<li id="menu-line-numbers"><a href="#">Toggle Line Numbers</a></li>
</ul>
</li>
<li class="dropdown"><a href="#" class="dropdown-toggle" data-toggle="dropdown">Mode</a>
<li class="dropdown"><a href="#" class="dropdown-toggle" data-toggle="dropdown">Language</a>
<ul id="mode-menu" class="dropdown-menu">
</ul>
</li>