2
0
mirror of https://github.com/ACSPRI/queXS synced 2024-04-02 12:12:16 +00:00
Files
CATI_Tool/include/limesurvey/scripts/jquery/locale/jquery.ui.keypad-fr.js

34 lines
1.4 KiB
JavaScript
Raw Permalink Blame History

This file contains invisible Unicode characters
This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
/* http://keith-wood.name/keypad.html
French initialisation for the jQuery keypad extension
Written by Keith Wood (kbwood{at}iinet.com.au) August 2008. */
(function($) { // hide the namespace
$.keypad.azertyAlphabetic = ['àâçéèêîôùû', 'azertyuiop', 'qsdfghjklm', 'wxcvbn'];
$.keypad.azertyLayout = ['&~#{([_@])}' + $.keypad.HALF_SPACE + '£$€',
'<>|`°^!?\'"\\' + $.keypad.HALF_SPACE + '/*=',
$.keypad.HALF_SPACE + $.keypad.azertyAlphabetic[0] + $.keypad.SPACE + '789',
$.keypad.azertyAlphabetic[1] + '%' + $.keypad.HALF_SPACE + '456',
$.keypad.HALF_SPACE + $.keypad.azertyAlphabetic[2] + $.keypad.SPACE + '123',
'§' + $.keypad.azertyAlphabetic[3] + ',.;:' + $.keypad.HALF_SPACE + '-0+',
$.keypad.SHIFT + $.keypad.SPACE_BAR + $.keypad.HALF_SPACE +
$.keypad.BACK + $.keypad.CLEAR + $.keypad.CLOSE];
$.keypad.regional['fr'] = {
buttonText: '...', buttonStatus: 'Ouvrir',
closeText: 'Fermer', closeStatus: 'Fermer le pavé numérique',
clearText: 'Effacer', clearStatus: 'Effacer la valeur',
backText: 'Défaire', backStatus: 'Effacer la dernière touche',
shiftText: 'Maj', shiftStatus: '',
alphabeticLayout: $.keypad.azertyAlphabetic,
fullLayout: $.keypad.azertyLayout,
isAlphabetic: isAlphabetic,
isNumeric: $.keypad.isNumeric,
isRTL: false};
$.keypad.setDefaults($.keypad.regional['fr']);
function isAlphabetic(ch) {
return ($.keypad.isAlphabetic(ch) ||
'áàäãâçéèëêíìïîóòöõôúùüû'.indexOf(ch) > -1);
}
})(jQuery);