modify strings

Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
This commit is contained in:
sowjanyakch 2024-10-23 11:19:33 +02:00
parent 986f19a8ae
commit 81040e3eb9
No known key found for this signature in database
GPG Key ID: F7AA2A8B65B50220
2 changed files with 3 additions and 8 deletions

View File

@ -412,16 +412,11 @@ class ConversationItem(
}
} else if (MessageType.DECK_CARD == chatMessage?.getCalculateMessageType()) {
return if (chatMessage?.actorId == chatMessage?.activeUser!!.userId) {
String.format(
sharedApplication!!.getString(R.string.nc_sent_deck_card_you),
chatMessage?.messageParameters?.get("object")?.get("name")
)
sharedApplication!!.getString(R.string.nc_sent_deck_card_you)
} else {
String.format(
sharedApplication!!.resources.getString(R.string.nc_sent_deck_card),
chatMessage?.getNullsafeActorDisplayName(),
chatMessage?.messageParameters?.get("object")?.get("name")
)
}
}

View File

@ -407,7 +407,7 @@ How to translate with transifex:
<string name="nc_sent_poll" formatted="true">%1$s sent a poll.</string>
<string name="nc_sent_location" formatted="true">%1$s sent a location.</string>
<string name="nc_sent_voice" formatted="true">%1$s sent a voice message.</string>
<string name="nc_sent_deck_card" formatted="true">%1$s: %2$s</string>
<string name="nc_sent_deck_card" formatted="true">%1$s sent a deck card</string>
<string name="nc_sent_a_gif_you">You sent a GIF.</string>
<string name="nc_sent_an_attachment_you">You sent an attachment.</string>
<string name="nc_sent_an_audio_you">You sent an audio.</string>
@ -416,7 +416,7 @@ How to translate with transifex:
<string name="nc_sent_poll_you">You sent a poll.</string>
<string name="nc_sent_location_you">You sent a location.</string>
<string name="nc_sent_voice_you">You sent a voice message.</string>
<string name="nc_sent_deck_card_you">You: %1$s</string>
<string name="nc_sent_deck_card_you">You sent a deck card</string>
<string name="nc_formatted_message" translatable="false">%1$s: %2$s</string>
<string name="nc_message_quote_cancel_reply">Cancel reply</string>
<!-- When translating to German, please use non-formal variant -->