fix: marketplace translations

This commit is contained in:
alexsparkes
2022-08-29 21:07:52 +01:00
parent 12f8cf6a90
commit 8ca70e7895
15 changed files with 171 additions and 38 deletions

View File

@@ -48,7 +48,7 @@ export default function Items({
</div>
{collection.news === true ? (
<a className="nice-button" href={collection.news_link}>
Learn More <MdOutlineOpenInNew />
{variables.getMessage('modals.main.marketplace.learn_more')} <MdOutlineOpenInNew />
</a>
) : (
<button className="nice-button" onClick={() => collectionFunction(collection.name)}>
@@ -77,16 +77,16 @@ export default function Items({
<div className="showMoreItems">
{count !== items.length && items.length >= 8 ? (
<span className="link" onClick={incrementCount}>
<MdExpandMore /> Show More
<MdExpandMore /> {variables.getMessage('modals.main.marketplace.product.show_more')}
</span>
) : null}
{items.length <= 8 ? (
<span className="subtitle">
Showing {items.length} / {items.length}
{variables.getMessage('modals.main.marketplace.product.showing')} {items.length} / {items.length}
</span>
) : (
<span className="subtitle">
Showing {count} / {items.length}
{variables.getMessage('modals.main.marketplace.product.showing')} {count} / {items.length}
</span>
)}
</div>

View File

@@ -331,7 +331,7 @@ export default class Marketplace extends PureComponent {
<span className="backTitle">
{variables.getMessage('modals.main.navbar.marketplace')}
</span>
<MdOutlineKeyboardArrowRight /> Collection
<MdOutlineKeyboardArrowRight /> {variables.getMessage('modals.main.marketplace.collection')}
</span>
</div>
<div

View File

@@ -21,7 +21,7 @@ export default function Marketplace(props) {
>
<MarketplaceTab type="preset_settings" />
</div>
<div label={variables.getMessage('modals.main.marketplace.collection')} name="collections">
<div label={variables.getMessage('modals.main.marketplace.collections')} name="collections">
<MarketplaceTab type="collections" />
</div>
</Tabs>

View File

@@ -139,7 +139,7 @@ function Tab({ label, currentTab, onClick, navbarTab }) {
case variables.getMessage('modals.main.marketplace.preset_settings'):
icon = <Advanced />;
break;
case variables.getMessage('modals.main.marketplace.collection'):
case variables.getMessage('modals.main.marketplace.collections'):
icon = <Collections />;
break;

View File

@@ -235,7 +235,10 @@
"high": "Hohe Qualität",
"normal": "Normale Qualität",
"datasaver": "Datensparer"
}
},
"custom_title": "Custom Images",
"custom_description": "Select images from your local computer",
"remove": "Remove Image"
},
"display": "Display",
"display_subtitle": "Change how background and photo information are loaded",
@@ -287,7 +290,14 @@
"min_temp": "Mindesttemperatur",
"max_temp": "Höchsttemperatur",
"atmospheric_pressure": "Atmosphärischer Druck"
}
},
"options": {
"basic": "Basic",
"standard": "Standard",
"expanded": "Expanded",
"custom": "Custom"
},
"custom_settings": "Custom Settings"
},
"quicklinks": {
"title": "Quick Links",
@@ -481,12 +491,14 @@
},
"marketplace": {
"all": "All",
"learn_more": "Learn More",
"photo_packs": "Fotopakete",
"quote_packs": "Zitat-Pakete",
"preset_settings": "Voreingestellte Einstellungen",
"no_items": "Keine Einträge in dieser Kategorie",
"collection": "Collection",
"explore_collection": "Explore Collection",
"collection": "Collections",
"collections": "Collections",
"cant_find": "Can't find what you're looking for?",
"knowledgebase_one": "Visit the",
"knowledgebase_two": "knowledgebase",
@@ -498,6 +510,7 @@
"description": "Description",
"show_more": "Show More",
"show_less": "Show Less",
"showing": "Showing",
"no_images": "No. Images",
"no_quotes": "No. Quotes",
"version": "Version",

View File

@@ -489,12 +489,14 @@
},
"marketplace": {
"all": "All",
"learn_more": "Learn More",
"photo_packs": "Photo Packs",
"quote_packs": "Quote Packs",
"preset_settings": "Preset Settings",
"no_items": "No items in this category",
"collection": "Collection",
"explore_collection": "Explore Collection",
"collection": "Collections",
"collections": "Collections",
"cant_find": "Can't find what you're looking for?",
"knowledgebase_one": "Visit the",
"knowledgebase_two": "knowledgebase",
@@ -506,6 +508,7 @@
"description": "Description",
"show_more": "Show More",
"show_less": "Show Less",
"showing": "Showing",
"no_images": "No. Images",
"no_quotes": "No. Quotes",
"version": "Version",

View File

@@ -235,7 +235,10 @@
"high": "High Quality",
"normal": "Normal Quality",
"datasaver": "Data Saver"
}
},
"custom_title": "Custom Images",
"custom_description": "Select images from your local computer",
"remove": "Remove Image"
},
"display": "Display",
"display_subtitle": "Change how background and photo information are loaded",
@@ -287,7 +290,14 @@
"min_temp": "Minimum temperature",
"max_temp": "Maximum temperature",
"atmospheric_pressure": "Atmospheric pressure"
}
},
"options": {
"basic": "Basic",
"standard": "Standard",
"expanded": "Expanded",
"custom": "Custom"
},
"custom_settings": "Custom Settings"
},
"quicklinks": {
"title": "Quick Links",
@@ -480,12 +490,14 @@
},
"marketplace": {
"all": "All",
"learn_more": "Learn More",
"photo_packs": "Photo Packs",
"quote_packs": "Quote Packs",
"preset_settings": "Preset Settings",
"no_items": "No items in this category",
"collection": "Collection",
"explore_collection": "Explore Collection",
"collection": "Collections",
"collections": "Collections",
"cant_find": "Can't find what you're looking for?",
"knowledgebase_one": "Visit the",
"knowledgebase_two": "knowledgebase",
@@ -497,6 +509,7 @@
"description": "Description",
"show_more": "Show More",
"show_less": "Show Less",
"showing": "Showing",
"no_images": "No. Images",
"no_quotes": "No. Quotes",
"version": "Version",

View File

@@ -235,7 +235,10 @@
"high": "Calidad alta",
"normal": "Calidad normal",
"datasaver": "Ahorro de datos"
}
},
"custom_title": "Custom Images",
"custom_description": "Select images from your local computer",
"remove": "Remove Image"
},
"display": "Display",
"display_subtitle": "Change how background and photo information are loaded",
@@ -287,7 +290,14 @@
"min_temp": "Temperatura mínima",
"max_temp": "Temperatura máxima",
"atmospheric_pressure": "Presión atmosférica"
}
},
"options": {
"basic": "Basic",
"standard": "Standard",
"expanded": "Expanded",
"custom": "Custom"
},
"custom_settings": "Custom Settings"
},
"quicklinks": {
"title": "Enlaces rápidos",
@@ -480,12 +490,14 @@
},
"marketplace": {
"all": "All",
"learn_more": "Learn More",
"photo_packs": "Paquetes de fotos",
"quote_packs": "Paquetes de citas",
"preset_settings": "Ajustes preestablecidos",
"no_items": "No hay artículos en esta categoría",
"collection": "Collection",
"explore_collection": "Explore Collection",
"collection": "Collections",
"collections": "Collections",
"cant_find": "Can't find what you're looking for?",
"knowledgebase_one": "Visit the",
"knowledgebase_two": "knowledgebase",
@@ -497,6 +509,7 @@
"description": "Description",
"show_more": "Show More",
"show_less": "Show Less",
"showing": "Showing",
"no_images": "No. Images",
"no_quotes": "No. Quotes",
"version": "Versión",

View File

@@ -235,7 +235,10 @@
"high": "High Quality",
"normal": "Normal Quality",
"datasaver": "Data Saver"
}
},
"custom_title": "Custom Images",
"custom_description": "Select images from your local computer",
"remove": "Remove Image"
},
"display": "Display",
"display_subtitle": "Change how background and photo information are loaded",
@@ -287,7 +290,14 @@
"min_temp": "Température minimale",
"max_temp": "Température maximale",
"atmospheric_pressure": "Pression atmosphérique"
}
},
"options": {
"basic": "Basic",
"standard": "Standard",
"expanded": "Expanded",
"custom": "Custom"
},
"custom_settings": "Custom Settings"
},
"quicklinks": {
"title": "Liens rapides",
@@ -480,12 +490,14 @@
},
"marketplace": {
"all": "All",
"learn_more": "Learn More",
"photo_packs": "Packs Photos",
"quote_packs": "Packs Citations",
"preset_settings": "Paramètres prédéfinis",
"no_items": "Aucun article dans cette catégorie",
"collection": "Collection",
"explore_collection": "Explore Collection",
"collection": "Collections",
"collections": "Collections",
"cant_find": "Can't find what you're looking for?",
"knowledgebase_one": "Visit the",
"knowledgebase_two": "knowledgebase",
@@ -497,6 +509,7 @@
"description": "Description",
"show_more": "Show More",
"show_less": "Show Less",
"showing": "Showing",
"no_images": "No. Images",
"no_quotes": "No. Quotes",
"version": "Version",

View File

@@ -235,7 +235,10 @@
"high": "High Quality",
"normal": "Normal Quality",
"datasaver": "Data Saver"
}
},
"custom_title": "Custom Images",
"custom_description": "Select images from your local computer",
"remove": "Remove Image"
},
"display": "Display",
"display_subtitle": "Change how background and photo information are loaded",
@@ -287,7 +290,14 @@
"min_temp": "Temperatur minimal",
"max_temp": "Temperatur maksimal",
"atmospheric_pressure": "Tekanan atmosfer"
}
},
"options": {
"basic": "Basic",
"standard": "Standard",
"expanded": "Expanded",
"custom": "Custom"
},
"custom_settings": "Custom Settings"
},
"quicklinks": {
"title": "Pranala cepat",
@@ -480,12 +490,14 @@
},
"marketplace": {
"all": "All",
"learn_more": "Learn More",
"photo_packs": "Photo Packs",
"quote_packs": "Quote Packs",
"preset_settings": "Preset Settings",
"no_items": "Tidak ada item pada kategori ini",
"collection": "Collection",
"explore_collection": "Explore Collection",
"collection": "Collections",
"collections": "Collections",
"cant_find": "Can't find what you're looking for?",
"knowledgebase_one": "Visit the",
"knowledgebase_two": "knowledgebase",
@@ -497,6 +509,7 @@
"description": "Description",
"show_more": "Show More",
"show_less": "Show Less",
"showing": "Showing",
"no_images": "No. Images",
"no_quotes": "No. Quotes",
"version": "Versi",

View File

@@ -235,7 +235,10 @@
"high": "High Quality",
"normal": "Normal Quality",
"datasaver": "Data Saver"
}
},
"custom_title": "Custom Images",
"custom_description": "Select images from your local computer",
"remove": "Remove Image"
},
"display": "Display",
"display_subtitle": "Change how background and photo information are loaded",
@@ -287,7 +290,14 @@
"min_temp": "Minimum temperature",
"max_temp": "Maximum temperature",
"atmospheric_pressure": "Atmospheric pressure"
}
},
"options": {
"basic": "Basic",
"standard": "Standard",
"expanded": "Expanded",
"custom": "Custom"
},
"custom_settings": "Custom Settings"
},
"quicklinks": {
"title": "Quick Links",
@@ -480,12 +490,14 @@
},
"marketplace": {
"all": "All",
"learn_more": "Learn More",
"photo_packs": "Fotoverzamelingen",
"quote_packs": "Citaatverzamelingen",
"preset_settings": "Voorinstellingen",
"no_items": "No items in this category",
"collection": "Collection",
"explore_collection": "Explore Collection",
"collection": "Collections",
"collections": "Collections",
"cant_find": "Can't find what you're looking for?",
"knowledgebase_one": "Visit the",
"knowledgebase_two": "knowledgebase",
@@ -497,6 +509,7 @@
"description": "Description",
"show_more": "Show More",
"show_less": "Show Less",
"showing": "Showing",
"no_images": "No. Images",
"no_quotes": "No. Quotes",
"version": "Versie",

View File

@@ -235,7 +235,10 @@
"high": "High Quality",
"normal": "Normal Quality",
"datasaver": "Data Saver"
}
},
"custom_title": "Custom Images",
"custom_description": "Select images from your local computer",
"remove": "Remove Image"
},
"display": "Display",
"display_subtitle": "Change how background and photo information are loaded",
@@ -287,7 +290,14 @@
"min_temp": "Minimum temperature",
"max_temp": "Maximum temperature",
"atmospheric_pressure": "Atmospheric pressure"
}
},
"options": {
"basic": "Basic",
"standard": "Standard",
"expanded": "Expanded",
"custom": "Custom"
},
"custom_settings": "Custom Settings"
},
"quicklinks": {
"title": "Quick Links",
@@ -480,12 +490,14 @@
},
"marketplace": {
"all": "All",
"learn_more": "Learn More",
"photo_packs": "Bilde pakker",
"quote_packs": "Sitat pakker",
"preset_settings": "Preset instillinger",
"no_items": "No items in this category",
"collection": "Collection",
"explore_collection": "Explore Collection",
"collection": "Collections",
"collections": "Collections",
"cant_find": "Can't find what you're looking for?",
"knowledgebase_one": "Visit the",
"knowledgebase_two": "knowledgebase",
@@ -497,6 +509,7 @@
"description": "Description",
"show_more": "Show More",
"show_less": "Show Less",
"showing": "Showing",
"no_images": "No. Images",
"no_quotes": "No. Quotes",
"version": "Versjon",

View File

@@ -235,7 +235,10 @@
"high": "High Quality",
"normal": "Normal Quality",
"datasaver": "Data Saver"
}
},
"custom_title": "Custom Images",
"custom_description": "Select images from your local computer",
"remove": "Remove Image"
},
"display": "Display",
"display_subtitle": "Change how background and photo information are loaded",
@@ -287,7 +290,14 @@
"min_temp": "Minimum temperature",
"max_temp": "Maximum temperature",
"atmospheric_pressure": "Atmospheric pressure"
}
},
"options": {
"basic": "Basic",
"standard": "Standard",
"expanded": "Expanded",
"custom": "Custom"
},
"custom_settings": "Custom Settings"
},
"quicklinks": {
"title": "Quick Links",
@@ -480,12 +490,14 @@
},
"marketplace": {
"all": "All",
"learn_more": "Learn More",
"photo_packs": "Наборы фото",
"quote_packs": "Наборы цитат",
"preset_settings": "Пресеты настроек",
"no_items": "No items in this category",
"collection": "Collection",
"explore_collection": "Explore Collection",
"collection": "Collections",
"collections": "Collections",
"cant_find": "Can't find what you're looking for?",
"knowledgebase_one": "Visit the",
"knowledgebase_two": "knowledgebase",
@@ -497,6 +509,7 @@
"description": "Description",
"show_more": "Show More",
"show_less": "Show Less",
"showing": "Showing",
"no_images": "No. Images",
"no_quotes": "No. Quotes",
"version": "Версия",

View File

@@ -235,7 +235,10 @@
"high": "Yüksek Kalite",
"normal": "Normal Kalite",
"datasaver": "Veri Tasarrufu"
}
},
"custom_title": "Custom Images",
"custom_description": "Select images from your local computer",
"remove": "Remove Image"
},
"display": "Görüntüleme",
"display_subtitle": "Arka plan ve fotoğraf bilgilerinin nasıl yüklendiğini değiştirin.",
@@ -287,7 +290,14 @@
"min_temp": "Minimum Sıcaklık",
"max_temp": "Maksimum Sıcaklık",
"atmospheric_pressure": "Atmosferik Basınç"
}
},
"options": {
"basic": "Basic",
"standard": "Standard",
"expanded": "Expanded",
"custom": "Custom"
},
"custom_settings": "Custom Settings"
},
"quicklinks": {
"title": "Hızlı Linkler",
@@ -480,12 +490,14 @@
},
"marketplace": {
"all": "Tümü",
"learn_more": "Learn More",
"photo_packs": "Fotoğraf Paketleri",
"quote_packs": "Alıntı Paketleri",
"preset_settings": "Ön Ayar Ayarları",
"no_items": "Bu kategoride öğe yok",
"collection": "Collection",
"explore_collection": "Koleksiyonu Keşfedin",
"collection": "Collections",
"collections": "Collections",
"cant_find": "Aradığınızı bulamıyor musunuz?",
"knowledgebase_one": "Kendiniz oluşturmak için",
"knowledgebase_two": "bilgilendirme sayfamızı",
@@ -497,6 +509,7 @@
"description": "Açıklama/Tanım",
"show_more": "Daha fazla göster",
"show_less": "Daha az göster",
"showing": "Showing",
"no_images": "Fotoğraf bulunamadı",
"no_quotes": "Alıntı bulunamadı",
"version": "Versiyon",

View File

@@ -235,7 +235,10 @@
"high": "高画质",
"normal": "普通画质",
"datasaver": "省流模式"
}
},
"custom_title": "Custom Images",
"custom_description": "Select images from your local computer",
"remove": "Remove Image"
},
"display": "Display",
"display_subtitle": "Change how background and photo information are loaded",
@@ -287,7 +290,14 @@
"min_temp": "最低温度",
"max_temp": "最高温度",
"atmospheric_pressure": "大气压"
}
},
"options": {
"basic": "Basic",
"standard": "Standard",
"expanded": "Expanded",
"custom": "Custom"
},
"custom_settings": "Custom Settings"
},
"quicklinks": {
"title": "快捷方式",
@@ -480,12 +490,14 @@
},
"marketplace": {
"all": "All",
"learn_more": "Learn More",
"photo_packs": "图片包",
"quote_packs": "名言包",
"preset_settings": "预设设定",
"no_items": "本类别为空",
"collection": "Collection",
"explore_collection": "Explore Collection",
"collection": "Collections",
"collections": "Collections",
"cant_find": "Can't find what you're looking for?",
"knowledgebase_one": "Visit the",
"knowledgebase_two": "knowledgebase",
@@ -497,6 +509,7 @@
"description": "Description",
"show_more": "Show More",
"show_less": "Show Less",
"showing": "Showing",
"no_images": "No. Images",
"no_quotes": "No. Quotes",
"version": "版本",