mirror of
https://github.com/weechat/weechat.git
synced 2026-07-01 15:26:37 +02:00
spelling: case-sensitive
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
This commit is contained in:
committed by
Sébastien Helleu
parent
0505a0ff76
commit
c28696e602
@@ -8524,12 +8524,12 @@ command_init ()
|
||||
N_("Comparison operators (by order of priority):"),
|
||||
N_(" =~ is matching POSIX extended regex"),
|
||||
N_(" !~ is NOT matching POSIX extended regex"),
|
||||
N_(" ==* is matching mask, case sensitive (wildcard \"*\" is allowed)"),
|
||||
N_(" !!* is NOT matching mask, case sensitive (wildcard \"*\" is allowed)"),
|
||||
N_(" ==* is matching mask, case-sensitive (wildcard \"*\" is allowed)"),
|
||||
N_(" !!* is NOT matching mask, case-sensitive (wildcard \"*\" is allowed)"),
|
||||
N_(" =* is matching mask, case-insensitive (wildcard \"*\" is allowed)"),
|
||||
N_(" !* is NOT matching mask, case-insensitive (wildcard \"*\" is allowed)"),
|
||||
N_(" ==- is included, case sensitive"),
|
||||
N_(" !!- is NOT included, case sensitive"),
|
||||
N_(" ==- is included, case-sensitive"),
|
||||
N_(" !!- is NOT included, case-sensitive"),
|
||||
N_(" =- is included, case-insensitive"),
|
||||
N_(" !- is NOT included, case-insensitive"),
|
||||
N_(" == equal"),
|
||||
@@ -8638,7 +8638,7 @@ command_init ()
|
||||
N_("> - two regular expressions are created: "
|
||||
"one for prefix and one for message"),
|
||||
N_("> - regex are case-insensitive, they can start by "
|
||||
"\"(?-i)\" to become case sensitive"),
|
||||
"\"(?-i)\" to become case-sensitive"),
|
||||
"",
|
||||
N_("The default key alt+\"=\" toggles filtering on/off globally and "
|
||||
"alt+\"-\" toggles filtering on/off in the current buffer."),
|
||||
|
||||
@@ -3344,7 +3344,7 @@ config_weechat_init_options ()
|
||||
config_look_buffer_search_case_sensitive = config_file_new_option (
|
||||
weechat_config_file, weechat_config_section_look,
|
||||
"buffer_search_case_sensitive", "boolean",
|
||||
N_("default text search in buffer: case sensitive or not"),
|
||||
N_("default text search in buffer: case-sensitive or not"),
|
||||
NULL, 0, 0, "off", NULL, 0,
|
||||
NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
|
||||
config_look_buffer_search_history = config_file_new_option (
|
||||
@@ -3629,7 +3629,7 @@ config_weechat_init_options ()
|
||||
"highlight", "string",
|
||||
N_("comma separated list of words to highlight; case-insensitive "
|
||||
"comparison (use \"(?-i)\" at beginning of words to make them "
|
||||
"case sensitive), words may begin or end with \"*\" for partial "
|
||||
"case-sensitive), words may begin or end with \"*\" for partial "
|
||||
"match; example: \"test,(?-i)*toto*,flash*\""),
|
||||
NULL, 0, 0, "", NULL, 0,
|
||||
NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
|
||||
@@ -3641,7 +3641,7 @@ config_weechat_init_options ()
|
||||
"highlight options (if the string is found in the message, the "
|
||||
"highlight is disabled and the other options are ignored), "
|
||||
"regular expression is case-insensitive (use \"(?-i)\" at "
|
||||
"beginning to make it case sensitive), examples: "
|
||||
"beginning to make it case-sensitive), examples: "
|
||||
"\"<flash.*>\", \"(?-i)<Flash.*>\""),
|
||||
NULL, 0, 0, "", NULL, 0,
|
||||
NULL, NULL, NULL,
|
||||
@@ -3663,7 +3663,7 @@ config_weechat_init_options ()
|
||||
"has highlight or not, at least one match in string must be "
|
||||
"surrounded by delimiters (chars different from: alphanumeric, "
|
||||
"\"-\", \"_\" and \"|\"), regular expression is case-insensitive "
|
||||
"(use \"(?-i)\" at beginning to make it case sensitive), "
|
||||
"(use \"(?-i)\" at beginning to make it case-sensitive), "
|
||||
"examples: \"flashcode|flashy\", \"(?-i)FlashCode|flashy\""),
|
||||
NULL, 0, 0, "", NULL, 0,
|
||||
NULL, NULL, NULL,
|
||||
@@ -5064,7 +5064,7 @@ config_weechat_init_options ()
|
||||
config_completion_case_sensitive = config_file_new_option (
|
||||
weechat_config_file, weechat_config_section_completion,
|
||||
"case_sensitive", "boolean",
|
||||
N_("if enabled, the completion is case sensitive by default"),
|
||||
N_("if enabled, the completion is case-sensitive by default"),
|
||||
NULL, 0, 0, "on", NULL, 0,
|
||||
NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
|
||||
config_completion_command_inline = config_file_new_option (
|
||||
@@ -5095,7 +5095,7 @@ config_weechat_init_options ()
|
||||
config_completion_nick_case_sensitive = config_file_new_option (
|
||||
weechat_config_file, weechat_config_section_completion,
|
||||
"nick_case_sensitive", "boolean",
|
||||
N_("case sensitive completion for nicks"),
|
||||
N_("case-sensitive completion for nicks"),
|
||||
NULL, 0, 0, "off", NULL, 0,
|
||||
NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
|
||||
config_completion_nick_completer = config_file_new_option (
|
||||
|
||||
@@ -998,7 +998,7 @@ hdata_hashtable (struct t_hdata *hdata, void *pointer, const char *name)
|
||||
/*
|
||||
* Compares a hdata variable of two objects.
|
||||
*
|
||||
* If case_sensitive == 1, the comparison of strings is case sensitive.
|
||||
* If case_sensitive == 1, the comparison of strings is case-sensitive.
|
||||
*
|
||||
* Returns:
|
||||
* -1: variable1 < variable2
|
||||
|
||||
@@ -164,7 +164,7 @@ weelist_add (struct t_weelist *weelist, const char *data, const char *where,
|
||||
}
|
||||
|
||||
/*
|
||||
* Searches for data in a list (case sensitive).
|
||||
* Searches for data in a list (case-sensitive).
|
||||
*
|
||||
* Returns pointer to item found, NULL if not found.
|
||||
*/
|
||||
@@ -188,7 +188,7 @@ weelist_search (struct t_weelist *weelist, const char *data)
|
||||
}
|
||||
|
||||
/*
|
||||
* Searches for data in a list (case sensitive).
|
||||
* Searches for data in a list (case-sensitive).
|
||||
*
|
||||
* Returns position of item found (>= 0), -1 if not found.
|
||||
*/
|
||||
|
||||
@@ -516,7 +516,7 @@ string_toupper_range (const char *string, int range)
|
||||
}
|
||||
|
||||
/*
|
||||
* Compares two chars (case sensitive).
|
||||
* Compares two chars (case-sensitive).
|
||||
*
|
||||
* Returns: arithmetic result of subtracting the first UTF-8 char in string2
|
||||
* from the first UTF-8 char in string1:
|
||||
@@ -607,7 +607,7 @@ string_charcasecmp_range (const char *string1, const char *string2, int range)
|
||||
}
|
||||
|
||||
/*
|
||||
* Compares two strings (case sensitive).
|
||||
* Compares two strings (case-sensitive).
|
||||
*
|
||||
* Returns: arithmetic result of subtracting the last compared UTF-8 char in
|
||||
* string2 from the last compared UTF-8 char in string1:
|
||||
@@ -641,7 +641,7 @@ string_strcmp (const char *string1, const char *string2)
|
||||
}
|
||||
|
||||
/*
|
||||
* Compares two strings with max length (case sensitive).
|
||||
* Compares two strings with max length (case-sensitive).
|
||||
*
|
||||
* Returns: arithmetic result of subtracting the last compared UTF-8 char in
|
||||
* string2 from the last compared UTF-8 char in string1:
|
||||
|
||||
@@ -942,7 +942,7 @@ hook_command_display_error_unknown (const char *command)
|
||||
NULL,
|
||||
0, GUI_FILTER_TAG_NO_FILTER,
|
||||
(found_diff_case_only > 0) ?
|
||||
_("%sUnknown command \"%s\" (commands are case sensitive, "
|
||||
_("%sUnknown command \"%s\" (commands are case-sensitive, "
|
||||
"type /help for help), "
|
||||
"commands with similar name: %s") :
|
||||
_("%sUnknown command \"%s\" (type /help for help), "
|
||||
|
||||
@@ -1320,7 +1320,7 @@ gui_buffer_string_replace_local_var (struct t_gui_buffer *buffer,
|
||||
* List is a comma-separated list of buffers, where exclusion is possible with
|
||||
* char '!', and "*" means all buffers.
|
||||
*
|
||||
* Comparison is case sensitive.
|
||||
* Comparison is case-sensitive.
|
||||
*
|
||||
* Examples:
|
||||
* "*"
|
||||
|
||||
@@ -162,7 +162,7 @@ struct t_gui_buffer
|
||||
|
||||
/* nicklist */
|
||||
int nicklist; /* = 1 if nicklist is enabled */
|
||||
int nicklist_case_sensitive; /* nicks are case sensitive ? */
|
||||
int nicklist_case_sensitive; /* nicks are case-sensitive ? */
|
||||
struct t_gui_nick_group *nicklist_root; /* pointer to groups root */
|
||||
int nicklist_max_length; /* max length for a nick */
|
||||
int nicklist_display_groups; /* display groups ? */
|
||||
@@ -225,7 +225,7 @@ struct t_gui_buffer
|
||||
enum t_gui_buffer_search text_search; /* text search type */
|
||||
enum t_gui_buffer_search_dir text_search_direction;
|
||||
/* search dir.: backward/forward */
|
||||
int text_search_exact; /* case sensitive search? */
|
||||
int text_search_exact; /* case-sensitive search? */
|
||||
int text_search_regex; /* search with a regex */
|
||||
regex_t *text_search_regex_compiled; /* regex used to search */
|
||||
int text_search_where; /* prefix and/or msg */
|
||||
|
||||
@@ -411,7 +411,7 @@ gui_completion_nickncmp (const char *base_word, const char *nick, int max)
|
||||
}
|
||||
|
||||
/*
|
||||
* Compares two strings (follows case sensitive flag in completion structure).
|
||||
* Compares two strings (follows case-sensitive flag in completion structure).
|
||||
*
|
||||
* Returns:
|
||||
* < 0: string1 < string2
|
||||
@@ -431,7 +431,7 @@ gui_completion_strcmp (struct t_gui_completion *completion,
|
||||
}
|
||||
|
||||
/*
|
||||
* Compares two strings with max length (follows case sensitive flag in
|
||||
* Compares two strings with max length (follows case-sensitive flag in
|
||||
* completion structure).
|
||||
*
|
||||
* Returns:
|
||||
|
||||
@@ -45,7 +45,7 @@ struct t_gui_completion
|
||||
/* completion context */
|
||||
struct t_gui_buffer *buffer; /* buffer where completion was asked */
|
||||
int context; /* context: null, nick, command, cmd arg */
|
||||
int case_sensitive; /* case sensitive completion? */
|
||||
int case_sensitive; /* case-sensitive completion? */
|
||||
char *base_command; /* cmd with arg to complete (can be NULL) */
|
||||
int base_command_arg_index; /* # arg to complete (if context=cmd arg) */
|
||||
char *base_word; /* word to complete (when Tab was pressed) */
|
||||
|
||||
+2
-2
@@ -243,7 +243,7 @@ gui_nick_strdup_for_color (const char *nickname)
|
||||
/*
|
||||
* Finds a color name for a nick (according to nick letters).
|
||||
*
|
||||
* If case_range < 0, nick is case sensitive.
|
||||
* If case_range < 0, nick is case-sensitive.
|
||||
* If case_range == 0, nick is converted to lower case (with string_tolower).
|
||||
* If case_range > 0, nick is converted to lower case (with string_tolower_range).
|
||||
*
|
||||
@@ -333,7 +333,7 @@ end:
|
||||
/*
|
||||
* Finds a color code for a nick (according to nick letters).
|
||||
*
|
||||
* If case_range < 0, nick is case sensitive.
|
||||
* If case_range < 0, nick is case-sensitive.
|
||||
* If case_range == 0, nick is converted to lower case (with string_tolower).
|
||||
* If case_range > 0, nick is converted to lower case (with string_tolower_range).
|
||||
*
|
||||
|
||||
@@ -7410,7 +7410,7 @@ irc_command_init ()
|
||||
N_("nick: nick or hostname; can be a POSIX extended regular expression "
|
||||
"if \"re:\" is given or a mask using \"*\" to replace zero or more "
|
||||
"chars (the regular expression can start with \"(?-i)\" to become "
|
||||
"case sensitive)"),
|
||||
"case-sensitive)"),
|
||||
N_("raw[del]: delete an ignore"),
|
||||
N_("number: number of ignore to delete (look at list to find it)"),
|
||||
N_("raw[-all]: delete all ignores"),
|
||||
|
||||
@@ -3416,7 +3416,7 @@ irc_config_init ()
|
||||
"highlight_channel", "string",
|
||||
N_("comma separated list of words to highlight in channel buffers "
|
||||
"(case-insensitive, use \"(?-i)\" at beginning of words to "
|
||||
"make them case sensitive; special variables $nick, $channel and "
|
||||
"make them case-sensitive; special variables $nick, $channel and "
|
||||
"$server are replaced by their values), these words are added to "
|
||||
"buffer property \"highlight_words\" only when buffer is created "
|
||||
"(it does not affect current buffers), an empty string disables "
|
||||
@@ -3428,7 +3428,7 @@ irc_config_init ()
|
||||
"highlight_pv", "string",
|
||||
N_("comma separated list of words to highlight in private buffers "
|
||||
"(case-insensitive, use \"(?-i)\" at beginning of words to "
|
||||
"make them case sensitive; special variables $nick, $channel and "
|
||||
"make them case-sensitive; special variables $nick, $channel and "
|
||||
"$server are replaced by their values), these words are added to "
|
||||
"buffer property \"highlight_words\" only when buffer is created "
|
||||
"(it does not affect current buffers), an empty string disables "
|
||||
@@ -3440,7 +3440,7 @@ irc_config_init ()
|
||||
"highlight_server", "string",
|
||||
N_("comma separated list of words to highlight in server buffers "
|
||||
"(case-insensitive, use \"(?-i)\" at beginning of words to "
|
||||
"make them case sensitive; special variables $nick, $channel and "
|
||||
"make them case-sensitive; special variables $nick, $channel and "
|
||||
"$server are replaced by their values), these words are added to "
|
||||
"buffer property \"highlight_words\" only when buffer is created "
|
||||
"(it does not affect current buffers), an empty string disables "
|
||||
|
||||
@@ -627,7 +627,7 @@ components:
|
||||
example: true
|
||||
nicklist_case_sensitive:
|
||||
type: boolean
|
||||
description: groups and nicks are case sensitive
|
||||
description: groups and nicks are case-sensitive
|
||||
example: false
|
||||
nicklist_display_groups:
|
||||
type: boolean
|
||||
|
||||
@@ -1760,7 +1760,7 @@ relay_config_init ()
|
||||
"websocket_allowed_origins", "string",
|
||||
N_("POSIX extended regular expression with origins allowed in "
|
||||
"websockets (case-insensitive, use \"(?-i)\" at beginning to "
|
||||
"make it case sensitive), example: "
|
||||
"make it case-sensitive), example: "
|
||||
"\"^https?://(www\\.)?example\\.(com|org)\""),
|
||||
NULL, 0, 0, "", NULL, 0,
|
||||
NULL, NULL, NULL,
|
||||
|
||||
Reference in New Issue
Block a user