Skip to content

Commit

Permalink
New Crowdin updates (#77)
Browse files Browse the repository at this point in the history
* New translations connected-systems.md (Chinese Simplified)

* New translations faq.md (Chinese Simplified)

* New translations home.md (Spanish)

* New translations home.md (Chinese Simplified)

* New translations road-map.md (Chinese Simplified)

* New translations home.md (French)

* New translations home.md (Spanish)

* New translations home.md (Arabic)

* New translations home.md (Italian)

* New translations home.md (Japanese)

* New translations home.md (Russian)

* New translations home.md (Chinese Simplified)
  • Loading branch information
gbif-crowdin authored Nov 8, 2023
1 parent 38d0dd2 commit 5ac648a
Show file tree
Hide file tree
Showing 10 changed files with 100 additions and 527 deletions.
85 changes: 12 additions & 73 deletions ar/home.md
Original file line number Diff line number Diff line change
@@ -1,86 +1,25 @@
---
lang: en
permalink: /
lang-ref: home
layout: home
klass: home
title: |
<div>
<div><span>G</span>lobal</div>
<div><span>R</span>egistry</div>
<div id="headline-offset-wrapper"><span id="headline-offset">of </span><span>Sci</span>entific</div>
<div><span>Coll</span>ections</div>
</div>
description: |
<p class="tagLine">A worldwide catalogue of scientific collections</p>
<div class="searchWrapper">
<!-- Tab links -->
<div class="tab">
<button class="tablinks active" onclick="openTab(event, 'searchTab_name')">Institution name</button>
<a href="/specimen/search"><button class="tablinks" onclick="openTab(event, 'searchTab_catalogNumber')">
Digitized specimens <svg style="position: relative; top: 2px;" stroke="currentColor" fill="currentColor" stroke-width="0" viewBox="0 0 24 24" height="1em" width="1em" xmlns="http://www.w3.org/2000/svg"><path fill="none" d="M0 0h24v24H0z"></path><path d="M3.9 12c0-1.71 1.39-3.1 3.1-3.1h4V7H7c-2.76 0-5 2.24-5 5s2.24 5 5 5h4v-1.9H7c-1.71 0-3.1-1.39-3.1-3.1zM8 13h8v-2H8v2zm9-6h-4v1.9h4c1.71 0 3.1 1.39 3.1 3.1s-1.39 3.1-3.1 3.1h-4V17h4c2.76 0 5-2.24 5-5s-2.24-5-5-5z"></path></svg></button></a>
</div>
<!-- Tab content -->
<div id="searchTab_name" class="tabcontent" style="display: block;">
<form action="/institution/search" method="GET">
<input name="q" class="input" type="text" placeholder="Search institutions" style="width: 100%;">
<button type="submit" class="button is-ghost">
<svg stroke="currentColor" fill="currentColor" stroke-width="0" viewBox="0 0 24 24" height="1em" width="1em" xmlns="http://www.w3.org/2000/svg">
<path fill="none" d="M0 0h24v24H0z"></path><path d="M15.5 14h-.79l-.28-.27A6.471 6.471 0 0016 9.5 6.5 6.5 0 109.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z"></path>
</svg>
</button>
</form>
</div>
<div id="searchTab_catalogNumber" class="tabcontent">
<form action="/specimen/search" method="GET">
<input id="home_specimen_input" name="q" class="input" type="text" placeholder="Search for digitized specimens" style="width: 100%;">
<button type="submit" class="button is-ghost" >
<svg stroke="currentColor" fill="currentColor" stroke-width="0" viewBox="0 0 24 24" height="1em" width="1em" xmlns="http://www.w3.org/2000/svg">
<path fill="none" d="M0 0h24v24H0z"></path><path d="M15.5 14h-.79l-.28-.27A6.471 6.471 0 0016 9.5 6.5 6.5 0 109.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z"></path>
</svg>
</button>
</form>
</div>
</div>
<script>
window.setTimeout(function() {
let a = document.getElementById('headline-offset');
a.parentElement.style.marginLeft = '-' + a.offsetWidth + 'px';
// a.parentElement.parentElement.style.paddingLeft = a.offsetWidth + 'px';
}, 300);
function openTab(evt, tabName) {
// Declare all variables
var i, tabcontent, tablinks;
// Get all elements with class="tabcontent" and hide them
tabcontent = document.getElementsByClassName("tabcontent");
for (i = 0; i < tabcontent.length; i++) {
tabcontent[i].style.display = "none";
}
// Get all elements with class="tablinks" and remove the class "active"
tablinks = document.getElementsByClassName("tablinks");
for (i = 0; i < tablinks.length; i++) {
tablinks[i].className = tablinks[i].className.replace(" active", "");
}
// Show the current tab, and add an "active" class to the button that opened the tab
document.getElementById(tabName).style.display = "block";
evt.currentTarget.className += " active";
}
</script>
{: .gettingStarted}
Not sure how to get started? <a href="/#video-intro">Watch our Getting started video</a>
title: Global Registry of Scientific Collections #should not be translated
gettingStartedVideoTitle: Getting started?
institutionsInCountryTemplate: |
Institutions in <span id="users-country-name"></span>
description: A worldwide catalogue of scientific collections #a descripton for the head element
tagline: A worldwide catalogue of scientific collections
tabInstitutions: Institution name
tabSpecimens: Digitized specimens
placeholderInstitutions: Search institutions
placeholderSpecimens: Search for digitized specimens
background: "{{ site.data.images.calcinus.src }}"
imageLicense: "{{ site.data.images.calcinus.caption }}"
height: 85vh
composition:
-
type: heroImage #the block type
type: grscicollHeader #the block type
-
type: stats
data: navCards.stats
Expand Down
87 changes: 13 additions & 74 deletions es/home.md
Original file line number Diff line number Diff line change
@@ -1,86 +1,25 @@
---
lang: en
permalink: /
lang-ref: home
layout: home
klass: home
title: |
<div>
<div><span>G</span>lobal</div>
<div><span>R</span>egistry</div>
<div id="headline-offset-wrapper"><span id="headline-offset">of </span><span>Sci</span>entific</div>
<div><span>Coll</span>ections</div>
</div>
description: |
<p class="tagLine">A worldwide catalogue of scientific collections</p>
<div class="searchWrapper">
<!-- Tab links -->
<div class="tab">
<button class="tablinks active" onclick="openTab(event, 'searchTab_name')">Institution name</button>
<a href="/specimen/search"><button class="tablinks" onclick="openTab(event, 'searchTab_catalogNumber')">
Digitized specimens <svg style="position: relative; top: 2px;" stroke="currentColor" fill="currentColor" stroke-width="0" viewBox="0 0 24 24" height="1em" width="1em" xmlns="http://www.w3.org/2000/svg"><path fill="none" d="M0 0h24v24H0z"></path><path d="M3.9 12c0-1.71 1.39-3.1 3.1-3.1h4V7H7c-2.76 0-5 2.24-5 5s2.24 5 5 5h4v-1.9H7c-1.71 0-3.1-1.39-3.1-3.1zM8 13h8v-2H8v2zm9-6h-4v1.9h4c1.71 0 3.1 1.39 3.1 3.1s-1.39 3.1-3.1 3.1h-4V17h4c2.76 0 5-2.24 5-5s-2.24-5-5-5z"></path></svg></button></a>
</div>
<!-- Tab content -->
<div id="searchTab_name" class="tabcontent" style="display: block;">
<form action="/institution/search" method="GET">
<input name="q" class="input" type="text" placeholder="Search institutions" style="width: 100%;">
<button type="submit" class="button is-ghost">
<svg stroke="currentColor" fill="currentColor" stroke-width="0" viewBox="0 0 24 24" height="1em" width="1em" xmlns="http://www.w3.org/2000/svg">
<path fill="none" d="M0 0h24v24H0z"></path><path d="M15.5 14h-.79l-.28-.27A6.471 6.471 0 0016 9.5 6.5 6.5 0 109.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z"></path>
</svg>
</button>
</form>
</div>
<div id="searchTab_catalogNumber" class="tabcontent">
<form action="/specimen/search" method="GET">
<input id="home_specimen_input" name="q" class="input" type="text" placeholder="Search for digitized specimens" style="width: 100%;">
<button type="submit" class="button is-ghost" >
<svg stroke="currentColor" fill="currentColor" stroke-width="0" viewBox="0 0 24 24" height="1em" width="1em" xmlns="http://www.w3.org/2000/svg">
<path fill="none" d="M0 0h24v24H0z"></path><path d="M15.5 14h-.79l-.28-.27A6.471 6.471 0 0016 9.5 6.5 6.5 0 109.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z"></path>
</svg>
</button>
</form>
</div>
</div>
<script>
window.setTimeout(function() {
let a = document.getElementById('headline-offset');
a.parentElement.style.marginLeft = '-' + a.offsetWidth + 'px';
// a.parentElement.parentElement.style.paddingLeft = a.offsetWidth + 'px';
}, 300);
function openTab(evt, tabName) {
// Declare all variables
var i, tabcontent, tablinks;
// Get all elements with class="tabcontent" and hide them
tabcontent = document.getElementsByClassName("tabcontent");
for (i = 0; i < tabcontent.length; i++) {
tabcontent[i].style.display = "none";
}
// Get all elements with class="tablinks" and remove the class "active"
tablinks = document.getElementsByClassName("tablinks");
for (i = 0; i < tablinks.length; i++) {
tablinks[i].className = tablinks[i].className.replace(" active", "");
}
// Show the current tab, and add an "active" class to the button that opened the tab
document.getElementById(tabName).style.display = "block";
evt.currentTarget.className += " active";
}
</script>
{: .gettingStarted}
Not sure how to get started? <a href="/#video-intro">Watch our Getting started video</a> <a href="/#video-intro">Watch our Getting started video</a> <a href="/#video-intro">Watch our Getting started video</a> <a href="/#video-intro">Watch our Getting started video</a> <a href="/#video-intro">Watch our Getting started video</a> <a href="/#video-intro">Watch our Getting started video</a> <a href="/#video-intro">Watch our Getting started video</a> <a href="/#video-intro">Watch our Getting started video</a> <a href="/#video-intro">Watch our Getting started video</a> <a href="/#video-intro">Watch our Getting started video</a> <a href="/#video-intro">Watch our Getting started video</a> <a href="/#video-intro">Watch our Getting started video</a> <a href="/#video-intro">Watch our Getting started video</a> <a href="/#video-intro">Watch our Getting started video</a> <a href="/#video-intro">Watch our Getting started video</a> <a href="/#video-intro">Watch our Getting started video</a> <a href="/#video-intro">Watch our Getting started video</a>
title: Global Registry of Scientific Collections #should not be translated
gettingStartedVideoTitle: Getting started?
institutionsInCountryTemplate: |
Institutions in <span id="users-country-name"></span>
description: A worldwide catalogue of scientific collections #a descripton for the head element
tagline: A worldwide catalogue of scientific collections
tabInstitutions: Institution name
tabSpecimens: Digitized specimens
placeholderInstitutions: Search institutions
placeholderSpecimens: Search for digitized specimens
background: "{{ site.data.images.calcinus.src }}"
imageLicense: "{{ site.data.images.calcinus.caption }}"
height: 85vh
composition:
-
type: heroImage #the block type
type: grscicollHeader #the block type
-
type: stats
data: navCards.stats
Expand All @@ -104,7 +43,7 @@ navbar:

Ideas for the home page and content more broadly

pages: API + download, reports About (history, roadmap) How to (register, edit, use) A metrics page? Contact Contact Contact Contact Contact Contact Contact Contact Contact Contact Contact Contact Contact Contact Contact Contact Contact
pages: API + download, reports About (history, roadmap) How to (register, edit, use) A metrics page? Contact Contact Contact Contact Contact Contact Contact Contact Contact Contact Contact Contact Contact Contact Contact Contact Contact Contact

homepage shortcut Map of institutions Register new institution about api download reports GRSciColl visualized grscicoll related news stories from contentful

Expand Down
85 changes: 12 additions & 73 deletions fr/home.md
Original file line number Diff line number Diff line change
@@ -1,86 +1,25 @@
---
lang: en
permalink: /
lang-ref: home
layout: home
klass: home
title: |
<div>
<div><span>G</span>lobal</div>
<div><span>R</span>egistry</div>
<div id="headline-offset-wrapper"><span id="headline-offset">of </span><span>Sci</span>entific</div>
<div><span>Coll</span>ections</div>
</div>
description: |
<p class="tagLine">A worldwide catalogue of scientific collections</p>
<div class="searchWrapper">
<!-- Tab links -->
<div class="tab">
<button class="tablinks active" onclick="openTab(event, 'searchTab_name')">Institution name</button>
<a href="/specimen/search"><button class="tablinks" onclick="openTab(event, 'searchTab_catalogNumber')">
Digitized specimens <svg style="position: relative; top: 2px;" stroke="currentColor" fill="currentColor" stroke-width="0" viewBox="0 0 24 24" height="1em" width="1em" xmlns="http://www.w3.org/2000/svg"><path fill="none" d="M0 0h24v24H0z"></path><path d="M3.9 12c0-1.71 1.39-3.1 3.1-3.1h4V7H7c-2.76 0-5 2.24-5 5s2.24 5 5 5h4v-1.9H7c-1.71 0-3.1-1.39-3.1-3.1zM8 13h8v-2H8v2zm9-6h-4v1.9h4c1.71 0 3.1 1.39 3.1 3.1s-1.39 3.1-3.1 3.1h-4V17h4c2.76 0 5-2.24 5-5s-2.24-5-5-5z"></path></svg></button></a>
</div>
<!-- Tab content -->
<div id="searchTab_name" class="tabcontent" style="display: block;">
<form action="/institution/search" method="GET">
<input name="q" class="input" type="text" placeholder="Search institutions" style="width: 100%;">
<button type="submit" class="button is-ghost">
<svg stroke="currentColor" fill="currentColor" stroke-width="0" viewBox="0 0 24 24" height="1em" width="1em" xmlns="http://www.w3.org/2000/svg">
<path fill="none" d="M0 0h24v24H0z"></path><path d="M15.5 14h-.79l-.28-.27A6.471 6.471 0 0016 9.5 6.5 6.5 0 109.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z"></path>
</svg>
</button>
</form>
</div>
<div id="searchTab_catalogNumber" class="tabcontent">
<form action="/specimen/search" method="GET">
<input id="home_specimen_input" name="q" class="input" type="text" placeholder="Search for digitized specimens" style="width: 100%;">
<button type="submit" class="button is-ghost" >
<svg stroke="currentColor" fill="currentColor" stroke-width="0" viewBox="0 0 24 24" height="1em" width="1em" xmlns="http://www.w3.org/2000/svg">
<path fill="none" d="M0 0h24v24H0z"></path><path d="M15.5 14h-.79l-.28-.27A6.471 6.471 0 0016 9.5 6.5 6.5 0 109.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z"></path>
</svg>
</button>
</form>
</div>
</div>
<script>
window.setTimeout(function() {
let a = document.getElementById('headline-offset');
a.parentElement.style.marginLeft = '-' + a.offsetWidth + 'px';
// a.parentElement.parentElement.style.paddingLeft = a.offsetWidth + 'px';
}, 300);
function openTab(evt, tabName) {
// Declare all variables
var i, tabcontent, tablinks;
// Get all elements with class="tabcontent" and hide them
tabcontent = document.getElementsByClassName("tabcontent");
for (i = 0; i < tabcontent.length; i++) {
tabcontent[i].style.display = "none";
}
// Get all elements with class="tablinks" and remove the class "active"
tablinks = document.getElementsByClassName("tablinks");
for (i = 0; i < tablinks.length; i++) {
tablinks[i].className = tablinks[i].className.replace(" active", "");
}
// Show the current tab, and add an "active" class to the button that opened the tab
document.getElementById(tabName).style.display = "block";
evt.currentTarget.className += " active";
}
</script>
{: .gettingStarted}
Not sure how to get started? <a href="/#video-intro">Watch our Getting started video</a>
title: Global Registry of Scientific Collections #should not be translated
gettingStartedVideoTitle: Getting started?
institutionsInCountryTemplate: |
Institutions in <span id="users-country-name"></span>
description: A worldwide catalogue of scientific collections #a descripton for the head element
tagline: A worldwide catalogue of scientific collections
tabInstitutions: Institution name
tabSpecimens: Digitized specimens
placeholderInstitutions: Search institutions
placeholderSpecimens: Search for digitized specimens
background: "{{ site.data.images.calcinus.src }}"
imageLicense: "{{ site.data.images.calcinus.caption }}"
height: 85vh
composition:
-
type: heroImage #the block type
type: grscicollHeader #the block type
-
type: stats
data: navCards.stats
Expand Down
Loading

0 comments on commit 5ac648a

Please sign in to comment.