/javascripts/lib/docs/source/ext-lang-fi.html
HTML | 313 lines | 286 code | 27 blank | 0 comment | 0 complexity | 236f60c8876d7288971972c81d58aa9d MD5 | raw file
Possible License(s): GPL-3.0
1<html> 2<head> 3 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 4 <title>The source code</title> 5 <link href="../resources/prettify/prettify.css" type="text/css" rel="stylesheet" /> 6 <script type="text/javascript" src="../resources/prettify/prettify.js"></script> 7</head> 8<body onload="prettyPrint();"> 9 <pre class="prettyprint lang-js">/*! 10 * Ext JS Library 3.2.1 11 * Copyright(c) 2006-2010 Ext JS, Inc. 12 * licensing@extjs.com 13 * http://www.extjs.com/license 14 */ 15<div id="prop-Ext.state.Provider-indicatorText"></div>/** 16 * Finnish Translations 17 * <tuomas.salo (at) iki.fi> 18 * '�' should read as lowercase 'a' with two dots on top (ä) 19 */ 20 21Ext.UpdateManager.defaults.indicatorText = '<div class="loading-indicator">Ladataan...</div>'; 22 23if(Ext.View){ 24 Ext.View.prototype.emptyText = ""; 25} 26 27if(Ext.grid.GridPanel){ 28 Ext.grid.GridPanel.prototype.ddText = "{0} rivi(�) valittu"; 29} 30 31if(Ext.TabPanelItem){ 32 Ext.TabPanelItem.prototype.closeText = "Sulje t�m� v�lilehti"; 33} 34 35if(Ext.LoadMask){ 36 Ext.LoadMask.prototype.msg = "Ladataan..."; 37} 38 39Date.monthNames = [ 40 "tammikuu", 41 "helmikuu", 42 "maaliskuu", 43 "huhtikuu", 44 "toukokuu", 45 "kes�kuu", 46 "hein�kuu", 47 "elokuu", 48 "syyskuu", 49 "lokakuu", 50 "marraskuu", 51 "joulukuu" 52]; 53 54Date.getShortMonthName = function(month) { 55 //return Date.monthNames[month].substring(0, 3); 56 return (month+1) + "."; 57}; 58 59Date.monthNumbers = { 60 Jan : 0, 61 Feb : 1, 62 Mar : 2, 63 Apr : 3, 64 May : 4, 65 Jun : 5, 66 Jul : 6, 67 Aug : 7, 68 Sep : 8, 69 Oct : 9, 70 Nov : 10, 71 Dec : 11 72}; 73 74Date.getMonthNumber = function(name) { 75 if(name.match(/^(1?\d)\./)) { 76 return -1+RegExp.$1; 77 } else { 78 return Date.monthNumbers[name.substring(0, 1).toUpperCase() + name.substring(1, 3).toLowerCase()]; 79 } 80}; 81 82Date.dayNames = [ 83 "sunnuntai", 84 "maanantai", 85 "tiistai", 86 "keskiviikko", 87 "torstai", 88 "perjantai", 89 "lauantai" 90]; 91 92Date.getShortDayName = function(day) { 93 return Date.dayNames[day].substring(0, 2); 94}; 95 96if(Ext.MessageBox){ 97 Ext.MessageBox.buttonText = { 98 ok : "OK", 99 cancel : "Peruuta", 100 yes : "Kyll�", 101 no : "Ei" 102 }; 103} 104 105if(Ext.util.Format){ 106 Ext.util.Format.date = function(v, format){ 107 if(!v) return ""; 108 if(!(v instanceof Date)) v = new Date(Date.parse(v)); 109 return v.dateFormat(format || "j.n.Y"); 110 }; 111} 112 113if(Ext.DatePicker){ 114 Ext.apply(Ext.DatePicker.prototype, { 115 todayText : "T�n��n", 116 minText : "T�m� p�iv�m��r� on aikaisempi kuin ensimm�inen sallittu", 117 maxText : "T�m� p�iv�m��r� on my�h�isempi kuin viimeinen sallittu", 118 disabledDaysText : "", 119 disabledDatesText : "", 120 monthNames : Date.monthNames, 121 dayNames : Date.dayNames, 122 nextText : 'Seuraava kuukausi (Control+oikealle)', 123 prevText : 'Edellinen kuukausi (Control+vasemmalle)', 124 monthYearText : 'Valitse kuukausi (vaihda vuotta painamalla Control+yl�s/alas)', 125 todayTip : "{0} (v�lily�nti)", 126 format : "j.n.Y", 127 okText : " OK ", 128 cancelText : "Peruuta", 129 startDay : 1 // viikko alkaa maanantaista 130 }); 131} 132 133if(Ext.PagingToolbar){ 134 Ext.apply(Ext.PagingToolbar.prototype, { 135 beforePageText : "Sivu", 136 afterPageText : "/ {0}", 137 firstText : "Ensimm�inen sivu", 138 prevText : "Edellinen sivu", 139 nextText : "Seuraava sivu", 140 lastText : "Viimeinen sivu", 141 refreshText : "P�ivit�", 142 displayMsg : "N�ytet��n {0} - {1} / {2}", 143 emptyMsg : 'Ei tietoja' 144 }); 145} 146 147if(Ext.form.Field){ 148 Ext.form.Field.prototype.invalidText = "T�m�n kent�n arvo ei kelpaa"; 149} 150 151if(Ext.form.TextField){ 152 Ext.apply(Ext.form.TextField.prototype, { 153 minLengthText : "T�m�n kent�n minimipituus on {0}", 154 maxLengthText : "T�m�n kent�n maksimipituus on {0}", 155 blankText : "T�m� kentt� on pakollinen", 156 regexText : "", 157 emptyText : null 158 }); 159} 160 161if(Ext.form.NumberField){ 162 Ext.apply(Ext.form.NumberField.prototype, { 163 minText : "T�m�n kent�n pienin sallittu arvo on {0}", 164 maxText : "T�m�n kent�n suurin sallittu arvo on {0}", 165 nanText : "{0} ei ole numero" 166 }); 167} 168 169if(Ext.form.DateField){ 170 Ext.apply(Ext.form.DateField.prototype, { 171 disabledDaysText : "Ei k�yt�ss�", 172 disabledDatesText : "Ei k�yt�ss�", 173 minText : "T�m�n kent�n p�iv�m��r�n tulee olla {0} j�lkeen", 174 maxText : "T�m�n kent�n p�iv�m��r�n tulee olla ennen {0}", 175 invalidText : "P�iv�m��r� {0} ei ole oikeassa muodossa - kirjoita p�iv�m��r� muodossa {1}", 176 format : "j.n.Y", 177 altFormats : "j.n.|d.m.|mdy|mdY|d|Y-m-d|Y/m/d" 178 }); 179} 180 181if(Ext.form.ComboBox){ 182 Ext.apply(Ext.form.ComboBox.prototype, { 183 loadingText : "Ladataan...", 184 valueNotFoundText : undefined 185 }); 186} 187 188if(Ext.form.VTypes){ 189 Ext.apply(Ext.form.VTypes, { 190 emailText : 'Sy�t� t�h�n kentt��n s�hk�postiosoite, esim. "etunimi.sukunimi@osoite.fi"', 191 urlText : 'Sy�t� t�h�n kentt��n URL-osoite, esim. "http:/'+'/www.osoite.fi"', 192 alphaText : 'Sy�t� t�h�n kentt��n vain kirjaimia (a-z, A-Z) ja alaviivoja (_)', 193 alphanumText : 'Sy�t� t�h�n kentt��n vain kirjaimia (a-z, A-Z), numeroita (0-9) ja alaviivoja (_)' 194 }); 195} 196 197if(Ext.form.HtmlEditor){ 198 Ext.apply(Ext.form.HtmlEditor.prototype, { 199 createLinkText : 'Anna linkin URL-osoite:', 200 buttonTips : { 201 bold : { 202 title: 'Lihavoi (Ctrl+B)', 203 text: 'Lihavoi valittu teksti.', 204 cls: 'x-html-editor-tip' 205 }, 206 italic : { 207 title: 'Kursivoi (Ctrl+I)', 208 text: 'Kursivoi valittu teksti.', 209 cls: 'x-html-editor-tip' 210 }, 211 underline : { 212 title: 'Alleviivaa (Ctrl+U)', 213 text: 'Alleviivaa valittu teksti.', 214 cls: 'x-html-editor-tip' 215 }, 216 increasefontsize : { 217 title: 'Suurenna teksti�', 218 text: 'Kasvata tekstin kirjasinkokoa.', 219 cls: 'x-html-editor-tip' 220 }, 221 decreasefontsize : { 222 title: 'Pienenn� teksti�', 223 text: 'Pienenn� tekstin kirjasinkokoa.', 224 cls: 'x-html-editor-tip' 225 }, 226 backcolor : { 227 title: 'Tekstin korostusv�ri', 228 text: 'Vaihda valitun tekstin taustav�ri�.', 229 cls: 'x-html-editor-tip' 230 }, 231 forecolor : { 232 title: 'Tekstin v�ri', 233 text: 'Vaihda valitun tekstin v�ri�.', 234 cls: 'x-html-editor-tip' 235 }, 236 justifyleft : { 237 title: 'Tasaa vasemmalle', 238 text: 'Tasaa teksti vasempaan reunaan.', 239 cls: 'x-html-editor-tip' 240 }, 241 justifycenter : { 242 title: 'Keskit�', 243 text: 'Keskit� teksti.', 244 cls: 'x-html-editor-tip' 245 }, 246 justifyright : { 247 title: 'Tasaa oikealle', 248 text: 'Tasaa teksti oikeaan reunaan.', 249 cls: 'x-html-editor-tip' 250 }, 251 insertunorderedlist : { 252 title: 'Luettelo', 253 text: 'Luo luettelo.', 254 cls: 'x-html-editor-tip' 255 }, 256 insertorderedlist : { 257 title: 'Numeroitu luettelo', 258 text: 'Luo numeroitu luettelo.', 259 cls: 'x-html-editor-tip' 260 }, 261 createlink : { 262 title: 'Linkki', 263 text: 'Tee valitusta tekstist� hyperlinkki.', 264 cls: 'x-html-editor-tip' 265 }, 266 sourceedit : { 267 title: 'L�hdekoodin muokkaus', 268 text: 'Vaihda l�hdekoodin muokkausn�kym��n.', 269 cls: 'x-html-editor-tip' 270 } 271 } 272 }); 273} 274 275if(Ext.form.BasicForm){ 276 Ext.form.BasicForm.prototype.waitTitle = "Odota..."; 277} 278 279if(Ext.grid.GridView){ 280 Ext.apply(Ext.grid.GridView.prototype, { 281 sortAscText : "J�rjest� A-�", 282 sortDescText : "J�rjest� �-A", 283 lockText : "Lukitse sarake", 284 unlockText : "Vapauta sarakkeen lukitus", 285 columnsText : "Sarakkeet" 286 }); 287} 288 289if(Ext.grid.GroupingView){ 290 Ext.apply(Ext.grid.GroupingView.prototype, { 291 emptyGroupText : '(ei mit��n)', 292 groupByText : 'Ryhmittele t�m�n kent�n mukaan', 293 showGroupsText : 'N�yt� ryhmiss�' 294 }); 295} 296 297if(Ext.grid.PropertyColumnModel){ 298 Ext.apply(Ext.grid.PropertyColumnModel.prototype, { 299 nameText : "Nimi", 300 valueText : "Arvo", 301 dateFormat : "j.m.Y" 302 }); 303} 304 305if(Ext.layout.BorderLayout && Ext.layout.BorderLayout.SplitRegion){ 306 Ext.apply(Ext.layout.BorderLayout.SplitRegion.prototype, { 307 splitTip : "Muuta kokoa vet�m�ll�.", 308 collapsibleSplitTip : "Muuta kokoa vet�m�ll�. Piilota kaksoisklikkauksella." 309 }); 310} 311</pre> 312</body> 313</html>