Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 27 additions & 0 deletions app/src/main/res/values/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -101,4 +101,31 @@
<string name="importing_calls">Importing calls …</string>
<string name="donations">Donations:</string>
<string name="app_donations">https://ko-fi.com/thomasmore</string>

<!-- Settings, add "pref_" for categorization. -->

<string name="pref_scheduled_export_category">Scheduled export</string>
<string name="pref_schedule_export">Enable scheduled export</string>
<string name="pref_export_time">Export at:</string>
<string name="pref_export_dir">Export to directory:</string>
<string name="pref_export_success_notification">Export success notification</string>
<string name="pref_export_success_notification_summary">A notification will always be issued upon export failure, regardless of the value of this setting.</string>
<string name="pref_disable_battery_optimizations">Disable battery optimizations</string>
<string name="pref_disable_battery_optimizations_summary">Required on Android 14+ when exporting many items.</string>
<string name="pref_delete_old_exports">Delete old exports</string>
<string name="pref_remove_datestamps_from_filenames">Remove datestamps from filenames</string>
<string name="pref_export_messages">Export messages</string>
<string name="pref_export_calls">Export calls</string>
<string name="pref_export_contacts">Export contacts</string>
<string name="pref_export_options_category">Export options</string>
<string name="pref_include_binary_data">@string/include_binary_data</string>
<string name="pref_import_options_category">Import options</string>
<string name="pref_deduplication">Message and call log entry deduplication (experimental)</string>
<string name="pref_import_sub_ids">Include Subscription IDs in import</string>
<string name="pref_debugging_category">Debugging options</string>
<string name="pref_debugging">Enable debugging options</string>
<string name="pref_max_records">Maximum records (SMS messages, MMS messages, contacts, and calls) to import (messages only) or export. (Leave empty or set to 0 for all.)</string>
<string name="pref_sms">Process SMS messages</string>
<string name="pref_mms">Process MMS messages</string>

</resources>
46 changes: 23 additions & 23 deletions app/src/main/res/xml/root_preferences.xml
Original file line number Diff line number Diff line change
Expand Up @@ -26,120 +26,120 @@
xmlns:app="http://schemas.android.com/apk/res-auto"
android:key="main_preference_screen">

<PreferenceCategory android:title="Scheduled export"
<PreferenceCategory android:title="@string/pref_scheduled_export_category"
android:key="scheduled_export_preference_category">

<SwitchPreferenceCompat
android:defaultValue="false"
android:key="schedule_export"
android:title="Enable scheduled export" />
android:title="@string/pref_schedule_export" />

<com.github.tmo1.sms_ie.TimePickerPreference
android:key="export_time"
android:title="Export at:"
android:title="@string/pref_export_time"
app:dependency="schedule_export" />

<Preference
android:key="export_dir"
android:title="Export to directory:"
android:title="@string/pref_export_dir"
app:dependency="schedule_export" />

<SwitchPreferenceCompat
android:defaultValue="true"
android:key="export_success_notification"
android:title="Export success notification"
android:summary="A notification will always be issued upon export failure, regardless of the value of this setting."
android:title="@string/pref_export_success_notification"
android:summary="@string/pref_export_success_notification_summary"
app:dependency="schedule_export" />

<SwitchPreferenceCompat
android:key="disable_battery_optimizations"
android:title="Disable battery optimizations"
android:summary="Required on Android 14+ when exporting many items."
android:title="@string/pref_disable_battery_optimizations"
android:summary="@string/pref_disable_battery_optimizations_summary"
android:persistent="false"
app:dependency="schedule_export" />

<SwitchPreferenceCompat
android:defaultValue="false"
android:key="delete_old_exports"
android:title="Delete old exports"
android:title="@string/pref_delete_old_exports"
app:dependency="schedule_export" />

<SwitchPreferenceCompat
android:defaultValue="false"
android:key="remove_datestamps_from_filenames"
android:title="Remove datestamps from filenames"
android:title="@string/pref_remove_datestamps_from_filenames"
app:dependency="delete_old_exports"
app:singleLineTitle="false" />

