fix strings for banning (use 'participant' instead 'actor')

replace key ban_actor with ban_participant

fix upper/lower case

fix to use translation in ConversationInfoActivity instead hardcoded string

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
This commit is contained in:
Marcel Hibbe 2024-08-09 12:38:19 +02:00
parent 718b450fe2
commit 5f0563aae3
No known key found for this signature in database
GPG key ID: C793F8B59F43CE7B
3 changed files with 7 additions and 7 deletions

View file

@ -1311,7 +1311,7 @@ class ConversationInfoActivity :
items.add(
BasicListItemWithImage(
R.drawable.baseline_block_24,
"Ban Participant"
context.getString(R.string.ban_participant)
)
)
}

View file

@ -16,7 +16,7 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_margin="@dimen/standard_margin"
android:text="@string/ban_actor"
android:text="@string/ban_participant"
android:textSize="@dimen/md_title_textsize" />
<com.google.android.material.divider.MaterialDivider

View file

@ -792,12 +792,12 @@ How to translate with transifex:
<string name="message_last_edited_by">Edited by %1$s</string>
<string name="share_link_to_conversation">Join conversation %1$s at %2$s</string>
<string name="nc_conversation_settings">Conversation settings</string>
<string name="show_banned_participants">Show Banned Participants</string>
<string name="bans_list">Bans List</string>
<string name="ban_participant">Ban participant</string>
<string name="show_banned_participants">Show banned participants</string>
<string name="bans_list">Bans list</string>
<string name="unban">Unban</string>
<string name="internal_note">Internal Note</string>
<string name="ban_actor">Ban Actor</string>
<string name="internal_note">Internal note</string>
<string name="ban">Ban</string>
<string name="show_ban_reason">Show ban reason</string>
<string name="error_unbanning">Error occured when unbanning actor</string>
<string name="error_unbanning">Error occurred when unbanning participant</string>
</resources>