text changes

This commit is contained in:
pa
2025-11-19 09:55:46 +09:00
committed by Natsumi
parent d552227d67
commit 0eed917080
2 changed files with 10 additions and 10 deletions
+6 -6
View File
@@ -299,7 +299,7 @@
} }
}, },
"mutual_friend": { "mutual_friend": {
"tab_label": "Mutual Friend", "tab_label": "Mutual Friend Network",
"actions": { "actions": {
"start_fetch": "Start Fetch", "start_fetch": "Start Fetch",
"fetch_again": "Fetch Again", "fetch_again": "Fetch Again",
@@ -314,8 +314,8 @@
"no_relationships_discovered": "No relationships discovered" "no_relationships_discovered": "No relationships discovered"
}, },
"prompt": { "prompt": {
"title": "Mutual Friend Graph", "title": "Mutual Friend Network",
"message": "No cached mutual friend graph data was found. Start fetching now? This may take a while, we will notify you when it is finishes", "message": "No cached mutual friend data was found. Start fetching now? This may take a while, we will notify you when it is finishes",
"confirm": "Start Fetch", "confirm": "Start Fetch",
"cancel": "Maybe Later" "cancel": "Maybe Later"
}, },
@@ -324,9 +324,9 @@
}, },
"notifications": { "notifications": {
"start_fetching": "Start fetching", "start_fetching": "Start fetching",
"mutual_friend_graph_ready_title": "Mutual Friend Graph", "mutual_friend_graph_ready_title": "Mutual Friend Network Graph",
"mutual_friend_graph_ready_message": "Mutual friend graph is ready", "mutual_friend_graph_ready_message": "Mutual friend network graph is ready",
"friend_list_changed_fetch_again": "Friend list changed. Please fetch the mutual graph again." "friend_list_changed_fetch_again": "Friend list changed. Please fetch the mutual friend network again."
}, },
"tooltip": { "tooltip": {
"mutual_friends_count": "Mutual friends: {count}", "mutual_friends_count": "Mutual friends: {count}",
@@ -222,7 +222,7 @@
status.friendSignature = totalFriends.value; status.friendSignature = totalFriends.value;
status.needsRefetch = false; status.needsRefetch = false;
} catch (err) { } catch (err) {
console.error('[MutualGraph] Failed to load cached mutual graph', err); console.error('[MutualNetworkGraph] Failed to load cached mutual graph', err);
} }
} }
@@ -309,7 +309,7 @@
const mutuals = await fetchMutualFriends(friend.id); const mutuals = await fetchMutualFriends(friend.id);
mutualMap.set(friend.id, { friend, mutuals }); mutualMap.set(friend.id, { friend, mutuals });
} catch (err) { } catch (err) {
console.warn('[MutualGraph] Skipping friend due to fetch error', friend.id, err); console.warn('[MutualNetworkGraph] Skipping friend due to fetch error', friend.id, err);
continue; continue;
} }
fetchState.processedFriends = index + 1; fetchState.processedFriends = index + 1;
@@ -332,11 +332,11 @@
try { try {
await persistMutualGraph(mutualMap); await persistMutualGraph(mutualMap);
} catch (persistErr) { } catch (persistErr) {
console.error('[MutualGraph] Failed to cache data', persistErr); console.error('[MutualNetworkGraph] Failed to cache data', persistErr);
} }
hasFetched.value = true; hasFetched.value = true;
} catch (err) { } catch (err) {
console.error('[MutualGraph] fetch aborted', err); console.error('[MutualNetworkGraph] fetch aborted', err);
} finally { } finally {
isFetching.value = false; isFetching.value = false;
status.cancelRequested = false; status.cancelRequested = false;