diff options
Diffstat (limited to 'ishtar_common/static/js/i18n/grid.locale-is.js')
| -rw-r--r-- | ishtar_common/static/js/i18n/grid.locale-is.js | 102 | 
1 files changed, 71 insertions, 31 deletions
| diff --git a/ishtar_common/static/js/i18n/grid.locale-is.js b/ishtar_common/static/js/i18n/grid.locale-is.js index b586e11d8..967e476d2 100644 --- a/ishtar_common/static/js/i18n/grid.locale-is.js +++ b/ishtar_common/static/js/i18n/grid.locale-is.js @@ -1,4 +1,3 @@ -;(function($){
  /**
   * jqGrid Icelandic Translation
   * jtm@hi.is Univercity of Iceland
 @@ -6,32 +5,66 @@   * http://www.opensource.org/licenses/mit-license.php
   * http://www.gnu.org/licenses/gpl.html
  **/
 -$.jgrid = {
 +/*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["is"] = {
  	defaults : {
 -		recordtext: "View {0} - {1} of {2}",
 -	    emptyrecords: "No records to view",
 +		recordtext: "Skoða {0} - {1} af {2}",
 +	    emptyrecords: "Engar færslur",
  		loadtext: "Hleður...",
 -		pgtext : "Page {0} of {1}"
 +		pgtext : "Síða {0} af {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: "Leita...",
  	    Find: "Leita",
  	    Reset: "Endursetja",
 -	    odata : ['equal', 'not equal', 'less', 'less or equal','greater','greater or equal', 'begins with','does not begin with','is in','is not in','ends with','does not end with','contains','does not contain'],
 -	    groupOps: [	{ op: "AND", text: "all" },	{ op: "OR",  text: "any" }	],
 -		matchText: " match",
 -		rulesText: " rules"
 +	    odata: [{ oper:'eq', text:"sama og"},{ oper:'ne', text:"ekki sama og"},{ oper:'lt', text:"minna en"},{ oper:'le', text:"minna eða jafnt og"},{ oper:'gt', text:"stærra en"},{ oper:'ge', text:"stærra eða jafnt og"},{ oper:'bw', text:"byrjar á"},{ oper:'bn', text:"byrjar ekki á"},{ oper:'in', text:"er í"},{ oper:'ni', text:"er ekki í"},{ oper:'ew', text:"endar á"},{ oper:'en', text:"endar ekki á"},{ oper:'cn', text:"inniheldur"},{ oper:'nc', text:"inniheldur ekki"},{ oper:'nu', text:'is null'},{ oper:'nn', text:'is not null'}],
 +	    groupOps: [	{ op: "AND", text: "allt" },	{ op: "OR",  text: "eða" }	],
 +		operandTitle : "Click to select search operation.",
 +		resetTitle : "Reset Search Value"
  	},
  	edit : {
 -	    addCaption: "Add Record",
 -	    editCaption: "Edit Record",
 +	    addCaption: "Bæta við færslu",
 +	    editCaption: "Breyta færslu",
  	    bSubmit: "Vista",
  	    bCancel: "Hætta við",
  		bClose: "Loka",
 -		saveData: "Data has been changed! Save changes?",
 -		bYes : "Yes",
 -		bNo : "No",
 -		bExit : "Cancel",
 +		saveData: "Gögn hafa breyst! Vista breytingar?",
 +		bYes : "Já",
 +		bNo : "Nei",
 +		bExit : "Hætta við",
  	    msg: {
  	        required:"Reitur er nauðsynlegur",
  	        number:"Vinsamlega settu inn tölu",
 @@ -39,17 +72,17 @@ $.jgrid = {  	        maxValue:"gildi verður að vera minna en eða jafnt og ",
  	        email: "er ekki löglegt email",
  	        integer: "Vinsamlega settu inn tölu",
 -			date: "Please, enter valid date value",
 -			url: "is not a valid URL. Prefix required ('http://' or 'https://')",
 -			nodefined : " is not defined!",
 -			novalue : " return value is required!",
 -			customarray : "Custom function should return array!",
 -			customfcheck : "Custom function should be present in case of custom checking!"
 +			date: "Vinsamlega setti inn dagsetningu",
 +			url: "er ekki löglegt URL. Vantar ('http://' eða 'https://')",
 +			nodefined : " er ekki skilgreint!",
 +			novalue : " skilagildi nauðsynlegt!",
 +			customarray : "Fall skal skila fylki!",
 +			customfcheck : "Fall skal vera skilgreint!"
  		}
  	},
  	view : {
 -	    caption: "View Record",
 -	    bClose: "Close"
 +	    caption: "Skoða færslu",
 +	    bClose: "Loka"
  	},
  	del : {
  	    caption: "Eyða",
 @@ -71,7 +104,12 @@ $.jgrid = {  	    alertcap: "Viðvörun",
  	    alerttext: "Vinsamlega veldu færslu",
  		viewtext: "",
 -		viewtitle: "View selected row"
 +		viewtitle: "Skoða valda færslu",
 +		savetext: "",
 +		savetitle: "Save row",
 +		canceltext: "",
 +		canceltitle : "Cancel row editing",
 +		selectcaption : "Actions..."
  	},
  	col : {
  	    caption: "Sýna / fela dálka",
 @@ -82,7 +120,7 @@ $.jgrid = {  		errcap : "Villa",
  		nourl : "Vantar slóð",
  		norecords: "Engar færslur valdar",
 -	    model : "Length of colNames <> colModel!"
 +	    model : "Lengd colNames <> colModel!"
  	},
  	formatter : {
  		integer : {thousandsSeparator: " ", defaultValue: '0'},
 @@ -90,17 +128,18 @@ $.jgrid = {  		currency : {decimalSeparator:".", thousandsSeparator: " ", decimalPlaces: 2, prefix: "", suffix:"", defaultValue: '0.00'},
  		date : {
  			dayNames:   [
 -				"Sun", "Mon", "Tue", "Wed", "Thr", "Fri", "Sat",
 -				"Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"
 +				"Sun", "Mán", "Þri", "Mið", "Fim", "Fös", "Lau",
 +				"Sunnudagur", "Mánudagur", "Þriðjudagur", "Miðvikudagur", "Fimmtudagur", "Föstudagur", "Laugardagur"
  			],
  			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"
 +				"Jan", "Feb", "Mar", "Apr", "Maí", "Jún", "Júl", "Ágú", "Sep", "Oct", "Nóv", "Des",
 +				"Janúar", "Febrúar", "Mars", "Apríl", "Maí", "Júný", "Júlý", "Ágúst", "September", "Október", "Nóvember", "Desember"
  			],
  			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',
 +			parseRe : /[#%\\\/:_;.,\t\s-]/,
  			masks : {
  	            ISO8601Long:"Y-m-d H:i:s",
  	            ISO8601Short:"Y-m-d",
 @@ -114,7 +153,8 @@ $.jgrid = {  	            UniversalSortableDateTime: "Y-m-d H:i:sO",
  	            YearMonth: "F, Y"
  	        },
 -	        reformatAfterEdit : false
 +	        reformatAfterEdit : false,
 +			userLocalTime : false
  		},
  		baseLinkUrl: '',
  		showAction: '',
 @@ -123,4 +163,4 @@ $.jgrid = {  		idName : 'id'
  	}
  };
 -})(jQuery);
 +}));
 | 
