mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
Datepicker: Added Portuguese localization. Fixes #6102 - Datepicker: Add Portuguese localization.
This commit is contained in:
parent
3f9b953117
commit
23b569f46e
@ -45,6 +45,7 @@
|
|||||||
<script src="../../ui/i18n/jquery.ui.datepicker-nl.js"></script>
|
<script src="../../ui/i18n/jquery.ui.datepicker-nl.js"></script>
|
||||||
<script src="../../ui/i18n/jquery.ui.datepicker-no.js"></script>
|
<script src="../../ui/i18n/jquery.ui.datepicker-no.js"></script>
|
||||||
<script src="../../ui/i18n/jquery.ui.datepicker-pl.js"></script>
|
<script src="../../ui/i18n/jquery.ui.datepicker-pl.js"></script>
|
||||||
|
<script src="../../ui/i18n/jquery.ui.datepicker-pt.js"></script>
|
||||||
<script src="../../ui/i18n/jquery.ui.datepicker-pt-BR.js"></script>
|
<script src="../../ui/i18n/jquery.ui.datepicker-pt-BR.js"></script>
|
||||||
<script src="../../ui/i18n/jquery.ui.datepicker-ro.js"></script>
|
<script src="../../ui/i18n/jquery.ui.datepicker-ro.js"></script>
|
||||||
<script src="../../ui/i18n/jquery.ui.datepicker-ru.js"></script>
|
<script src="../../ui/i18n/jquery.ui.datepicker-ru.js"></script>
|
||||||
@ -120,6 +121,7 @@
|
|||||||
<option value="ms">Malaysian (Bahasa Malaysia)</option>
|
<option value="ms">Malaysian (Bahasa Malaysia)</option>
|
||||||
<option value="no">Norwegian (Norsk)</option>
|
<option value="no">Norwegian (Norsk)</option>
|
||||||
<option value="pl">Polish (Polski)</option>
|
<option value="pl">Polish (Polski)</option>
|
||||||
|
<option value="pt">Portuguese (Português)</option>
|
||||||
<option value="pt-BR">Portuguese/Brazilian (Português)</option>
|
<option value="pt-BR">Portuguese/Brazilian (Português)</option>
|
||||||
<option value="ro">Romanian (Română)</option>
|
<option value="ro">Romanian (Română)</option>
|
||||||
<option value="ru">Russian (Русский)</option>
|
<option value="ru">Russian (Русский)</option>
|
||||||
|
@ -75,6 +75,7 @@
|
|||||||
<script type="text/javascript" src="../ui/i18n/jquery.ui.datepicker-nl.js"></script>
|
<script type="text/javascript" src="../ui/i18n/jquery.ui.datepicker-nl.js"></script>
|
||||||
<script type="text/javascript" src="../ui/i18n/jquery.ui.datepicker-no.js"></script>
|
<script type="text/javascript" src="../ui/i18n/jquery.ui.datepicker-no.js"></script>
|
||||||
<script type="text/javascript" src="../ui/i18n/jquery.ui.datepicker-pl.js"></script>
|
<script type="text/javascript" src="../ui/i18n/jquery.ui.datepicker-pl.js"></script>
|
||||||
|
<script type="text/javascript" src="../ui/i18n/jquery.ui.datepicker-pt.js"></script>
|
||||||
<script type="text/javascript" src="../ui/i18n/jquery.ui.datepicker-pt-BR.js"></script>
|
<script type="text/javascript" src="../ui/i18n/jquery.ui.datepicker-pt-BR.js"></script>
|
||||||
<script type="text/javascript" src="../ui/i18n/jquery.ui.datepicker-ro.js"></script>
|
<script type="text/javascript" src="../ui/i18n/jquery.ui.datepicker-ro.js"></script>
|
||||||
<script type="text/javascript" src="../ui/i18n/jquery.ui.datepicker-ru.js"></script>
|
<script type="text/javascript" src="../ui/i18n/jquery.ui.datepicker-ru.js"></script>
|
||||||
|
22
ui/i18n/jquery.ui.datepicker-pt.js
vendored
Normal file
22
ui/i18n/jquery.ui.datepicker-pt.js
vendored
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
/* Portuguese initialisation for the jQuery UI date picker plugin. */
|
||||||
|
jQuery(function($){
|
||||||
|
$.datepicker.regional['pt'] = {
|
||||||
|
closeText: 'Fechar',
|
||||||
|
prevText: '<Anterior',
|
||||||
|
nextText: 'Seguinte',
|
||||||
|
currentText: 'Hoje',
|
||||||
|
monthNames: ['Janeiro','Fevereiro','Março','Abril','Maio','Junho',
|
||||||
|
'Julho','Agosto','Setembro','Outubro','Novembro','Dezembro'],
|
||||||
|
monthNamesShort: ['Jan','Fev','Mar','Abr','Mai','Jun',
|
||||||
|
'Jul','Ago','Set','Out','Nov','Dez'],
|
||||||
|
dayNames: ['Domingo','Segunda-feira','Terça-feira','Quarta-feira','Quinta-feira','Sexta-feira','Sábado'],
|
||||||
|
dayNamesShort: ['Dom','Seg','Ter','Qua','Qui','Sex','Sáb'],
|
||||||
|
dayNamesMin: ['Dom','Seg','Ter','Qua','Qui','Sex','Sáb'],
|
||||||
|
weekHeader: 'Sem',
|
||||||
|
dateFormat: 'dd/mm/yy',
|
||||||
|
firstDay: 0,
|
||||||
|
isRTL: false,
|
||||||
|
showMonthAfterYear: false,
|
||||||
|
yearSuffix: ''};
|
||||||
|
$.datepicker.setDefaults($.datepicker.regional['pt']);
|
||||||
|
});
|
Loading…
Reference in New Issue
Block a user