From: Marcel Werk Date: Wed, 1 Jan 2014 22:05:56 +0000 (+0100) Subject: Added first day of the week setting X-Git-Tag: 2.0.1~6 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=9f8d4e5266f462d7320e3ad937fad0dd4a1f786e;p=GitHub%2FWoltLab%2FWCF.git Added first day of the week setting --- diff --git a/com.woltlab.wcf/templates/headInclude.tpl b/com.woltlab.wcf/templates/headInclude.tpl index e6675d96df..5f7a69a2a8 100644 --- a/com.woltlab.wcf/templates/headInclude.tpl +++ b/com.woltlab.wcf/templates/headInclude.tpl @@ -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}', diff --git a/wcfsetup/install/files/acp/templates/header.tpl b/wcfsetup/install/files/acp/templates/header.tpl index d94cae6fa9..92d4021108 100644 --- a/wcfsetup/install/files/acp/templates/header.tpl +++ b/wcfsetup/install/files/acp/templates/header.tpl @@ -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}', diff --git a/wcfsetup/install/files/js/WCF.js b/wcfsetup/install/files/js/WCF.js index 854ef38186..60598a60a5 100755 --- a/wcfsetup/install/files/js/WCF.js +++ b/wcfsetup/install/files/js/WCF.js @@ -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, diff --git a/wcfsetup/install/lang/de.xml b/wcfsetup/install/lang/de.xml index eb134a2a7b..e6e92510ee 100644 --- a/wcfsetup/install/lang/de.xml +++ b/wcfsetup/install/lang/de.xml @@ -1692,6 +1692,7 @@ Fehler sind beispielsweise: + diff --git a/wcfsetup/install/lang/en.xml b/wcfsetup/install/lang/en.xml index 4d68be808e..bd5ae35375 100644 --- a/wcfsetup/install/lang/en.xml +++ b/wcfsetup/install/lang/en.xml @@ -1691,6 +1691,7 @@ Errors are: +