refactor: Replace console logging with logger utility

- Add logger import across multiple view components
- Replace console.error/warn/log with logger methods
- Update error handling to use structured logging
- Improve type safety for error objects
- Add crypto-browserify polyfill for browser environment

The changes improve logging by:
1. Using consistent logging interface
2. Adding structured error logging
3. Improving error type safety
4. Centralizing logging configuration
5. Fixing browser compatibility issues

Affected files:
- Multiple view components
- vite.config.ts
- Build configuration
This commit is contained in:
Matthew Raymer
2025-03-11 09:35:55 +00:00
parent 515bb38db4
commit c9536dd643
1781 changed files with 81616 additions and 401 deletions

View File

@@ -0,0 +1,39 @@
<?xml version="1.0" encoding="utf-8"?>
<resources xmlns:ns1="urn:oasis:names:tc:xliff:document:1.2">
<string msgid="5976598919945601918" name="abc_action_bar_home_description">"Fara heim"</string>
<string msgid="8388173803310557296" name="abc_action_bar_up_description">"Fara upp"</string>
<string msgid="3937310113216875497" name="abc_action_menu_overflow_description">"Fleiri valkostir"</string>
<string msgid="4692188335987374352" name="abc_action_mode_done">"Lokið"</string>
<string msgid="1189761859438369441" name="abc_activity_chooser_view_see_all">"Sjá allt"</string>
<string msgid="2165779757652331008" name="abc_activitychooserview_choose_application">"Veldu forrit"</string>
<string msgid="4215997306490295099" name="abc_capital_off">"SLÖKKT"</string>
<string msgid="884982626291842264" name="abc_capital_on">"KVEIKT"</string>
<string msgid="8833365367933412986" name="abc_menu_alt_shortcut_label">"Alt+"</string>
<string msgid="2223301931652355242" name="abc_menu_ctrl_shortcut_label">"Ctrl+"</string>
<string msgid="838001238306846836" name="abc_menu_delete_shortcut_label">"eyða"</string>
<string msgid="7986526966204849475" name="abc_menu_enter_shortcut_label">"enter"</string>
<string msgid="375214403600139847" name="abc_menu_function_shortcut_label">"Aðgerðarlykill+"</string>
<string msgid="4192209724446364286" name="abc_menu_meta_shortcut_label">"Meta+"</string>
<string msgid="4741552369836443843" name="abc_menu_shift_shortcut_label">"Shift+"</string>
<string msgid="5473865519181928982" name="abc_menu_space_shortcut_label">"bilslá"</string>
<string msgid="6180552449598693998" name="abc_menu_sym_shortcut_label">"Sym+"</string>
<string msgid="5520303668377388990" name="abc_prepend_shortcut_label">"Valmynd+"</string>
<string msgid="7208076849092622260" name="abc_search_hint">"Leita…"</string>
<string msgid="3741173234950517107" name="abc_searchview_description_clear">"Hreinsa fyrirspurn"</string>
<string msgid="693312494995508443" name="abc_searchview_description_query">"Leitarfyrirspurn"</string>
<string msgid="3417662926640357176" name="abc_searchview_description_search">"Leit"</string>
<string msgid="1486535517437947103" name="abc_searchview_description_submit">"Senda fyrirspurn"</string>
<string msgid="2293578557972875415" name="abc_searchview_description_voice">"Raddleit"</string>
<string msgid="8875138169939072951" name="abc_shareactionprovider_share_with">"Deila með"</string>
<string msgid="9055268688411532828" name="abc_shareactionprovider_share_with_application">"Deila með <ns1:g id="APPLICATION_NAME">%s</ns1:g>"</string>
<string msgid="1656852541809559762" name="abc_toolbar_collapse_description">"Minnka"</string>
<string msgid="881409763997275156" name="call_notification_answer_action">"Svara"</string>
<string msgid="8793775615905189152" name="call_notification_answer_video_action">"Myndsímtal"</string>
<string msgid="3229508546291798546" name="call_notification_decline_action">"Hafna"</string>
<string msgid="2659457946726154263" name="call_notification_hang_up_action">"Leggja á"</string>
<string msgid="6107532579223922871" name="call_notification_incoming_text">"Símtal berst"</string>
<string msgid="8623827134497363134" name="call_notification_ongoing_text">"Símtal í gangi"</string>
<string msgid="59049573811482460" name="call_notification_screening_text">"Síar símtal sem berst"</string>
<string msgid="6264217191555673260" name="search_menu_title">"Leit"</string>
<string msgid="6277540029070332960" name="status_bar_notification_info_overflow">"999+"</string>
</resources>