Export bookmarks into a Markdownfile. Ordering of Bookmarks in the bookmarks overview.
This commit is contained in:
1 parent
6c29aea7e0
commit
ef94e6be50
28 files changed
+756
-29
No files matched your search
@@ -29,7 +29,7 @@ From the Contacts screen, tap any Chat-type contact to open the ChatScreen.
|
||||
- **Holiday animations**: A new message with a holiday greeting ("Happy Halloween", "Merry Christmas", and so on, in any app language) plays a short animation. Turn off in App Settings → Appearance; see [Holiday message animations](themes.md#holiday-message-animations)
|
||||
- **Outgoing messages**: Right-aligned, primary color background. **Failed messages** change to a red-toned error container background
|
||||
- **Incoming messages**: Left-aligned, grey background with a colored avatar (initial letter or first emoji of sender name; color is deterministic from a hash of the sender name)
|
||||
- Long-press a message and choose **Bookmark** to show a yellow bookmark on the bubble. **Show bookmarks** in the chat menu toggles a filter for bookmarked messages; use **Bookmarks** in the Channels screen menu to browse saved messages, including those from deleted contacts or channels. From the bookmarks list, copy a message with its copy button. Links remain tappable, and supported URL-image previews are shown when **Load images from links** is enabled in App Settings.
|
||||
- Long-press a message and choose **Bookmark** to show a yellow bookmark on the bubble. **Show bookmarks** in the chat menu toggles a filter for bookmarked messages; use **Bookmarks** in the Channels screen menu to browse saved messages, including those from deleted contacts or channels. From the bookmarks list, copy a message with its copy button. It is ordered oldest-to-newest and opens at the newest message. The Export screen can save or share a dated Markdown file, grouped by contact and then channel, with linked URLs and URL-image embeds. Links remain tappable, and supported URL-image previews are shown when **Load images from links** is enabled in App Settings.
|
||||
- Bubble width capped at 72% of screen width
|
||||
- Hyperlinks rendered as tappable green underlined text
|
||||
- Message text follows the system font size (Android/iOS accessibility text size); pinch-to-zoom scales on top of it
|
||||
|
||||
@@ -66,8 +66,9 @@ class MessageUrlImageHelper {
|
||||
static Future<String?> parse(
|
||||
String text, {
|
||||
String publicGateway = AppSettings.defaultPublicIpfsGateway,
|
||||
bool respectLoadSetting = true,
|
||||
}) async {
|
||||
if (!loadLinkImages.value) return null;
|
||||
if (respectLoadSetting && !loadLinkImages.value) return null;
|
||||
final trimmed = text.trim();
|
||||
if (trimmed.isEmpty) return null;
|
||||
|
||||
|
||||
@@ -3150,6 +3150,10 @@
|
||||
"notification_replyUnavailable": "This conversation is no longer on the connected radio.",
|
||||
"notification_replySendFailed": "Your reply may not have been sent. Check in MeshCore Open and try again.",
|
||||
"notification_replyAppNotRunning": "MeshCore Open isn't running. Open it and send your reply again.",
|
||||
"settings_exportBookmarks": "Export bookmarks to Markdown",
|
||||
"settings_exportBookmarksSubtitle": "Share or save bookmarked messages as a Markdown file.",
|
||||
"settings_exportBookmarksSuccess": "Bookmarks exported.",
|
||||
"settings_exportBookmarksNoBookmarks": "No bookmarks to export.",
|
||||
"settings_gpxExportRepeaters": "Export repeaters / room server to GPX",
|
||||
"settings_gpxExportRepeatersSubtitle": "Exports repeaters / roomserver with a location to GPX file.",
|
||||
"settings_gpxExportContacts": "Export companions to GPX",
|
||||
|
||||
@@ -9551,6 +9551,30 @@ abstract class AppLocalizations {
|
||||
/// **'MeshCore Open isn\'t running. Open it and send your reply again.'**
|
||||
String get notification_replyAppNotRunning;
|
||||
|
||||
/// No description provided for @settings_exportBookmarks.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'Export bookmarks to Markdown'**
|
||||
String get settings_exportBookmarks;
|
||||
|
||||
/// No description provided for @settings_exportBookmarksSubtitle.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'Share or save bookmarked messages as a Markdown file.'**
|
||||
String get settings_exportBookmarksSubtitle;
|
||||
|
||||
/// No description provided for @settings_exportBookmarksSuccess.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'Bookmarks exported.'**
|
||||
String get settings_exportBookmarksSuccess;
|
||||
|
||||
/// No description provided for @settings_exportBookmarksNoBookmarks.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'No bookmarks to export.'**
|
||||
String get settings_exportBookmarksNoBookmarks;
|
||||
|
||||
/// No description provided for @settings_gpxExportRepeaters.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
|
||||
@@ -5617,6 +5617,19 @@ class AppLocalizationsBg extends AppLocalizations {
|
||||
String get notification_replyAppNotRunning =>
|
||||
'MeshCore Open не работи. Отворете го и изпратете отговора си повторно.';
|
||||
|
||||
@override
|
||||
String get settings_exportBookmarks => 'Export bookmarks to Markdown';
|
||||
|
||||
@override
|
||||
String get settings_exportBookmarksSubtitle =>
|
||||
'Share or save bookmarked messages as a Markdown file.';
|
||||
|
||||
@override
|
||||
String get settings_exportBookmarksSuccess => 'Bookmarks exported.';
|
||||
|
||||
@override
|
||||
String get settings_exportBookmarksNoBookmarks => 'No bookmarks to export.';
|
||||
|
||||
@override
|
||||
String get settings_gpxExportRepeaters =>
|
||||
'Експортиране на повтарящи се устройства / сървър на стаята до GPX';
|
||||
|
||||
@@ -5596,6 +5596,19 @@ class AppLocalizationsCs extends AppLocalizations {
|
||||
String get notification_replyAppNotRunning =>
|
||||
'MeshCore Open neběží. Otevřete ji a odešlete odpověď znovu.';
|
||||
|
||||
@override
|
||||
String get settings_exportBookmarks => 'Export bookmarks to Markdown';
|
||||
|
||||
@override
|
||||
String get settings_exportBookmarksSubtitle =>
|
||||
'Share or save bookmarked messages as a Markdown file.';
|
||||
|
||||
@override
|
||||
String get settings_exportBookmarksSuccess => 'Bookmarks exported.';
|
||||
|
||||
@override
|
||||
String get settings_exportBookmarksNoBookmarks => 'No bookmarks to export.';
|
||||
|
||||
@override
|
||||
String get settings_gpxExportRepeaters =>
|
||||
'Exportovat opakovače / room servery do GPX';
|
||||
|
||||
@@ -5631,6 +5631,19 @@ class AppLocalizationsDe extends AppLocalizations {
|
||||
String get notification_replyAppNotRunning =>
|
||||
'MeshCore Open wird nicht ausgeführt. Öffnen Sie die App und senden Sie Ihre Antwort erneut.';
|
||||
|
||||
@override
|
||||
String get settings_exportBookmarks => 'Export bookmarks to Markdown';
|
||||
|
||||
@override
|
||||
String get settings_exportBookmarksSubtitle =>
|
||||
'Share or save bookmarked messages as a Markdown file.';
|
||||
|
||||
@override
|
||||
String get settings_exportBookmarksSuccess => 'Bookmarks exported.';
|
||||
|
||||
@override
|
||||
String get settings_exportBookmarksNoBookmarks => 'No bookmarks to export.';
|
||||
|
||||
@override
|
||||
String get settings_gpxExportRepeaters =>
|
||||
'Repeater und Raumserver als GPX exportieren';
|
||||
|
||||
@@ -5542,6 +5542,19 @@ class AppLocalizationsEn extends AppLocalizations {
|
||||
String get notification_replyAppNotRunning =>
|
||||
'MeshCore Open isn\'t running. Open it and send your reply again.';
|
||||
|
||||
@override
|
||||
String get settings_exportBookmarks => 'Export bookmarks to Markdown';
|
||||
|
||||
@override
|
||||
String get settings_exportBookmarksSubtitle =>
|
||||
'Share or save bookmarked messages as a Markdown file.';
|
||||
|
||||
@override
|
||||
String get settings_exportBookmarksSuccess => 'Bookmarks exported.';
|
||||
|
||||
@override
|
||||
String get settings_exportBookmarksNoBookmarks => 'No bookmarks to export.';
|
||||
|
||||
@override
|
||||
String get settings_gpxExportRepeaters =>
|
||||
'Export repeaters / room server to GPX';
|
||||
|
||||
@@ -5615,6 +5615,19 @@ class AppLocalizationsEs extends AppLocalizations {
|
||||
String get notification_replyAppNotRunning =>
|
||||
'MeshCore Open no está en ejecución. Ábrelo y envía tu respuesta de nuevo.';
|
||||
|
||||
@override
|
||||
String get settings_exportBookmarks => 'Export bookmarks to Markdown';
|
||||
|
||||
@override
|
||||
String get settings_exportBookmarksSubtitle =>
|
||||
'Share or save bookmarked messages as a Markdown file.';
|
||||
|
||||
@override
|
||||
String get settings_exportBookmarksSuccess => 'Bookmarks exported.';
|
||||
|
||||
@override
|
||||
String get settings_exportBookmarksNoBookmarks => 'No bookmarks to export.';
|
||||
|
||||
@override
|
||||
String get settings_gpxExportRepeaters =>
|
||||
'Exportar repetidores / servidores de sala a GPX';
|
||||
|
||||
@@ -5633,6 +5633,19 @@ class AppLocalizationsFr extends AppLocalizations {
|
||||
String get notification_replyAppNotRunning =>
|
||||
'MeshCore Open n\'est pas actif. Ouvrez l\'application et renvoyez votre réponse.';
|
||||
|
||||
@override
|
||||
String get settings_exportBookmarks => 'Export bookmarks to Markdown';
|
||||
|
||||
@override
|
||||
String get settings_exportBookmarksSubtitle =>
|
||||
'Share or save bookmarked messages as a Markdown file.';
|
||||
|
||||
@override
|
||||
String get settings_exportBookmarksSuccess => 'Bookmarks exported.';
|
||||
|
||||
@override
|
||||
String get settings_exportBookmarksNoBookmarks => 'No bookmarks to export.';
|
||||
|
||||
@override
|
||||
String get settings_gpxExportRepeaters =>
|
||||
'Exporter les répéteurs / room servers au format GPX';
|
||||
|
||||
@@ -5618,6 +5618,19 @@ class AppLocalizationsHu extends AppLocalizations {
|
||||
String get notification_replyAppNotRunning =>
|
||||
'A MeshCore Open nem fut. Nyissa meg, és küldje el a választ újra.';
|
||||
|
||||
@override
|
||||
String get settings_exportBookmarks => 'Export bookmarks to Markdown';
|
||||
|
||||
@override
|
||||
String get settings_exportBookmarksSubtitle =>
|
||||
'Share or save bookmarked messages as a Markdown file.';
|
||||
|
||||
@override
|
||||
String get settings_exportBookmarksSuccess => 'Bookmarks exported.';
|
||||
|
||||
@override
|
||||
String get settings_exportBookmarksNoBookmarks => 'No bookmarks to export.';
|
||||
|
||||
@override
|
||||
String get settings_gpxExportRepeaters =>
|
||||
'Ismétlők / szobaszerver exportálása GPX-be';
|
||||
|
||||
@@ -5620,6 +5620,19 @@ class AppLocalizationsIt extends AppLocalizations {
|
||||
String get notification_replyAppNotRunning =>
|
||||
'MeshCore Open non è in esecuzione. Aprila e invia di nuovo la risposta.';
|
||||
|
||||
@override
|
||||
String get settings_exportBookmarks => 'Export bookmarks to Markdown';
|
||||
|
||||
@override
|
||||
String get settings_exportBookmarksSubtitle =>
|
||||
'Share or save bookmarked messages as a Markdown file.';
|
||||
|
||||
@override
|
||||
String get settings_exportBookmarksSuccess => 'Bookmarks exported.';
|
||||
|
||||
@override
|
||||
String get settings_exportBookmarksNoBookmarks => 'No bookmarks to export.';
|
||||
|
||||
@override
|
||||
String get settings_gpxExportRepeaters =>
|
||||
'Esporta ripetitori / server di stanza in GPX';
|
||||
|
||||
@@ -5349,6 +5349,19 @@ class AppLocalizationsJa extends AppLocalizations {
|
||||
String get notification_replyAppNotRunning =>
|
||||
'MeshCore Open が起動していません。起動してから、もう一度返信を送信してください。';
|
||||
|
||||
@override
|
||||
String get settings_exportBookmarks => 'Export bookmarks to Markdown';
|
||||
|
||||
@override
|
||||
String get settings_exportBookmarksSubtitle =>
|
||||
'Share or save bookmarked messages as a Markdown file.';
|
||||
|
||||
@override
|
||||
String get settings_exportBookmarksSuccess => 'Bookmarks exported.';
|
||||
|
||||
@override
|
||||
String get settings_exportBookmarksNoBookmarks => 'No bookmarks to export.';
|
||||
|
||||
@override
|
||||
String get settings_gpxExportRepeaters => 'GPX へのエクスポート用リピータ/ルームサーバー';
|
||||
|
||||
|
||||
@@ -5365,6 +5365,19 @@ class AppLocalizationsKo extends AppLocalizations {
|
||||
String get notification_replyAppNotRunning =>
|
||||
'MeshCore Open이 실행 중이 아닙니다. 앱을 연 뒤 답장을 다시 보내세요.';
|
||||
|
||||
@override
|
||||
String get settings_exportBookmarks => 'Export bookmarks to Markdown';
|
||||
|
||||
@override
|
||||
String get settings_exportBookmarksSubtitle =>
|
||||
'Share or save bookmarked messages as a Markdown file.';
|
||||
|
||||
@override
|
||||
String get settings_exportBookmarksSuccess => 'Bookmarks exported.';
|
||||
|
||||
@override
|
||||
String get settings_exportBookmarksNoBookmarks => 'No bookmarks to export.';
|
||||
|
||||
@override
|
||||
String get settings_gpxExportRepeaters => 'GPX로 전송/방 관리 서버';
|
||||
|
||||
|
||||
@@ -5592,6 +5592,19 @@ class AppLocalizationsNl extends AppLocalizations {
|
||||
String get notification_replyAppNotRunning =>
|
||||
'MeshCore Open is niet actief. Open de app en verzend je antwoord opnieuw.';
|
||||
|
||||
@override
|
||||
String get settings_exportBookmarks => 'Export bookmarks to Markdown';
|
||||
|
||||
@override
|
||||
String get settings_exportBookmarksSubtitle =>
|
||||
'Share or save bookmarked messages as a Markdown file.';
|
||||
|
||||
@override
|
||||
String get settings_exportBookmarksSuccess => 'Bookmarks exported.';
|
||||
|
||||
@override
|
||||
String get settings_exportBookmarksNoBookmarks => 'No bookmarks to export.';
|
||||
|
||||
@override
|
||||
String get settings_gpxExportRepeaters =>
|
||||
'Exporteer repeaters / roomserver naar GPX';
|
||||
|
||||
@@ -5656,6 +5656,19 @@ class AppLocalizationsPl extends AppLocalizations {
|
||||
String get notification_replyAppNotRunning =>
|
||||
'MeshCore Open nie jest uruchomiony. Otwórz go i wyślij odpowiedź jeszcze raz.';
|
||||
|
||||
@override
|
||||
String get settings_exportBookmarks => 'Export bookmarks to Markdown';
|
||||
|
||||
@override
|
||||
String get settings_exportBookmarksSubtitle =>
|
||||
'Share or save bookmarked messages as a Markdown file.';
|
||||
|
||||
@override
|
||||
String get settings_exportBookmarksSuccess => 'Bookmarks exported.';
|
||||
|
||||
@override
|
||||
String get settings_exportBookmarksNoBookmarks => 'No bookmarks to export.';
|
||||
|
||||
@override
|
||||
String get settings_gpxExportRepeaters =>
|
||||
'Eksportuj przekaźniki / roomservery do GPX';
|
||||
|
||||
@@ -5614,6 +5614,19 @@ class AppLocalizationsPt extends AppLocalizations {
|
||||
String get notification_replyAppNotRunning =>
|
||||
'O MeshCore Open não está em execução. Abra-o e envie a sua resposta novamente.';
|
||||
|
||||
@override
|
||||
String get settings_exportBookmarks => 'Export bookmarks to Markdown';
|
||||
|
||||
@override
|
||||
String get settings_exportBookmarksSubtitle =>
|
||||
'Share or save bookmarked messages as a Markdown file.';
|
||||
|
||||
@override
|
||||
String get settings_exportBookmarksSuccess => 'Bookmarks exported.';
|
||||
|
||||
@override
|
||||
String get settings_exportBookmarksNoBookmarks => 'No bookmarks to export.';
|
||||
|
||||
@override
|
||||
String get settings_gpxExportRepeaters =>
|
||||
'Exportar repetidores / servidor de sala para GPX';
|
||||
|
||||
@@ -5633,6 +5633,19 @@ class AppLocalizationsRu extends AppLocalizations {
|
||||
String get notification_replyAppNotRunning =>
|
||||
'MeshCore Open не запущен. Откройте его и отправьте ответ снова.';
|
||||
|
||||
@override
|
||||
String get settings_exportBookmarks => 'Export bookmarks to Markdown';
|
||||
|
||||
@override
|
||||
String get settings_exportBookmarksSubtitle =>
|
||||
'Share or save bookmarked messages as a Markdown file.';
|
||||
|
||||
@override
|
||||
String get settings_exportBookmarksSuccess => 'Bookmarks exported.';
|
||||
|
||||
@override
|
||||
String get settings_exportBookmarksNoBookmarks => 'No bookmarks to export.';
|
||||
|
||||
@override
|
||||
String get settings_gpxExportRepeaters =>
|
||||
'Экспортировать рипитеры / сервер комнаты в GPX';
|
||||
|
||||
@@ -5612,6 +5612,19 @@ class AppLocalizationsSk extends AppLocalizations {
|
||||
String get notification_replyAppNotRunning =>
|
||||
'MeshCore Open nebeží. Otvorte ho a odošlite odpoveď ešte raz.';
|
||||
|
||||
@override
|
||||
String get settings_exportBookmarks => 'Export bookmarks to Markdown';
|
||||
|
||||
@override
|
||||
String get settings_exportBookmarksSubtitle =>
|
||||
'Share or save bookmarked messages as a Markdown file.';
|
||||
|
||||
@override
|
||||
String get settings_exportBookmarksSuccess => 'Bookmarks exported.';
|
||||
|
||||
@override
|
||||
String get settings_exportBookmarksNoBookmarks => 'No bookmarks to export.';
|
||||
|
||||
@override
|
||||
String get settings_gpxExportRepeaters =>
|
||||
'Exportovať repeater / server miestnosti do GPX';
|
||||
|
||||
@@ -5602,6 +5602,19 @@ class AppLocalizationsSl extends AppLocalizations {
|
||||
String get notification_replyAppNotRunning =>
|
||||
'MeshCore Open ne teče. Odprite ga in ponovno pošite odgovor.';
|
||||
|
||||
@override
|
||||
String get settings_exportBookmarks => 'Export bookmarks to Markdown';
|
||||
|
||||
@override
|
||||
String get settings_exportBookmarksSubtitle =>
|
||||
'Share or save bookmarked messages as a Markdown file.';
|
||||
|
||||
@override
|
||||
String get settings_exportBookmarksSuccess => 'Bookmarks exported.';
|
||||
|
||||
@override
|
||||
String get settings_exportBookmarksNoBookmarks => 'No bookmarks to export.';
|
||||
|
||||
@override
|
||||
String get settings_gpxExportRepeaters =>
|
||||
'Izvoz ponoviteljev / strežnika sobe v GPX';
|
||||
|
||||
@@ -5572,6 +5572,19 @@ class AppLocalizationsSv extends AppLocalizations {
|
||||
String get notification_replyAppNotRunning =>
|
||||
'MeshCore Open är inte igång. Öppna appen och skicka ditt svar igen.';
|
||||
|
||||
@override
|
||||
String get settings_exportBookmarks => 'Export bookmarks to Markdown';
|
||||
|
||||
@override
|
||||
String get settings_exportBookmarksSubtitle =>
|
||||
'Share or save bookmarked messages as a Markdown file.';
|
||||
|
||||
@override
|
||||
String get settings_exportBookmarksSuccess => 'Bookmarks exported.';
|
||||
|
||||
@override
|
||||
String get settings_exportBookmarksNoBookmarks => 'No bookmarks to export.';
|
||||
|
||||
@override
|
||||
String get settings_gpxExportRepeaters =>
|
||||
'Exportera repeatrar/rumsservrar till GPX';
|
||||
|
||||
@@ -5637,6 +5637,19 @@ class AppLocalizationsUk extends AppLocalizations {
|
||||
String get notification_replyAppNotRunning =>
|
||||
'MeshCore Open не запущено. Відкрийте його та надішліть відповідь ще раз.';
|
||||
|
||||
@override
|
||||
String get settings_exportBookmarks => 'Export bookmarks to Markdown';
|
||||
|
||||
@override
|
||||
String get settings_exportBookmarksSubtitle =>
|
||||
'Share or save bookmarked messages as a Markdown file.';
|
||||
|
||||
@override
|
||||
String get settings_exportBookmarksSuccess => 'Bookmarks exported.';
|
||||
|
||||
@override
|
||||
String get settings_exportBookmarksNoBookmarks => 'No bookmarks to export.';
|
||||
|
||||
@override
|
||||
String get settings_gpxExportRepeaters =>
|
||||
'Експорт ретрансляторів і серверів кімнат у GPX';
|
||||
|
||||
@@ -5226,6 +5226,19 @@ class AppLocalizationsZh extends AppLocalizations {
|
||||
String get notification_replyAppNotRunning =>
|
||||
'MeshCore Open 未在运行。请打开它并再次发送回复。';
|
||||
|
||||
@override
|
||||
String get settings_exportBookmarks => 'Export bookmarks to Markdown';
|
||||
|
||||
@override
|
||||
String get settings_exportBookmarksSubtitle =>
|
||||
'Share or save bookmarked messages as a Markdown file.';
|
||||
|
||||
@override
|
||||
String get settings_exportBookmarksSuccess => 'Bookmarks exported.';
|
||||
|
||||
@override
|
||||
String get settings_exportBookmarksNoBookmarks => 'No bookmarks to export.';
|
||||
|
||||
@override
|
||||
String get settings_gpxExportRepeaters => '导出转发节点/房间服务器到 GPX';
|
||||
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:intl/intl.dart';
|
||||
import 'package:provider/provider.dart';
|
||||
|
||||
import '../connector/meshcore_connector.dart';
|
||||
@@ -48,9 +47,6 @@ class _BookmarksScreenState extends State<BookmarksScreen> {
|
||||
.watch<AppSettingsService>()
|
||||
.settings
|
||||
.publicIpfsGateway;
|
||||
final dateFormat = DateFormat.yMd(
|
||||
Localizations.localeOf(context).toString(),
|
||||
).add_Hm();
|
||||
return Scaffold(
|
||||
appBar: AppBar(title: Text(l10n.bookmarks_title), centerTitle: true),
|
||||
body: FutureBuilder<List<BookmarkedMessage>>(
|
||||
@@ -66,17 +62,27 @@ class _BookmarksScreenState extends State<BookmarksScreen> {
|
||||
title: l10n.bookmarks_empty,
|
||||
);
|
||||
}
|
||||
bookmarks.sort((a, b) => b.receivedAt.compareTo(a.receivedAt));
|
||||
bookmarks.sort((a, b) => a.receivedAt.compareTo(b.receivedAt));
|
||||
return ListView.builder(
|
||||
reverse: true,
|
||||
padding: const EdgeInsets.all(12),
|
||||
itemCount: bookmarks.length,
|
||||
itemBuilder: (context, index) {
|
||||
final bookmark = bookmarks[index];
|
||||
final bookmark = bookmarks[bookmarks.length - 1 - index];
|
||||
final sourceType =
|
||||
bookmark.sourceType == BookmarkSourceType.channel
|
||||
? l10n.bookmarks_channel
|
||||
: l10n.bookmarks_contact;
|
||||
final time = dateFormat.format(bookmark.receivedAt.toLocal());
|
||||
final receivedAt = bookmark.receivedAt.toLocal();
|
||||
final localizations = MaterialLocalizations.of(context);
|
||||
final time = localizations.formatTimeOfDay(
|
||||
TimeOfDay.fromDateTime(receivedAt),
|
||||
alwaysUse24HourFormat: MediaQuery.alwaysUse24HourFormatOf(
|
||||
context,
|
||||
),
|
||||
);
|
||||
final dateTime =
|
||||
'${localizations.formatShortDate(receivedAt)} $time';
|
||||
final translation = bookmark.translatedText?.trim();
|
||||
final displayText = translation?.isNotEmpty == true
|
||||
? translation!
|
||||
@@ -119,7 +125,7 @@ class _BookmarksScreenState extends State<BookmarksScreen> {
|
||||
),
|
||||
const SizedBox(height: 2),
|
||||
Text(
|
||||
'${bookmark.senderName} · $time',
|
||||
'${bookmark.senderName} · $dateTime',
|
||||
style: Theme.of(context).textTheme.bodySmall,
|
||||
),
|
||||
],
|
||||
|
||||
@@ -1,10 +1,18 @@
|
||||
import 'dart:convert';
|
||||
import 'dart:typed_data';
|
||||
|
||||
import 'package:file_selector/file_selector.dart';
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:meshcore_open/utils/gpx_export.dart';
|
||||
import 'package:provider/provider.dart';
|
||||
import 'package:share_plus/share_plus.dart';
|
||||
|
||||
import '../connector/meshcore_connector.dart';
|
||||
import '../helpers/snack_bar_builder.dart';
|
||||
import '../l10n/l10n.dart';
|
||||
import '../services/app_settings_service.dart';
|
||||
import '../utils/bookmark_markdown_export.dart';
|
||||
import '../utils/platform_info.dart';
|
||||
import '../utils/share_origin.dart';
|
||||
import '../widgets/app_bar.dart';
|
||||
import '../widgets/mesh_ui.dart';
|
||||
@@ -12,6 +20,12 @@ import '../widgets/mesh_nav_tile.dart';
|
||||
import '../widgets/sync_progress_overlay.dart';
|
||||
|
||||
class ExportScreen extends StatelessWidget {
|
||||
static const _markdownFileType = XTypeGroup(
|
||||
label: 'Markdown',
|
||||
extensions: ['md'],
|
||||
mimeTypes: ['text/markdown'],
|
||||
);
|
||||
|
||||
const ExportScreen({super.key});
|
||||
|
||||
@override
|
||||
@@ -34,6 +48,16 @@ class ExportScreen extends StatelessWidget {
|
||||
padding: const EdgeInsets.fromLTRB(0, 8, 0, 24),
|
||||
children: [
|
||||
SectionHeader(l10n.settings_export),
|
||||
MeshCard(
|
||||
padding: EdgeInsets.zero,
|
||||
child: MeshNavTile(
|
||||
icon: Icons.bookmark_border,
|
||||
title: l10n.settings_exportBookmarks,
|
||||
subtitle: l10n.settings_exportBookmarksSubtitle,
|
||||
onTap: () => _exportBookmarks(context),
|
||||
),
|
||||
),
|
||||
const SizedBox(height: 16),
|
||||
MeshCard(
|
||||
padding: EdgeInsets.zero,
|
||||
child: Column(
|
||||
@@ -94,6 +118,78 @@ class ExportScreen extends StatelessWidget {
|
||||
);
|
||||
}
|
||||
|
||||
Future<void> _exportBookmarks(BuildContext context) async {
|
||||
final l10n = context.l10n;
|
||||
try {
|
||||
final bookmarks = await context
|
||||
.read<MeshCoreConnector>()
|
||||
.loadBookmarkedMessages();
|
||||
if (!context.mounted) return;
|
||||
if (bookmarks.isEmpty) {
|
||||
showDismissibleSnackBar(
|
||||
context,
|
||||
content: Text(l10n.settings_exportBookmarksNoBookmarks),
|
||||
);
|
||||
return;
|
||||
}
|
||||
|
||||
final exportedAt = DateTime.now();
|
||||
final markdown = await buildBookmarksMarkdown(
|
||||
bookmarks,
|
||||
publicGateway: context
|
||||
.read<AppSettingsService>()
|
||||
.settings
|
||||
.publicIpfsGateway,
|
||||
exportedAt: exportedAt,
|
||||
);
|
||||
if (!context.mounted) return;
|
||||
final date =
|
||||
'${exportedAt.year.toString().padLeft(4, '0')}'
|
||||
'-${exportedAt.month.toString().padLeft(2, '0')}'
|
||||
'-${exportedAt.day.toString().padLeft(2, '0')}';
|
||||
final filename = 'meshcore-open-bookmarks_$date.md';
|
||||
final file = XFile.fromData(
|
||||
Uint8List.fromList(utf8.encode(markdown)),
|
||||
name: filename,
|
||||
mimeType: 'text/markdown',
|
||||
);
|
||||
|
||||
if (PlatformInfo.isWeb) {
|
||||
await file.saveTo(filename);
|
||||
} else if (PlatformInfo.isDesktop) {
|
||||
final location = await getSaveLocation(
|
||||
suggestedName: filename,
|
||||
acceptedTypeGroups: const [_markdownFileType],
|
||||
);
|
||||
if (location == null || !context.mounted) return;
|
||||
await file.saveTo(location.path);
|
||||
} else {
|
||||
final result = await SharePlus.instance.share(
|
||||
ShareParams(
|
||||
subject: l10n.settings_exportBookmarks,
|
||||
files: [file],
|
||||
fileNameOverrides: [filename],
|
||||
sharePositionOrigin: shareOriginOf(context),
|
||||
),
|
||||
);
|
||||
if (result.status == ShareResultStatus.dismissed) return;
|
||||
}
|
||||
if (context.mounted) {
|
||||
showDismissibleSnackBar(
|
||||
context,
|
||||
content: Text(l10n.settings_exportBookmarksSuccess),
|
||||
);
|
||||
}
|
||||
} catch (error) {
|
||||
if (context.mounted) {
|
||||
showDismissibleSnackBar(
|
||||
context,
|
||||
content: Text('${l10n.settings_gpxExportError} $error'),
|
||||
);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Future<void> _gpxExport(
|
||||
BuildContext context,
|
||||
GpxExport exporter,
|
||||
|
||||
@@ -0,0 +1,165 @@
|
||||
import '../helpers/message_url_image_helper.dart';
|
||||
import '../models/bookmarked_message.dart';
|
||||
|
||||
Future<String> buildBookmarksMarkdown(
|
||||
List<BookmarkedMessage> bookmarks, {
|
||||
required String publicGateway,
|
||||
DateTime? exportedAt,
|
||||
}) async {
|
||||
final date = (exportedAt ?? DateTime.now()).toLocal();
|
||||
final output = StringBuffer()
|
||||
..writeln('# MeshCore-Open Bookmarks')
|
||||
..writeln()
|
||||
..writeln('Exported: ${_date(date)}')
|
||||
..writeln();
|
||||
|
||||
final contacts = _groupBySource(
|
||||
bookmarks.where(
|
||||
(bookmark) => bookmark.sourceType == BookmarkSourceType.contact,
|
||||
),
|
||||
);
|
||||
if (contacts.isNotEmpty) {
|
||||
output.writeln('## Contacts');
|
||||
for (final group in contacts) {
|
||||
output
|
||||
..writeln()
|
||||
..writeln('### ${_safeHeading(group.first.sourceName)}')
|
||||
..writeln();
|
||||
await _writeGroup(output, group, publicGateway: publicGateway);
|
||||
}
|
||||
}
|
||||
|
||||
final channels = _groupBySource(
|
||||
bookmarks.where(
|
||||
(bookmark) => bookmark.sourceType == BookmarkSourceType.channel,
|
||||
),
|
||||
);
|
||||
if (channels.isNotEmpty) {
|
||||
if (contacts.isNotEmpty) output.writeln();
|
||||
output.writeln('## Channels');
|
||||
for (final group in channels) {
|
||||
final name = _singleLine(group.first.sourceName);
|
||||
output
|
||||
..writeln()
|
||||
..writeln('### $name')
|
||||
..writeln();
|
||||
await _writeGroup(output, group, publicGateway: publicGateway);
|
||||
}
|
||||
}
|
||||
|
||||
return '${output.toString().trimRight()}\n';
|
||||
}
|
||||
|
||||
List<List<BookmarkedMessage>> _groupBySource(
|
||||
Iterable<BookmarkedMessage> bookmarks,
|
||||
) {
|
||||
final bySource = <String, List<BookmarkedMessage>>{};
|
||||
for (final bookmark in bookmarks) {
|
||||
bySource.putIfAbsent(bookmark.sourceId, () => []).add(bookmark);
|
||||
}
|
||||
final groups = bySource.values.toList();
|
||||
for (final group in groups) {
|
||||
group.sort((a, b) => a.receivedAt.compareTo(b.receivedAt));
|
||||
}
|
||||
groups.sort((a, b) {
|
||||
final byName = a.first.sourceName.compareTo(b.first.sourceName);
|
||||
return byName != 0 ? byName : a.first.sourceId.compareTo(b.first.sourceId);
|
||||
});
|
||||
return groups;
|
||||
}
|
||||
|
||||
Future<void> _writeGroup(
|
||||
StringBuffer output,
|
||||
List<BookmarkedMessage> bookmarks, {
|
||||
required String publicGateway,
|
||||
}) async {
|
||||
for (var i = 0; i < bookmarks.length; i++) {
|
||||
final bookmark = bookmarks[i];
|
||||
output
|
||||
..writeln(
|
||||
'**${_safeInline(bookmark.senderName)} · ${_dateTime(bookmark.receivedAt)}**',
|
||||
)
|
||||
..writeln();
|
||||
|
||||
final translation = bookmark.translatedText?.trim();
|
||||
if (translation != null &&
|
||||
translation.isNotEmpty &&
|
||||
translation != bookmark.text) {
|
||||
output
|
||||
..write('*${_markdownLinks(bookmark.text)}*')
|
||||
..writeln()
|
||||
..writeln(_markdownLinks(translation));
|
||||
} else {
|
||||
output.writeln(_markdownLinks(bookmark.text));
|
||||
}
|
||||
|
||||
final imageUrl = await MessageUrlImageHelper.parse(
|
||||
bookmark.text,
|
||||
publicGateway: publicGateway,
|
||||
respectLoadSetting: false,
|
||||
);
|
||||
if (imageUrl != null) {
|
||||
final destination = _markdownDestination(imageUrl);
|
||||
output
|
||||
..writeln()
|
||||
..writeln('')
|
||||
..writeln()
|
||||
..writeln('[Image URL]($destination)');
|
||||
}
|
||||
|
||||
if (i < bookmarks.length - 1) output.writeln();
|
||||
}
|
||||
}
|
||||
|
||||
String _singleLine(String value) =>
|
||||
value.replaceAll(RegExp(r'[\r\n]+'), ' ').trim();
|
||||
|
||||
String _markdownLinks(String text) {
|
||||
final urls = RegExp(
|
||||
r'''(?:https?://|ipfs:(?:/{0,2}))[\w\-._~:/?#\[\]@!$&'()*+,;=%]+''',
|
||||
caseSensitive: false,
|
||||
);
|
||||
final linked = text.trim().replaceAllMapped(urls, (match) {
|
||||
final raw = match.group(0)!;
|
||||
var url = raw;
|
||||
while (url.isNotEmpty && RegExp(r'[.,!?;:]$').hasMatch(url)) {
|
||||
url = url.substring(0, url.length - 1);
|
||||
}
|
||||
while (url.endsWith(')') &&
|
||||
'('.allMatches(url).length < ')'.allMatches(url).length) {
|
||||
url = url.substring(0, url.length - 1);
|
||||
}
|
||||
if (url.isEmpty) return raw;
|
||||
final suffix = raw.substring(url.length);
|
||||
final label = url.replaceAll('[', r'\[').replaceAll(']', r'\]');
|
||||
return '[$label](${_markdownDestination(url)})$suffix';
|
||||
});
|
||||
return linked
|
||||
.replaceFirst(RegExp(r'^\*+'), '')
|
||||
.replaceFirst(RegExp(r'\*+$'), '')
|
||||
.trim();
|
||||
}
|
||||
|
||||
String _markdownDestination(String url) => url
|
||||
.replaceAll('<', '%3C')
|
||||
.replaceAll('>', '%3E')
|
||||
.replaceAll(' ', '%20')
|
||||
.replaceAll('(', '%28')
|
||||
.replaceAll(')', '%29');
|
||||
|
||||
String _safeHeading(String value) =>
|
||||
value.replaceAll(RegExp(r'[\r\n]+'), ' ').replaceAll('#', r'\#');
|
||||
|
||||
String _safeInline(String value) => value
|
||||
.replaceAll(RegExp(r'[\r\n]+'), ' ')
|
||||
.replaceAll('*', r'\*')
|
||||
.replaceAll('_', r'\_');
|
||||
|
||||
String _date(DateTime date) =>
|
||||
'${date.year.toString().padLeft(4, '0')}-'
|
||||
'${date.month.toString().padLeft(2, '0')}-'
|
||||
'${date.day.toString().padLeft(2, '0')}';
|
||||
|
||||
String _dateTime(DateTime date) =>
|
||||
'${_date(date)} ${date.hour.toString().padLeft(2, '0')}:'
|
||||
'${date.minute.toString().padLeft(2, '0')}';
|
||||
@@ -0,0 +1,108 @@
|
||||
import 'package:flutter_test/flutter_test.dart';
|
||||
import 'package:meshcore_open/helpers/message_url_image_helper.dart';
|
||||
import 'package:meshcore_open/models/bookmarked_message.dart';
|
||||
import 'package:meshcore_open/utils/bookmark_markdown_export.dart';
|
||||
|
||||
BookmarkedMessage _bookmark({
|
||||
required BookmarkSourceType type,
|
||||
required String sourceId,
|
||||
required String sourceName,
|
||||
required String id,
|
||||
required String text,
|
||||
required int hour,
|
||||
String? translatedText,
|
||||
}) {
|
||||
final date = DateTime(2026, 11, 12, hour);
|
||||
return BookmarkedMessage(
|
||||
sourceType: type,
|
||||
sourceId: sourceId,
|
||||
sourceName: sourceName,
|
||||
messageId: id,
|
||||
senderName: 'Alex',
|
||||
text: text,
|
||||
translatedText: translatedText,
|
||||
timestamp: date,
|
||||
receivedAt: date,
|
||||
isOutgoing: false,
|
||||
);
|
||||
}
|
||||
|
||||
void main() {
|
||||
test('exports grouped bookmarks oldest-to-newest with valid links', () async {
|
||||
final previousSetting = MessageUrlImageHelper.loadLinkImages.value;
|
||||
MessageUrlImageHelper.loadLinkImages.value = false;
|
||||
addTearDown(() {
|
||||
MessageUrlImageHelper.loadLinkImages.value = previousSetting;
|
||||
});
|
||||
|
||||
final markdown = await buildBookmarksMarkdown(
|
||||
[
|
||||
_bookmark(
|
||||
type: BookmarkSourceType.channel,
|
||||
sourceId: 'channel-1',
|
||||
sourceName: '#flachwitze',
|
||||
id: 'channel-image',
|
||||
text: 'See https://example.com/info and ipfs://bafyimage',
|
||||
hour: 15,
|
||||
),
|
||||
_bookmark(
|
||||
type: BookmarkSourceType.contact,
|
||||
sourceId: 'contact-b',
|
||||
sourceName: 'Bob',
|
||||
id: 'bob',
|
||||
text: 'Bob message',
|
||||
hour: 13,
|
||||
),
|
||||
_bookmark(
|
||||
type: BookmarkSourceType.contact,
|
||||
sourceId: 'contact-a',
|
||||
sourceName: 'Alice',
|
||||
id: 'alice-new',
|
||||
text: 'Contact newest',
|
||||
hour: 14,
|
||||
),
|
||||
_bookmark(
|
||||
type: BookmarkSourceType.contact,
|
||||
sourceId: 'contact-a',
|
||||
sourceName: 'Alice',
|
||||
id: 'alice-old',
|
||||
text: ' *Contact oldest* ',
|
||||
hour: 12,
|
||||
translatedText: 'Oldest translation',
|
||||
),
|
||||
],
|
||||
publicGateway: 'https://gateway.example/ipfs/',
|
||||
exportedAt: DateTime(2026, 11, 13, 15, 20),
|
||||
);
|
||||
|
||||
expect(markdown, contains('# MeshCore-Open Bookmarks'));
|
||||
expect(markdown, contains('Exported: 2026-11-13'));
|
||||
expect(markdown, contains('## Contacts'));
|
||||
expect(markdown, contains('## Channels'));
|
||||
expect(markdown, contains('### #flachwitze'));
|
||||
expect(
|
||||
markdown,
|
||||
contains('[https://example.com/info](https://example.com/info)'),
|
||||
);
|
||||
expect(
|
||||
markdown,
|
||||
contains(''),
|
||||
);
|
||||
expect(
|
||||
markdown,
|
||||
contains('[Image URL](https://gateway.example/ipfs/bafyimage)'),
|
||||
);
|
||||
expect(markdown, isNot(contains('<https://')));
|
||||
expect(markdown, contains('*Contact oldest*\nOldest translation'));
|
||||
expect(markdown, isNot(contains('*Contact oldest* ')));
|
||||
expect(markdown, isNot(contains('Translation:')));
|
||||
expect(
|
||||
markdown.indexOf('Contact oldest'),
|
||||
lessThan(markdown.indexOf('Contact newest')),
|
||||
);
|
||||
expect(
|
||||
markdown.indexOf('## Contacts'),
|
||||
lessThan(markdown.indexOf('## Channels')),
|
||||
);
|
||||
});
|
||||
}
|
||||
+95
-19
@@ -8,7 +8,11 @@
|
||||
"bookmarks_empty",
|
||||
"bookmarks_channel",
|
||||
"bookmarks_contact",
|
||||
"bookmarks_remove"
|
||||
"bookmarks_remove",
|
||||
"settings_exportBookmarks",
|
||||
"settings_exportBookmarksSubtitle",
|
||||
"settings_exportBookmarksSuccess",
|
||||
"settings_exportBookmarksNoBookmarks"
|
||||
],
|
||||
|
||||
"cs": [
|
||||
@@ -20,7 +24,11 @@
|
||||
"bookmarks_empty",
|
||||
"bookmarks_channel",
|
||||
"bookmarks_contact",
|
||||
"bookmarks_remove"
|
||||
"bookmarks_remove",
|
||||
"settings_exportBookmarks",
|
||||
"settings_exportBookmarksSubtitle",
|
||||
"settings_exportBookmarksSuccess",
|
||||
"settings_exportBookmarksNoBookmarks"
|
||||
],
|
||||
|
||||
"de": [
|
||||
@@ -32,7 +40,11 @@
|
||||
"bookmarks_empty",
|
||||
"bookmarks_channel",
|
||||
"bookmarks_contact",
|
||||
"bookmarks_remove"
|
||||
"bookmarks_remove",
|
||||
"settings_exportBookmarks",
|
||||
"settings_exportBookmarksSubtitle",
|
||||
"settings_exportBookmarksSuccess",
|
||||
"settings_exportBookmarksNoBookmarks"
|
||||
],
|
||||
|
||||
"es": [
|
||||
@@ -44,7 +56,11 @@
|
||||
"bookmarks_empty",
|
||||
"bookmarks_channel",
|
||||
"bookmarks_contact",
|
||||
"bookmarks_remove"
|
||||
"bookmarks_remove",
|
||||
"settings_exportBookmarks",
|
||||
"settings_exportBookmarksSubtitle",
|
||||
"settings_exportBookmarksSuccess",
|
||||
"settings_exportBookmarksNoBookmarks"
|
||||
],
|
||||
|
||||
"fr": [
|
||||
@@ -56,7 +72,11 @@
|
||||
"bookmarks_empty",
|
||||
"bookmarks_channel",
|
||||
"bookmarks_contact",
|
||||
"bookmarks_remove"
|
||||
"bookmarks_remove",
|
||||
"settings_exportBookmarks",
|
||||
"settings_exportBookmarksSubtitle",
|
||||
"settings_exportBookmarksSuccess",
|
||||
"settings_exportBookmarksNoBookmarks"
|
||||
],
|
||||
|
||||
"hu": [
|
||||
@@ -68,7 +88,11 @@
|
||||
"bookmarks_empty",
|
||||
"bookmarks_channel",
|
||||
"bookmarks_contact",
|
||||
"bookmarks_remove"
|
||||
"bookmarks_remove",
|
||||
"settings_exportBookmarks",
|
||||
"settings_exportBookmarksSubtitle",
|
||||
"settings_exportBookmarksSuccess",
|
||||
"settings_exportBookmarksNoBookmarks"
|
||||
],
|
||||
|
||||
"it": [
|
||||
@@ -80,7 +104,11 @@
|
||||
"bookmarks_empty",
|
||||
"bookmarks_channel",
|
||||
"bookmarks_contact",
|
||||
"bookmarks_remove"
|
||||
"bookmarks_remove",
|
||||
"settings_exportBookmarks",
|
||||
"settings_exportBookmarksSubtitle",
|
||||
"settings_exportBookmarksSuccess",
|
||||
"settings_exportBookmarksNoBookmarks"
|
||||
],
|
||||
|
||||
"ja": [
|
||||
@@ -92,7 +120,11 @@
|
||||
"bookmarks_empty",
|
||||
"bookmarks_channel",
|
||||
"bookmarks_contact",
|
||||
"bookmarks_remove"
|
||||
"bookmarks_remove",
|
||||
"settings_exportBookmarks",
|
||||
"settings_exportBookmarksSubtitle",
|
||||
"settings_exportBookmarksSuccess",
|
||||
"settings_exportBookmarksNoBookmarks"
|
||||
],
|
||||
|
||||
"ko": [
|
||||
@@ -104,7 +136,11 @@
|
||||
"bookmarks_empty",
|
||||
"bookmarks_channel",
|
||||
"bookmarks_contact",
|
||||
"bookmarks_remove"
|
||||
"bookmarks_remove",
|
||||
"settings_exportBookmarks",
|
||||
"settings_exportBookmarksSubtitle",
|
||||
"settings_exportBookmarksSuccess",
|
||||
"settings_exportBookmarksNoBookmarks"
|
||||
],
|
||||
|
||||
"nl": [
|
||||
@@ -116,7 +152,11 @@
|
||||
"bookmarks_empty",
|
||||
"bookmarks_channel",
|
||||
"bookmarks_contact",
|
||||
"bookmarks_remove"
|
||||
"bookmarks_remove",
|
||||
"settings_exportBookmarks",
|
||||
"settings_exportBookmarksSubtitle",
|
||||
"settings_exportBookmarksSuccess",
|
||||
"settings_exportBookmarksNoBookmarks"
|
||||
],
|
||||
|
||||
"pl": [
|
||||
@@ -128,7 +168,11 @@
|
||||
"bookmarks_empty",
|
||||
"bookmarks_channel",
|
||||
"bookmarks_contact",
|
||||
"bookmarks_remove"
|
||||
"bookmarks_remove",
|
||||
"settings_exportBookmarks",
|
||||
"settings_exportBookmarksSubtitle",
|
||||
"settings_exportBookmarksSuccess",
|
||||
"settings_exportBookmarksNoBookmarks"
|
||||
],
|
||||
|
||||
"pt": [
|
||||
@@ -140,7 +184,11 @@
|
||||
"bookmarks_empty",
|
||||
"bookmarks_channel",
|
||||
"bookmarks_contact",
|
||||
"bookmarks_remove"
|
||||
"bookmarks_remove",
|
||||
"settings_exportBookmarks",
|
||||
"settings_exportBookmarksSubtitle",
|
||||
"settings_exportBookmarksSuccess",
|
||||
"settings_exportBookmarksNoBookmarks"
|
||||
],
|
||||
|
||||
"pt_PT": [
|
||||
@@ -152,7 +200,11 @@
|
||||
"bookmarks_empty",
|
||||
"bookmarks_channel",
|
||||
"bookmarks_contact",
|
||||
"bookmarks_remove"
|
||||
"bookmarks_remove",
|
||||
"settings_exportBookmarks",
|
||||
"settings_exportBookmarksSubtitle",
|
||||
"settings_exportBookmarksSuccess",
|
||||
"settings_exportBookmarksNoBookmarks"
|
||||
],
|
||||
|
||||
"ru": [
|
||||
@@ -164,7 +216,11 @@
|
||||
"bookmarks_empty",
|
||||
"bookmarks_channel",
|
||||
"bookmarks_contact",
|
||||
"bookmarks_remove"
|
||||
"bookmarks_remove",
|
||||
"settings_exportBookmarks",
|
||||
"settings_exportBookmarksSubtitle",
|
||||
"settings_exportBookmarksSuccess",
|
||||
"settings_exportBookmarksNoBookmarks"
|
||||
],
|
||||
|
||||
"sk": [
|
||||
@@ -176,7 +232,11 @@
|
||||
"bookmarks_empty",
|
||||
"bookmarks_channel",
|
||||
"bookmarks_contact",
|
||||
"bookmarks_remove"
|
||||
"bookmarks_remove",
|
||||
"settings_exportBookmarks",
|
||||
"settings_exportBookmarksSubtitle",
|
||||
"settings_exportBookmarksSuccess",
|
||||
"settings_exportBookmarksNoBookmarks"
|
||||
],
|
||||
|
||||
"sl": [
|
||||
@@ -188,7 +248,11 @@
|
||||
"bookmarks_empty",
|
||||
"bookmarks_channel",
|
||||
"bookmarks_contact",
|
||||
"bookmarks_remove"
|
||||
"bookmarks_remove",
|
||||
"settings_exportBookmarks",
|
||||
"settings_exportBookmarksSubtitle",
|
||||
"settings_exportBookmarksSuccess",
|
||||
"settings_exportBookmarksNoBookmarks"
|
||||
],
|
||||
|
||||
"sv": [
|
||||
@@ -200,7 +264,11 @@
|
||||
"bookmarks_empty",
|
||||
"bookmarks_channel",
|
||||
"bookmarks_contact",
|
||||
"bookmarks_remove"
|
||||
"bookmarks_remove",
|
||||
"settings_exportBookmarks",
|
||||
"settings_exportBookmarksSubtitle",
|
||||
"settings_exportBookmarksSuccess",
|
||||
"settings_exportBookmarksNoBookmarks"
|
||||
],
|
||||
|
||||
"uk": [
|
||||
@@ -212,7 +280,11 @@
|
||||
"bookmarks_empty",
|
||||
"bookmarks_channel",
|
||||
"bookmarks_contact",
|
||||
"bookmarks_remove"
|
||||
"bookmarks_remove",
|
||||
"settings_exportBookmarks",
|
||||
"settings_exportBookmarksSubtitle",
|
||||
"settings_exportBookmarksSuccess",
|
||||
"settings_exportBookmarksNoBookmarks"
|
||||
],
|
||||
|
||||
"zh": [
|
||||
@@ -224,6 +296,10 @@
|
||||
"bookmarks_empty",
|
||||
"bookmarks_channel",
|
||||
"bookmarks_contact",
|
||||
"bookmarks_remove"
|
||||
"bookmarks_remove",
|
||||
"settings_exportBookmarks",
|
||||
"settings_exportBookmarksSubtitle",
|
||||
"settings_exportBookmarksSuccess",
|
||||
"settings_exportBookmarksNoBookmarks"
|
||||
]
|
||||
}
|
||||
Reference in new issue
Block a user