aboutsummaryrefslogtreecommitdiff
path: root/main
diff options
context:
space:
mode:
authormbeko <mbeko@users.noreply.github.com>2020-03-24 21:34:10 +0100
committerfiaxh <git@lightrise.org>2020-03-24 22:19:38 +0100
commit5a98d2919b55777a708e36a6994041814024a81a (patch)
treeaa8df5608d57cf5879b221b87daefa1712fd4721 /main
parent909689827e2472a8e2e16f7fd0f3da6cf84823b9 (diff)
downloaddino-5a98d2919b55777a708e36a6994041814024a81a.tar.gz
dino-5a98d2919b55777a708e36a6994041814024a81a.zip
Change UI messages for more clarity
Diffstat (limited to 'main')
-rw-r--r--main/src/ui/contact_details/muc_config_form_provider.vala6
-rw-r--r--main/src/ui/global_search.vala2
-rw-r--r--main/src/ui/manage_accounts/add_account_dialog.vala4
3 files changed, 6 insertions, 6 deletions
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>" + _("%i search results").printf(match_count) + "</i>";
+ entry_number_label.label = "<i>" + n("%i search result", "%i search results", match_count).printf(match_count) + "</i>";
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("<b>" + Markup.escape_text(account.bare_jid.to_string()) + "</b>");
+ success_description.label = _("You can now start using the account %s").printf("<b>" + Markup.escape_text(account.bare_jid.to_string()) + "</b>");
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(@"<a href=\"$(form.oob)\">$(form.oob)</a>") { 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) {