Skip to content

Commit

Permalink
Fix misspelled string
Browse files Browse the repository at this point in the history
  • Loading branch information
majakomel committed Sep 22, 2024
1 parent ff9b7ea commit 85d17e9
Show file tree
Hide file tree
Showing 17 changed files with 46 additions and 42 deletions.
4 changes: 2 additions & 2 deletions public/static/lang/ar.json
Original file line number Diff line number Diff line change
Expand Up @@ -510,8 +510,8 @@
"Error.404.PageNotFound": "الصفحة غير موجودة",
"Error.404.GoBack": "العودة",
"Error.404.Heading": "الصفحة المطلوبة غير موجودة",
"Error.404.Message": "لم نعثر على المحتوى الذي تبحث عنه. يمكنك محاولة {measurmentLink} أو الاطلاع على {homePageLink}.",
"Error.404.MeasurmentLinkText": "تصفُّح بعض القياسات",
"Error.404.Message": "لم نعثر على المحتوى الذي تبحث عنه. يمكنك محاولة {measurementLink} أو الاطلاع على {homePageLink}.",
"Error.404.MeasurementLinkText": "تصفُّح بعض القياسات",
"Error.404.HomepageLinkText": "الصفحة الرئيسة",
"MAT.Title": "مجموعة أدوات OONI لتجميع القياسات (MAT, Measurement Aggregation Toolkit)",
"MAT.SubTitle": "إنشاء رسوم بيانية استنادا إلى العرض الشامل لبيانات OONI في الوقت الفعلي من جميع أنحاء العالم.",
Expand Down
2 changes: 1 addition & 1 deletion public/static/lang/de.json
Original file line number Diff line number Diff line change
Expand Up @@ -511,7 +511,7 @@
"Error.404.GoBack": "Zurückgehen",
"Error.404.Heading": "Die angeforderte Seite existiert nicht",
"Error.404.Message": "Wir konnten den von dir gesuchten Inhalt nicht finden. Versuche es vielleicht mit {measurementLink} oder schau dir {homePageLink} an.",
"Error.404.MeasurmentLinkText": "erforschung einiger Messungen",
"Error.404.MeasurementLinkText": "erforschung einiger Messungen",
"Error.404.HomepageLinkText": "die Homepage",
"MAT.Title": "OONI Measurement Aggregation Toolkit (MAT)",
"MAT.SubTitle": "Erstelle Diagramme auf der Grundlage aggregierter Ansichten von OONI-Echtzeitdaten aus aller Welt",
Expand Down
9 changes: 7 additions & 2 deletions public/static/lang/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -510,8 +510,8 @@
"Error.404.PageNotFound": "Page Not Found",
"Error.404.GoBack": "Go back",
"Error.404.Heading": "The requested page does not exist",
"Error.404.Message": "We could not find the content you were looking for. Maybe try {measurmentLink} or look at {homePageLink}.",
"Error.404.MeasurmentLinkText": "exploring some measurement",
"Error.404.Message": "We could not find the content you were looking for. Maybe try {measurementLink} or look at {homePageLink}.",
"Error.404.MeasurementLinkText": "exploring some measurement",
"Error.404.HomepageLinkText": "the homepage",
"MAT.Title": "OONI Measurement Aggregation Toolkit (MAT)",
"MAT.SubTitle": "Create charts based on aggregate views of real-time OONI data from around the world",
Expand Down Expand Up @@ -659,6 +659,11 @@
"Findings.Form.Author.Label": "Author*",
"Findings.Form.EmailAddress.Label": "Email Address*",
"Findings.Form.Published.Label": "Published",
"Findings.Form.Themes.Label": "Themes",
"Findings.Themes.Options.SocialMedia": "Social Media",
"Findings.Themes.Options.IM": "Instant Messaging Apps",
"Findings.Themes.Options.NewsMedia": "News Media",
"Findings.Themes.Options.HumanRights": "Human Rights",
"Findings.LoginRequiredModal.Title": "Email address is missing. Please log in again to be able to create a censorship finding.",
"Findings.Display.NotFound": "Censorship Finding not found",
"Findings.Display.CreatedByOn": "published by {reportedBy} on {formattedDate}",
Expand Down
4 changes: 2 additions & 2 deletions public/static/lang/es.json
Original file line number Diff line number Diff line change
Expand Up @@ -510,8 +510,8 @@
"Error.404.PageNotFound": "Página no encontrada",
"Error.404.GoBack": "Ir hacia atrás",
"Error.404.Heading": "La página solicitada no existe.",
"Error.404.Message": "No pudimos encontrar el contenido que está buscando. Intente tal vez con {measurmentLink} o lea {homePageLink}.",
"Error.404.MeasurmentLinkText": "explorando algunas mediciones",
"Error.404.Message": "No pudimos encontrar el contenido que está buscando. Intente tal vez con {measurementLink} o lea {homePageLink}.",
"Error.404.MeasurementLinkText": "explorando algunas mediciones",
"Error.404.HomepageLinkText": "La página de inicio",
"MAT.Title": "Conjunto de herramientas para agregar medidas OONI (MAT)",
"MAT.SubTitle": "Crear gráficos basados en vistas agregadas de datos OONI en tiempo real de todo el mundo\n\n",
Expand Down
4 changes: 2 additions & 2 deletions public/static/lang/fa.json
Original file line number Diff line number Diff line change
Expand Up @@ -502,8 +502,8 @@
"Error.404.PageNotFound": "صفحه یافت نشد",
"Error.404.GoBack": "برگشت به عقب",
"Error.404.Heading": "صفحه درخواستی وجود ندارد",
"Error.404.Message": "ما نتوانستیم محتوای مورد نظر شما را پیدا کنیم. {measurmentLink} را امتحان کنید یا به {homePageLink} نگاه کنید.",
"Error.404.MeasurmentLinkText": "بررسی اندازه‌گیری‌ها",
"Error.404.Message": "ما نتوانستیم محتوای مورد نظر شما را پیدا کنیم. {measurementLink} را امتحان کنید یا به {homePageLink} نگاه کنید.",
"Error.404.MeasurementLinkText": "بررسی اندازه‌گیری‌ها",
"Error.404.HomepageLinkText": "صفحه خانه",
"MAT.Title": "کیت ابزار اندازه‌گیری تجمعی OONI (MAT)",
"MAT.SubTitle": "نمودارهایی را بر اساس نماهای جمعی داده‌های در لحظه OONI از سراسر جهان ایجاد کنید",
Expand Down
4 changes: 2 additions & 2 deletions public/static/lang/fr.json
Original file line number Diff line number Diff line change
Expand Up @@ -503,8 +503,8 @@
"Error.404.PageNotFound": "La page est introuvable",
"Error.404.GoBack": "Retour",
"Error.404.Heading": "La page demandée n’existe pas",
"Error.404.Message": "Nous n’avons pas pu trouver le contenu que vous cherchiez. Essayez peut-être {measurmentLink} ou visitez {homePageLink}.",
"Error.404.MeasurmentLinkText": "d’explorer des mesures",
"Error.404.Message": "Nous n’avons pas pu trouver le contenu que vous cherchiez. Essayez peut-être {measurementLink} ou visitez {homePageLink}.",
"Error.404.MeasurementLinkText": "d’explorer des mesures",
"Error.404.HomepageLinkText": "la page d’accueil",
"MAT.Title": "Boîte à outils d’agrégation des mesures OONI (BAM)",
"MAT.SubTitle": "Créer des graphiques fondés sur des vues agrégées de données OONI en temps réel provenant du monde entier",
Expand Down
4 changes: 2 additions & 2 deletions public/static/lang/my.json
Original file line number Diff line number Diff line change
Expand Up @@ -510,8 +510,8 @@
"Error.404.PageNotFound": "စာမျက်နှာကို ရှာမတွေ့ပါ။",
"Error.404.GoBack": "နောက်သို့",
"Error.404.Heading": "တောင်းခံထားသည့် စာမျက်နှာ မတည်ရှိပါ။",
"Error.404.Message": "သင်ရှာဖွေနေသည့် အကြောင်းအရာကို ကျွန်ုပ်တို့ ရှာမတွေ့ပါ။ {measurmentLink}ကို စမ်းကြည့်ပါ သို့မဟုတ် {homePageLink}တွင် ကြည့်ပါ။",
"Error.404.MeasurmentLinkText": "အချို့သောတိုင်းတာမှုကို စူးစမ်းရှာဖွေပါ။",
"Error.404.Message": "သင်ရှာဖွေနေသည့် အကြောင်းအရာကို ကျွန်ုပ်တို့ ရှာမတွေ့ပါ။ {measurementLink}ကို စမ်းကြည့်ပါ သို့မဟုတ် {homePageLink}တွင် ကြည့်ပါ။",
"Error.404.MeasurementLinkText": "အချို့သောတိုင်းတာမှုကို စူးစမ်းရှာဖွေပါ။",
"Error.404.HomepageLinkText": "ပင်မစာမျက်နှာ",
"MAT.Title": "OONIတိုင်းတာမှု စုစည်းမှု ကိရိယာအစုံ (MAT)",
"MAT.SubTitle": "ကမ္ဘာတစ်ဝှမ်းမှ အချိန်နှင့်တစ်ပြေးညီဖြစ်သော OONIအချက်အလက်များ၏ စုစည်းကြည့်ရှုမှုများအပေါ် အခြေခံ၍ ဇယားများကို ဖန်တီးပါ။",
Expand Down
4 changes: 2 additions & 2 deletions public/static/lang/pt-BR.json
Original file line number Diff line number Diff line change
Expand Up @@ -510,8 +510,8 @@
"Error.404.PageNotFound": "Página Não Encontrada",
"Error.404.GoBack": "Voltar",
"Error.404.Heading": "A página requisitada não existe",
"Error.404.Message": "Não conseguimos encontrar o conteúdo requisitado. Tente aqui {measurmentLink} ou olhe por aqui {homePageLink}.",
"Error.404.MeasurmentLinkText": "explorando medições",
"Error.404.Message": "Não conseguimos encontrar o conteúdo requisitado. Tente aqui {measurementLink} ou olhe por aqui {homePageLink}.",
"Error.404.MeasurementLinkText": "explorando medições",
"Error.404.HomepageLinkText": "a página inicial",
"MAT.Title": "Kit de ferramentas de agregação de medição OONI (MAT)",
"MAT.SubTitle": "Crie gráficos com base em visualizações agregadas de dados OONI em tempo real de todo o mundo",
Expand Down
4 changes: 2 additions & 2 deletions public/static/lang/ru.json
Original file line number Diff line number Diff line change
Expand Up @@ -510,8 +510,8 @@
"Error.404.PageNotFound": "Страница не найдена",
"Error.404.GoBack": "Назад",
"Error.404.Heading": "Запрашиваемая страница не существует",
"Error.404.Message": "Мы не смогли найти то что вы искали. Можно попробовать {measurmentLink} или посмотреть {homePageLink}.",
"Error.404.MeasurmentLinkText": "изучаем некоторые измерения",
"Error.404.Message": "Мы не смогли найти то что вы искали. Можно попробовать {measurementLink} или посмотреть {homePageLink}.",
"Error.404.MeasurementLinkText": "изучаем некоторые измерения",
"Error.404.HomepageLinkText": "домашняя страница",
"MAT.Title": "OONI инструмент для агрегации измерений (MAT)",
"MAT.SubTitle": "Создание графиков на основе агрегированных данных OONI со всего мира в режиме реального времени",
Expand Down
4 changes: 2 additions & 2 deletions public/static/lang/sw.json
Original file line number Diff line number Diff line change
Expand Up @@ -510,8 +510,8 @@
"Error.404.PageNotFound": "Kurasa haipatikani",
"Error.404.GoBack": "Rudi nyuma",
"Error.404.Heading": "Kurasa iliyoombwa haipo",
"Error.404.Message": "Hatukuweza kupata maudhui unayohitaji. Jaribu {measurmentLink} au angalia katika {homePageLink}.",
"Error.404.MeasurmentLinkText": "Chunguza baadhi ya vipimo",
"Error.404.Message": "Hatukuweza kupata maudhui unayohitaji. Jaribu {measurementLink} au angalia katika {homePageLink}.",
"Error.404.MeasurementLinkText": "Chunguza baadhi ya vipimo",
"Error.404.HomepageLinkText": "Kurasa kuu",
"MAT.Title": "OONI Measurement Aggregation Toolkit (MAT)",
"MAT.SubTitle": "Tengeneza takwimu kuhusiana na jumla ya watu walioangalia data za OONI kwa wakati huohuo duniani kote",
Expand Down
4 changes: 2 additions & 2 deletions public/static/lang/th.json
Original file line number Diff line number Diff line change
Expand Up @@ -510,8 +510,8 @@
"Error.404.PageNotFound": "ไม่พบหน้า",
"Error.404.GoBack": "ย้อนกลับ",
"Error.404.Heading": "หน้าที่ถูกเรียกขอไม่มีอยู่",
"Error.404.Message": "เราไม่พบเนื้อหาที่คุณกำลังมองหา ลองดู {measurmentLink} หรือดูที่ {homePageLink}",
"Error.404.MeasurmentLinkText": "สำรวจผลตรวจวัดเพิ่มเติม",
"Error.404.Message": "เราไม่พบเนื้อหาที่คุณกำลังมองหา ลองดู {measurementLink} หรือดูที่ {homePageLink}",
"Error.404.MeasurementLinkText": "สำรวจผลตรวจวัดเพิ่มเติม",
"Error.404.HomepageLinkText": "หน้าหลัก",
"MAT.Title": "ชุดเครื่องมือรวมการตรวจวัด OONI (MAT)",
"MAT.SubTitle": "สร้างแผนภูมิที่ใช้มุมมองรวมของข้อมูล OONI ตามเวลาจริงจากรอบโลก",
Expand Down
4 changes: 2 additions & 2 deletions public/static/lang/tr.json
Original file line number Diff line number Diff line change
Expand Up @@ -510,8 +510,8 @@
"Error.404.PageNotFound": "Sayfa bulunamadı",
"Error.404.GoBack": "Geri dön",
"Error.404.Heading": "İstenilen sayfa bulunamadı",
"Error.404.Message": "Aradığınız içeriği bulamadık. {measurmentLink} bağlantısına bakabilir ya da {homePageLink}ya dönebilirsiniz .",
"Error.404.MeasurmentLinkText": "başka ölçümleri keşfetme",
"Error.404.Message": "Aradığınız içeriği bulamadık. {measurementLink} bağlantısına bakabilir ya da {homePageLink}ya dönebilirsiniz .",
"Error.404.MeasurementLinkText": "başka ölçümleri keşfetme",
"Error.404.HomepageLinkText": "ana sayfa",
"MAT.Title": "OONI ölçüm toplama araçları (MAT)",
"MAT.SubTitle": "Tüm Dünya'dan derlenen gerçek zamanlı OONI verileri ile çizelgeler oluşturur",
Expand Down
1 change: 0 additions & 1 deletion public/static/lang/translations.js

