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     */
016    package com.github.gwtbootstrap.datepicker.client.ui.resources;
017    
018    import com.google.gwt.core.client.GWT;
019    import com.google.gwt.resources.client.ClientBundle;
020    import 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     */
028    public 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    
044        @Source("js/locales/bootstrap-datepicker.br.js")
045        TextResource br();
046    
047        @Source("js/locales/bootstrap-datepicker.da.js")
048        TextResource da();
049    
050        @Source("js/locales/bootstrap-datepicker.de.js")
051        TextResource de();
052    
053        @Source("js/locales/bootstrap-datepicker.es.js")
054        TextResource es();
055    
056        @Source("js/locales/bootstrap-datepicker.fi.js")
057        TextResource fi();
058    
059        @Source("js/locales/bootstrap-datepicker.fr.js")
060        TextResource fr();
061    
062        @Source("js/locales/bootstrap-datepicker.is.js")
063        TextResource is();
064    
065        @Source("js/locales/bootstrap-datepicker.it.js")
066        TextResource it();
067    
068        @Source("js/locales/bootstrap-datepicker.lv.js")
069        TextResource lv();
070    
071        @Source("js/locales/bootstrap-datepicker.nb.js")
072        TextResource nb();
073    
074        @Source("js/locales/bootstrap-datepicker.nl.js")
075        TextResource nl();
076    
077        @Source("js/locales/bootstrap-datepicker.pl.js")
078        TextResource pl();
079    
080        @Source("js/locales/bootstrap-datepicker.ru.js")
081        TextResource ru();
082    
083        @Source("js/locales/bootstrap-datepicker.sv.js")
084        TextResource sv();
085    
086        @Source("js/locales/bootstrap-datepicker.th.js")
087        TextResource th();
088    
089        @Source("js/locales/bootstrap-datepicker.tr.js")
090        TextResource tr();
091    
092        @Source("js/locales/bootstrap-datepicker.zh-CN.js")
093        TextResource zh_CN();
094    
095    }