mirror of
https://github.com/nextcloud/talk-android
synced 2025-07-09 13:59:48 +01:00
modify strings
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
This commit is contained in:
parent
1670ff181f
commit
d6a2a1fe27
@ -1231,10 +1231,18 @@ class ChatActivity :
|
|||||||
}
|
}
|
||||||
val deleteNoticeText = binding.conversationDeleteNotice.findViewById<TextView>(R.id.deletion_message)
|
val deleteNoticeText = binding.conversationDeleteNotice.findViewById<TextView>(R.id.deletion_message)
|
||||||
|
|
||||||
deleteNoticeText.text = String.format(
|
if(currentConversation?.objectType!= ConversationEnums.ObjectType.INSTANT_MEETING){
|
||||||
resources.getString(R.string.nc_conversation_auto_delete_notice),
|
deleteNoticeText.text = String.format(
|
||||||
retentionPeriod
|
resources.getString(R.string.nc_conversation_auto_delete_notice),
|
||||||
)
|
retentionPeriod
|
||||||
|
)
|
||||||
|
}else{
|
||||||
|
deleteNoticeText.text = String.format(
|
||||||
|
resources.getString(R.string.nc_conversation_auto_delete_warning),
|
||||||
|
retentionPeriod
|
||||||
|
)
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
binding.conversationDeleteNotice.findViewById<MaterialButton>(R.id.delete_now_button).setOnClickListener {
|
binding.conversationDeleteNotice.findViewById<MaterialButton>(R.id.delete_now_button).setOnClickListener {
|
||||||
deleteConversationDialog(it.context)
|
deleteConversationDialog(it.context)
|
||||||
|
@ -513,8 +513,10 @@ How to translate with transifex:
|
|||||||
<string name="nc_reply">Reply</string>
|
<string name="nc_reply">Reply</string>
|
||||||
<string name="nc_reply_privately">Reply privately</string>
|
<string name="nc_reply_privately">Reply privately</string>
|
||||||
<string name="nc_delete_message">Delete</string>
|
<string name="nc_delete_message">Delete</string>
|
||||||
<string name="nc_conversation_auto_delete_notice">This conversation will be automatically deleted in %1$d days of
|
<string name="nc_conversation_auto_delete_notice">This conversation will be automatically deleted for everyone in
|
||||||
no activity</string>
|
%1$d days of no activity</string>
|
||||||
|
<string name="nc_conversation_auto_delete_warning">This conversation will be automatically deleted for everyone in
|
||||||
|
%1$d day of no activity</string>
|
||||||
<string name="nc_delete_now">Delete now</string>
|
<string name="nc_delete_now">Delete now</string>
|
||||||
<string name="nc_keep">Keep</string>
|
<string name="nc_keep">Keep</string>
|
||||||
<string name="nc_delete_message_leaked_to_matterbridge">Message deleted successfully, but it might have been
|
<string name="nc_delete_message_leaked_to_matterbridge">Message deleted successfully, but it might have been
|
||||||
|
Loading…
Reference in New Issue
Block a user