Merge branch 'main' of github.com:MM2-0/Kvaesitso

This commit is contained in:
MM20
2026-01-26 22:18:02 +01:00
4 changed files with 95 additions and 78 deletions

View File

@@ -409,7 +409,7 @@
<string name="tag_exists_error">Štítek s tímto názvem již existuje</string>
<string name="tag_exists_message">Štítek s tímto názvem již existuje. Pokud budete pokračovat, budou oba štítky spojeny</string>
<string name="tag_no_items_message">K tomuto štítku nejsou přiřazeny žádné položky. Pokud budete pokračovat, štítek bude odstraněn</string>
<string name="tag_select_items">Vybra položky:</string>
<string name="tag_select_items">Vybrat položky</string>
<string name="tag_name">Název štítku</string>
<plurals name="tag_selected_items">
<item quantity="one">Vybrána %1$d položka</item>
@@ -910,4 +910,7 @@
<string name="create_search_action_title">Nová rychlá akce</string>
<string name="edit_search_action_title">Upravit rychlou akci</string>
<string name="dialog_discard_unsaved">Ukončit bez uložení?</string>
<string name="tag_name_empty_error">Název nemůže být prázdný</string>
<string name="create_tag_title">Nový štítek</string>
<string name="edit_tag_title">Upravit štítek</string>
</resources>

View File

@@ -305,7 +305,7 @@
<string name="preference_layout_open_search">Keresés és alkalmazásfiók</string>
<string name="preference_category_media_apps">Médiaalkalmazások</string>
<string name="preference_search_unitconverter_summary">Használat: 1,5 kg, vagy 4 cm &gt;&gt; in</string>
<string name="preference_search_bar_launch_on_enter_summary">Ugrás a kiemelt keresési találatra vagy gyorsműveletre, ha megérinti az „Enter” gombot</string>
<string name="preference_search_bar_launch_on_enter_summary">Ugrás a kiemelt keresési találatra vagy gyorsműveletre, az „Enter” gomb megérintésekor</string>
<string name="preference_hidden_items">Kizárt keresési eredmények</string>
<string name="icon_picker_filter_all_packs">Minden ikoncsomag</string>
<string name="search_action_websearch">Internetes keresés</string>

View File

