1
Fork 0
mirror of https://github.com/pds-nest/nest.git synced 2024-10-16 20:17:25 +00:00

🌐 Add missing strings in italian

This commit is contained in:
Steffo 2021-05-23 16:04:31 +02:00
parent d395aa92f3
commit 6af52643d1
Signed by: steffo
GPG key ID: 6965406171929D01
3 changed files with 5 additions and 3 deletions

View file

@ -29,9 +29,11 @@ export default {
byHashtag: "hashtag", byHashtag: "hashtag",
byUser: "utente", byUser: "utente",
byHasImage: "immagine", byHasImage: "immagine",
hasImageExplaination: "Mostra solo i tweet con immagine.",
byTimePeriod: "arco di tempo", byTimePeriod: "arco di tempo",
byContents: "contenuti", byContents: "contenuti",
byHasPlace: "punto di interesse", byHasPlace: "punto di interesse",
hasPlaceExplaination: "Mostra solo i tweet a cui è associato un PoI.",
timeBefore: "Prima", timeBefore: "Prima",
timeAfter: "Dopo", timeAfter: "Dopo",
conditions: "Condizioni", conditions: "Condizioni",

View file

@ -27,7 +27,7 @@ export default function GlobalLanguage({ children }) {
} }
else if(defaultStrings.hasOwnProperty(name)) { else if(defaultStrings.hasOwnProperty(name)) {
console.warn("Missing ", lang, " localization for string ", name) console.warn("Missing ", lang, " localization for string ", name)
return <i className={Style.MissingLocalization} title={name}>{defaultStrings[name]}</i> return <span className={Style.MissingLocalization} title={name}>{defaultStrings[name]}</span>
} }
else { else {

View file

@ -1,12 +1,12 @@
.MissingLocalization { .MissingLocalization {
background-color: darkorange; background-color: darkorange;
color: white; color: black;
cursor: help; cursor: help;
} }
.MissingString { .MissingString {
background-color: red; background-color: red;
color: white; color: black;
font-weight: bold; font-weight: bold;
cursor: help; cursor: help;
} }