Added first day of the week setting
authorMarcel Werk <burntime@woltlab.com>
Wed, 1 Jan 2014 22:05:56 +0000 (23:05 +0100)
committerMarcel Werk <burntime@woltlab.com>
Wed, 1 Jan 2014 22:05:56 +0000 (23:05 +0100)
com.woltlab.wcf/templates/headInclude.tpl
wcfsetup/install/files/acp/templates/header.tpl
wcfsetup/install/files/js/WCF.js
wcfsetup/install/lang/de.xml
wcfsetup/install/lang/en.xml

index e6675d96df5c72345173988261c0574651c44c02..5f7a69a2a8bcf6d910651e10957e9eab57d3f3cc 100644 (file)
@@ -90,6 +90,7 @@
                        'wcf.date.hour': '{lang}wcf.date.hour{/lang}',
                        'wcf.date.minute': '{lang}wcf.date.minute{/lang}',
                        'wcf.date.timeFormat': '{lang}wcf.date.timeFormat{/lang}',
+                       'wcf.date.firstDayOfTheWeek': '{lang}wcf.date.firstDayOfTheWeek{/lang}',
                        'wcf.global.button.add': '{lang}wcf.global.button.add{/lang}',
                        'wcf.global.button.cancel': '{lang}wcf.global.button.cancel{/lang}',
                        'wcf.global.button.close': '{lang}wcf.global.button.close{/lang}',
index d94cae6fa9808884324be52f2ef291bf6151cfb6..92d402110899abfd781f74656d72b84616d62df4 100644 (file)
@@ -61,6 +61,7 @@
                                'wcf.date.hour': '{lang}wcf.date.hour{/lang}',
                                'wcf.date.minute': '{lang}wcf.date.minute{/lang}',
                                'wcf.date.timeFormat': '{lang}wcf.date.timeFormat{/lang}',
+                               'wcf.date.firstDayOfTheWeek': '{lang}wcf.date.firstDayOfTheWeek{/lang}',
                                'wcf.global.button.add': '{lang}wcf.global.button.add{/lang}',
                                'wcf.global.button.cancel': '{lang}wcf.global.button.cancel{/lang}',
                                'wcf.global.button.close': '{lang}wcf.global.button.close{/lang}',
index 854ef3818659790f47ab6af70152ce31ef21235f..60598a60a5406a430f2a3dc8ec21597be6017955 100755 (executable)
@@ -2811,6 +2811,7 @@ WCF.Date.Picker = {
                                dayNames: WCF.Language.get('__days'),
                                dayNamesMin: WCF.Language.get('__daysShort'),
                                dayNamesShort: WCF.Language.get('__daysShort'),
+                               firstDay: parseInt(WCF.Language.get('wcf.date.firstDayOfTheWeek')) || 0,
                                isRTL: WCF.Language.get('wcf.global.pageDirection') == 'rtl',
                                maxDate: $maxDate,
                                minDate: $minDate,
index eb134a2a7bf0a1623e7ba56caeaf7da745a9859d..e6e92510ee129e566142357b3217e182b727ad6c 100644 (file)
@@ -1692,6 +1692,7 @@ Fehler sind beispielsweise:
                
                <item name="wcf.date.period.start"><![CDATA[von]]></item>
                <item name="wcf.date.period.end"><![CDATA[bis]]></item>
+               <item name="wcf.date.firstDayOfTheWeek"><![CDATA[1]]></item>
        </category>
        
        <category name="wcf.global">
index 4d68be808eecb43702751d6b945afa851b0b7e83..bd5ae35375c9c9bba8d80f530664a3857ca67690 100644 (file)
@@ -1691,6 +1691,7 @@ Errors are:
                
                <item name="wcf.date.period.start"><![CDATA[from]]></item>
                <item name="wcf.date.period.end"><![CDATA[to]]></item>
+               <item name="wcf.date.firstDayOfTheWeek"><![CDATA[0]]></item>
        </category>
        
        <category name="wcf.global">