Skip to content

Commit

Permalink
fixes for text addons
Browse files Browse the repository at this point in the history
  • Loading branch information
zoff99 committed May 6, 2024
1 parent fd4d174 commit 6927d3e
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ fun AddFriend() = Box {
catch(_: java.lang.Exception)
{
}
contactstore.add(item = ContactItem(name = i18n("ui.addfriend.new_friend") + friendnum,
contactstore.add(item = ContactItem(name = i18n("ui.addfriend.new_friend") + " #" + friendnum,
isConnected = 0,
pubkey = friend_pubkey!!,
push_url = "",
Expand Down
4 changes: 2 additions & 2 deletions src/main/kotlin/org/briarproject/briar/desktop/ui/AddGroup.kt
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ fun AddGroup() = Box {
try
{
val new_privacy_state = MainActivity.tox_group_get_privacy_state(new_group_num)
val group_name = i18n("ui.group.group") + new_group_num
val group_name = i18n("ui.group.group") + " #" + new_group_num
val group_num_peers = MainActivity.tox_group_peer_count(new_group_num)
groupstore.add(item = GroupItem(numPeers = group_num_peers.toInt(),
name = group_name!!, isConnected = 0,
Expand Down Expand Up @@ -166,7 +166,7 @@ fun AddGroup() = Box {
Spacer(modifier = Modifier.width(35.dp))
Text(fontWeight = FontWeight.ExtraBold,
fontSize = 16.sp,
text =i18n("ui.group.important_notice"))
text =i18n("ui.group.important_notice") + " ")
Text(fontWeight = FontWeight.Normal,
fontSize = 16.sp,
text =i18n("ui.group.joining_minutes"))
Expand Down
6 changes: 3 additions & 3 deletions src/main/resources/strings/trifa_material.properties
Original file line number Diff line number Diff line change
Expand Up @@ -35,17 +35,17 @@ about.trifa_material_version=TRIfA Material Version
ui.addfriend.invite_friend=invite Friend
ui.addfriend.add_friend_toxid=enter Friend's ToxID ...
ui.addfriend.add_me=please add me
ui.addfriend.new_friend=new Friend #
ui.addfriend.new_friend=new Friend
ui.addfriend.invited_Friend=You have invited a new Friend
ui.group.enter_groupid=enter GroupID to join ...
ui.group.group=Group #
ui.group.group=Group
ui.group.joined_new_group=You joined new Group
ui.group.error_joining=Error joining the Group
ui.group.join_group=join Group
ui.group.joined_the=You joined the Public Information Group
ui.group.error_joining_public=Error joining the Public Information Group
ui.group.join_public=join the Public Information Group
ui.group.important_notice=Important Notice:
ui.group.important_notice=Important Notice:
ui.group.joining_minutes=Joining a Tox Public group for the first time can take a long time, even up to 30 minutes
ui.group.enter_group_name=enter Group Name
ui.group.created_new_public=You created new public Group
Expand Down

0 comments on commit 6927d3e

Please sign in to comment.