Mac meta keys from Alex King. fixes #2182

git-svn-id: https://develop.svn.wordpress.org/trunk@3569 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren
2006-02-24 03:55:25 +00:00
parent 44f922a6ae
commit fea381e8de
2 changed files with 32 additions and 16 deletions
@@ -1,7 +1,15 @@
// EN lang variables
if (navigator.userAgent.indexOf('Mac OS') != -1) {
// Mac OS browsers use Ctrl to hit accesskeys
var metaKey = 'Ctrl';
}
else {
var metaKey = 'Alt';
}
tinyMCE.addToLang('',{
wordpress_more_button : 'Split post with More tag (Alt-t)',
wordpress_more_button : 'Split post with More tag (' + metaKey + '-t)',
wordpress_page_button : 'Split post with Page tag',
wordpress_more_alt : 'More...',
wordpress_page_alt : '...page...'