<SwitchPreferenceCompat
android:defaultValue="true"
android:key="export_messages"
android:title="Export messages"
android:title="@string/pref_export_messages"
app:dependency="schedule_export" />

<SwitchPreferenceCompat
android:defaultValue="true"
android:key="export_calls"
android:title="Export calls"
android:title="@string/pref_export_calls"
app:dependency="schedule_export" />

<SwitchPreferenceCompat
android:defaultValue="true"
android:key="export_contacts"
android:title="Export contacts"
android:title="@string/pref_export_contacts"
app:dependency="schedule_export" />

</PreferenceCategory>

<PreferenceCategory app:title="Export options">
<PreferenceCategory app:title="@string/pref_export_options_category">

<SwitchPreferenceCompat
android:key="include_binary_data"
android:title="@string/include_binary_data"
android:title="@string/pref_include_binary_data"
app:defaultValue="true"
app:singleLineTitle="false" />

</PreferenceCategory>

<PreferenceCategory app:title="Import options">
<PreferenceCategory app:title="@string/pref_import_options_category">

<SwitchPreferenceCompat
android:key="deduplication"
android:title="Message and call log entry deduplication (experimental)"
android:title="@string/pref_deduplication"
app:defaultValue="false"
app:singleLineTitle="false" />

<SwitchPreferenceCompat
android:key="import_sub_ids"
android:title="Include Subscription IDs in import"
android:title="@string/pref_import_sub_ids"
app:defaultValue="false"
app:singleLineTitle="false" />

</PreferenceCategory>

<PreferenceCategory android:title="Debugging options">
<PreferenceCategory android:title="@string/pref_debugging_category">

<SwitchPreferenceCompat
android:key="debugging"
android:title="Enable debugging options"
android:title="@string/pref_debugging"
app:defaultValue="false" />

<EditTextPreference
android:key="max_records"
android:title="Maximum records (SMS messages, MMS messages, contacts, and calls) to import (messages only) or export. (Leave empty or set to 0 for all.)"
android:title="@string/pref_max_records"
app:defaultValue=""
app:dependency="debugging"
app:useSimpleSummaryProvider="true" />

<SwitchPreferenceCompat
android:key="sms"
android:title="Process SMS messages"
android:title="@string/pref_sms"
app:defaultValue="true"
app:dependency="debugging" />

<SwitchPreferenceCompat
android:key="mms"
android:title="Process MMS messages"
android:title="@string/pref_mms"
app:defaultValue="true"
app:dependency="debugging" />

Expand Down
8 changes: 8 additions & 0 deletions fastlane/metadata/android/zh-TW/full_description.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
SMS 匯入 / 匯出 能夠將簡訊、多媒體訊息、通話記錄和聯絡人匯出為 (ND) JSON / ZIP 格式檔案,以及從中匯入資料,不需要 Root 權限。
(匯入與匯出聯絡人目前視為可正常運作的實驗性功能)

SMS 匯入 / 匯出 主要開發者為 Thomas More,由多人提供原始碼及翻譯。
應用程式版權所有 2021-2024,依據 GNU 通用公眾授權條款第 3 版發行。

SMS 匯入 / 匯出 是 <a href="https://github.com/tmo1/sms-db">sms-db</a> 的相關計畫,一種以收集各項 SMS 與 MMS 訊息格式並建立 SQLite 資料庫的 Linux 工具。
sms-db 旨在能夠匯入由本作建立的 ZIP 檔案,同時將資料庫匯出為相同格式使其循環。
1 change: 1 addition & 0 deletions fastlane/metadata/android/zh-TW/short_description.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
匯入與匯出簡訊、多媒體訊息、通話記錄和聯絡人。
1 change: 1 addition & 0 deletions fastlane/metadata/android/zh-TW/title.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
SMS 匯入 / 匯出
Loading