if (typeof FIRSTCLASS == "undefined" || !FIRSTCLASS) { var FIRSTCLASS = {}; } FIRSTCLASS.languages = { en: { errors: { getErrorString: function(code) { var eobj = code; if (typeof code == "object") { code = code.code; } var estr = FIRSTCLASS.locale.errors[code]; if (!estr) { estr = ""; } if (typeof eobj =="number") { eobj = {code: code}; } if (code != eobj) { return FIRSTCLASS.locale.doSub(estr, eobj); } else { return estr; } }, 1028: "", 1031: "", 1030: "", 1038: "", 1048: "", 1080: "", 1081: "", 1093: "" }, general: { external: "" }, pulse: { lbl: "", filters: { everyone: "", mypeople: "", me: "" }, prompt: "", more: "", post: "" }, desktop: { tag: { lbl: "", info: "" }, emptystatus: "", watches: "", people: "", communities: "", prof: "", invitations: "", search: "", delconfirm: "", unsubconfirm: { 33: "", 66: "" }, lots: "", navaway: { prefix: "", editing: "", suffix: "" }, summ: { originals: "", subscriptions: "", total: "", totalusers: "", items: "", followed: "", online: "", blogitems: "" }, mypeople: { profile: "", viewprofile: "", dochat: "", chat: "" }, discover: "" }, chat: { sendfailed: "", buddiesonline: "", sent: "", and: "", headerprefix: "" }, community: { summ: { subscribers: "", posts: "", views: "" }, feed: { lbl: "", actions: { subscribe: "", topic: "", question: "", setup: "", about: "", watch: "", unwatch: "", invite: "", commsettings: "" }, updated: "", uploaded: "", created: "", more: "", less: "", loading: "", attachments: "", tags: "", threadonly: "", infolder: "", abouttitle: "", microblog: { createcommunity: "", invited: "", loggedon: "", blogpost: "", status: "" }, deleteOrig: "", mreply1: "", mreply: "", reply1: "", reply: "", read1: "", read: "", hide1: "", hide: "", version: "", mread1: "", mread: "" }, docs: { lbl: "", count: "", filter: "", columns: { type: "", name: "", size: "", author: "", version: "", lastmod: "", tags: "", comments: "" }, info: { needapprove: "", desc: "", nodesc: "", version: "", old: "", latest: "", moddate: "", auth: "" }, actions: { upload: "" }, close: "", initial: "", desc: "", tags: "", nopre: "", showall: "", showlist: "", of: "", del: { header: "", prompt: "", cont: "", cancel: "" }, plugin: { header: "", message: "", FFName: "", cancel: "", install: "" }, slideview: { all: "", show: "", hide: "", slide: "", first: "", prev: "", next: "", last: "", total: "" } }, wiki: { lbl: "", count: "", find: "", hide: "", show: "", at: "", by: "", tags: "", contents: "", initial: "", cancel: "", savebtn: "", details: "", history: "", oldver: "", noedit: "", ncomments: "", editing: "", needapprove: "", approve: "", showall: "", showalltip: "", save: { title: "", name: "", notes: "", tags: "", cancel: "", save: "", desc: "", defname: "", defcomm: "" }, actions: { wikinew: "" }, del: { header: "", prompt: "", cont: "", cancel: "" }, tooltips: { pginfo: "", showtoc: "", hidetoc: "", scrolltoc: "", shownav: "", hidenav: "", scrollnav: "" }, columns: { date: "", author: "" } }, actions: { lbl: "" }, communityinfo: { lbl: "" }, members: { lbl: "" }, tag: { lbl: "", info: "" }, post: { topic: "", question: "" }, loading: "", nomore: "", show: "", hide: "" }, search: { lbl: "", bloglbl: "", commlbl: "", recentlbl: "", discoverlbl: "", items: { lbl: "", blogpost: "", blogreply: "", filereply: "DOCUMENT COMMENT", wiki: "", discussion: "", doc: "", postfmt: "", blogwhere: "", docnew: "", editfmt: "", filenew: "", more: "" }, people: { lbl: "", prof: "", cont: "", auth: "" }, places: { lbl: "", priv: "" }, requesttojoin: { subject: "", dosend: "", cancel: "", sent: "", slbl: "", blbl: "" } }, toolbars: { feed: { reply: "", answer: "", quote: "", comment: "", edit: "", sendto: "", del: "", watch: "", tag: "", print: "", permalink: "", dismiss: "" }, documents: { open: "", edit: "", update: "", share: "", comment: "", del: "", watch: "", tag: "", download: "", history: "", deletevers: "" }, wiki: { edit: "", history: "", watch: "", share: "", tags: "", del: "", comment: "", back: "", view: "", print: "", permalink: "", approve: "", changes: "", compare: "", prev: "", next: "", showhist: "" }, editor: { undo: "", redo: "", insertimage: "", insertdoc: "", wikilink: "", weblink: "", quote: "", embed: "", bullet: "", number: "", style: "", plain: "", level: "", indent: "", outdent: "", body: "", head: "", subhead: "" }, comment: "", del: "", edit: "", send: "", print: "", reply: "", tag: "", unwatch: "", watch: "", upload: "", readall: "", importfromrepo: "import from $name$" }, uploader: { title: "", file: "", dup: "", rename: "", update: "", description: "", notes: "", tags: "", cancel: "", upload: "", uptitle: "", errors: { file: "", meta: "" }, select: "", skip: "", proceed: "", choose: "", count: "" }, editor: { insertmenu: { image: "", link: "", wikilink: "", doclink: "", threadlink: "", userlink: "", commlink: "", bfembed: "", table: "", newwiki: "", newdoc: "", rule: "", smiley: "", quote: "", linkmenu: "", newmenu: "", insert: "", editlink: "" }, embed: { menuitem: "", title: "", scanerror: "", paste: "" }, image: { thumbalt: "", embed: "", upload: "", url: "", title: "", scale: "", scale25: "", scale50: "", scale75: "", scale100: "", scale125: "", scale150: "", scale200: "", scaleother: "", link: "", cantupload: "" }, weblink: { title: "", text: "", linktext: "" }, itemlink: { community: "", nullitem: "", listloading: "", objtitle: "", noitem: "", wikititle: "", wikiobj: "", doctitle: "", docobj: "", threadtitle: "", threadobj: "" }, dirlink: { search: "", nomatch: "", nodir: "", deftitle: "", deflabel: "", defpick: "", nochoice: "", usertitle: "", usersrch: "", commtitle: "", commsrch: "", userpick: "", commpick: "" }, newwiki: { statload: "", statconflict: "", statok: "", statinitial: "", title: "", comm: "", page: "" }, newdoc: { title: "" }, misc: { prog: "", nocancel: "", addrfail: "", cantopen: "" } }, history: { version: "", created: "", updated: "", uploaded: "", commented: "", makecurrent: "", latest: "" }, comments: { add: "", version: "" }, diff: { changes: "", previous: "", compare: "", latest: "", parsefail: "", cantopen: "" }, workflows: { community: { create: "", cancel: "", failed: "", skip: "", dosave: "", invite: "", doclose: "", exists: "", invalid: "" }, members: { next: "", cancel: "", doclose: "", invite: "", added: "", failed: "", message: "", add: "", clickuser: "", sendinvite: "", tryagain: "", thanks: "", userselect: "", incomplete: "", userselect2: "", userselect3: "", userselect4: "", invalidemail: "", sending: "", emailname: "" }, memberlist: { toolbar: { edit: "", noedit: "" }, title: "", close: "", loading: "", rights: { controller: "", moderator: "", contributor: "", reader: "", def: "", none: "", owner: "" }, del: "", errors: { failure: "" } }, invitation: { title: "", accept: "", decline: "" }, upload: { docancel: "", title: "" }, tags: { main: "", click: "", newtag: "", add: "" }, sendto: { ecmtitle: "", email: { name: "", title: "", send: "", cancel: "", permalink: "", remove: "", add: "" }, blog: { name: "" } }, aboutcommunity: { close: "", edit: "", dosave: "", docancel: "", subscribetitle: "", subscribenone: "", subscribefeed: "", subscribedigest: "" }, acceptmember: { accept: "", accepted: "", insufficientprivs: "", failed: "" }, account: { changepassword: "", windowtitle: "", changeemail: "", nomatchpassword: "", passwordchanged: "", passwordunchanged1: "", passwordunchanged2: "", submit: "", cancel: "", error: "" } }, integrations: { ecm: { search: { unavailable: "", searching: "", noresult: "", view: "", link: "", copy: "", created: "", description: "", summary: "", thumbnail: "", submit: "" }, browse: { close: "", upload: "" }, copy: { title: "", submit: "", submitcustom: "", wait: "" }, reserve: { wait: "" }, unreserve: { wait: "" }, errors: { error1: "", error2: "", error3: "", error4: "", error5: "", error10: "", error11: "", error12: "", error13: "", error99: "" }, link: { title: "", submit: "", submitcustom: "", wait: "" }, send: { sending: "" }, cancel: "", succeeded: "", failed: "", close: "", save: "", versionconfirm: "", archiveto: "" }, importedfrom: "", feedimported: "" }, invitation: { fmt: "", yes: "", no: "", more: "" }, watches: { unfired: "", fired: "" }, profile: { follow: "", stopFollow: "", failed: "", noRetrieve: "", editProfile: "", changePicture: "", currOnline: "", currOffline: "", noStatMsg: "", clickToSet: "", noEdit: "", followers: "", spare2: "", cantcreate: "", ownmissing: "", othermissing: "", following: "", loc: "", phone: "", email: "", groupDetail: "", userName: "", userPos: "", email: "", postCommunity: "", selectCommunity: "", permalink: "", copyAddress: "", positioninorg: "", chatwith: "", recentactivity: "" }, blog: { posts: "", views: "", failed: "", myBlog: "", othersBlog: "", viewsingleblog: "", noentries: "", postedby: "", today: "", noauthor: "", tags: "", title: "", post: "", cancel: "", notEditable: "", commentBy: "", deleteBlog: "", deleteComment: "" }, profileImageUpload: { windowtitle: "", selectImage: "", onlyJPG: "", failwitherror: "", failnoerrro:"", step1:"", step2:"", step3:"", step4:"", step5:"" }, profileCompleteness: { percent: "", photo: "", bio: "", expertise: "", phone: "", manager: "", im: "", department: "", education: "" }, editProfile: { myprofile: "", save: "", cancel: "", next: "", prev: "", closepost: "", noemailupdate: "" }, datasource: { error: { subject: "", owner: "" } }, doSub: function(string, keys) { var tmpstr = string; for (var i in keys) { tmpstr = tmpstr.replace(("$"+i+"$"), keys[i]); } return tmpstr; }, getStringParts: function(string) { var parts = string.split("|"); var rv = { content: parts[0], tooltip: false }; if (parts.length > 1) { rv.tooltip = parts[1]; } return rv; }, setElementString: function(string, element, fmtstring) { var parts = FIRSTCLASS.locale.getStringParts(string); if (fmtstring) { FIRSTCLASS.ui.Dom.setInnerHTML(element,FIRSTCLASS.locale.doSub(fmtstring, parts)); } else { FIRSTCLASS.ui.Dom.setInnerHTML(element,parts.content); } if (parts.tooltip) { element.setAttribute("title", parts.tooltip); } else { element.setAttribute("title", ""); } }, setElementRole: function(string, element) { var parts = FIRSTCLASS.locale.getStringParts(string); if (parts.content && (parts.content != "")) { element.setAttribute("role",parts.content); } }, Date: { getFriendlyDay: function(date) { }, getDayString: function(date) { switch (date.getDay()) { case 0: return ""; case 1: return ""; case 2: return ""; case 3: return ""; case 4: return ""; case 5: return ""; default: return ""; } }, getMonthString: function(date) { switch (date.getMonth()) { case 0: return ""; case 1: return ""; case 2: return ""; case 3: return ""; case 4: return ""; case 5: return ""; case 6: return ""; case 7: return ""; case 8: return ""; case 9: return ""; case 10: return ""; default: return ""; } }, now: "", never: "", today: "", tomorrow: "", yesterday: "", subminute: "", aboutminutes: "", halfhour: "", hour: "", at: "", on: "", timeformat: "", amsuffix: "", pmsuffix: "" } } }; FIRSTCLASS.locale = FIRSTCLASS.languages.en; String.prototype.doSub = function(object) { return FIRSTCLASS.locale.doSub(this, object); };