Add Czech, in-chat search, typed-hash path trace and contact sharing
- Czech UI locale (app_cs.arb), selectable in the language picker and as a message translation language; language names added to every locale. - Fix wrong language names: Slovak shown as Slovenian in it/ja/pt/sl, garbled Slovak/Bulgarian in pl, Ukrainian in ru, Hungarian in ko/zh. - Search inside DM and channel chats across the full stored history, with highlighted matches; filtered channel messages are excluded. - Path trace by typed hashes (e.g. A1,B2,C3) from the Contacts and map menus, without needing node locations; the map trace panel can hand its hops to it. - Share contacts in chats using the official app's <pubkey:type:name> format; received cards have a one-tap Add contact button that reuses the QR card import path. - Translations for all new strings in every locale; docs updated.
This commit is contained in:
1 parent
e57f97616c
commit
c939f7a29c
67 files changed
+17245
-381
No files matched your search
@@ -9,6 +9,7 @@ import 'package:flutter/services.dart';
|
||||
import 'package:flutter_cache_manager/flutter_cache_manager.dart';
|
||||
|
||||
import '../helpers/gif_helper.dart';
|
||||
import '../helpers/contact_share_message.dart';
|
||||
import '../helpers/marker_message.dart';
|
||||
import '../helpers/message_url_image_helper.dart';
|
||||
import '../helpers/reaction_helper.dart';
|
||||
@@ -302,6 +303,12 @@ class NotificationService {
|
||||
if (GifHelper.parseGif(trimmed) != null) {
|
||||
return l10n.notification_sentGif;
|
||||
}
|
||||
final contactShare = parseContactShare(trimmed);
|
||||
if (contactShare != null) {
|
||||
return l10n.contactShare_notification(
|
||||
contactShare.name.isEmpty ? contactShare.shortKey : contactShare.name,
|
||||
);
|
||||
}
|
||||
final marker = parseMarkerText(trimmed);
|
||||
if (marker != null) {
|
||||
return marker.label.isEmpty
|
||||
|
||||
Reference in new issue
Block a user