forked from snapappointments/bootstrap-select
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added translations for Danish language
- Loading branch information
Showing
3 changed files
with
54 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
/*! | ||
* Bootstrap-select v1.7.1 (http:https://silviomoreto.github.io/bootstrap-select) | ||
* | ||
* Copyright 2013-2015 bootstrap-select | ||
* Licensed under MIT (https://github.com/silviomoreto/bootstrap-select/blob/master/LICENSE) | ||
*/ | ||
(function ($) { | ||
$.fn.selectpicker.defaults = { | ||
noneSelectedText: 'Intet valgt', | ||
noneResultsText: 'Ingen resultater fundet {0}', | ||
countSelectedText: function (numSelected, numTotal) { | ||
return (numSelected == 1) ? "{0} valgt" : "{0} valgt"; | ||
}, | ||
maxOptionsText: function (numAll, numGroup) { | ||
return [ | ||
(numAll == 1) ? 'Begrænsning nået (max {n} valgt)' : 'Begrænsning nået (max {n} valgte)', | ||
(numGroup == 1) ? 'Gruppe-begrænsning nået (max {n} valgt)' : 'Gruppe-begrænsning nået (max {n} valgte)' | ||
]; | ||
}, | ||
selectAllText: 'Markér alle', | ||
deselectAllText: 'Afmarkér alle', | ||
multipleSeparator: ', ' | ||
}; | ||
})(jQuery); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
/*! | ||
* Bootstrap-select v1.7.1 (http:https://silviomoreto.github.io/bootstrap-select) | ||
* | ||
* Copyright 2013-2015 bootstrap-select | ||
* Licensed under MIT (https://github.com/silviomoreto/bootstrap-select/blob/master/LICENSE) | ||
*/ | ||
!function(a){a.fn.selectpicker.defaults={noneSelectedText:"Intet valgt",noneResultsText:"Ingen resultater fundet {0}",countSelectedText:function(a,b){return"{0} valgt"},maxOptionsText:function(a,b){return[1==a?"Begrænsning nået (max {n} valgt)":"Begrænsning nået (max {n} valgte)",1==b?"Gruppe-begrænsning nået (max {n} valgt)":"Gruppe-begrænsning nået (max {n} valgte)"]},selectAllText:"Markér alle",deselectAllText:"Afmarkér alle",multipleSeparator:", "}}(jQuery); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
/* | ||
* Translated default messages for bootstrap-select. | ||
* Locale: DA (Danish) | ||
* Region: DK (Denmark) | ||
*/ | ||
(function ($) { | ||
$.fn.selectpicker.defaults = { | ||
noneSelectedText: 'Intet valgt', | ||
noneResultsText: 'Ingen resultater fundet {0}', | ||
countSelectedText: function (numSelected, numTotal) { | ||
return (numSelected == 1) ? "{0} valgt" : "{0} valgt"; | ||
}, | ||
maxOptionsText: function (numAll, numGroup) { | ||
return [ | ||
(numAll == 1) ? 'Begrænsning nået (max {n} valgt)' : 'Begrænsning nået (max {n} valgte)', | ||
(numGroup == 1) ? 'Gruppe-begrænsning nået (max {n} valgt)' : 'Gruppe-begrænsning nået (max {n} valgte)' | ||
]; | ||
}, | ||
selectAllText: 'Markér alle', | ||
deselectAllText: 'Afmarkér alle', | ||
multipleSeparator: ', ' | ||
}; | ||
})(jQuery); |