How to use the i18n-js.translate function in i18n-js

To help you get started, we’ve selected a few i18n-js examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github catarse / catarse.js / src / root / projects-subscription-thank-you.js View on Github external
permalink: project.permalink,
                                            name: project.name
                                        }),
                                        displayShareBox: ctrl.displayShareBox
                                    }) : ''
                                ])
                            ]),
                        ])

                    )
                )
            ),
            ctrl.error() 
                ? m('.w-row',
                    m('.w-col.w-col-8.w-col-offset-2',
                        m('.card.card-error.u-radius.zindex-10.u-marginbottom-30.fontsize-smaller', I18n.translate('thank_you.thank_you_error', I18nScope()))
                    )
                )
                : ctrl.paymentData().boleto_url
                    ? m('.w-row',
                        m('.w-col.w-col-8.w-col-offset-2',
                            m('iframe.slip', {
                                src: ctrl.paymentData().boleto_url,
                                width: '100%',
                                height: '905px',
                                frameborder: '0',
                                style: 'overflow: hidden;'
                            })
                        )
                    ) : m('.section.u-marginbottom-40',
                        m('.w-container', [
                            m('.fontsize-large.fontweight-semibold.u-marginbottom-30.u-text-center',