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:
107
site/webroot/js/jqGrid/js/grid.locale-cat.js
Normal file
107
site/webroot/js/jqGrid/js/grid.locale-cat.js
Normal file
@@ -0,0 +1,107 @@
|
||||
;(function($){
|
||||
/**
|
||||
* jqGrid Catalan Translation
|
||||
* Traducció jqGrid en Catatà per Faserline, S.L. - http://www.faserline.com
|
||||
* 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: "file(s)",
|
||||
loadtext: "Carregant...",
|
||||
pgtext : "/"
|
||||
};
|
||||
$.jgrid.search = {
|
||||
caption: "Cerca...",
|
||||
Find: "Cercar",
|
||||
Reset: "Buidar",
|
||||
odata : ['igual', 'no igual', 'menor', 'menor o igual', 'major', 'major o igual', 'comença amb', 'acaba amb','conté' ]
|
||||
};
|
||||
$.jgrid.edit = {
|
||||
addCaption: "Afegir registre",
|
||||
editCaption: "Modificar registre",
|
||||
bSubmit: "Enviar",
|
||||
bCancel: "Cancelar",
|
||||
bClose: "Tancar",
|
||||
processData: "Processant...",
|
||||
msg: {
|
||||
required:"Camp obligatori",
|
||||
number:"Introdueixi un nombre",
|
||||
minValue:"El valor ha de ser major o igual que ",
|
||||
maxValue:"El valor ha de ser menor o igual a ",
|
||||
email: "no és una direcció de correu vàlida",
|
||||
integer: "Introdueixi un valor enter",
|
||||
date: "Introdueixi una data correcta "
|
||||
}
|
||||
};
|
||||
$.jgrid.del = {
|
||||
caption: "Eliminar",
|
||||
msg: "¿Desitja eliminar els registres seleccionats?",
|
||||
bSubmit: "Eliminar",
|
||||
bCancel: "Cancelar",
|
||||
processData: "Processant..."
|
||||
};
|
||||
$.jgrid.nav = {
|
||||
edittext: " ",
|
||||
edittitle: "Modificar fila seleccionada",
|
||||
addtext:" ",
|
||||
addtitle: "Agregar nova fila",
|
||||
deltext: " ",
|
||||
deltitle: "Eliminar fila seleccionada",
|
||||
searchtext: " ",
|
||||
searchtitle: "Cercar informació",
|
||||
refreshtext: "",
|
||||
refreshtitle: "Refrescar taula",
|
||||
alertcap: "Avís",
|
||||
alerttext: "Seleccioni una fila"
|
||||
};
|
||||
// setcolumns module
|
||||
$.jgrid.col ={
|
||||
caption: "Mostrar/ocultar columnes",
|
||||
bSubmit: "Enviar",
|
||||
bCancel: "Cancelar"
|
||||
};
|
||||
$.jgrid.errors = {
|
||||
errcap : "Error",
|
||||
nourl : "No s'ha especificat una URL",
|
||||
norecords: "No hi ha dades per processar",
|
||||
model : "Les columnes de noms són diferents de les columnes del model"
|
||||
};
|
||||
$.jgrid.formatter = {
|
||||
integer : {thousandsSeparator: ".", defaulValue: 0},
|
||||
number : {decimalSeparator:",", thousandsSeparator: ".", decimalPlaces: 2, defaulValue: 0},
|
||||
currency : {decimalSeparator:",", thousandsSeparator: ".", decimalPlaces: 2, prefix: "", suffix:"", defaulValue: 0},
|
||||
date : {
|
||||
dayNames: [
|
||||
"Dg", "Dl", "Dt", "Dc", "Dj", "Dv", "Ds",
|
||||
"Diumenge", "Dilluns", "Dimarts", "Dimecres", "Dijous", "Divendres", "Dissabte"
|
||||
],
|
||||
monthNames: [
|
||||
"Gen", "Febr", "Març", "Abr", "Maig", "Juny", "Jul", "Ag", "Set", "Oct", "Nov", "Des",
|
||||
"Gener", "Febrer", "Març", "Abril", "Maig", "Juny", "Juliol", "Agost", "Setembre", "Octubre", "Novembre", "Desembre"
|
||||
],
|
||||
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