This file was deleted.

4 changes: 2 additions & 2 deletions public/static/lang/vi.json
Original file line number Diff line number Diff line change
Expand Up @@ -510,8 +510,8 @@
"Error.404.PageNotFound": "Không Tìm thấy Trang",
"Error.404.GoBack": "Quay lại",
"Error.404.Heading": "Trang yêu cầu không có",
"Error.404.Message": "Chúng tôi không tìm được nội dung bạn muốn tìm kiếm. Có thể thử {measurmentLink} hoặc xem {homePageLink}.",
"Error.404.MeasurmentLinkText": "xem xét một số đo lường",
"Error.404.Message": "Chúng tôi không tìm được nội dung bạn muốn tìm kiếm. Có thể thử {measurementLink} hoặc xem {homePageLink}.",
"Error.404.MeasurementLinkText": "xem xét một số đo lường",
"Error.404.HomepageLinkText": "trang nhà",
"MAT.Title": "Công Cụ Tập Hợp các Đo Lường (MAT) của OONI",
"MAT.SubTitle": "Tạo ra biểu đồ dựa vào tổng hợp dữ liệu thời gian thực của OONI trên thế giới",
Expand Down
4 changes: 2 additions & 2 deletions public/static/lang/zh-CN.json
Original file line number Diff line number Diff line change
Expand Up @@ -510,8 +510,8 @@
"Error.404.PageNotFound": "页面未找到",
"Error.404.GoBack": "返回",
"Error.404.Heading": "请求的页面不存在。",
"Error.404.Message": "找不到您所查找的内容。或许可以尝试{measurmentLink},或返回{homePageLink}。",
"Error.404.MeasurmentLinkText": "浏览一些测量数据",
"Error.404.Message": "找不到您所查找的内容。或许可以尝试{measurementLink},或返回{homePageLink}。",
"Error.404.MeasurementLinkText": "浏览一些测量数据",
"Error.404.HomepageLinkText": "主页",
"MAT.Title": "OONI 测量聚合工具包(MAT)",
"MAT.SubTitle": "生成基于全世界 OONI 实时数据汇总视图的图表",
Expand Down
4 changes: 2 additions & 2 deletions public/static/lang/zh-Hant.json
Original file line number Diff line number Diff line change
Expand Up @@ -510,8 +510,8 @@
"Error.404.PageNotFound": "頁面未找到",
"Error.404.GoBack": "返回",
"Error.404.Heading": "請求的頁面不存在。",
"Error.404.Message": "找不到您所查詢的內容。或許可以嘗試{measurmentLink},或返回{homePageLink}。",
"Error.404.MeasurmentLinkText": "瀏覽一些測量資料",
"Error.404.Message": "找不到您所查詢的內容。或許可以嘗試{measurementLink},或返回{homePageLink}。",
"Error.404.MeasurementLinkText": "瀏覽一些測量資料",
"Error.404.HomepageLinkText": "主頁",
"MAT.Title": "OONI 測量聚合工具包(MAT)",
"MAT.SubTitle": "產生基於全球 OONI 即時資料彙總檢視的圖表",
Expand Down
24 changes: 12 additions & 12 deletions scripts/build-translations.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,16 +21,16 @@ supportedLanguages.forEach((lang) => {
})

// Build the locale files to be sent to the browser
const translationsMap = supportedLanguages.reduce((t, lang) => {
const formattedLang = lang.replace('_', '-')
t[formattedLang] = JSON.parse(
readFileSync(`${LANG_DIR}/${formattedLang}.json`)
)
return t
}, {})
// const translationsMap = supportedLanguages.reduce((t, lang) => {
// const formattedLang = lang.replace('_', '-')
// t[formattedLang] = JSON.parse(
// readFileSync(`${LANG_DIR}/${formattedLang}.json`)
// )
// return t
// }, {})

const translationsContent = `window.OONITranslations = ${JSON.stringify(
translationsMap
)}`
writeFileSync(`${LANG_DIR}/translations.js`, translationsContent)
console.log(`> Wrote translations to: ${LANG_DIR}/translations.js`)
// const translationsContent = `window.OONITranslations = ${JSON.stringify(
// translationsMap
// )}`
// writeFileSync(`${LANG_DIR}/translations.js`, translationsContent)
// console.log(`> Wrote translations to: ${LANG_DIR}/translations.js`)

0 comments on commit 85d17e9

Please sign in to comment.