Skip to content
Permalink
Browse files

Adds new language: norwegian (#5335)

* Adds new language: norwegian

* CHANGELOG for 'Adds new language: norwegian'
  • Loading branch information...
andreslucena authored and oriolgual committed Sep 16, 2019
1 parent 3e4f9d7 commit a4429bb0286137342706b49f6adf188fc30031d3
@@ -19,6 +19,7 @@
- **decidim-proposals**: Add :amend action to proposal's authorization workflow [#5184](https://github.com/decidim/decidim/pull/5184)
- **decidim-core**, **decidim-proposals**: Add: Improvements in amendments on `Proposals` control version [#5185](https://github.com/decidim/decidim/pull/5185)
- **decidim-proposals**: Copy attachments when importing proposals [#5198](https://github.com/decidim/decidim/pull/5198)
- **decidim-core**: Adds new language: Norwegian [#5335](https://github.com/decidim/decidim/pull/5335)


**Changed**:
@@ -19,6 +19,7 @@ files:
id-ID: id
it: it
nl: nl
no: no
pl: pl
pt-BR: pt-BR
pt-PT: pt
@@ -131,7 +131,7 @@ def self.seed!

# Exposes a configuration option: The application available locales.
config_accessor :available_locales do
%w(en ar ca de es es-MX es-PY eu fi-pl fi fr gl hu id it nl pl pt pt-BR ru sv tr uk)
%w(en ar ca de es es-MX es-PY eu fi-pl fi fr gl hu id it nl no pl pt pt-BR ru sv tr uk)
end

# Exposes a configuration option: an array of symbols representing processors
@@ -12,7 +12,7 @@ module LocaleTest

describe "available locales", type: :system do
let(:languages) do
%w(en ar ca de es es-MX es-PY eu fi-pl fi fr gl hu id it nl pl pt pt-BR ru sv tr uk)
%w(en ar ca de es es-MX es-PY eu fi-pl fi fr gl hu id it nl no pl pt pt-BR ru sv tr uk)
end
let(:datepicker_file) do
lambda { |lang|
@@ -0,0 +1,13 @@
/**
* Norwegian translation for foundation-datepicker
*/
;(function($){
$.fn.fdatepicker.dates['no'] = {
days: ["Søndag", "Mandag", "Tirsdag", "Onsdag", "Torsdag", "Fredag", "Lørdag", "Søndag"],
daysShort: ["Søn", "Man", "Tir", "Ons", "Tor", "Fre", "Lør", "Søn"],
daysMin: ["", "Ma", "Ti", "On", "To", "Fr", "", ""],
months: ["Januar", "Februar", "Mars", "April", "Mai", "Juni", "Juli", "August", "September", "Oktober", "November", "Desember"],
monthsShort: ["Jan", "Feb", "Mar", "Apr", "Mai", "Jun", "Jul", "Aug", "Sep", "Okt", "Nov", "Des"],
today: "I dag"
};
}(jQuery));

0 comments on commit a4429bb

Please sign in to comment.
You can’t perform that action at this time.