summaryrefslogtreecommitdiffstats
path: root/core/js/tests
diff options
context:
space:
mode:
authorHasso Tepper <hasso@zone.ee>2015-08-21 10:17:36 +0300
committerHasso Tepper <hasso@zone.ee>2015-08-21 10:17:36 +0300
commitacc5a7d6cc14f43051e327b5964f5c17b3c26412 (patch)
tree9ce620ec477a8c31612706a06b7e6c01e07cf5f6 /core/js/tests
parent5f5c3520c9c48c4d0f5fbe2aa05f5d952b3607f6 (diff)
downloadnextcloud-server-acc5a7d6cc14f43051e327b5964f5c17b3c26412.tar.gz
nextcloud-server-acc5a7d6cc14f43051e327b5964f5c17b3c26412.zip
Make short versions of weekday/month names translatable
Diffstat (limited to 'core/js/tests')
-rw-r--r--core/js/tests/specHelper.js32
1 files changed, 32 insertions, 0 deletions
diff --git a/core/js/tests/specHelper.js b/core/js/tests/specHelper.js
index dbe005ba2e9..cd387d76ce8 100644
--- a/core/js/tests/specHelper.js
+++ b/core/js/tests/specHelper.js
@@ -35,6 +35,24 @@ window.dayNames = [
'Friday',
'Saturday'
];
+window.dayNamesShort = [
+ 'Sun.',
+ 'Mon.',
+ 'Tue.',
+ 'Wed.',
+ 'Thu.',
+ 'Fri.',
+ 'Sat.'
+];
+window.dayNamesMin = [
+ 'Su',
+ 'Mo',
+ 'Tu',
+ 'We',
+ 'Th',
+ 'Fr',
+ 'Sa'
+];
window.monthNames = [
'January',
'February',
@@ -49,6 +67,20 @@ window.monthNames = [
'November',
'December'
];
+window.monthNamesShort = [
+ 'Jan.',
+ 'Feb.',
+ 'Mar.',
+ 'Apr.',
+ 'May.',
+ 'Jun.',
+ 'Jul.',
+ 'Aug.',
+ 'Sep.',
+ 'Oct.',
+ 'Nov.',
+ 'Dec.'
+];
window.firstDay = 0;
// setup dummy webroots