Changed authors file, zoom list order, and added a UA language test

git-svn-id: http://svg-edit.googlecode.com/svn/trunk@938 eee81c28-f429-11dd-99c0-75d572ba1ddd
master
Alexis Deveria 2009-11-12 21:13:29 +00:00
parent df497438a9
commit 6f4a74dad9
3 changed files with 15 additions and 10 deletions

View File

@ -2,3 +2,4 @@ Narendra Sisodiya <narendra.sisodiya@gmail.com>
Pavol Rusnak <rusnakp@gmail.com>
Jeff Schiller <codedread@gmail.com>
Vidar Hokstad <vidar.hokstad@gmail.com>
Alexis Deveria <adeveria@gmail.com>

View File

@ -12,6 +12,10 @@ var put_locale = function(svgCanvas, given_param){
if (lang_param == "")
return;
}
if(typeof(lang_param) != 'string') {
alert(typeof(lang_param));
alert(lang_param)
}
// don't bother on first run if language is English
if(lang_param.indexOf("en") == 0) return;
}

View File

@ -277,17 +277,17 @@ script type="text/javascript" src="locale/locale.min.js"></script-->
<div id="zoom_dropdown" class="dropdown">
<button></button>
<ul>
<li>100%</li>
<li id="fit_to_all" data-val="content">Fit to all content</li>
<li id="fit_to_layer_content" data-val="layer">Fit to layer content</li>
<li id="fit_to_sel" data-val="selection">Fit to selection</li>
<li id="fit_to_canvas" data-val="canvas">Fit to canvas</li>
<li>25%</li>
<li>50%</li>
<li>100%</li>
<li>200%</li>
<li>400%</li>
<li>1000%</li>
<li>400%</li>
<li>200%</li>
<li>100%</li>
<li>50%</li>
<li>25%</li>
<li id="fit_to_canvas" data-val="canvas">Fit to canvas</li>
<li id="fit_to_sel" data-val="selection">Fit to selection</li>
<li id="fit_to_layer_content" data-val="layer">Fit to layer content</li>
<li id="fit_to_all" data-val="content">Fit to all content</li>
<li>100%</li>
</ul>
</div>
<div class="tool_sep"></div>