From 438ce5809f562c49569e26badd0376925f1a5f12 Mon Sep 17 00:00:00 2001 From: Ira Date: Tue, 2 May 2017 15:54:35 +0300 Subject: Add Hebrew interface translation. (#2573) * follow the instructions for registering the language as stated on the Tootsuite's docs. * Added translation strings from latest master Adding ‏ characters to many strings that are misdirected in the interface. A tiny grammar fix Updates of Hebrew strings to v1.3.1 Hebrew translation of the mailer templates. Fix strings and a missing comma. Just discovered two string keys were updated. this should lay Travis' mind to rest at last. Remove mentions before counting characters to decide RTL ratio Fixes for PR #2573 updated strings for latest master Undo RTL counting, moved out to another branch for future consideration... --- .../javascripts/components/containers/mastodon.jsx | 2 + app/assets/javascripts/components/locales/he.jsx | 177 +++++++++++++++++++++ .../javascripts/components/locales/index.jsx | 2 + 3 files changed, 181 insertions(+) create mode 100644 app/assets/javascripts/components/locales/he.jsx (limited to 'app/assets') diff --git a/app/assets/javascripts/components/containers/mastodon.jsx b/app/assets/javascripts/components/containers/mastodon.jsx index e34cf6c92..3f58b257a 100644 --- a/app/assets/javascripts/components/containers/mastodon.jsx +++ b/app/assets/javascripts/components/containers/mastodon.jsx @@ -50,6 +50,7 @@ import es from 'react-intl/locale-data/es'; import fa from 'react-intl/locale-data/fa'; import fi from 'react-intl/locale-data/fi'; import fr from 'react-intl/locale-data/fr'; +import he from 'react-intl/locale-data/he'; import hu from 'react-intl/locale-data/hu'; import it from 'react-intl/locale-data/it'; import ja from 'react-intl/locale-data/ja'; @@ -85,6 +86,7 @@ addLocaleData([ ...fa, ...fi, ...fr, + ...he, ...hu, ...it, ...ja, diff --git a/app/assets/javascripts/components/locales/he.jsx b/app/assets/javascripts/components/locales/he.jsx new file mode 100644 index 000000000..0fcb3d33e --- /dev/null +++ b/app/assets/javascripts/components/locales/he.jsx @@ -0,0 +1,177 @@ +/** + * הערה לתורמים: + * קובץ זה (he.jsx)מבוסס על en.jsx ויש לעדכנו מפעם לפעם כשיוצאות גרסאות חדשות. + * אנא הקלו על התורמים העתידיים: + * 1. הוסיפו לכאן מחרוזות חדשות + * 2. הסירו מחרוזות ישנות שכבר לא בשימוש בגרסא האנגלית + * 3. מיינו את השורות לפי סדר ABC כמו בקובץ המקורי. + * 4. ובבקשה כבדו את סגנון התרגום שהנחלנו כאן, או תאמו איתנו אם ישנם שינויים יסודיים + * תודה! + */ +const he = { + "account.block": "חסימת @{name}", + "account.disclaimer": "‏משתמש זה מגיע מקהילה אחרת. המספר הזה עשוי להיות גדול יותר.", + "account.edit_profile": "עריכת פרופיל", + "account.follow": "מעקב", + "account.followers": "עוקבים", + "account.follows_you": "במעקב אחריך", + "account.follows": "נעקבים", + "account.mention": "אזכור של @{name}", + "account.mute": "להשתיק את @{name}", + "account.posts": "הודעות", + "account.report": "לדווח על @{name}", + "account.requested": "בהמתנה לאישור", + "account.unblock": "הסרת חסימה מעל @{name}", + "account.unfollow": "הפסקת מעקב", + "account.unmute": "הפסקת השתקת @{name}", + "boost_modal.combo": "ניתן להקיש {combo} כדי לדלג בפעם הבאה", + "column.blocks": "חסימות", + "column.community": "פיד מקומי", + "column.favourites": "חיבובים", + "column.follow_requests": "בקשות מעקב", + "column.home": "בבית", + "column.mutes": "השתקות", + "column.notifications": "התראות", + "column.public": "בפרהסיה", + "column_back_button.label": "אחורה", + "column_subheading.navigation": "ניווט", + "column_subheading.settings": "אפשרויות", + "compose_form.lock_disclaimer": "חשבונך אינו {locked}. כל אחד יוכל לעקוב אחריך כדי לקרוא את הודעותיך המיועדות לעוקבים בלבד.", + "compose_form.lock_disclaimer.lock": "נעול", + "compose_form.placeholder": "‏מה עובר לך בראש?", + "compose_form.privacy_disclaimer": "‏הודעתך הפרטית תשלח למשתמשים על {domains}. האם ניתן לסמוך על {domainsCount, plural, one {שרת זה} other {שרתים אלו}}? פרטיות ההודעה קיימת רק על שרתי מסטודון. אם {domains} {domainsCount, plural, one {הוא לא שרת מסטודון} other {הם לא שרתי מסטודון}}, לא יהיה שום סימן שההודעה פרטית, והוא עשוי להיות מקודם או להחשף למשתמשים שלא ברשימת היעד.", + "compose_form.publish": "‏לחצרץ", + "compose_form.sensitive": "סימון תוכן כרגיש", + "compose_form.spoiler": "הסתרה מאחורי אזהרת תוכן", + "compose_form.spoiler_placeholder": "אזהרת תוכן", + "confirmation_modal.cancel": "ביטול", + "confirmations.block.confirm": "לחסום", + "confirmations.block.message": "לחסום את {name}?", + "confirmations.delete.confirm": "למחוק", + "confirmations.delete.message": "למחוק את ההודעה?", + "confirmations.mute.confirm": "להשתיק", + "confirmations.mute.message": "להשתיק את {name}?", + "emoji_button.activity": "פעילות", + "emoji_button.flags": "דגלים", + "emoji_button.food": "אוכל ושתיה", + "emoji_button.label": "הוספת אמוג'י", + "emoji_button.nature": "טבע", + "emoji_button.objects": "חפצים", + "emoji_button.people": "אנשים", + "emoji_button.search": "‏חיפוש...", + "emoji_button.symbols": "סמלים", + "emoji_button.travel": "טיולים ואתרים", + "empty_column.community": "‏טור הסביבה ריק. יש לפרסם משהו כדי שדברים יתרחילו להתגלגל!", + "empty_column.hashtag": "‏אין כלום בהאשתג הזה עדיין.", + "empty_column.home.public_timeline": "בפרהסיה", + "empty_column.home": "‏אף אחד לא במעקב עדיין. אפשר לבקר ב{public} או להשתמש בחיפוש כדי להתחיל ולהכיר חצוצרנים אחרים.", + "empty_column.notifications": "‏אין התראות עדיין. יאללה, הגיע הזמן להתחיל להתערבב!", + "empty_column.public": "‏אין פה כלום! כדי למלא את הטור הזה אפשר לכתוב משהו, או להתחיל לעקוב אחרי אנשים מקהילות אחרות.", + "follow_request.authorize": "קבלה", + "follow_request.reject": "דחיה", + "getting_started.apps": "קיים מבחר יישומונים לניידים", + "getting_started.heading": "על ההתחלה", + "getting_started.open_source_notice": "מסטודון היא תוכנה חופשית (בקוד פתוח). ניתן לתרום או לדווח על בעיות בגיטהאב: {github}. {apps}.", + "home.column_settings.advanced": "למתקדמים", + "home.column_settings.basic": "למתחילים", + "home.column_settings.filter_regex": "‏סינון באמצעות ביטויים רגולריים (regular expressions)", + "home.column_settings.show_reblogs": "הצגת הדהודים", + "home.column_settings.show_replies": "הצגת תגובות", + "home.settings": "הגדרות טור", + "lightbox.close": "סגירה", + "loading_indicator.label": "טוען...", + "media_gallery.toggle_visible": "נראה\\בלתי נראה", + "missing_indicator.label": "לא נמצא", + "navigation_bar.blocks": "חסימות", + "navigation_bar.community_timeline": "פיד מקומי", + "navigation_bar.edit_profile": "עריכת פרופיל", + "navigation_bar.favourites": "חיבובים", + "navigation_bar.follow_requests": "בקשות מעקב", + "navigation_bar.info": "מידע נוסף", + "navigation_bar.logout": "יציאה", + "navigation_bar.mutes": "השתקות", + "navigation_bar.preferences": "העדפות", + "navigation_bar.public_timeline": "בפרהסיה", + "notification.favourite": "חצרוצך חובב על ידי {name}", + "notification.follow": "{name} במעקב אחרייך", + "notification.mention": 'אוזכרת ע"י {name}', + "notification.reblog": "חצרוצך הודהד על ידי {name}", + "notifications.clear": "הסרת התראות", + "notifications.clear_confirmation": "‏להסיר את כל ההתראות? בטוח?", + "notifications.column_settings.alert": "התראות לשולחן העבודה", + "notifications.column_settings.favourite": "מחובבים:", + "notifications.column_settings.follow": "עוקבים חדשים:", + "notifications.column_settings.mention": "‏פניות:", + "notifications.column_settings.reblog": "‏הדהודים:", + "notifications.column_settings.show": "הצגה בטור", + "notifications.column_settings.sound": "שמע מופעל", + "notifications.settings": "הגדרות טור", + "onboarding.done": "יציאה", + "onboarding.next": "הלאה", + "onboarding.page_five.public_timelines": "ציר הזמן המקומי מראה הודעות פומביות מכל באי קהילת {domain}. ציר הזמן העולמי מראה הודעות פומביות מאת כי מי שבאי קהילת {domain} עוקבים אחריו. אלו צירי הזמן הפומביים, דרך נהדרת לגלות אנשים חדשים.", + "onboarding.page_four.home": "ציר זמן הבית מראה הודעות מהנעקבים שלך.", + "onboarding.page_four.notifications": "טור ההתראות מראה כשמישהו מתייחס להודעות שלך.", + "onboarding.page_one.federation": "מסטודון היא רשת של שרתים עצמאיים מצורפים ביחד לכדי רשת חברתית אחת גדולה. אנחנו מכנים את השרתים האלו: קהילות", + "onboarding.page_one.handle": "אתם בקהילה {domain}, ולכן מזהה המשתמש המלא שלכם הוא {handle}", + "onboarding.page_one.welcome": "ברוכים הבאים למסטודון!", + "onboarding.page_six.admin": "הקהילה מנוהלת בידי {admin}.", + "onboarding.page_six.almost_done": "כמעט סיימנו...", + "onboarding.page_six.appetoot": "בתותאבון!", + "onboarding.page_six.apps_available": "קיימים {apps} זמינים עבור אנדרואיד, אייפון ופלטפורמות נוספות.", + "onboarding.page_six.github": "מסטודון הוא תוכנה חופשית. ניתן לדווח על באגים, לבקש יכולות, או לתרום לקוד באתר {github}.", + "onboarding.page_six.guidelines": "חוקי הקהילה", + "onboarding.page_six.read_guidelines": "‏נא לקרוא את {guidelines} של {domain}!", + "onboarding.page_six.various_app": "יישומונים ניידים", + "onboarding.page_three.profile": "ץתחת 'עריכת פרופיל' ניתן להחליף את תמונת הפרופיל שלך, תיאור קצר, והשם המוצג. שם גם ניתן למצוא אפשרויות והעדפות נוספות.", + "onboarding.page_three.search": "בחלונית החיפוש ניתן לחפש אנשים והאשתגים, כמו למשל {illustration} או {introductions}. כדי למצוא מישהו שלא על האינסטנס המקומי, יש להשתמש בכינוי המשתמש המלא.", + "onboarding.page_two.compose": "הודעות כותבים מטור הכתיבה. ניתן לנעלות תמונות, לשנות הגדרות פרטיות, ולהוסיף אזהרות תוכן בעזרת האייקונים שמתחת.", + "onboarding.skip": "לדלג", + "privacy.change": "שינוי פרטיות ההודעה", + "privacy.direct.long": "הצג רק למי שהודעה זו פונה אליו", + "privacy.direct.short": "הודעה ישירה", + "privacy.private.long": "הצג לעוקבים מקומיים בלבד", + "privacy.private.short": "לעוקבים בלבד", + "privacy.public.long": "פרסם בפומבי", + "privacy.public.short": "פומבי", + "privacy.unlisted.long": "לא יופיע בפידים הציבוריים המשותפים", + "privacy.unlisted.short": "לא לפיד הכללי", + "reply_indicator.cancel": "ביטול", + "report.heading": "דווח חדש", + "report.placeholder": "הערות נוספות", + "report.submit": "שליחה", + "report.target": "דיווח", + "search.placeholder": "חיפוש", + "search.status_by": "הודעה מאת {name}", + "search_results.total": "{count, number} {count, plural, one {תוצאה} other {תוצאות}}", + "status.cannot_reblog": "לא ניתן להדהד הודעה זו", + "status.delete": "מחיקה", + "status.favourite": "חיבוב", + "status.load_more": "עוד", + "status.media_hidden": "מדיה מוסתרת", + "status.mention": "פניה אל @{name}", + "status.open": "הרחבת הודעה", + "status.reblog": "הדהוד", + "status.reblogged_by": "הודהד על ידי {name}", + "status.reply": "תגובה", + "status.replyAll": "תגובה לכולם", + "status.report": "דיווח על @{name}", + "status.sensitive_warning": "תוכן רגיש", + "status.sensitive_toggle": "לחצו כדי לראות", + "status.show_less": "הראה פחות", + "status.show_more": "הראה יותר", + "tabs_bar.compose": "חיבור", + "tabs_bar.federated_timeline": "בפדרציה", + "tabs_bar.home": "בבית", + "tabs_bar.local_timeline": "פיד מקומי", + "tabs_bar.notifications": "התראות", + "upload_area.title": "ניתן להעלות על ידי Drag & drop", + "upload_button.label": "הוספת מדיה", + "upload_form.undo": "ביטול", + "upload_progress.label": "עולה...", + "video_player.expand": "הרחבת וידאו", + "video_player.toggle_sound": "הפעלת\\ביטול שמע", + "video_player.toggle_visible": "הפעלת\\ביטול תצוגה", + "video_player.video_error": "לא ניתן לנגן וידאו", +}; + +export default he; diff --git a/app/assets/javascripts/components/locales/index.jsx b/app/assets/javascripts/components/locales/index.jsx index 9d187774a..0c8472401 100644 --- a/app/assets/javascripts/components/locales/index.jsx +++ b/app/assets/javascripts/components/locales/index.jsx @@ -3,6 +3,7 @@ import en from './en'; import de from './de'; import es from './es'; import fa from './fa'; +import he from './he'; import hr from './hr'; import hu from './hu'; import io from './io'; @@ -29,6 +30,7 @@ const locales = { de, es, fa, + he, hr, hu, io, -- cgit