From 2eb72346d9762ae46a49ec1736f2f213bda46eb4 Mon Sep 17 00:00:00 2001 From: Navy Date: Mon, 10 May 2021 15:39:05 +0300 Subject: [PATCH] lang stuff --- structure/language/LocaleLoader.js | 2 +- .../languages/en_us/en_us_settings.lang | 32 ++++++++++++++++--- 2 files changed, 29 insertions(+), 5 deletions(-) diff --git a/structure/language/LocaleLoader.js b/structure/language/LocaleLoader.js index b8138d8..019a0d4 100644 --- a/structure/language/LocaleLoader.js +++ b/structure/language/LocaleLoader.js @@ -61,7 +61,7 @@ class LocaleLoader { let matched = null; let text = []; for(const line of lines) { - if(line.startsWith('//')) continue; + if(line.startsWith('//') || line.startsWith('#')) continue; const matches = line.match(/\[([_A-Z0-9]{1,})\]/u); if(matches) { if (matched) { diff --git a/structure/language/languages/en_us/en_us_settings.lang b/structure/language/languages/en_us/en_us_settings.lang index 68fa451..4a22d65 100644 --- a/structure/language/languages/en_us/en_us_settings.lang +++ b/structure/language/languages/en_us/en_us_settings.lang @@ -733,11 +733,35 @@ The following roles are ignored by chatlogs: {roles} [S_MESSAGELOG_CHANNELS_LIST] The following channels are ignored by chatlogs: {channels} -[S_MESSAGELOG_ROLES] -Successfully {action} the following roles: {changed} +[S_MESSAGELOG_IGNORE_ADD] +Successfully added {changed} to be ignored by the message logger. -[S_MESSAGELOG_CHANNELS] -Successfully {action} the following channels: {changed} +[S_MESSAGELOG_IGNORE_REMOVE] +Successfully removed {changed} from being ignored by the message logger. + +[S_MESSAGELOG_IGNORE_SET] +Successfully set {changed} to be ignored by the message logger. + +[S_MESSAGELOG_IGNORE_RESET] +Successfully reset the ignored channels for the message logger. + +[S_MESSAGELOG_BYPASS_ADD] +Successfully added {changed} to be ignored by the message logger. + +[S_MESSAGELOG_BYPASS_REMOVE] +Successfully removed {changed} from being ignored by the message logger. + +[S_MESSAGELOG_BYPASS_SET] +Successfully set {changed} to be ignored by the message logger. + +[S_MESSAGELOG_BYPASS_RESET] +Successfully reset the ignored channels for the message logger. + +# [S_MESSAGELOG_ROLES] +# Successfully {action} the following roles: {changed} + +# [S_MESSAGELOG_CHANNELS] +# Successfully {action} the following channels: {changed} [S_MESSAGELOG_ATTACHMENTS] Successfully turned attachment logging **{changed}**.