castellano

0.1.4 • Public • Published

castellano

Mensajes en castellano para algunos módulos de node.js

extending npm-version downloads build climate dependencies qa-control

language: English also available in: Spanish

Use

<script src="dialog-promise.js"></script>
<script src="cliente-en-castellano.js"></script>
<button onclick='el_ejemplo(this)'>ejemplo</button>
<script>
function el_ejemplo(button){
    confirmPromise("¿Se ven las respuestas en castellano?").then(function(name){
        // gracias a "cliente-en-castellano"
        // los botones Yes y No ahora dicen Sí y No
        return alertPromise("¡Claro que sí!");
    }).then(function(){
        button.textContent='¡vovler a probar!';
    });
}
</script>

License

MIT

Dependencies (0)

    Dev Dependencies (2)

    Package Sidebar

    Install

    npm i castellano

    Weekly Downloads

    13

    Version

    0.1.4

    License

    MIT

    Unpacked Size

    4.25 kB

    Total Files

    4

    Last publish

    Collaborators

    • tute
    • manueldelapenna