001/*
002 *  Copyright 2012 GWT-Bootstrap
003 *
004 *  Licensed under the Apache License, Version 2.0 (the "License");
005 *  you may not use this file except in compliance with the License.
006 *  You may obtain a copy of the License at
007 *
008 *      http://www.apache.org/licenses/LICENSE-2.0
009 *
010 *  Unless required by applicable law or agreed to in writing, software
011 *  distributed under the License is distributed on an "AS IS" BASIS,
012 *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
013 *  See the License for the specific language governing permissions and
014 *  limitations under the License.
015 */
016package com.github.gwtbootstrap.datepicker.client.ui.resources;
017
018import com.google.gwt.core.client.GWT;
019import com.google.gwt.resources.client.ClientBundle;
020import com.google.gwt.resources.client.TextResource;
021
022/**
023 * Interface that provides the DateBox resources.
024 *
025 * @author Carlos Alexandro Becker
026 * @since 2.0.4.0
027 */
028public interface Resources extends ClientBundle {
029
030    public static Resources RESOURCES = GWT.create(Resources.class);
031
032    @Source("css/datepicker.css")
033    TextResource datepickerCss();
034
035    @Source("js/bootstrap-datepicker.js")
036    TextResource datepickerJs();
037
038    /*
039        Script used to gen the basic Locale resources declarations:
040
041        for a in `ls`; do  echo "@Source(\"js/locales/$a\")"; echo  "TextResource ` echo $a | cut -f2 -d.`();"; done
042     */
043    @Source("js/locales/bootstrap-datepicker.bg.js")
044    TextResource bg();
045    
046    @Source("js/locales/bootstrap-datepicker.br.js")
047    TextResource br();
048
049    @Source("js/locales/bootstrap-datepicker.cs.js")
050    TextResource cs();
051
052    @Source("js/locales/bootstrap-datepicker.da.js")
053    TextResource da();
054    
055    @Source("js/locales/bootstrap-datepicker.de.js")
056    TextResource de();
057
058    @Source("js/locales/bootstrap-datepicker.es.js")
059    TextResource es();
060
061    @Source("js/locales/bootstrap-datepicker.fi.js")
062    TextResource fi();
063
064    @Source("js/locales/bootstrap-datepicker.fr.js")
065    TextResource fr();
066
067    @Source("js/locales/bootstrap-datepicker.id.js")
068    TextResource id();
069
070    @Source("js/locales/bootstrap-datepicker.is.js")
071    TextResource is();
072
073    @Source("js/locales/bootstrap-datepicker.it.js")
074    TextResource it();
075
076    @Source("js/locales/bootstrap-datepicker.ja.js")
077    TextResource ja();
078
079    @Source("js/locales/bootstrap-datepicker.kr.js")
080    TextResource kr();
081
082    @Source("js/locales/bootstrap-datepicker.lt.js")
083    TextResource lt();
084
085    @Source("js/locales/bootstrap-datepicker.lv.js")
086    TextResource lv();
087
088    @Source("js/locales/bootstrap-datepicker.ms.js")
089    TextResource ms();
090
091    @Source("js/locales/bootstrap-datepicker.nb.js")
092    TextResource nb();
093
094    @Source("js/locales/bootstrap-datepicker.nl.js")
095    TextResource nl();
096
097    @Source("js/locales/bootstrap-datepicker.pl.js")
098    TextResource pl();
099
100    @Source("js/locales/bootstrap-datepicker.pt.js")
101    TextResource pt();
102
103    @Source("js/locales/bootstrap-datepicker.pt-BR.js")
104    TextResource pt_BR();
105
106    @Source("js/locales/bootstrap-datepicker.ru.js")
107    TextResource ru();
108
109    @Source("js/locales/bootstrap-datepicker.sl.js")
110    TextResource sl();
111
112    @Source("js/locales/bootstrap-datepicker.sv.js")
113    TextResource sv();
114
115    @Source("js/locales/bootstrap-datepicker.th.js")
116    TextResource th();
117
118    @Source("js/locales/bootstrap-datepicker.tr.js")
119    TextResource tr();
120
121    @Source("js/locales/bootstrap-datepicker.zh-CN.js")
122    TextResource zh_CN();
123    
124    @Source("js/locales/bootstrap-datepicker.zh-TW.js")
125    TextResource zh_TW();
126
127    
128
129}