1// Name: Seadragon.Seadragon.Strings.debug.js 2// Assembly: AjaxControlToolkit 3// Version: 4.1.7.1213 4// FileVersion: 4.1.7.1213 5// (c) 2010 CodePlex Foundation 6Type.registerNamespace('Sys.Extended.UI'); 7Type.registerNamespace('Seadragon'); 8Sys.Extended.UI.Seadragon.Strings = { 9 Errors: { 10 Failure: "Sorry, but Seadragon Ajax can't run on your browser!\n" + 11 "Please try using IE 7 or Firefox 3.\n", 12 Dzc: "Sorry, we don't support Deep Zoom Collections!", 13 Dzi: "Hmm, this doesn't appear to be a valid Deep Zoom Image.", 14 Xml: "Hmm, this doesn't appear to be a valid Deep Zoom Image.", 15 Empty: "You asked us to open nothing, so we did just that.", 16 ImageFormat: "Sorry, we don't support {0}-based Deep Zoom Images.", 17 Security: "It looks like a security restriction stopped us from " + 18 "loading this Deep Zoom Image.", 19 Status: "This space unintentionally left blank ({0} {1}).", 20 Unknown: "Whoops, something inexplicably went wrong. Sorry!" 21 }, 22 23 Messages: { 24 Loading: "Loading..." 25 }, 26 27 Tooltips: { 28 FullPage: "Toggle full page", 29 Home: "Go home", 30 ZoomIn: "Zoom in", 31 ZoomOut: "Zoom out" 32 }, 33 getString: function(prop) { 34 var props = prop.split('.'); 35 var string = Sys.Extended.UI.Seadragon.Strings; 36 37 for (var i = 0; i < props.length; i++) { 38 string = string[props[i]] || {}; // in case not a subproperty 39 } 40 41 if (typeof (string) != "string") { 42 string = ""; 43 } 44 45 var args = arguments; 46 return string.replace(/\{\d+\}/g, function(capture) { 47 var i = parseInt(capture.match(/\d+/)) + 1; 48 return i < args.length ? args[i] : ""; 49 }); 50 }, 51 52 setString: function(prop, value) { 53 var props = prop.split('.'); 54 var container = Seadragon.Strings; 55 56 for (var i = 0; i < props.length - 1; i++) { 57 if (!container[props[i]]) { 58 container[props[i]] = {}; 59 } 60 container = container[props[i]]; 61 } 62 63 container[props[i]] = value; 64 } 65 66}; 67Seadragon.Strings = Sys.Extended.UI.Seadragon.Strings; 68 69
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.