From bd78104a27f498495bdf3405a91c64f16a033642 Mon Sep 17 00:00:00 2001 From: Uriel Ofir Date: Sun, 1 Jun 2025 13:12:31 +0300 Subject: [PATCH] Update hugo.yaml with GitHub repository links and enable feedback feature; add Hebrew translations for UI strings and error messages --- hugo.yaml | 6 +-- i18n/he.toml | 120 +++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 123 insertions(+), 3 deletions(-) create mode 100644 i18n/he.toml diff --git a/hugo.yaml b/hugo.yaml index 5d24c6c..45d215e 100644 --- a/hugo.yaml +++ b/hugo.yaml @@ -109,10 +109,10 @@ params: url_latest_version: https://example.com # Repository configuration (URLs for in-page links to opening issues and suggesting changes) - github_repo: "" + github_repo: "https://github.com/Maakaf/maakaf_home" # An optional link to a related project repo. For example, the sibling repository where your product code lives. - github_project_repo: "" + github_project_repo: "https://github.com/Maakaf/maakaf_home" # Specify a value here if your content directory is not in your repo's root directory # github_subdir: "" @@ -154,7 +154,7 @@ params: # If you want this feature, but occasionally need to remove the "Feedback" section from a single page, # add "hide_feedback: true" to the page's front matter. feedback: - enable: false + enable: true # The responses that the user sees after clicking "yes" (the page was helpful) or "no" (the page was not helpful). 'yes': >- Glad to hear it! Please tell us how we can improve. diff --git a/i18n/he.toml b/i18n/he.toml new file mode 100644 index 0000000..e9b07d2 --- /dev/null +++ b/i18n/he.toml @@ -0,0 +1,120 @@ +# UI strings. Buttons and similar. + +[ui_pager_prev] +other = "הקודם" + +[ui_pager_next] +other = "הבא" + +[ui_read_more] +other = "קרא עוד" + +[ui_search] +other = "חיפוש באתר..." + +[ui_all] +other = "הכל" + +[ui_less] +other = "פחות" + +[ui_more] +other = "עוד" + +# Used in sentences such as "Posted in News" +[ui_in] +other = "ב" + +# Footer text +[footer_all_rights_reserved] +other = "כל הזכויות שמורות" + +[post_byline_by] +other = "מאת" + +[post_created] +other = "נוצר" + +[post_last_mod] +other = "עודכן לאחרונה" + + +[post_view_this] +other = "הצג את קוד המקור של דף זה" + +[post_create_child_page] +other = "צור עמוד משנה" + +[post_edit_this] +other = "ערוך דף זה" + +[post_create_issue] +other = "דווח על בעיה בדף" + +[post_create_project_issue] +other = "דווח על בעיה בפרויקט" + +[post_posts_in] +other = "פוסטים ב" + +[post_reading_time] +other = "דקות קריאה" + +[post_less_than_a_minute_read] +other = "פחות מדקת קריאה" + +# Taxonomy +[taxonomy_posts] +other = "פוסטים בנושא" + +[taxonomy_categories] +other = "קטגוריות" + +[taxonomy_tags] +other = "תגיות" + +# Error pages +[error_404_title] +other = "הדף לא נמצא :(" + +[error_404_text] +other = "מצטערים, הדף שחיפשת לא קיים." + +[error_500_title] +other = "שגיאה פנימית :(" + +[error_500_text] +other = "מצטערים, משהו השתבש בשרת." + +# Feedback +[feedback_title] +other = "משוב" + +[feedback_question] +other = "אהבת את התוכן?" + +[feedback_positive] +other = "👍" + +[feedback_negative] +other = "👎" + +[feedback_submit] +other = "שלח משוב" + +# Print +[print_entire_section] +other = "הדפס את כל הפרק" + +[print_page] +other = "הדפס דף זה" + +# Edit options +[edit_page] +other = "ערוך דף זה" + +[edit_section] +other = "ערוך פרק זה" + +[last_modified] +other = "עודכן לאחרונה:" \ No newline at end of file