123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179 |
- /**
- * jqGrid Swedish Translation
- * Harald Normann harald.normann@wts.se, harald.normann@gmail.com
- * http://www.worldteamsoftware.com
- * Dual licensed under the MIT and GPL licenses:
- * http://www.opensource.org/licenses/mit-license.php
- * http://www.gnu.org/licenses/gpl.html
- **/
- /*global jQuery, define */
- (function( factory ) {
- "use strict";
- if ( typeof define === "function" && define.amd ) {
- // AMD. Register as an anonymous module.
- define([
- "jquery",
- "../grid.base"
- ], factory );
- } else {
- // Browser globals
- factory( jQuery );
- }
- }(function( $ ) {
- $.jgrid = $.jgrid || {};
- if(!$.jgrid.hasOwnProperty("regional")) {
- $.jgrid.regional = [];
- }
- $.jgrid.regional["sv"] = {
- defaults : {
- recordtext: "Visar {0} - {1} av {2}",
- emptyrecords: "Det finns inga poster att visa",
- loadtext: "Laddar...",
- pgtext : "Sida {0} av {1}",
- savetext: "Saving...",
- pgfirst : "First Page",
- pglast : "Last Page",
- pgnext : "Next Page",
- pgprev : "Previous Page",
- pgrecs : "Records per Page",
- showhide: "Toggle Expand Collapse Grid",
- // mobile
- pagerCaption : "Grid::Page Settings",
- pageText : "Page:",
- recordPage : "Records per Page",
- nomorerecs : "No more records...",
- scrollPullup: "Pull up to load more...",
- scrollPulldown : "Pull down to refresh...",
- scrollRefresh : "Release to refresh..."
- },
- search : {
- caption: "Sök Poster - Ange sökvillkor",
- Find: "Sök",
- Reset: "Nollställ Villkor",
- odata: [{ oper:'eq', text:"lika"},{ oper:'ne', text:"ej lika"},{ oper:'lt', text:"mindre"},{ oper:'le', text:"mindre eller lika"},{ oper:'gt', text:"större"},{ oper:'ge', text:"större eller lika"},{ oper:'bw', text:"börjar med"},{ oper:'bn', text:"börjar inte med"},{ oper:'in', text:"tillhör"},{ oper:'ni', text:"tillhör inte"},{ oper:'ew', text:"slutar med"},{ oper:'en', text:"slutar inte med"},{ oper:'cn', text:"innehåller"},{ oper:'nc', text:"innehåller inte"},{ oper:'nu', text:'is null'},{ oper:'nn', text:'is not null'}, {oper:'bt', text:'between'}],
- groupOps: [ { op: "AND", text: "alla" }, { op: "OR", text: "eller" } ],
- operandTitle : "Click to select search operation.",
- resetTitle : "Reset Search Value"
- },
- edit : {
- addCaption: "Ny Post",
- editCaption: "Redigera Post",
- bSubmit: "Spara",
- bCancel: "Avbryt",
- bClose: "Stäng",
- saveData: "Data har ändrats! Spara förändringar?",
- bYes : "Ja",
- bNo : "Nej",
- bExit : "Avbryt",
- msg: {
- required:"Fältet är obligatoriskt",
- number:"Välj korrekt nummer",
- minValue:"värdet måste vara större än eller lika med",
- maxValue:"värdet måste vara mindre än eller lika med",
- email: "är inte korrekt e-post adress",
- integer: "Var god ange korrekt heltal",
- date: "Var god ange korrekt datum",
- url: "är inte en korrekt URL. Prefix måste anges ('http://' or 'https://')",
- nodefined : " är inte definierad!",
- novalue : " returvärde måste anges!",
- customarray : "Custom funktion måste returnera en vektor!",
- customfcheck : "Custom funktion måste finnas om Custom kontroll sker!"
- }
- },
- view : {
- caption: "Visa Post",
- bClose: "Stäng"
- },
- del : {
- caption: "Radera",
- msg: "Radera markerad(e) post(er)?",
- bSubmit: "Radera",
- bCancel: "Avbryt"
- },
- nav : {
- edittext: "",
- edittitle: "Redigera markerad rad",
- addtext:"",
- addtitle: "Skapa ny post",
- deltext: "",
- deltitle: "Radera markerad rad",
- searchtext: "",
- searchtitle: "Sök poster",
- refreshtext: "",
- refreshtitle: "Uppdatera data",
- alertcap: "Varning",
- alerttext: "Ingen rad är markerad",
- viewtext: "",
- viewtitle: "Visa markerad rad",
- savetext: "",
- savetitle: "Save row",
- canceltext: "",
- canceltitle : "Cancel row editing",
- selectcaption : "Actions..."
- },
- col : {
- caption: "Välj Kolumner",
- bSubmit: "OK",
- bCancel: "Avbryt"
- },
- errors : {
- errcap : "Fel",
- nourl : "URL saknas",
- norecords: "Det finns inga poster att bearbeta",
- model : "Antal colNames <> colModel!"
- },
- formatter : {
- integer : {thousandsSeparator: " ", defaultValue: '0'},
- number : {decimalSeparator:",", thousandsSeparator: " ", decimalPlaces: 2, defaultValue: '0,00'},
- currency : {decimalSeparator:",", thousandsSeparator: " ", decimalPlaces: 2, prefix: "", suffix:"Kr", defaultValue: '0,00'},
- date : {
- dayNames: [
- "Sön", "Mån", "Tis", "Ons", "Tor", "Fre", "Lör",
- "Söndag", "Måndag", "Tisdag", "Onsdag", "Torsdag", "Fredag", "Lördag"
- ],
- monthNames: [
- "Jan", "Feb", "Mar", "Apr", "Maj", "Jun", "Jul", "Aug", "Sep", "Okt", "Nov", "Dec",
- "Januari", "Februari", "Mars", "April", "Maj", "Juni", "Juli", "Augusti", "September", "Oktober", "November", "December"
- ],
- AmPm : ["fm","em","FM","EM"],
- S: function (j) {return j < 11 || j > 13 ? ['st', 'nd', 'rd', 'th'][Math.min((j - 1) % 10, 3)] : 'th'},
- srcformat: 'Y-m-d',
- newformat: 'Y-m-d',
- parseRe : /[#%\\\/:_;.,\t\s-]/,
- 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,
- userLocalTime : false
- },
- baseLinkUrl: '',
- showAction: '',
- target: '',
- checkbox : {disabled:true},
- idName : 'id'
- },
- colmenu : {
- sortasc : "Sort Ascending",
- sortdesc : "Sort Descending",
- columns : "Columns",
- filter : "Filter",
- grouping : "Group By",
- ungrouping : "Ungroup",
- searchTitle : "Get items with value that:",
- freeze : "Freeze",
- unfreeze : "Unfreeze",
- reorder : "Move to reorder"
- }
- };
- }));
|