mirror of
https://github.com/pds-nest/nest.git
synced 2024-11-21 20:44:18 +00:00
🌐 Add missing strings in italian
This commit is contained in:
parent
d395aa92f3
commit
6af52643d1
3 changed files with 5 additions and 3 deletions
|
@ -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",
|
||||||
|
|
|
@ -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 {
|
||||||
|
|
|
@ -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;
|
||||||
}
|
}
|
Loading…
Reference in a new issue