1
Fork 0
mirror of https://github.com/pds-nest/nest.git synced 2024-11-25 06:24:19 +00:00

🌍 Translated UI

This commit is contained in:
@uni-chiara 2021-05-22 11:13:46 +02:00
parent 7a6e72c830
commit 1f2006c079
3 changed files with 12 additions and 4 deletions

View file

@ -29,6 +29,8 @@ export default {
byHashtag: "hashtag",
byUser: "utente",
byTimePeriod: "arco di tempo",
byContents: "contenuti",
byHasPlace: "localizzazione attiva?",
timeBefore: "Prima",
timeAfter: "Dopo",
conditions: "Condizioni",
@ -99,6 +101,7 @@ export default {
imgTweetsPerc: "% di tweet con immagine",
postUniq: "Totale utenti che hanno postato",
postPop: "Utente più attivo",
filters: "Filtri",
},
// 🇬🇧
en: {
@ -119,6 +122,8 @@ export default {
byHashtag: "hashtag",
byUser: "user",
byTimePeriod: "time period",
byContents: "contents",
byHasPlace: "is localized?",
timeBefore: "Before",
timeAfter: "After",
conditions: "Conditions",
@ -189,6 +194,7 @@ export default {
imgTweetsPerc: "% of tweets with image",
postUniq: "Unique posters",
postPop: "Most active poster",
filters: "Filters",
},
// 🇫🇮
fi: {
@ -209,6 +215,8 @@ export default {
byHashtag: "hashtagin mukaan",
byUser: "käyttäjän mukaan",
byTimePeriod: "aikajakson mukaan",
byContents: "sisältö",
byHasPlace: "on paikallistettu?",
timeBefore: "Ennen",
timeAfter: "Jälkeen",
conditions: "Ehdot",
@ -279,5 +287,6 @@ export default {
imgTweetsPerc: "% twiiteistä, joissa on kuva",
postUniq: "Ainutkertaiset käyttäjät",
postPop: "Aktiivisimmat käyttäjät",
filters: "Suodattimet",
},
}

View file

@ -22,9 +22,9 @@ export default function BoxFilterHashtag({ ...props }) {
<span>
{strings.searchBy}
&nbsp;
<FontAwesomeIcon icon={faClock}/>
<FontAwesomeIcon icon={faHashtag}/>
&nbsp;
{strings.byTimePeriod}
{strings.byHashtag}
</span>
}
{...props}

View file

@ -18,9 +18,8 @@ export default function BoxFilters({ ...props }) {
const badges = filters.map((filter, pos) => <BadgeFilter key={pos} filter={filter}/>)
// TODO: localize this
return (
<BoxFull header={"Filters"} {...props}>
<BoxFull header={strings.filters} {...props}>
{badges}
</BoxFull>
)