Skip to content

Instantly share code, notes, and snippets.

@mandymozart
Last active December 20, 2015 12:19
Show Gist options
  • Save mandymozart/6129906 to your computer and use it in GitHub Desktop.
Save mandymozart/6129906 to your computer and use it in GitHub Desktop.
parse this file for translations
{# TODO: for each locale #}
<script>
{
translations: [
{
abstraction: "payment.subscribe.step2.terms.text",
lang: "en",
translation: "I accept"},
{
abstraction: "payment.subscribe.step2.terms.text",
lang: "fr",
translation: "J'accepte"},
{
abstraction: "payment.subscribe.step2.terms.text",
lang: "it",
translation: "{% trans from "Adyen" %}terms.text{% endtrans %}"},
{
abstraction: "payment.subscribe.step2.terms.text",
lang: "es",
translation: "Acepto"},
{
abstraction: "payment.subscribe.step2.terms.text",
lang: "de",
translation: "Ich akzeptiere die"},
{
abstraction: "payment.subscribe.step2.terms.text",
lang: "ja",
translation: "I accept"},
{
abstraction: "payment.subscribe.step2.terms.link.text",
lang: "en",
translation: "the terms and conditions"},
{
abstraction: "payment.subscribe.step2.terms.link.text",
lang: "de",
translation: "AGB"},
{
abstraction: "payment.subscribe.step2.terms.link.text",
lang: "es",
translation: "los términos y las condiciones de uso"},
{
abstraction: "payment.subscribe.step2.terms.link.text",
lang: "fr",
translation: "les conditions générales d'utilisation"},
{
abstraction: "payment.subscribe.step2.terms.link.text",
lang: "it",
translation: "{% trans from "Adyen" %}terms.link.text{% endtrans %}"},
{
abstraction: "payment.subscribe.step2.terms.link.text",
lang: "ja",
translation: "条款"},
{
abstraction: "payment.subscribe.step2.terms.error.text",
lang: "en",
translation: "Please check, that you have accepted the terms and conditions!"},
{
abstraction: "payment.subscribe.step2.terms.error.text",
lang: "de",
translation: "Bitte best&auml;tigen sie, dass sie die AGB akzeptiert haben!"},
{
abstraction: "payment.subscribe.step2.terms.error.text",
lang: "es",
translation: "Por favor, confirme que ha leído y aceptado los términos y condiciones."},
{
abstraction: "payment.subscribe.step2.terms.error.text",
lang: "fr",
translation: "Acceptez les conditions générales d'utilisation s'il vous plaît!"},
{
abstraction: "payment.subscribe.step2.terms.error.text",
lang: "ja",
translation: "契約条件を受け入れてください!"},
{
abstraction: "payment.subscribe.step2.terms.error.text",
lang: "it",
translation: "{% trans from "Adyen" %}terms.error.text{% endtrans %}"}
]
}
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment