More minor language-related tweaks

git-svn-id: http://svg-edit.googlecode.com/svn/trunk@940 eee81c28-f429-11dd-99c0-75d572ba1ddd
master
Alexis Deveria 2009-11-12 21:43:19 +00:00
parent 6d30a6b7ee
commit 2a9f517306
3 changed files with 8 additions and 2 deletions

View File

@ -13,7 +13,8 @@ var put_locale = function(svgCanvas, given_param){
return;
}
// don't bother on first run if language is English
if(String(lang_param).indexOf("en") == 0) return;
lang_param = String(lang_param);
if(lang_param.indexOf("en") == 0) return;
}
var url = "locale/lang." + lang_param + ".js";

View File

@ -588,6 +588,10 @@ span.zoom_tool {
font-size: .8em;
}
#svg_docprops #resolution {
max-width: 14em;
}
#tool_docprops_back {
margin-left: 1em;
}
@ -597,6 +601,7 @@ span.zoom_tool {
float: left;
width: 200px;
margin: 5px .7em;
overflow: hidden;
}
#svg_docprops_docprops > legend, #svg_docprops_prefs > legend {

View File

@ -386,7 +386,7 @@ script type="text/javascript" src="locale/locale.min.js"></script-->
<option>1024x768</option>
<option>1280x960</option>
<option>1600x1200</option>
<option id="fitToContent" value="content">Fit to Content</option>
<option id="fitToContent" value="content">Fit to ContentFit to Content</option>
</select>
</label>
</fieldset>