From bb7e7ecad6abdb66e84e205dae746433648962f6 Mon Sep 17 00:00:00 2001 From: Mazeyar Moeini Feizabadi Date: Tue, 10 Nov 2026 21:33:01 +0100 Subject: [PATCH] fix(news): Hebrew strings for the News layer and the gate modules in the news boundary main added the he locale and the news provider now imports the same-site gate. Co-Authored-By: Claude Fable 5.2 --- scripts/package-boundaries.json | 2 + src/i18n/locales/he.json | 114 ++++++++++++++++++++++++++++++-- 2 files changed, 112 insertions(+), 4 deletions(-) diff --git a/scripts/package-boundaries.json b/scripts/package-boundaries.json index b5665b88a..8bdaedcfd 100644 --- a/scripts/package-boundaries.json +++ b/scripts/package-boundaries.json @@ -543,6 +543,7 @@ "server/providers/news/gdeltEvents.js", "server/providers/news/upstream.js", "server/providers/common/http.js", + "server/providers/common/same-site.js", "src/data/adminBoundaries.js", "src/data/bundledJson.js", "src/data/retryableLoad.js", @@ -550,6 +551,7 @@ "src/data/local_data/natural_earth/disputed_areas.json", "src/layers/news/source.js", "src/layers/news/records.js", + "src/localRequestGate.mjs", "src/sources/httpBody.js", "src/sources/capability.js", "src/i18n/marker.js" diff --git a/src/i18n/locales/he.json b/src/i18n/locales/he.json index a4e0408dd..15e0b2673 100644 --- a/src/i18n/locales/he.json +++ b/src/i18n/locales/he.json @@ -1644,7 +1644,6 @@ "SOURCE-BACKED EVENTS · NO SYNTHETIC NEWS": "אירועים נתמכי מקור · ללא חדשות סינתטיות", "REGIONAL NEWS": "חדשות אזוריות", "LATEST LOCATION-MATCHED REPORTING": "הדיווחים תואמי המיקום האחרונים", - "{source} · LOCATION QUERY · RECENT": "{source} · שאילתת מיקום · אחרונים", "LOCAL INFO": "מידע מקומי", "PLACE / CONDITIONS / POSITION": "מקום / מצב / עמדה", "Stop automatic page cycling. Previous, Next, and the SIG/NEWS/LOCAL tabs stay available.": "הפסק את מחזור העמודים האוטומטי. הקודם, הבא והלשוניות אותות/חדשות/מקומי נשארים זמינים.", @@ -1667,12 +1666,10 @@ "CYCLE ON": "מחזור פעיל", "REGIONAL NEWS UNAVAILABLE": "חדשות אזוריות אינן זמינות", "REGION UNAVAILABLE": "אזור אינו זמין", - "NO RECENT LOCATION MATCHES": "אין התאמות מיקום אחרונות", "{domain} · {age}": "{domain} · {age}", "{value} KM/H": "{value} קמ\"ש", "CLOUD {pct}%": "עננות {pct}%", "CLOUD UNKNOWN": "עננות לא ידועה", - "{source} · LOCATION QUERY": "{source} · שאילתת מיקום", "{label} · {radius} AIR/SEA WINDOW": "{label} · חלון אוויר/ים {radius}", "{scope} · INSTALLATIONS {coverage}": "{scope} · מתקנים {coverage}", "MILITARY FEED OFF · PARTIAL PICTURE": "פיד צבאי כבוי · תמונה חלקית", @@ -3391,5 +3388,114 @@ "one": "אין עדיין שיתוף אופניים כאן · {n} מערכת זמינה", "two": "אין עדיין שיתוף אופניים כאן · {n} מערכות זמינות", "other": "אין עדיין שיתוף אופניים כאן · {n} מערכות זמינות" - } + }, + "Precise conflict points in the News layer, beside GDELT’s articles": "נקודות עימות מדויקות בשכבת החדשות, לצד הכתבות של GDELT", + "Local in the News layer: the day’s news from the outlets of the country in view": "מקומי בשכבת החדשות: חדשות היום מכלי התקשורת של המדינה שבתצוגה", + "News feed unavailable": "פיד החדשות אינו זמין", + "{provider} limit reached for today": "המכסה היומית של {provider} נוצלה", + "News resumes tomorrow, or with a paid plan": "החדשות יחזרו מחר, או עם תוכנית בתשלום", + "{provider} refused its key": "{provider} דחה את המפתח", + "Check {envVars} in Provider Settings": "בדקו את {envVars} בהגדרות הספקים", + "{provider} key required": "נדרש מפתח של {provider}", + "Developing: {name}": "מתפתח: {name}", + "{count} events today": { + "one": "אירוע {count} היום", + "two": "{count} אירועים היום", + "other": "{count} אירועים היום" + }, + "{count} reports today": { + "one": "דיווח {count} היום", + "two": "{count} דיווחים היום", + "other": "{count} דיווחים היום" + }, + "Last 24 h of news. Each report links to its publisher; places and categories are read from the text and data automatically and can be wrong. Side labels, where shown, describe the source, not whether a report is true.": "חדשות 24 השעות האחרונות. כל דיווח מקשר למפרסם שלו; מקומות וקטגוריות נקראים אוטומטית מהטקסט ומהנתונים ועלולים להיות שגויים. תוויות הצד, כשהן מוצגות, מתארות את המקור ולא אם הדיווח נכון.", + "Disputed: {name}": "שטח במחלוקת: {name}", + "via {source}": "דרך {source}", + "Video": "וידאו", + "Photos": "תמונות", + "Claimed by {who}": "נטען על ידי {who}", + "Claimed": "נטען", + "Not yet confirmed by others": "טרם אושר על ידי אחרים", + "Reported by {side} sources": "דווח על ידי מקורות {side}", + "Reported by {sides}": "דווח על ידי {sides}", + "{side} sources": "מקורות {side}", + "Official": "רשמי", + "Reported by both sides": "דווח על ידי שני הצדדים", + "Independently reported": "דווח באופן עצמאי", + "Single source": "מקור יחיד", + "International": "בינלאומי", + "Independent": "עצמאי", + "Unattributed": "ללא ייחוס", + "Outside party": "צד חיצוני", + "Ukraine–Russia": "אוקראינה–רוסיה", + "Israel–Gaza–Lebanon": "ישראל–עזה–לבנון", + "Iran–Hormuz": "איראן–הורמוז", + "Yemen–Red Sea": "תימן–הים האדום", + "Sudan": "סודאן", + "Sahel": "סאהל", + "Elsewhere": "במקומות אחרים", + "Worldwide": "כל העולם", + "{region}, {country}": "{region}, {country}", + "Strike": "תקיפה", + "Alert": "התרעה", + "Air defence": "הגנה אווירית", + "Ground fighting": "לחימה קרקעית", + "Casualties": "נפגעים", + "Humanitarian": "הומניטרי", + "Disaster": "אסון", + "Protest": "מחאה", + "Political": "פוליטי", + "Economy": "כלכלה", + "No physical event": "ללא אירוע פיזי", + "Minor incident": "תקרית קלה", + "Significant": "משמעותי", + "Major": "חמור", + "age|now": "עכשיו", + "{minutes} min": "{minutes} דק׳", + "{hours} h": "{hours} שע׳", + "{count} sources": { + "one": "מקור {count}", + "two": "{count} מקורות", + "other": "{count} מקורות" + }, + "News key required": "נדרש מפתח חדשות", + "News feed not configured on this server": "פיד החדשות אינו מוגדר בשרת זה", + "Malformed news hotspots response": "תגובת מוקדי החדשות פגומה", + "Malformed news feed response": "תגובת פיד החדשות פגומה", + "Exit cockpit to fly to a news report": "צאו מתא הטייס כדי לטוס אל דיווח חדשותי", + "{source} · LAST {hours} H": "{source} · {hours} השעות האחרונות", + "CACHED · REFRESH FAILED": "מהמטמון · הרענון נכשל", + "{source} · CACHED {age}": "{source} · מהמטמון {age}", + "NO NEWS IN THE LAST {hours} H": "אין חדשות ב־{hours} השעות האחרונות", + "{place} (placed by model)": "{place} (מוקם על ידי המודל)", + "English headline by the model": "כותרת באנגלית מאת המודל", + "Not placed on the map": "לא מוקם על המפה", + "Close": "סגירה", + "Conflicts": "עימותים", + "Local": "מקומי", + "Any severity": "כל חומרה", + "{severity} and above": "{severity} ומעלה", + "{severity} only": "{severity} בלבד", + "All categories": "כל הקטגוריות", + "Last {hours} h": "{hours} שע׳ אחרונות", + "News from {area}": "חדשות מ{area}", + "Within {km} km of the view centre": "בטווח {km} ק״מ ממרכז התצוגה", + "Reading the news…": "קורא את החדשות…", + "News, last {hours} hours": "חדשות, {hours} השעות האחרונות", + "Time window": "חלון זמן", + "News sections": "מדורי חדשות", + "Hotspots": "מוקדים", + "Severity": "חומרה", + "Category": "קטגוריה", + "Zoom in to see local news": "התקרבו כדי לראות חדשות מקומיות", + "Nothing reported near here in the last {hours} h": "לא דווח דבר בסביבה ב־{hours} השעות האחרונות", + "Latest news": "חדשות אחרונות", + "No news matches these filters in the last {hours} h": "אין חדשות התואמות למסננים אלה ב־{hours} השעות האחרונות", + "Load older news": "טעינת חדשות ישנות יותר", + "How to read the map": "איך לקרוא את המפה", + "Colour: severity · icon: type of event": "צבע: חומרה · סמל: סוג האירוע", + "Solid rim: reported by both sides or independently. Dashed rim: a claim. Thin rim: one source, or one side’s own press.": "מסגרת מלאה: דווח על ידי שני הצדדים או באופן עצמאי. מסגרת מקווקוות: טענה. מסגרת דקה: מקור יחיד, או התקשורת של אחד הצדדים.", + "Larger: more sources · fainter: older. Picture card: a major or fast-growing event with two or more sources.": "גדול יותר: יותר מקורות · דהוי יותר: ישן יותר. כרטיס תמונה: אירוע חמור או מתפתח במהירות עם שני מקורות או יותר.", + "Side labels describe the source, not whether a report is true.": "תוויות הצד מתארות את המקור, לא אם הדיווח נכון.", + "News items in the feed": "פריטי חדשות בפיד" }