-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Makes the info (credits) app translatable. Includes EN and ES versions.
- Loading branch information
Showing
5 changed files
with
36 additions
and
14 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
$(function(){ | ||
IMAGINARY.i18n.init({ | ||
queryStringVariable: 'lang', | ||
translationsDirectory: 'tr', | ||
defaultLanguage: 'en' | ||
}).then(function(){ | ||
$('[data-i18n-str]').each(function(){ | ||
$(this).html(IMAGINARY.i18n.t($(this).attr('data-i18n-str'))); | ||
}); | ||
$('.credits').fadeIn(); | ||
}); | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{ | ||
"CREDITS": "Credits", | ||
"CREATED_BY": "All applications created by", | ||
"ADAPTED_BY": "Applications adapted by", | ||
"ABOUT_IMAGINARY": "<p><strong>IMAGINARY</strong> creates and distributes interactive exhibits that communicate modern mathematics to the general public. As a non profit organization we promote mathematical education and knowledge worldwide by offering all content as open source on our website imaginary.org. We empower people to organize local exhibitions and carry modern mathematics to every corner on earth.</p> <p>Our philosophy and international network of math enthusiasts help us to constantly develop our content, to produce new exhibits and to establish <strong>IMAGINARY</strong> as think tank for modern mathematics communication.</p> <p>Started as project at the Mathematische Forschungsinstitut Oberwolfach in 2008 and spun-off in 2016 with support of the Leibniz Association, we have inspired millions of visitors in more than 50 countries with our exhibits ever since.</p>" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{ | ||
"CREDITS": "Créditos", | ||
"CREATED_BY": "Aplicaciones creadas por", | ||
"ADAPTED_BY": "Aplicaciones adaptadas por", | ||
"ABOUT_IMAGINARY": "<p><strong>IMAGINARY</strong> crea y distribuye exhibiciones interactivas que comunican las matemáticas modernas al público general. Como organización sin fines de lucro promovemos el aprendizaje y conocimiento de las matemáticas en todo el mundo ofreciendo todo el contenido como código abierto en nuestro sitio web, imaginary.org. Empoderamos a las personas para que organicen exhibiciones locales y lleven a las matemáticas modernas a cada rincón de la tierra.</p> <p>Nuestra filosofía y red internacional de entusiastas de las matemáticas nos ayudan a desarrollar constantemente nuestro contenido, producir nuevas exhibiciones y establecer a <strong>IMAGINARY</strong> como un laboratorio de ideas para la comunicación de las matemáticas modernas.</p> <p>Iniciada como un proyecto en el Mathematische Forschungsinstitut Oberwolfach en el 2008 y escindida en el 2016 con el apoyo de la Leibinz Association, inspiramos a millones de visitantes en más de 50 países con nuestras exhibiciones desde entonces.</p>" | ||
} |