Skip to content

PasteFerry (隔空贴): clipboard and file sync across macOS, Windows and Linux. Direct-first, end-to-end encrypted. Optional official access: no server to host. Independent self-hosting remains available.

fix(ui): drop the two explanatory notes from the official usage page

baiyuze96c668393975
diff --git a/ui/lib/l10n/app_en.arb b/ui/lib/l10n/app_en.arb
index f28650b..0bc34c7 100644
--- a/ui/lib/l10n/app_en.arb
+++ b/ui/lib/l10n/app_en.arb
@@ -719,7 +719,6 @@
"officialRoutesFootnote": "Direct connections don't go through the official relay and don't use the allowance.",
"officialDeviceID": "Device ID",
"officialWarning": "90% of the daily relay allowance has been used. Direct connections do not consume it.",
- "officialAccounting": "Upload and download combined, including encryption overhead. Only official relay usage is measured; direct content and traffic are not recorded.",
"updateCheck": "Check for updates",
"updateCheckEllipsis": "Check for updates…",
"updateAuto": "Check for updates automatically",
diff --git a/ui/lib/l10n/app_ja.arb b/ui/lib/l10n/app_ja.arb
index 7545774..e323f1f 100644
--- a/ui/lib/l10n/app_ja.arb
+++ b/ui/lib/l10n/app_ja.arb
@@ -331,7 +331,6 @@
"officialRoutesFootnote": "直接接続は公式中継を経由せず、残量も消費しません。",
"officialDeviceID": "端末 ID",
"officialWarning": "本日の中継上限の90%を使用しました。直接接続ではこの残量は消費しません。",
- "officialAccounting": "暗号化の通信量を含む送受信の合計です。公式中継のみ計測し、直接接続の内容や通信量は記録しません。",
"updateCheck": "アップデートを確認",
"updateCheckEllipsis": "アップデートを確認…",
"updateAuto": "アップデートを自動で確認",
diff --git a/ui/lib/l10n/app_localizations.dart b/ui/lib/l10n/app_localizations.dart
index a0f40f1..c5993ec 100644
--- a/ui/lib/l10n/app_localizations.dart
+++ b/ui/lib/l10n/app_localizations.dart
@@ -2096,12 +2096,6 @@ abstract class AppLocalizations {
/// **'90% of the daily relay allowance has been used. Direct connections do not consume it.'**
String get officialWarning;
- /// No description provided for @officialAccounting.
- ///
- /// In en, this message translates to:
- /// **'Upload and download combined, including encryption overhead. Only official relay usage is measured; direct content and traffic are not recorded.'**
- String get officialAccounting;
-
/// No description provided for @updateCheck.
///
/// In en, this message translates to:
diff --git a/ui/lib/l10n/app_localizations_en.dart b/ui/lib/l10n/app_localizations_en.dart
index 4e65031..e4598bf 100644
--- a/ui/lib/l10n/app_localizations_en.dart
+++ b/ui/lib/l10n/app_localizations_en.dart
@@ -1245,10 +1245,6 @@ class AppLocalizationsEn extends AppLocalizations {
String get officialWarning =>
'90% of the daily relay allowance has been used. Direct connections do not consume it.';
- @override
- String get officialAccounting =>
- 'Upload and download combined, including encryption overhead. Only official relay usage is measured; direct content and traffic are not recorded.';
-
@override
String get updateCheck => 'Check for updates';
diff --git a/ui/lib/l10n/app_localizations_ja.dart b/ui/lib/l10n/app_localizations_ja.dart
index d8daaa9..fa40c80 100644
--- a/ui/lib/l10n/app_localizations_ja.dart
+++ b/ui/lib/l10n/app_localizations_ja.dart
@@ -1131,10 +1131,6 @@ class AppLocalizationsJa extends AppLocalizations {
@override
String get officialWarning => '本日の中継上限の90%を使用しました。直接接続ではこの残量は消費しません。';
- @override
- String get officialAccounting =>
- '暗号化の通信量を含む送受信の合計です。公式中継のみ計測し、直接接続の内容や通信量は記録しません。';
-
@override
String get updateCheck => 'アップデートを確認';
diff --git a/ui/lib/l10n/app_localizations_zh.dart b/ui/lib/l10n/app_localizations_zh.dart
index 45751bf..a3079e7 100644
--- a/ui/lib/l10n/app_localizations_zh.dart
+++ b/ui/lib/l10n/app_localizations_zh.dart
@@ -1121,9 +1121,6 @@ class AppLocalizationsZh extends AppLocalizations {
@override
String get officialWarning => '今日中转额度已使用 90%,直连不消耗此额度。';
- @override
- String get officialAccounting => '上下行合计,包含加密传输开销;只统计官方中转,不统计直连内容或流量。';
-
@override
String get updateCheck => '检查更新';
@@ -2436,9 +2433,6 @@ class AppLocalizationsZhHantHk extends AppLocalizationsZh {
@override
String get officialWarning => '今日中轉額度已使用 90%,直連不消耗此額度。';
- @override
- String get officialAccounting => '上下行合計,包含加密傳輸開銷;只統計官方中轉,不統計直連內容或流量。';
-
@override
String get updateCheck => '檢查更新';
@@ -3751,9 +3745,6 @@ class AppLocalizationsZhHantTw extends AppLocalizationsZh {
@override
String get officialWarning => '今日中繼額度已使用 90%,直連不消耗此額度。';
- @override
- String get officialAccounting => '上下行合計,包含加密傳輸開銷;僅統計官方中繼,不統計直連內容或流量。';
-
@override
String get updateCheck => '檢查更新';
diff --git a/ui/lib/l10n/app_zh.arb b/ui/lib/l10n/app_zh.arb
index 3e4f52a..0ca5951 100644
--- a/ui/lib/l10n/app_zh.arb
+++ b/ui/lib/l10n/app_zh.arb
@@ -331,7 +331,6 @@
"officialRoutesFootnote": "直连时不经过官方中转,也不消耗额度。",
"officialDeviceID": "设备 ID",
"officialWarning": "今日中转额度已使用 90%,直连不消耗此额度。",
- "officialAccounting": "上下行合计,包含加密传输开销;只统计官方中转,不统计直连内容或流量。",
"updateCheck": "检查更新",
"updateCheckEllipsis": "检查更新…",
"updateAuto": "自动检查更新",
diff --git a/ui/lib/l10n/app_zh_Hant_HK.arb b/ui/lib/l10n/app_zh_Hant_HK.arb
index b9eed88..f3e7371 100644
--- a/ui/lib/l10n/app_zh_Hant_HK.arb
+++ b/ui/lib/l10n/app_zh_Hant_HK.arb
@@ -331,7 +331,6 @@
"officialRoutesFootnote": "直連時不經過官方中轉,也不消耗額度。",
"officialDeviceID": "裝置 ID",
"officialWarning": "今日中轉額度已使用 90%,直連不消耗此額度。",
- "officialAccounting": "上下行合計,包含加密傳輸開銷;只統計官方中轉,不統計直連內容或流量。",
"updateCheck": "檢查更新",
"updateCheckEllipsis": "檢查更新…",
"updateAuto": "自動檢查更新",
diff --git a/ui/lib/l10n/app_zh_Hant_TW.arb b/ui/lib/l10n/app_zh_Hant_TW.arb
index 17b2e0f..43fde99 100644
--- a/ui/lib/l10n/app_zh_Hant_TW.arb
+++ b/ui/lib/l10n/app_zh_Hant_TW.arb
@@ -331,7 +331,6 @@
"officialRoutesFootnote": "直連時不經過官方中繼,也不消耗額度。",
"officialDeviceID": "裝置 ID",
"officialWarning": "今日中繼額度已使用 90%,直連不消耗此額度。",
- "officialAccounting": "上下行合計,包含加密傳輸開銷;僅統計官方中繼,不統計直連內容或流量。",
"updateCheck": "檢查更新",
"updateCheckEllipsis": "檢查更新…",
"updateAuto": "自動檢查更新",
diff --git a/ui/lib/pages/official_service_page.dart b/ui/lib/pages/official_service_page.dart
index ab4dd44..666744e 100644
--- a/ui/lib/pages/official_service_page.dart
+++ b/ui/lib/pages/official_service_page.dart
@@ -50,7 +50,6 @@ class OfficialServicePage extends StatelessWidget {
children: [
GroupSection(
title: l.officialToday,
- footnote: l.officialAccounting,
child: _allowance(context),
),
if (peers.isNotEmpty)
@@ -108,7 +107,6 @@ class OfficialServicePage extends StatelessWidget {
],
),
),
- Text(l.officialPrivacy, style: context.text.bodySmall),
],
),
),
diff --git a/ui/tool/l10n/strings.py b/ui/tool/l10n/strings.py
index 25e9092..c4fb32f 100644
--- a/ui/tool/l10n/strings.py
+++ b/ui/tool/l10n/strings.py
@@ -381,7 +381,6 @@ S = [
('officialRoutesFootnote', "Direct connections don't go through the official relay and don't use the allowance.", '直连时不经过官方中转,也不消耗额度。', '直接接続は公式中継を経由せず、残量も消費しません。', '直連時不經過官方中繼,也不消耗額度。', '直連時不經過官方中轉,也不消耗額度。'),
('officialDeviceID', 'Device ID', '设备 ID', '端末 ID', '裝置 ID', '裝置 ID'),
('officialWarning', '90% of the daily relay allowance has been used. Direct connections do not consume it.', '今日中转额度已使用 90%,直连不消耗此额度。', '本日の中継上限の90%を使用しました。直接接続ではこの残量は消費しません。', '今日中繼額度已使用 90%,直連不消耗此額度。', '今日中轉額度已使用 90%,直連不消耗此額度。'),
- ('officialAccounting', 'Upload and download combined, including encryption overhead. Only official relay usage is measured; direct content and traffic are not recorded.', '上下行合计,包含加密传输开销;只统计官方中转,不统计直连内容或流量。', '暗号化の通信量を含む送受信の合計です。公式中継のみ計測し、直接接続の内容や通信量は記録しません。', '上下行合計,包含加密傳輸開銷;僅統計官方中繼,不統計直連內容或流量。', '上下行合計,包含加密傳輸開銷;只統計官方中轉,不統計直連內容或流量。'),
# Updates: checked against the signed update list on GitHub and Gitee.
("updateCheck", "Check for updates", "检查更新", "アップデートを確認", "檢查更新", "檢查更新"),