@@ -104,18 +104,18 @@
<string name="menu_edit_widgets">עריכת היישומונים</string>
<string name="widget_name_weather">מזג האוויר</string>
<string name="widget_name_calendar">לוח שנה</string>
<string name="widget_name_music">מוזיקה</string>
<string name="widget_name_music">מדיה</string>
<string name="widget_name_notes">פתק</string>
<string name="widget_name_unknown">ווידג\'ט יישומון לא ידוע</string>
<string name="widget_name_unknown">בלתי ידוע</string>
<string name="widget_add_widget">הוספת יישומון</string>
<string name="widget_removed">היישומון הוסר</string>
<string name="notes_widget_placeholder">כתוב פתק</string>
<string name="notes_widget_placeholder">כתיבת פתק</string>
<string name="notes_widget_action_new">פתק חדש</string>
<string name="notes_widget_action_save">שמירה</string>
<string name="notes_widget_export_filename">פתק_%1$s</string>
<string name="close">סגירה</string>
<string name="notes_widget_action_dismiss">מחיקה</string>
<string name="notes_widget_dismissed">פתק בוטל.</string>
<string name="notes_widget_dismissed">הפתק בוטל</string>
<string name="shortcut_summary">מ%1$s</string>
<string name="no_selection">ללא בחירה</string>
<string name="save">שמירה</string>
@@ -135,7 +135,7 @@
<string name="edit_favorites_dialog_empty_section">גררו פריטים לכאן</string>
<string name="edit_favorites_dialog_tags">תגיות</string>
<string name="edit_favorites_dialog_tag_section_empty">תגיות נעוצות יוצגו כאן</string>
<string name="edit_favorites_dialog_new_tag">צור תגית</string>
<string name="edit_favorites_dialog_new_tag">יצירת תגית</string>
<string name="nextcloud_server_url">כתובת URL שרת Nextcloud</string>
<string name="nextcloud_server_invalid_url">כתובת URL זו לא מצביעה על התקנה תקינה של Nextcloud</string>
<string name="owncloud_server_url">כתובת URL שרת Owncloud</string>
@@ -216,29 +216,29 @@
<string name="weather_condition_heavyrainandthunder">גשם כבד ורעמים</string>
<string name="weather_condition_wind">רוחות</string>
<string name="weather_condition_unknown">לא ידוע</string>
<string name="weather_no_data">אין נתוני מזג אוויר זמינים.</string>
<string name="weather_no_data">אין נתוני מזג אוויר זמינים</string>
<string name="weather_widget_set_location">קביעת מיקום</string>
<string name="weather_location_search_no_result">מיקום לא נמצא.</string>
<string name="weather_location_search_no_result">המיקום לא נמצא</string>
<string name="disclaimer_currency_converter">יחסי המרה מפורסמים פעם ביום על ידי הבנק המרכזי האירופאי. כל המידע מסופק \"כפי שהוא\" ללא כל אחריות. אין כל אחריות למידע זה. \n \nעדכון אחרון: %1$s</string>
<string name="missing_permission_auto_location">נדרשת גישה למיקום כדי לקבוע את המיקום באופן אוטומטי</string>
<string name="missing_permission_music_widget">נדרשת גישה להתראות כדי לשלוט בהפעלת מדיה</string>
<string name="missing_permission_contact_search_settings">נדרשת הרשאת איש קשר כדי לחפש אנשי קשר</string>
<string name="missing_permission_call_contacts_settings">נדרשת הרשאת שיחה כדי להתחיל שיחות</string>
<string name="missing_permission_contact_search_settings">נדרשת הרשאה לאנשי הקשר כדי לחפש</string>
<string name="missing_permission_call_contacts_settings">נדרשת הרשאת שיחה כדי להתקשר</string>
<string name="missing_permission_calendar_search_settings">נדרשת הרשאה ללוח השנה כדי לחפש בלוח השנה</string>
<string name="missing_permission_tasks_search_settings">נדרשת הרשאת משימות כדי לחפש משימות</string>
<string name="missing_permission_tasks_search_settings">נדרשת הרשאה למשימות כדי לחפש משימות ביישום</string>
<string name="missing_permission_tasks_integration">נדרשת הרשאה למטלות כדי להשתמש באינטגרציית המטלות</string>
<string name="missing_permission_calendar_widget_settings">ווידג\'ט זה דורש הרשאת לוח שנה</string>
<string name="missing_permission_calendar_widget_settings">יישומון זה מחייב הרשאה ללוח השנה</string>
<string name="widget_config_calendar_missing_calendars_hint">לא מצליחים למצוא את לוח השנה שלכם?</string>
<string name="missing_permission_file_search_settings">נדרשת הרשאת אחסון חיצוני כדי לחפש קבצים מקומיים</string>
<string name="missing_permission_file_search_settings_android10">נדרשת הרשאת ניהול כל הקבצים כדי לחפש קבצים מקומיים</string>
<string name="missing_permission_file_search_settings">נדרשת הרשאה לאחסון החיצוני כדי לחפש קבצים במכשיר זה</string>
<string name="missing_permission_file_search_settings_android10">נדרשת הרשאה לכל הקבצים כדי לחפש קבצים מקומיים</string>
<string name="missing_permission_appshortcuts_search_settings">יש להגדיר את %1$s כיישום הבית המוגדר כברירת מחדל כדי לחפש קיצורי דרך ליישומים</string>
<string name="missing_permission_notification_badges">נדרשת גישה להתראות כדי להציג תגי התראה</string>
<string name="missing_permission_appshortcuts_search">הגדרת %1$s כיישום הבית המוגדר כברירת מחדל כדי לחפש קיצורי דרך ליישומים.</string>
<string name="grant_permission">הענקה</string>
<string name="missing_permission_calendar_search">הענק הרשאת לוח שנה כדי לחפש בלוח השנה שלך.</string>
<string name="missing_permission_location_search">הענק הרשאת מיקום כדי לחפש מקומות קרובים.</string>
<string name="missing_permission_files_search">הענק הרשאת אחסון כדי לחפש תמונות, מדיה וקבצים במכשיר זה.</string>
<string name="missing_permission_contact_search">הענק הרשאת איש קשר כדי לחפש את איש הקשר שלך.</string>
<string name="missing_permission_calendar_search">דרושה הרשאה ללוח השנה כדי לחפש בלוח השנה שלך</string>
<string name="missing_permission_location_search">דרושה הרשאה למיקום כדי לחפש מיקומים קרובים</string>
<string name="missing_permission_files_search">דרושה הרשאה לאחסון כדי לחפש קבצים במכשיר זה</string>
<string name="missing_permission_contact_search">דרושה הרשאה לאנשי הקשר כדי לחפש בין אנשי הקשר שלך</string>
<string name="preference_screen_appearance">מראֶה</string>
<string name="preference_theme">ערכת נושא</string>
<string name="preference_theme_light">בהיר</string>
@@ -269,10 +269,10 @@
<string name="preference_screen_about_summary">מידע על היישום ורשיון</string>
<string name="provider_brightsky">שירות מזג האוויר הגרמני (גרמניה בלבד)</string>
<string name="provider_here">HERE</string>
<string name="preference_screen_appearance_summary">התאם אישית את המראה והתחושה</string>
<string name="preference_screen_appearance_summary">התאמה אישית של המראה והתחושה</string>
<string name="preference_weather_provider">סַפָּק</string>
<string name="preference_category_advanced">מתקדם</string>
<string name="preference_automatic_location_summary">השתמש ב-GPS ושירותי מיקום כדי לקבוע מיקום באופן אוטומטי</string>
<string name="preference_automatic_location_summary">שימוש בשירותי המיקום כדי לקבוע מיקום באופן אוטומטי</string>
<string name="preference_automatic_location">מיקום אוטומטי</string>
<string name="preference_location">מיקום</string>
<string name="preference_location_managed">מנוהל על ידי תוסף</string>
@@ -288,9 +288,9 @@
<string name="preference_cards">כרטיסים</string>
<string name="preference_cards_summary">התאמה אישית של מראה הכרטיס</string>
<plurals name="debug_cleanup_database_result">
<item quantity="one">%1$d ערך הוסר.</item>
<item quantity="two">%1$d ערכים הוסרו.</item>
<item quantity="other">%1$d ערכים הוסרו.</item>
<item quantity="one">הוסר ערך %1$d</item>
<item quantity="two">הוסרו %1$d ערכים</item>
<item quantity="other">הוסרו %1$d ערכים</item>
</plurals>
<string name="preference_category_icons">סמלים</string>
<string name="preference_cards_shape">צורה</string>
@@ -366,7 +366,7 @@
<string name="preference_backup_summary">ייצוא ההעדפות ונתוני המשגר</string>
<string name="preference_clockwidget_battery_part_summary">הצגת רמת הסוללה הנוכחית כאשר הסוללה חלשה או בעת טעינה</string>
<string name="preference_screen_search">חיפוש</string>
<string name="preference_screen_search_summary">חיפוש, תגיות, פריטים מוסתרים</string>
<string name="preference_screen_search_summary">חיפוש, תגיות, תוצאות מוחרגות</string>
<string name="preference_search_favorites_summary">הצגת פריטים נעוצים ובשימוש נפוץ מעל רשת היישומים</string>
<string name="preference_search_files">קבצים</string>
<string name="preference_search_favorites">מועדפים</string>
@@ -396,10 +396,10 @@
<string name="preference_screen_buildinfo">מידע על בניית התוכנה</string>
<string name="preference_calendar_calendars">לוחות שנה</string>
<string name="preference_search_bar_launch_on_enter_summary">הפעלת ההתאמה המודגשת או פעולה מהירה בעת הקשה על \'המשך\'</string>
<string name="preference_hidden_items">תוצאות חיפוש מוסתרות</string>
<string name="preference_hidden_items">תוצאות חיפוש מוחרגות</string>
<string name="preference_hidden_items_reveal_button">הצגת כפתור החשיפה</string>
<string name="preference_screen_tags">תגיות</string>
<string name="preference_hidden_items_summary">ניהול יישומים ותוצאות חיפוש שהוסתרו</string>
<string name="preference_hidden_items_summary">ניהול יישומים ותוצאות חיפוש שהוחרגו</string>
<string name="preference_screen_tags_summary">ניהול תגיות ופריטים מתוייגים</string>
<string name="preference_favorites_frequently_used_summary">הצגת פריטים בשימוש תדיר במועדפים</string>
<string name="preference_edit_button">מקש עריכה</string>
@@ -407,12 +407,12 @@
<string name="preference_wikipedia_customurl">כתובת URL בויקיפדיה</string>
<string name="preference_edit_favorites_summary">שינוי סדר הפריטים הנעוצים</string>
<string name="preference_category_favorites_frequently_used">בשימוש תדיר</string>
<string name="preference_widgets_on_home_screen_summary">הצג ווידג\'טים במסך הבית במקום בעמוד נוסף</string>
<string name="preference_widgets_on_home_screen_summary">הצגת יישומונים במסך הבית במקום בעמוד נפרד</string>
<string name="preference_media_integration">בקרת מדיה</string>
<string name="preference_screen_homescreen">מסך הבית</string>
<string name="preference_tasks_integration">Tasks</string>
<string name="preference_screen_homescreen_summary">שעון, שורת החיפוש, רקע, סרגלי מערכת</string>
<string name="preference_screen_icons">רשת ואייקונים</string>
<string name="preference_screen_icons">רשת וסמלים</string>
<string name="preference_screen_icons_summary">גודל הרשת, סמלים, תגים</string>
<string name="preference_weather_integration">מזג אוויר</string>
<string name="preference_widgets_edit_button_summary">הצגת מקש להוספה, הסרה או סידור מחדש של יישומונים (Widgets)</string>
@@ -420,7 +420,7 @@
<string name="preference_breezyweather_integration_instructions">כדי להשתמש ב-Breezy Weather כספק מזג אוויר:\n\n1. עברו ל-Breezy Weather &gt; הגדרות &gt; ווידג\'טים ורקע חי &gt; שליחת נתוני Gadgetbridge &gt; הפעלת %1$s\n\n2. ב-%1$s, בחרו ב-Breezy Weather כספק מזג אוויר</string>
<string name="preference_launch_breezyweather_app">פתיחת Breezy Weather</string>
<string name="preference_contacts_call_on_tap">לחצו כדי להתקשר</string>
<string name="preference_contacts_call_on_tap_summary">התחל שיחה באופן מיידי בעת לחיצה על מספר טלפון</string>
<string name="preference_contacts_call_on_tap_summary">התחלת שיחה ללא בקשת אישור בעת לחיצה על מספר טלפון</string>
<string name="preference_tasks_integration_description">היישום Tasks הוא יישום חופשי בקוד פתוח המשמש לרשימת מטלות ותזכורות. אם היישום מותקן, %1$s יכול להציג ולחפש את המטלות שלך מתוך היישום Tasks.</string>
<string name="preference_tasks_integration_ready">אינטגרציית Tasks הוגדרה במלואה ומוכנה לשימוש.</string>
<string name="preference_launch_tasks_app">פתיחת היישום Tasks</string>
@@ -466,7 +466,7 @@
<string name="preference_category_system_bars">סרגלי המערכת</string>
<string name="preference_status_bar_icons">סמלי שורת המצב</string>
<string name="preference_signout">יציאה</string>
<string name="preference_summary_not_logged_in">אינך מחובר כרגע</string>
<string name="preference_summary_not_logged_in">לא נכנסת</string>
<string name="preference_icon_shape_pentagon">מחומש</string>
<string name="preference_category_wallpaper">תמונת הרקע</string>
<string name="preference_dim_wallpaper">עמעום תמונת הרקע</string>
@@ -516,7 +516,7 @@
<string name="preference_compact_tags">תגיות קומפקטיות</string>
<string name="preference_compact_tags_summary">הסתרת תוויות או סמלים של תגיות כדי לצמצם את השטח שממלאות התגיות</string>
<string name="connect_account">חיבור חשבון</string>
<string name="missing_permission_calendar_widget">הענק הרשאת לוח שנה כדי להציג כאן פגישות ואירועים קרובים.</string>
<string name="missing_permission_calendar_widget">דרושה הרשאה ללוח השנה כדי להציג כאן אירועים קרובים</string>
<string name="preference_signin_user">מחובר בתור %1$s</string>
<string name="missing_permission_appshortcuts_create">הגדרת %1$s כיישום הבית המוגדר כברירת מחדל כדי ליצור קיצורי דרך.</string>
<string name="restore_meta">נוצר ב-%1$s ב-%2$s באמצעות %3$s.</string>
@@ -528,8 +528,8 @@
<string name="search_action_call">התקשרות</string>
<string name="search_action_message">שליחת הודעה</string>
<string name="search_action_email">דואר אלקטרוני</string>
<string name="preference_layout_open_search">מגירת חיפוש / יישומון</string>
<string name="tag_select_items">בחירת פריטים:</string>
<string name="preference_layout_open_search">חיפוש ומגירת היישומים</string>
<string name="tag_select_items">בחירת פריטים</string>
<string name="tag_name">שם תגית</string>
<string name="open_search_pull_down">החלקה מטה</string>
<plurals name="tag_selected_items">
@@ -551,7 +551,7 @@
<string name="gesture_action_lock_screen">כיבוי המסך</string>
<string name="gesture_action_quick_settings">פתיחת לוח ההגדרות המהירות</string>
<string name="gesture_action_power_menu">הצגת תפריט ההפעלה</string>
<string name="gesture_action_recents">פתח אחרונים</string>
<string name="gesture_action_recents">פתיחת היישומים שהיו לאחרונה בשימוש</string>
<string name="missing_permission_accessibility_gesture_settings">פעולה זו דורשת הפעלת שירות הנגישות של הלאנצ\'ר.</string>
<string name="preference_search_result_ordering_weight_factor">גמישות הדירוג</string>
<string name="preference_search_result_ordering_weight_factor_low">יציבה</string>
@@ -559,9 +559,9 @@
<string name="widget_config_calendar_no_calendars">לא נמצאו לוחות שנה</string>
<string name="widget_pick_widget">בחירת יישומון (Widget)</string>
<string name="note_widget_action_unlink_file">ניתוק הקישור</string>
<string name="note_widget_file_write_error_description">הפתק לא יכול להיכתב לקובץ המקושר. ייתכן שהוא הועבר או נמחק. עותק נשמר לאחסון הפנימי של הלאנצ\'ר.</string>
<string name="note_widget_file_write_error_description">לא התאפשרה כתיבת ההערה לקובץ המקושר. נשמר עותק באחסון הפנימי של הלאנצ\'ר.</string>
<string name="note_widget_file_read_error">שגיאה בקריאת הפתק</string>
<string name="note_widget_file_read_error_description">לא ניתן היה לקרוא את הקובץ המקושר. ייתכן שהוא הועבר או נמחק. עותק שוחזר מהאחסון הפנימי של הלאנצ\'ר. אם תערוך את הפתק, ייתכן שהקובץ המקושר יידרס.</string>
<string name="note_widget_file_read_error_description">לא ניתן היה לקרוא את הקובץ המקושר. שוחזר עותק מהאחסון הפנימי של הלאנצ\'ר. אם תערכו את ההערה, הקובץ המקושר עשוי להידרס.</string>
<string name="note_widget_file_write_error">שגיאה בשמירת הפתק</string>
<string name="restore_complete">הגיבוי שוחזר.</string>
<string name="icon_picker_default_icon">ברירת המחדל</string>
@@ -580,22 +580,22 @@
<string name="search_action_contact">הוספה לאנשי הקשר</string>
<string name="search_action_open_url">הצגת אתר האינטרנט</string>
<string name="search_action_event">הגדרת מועד האירוע</string>
<string name="create_search_action_type">איזה סוג פעולה תרצה ליצור?</string>
<string name="create_search_action_type">איזה סוג פעולה ברצונך ליצור?</string>
<string name="create_search_action_type_web">חיפוש באתר אינטרנט</string>
<string name="create_search_action_type_app">חיפוש ביישום</string>
<string name="create_search_action_type_intent">כוונה (intent) מותאמת</string>
<string name="create_search_action_pick_app">בחירת היישום לחיפוש:</string>
<string name="create_search_action_website_url">הזינו את כתובת אתר האינטרנט:</string>
<string name="create_search_action_website_invalid_url">לא ניתן לייבא את האתר האינטרנט הנתון לא יכול כחיפוש ברשת. ניתן לנסות אתר אינטרנט אחר או להזין את הנתונים הנדרשים באופן ידני בשלב הבא.</string>
<string name="create_search_action_website_invalid_url">לא ניתן לייבא אוטומטית את אתר האינטרנט הנתון כחיפוש ברשת. ניתן לנסות אתר אינטרנט אחר או להזין את הנתונים הנדרשים באופן ידני בשלב הבא</string>
<string name="search_action_label">שם</string>
<string name="search_action_app">יישום</string>
<string name="search_action_websearch_url">תבנית כתובת URL</string>
<string name="search_action_websearch_url_hint">תבנית כתובת ה-URL שמשמשת ליצור את כתובת ה-URL לחיפוש ברשת. השתמש ב-${1} כמציין מקום עבור מונח החיפוש בפועל, לדוגמה https://google.com/search?q=${1}.</string>
<string name="search_action_websearch_url_hint">תבנית כתובת ה-URL שמשמשת להרכבת כתובת ה-URL לחיפוש ברשת. השתמשו ב-${1} כמציין מקום עבור מונח החיפוש בפועל</string>
<string name="more_information">מידע נוסף</string>
<string name="experimental_feature">ניסיוני</string>
<string name="tag_exists_error">תגית עם שם זה כבר קיימת.</string>
<string name="tag_exists_message">תגית עם שם זה כבר קיימת. אם תמשיך, שתי התגיות ימוזגו.</string>
<string name="tag_no_items_message">לא הוקצו פריטים לתגית זו. אם תמשיך, התגית תימחק.</string>
<string name="tag_exists_error">תגית בשם זה כבר קיימת</string>
<string name="tag_exists_message">תגית בשם זה כבר קיימת. אם תמשיכו, שתי התגיות ימוזגו</string>
<string name="tag_no_items_message">לא הוקצו פריטים לתגית זו. אם תמשיכו, התגית תימחק</string>
<string name="preference_layout_search_results">סידור תוצאות החיפוש</string>
<string name="search_results_order_top_down">מלמעלה למטה</string>
<string name="search_results_order_bottom_up">מלמטה למעלה</string>
@@ -619,7 +619,7 @@
<string name="widget_config_appwidget_configure">הגדרות היישומון (Widget)</string>
<string name="widget_config_appwidget_resize">שינוי הגודל</string>
<string name="widget_config_weather_integration_settings">הגדרות שילוב מזג אוויר</string>
<string name="app_widget_loading_failed">טעינת ווידג\'ט היישומון נכשלה.</string>
<string name="app_widget_loading_failed">טעינת היישומון נכשלה</string>
<string name="widget_config_music_integration_settings">הגדרות שילוב בקרת המדיה</string>
<string name="note_widget_link_file">קישור לקובץ</string>
<string name="note_widget_link_file_summary">סינכרון תוכן היישומון (Widget) הזה עם קובץ חיצוני</string>
@@ -684,8 +684,8 @@
<string name="calendar_widget_next_day">היום הבא</string>
<string name="calendar_widget_create_event">יצירת אירוע חדש</string>
<string name="calendar_widget_open_calendar">פתיחת יישום לוח השנה</string>
<string name="profile_private_profile_state_locked">המרחב הפרטי נעול.</string>
<string name="profile_work_profile_state_locked">יישומוני העבודה מושהים.</string>
<string name="profile_private_profile_state_locked">המרחב הפרטי נעול</string>
<string name="profile_work_profile_state_locked">יישומי העבודה מושהים</string>
<string name="profile_private_profile_action_unlock">ביטול הנעילה</string>
<string name="profile_work_profile_action_unlock">ביטול ההשהיה</string>
<string name="profile_work_profile_action_lock">השהיית יישומי עבודה</string>
@@ -700,7 +700,7 @@
<item quantity="other">נבחרו %1$s רשימות</item>
</plurals>
<string name="departure_time_departed">מועד היציאה</string>
<string name="bad_configuration_summary">גילית שילוב של הגדרות שהופך גם את החיפוש וגם את ההגדרות לבלתי נגישים — ובכך למעשה נועל אותך מחוץ ללאנצ\'ר.</string>
<string name="bad_configuration_summary">גילית שילוב של הגדרות שהופך את החיפוש וגם את ההגדרות לבלתי נגישים — ובכך למעשה נועל אותך מחוץ ללאנצ\'ר</string>
<string name="theme_export_title">ייצוא ערכת הנושא</string>
<string name="bad_configuration_title">כל הכבוד, נעלת את עצמך בחוץ!</string>
<string name="theme_import_title">ייבוא ערכת נושא</string>
@@ -814,7 +814,7 @@
<string name="plugin_type_weather">ספק מזג אוויר</string>
<string name="plugin_weather_provider_enable">הגדרה כספק מזג אוויר</string>
<string name="plugin_weather_provider_enabled">מוגדר כעת כספק מזג אוויר</string>
<string name="unavailable_searchable">פריט זה אינו קיים עוד.</string>
<string name="unavailable_searchable">פריט זה אינו קיים עוד</string>
<string name="clock_style_digital1">מודגש</string>
<string name="clock_style_empty">ללא שעון</string>
<string name="clock_style_custom">יישומון (Widget) מותאם</string>
@@ -904,4 +904,11 @@
<string name="no_feed_providers">לא מותקן ספק הזנה</string>
<string name="tag_icon_emoji">אמוג\'י</string>
<string name="gesture_action_feed">הזנה</string>
<string name="action_quit">סגירה</string>
<string name="create_search_action_title">פעולה מהירה חדשה</string>
<string name="edit_search_action_title">עריכת פעולה מהירה</string>
<string name="tag_name_empty_error">השם לא יכול להיות ריק</string>
<string name="create_tag_title">תגית חדשה</string>
<string name="edit_tag_title">עריכת תגית</string>
<string name="dialog_discard_unsaved">לצאת מבלי לשמור?</string>
</resources>

