deprecate some stock strings; none of them are in use in core any longer

This commit is contained in:
B. Petersen 2025-07-21 23:06:26 +02:00 committed by bjoern
parent 0bc8750984
commit b2cdff820a
2 changed files with 4 additions and 7 deletions

View file

@ -155,8 +155,6 @@ public class DcHelper {
dcContext.setStockTranslation(24, context.getString(R.string.encrypted_message)); dcContext.setStockTranslation(24, context.getString(R.string.encrypted_message));
dcContext.setStockTranslation(29, context.getString(R.string.systemmsg_cannot_decrypt)); dcContext.setStockTranslation(29, context.getString(R.string.systemmsg_cannot_decrypt));
dcContext.setStockTranslation(35, context.getString(R.string.contact_verified)); dcContext.setStockTranslation(35, context.getString(R.string.contact_verified));
dcContext.setStockTranslation(36, context.getString(R.string.contact_not_verified));
dcContext.setStockTranslation(37, context.getString(R.string.contact_setup_changed));
dcContext.setStockTranslation(40, context.getString(R.string.chat_archived_label)); dcContext.setStockTranslation(40, context.getString(R.string.chat_archived_label));
dcContext.setStockTranslation(60, context.getString(R.string.login_error_cannot_login)); dcContext.setStockTranslation(60, context.getString(R.string.login_error_cannot_login));
dcContext.setStockTranslation(66, context.getString(R.string.location)); dcContext.setStockTranslation(66, context.getString(R.string.location));
@ -190,7 +188,6 @@ public class DcHelper {
dcContext.setStockTranslation(112, context.getString(R.string.error_x)); dcContext.setStockTranslation(112, context.getString(R.string.error_x));
dcContext.setStockTranslation(113, context.getString(R.string.not_supported_by_provider)); dcContext.setStockTranslation(113, context.getString(R.string.not_supported_by_provider));
dcContext.setStockTranslation(114, context.getString(R.string.messages)); dcContext.setStockTranslation(114, context.getString(R.string.messages));
dcContext.setStockTranslation(115, context.getString(R.string.channel));
dcContext.setStockTranslation(116, context.getString(R.string.part_of_total_used)); dcContext.setStockTranslation(116, context.getString(R.string.part_of_total_used));
dcContext.setStockTranslation(117, context.getString(R.string.secure_join_started)); dcContext.setStockTranslation(117, context.getString(R.string.secure_join_started));
dcContext.setStockTranslation(118, context.getString(R.string.secure_join_replies)); dcContext.setStockTranslation(118, context.getString(R.string.secure_join_replies));
@ -236,7 +233,6 @@ public class DcHelper {
// cmp. https://github.com/deltachat/deltachat-android/issues/2187 // cmp. https://github.com/deltachat/deltachat-android/issues/2187
dcContext.setStockTranslation(120, context.getString(R.string.qrshow_join_group_hint).replace("\"", "")); dcContext.setStockTranslation(120, context.getString(R.string.qrshow_join_group_hint).replace("\"", ""));
dcContext.setStockTranslation(121, context.getString(R.string.connectivity_not_connected)); dcContext.setStockTranslation(121, context.getString(R.string.connectivity_not_connected));
dcContext.setStockTranslation(122, context.getString(R.string.aeap_addr_changed));
dcContext.setStockTranslation(162, context.getString(R.string.multidevice_qr_subtitle)); dcContext.setStockTranslation(162, context.getString(R.string.multidevice_qr_subtitle));
dcContext.setStockTranslation(163, context.getString(R.string.multidevice_transfer_done_devicemsg)); dcContext.setStockTranslation(163, context.getString(R.string.multidevice_transfer_done_devicemsg));
@ -251,7 +247,6 @@ public class DcHelper {
dcContext.setStockTranslation(176, context.getString(R.string.reaction_by_you)); dcContext.setStockTranslation(176, context.getString(R.string.reaction_by_you));
dcContext.setStockTranslation(177, context.getString(R.string.reaction_by_other)); dcContext.setStockTranslation(177, context.getString(R.string.reaction_by_other));
dcContext.setStockTranslation(190, context.getString(R.string.secure_join_wait)); dcContext.setStockTranslation(190, context.getString(R.string.secure_join_wait));
dcContext.setStockTranslation(192, context.getString(R.string.secure_join_takes_longer));
dcContext.setStockTranslation(193, context.getString(R.string.donate_device_msg)); dcContext.setStockTranslation(193, context.getString(R.string.donate_device_msg));
} }

View file

@ -569,7 +569,7 @@
<!-- option to show images in the gallery as square (instead of using correct width/height) --> <!-- option to show images in the gallery as square (instead of using correct width/height) -->
<string name="square_grid">Square Grid</string> <string name="square_grid">Square Grid</string>
<string name="send_message">Send Message</string> <string name="send_message">Send Message</string>
<!-- Placeholder %1$s will be replaced by the name of the contact changing their address. Placeholders %2$s and %3$s will be replaced by old/new addresses. --> <!-- deprecated, was stock string -->
<string name="aeap_addr_changed">%1$s changed their address from %2$s to %3$s</string> <string name="aeap_addr_changed">%1$s changed their address from %2$s to %3$s</string>
<!-- deprecated --> <!-- deprecated -->
<string name="aeap_explanation">You changed your email address from %1$s to %2$s.\n\nIf you now send a message to a verified group, contacts there will automatically replace the old with your new address.\n\nIt\'s highly advised to set up your old email provider to forward all emails to your new email address. Otherwise you might miss messages of contacts who did not get your new address yet.</string> <string name="aeap_explanation">You changed your email address from %1$s to %2$s.\n\nIf you now send a message to a verified group, contacts there will automatically replace the old with your new address.\n\nIt\'s highly advised to set up your old email provider to forward all emails to your new email address. Otherwise you might miss messages of contacts who did not get your new address yet.</string>
@ -1040,13 +1040,15 @@
<string name="secure_join_wait">Establishing end-to-end encryption, please wait…</string> <string name="secure_join_wait">Establishing end-to-end encryption, please wait…</string>
<!-- deprecated --> <!-- deprecated -->
<string name="secure_join_wait_timeout">Could not yet establish guaranteed end-to-end encryption, but you may already send a message.</string> <string name="secure_join_wait_timeout">Could not yet establish guaranteed end-to-end encryption, but you may already send a message.</string>
<!-- deprecated, was stock string -->
<string name="secure_join_takes_longer">The contact must be online to proceed.\n\nThis process will continue automatically in background.</string> <string name="secure_join_takes_longer">The contact must be online to proceed.\n\nThis process will continue automatically in background.</string>
<string name="contact_verified">%1$s introduced.</string> <string name="contact_verified">%1$s introduced.</string>
<!-- deprecated, was stock string -->
<string name="contact_not_verified">Cannot establish end-to-end encryption with %1$s.</string> <string name="contact_not_verified">Cannot establish end-to-end encryption with %1$s.</string>
<!-- Shown in contact profile. The placeholder will be replaced by the name of the contact that introduced the contact. --> <!-- Shown in contact profile. The placeholder will be replaced by the name of the contact that introduced the contact. -->
<string name="verified_by">Introduced by %1$s</string> <string name="verified_by">Introduced by %1$s</string>
<string name="verified_by_you">Introduced by me</string> <string name="verified_by_you">Introduced by me</string>
<!-- translators: "setup" is the "encryption setup" here, as in "Autocrypt Setup Message" --> <!-- deprecated, was stock string -->
<string name="contact_setup_changed">Changed setup for %1$s.</string> <string name="contact_setup_changed">Changed setup for %1$s.</string>
<string name="verified_contact_required_explain">To guarantee end-to-end-encryption, you can only add contacts with a green checkmark to this group.\n\nYou may meet contacts in person and scan their QR Code to introduce them.</string> <string name="verified_contact_required_explain">To guarantee end-to-end-encryption, you can only add contacts with a green checkmark to this group.\n\nYou may meet contacts in person and scan their QR Code to introduce them.</string>
<string name="mailto_dialog_header_select_chat">Select chat to send the message to</string> <string name="mailto_dialog_header_select_chat">Select chat to send the message to</string>