From 5a98d2919b55777a708e36a6994041814024a81a Mon Sep 17 00:00:00 2001 From: mbeko Date: Tue, 24 Mar 2020 21:34:10 +0100 Subject: Change UI messages for more clarity --- main/src/ui/contact_details/muc_config_form_provider.vala | 6 +++--- main/src/ui/global_search.vala | 2 +- main/src/ui/manage_accounts/add_account_dialog.vala | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) (limited to 'main') diff --git a/main/src/ui/contact_details/muc_config_form_provider.vala b/main/src/ui/contact_details/muc_config_form_provider.vala index 2b1bb6d9..f9f8d7e9 100644 --- a/main/src/ui/contact_details/muc_config_form_provider.vala +++ b/main/src/ui/contact_details/muc_config_form_provider.vala @@ -63,12 +63,12 @@ public class MucConfigFormProvider : Plugins.ContactDetailsProvider, Object { label = _("Occupants may change the subject"); break; case "muc#roomconfig_whois": - label = _("Discover real JIDs"); - desc = _("Who may discover real JIDs?"); + label = _("Permission to view JIDs"); + desc = _("Who is allowed to view the occupants' JIDs?"); break; case "muc#roomconfig_roomsecret": label = _("Password"); - desc = _("Password required for room entry, if any"); + desc = _("A password to restrict access to the room"); break; case "muc#roomconfig_moderatedroom": label = _("Moderated"); diff --git a/main/src/ui/global_search.vala b/main/src/ui/global_search.vala index 4df3c6b5..e4544015 100644 --- a/main/src/ui/global_search.vala +++ b/main/src/ui/global_search.vala @@ -137,7 +137,7 @@ public class GlobalSearch : Overlay { results_empty_stack.set_visible_child_name("results"); int match_count = messages.size < 10 ? messages.size : stream_interactor.get_module(SearchProcessor.IDENTITY).count_match_messages(search); - entry_number_label.label = "" + _("%i search results").printf(match_count) + ""; + entry_number_label.label = "" + n("%i search result", "%i search results", match_count).printf(match_count) + ""; loaded_results += messages.size; append_messages(messages); } diff --git a/main/src/ui/manage_accounts/add_account_dialog.vala b/main/src/ui/manage_accounts/add_account_dialog.vala index ab9c0a05..a30b2a14 100644 --- a/main/src/ui/manage_accounts/add_account_dialog.vala +++ b/main/src/ui/manage_accounts/add_account_dialog.vala @@ -207,7 +207,7 @@ public class AddAccountDialog : Gtk.Dialog { sign_in_password_box.visible = false; create_account_box.visible = false; register_box.visible = false; - success_description.label = _("You can now start using %s").printf("" + Markup.escape_text(account.bare_jid.to_string()) + ""); + success_description.label = _("You can now start using the account %s").printf("" + Markup.escape_text(account.bare_jid.to_string()) + ""); set_default(success_continue_button); } @@ -329,7 +329,7 @@ public class AddAccountDialog : Gtk.Dialog { if (form.oob != null) { form_box.add(new Label(_("The server requires to sign up through a website")){ visible=true } ); form_box.add(new Label(@"$(form.oob)") { use_markup=true, visible=true }); - register_form_continue_label.label = _("Open Registration"); + register_form_continue_label.label = _("Open website"); register_form_continue.visible = true; register_form_continue.grab_focus(); } else if (form.fields.size > 0) { -- cgit v1.2.3-70-g09d2