diff options
author | Marc Schumann <wurblzap@gmail.com> | 2012-05-18 14:09:05 +0200 |
---|---|---|
committer | Marc Schumann <wurblzap@gmail.com> | 2012-05-18 14:09:05 +0200 |
commit | 7298d3241bea1272ba316c437007d9c07c4ed8b4 (patch) | |
tree | 9fffa7925ed8e6d20869c495d0a3b95c490db48b /template/en/default/global/calendar.js.tmpl | |
parent | d3a92bd63e702f066685ea03dec649c08e0ff6b2 (diff) | |
download | bugs-7298d3241bea1272ba316c437007d9c07c4ed8b4.tar bugs-7298d3241bea1272ba316c437007d9c07c4ed8b4.tar.gz bugs-7298d3241bea1272ba316c437007d9c07c4ed8b4.tar.bz2 bugs-7298d3241bea1272ba316c437007d9c07c4ed8b4.tar.xz bugs-7298d3241bea1272ba316c437007d9c07c4ed8b4.zip |
The calendar widget is not localizable.
r/a=LpSolit
https://bugzilla.mozilla.org/show_bug.cgi?id=581365
Diffstat (limited to 'template/en/default/global/calendar.js.tmpl')
-rw-r--r-- | template/en/default/global/calendar.js.tmpl | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/template/en/default/global/calendar.js.tmpl b/template/en/default/global/calendar.js.tmpl new file mode 100644 index 000000000..26f3fa023 --- /dev/null +++ b/template/en/default/global/calendar.js.tmpl @@ -0,0 +1,33 @@ +[%# This Source Code Form is subject to the terms of the Mozilla Public + # License, v. 2.0. If a copy of the MPL was not distributed with this + # file, You can obtain one at http://mozilla.org/MPL/2.0/. + # + # This Source Code Form is "Incompatible With Secondary Licenses", as + # defined by the Mozilla Public License, v. 2.0. + #%] + +[%# INTERFACE: + # id: The id of the input field the calendar widget is to be assigned to. + #%] + +[%# This template exists because createCalendar accepts additional parameters + # which allow for localization. Please see the YUI documentation at + # http://developer.yahoo.com/yui/calendar/#internationalization for details. + # As an example, here's what you'd specify as additional parameters to + # localize for German calendars; replace the ellipsis ("...") by the original + # parameter (we cannot put it into the example because it'd break this + # template comment): + # + # createCalendar(... + # /* The weekday the week begins on; 0 is Sunday, + # * 1 is Monday and so on: */ + # 1, + # /* Months, full names; first must be January: */ + # ['Januar', 'Februar', 'März', 'April', + # 'Mai', 'Juni', 'Juli', 'August', + # 'September', 'Oktober', 'November', 'Dezember'], + # /* Weekdays, two-letter abbreviations; first must be + # * Sunday: */ + # ['So', 'Mo', 'Di', 'Mi', 'Do', 'Fr', 'Sa']); + #%] +createCalendar('[% id FILTER js %]'); |