aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--www/index.html8
-rw-r--r--www/jslib/moment-2.0.0.nb.min.js4
-rw-r--r--www/templates/nb/address_search.html (renamed from www/templates/no/address_search.html)0
-rw-r--r--www/templates/nb/android_error.html (renamed from www/templates/no/android_error.html)0
-rw-r--r--www/templates/nb/around.html (renamed from www/templates/no/around.html)0
-rw-r--r--www/templates/nb/details.html (renamed from www/templates/no/details.html)0
-rw-r--r--www/templates/nb/details_extra.html (renamed from www/templates/no/details_extra.html)0
-rw-r--r--www/templates/nb/existing.html (renamed from www/templates/no/existing.html)0
-rw-r--r--www/templates/nb/help.html (renamed from www/templates/no/help.html)0
-rw-r--r--www/templates/nb/home.html (renamed from www/templates/no/home.html)0
-rw-r--r--www/templates/nb/initial_help.html (renamed from www/templates/no/initial_help.html)0
-rw-r--r--www/templates/nb/login.html (renamed from www/templates/no/login.html)0
-rw-r--r--www/templates/nb/offline.html (renamed from www/templates/no/offline.html)0
-rw-r--r--www/templates/nb/photo.html (renamed from www/templates/no/photo.html)0
-rw-r--r--www/templates/nb/reports.html (renamed from www/templates/no/reports.html)0
-rw-r--r--www/templates/nb/save_offline.html (renamed from www/templates/no/save_offline.html)0
-rw-r--r--www/templates/nb/sent.html (renamed from www/templates/no/sent.html)0
-rw-r--r--www/templates/nb/strings.js (renamed from www/templates/no/strings.js)0
-rw-r--r--www/templates/nb/submit.html (renamed from www/templates/no/submit.html)0
-rw-r--r--www/templates/nb/submit_confirm.html (renamed from www/templates/no/submit_confirm.html)0
-rw-r--r--www/templates/nb/submit_email.html (renamed from www/templates/no/submit_email.html)0
-rw-r--r--www/templates/nb/submit_name.html (renamed from www/templates/no/submit_name.html)0
-rw-r--r--www/templates/nb/submit_password.html (renamed from www/templates/no/submit_password.html)0
-rw-r--r--www/templates/nb/submit_set_password.html (renamed from www/templates/no/submit_set_password.html)0
24 files changed, 10 insertions, 2 deletions
diff --git a/www/index.html b/www/index.html
index 4e5e053..5220a92 100644
--- a/www/index.html
+++ b/www/index.html
@@ -43,8 +43,12 @@
<script type="text/javascript" src="jslib/jquery.mobile-1.3.1.min.js"></script>
<script type="text/javascript" src="jslib/moment-2.0.0.min.js"></script>
<script type="text/javascript">
- if (CONFIG && CONFIG.LANGUAGE == 'sv') {
- add_script('jslib/moment-2.0.0.sv.min.js');
+ if (CONFIG) {
+ if (CONFIG.LANGUAGE == 'sv') {
+ add_script('jslib/moment-2.0.0.sv.min.js');
+ } else if (CONFIG.LANGUAGE == 'no') {
+ add_script('jslib/moment-2.0.0.no.min.js');
+ }
}
</script>
diff --git a/www/jslib/moment-2.0.0.nb.min.js b/www/jslib/moment-2.0.0.nb.min.js
new file mode 100644
index 0000000..25caccb
--- /dev/null
+++ b/www/jslib/moment-2.0.0.nb.min.js
@@ -0,0 +1,4 @@
+// moment.js language configuration
+// language : norwegian bokmål (nb)
+// author : Espen Hovlandsdal : https://github.com/rexxars
+!function(){function e(e){e.lang("nb",{months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan_feb_mar_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_"),weekdays:"søndag_mandag_tirsdag_onsdag_torsdag_fredag_lørdag".split("_"),weekdaysShort:"søn_man_tir_ons_tor_fre_lør".split("_"),weekdaysMin:"sø_ma_ti_on_to_fr_lø".split("_"),longDateFormat:{LT:"HH:mm",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY LT",LLLL:"dddd D MMMM YYYY LT"},calendar:{sameDay:"[I dag klokken] LT",nextDay:"[I morgen klokken] LT",nextWeek:"dddd [klokken] LT",lastDay:"[I går klokken] LT",lastWeek:"[Forrige] dddd [klokken] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"for %s siden",s:"noen sekunder",m:"ett minutt",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dager",M:"en måned",MM:"%d måneder",y:"ett år",yy:"%d år"},ordinal:"%d.",week:{dow:1,doy:4}})}"function"==typeof define&&define.amd&&define(["moment"],e),"undefined"!=typeof window&&window.moment&&e(window.moment)}();
diff --git a/www/templates/no/address_search.html b/www/templates/nb/address_search.html
index b8bc71e..b8bc71e 100644
--- a/www/templates/no/address_search.html
+++ b/www/templates/nb/address_search.html
diff --git a/www/templates/no/android_error.html b/www/templates/nb/android_error.html
index 778f618..778f618 100644
--- a/www/templates/no/android_error.html
+++ b/www/templates/nb/android_error.html
diff --git a/www/templates/no/around.html b/www/templates/nb/around.html
index 883caf0..883caf0 100644
--- a/www/templates/no/around.html
+++ b/www/templates/nb/around.html
diff --git a/www/templates/no/details.html b/www/templates/nb/details.html
index 999585a..999585a 100644
--- a/www/templates/no/details.html
+++ b/www/templates/nb/details.html
diff --git a/www/templates/no/details_extra.html b/www/templates/nb/details_extra.html
index 0b84f44..0b84f44 100644
--- a/www/templates/no/details_extra.html
+++ b/www/templates/nb/details_extra.html
diff --git a/www/templates/no/existing.html b/www/templates/nb/existing.html
index 6785a16..6785a16 100644
--- a/www/templates/no/existing.html
+++ b/www/templates/nb/existing.html
diff --git a/www/templates/no/help.html b/www/templates/nb/help.html
index 3722544..3722544 100644
--- a/www/templates/no/help.html
+++ b/www/templates/nb/help.html
diff --git a/www/templates/no/home.html b/www/templates/nb/home.html
index e8e0e8c..e8e0e8c 100644
--- a/www/templates/no/home.html
+++ b/www/templates/nb/home.html
diff --git a/www/templates/no/initial_help.html b/www/templates/nb/initial_help.html
index 11d6a10..11d6a10 100644
--- a/www/templates/no/initial_help.html
+++ b/www/templates/nb/initial_help.html
diff --git a/www/templates/no/login.html b/www/templates/nb/login.html
index df328c9..df328c9 100644
--- a/www/templates/no/login.html
+++ b/www/templates/nb/login.html
diff --git a/www/templates/no/offline.html b/www/templates/nb/offline.html
index edd3902..edd3902 100644
--- a/www/templates/no/offline.html
+++ b/www/templates/nb/offline.html
diff --git a/www/templates/no/photo.html b/www/templates/nb/photo.html
index 43bf1ad..43bf1ad 100644
--- a/www/templates/no/photo.html
+++ b/www/templates/nb/photo.html
diff --git a/www/templates/no/reports.html b/www/templates/nb/reports.html
index d9f392b..d9f392b 100644
--- a/www/templates/no/reports.html
+++ b/www/templates/nb/reports.html
diff --git a/www/templates/no/save_offline.html b/www/templates/nb/save_offline.html
index 3b2b01f..3b2b01f 100644
--- a/www/templates/no/save_offline.html
+++ b/www/templates/nb/save_offline.html
diff --git a/www/templates/no/sent.html b/www/templates/nb/sent.html
index 32dc181..32dc181 100644
--- a/www/templates/no/sent.html
+++ b/www/templates/nb/sent.html
diff --git a/www/templates/no/strings.js b/www/templates/nb/strings.js
index e83d8d9..e83d8d9 100644
--- a/www/templates/no/strings.js
+++ b/www/templates/nb/strings.js
diff --git a/www/templates/no/submit.html b/www/templates/nb/submit.html
index a3b1c73..a3b1c73 100644
--- a/www/templates/no/submit.html
+++ b/www/templates/nb/submit.html
diff --git a/www/templates/no/submit_confirm.html b/www/templates/nb/submit_confirm.html
index 3d7d906..3d7d906 100644
--- a/www/templates/no/submit_confirm.html
+++ b/www/templates/nb/submit_confirm.html
diff --git a/www/templates/no/submit_email.html b/www/templates/nb/submit_email.html
index 1752863..1752863 100644
--- a/www/templates/no/submit_email.html
+++ b/www/templates/nb/submit_email.html
diff --git a/www/templates/no/submit_name.html b/www/templates/nb/submit_name.html
index 888804a..888804a 100644
--- a/www/templates/no/submit_name.html
+++ b/www/templates/nb/submit_name.html
diff --git a/www/templates/no/submit_password.html b/www/templates/nb/submit_password.html
index 4fe0766..4fe0766 100644
--- a/www/templates/no/submit_password.html
+++ b/www/templates/nb/submit_password.html
diff --git a/www/templates/no/submit_set_password.html b/www/templates/nb/submit_set_password.html
index 1be786a..1be786a 100644
--- a/www/templates/no/submit_set_password.html
+++ b/www/templates/nb/submit_set_password.html