Weblate does not support cdata, cannot make text bold (#8039)

This commit is contained in:
Hans-Peter Lehmann
2025-10-12 22:28:13 +02:00
committed by GitHub
parent 23d862185d
commit 1d7846af8c
2 changed files with 2 additions and 5 deletions

View File

@ -4,7 +4,6 @@ import android.animation.ValueAnimator;
import android.app.Dialog;
import android.content.Context;
import android.os.Bundle;
import android.text.Html;
import android.util.Log;
import android.view.LayoutInflater;
import android.view.View;
@ -75,8 +74,6 @@ public class RemoveFeedDialog extends BottomSheetDialogFragment {
binding.archiveButton.setVisibility(View.GONE);
binding.explanationArchiveText.setVisibility(View.GONE);
}
binding.explanationArchiveText.setText(Html.fromHtml(getString(R.string.feed_delete_explanation_archive)));
binding.explanationDeleteText.setText(Html.fromHtml(getString(R.string.feed_delete_explanation_delete)));
binding.cancelButton.setOnClickListener(v -> dismiss());
binding.removeButton.setOnClickListener(v -> showRemoveConfirm());
binding.removeConfirmButton.setOnClickListener(v -> onRemoveButtonPressed());

View File

@ -208,8 +208,8 @@
<string name="remove_feed_label">Delete</string>
<string name="share_label">Share</string>
<string name="share_file_label">Share file</string>
<string name="feed_delete_explanation_delete"><![CDATA[<b>Deleting</b> will remove ALL its episodes including downloads, playback history, and statistics.]]></string>
<string name="feed_delete_explanation_archive"><![CDATA[<b>Archiving</b> will hide it from the subscription list and avoid it getting updates. Downloads, statistics and playback state are kept.]]></string>
<string name="feed_delete_explanation_delete">Deleting will remove ALL its episodes including downloads, playback history, and statistics.</string>
<string name="feed_delete_explanation_archive">Archiving will hide it from the subscription list and avoid it getting updates. Downloads, statistics and playback state are kept.</string>
<string name="load_complete_feed">Refresh complete podcast</string>
<string name="multi_select">Multi select</string>
<string name="select_all_above">Select all above</string>