mirror of
https://github.com/deltachat/deltachat-android.git
synced 2025-10-04 02:09:39 +02:00
rework strings
This commit is contained in:
parent
33f07b584b
commit
defac037de
131 changed files with 905 additions and 1662 deletions
|
@ -189,7 +189,7 @@ public class QuoteView extends FrameLayout implements RecipientModifiedListener
|
|||
boolean outgoing = messageType != MESSAGE_TYPE_INCOMING;
|
||||
boolean isOwnNumber = Util.isOwnNumber(getContext(), author.getAddress());
|
||||
|
||||
authorView.setText(isOwnNumber ? getContext().getString(R.string.QuoteView_you)
|
||||
authorView.setText(isOwnNumber ? getContext().getString(R.string.self)
|
||||
: author.toShortString());
|
||||
|
||||
// We use the raw color resource because Android 4.x was struggling with tints here
|
||||
|
@ -215,13 +215,13 @@ public class QuoteView extends FrameLayout implements RecipientModifiedListener
|
|||
|
||||
// Given that most types have images, we specifically check images last
|
||||
if (!audioSlides.isEmpty()) {
|
||||
mediaDescriptionText.setText(R.string.QuoteView_audio);
|
||||
mediaDescriptionText.setText(R.string.audio);
|
||||
} else if (!documentSlides.isEmpty()) {
|
||||
mediaDescriptionText.setVisibility(GONE);
|
||||
} else if (!videoSlides.isEmpty()) {
|
||||
mediaDescriptionText.setText(R.string.QuoteView_video);
|
||||
mediaDescriptionText.setText(R.string.video);
|
||||
} else if (!imageSlides.isEmpty()) {
|
||||
mediaDescriptionText.setText(R.string.QuoteView_photo);
|
||||
mediaDescriptionText.setText(R.string.image);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue