Moved all the vendor css & js code into webroot. Although it technically was working fine, cake apparently steps on the fact that the file doesn't change between requests, leading the browser to re-download the code with every hit. Under the webroot directory, cake returns code 304 if the browser already has a copy cached.
git-svn-id: file:///svn-source/pmgr/branches/ledger_transactions_20090605@110 97e9348a-65ac-dc4b-aefc-98561f571b83
This commit is contained in:
106
site/webroot/js/jqGrid/js/grid.locale-is.js
Normal file
106
site/webroot/js/jqGrid/js/grid.locale-is.js
Normal file
@@ -0,0 +1,106 @@
|
||||
;(function($){
|
||||
/**
|
||||
* jqGrid Icelandic Translation
|
||||
* jtm@hi.is Univercity of Iceland
|
||||
* Dual licensed under the MIT and GPL licenses:
|
||||
* http://www.opensource.org/licenses/mit-license.php
|
||||
* http://www.gnu.org/licenses/gpl.html
|
||||
**/
|
||||
$.jgrid = {};
|
||||
|
||||
$.jgrid.defaults = {
|
||||
recordtext: "Raðir(s)",
|
||||
loadtext: "Hleður...",
|
||||
pgtext : "/"
|
||||
};
|
||||
$.jgrid.search = {
|
||||
caption: "Leita...",
|
||||
Find: "Leita",
|
||||
Reset: "Endursetja",
|
||||
odata : ['sama og', 'ekki sama og', 'minna en', 'minna en eða jafnt og','meira en','meira en eða jafnt og', 'byrjar á','endar á','inniheldur' ]
|
||||
};
|
||||
$.jgrid.edit = {
|
||||
addCaption: "Add Record",
|
||||
editCaption: "Edit Record",
|
||||
bSubmit: "Vista",
|
||||
bCancel: "Hætta við",
|
||||
bClose: "Loka",
|
||||
processData: "Vinnur...",
|
||||
msg: {
|
||||
required:"Reitur er nauðsynlegur",
|
||||
number:"Vinsamlega settu inn tölu",
|
||||
minValue:"gildi verður að vera meira en eða jafnt og ",
|
||||
maxValue:"gildi verður að vera minna en eða jafnt og ",
|
||||
email: "er ekki löglegt email",
|
||||
integer: "Vinsamlega settu inn tölu"
|
||||
}
|
||||
};
|
||||
$.jgrid.del = {
|
||||
caption: "Eyða",
|
||||
msg: "Eyða völdum færslum ?",
|
||||
bSubmit: "Eyða",
|
||||
bCancel: "Hætta við",
|
||||
processData: "Vinnur..."
|
||||
};
|
||||
$.jgrid.nav = {
|
||||
edittext: " ",
|
||||
edittitle: "Breyta færslu",
|
||||
addtext:" ",
|
||||
addtitle: "Ný færsla",
|
||||
deltext: " ",
|
||||
deltitle: "Eyða færslu",
|
||||
searchtext: " ",
|
||||
searchtitle: "Leita",
|
||||
refreshtext: "",
|
||||
refreshtitle: "Endurhlaða",
|
||||
alertcap: "Viðvörun",
|
||||
alerttext: "Vinsamlega veldu færslu"
|
||||
};
|
||||
// setcolumns module
|
||||
$.jgrid.col ={
|
||||
caption: "Sýna / fela dálka",
|
||||
bSubmit: "Vista",
|
||||
bCancel: "Hætta við"
|
||||
};
|
||||
$.jgrid.errors = {
|
||||
errcap : "Villa",
|
||||
nourl : "Vantar slóð",
|
||||
norecords: "Engar færslur valdar",
|
||||
model : "Length of colNames <> colModel!"
|
||||
};
|
||||
$.jgrid.formatter = {
|
||||
integer : {thousandsSeparator: " ", defaulValue: 0},
|
||||
number : {decimalSeparator:".", thousandsSeparator: " ", decimalPlaces: 2, defaulValue: 0},
|
||||
currency : {decimalSeparator:".", thousandsSeparator: " ", decimalPlaces: 2, prefix: "", suffix:"", defaulValue: 0},
|
||||
date : {
|
||||
dayNames: [
|
||||
"Sun", "Mon", "Tue", "Wed", "Thr", "Fri", "Sat",
|
||||
"Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"
|
||||
],
|
||||
monthNames: [
|
||||
"Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec",
|
||||
"January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"
|
||||
],
|
||||
AmPm : ["am","pm","AM","PM"],
|
||||
S: function (j) {return j < 11 || j > 13 ? ['st', 'nd', 'rd', 'th'][Math.min((j - 1) % 10, 3)] : 'th'},
|
||||
srcformat: 'Y-m-d',
|
||||
newformat: 'd/m/Y',
|
||||
masks : {
|
||||
ISO8601Long:"Y-m-d H:i:s",
|
||||
ISO8601Short:"Y-m-d",
|
||||
ShortDate: "n/j/Y",
|
||||
LongDate: "l, F d, Y",
|
||||
FullDateTime: "l, F d, Y g:i:s A",
|
||||
MonthDay: "F d",
|
||||
ShortTime: "g:i A",
|
||||
LongTime: "g:i:s A",
|
||||
SortableDateTime: "Y-m-d\\TH:i:s",
|
||||
UniversalSortableDateTime: "Y-m-d H:i:sO",
|
||||
YearMonth: "F, Y"
|
||||
},
|
||||
reformatAfterEdit : false
|
||||
},
|
||||
baseLinkUrl: '',
|
||||
showAction: 'show'
|
||||
};
|
||||
})(jQuery);
|
||||
Reference in New Issue
Block a user