1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-11-03 19:37:16 -05:00

Fix typos, correct grammar

This commit is contained in:
John Hernandez 2023-10-14 18:07:52 +02:00
parent 634cb586d9
commit 3c8b4acac4
4 changed files with 8 additions and 8 deletions

View File

@ -261,7 +261,7 @@ Changes:
`/affiliation register` `/affiliation register`
- Fix segfault on `/sendfile` using OMEMO on Raspberry Pi (#1512) - Fix segfault on `/sendfile` using OMEMO on Raspberry Pi (#1512)
- Use shorter IDs (#1520) - Use shorter IDs (#1520)
- Add abbility to launch external editor to write (multiline) messages (#1485, #1546) - Add ability to launch external editor to write (multiline) messages (#1485, #1546)
`/editor` `/editor`
- Introdcue OMEMO trustmode (#1506) - Introdcue OMEMO trustmode (#1506)
`/omemo trustmode manual|firstusage|blind` `/omemo trustmode manual|firstusage|blind`
@ -683,7 +683,7 @@ Changes:
- HTTP file upload (xep-0363) (/sendfile) - HTTP file upload (xep-0363) (/sendfile)
- Blocking command (xep-0191) (/blocked) - Blocking command (xep-0191) (/blocked)
- Allow auto extended away (/autoaway) - Allow auto extended away (/autoaway)
- Include last acitvity in initial presence (xep-0256) (/lastactivity) - Include last activity in initial presence (xep-0256) (/lastactivity)
- Last Activity (xep-0012) (/lastactivity) - Last Activity (xep-0012) (/lastactivity)
- Ability to run command scripts (/script) - Ability to run command scripts (/script)
- Account startscript property to execute a command script on connect (/account) - Account startscript property to execute a command script on connect (/account)

View File

@ -2325,12 +2325,12 @@ static const struct cmd_t command_defs[] = {
CMD_DESC( CMD_DESC(
"OMEMO commands to manage keys, and perform encryption during chat sessions.") "OMEMO commands to manage keys, and perform encryption during chat sessions.")
CMD_ARGS( CMD_ARGS(
{ "gen", "Generate OMEMO crytographic materials for current account." }, { "gen", "Generate OMEMO cryptographic materials for current account." },
{ "start [<contact>]", "Start an OMEMO session with contact, or current recipient if omitted." }, { "start [<contact>]", "Start an OMEMO session with contact, or current recipient if omitted." },
{ "end", "End the current OMEMO session." }, { "end", "End the current OMEMO session." },
{ "log on|off", "Enable or disable plaintext logging of OMEMO encrypted messages." }, { "log on|off", "Enable or disable plaintext logging of OMEMO encrypted messages." },
{ "log redact", "Log OMEMO encrypted messages, but replace the contents with [redacted]." }, { "log redact", "Log OMEMO encrypted messages, but replace the contents with [redacted]." },
{ "fingerprint [<contact>]", "Show contact fingerprints, or current recipient if omitted." }, { "fingerprint [<contact>]", "Show contact's fingerprints, or current recipient's if omitted." },
{ "char <char>", "Set the character to be displayed next to OMEMO encrypted messages." }, { "char <char>", "Set the character to be displayed next to OMEMO encrypted messages." },
{ "trustmode manual", "Set the global OMEMO trust mode to manual, OMEMO keys has to be trusted manually." }, { "trustmode manual", "Set the global OMEMO trust mode to manual, OMEMO keys has to be trusted manually." },
{ "trustmode firstusage", "Set the global OMEMO trust mode to ToFu, first OMEMO keys trusted automatically." }, { "trustmode firstusage", "Set the global OMEMO trust mode to ToFu, first OMEMO keys trusted automatically." },

View File

@ -8645,15 +8645,15 @@ cmd_omemo_gen(ProfWin* window, const char* const command, gchar** args)
} }
if (omemo_loaded()) { if (omemo_loaded()) {
cons_show("OMEMO crytographic materials have already been generated."); cons_show("OMEMO cryptographic materials have already been generated.");
return TRUE; return TRUE;
} }
cons_show("Generating OMEMO crytographic materials, it may take a while…"); cons_show("Generating OMEMO cryptographic materials, it may take a while…");
ui_update(); ui_update();
ProfAccount* account = accounts_get_account(session_get_account_name()); ProfAccount* account = accounts_get_account(session_get_account_name());
omemo_generate_crypto_materials(account); omemo_generate_crypto_materials(account);
cons_show("OMEMO crytographic materials generated. Your Device ID is %d.", omemo_device_id()); cons_show("OMEMO cryptographic materials generated. Your Device ID is %d.", omemo_device_id());
return TRUE; return TRUE;
#else #else
cons_show("This version of Profanity has not been built with OMEMO support enabled"); cons_show("This version of Profanity has not been built with OMEMO support enabled");

View File

@ -1843,7 +1843,7 @@ _room_config_id_handler(xmpp_stanza_t* const stanza, void* const userdata)
if (from == NULL) { if (from == NULL) {
log_warning("No from attribute for IQ config request result"); log_warning("No from attribute for IQ config request result");
ui_handle_room_configuration_form_error(from, "No from attribute for room cofig response."); ui_handle_room_configuration_form_error(from, "No from attribute for room config response.");
return 0; return 0;
} }