fixes missing (i18n) internationalisation on about page (#3600)

* fixes missing (i18n) internationalisation on about page #3089

* fixes #3089 missing (i18n) on about page
This commit is contained in:
Akshita Singh 2021-02-09 01:07:53 +05:30 committed by GitHub
parent 892ca6954c
commit deb4b86451
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 19 additions and 15 deletions

View File

@ -62,30 +62,20 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
</div>
<div id="body-info">
<h1>About OpenRefine</h1>
<h1 id="about-openrefine"></h1>
<!-- The following two IDs must match those in index.vt/index.js -->
<h2 id="openrefine-version"></h2>
<h3 id="java-runtime-version"></h3>
<p>
OpenRefine is a power tool for working with messy data. Use it to improve data consistency,
link it to data registries like Wikidata, augment it with data from other sources, transform it
into different formats for other tools to consume, and contribute it to back to the original
sources. OpenRefine is not a web service but a desktop app that runs on your own computer,
so you can process sensitive data with privacy.
<p id="definition">
</p>
<p>
OpenRefine was originally developed as "Freebase Gridworks" by
<a href="http://www.metaweb.com/">Metaweb Technologies, Inc.</a>. Metaweb was acquired by
<a href="http://www.google.com/">Google</a> in July 2010 and they renamed the product
Google Refine. In October, 2012, the product was renamed OpenRefine as it transitioned to
a community supported project.
<p id="history-openrefine">
</p>
<table cellspacing="0" cellpadding="0"><tr>
<td width="300">
<h2>Contributors (in chronological order)</h2>
<h2 id="contributors"></h2>
<ul>
<li><a href="http://www.freebase.com/view/en/david_francois_huynh">David Huynh</a></li>
<li><a href="http://www.freebase.com/view/en/stefano_mazzocchi">Stefano Mazzocchi</a></li>
@ -107,7 +97,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
</ul>
</td>
<td>
<h2>Special Thanks</h2>
<h2 id="thanks"></h2>
<ul>
<li><a href="http://www.paolociccarese.info/">Paolo Ciccarese</a></li>
<li>Thad Guidry</li>
@ -239,5 +229,6 @@ licenses/mockito.LICENSE.txt
</pre>
</div>
<script src="about.js"></script>
</body>
</html>

View File

@ -0,0 +1,9 @@
$("#about-openrefine").text($.i18n('core-index/about') + " OpenRefine");
$("#contributors").text($.i18n('core-about/contributors'));
$("#definition").text($.i18n('core-about/definition'));
$("#history-openrefine").html($.i18n('core-about/history' ,'http://www.metaweb.com/' ,'Metaweb Technologies,Inc.', 'http://www.google.com/','Google' ));
$("#thanks").text($.i18n('core-about/thanks'));

View File

@ -1,6 +1,10 @@
{
"name": "English",
"core-index/slogan": "A power tool for working with messy data",
"core-about/definition" : "OpenRefine is a power tool for working with messy data. Use it to improve data consistency,link it to data registries like Wikidata, augment it with data from other sources, transform it into different formats for other tools to consume, and contribute it to back to the original sources. OpenRefine is not a web service but a desktop app that runs on your own computer,so you can process sensitive data with privacy.",
"core-about/contributors" : "Contributors (in chronological order)",
"core-about/history" : "OpenRefine was originally developed as 'Freebase Gridworks' by <a href='$1'>$2</a> . Metaweb was acquired by <a href='$3'>$4</a> in July 2010 and they renamed the product Google Refine. In October, 2012, the product was renamed OpenRefine as it transitioned to a community supported project.",
"core-about/thanks" : "Special Thanks",
"core-index/help": "Help",
"core-index/about": "About",
"core-index/version": "Version:",