diff --git a/src/content/content.ts b/src/content/content.ts index d5b8775..f486c98 100644 --- a/src/content/content.ts +++ b/src/content/content.ts @@ -403,10 +403,12 @@ async function inject() { const label = document.createElement("td"); label.colSpan = 2; label.style.fontSize = "85%"; + label.style.textAlign = "center"; const updateText = $T("Updated %@.", locale).replace('%@', updateTime.toLocaleString(locale, { year: 'numeric', month: 'long', day: 'numeric', hour: '2-digit', minute: '2-digit', timeZoneName: 'short' })) - const attributionText = $T("Trade prices sourced from %@. Currency conversions are approximate.", locale).replace('%@', 'prices.tf'); - const exchangeRateAttribution = `Rates By Exchange Rate API.`; - label.innerHTML = `${updateText}
${attributionText}
${exchangeRateAttribution}`; + const attributionHeader = $T("Acknowledgements"); + const pricesAttribution = `prices.tf`; + const exchangeRateAttribution = `Rates By Exchange Rate API`; + label.innerHTML = `${updateText}
${attributionHeader}
${pricesAttribution}
${exchangeRateAttribution}`; row.appendChild(label); priceProgressRow.insertAdjacentElement('afterend', row); diff --git a/src/strings/ar.js b/src/strings/ar.js index 485fd95..dc30ea5 100644 --- a/src/strings/ar.js +++ b/src/strings/ar.js @@ -6,7 +6,7 @@ module.exports = { "Community Pricing": "Community Pricing", // Itembox footer "Updated %@.": "Updated %@.", // %@ is a date string, sourced from AppleGlot - "Trade prices sourced from %@. Currency conversions are approximate.": "Trade prices sourced from %@. Currency conversions are approximate.", // %@ is always a URL, (eg. prices.tf) + "Acknowledgements": "Acknowledgements", // sourced from AppleGlot // Price strings "Data unavailable": "Data unavailable", // sourced from AppleGlot diff --git a/src/strings/cs.js b/src/strings/cs.js index 485fd95..dc30ea5 100644 --- a/src/strings/cs.js +++ b/src/strings/cs.js @@ -6,7 +6,7 @@ module.exports = { "Community Pricing": "Community Pricing", // Itembox footer "Updated %@.": "Updated %@.", // %@ is a date string, sourced from AppleGlot - "Trade prices sourced from %@. Currency conversions are approximate.": "Trade prices sourced from %@. Currency conversions are approximate.", // %@ is always a URL, (eg. prices.tf) + "Acknowledgements": "Acknowledgements", // sourced from AppleGlot // Price strings "Data unavailable": "Data unavailable", // sourced from AppleGlot diff --git a/src/strings/da.js b/src/strings/da.js index 485fd95..dc30ea5 100644 --- a/src/strings/da.js +++ b/src/strings/da.js @@ -6,7 +6,7 @@ module.exports = { "Community Pricing": "Community Pricing", // Itembox footer "Updated %@.": "Updated %@.", // %@ is a date string, sourced from AppleGlot - "Trade prices sourced from %@. Currency conversions are approximate.": "Trade prices sourced from %@. Currency conversions are approximate.", // %@ is always a URL, (eg. prices.tf) + "Acknowledgements": "Acknowledgements", // sourced from AppleGlot // Price strings "Data unavailable": "Data unavailable", // sourced from AppleGlot diff --git a/src/strings/de.js b/src/strings/de.js index 485fd95..dc30ea5 100644 --- a/src/strings/de.js +++ b/src/strings/de.js @@ -6,7 +6,7 @@ module.exports = { "Community Pricing": "Community Pricing", // Itembox footer "Updated %@.": "Updated %@.", // %@ is a date string, sourced from AppleGlot - "Trade prices sourced from %@. Currency conversions are approximate.": "Trade prices sourced from %@. Currency conversions are approximate.", // %@ is always a URL, (eg. prices.tf) + "Acknowledgements": "Acknowledgements", // sourced from AppleGlot // Price strings "Data unavailable": "Data unavailable", // sourced from AppleGlot diff --git a/src/strings/en.js b/src/strings/en.js index 485fd95..dc30ea5 100644 --- a/src/strings/en.js +++ b/src/strings/en.js @@ -6,7 +6,7 @@ module.exports = { "Community Pricing": "Community Pricing", // Itembox footer "Updated %@.": "Updated %@.", // %@ is a date string, sourced from AppleGlot - "Trade prices sourced from %@. Currency conversions are approximate.": "Trade prices sourced from %@. Currency conversions are approximate.", // %@ is always a URL, (eg. prices.tf) + "Acknowledgements": "Acknowledgements", // sourced from AppleGlot // Price strings "Data unavailable": "Data unavailable", // sourced from AppleGlot diff --git a/src/strings/es.js b/src/strings/es.js index 112bb59..0cd9a43 100644 --- a/src/strings/es.js +++ b/src/strings/es.js @@ -6,7 +6,7 @@ module.exports = { "Community Pricing": "Precios de la comunidad", // Itembox footer "Updated %@.": "Actualizado %@.", // %@ is a date string, sourced from AppleGlot - "Trade prices sourced from %@. Currency conversions are approximate.": "Precios comerciales obtenidos de %@. Las conversiones de divisas son aproximadas.", // %@ is always a URL, (eg. prices.tf) + "Acknowledgements": "Agradecimientos", // sourced from AppleGlot // Price strings "Data unavailable": "Datos no disponibles", // sourced from AppleGlot diff --git a/src/strings/fi.js b/src/strings/fi.js index 485fd95..dc30ea5 100644 --- a/src/strings/fi.js +++ b/src/strings/fi.js @@ -6,7 +6,7 @@ module.exports = { "Community Pricing": "Community Pricing", // Itembox footer "Updated %@.": "Updated %@.", // %@ is a date string, sourced from AppleGlot - "Trade prices sourced from %@. Currency conversions are approximate.": "Trade prices sourced from %@. Currency conversions are approximate.", // %@ is always a URL, (eg. prices.tf) + "Acknowledgements": "Acknowledgements", // sourced from AppleGlot // Price strings "Data unavailable": "Data unavailable", // sourced from AppleGlot diff --git a/src/strings/fr.js b/src/strings/fr.js index 485fd95..dc30ea5 100644 --- a/src/strings/fr.js +++ b/src/strings/fr.js @@ -6,7 +6,7 @@ module.exports = { "Community Pricing": "Community Pricing", // Itembox footer "Updated %@.": "Updated %@.", // %@ is a date string, sourced from AppleGlot - "Trade prices sourced from %@. Currency conversions are approximate.": "Trade prices sourced from %@. Currency conversions are approximate.", // %@ is always a URL, (eg. prices.tf) + "Acknowledgements": "Acknowledgements", // sourced from AppleGlot // Price strings "Data unavailable": "Data unavailable", // sourced from AppleGlot diff --git a/src/strings/hu.js b/src/strings/hu.js index 485fd95..dc30ea5 100644 --- a/src/strings/hu.js +++ b/src/strings/hu.js @@ -6,7 +6,7 @@ module.exports = { "Community Pricing": "Community Pricing", // Itembox footer "Updated %@.": "Updated %@.", // %@ is a date string, sourced from AppleGlot - "Trade prices sourced from %@. Currency conversions are approximate.": "Trade prices sourced from %@. Currency conversions are approximate.", // %@ is always a URL, (eg. prices.tf) + "Acknowledgements": "Acknowledgements", // sourced from AppleGlot // Price strings "Data unavailable": "Data unavailable", // sourced from AppleGlot diff --git a/src/strings/it.js b/src/strings/it.js index 4d070d7..734302e 100644 --- a/src/strings/it.js +++ b/src/strings/it.js @@ -6,7 +6,7 @@ module.exports = { "Community Pricing": "Prezzo Comunitario", // Itembox footer "Updated %@.": "Aggiornato il %@.", - "Trade prices sourced from %@. Currency conversions are approximate.": "Prezzi commerciali forniti da %@. Le conversioni valutarie sono approssimative.", // %@ is always a URL, (eg. prices.tf) + "Acknowledgements": "Note legali", // sourced from AppleGlot // Price strings "Data unavailable": "Data unavailable", // sourced from AppleGlot diff --git a/src/strings/ja.js b/src/strings/ja.js index 1fa3eab..ffcc18d 100644 --- a/src/strings/ja.js +++ b/src/strings/ja.js @@ -6,7 +6,7 @@ module.exports = { "Community Pricing": "共同体価格", // Itembox footer "Updated %@.": "アップデート: %@。", // %@ is a date string, sourced from AppleGlot - "Trade prices sourced from %@. Currency conversions are approximate.": "Trade prices sourced from %@. Currency conversions are approximate.", // %@ is always a URL, (eg. prices.tf) + "Acknowledgements": "謝辞", // sourced from AppleGlot // Price strings "Data unavailable": "データがありません", // sourced from AppleGlot diff --git a/src/strings/ko.js b/src/strings/ko.js index 485fd95..dc30ea5 100644 --- a/src/strings/ko.js +++ b/src/strings/ko.js @@ -6,7 +6,7 @@ module.exports = { "Community Pricing": "Community Pricing", // Itembox footer "Updated %@.": "Updated %@.", // %@ is a date string, sourced from AppleGlot - "Trade prices sourced from %@. Currency conversions are approximate.": "Trade prices sourced from %@. Currency conversions are approximate.", // %@ is always a URL, (eg. prices.tf) + "Acknowledgements": "Acknowledgements", // sourced from AppleGlot // Price strings "Data unavailable": "Data unavailable", // sourced from AppleGlot diff --git a/src/strings/nl.js b/src/strings/nl.js index 485fd95..dc30ea5 100644 --- a/src/strings/nl.js +++ b/src/strings/nl.js @@ -6,7 +6,7 @@ module.exports = { "Community Pricing": "Community Pricing", // Itembox footer "Updated %@.": "Updated %@.", // %@ is a date string, sourced from AppleGlot - "Trade prices sourced from %@. Currency conversions are approximate.": "Trade prices sourced from %@. Currency conversions are approximate.", // %@ is always a URL, (eg. prices.tf) + "Acknowledgements": "Acknowledgements", // sourced from AppleGlot // Price strings "Data unavailable": "Data unavailable", // sourced from AppleGlot diff --git a/src/strings/no.js b/src/strings/no.js index 485fd95..dc30ea5 100644 --- a/src/strings/no.js +++ b/src/strings/no.js @@ -6,7 +6,7 @@ module.exports = { "Community Pricing": "Community Pricing", // Itembox footer "Updated %@.": "Updated %@.", // %@ is a date string, sourced from AppleGlot - "Trade prices sourced from %@. Currency conversions are approximate.": "Trade prices sourced from %@. Currency conversions are approximate.", // %@ is always a URL, (eg. prices.tf) + "Acknowledgements": "Acknowledgements", // sourced from AppleGlot // Price strings "Data unavailable": "Data unavailable", // sourced from AppleGlot diff --git a/src/strings/pl.js b/src/strings/pl.js index 485fd95..dc30ea5 100644 --- a/src/strings/pl.js +++ b/src/strings/pl.js @@ -6,7 +6,7 @@ module.exports = { "Community Pricing": "Community Pricing", // Itembox footer "Updated %@.": "Updated %@.", // %@ is a date string, sourced from AppleGlot - "Trade prices sourced from %@. Currency conversions are approximate.": "Trade prices sourced from %@. Currency conversions are approximate.", // %@ is always a URL, (eg. prices.tf) + "Acknowledgements": "Acknowledgements", // sourced from AppleGlot // Price strings "Data unavailable": "Data unavailable", // sourced from AppleGlot diff --git a/src/strings/pt-BR.js b/src/strings/pt-BR.js index 485fd95..dc30ea5 100644 --- a/src/strings/pt-BR.js +++ b/src/strings/pt-BR.js @@ -6,7 +6,7 @@ module.exports = { "Community Pricing": "Community Pricing", // Itembox footer "Updated %@.": "Updated %@.", // %@ is a date string, sourced from AppleGlot - "Trade prices sourced from %@. Currency conversions are approximate.": "Trade prices sourced from %@. Currency conversions are approximate.", // %@ is always a URL, (eg. prices.tf) + "Acknowledgements": "Acknowledgements", // sourced from AppleGlot // Price strings "Data unavailable": "Data unavailable", // sourced from AppleGlot diff --git a/src/strings/pt.js b/src/strings/pt.js index 485fd95..dc30ea5 100644 --- a/src/strings/pt.js +++ b/src/strings/pt.js @@ -6,7 +6,7 @@ module.exports = { "Community Pricing": "Community Pricing", // Itembox footer "Updated %@.": "Updated %@.", // %@ is a date string, sourced from AppleGlot - "Trade prices sourced from %@. Currency conversions are approximate.": "Trade prices sourced from %@. Currency conversions are approximate.", // %@ is always a URL, (eg. prices.tf) + "Acknowledgements": "Acknowledgements", // sourced from AppleGlot // Price strings "Data unavailable": "Data unavailable", // sourced from AppleGlot diff --git a/src/strings/ro.js b/src/strings/ro.js index 485fd95..dc30ea5 100644 --- a/src/strings/ro.js +++ b/src/strings/ro.js @@ -6,7 +6,7 @@ module.exports = { "Community Pricing": "Community Pricing", // Itembox footer "Updated %@.": "Updated %@.", // %@ is a date string, sourced from AppleGlot - "Trade prices sourced from %@. Currency conversions are approximate.": "Trade prices sourced from %@. Currency conversions are approximate.", // %@ is always a URL, (eg. prices.tf) + "Acknowledgements": "Acknowledgements", // sourced from AppleGlot // Price strings "Data unavailable": "Data unavailable", // sourced from AppleGlot diff --git a/src/strings/ru.js b/src/strings/ru.js index f5b9a54..245f637 100644 --- a/src/strings/ru.js +++ b/src/strings/ru.js @@ -6,7 +6,7 @@ module.exports = { "Community Pricing": "Цены сообщества", // Itembox footer "Updated %@.": "Обновлено %@.", // %@ is a date string, sourced from AppleGlot - "Trade prices sourced from %@. Currency conversions are approximate.": "Цены на торговлю взяты с %@. Конвертация валюты приблизительна.", // %@ is always a URL, (eg. prices.tf) + "Acknowledgements": "Уведомления", // sourced from AppleGlot // Price strings "Data unavailable": "Данные недоступны", // sourced from AppleGlot diff --git a/src/strings/sv.js b/src/strings/sv.js index 485fd95..dc30ea5 100644 --- a/src/strings/sv.js +++ b/src/strings/sv.js @@ -6,7 +6,7 @@ module.exports = { "Community Pricing": "Community Pricing", // Itembox footer "Updated %@.": "Updated %@.", // %@ is a date string, sourced from AppleGlot - "Trade prices sourced from %@. Currency conversions are approximate.": "Trade prices sourced from %@. Currency conversions are approximate.", // %@ is always a URL, (eg. prices.tf) + "Acknowledgements": "Acknowledgements", // sourced from AppleGlot // Price strings "Data unavailable": "Data unavailable", // sourced from AppleGlot diff --git a/src/strings/tr.js b/src/strings/tr.js index 485fd95..dc30ea5 100644 --- a/src/strings/tr.js +++ b/src/strings/tr.js @@ -6,7 +6,7 @@ module.exports = { "Community Pricing": "Community Pricing", // Itembox footer "Updated %@.": "Updated %@.", // %@ is a date string, sourced from AppleGlot - "Trade prices sourced from %@. Currency conversions are approximate.": "Trade prices sourced from %@. Currency conversions are approximate.", // %@ is always a URL, (eg. prices.tf) + "Acknowledgements": "Acknowledgements", // sourced from AppleGlot // Price strings "Data unavailable": "Data unavailable", // sourced from AppleGlot diff --git a/src/strings/zh-Hans.js b/src/strings/zh-Hans.js index 485fd95..dc30ea5 100644 --- a/src/strings/zh-Hans.js +++ b/src/strings/zh-Hans.js @@ -6,7 +6,7 @@ module.exports = { "Community Pricing": "Community Pricing", // Itembox footer "Updated %@.": "Updated %@.", // %@ is a date string, sourced from AppleGlot - "Trade prices sourced from %@. Currency conversions are approximate.": "Trade prices sourced from %@. Currency conversions are approximate.", // %@ is always a URL, (eg. prices.tf) + "Acknowledgements": "Acknowledgements", // sourced from AppleGlot // Price strings "Data unavailable": "Data unavailable", // sourced from AppleGlot diff --git a/src/strings/zh-Hant.js b/src/strings/zh-Hant.js index 485fd95..dc30ea5 100644 --- a/src/strings/zh-Hant.js +++ b/src/strings/zh-Hant.js @@ -6,7 +6,7 @@ module.exports = { "Community Pricing": "Community Pricing", // Itembox footer "Updated %@.": "Updated %@.", // %@ is a date string, sourced from AppleGlot - "Trade prices sourced from %@. Currency conversions are approximate.": "Trade prices sourced from %@. Currency conversions are approximate.", // %@ is always a URL, (eg. prices.tf) + "Acknowledgements": "Acknowledgements", // sourced from AppleGlot // Price strings "Data unavailable": "Data unavailable", // sourced from AppleGlot