View File

@@ -17,33 +17,34 @@ internal interface TextClassifier {
internal class TextClassifierImpl : TextClassifier {
override suspend fun classify(context: Context, query: String): TextClassificationResult {
val trimmedQuery = query.trim()
return when {
query.matches(Regex("^\\S+@\\S+$")) -> TextClassificationResult(
trimmedQuery.matches(Regex("^\\S+@\\S+$")) -> TextClassificationResult(
type = TextType.Email,
text = query,
email = query
text = trimmedQuery,
email = trimmedQuery
)
query.matches(Regex("^\\+?[0-9- /.]{4,18}$")) -> TextClassificationResult(
trimmedQuery.matches(Regex("^\\+?[0-9- /.]{4,18}$")) -> TextClassificationResult(
type = TextType.PhoneNumber,
text = query,
phoneNumber = query
text = trimmedQuery,
phoneNumber = trimmedQuery
)
query.matches(Regex("^(http(s)?://.)?(www\\.)?[-a-zA-Z0-9@:%._+~#=]{2,256}\\.[a-z]{2,6}\\b([-a-zA-Z0-9@:%_+.~#?&/=]*)$")) -> TextClassificationResult(
trimmedQuery.matches(Regex("^(http(s)?://.)?(www\\.)?[-a-zA-Z0-9@:%._+~#=]{2,256}\\.[a-z]{2,6}\\b([-a-zA-Z0-9@:%_+.~#?&/=]*)$")) -> TextClassificationResult(
type = TextType.Url,
text = query,
url = query
text = trimmedQuery,
url = trimmedQuery
)
else -> {
parseDate(context, query)?.let { return it }
TextClassificationResult(type = TextType.Text, text = query)
parseDate(context, trimmedQuery)?.let { return it }
TextClassificationResult(type = TextType.Text, text = trimmedQuery)
}
}
}
private fun parseDate(context: Context, query: String): TextClassificationResult? {
private fun parseDate(context: Context, trimmedQuery: String): TextClassificationResult? {
val dateTimeFormat = SimpleDateFormat(
DateFormat.getBestDateTimePattern(
Locale.getDefault(),
@@ -52,11 +53,11 @@ internal class TextClassifierImpl : TextClassifier {
context.resources.configuration.locales[0]
)
try {
dateTimeFormat.parse(query)?.let {
dateTimeFormat.parse(trimmedQuery)?.let {
val dateTime = LocalDateTime.ofInstant(it.toInstant(), ZoneId.systemDefault())
return TextClassificationResult(
type = TextType.DateTime,
text = query,
text = trimmedQuery,
time = dateTime.toLocalTime(),
date = dateTime.toLocalDate(),
)
@@ -66,10 +67,10 @@ internal class TextClassifierImpl : TextClassifier {
}
val dateFormat = DateFormat.getDateFormat(context)
try {
dateFormat.parse(query)?.let {
dateFormat.parse(trimmedQuery)?.let {
return TextClassificationResult(
type = TextType.Date,
text = query,
text = trimmedQuery,
date = LocalDateTime.ofInstant(it.toInstant(), ZoneId.systemDefault())
.toLocalDate()
)
@@ -85,10 +86,10 @@ internal class TextClassifierImpl : TextClassifier {
context.resources.configuration.locales[0]
)
try {
timeFormat.parse(query)?.let {
timeFormat.parse(trimmedQuery)?.let {
return TextClassificationResult(
type = TextType.Time,
text = query,
text = trimmedQuery,
time = LocalDateTime.ofInstant(it.toInstant(), ZoneId.systemDefault())
.toLocalTime(),
)
@@ -98,40 +99,46 @@ internal class TextClassifierImpl : TextClassifier {
}
val seconds = context.getString(R.string.unit_second_symbol)
if (query.matches(Regex("^[0-9]+ ${seconds}$"))) {
val value = query.substringBefore(" ").toLong()
val secondsMatch = Regex("^([0-9]+)\\s?${seconds}$").find(trimmedQuery)
if (secondsMatch != null) {
val value = secondsMatch.groups[1]!!.value.toLong()
return TextClassificationResult(
type = TextType.Timespan,
text = query,
text = trimmedQuery,
timespan = Duration.ofSeconds(value)
)
}
val days = context.getString(R.string.unit_day_symbol)
if (query.matches(Regex("^[0-9]+ ${days}$"))) {
val value = query.substringBefore(" ").toLong()
val daysMatch = Regex("^([0-9]+)\\s?${days}$").find(trimmedQuery)
if (daysMatch != null) {
val value = daysMatch.groups[1]!!.value.toLong()
return TextClassificationResult(
type = TextType.Timespan,
text = query,
text = trimmedQuery,
timespan = Duration.ofDays(value)
)
}
val minutes = context.getString(R.string.unit_minute_symbol)
if (query.matches(Regex("^[0-9]+ ${minutes}$"))) {
val value = query.substringBefore(" ").toLong()
val minutesMatch = Regex("^([0-9]+)\\s?${minutes}$").find(trimmedQuery)
if (minutesMatch != null) {
val value = minutesMatch.groups[1]!!.value.toLong()
val then = LocalDateTime.now().plusMinutes(value)
return TextClassificationResult(
type = TextType.Timespan,
text = query,
text = trimmedQuery,
timespan = Duration.ofMinutes(value)
)
}
val hours = context.getString(R.string.unit_hour_symbol)
if (query.matches(Regex("^[0-9]+ ${hours}$"))) {
val value = query.substringBefore(" ").toLong()
val hoursMatch = Regex("^([0-9]+)\\s?${hours}$").find(trimmedQuery)
if (hoursMatch != null) {
val value = hoursMatch.groups[1]!!.value.toLong()
return TextClassificationResult(
type = TextType.Timespan,
text = query,
text = trimmedQuery,
timespan = Duration.ofHours(value)
)
}