From 307c2edf89e7bf661cdd76c0a578c6073af9e999 Mon Sep 17 00:00:00 2001 From: Lastorder <18280396+Lastorder-DC@users.noreply.github.com> Date: Tue, 15 Jul 2025 09:59:26 +0900 Subject: [PATCH] Fix typos in documentation and translation strings --- classes/validator/Validator.class.php | 4 ++-- .../HTMLPurifier/ConfigSchema/schema/Attr.IDPrefixLocal.txt | 4 ++-- .../library/HTMLPurifier/Strategy/FixNesting.php | 2 +- modules/autoinstall/autoinstall.model.php | 2 +- modules/board/board.admin.view.php | 2 +- modules/communication/lang/en.php | 2 +- modules/importer/importer.admin.controller.php | 2 +- modules/member/member.controller.php | 2 +- modules/menu/menu.admin.model.php | 2 +- modules/module/lang/en.php | 2 +- modules/point/point.admin.controller.php | 2 +- modules/point/point.admin.view.php | 2 +- modules/poll/poll.model.php | 6 +++--- modules/poll/skins/default/skin.xml | 2 +- 14 files changed, 18 insertions(+), 18 deletions(-) diff --git a/classes/validator/Validator.class.php b/classes/validator/Validator.class.php index b8f563648..4d4883f3e 100644 --- a/classes/validator/Validator.class.php +++ b/classes/validator/Validator.class.php @@ -389,8 +389,8 @@ class Validator } /** - * Returns the last error infomation including a field name and an error message. - * @return array The last error infomation + * Returns the last error information including a field name and an error message. + * @return array The last error information */ function getLastError() { diff --git a/common/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/Attr.IDPrefixLocal.txt b/common/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/Attr.IDPrefixLocal.txt index 2c5924a7a..a82277086 100644 --- a/common/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/Attr.IDPrefixLocal.txt +++ b/common/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/Attr.IDPrefixLocal.txt @@ -6,9 +6,9 @@ DEFAULT: '' Temporary prefix for IDs used in conjunction with %Attr.IDPrefix. If you need to allow multiple sets of user content on web page, you may need to have a seperate prefix that changes with each iteration. This way, -seperately submitted user content displayed on the same page doesn't +separately submitted user content displayed on the same page doesn't clobber each other. Ideal values are unique identifiers for the content it represents (i.e. the id of the row in the database). Be sure to add a -seperator (like an underscore) at the end. Warning: this directive will +separator (like an underscore) at the end. Warning: this directive will not work unless %Attr.IDPrefix is set to a non-empty value! --# vim: et sw=4 sts=4 diff --git a/common/vendor/ezyang/htmlpurifier/library/HTMLPurifier/Strategy/FixNesting.php b/common/vendor/ezyang/htmlpurifier/library/HTMLPurifier/Strategy/FixNesting.php index 6fa673db9..f193933f6 100644 --- a/common/vendor/ezyang/htmlpurifier/library/HTMLPurifier/Strategy/FixNesting.php +++ b/common/vendor/ezyang/htmlpurifier/library/HTMLPurifier/Strategy/FixNesting.php @@ -20,7 +20,7 @@ * The second objective is to ensure that explicitly excluded elements of * an element do not appear in its children. Code that accomplishes this * task is pervasive through the strategy, though the two are distinct tasks - * and could, theoretically, be seperated (although it's not recommended). + * and could, theoretically, be separated (although it's not recommended). * * @note Whether or not unrecognized children are silently dropped or * translated into text depends on the child definitions. diff --git a/modules/autoinstall/autoinstall.model.php b/modules/autoinstall/autoinstall.model.php index 787e3d05c..f4d886626 100644 --- a/modules/autoinstall/autoinstall.model.php +++ b/modules/autoinstall/autoinstall.model.php @@ -157,7 +157,7 @@ class autoinstallModel extends autoinstall * @param int $depth Depth of category * @param array $list Category list * @param array $resultList Final result list - * @return string $siblingList Comma seperated list + * @return string $siblingList Comma separated list */ function setDepth(&$item, $depth, &$list, &$resultList) { diff --git a/modules/board/board.admin.view.php b/modules/board/board.admin.view.php index 654c4347e..635177ce6 100644 --- a/modules/board/board.admin.view.php +++ b/modules/board/board.admin.view.php @@ -25,7 +25,7 @@ class BoardAdminView extends Board { // generate module model object $oModuleModel = getModel('module'); - // get the module infomation based on the module_srl + // get the module information based on the module_srl if($module_srl) { $module_info = $oModuleModel->getModuleInfoByModuleSrl($module_srl); if(!$module_info) { diff --git a/modules/communication/lang/en.php b/modules/communication/lang/en.php index 8c2ab9404..3e0b5cfe5 100644 --- a/modules/communication/lang/en.php +++ b/modules/communication/lang/en.php @@ -44,7 +44,7 @@ $lang->msg_send_mail_admin_only = 'The email option can only be used by the admi $lang->message_notice = 'Send a message to the author about this. If you don\'t write a message, it is not sent.'; $lang->friends_page_does_not_support = 'Friends in a mobile environment is not supported. Please go to the PC page.'; $lang->communication_send_message_grant = 'Send Message Grant'; -$lang->cmd_manage_base = 'Basic infomation'; +$lang->cmd_manage_base = 'Basic information'; $lang->alert_new_message_arrived = 'You have %d new message(s). Do you want to check it now?'; $lang->enable_communication_friend = 'Friend Enable'; $lang->enable_communication_message = 'Message Enable'; diff --git a/modules/importer/importer.admin.controller.php b/modules/importer/importer.admin.controller.php index 1c91c230e..d3960a17c 100644 --- a/modules/importer/importer.admin.controller.php +++ b/modules/importer/importer.admin.controller.php @@ -1018,7 +1018,7 @@ class importerAdminController extends importer } else { - // Get parent comment infomation + // Get parent comment information $parent_args = new stdClass(); $parent_args->comment_srl = $obj->parent_srl; $parent_output = executeQuery('comment.getCommentListItem', $parent_args); diff --git a/modules/member/member.controller.php b/modules/member/member.controller.php index 4242dce4a..95329cb27 100644 --- a/modules/member/member.controller.php +++ b/modules/member/member.controller.php @@ -4013,7 +4013,7 @@ class MemberController extends Member $logged_info = Context::get('logged_info'); $spam_description = trim( Context::get('spam_description') ); - // get member current infomation + // get member current information $member_info = MemberModel::getMemberInfoByMemberSrl($member_srl); $cnt_comment = CommentModel::getCommentCountByMemberSrl($member_srl); $cnt_document = DocumentModel::getDocumentCountByMemberSrl($member_srl); diff --git a/modules/menu/menu.admin.model.php b/modules/menu/menu.admin.model.php index 4f4907675..cafff1ab2 100644 --- a/modules/menu/menu.admin.model.php +++ b/modules/menu/menu.admin.model.php @@ -149,7 +149,7 @@ class MenuAdminModel extends Menu /** * Return item information of the menu_srl - * group_srls uses a seperator with comma(,) and converts to an array by explode + * group_srls uses a separator with comma(,) and converts to an array by explode * @param int $menu_item_srl * @return object */ diff --git a/modules/module/lang/en.php b/modules/module/lang/en.php index 84b82034f..6fa5a0cff 100644 --- a/modules/module/lang/en.php +++ b/modules/module/lang/en.php @@ -111,7 +111,7 @@ $lang->about_search_virtual_site = 'Enter domain of virtual sites. To search mod $lang->about_extra_vars_eid_value = 'This is the unique ID for this field.
You can use a combination of Latin alphabets, numbers and underscore(_), as long as it starts with an alphabet.'; $lang->about_extra_vars_column_name = 'This is the name that is actually shown to users.'; $lang->about_extra_vars_description = 'The description entered here will be shown next to the input field.'; -$lang->about_langcode = 'If you want to configure seperately, use \'find language code\''; +$lang->about_langcode = 'If you want to configure separately, use \'find language code\''; $lang->about_file_extension = 'Only %s extension(s) is available.'; $lang->fail_module_regist = 'Fail Regist Module'; $lang->multilingual_desc = 'Rhymix supports 12 languages currently. If you want to use another language, translate one set of languages in /common/lang/ folder into that language and send it to us (devops@rhymix.org).'; diff --git a/modules/point/point.admin.controller.php b/modules/point/point.admin.controller.php index 7c9cb310f..71266223d 100644 --- a/modules/point/point.admin.controller.php +++ b/modules/point/point.admin.controller.php @@ -316,7 +316,7 @@ class PointAdminController extends Point // A variable to store member's points $member = array(); - // Get member infomation + // Get member information $output = executeQueryArray('point.getMemberCount'); if(!$output->toBool()) return $output; diff --git a/modules/point/point.admin.view.php b/modules/point/point.admin.view.php index cb686ef5f..745f4952d 100644 --- a/modules/point/point.admin.view.php +++ b/modules/point/point.admin.view.php @@ -12,7 +12,7 @@ class PointAdminView extends Point */ function init() { - // Get teh configuration information + // Get the configuration information $oModuleModel = getModel('module'); $config = $oModuleModel->getModuleConfig('point'); // Set the configuration variable diff --git a/modules/poll/poll.model.php b/modules/poll/poll.model.php index ee55628bb..6f3c1cc40 100644 --- a/modules/poll/poll.model.php +++ b/modules/poll/poll.model.php @@ -15,7 +15,7 @@ class PollModel extends Poll } /** - * @brief returns poll infomation + * @brief returns poll information */ public function _getPollinfo($poll_srl) { @@ -78,7 +78,7 @@ class PollModel extends Poll } /** - * @brief returns poll infomation + * @brief returns poll information */ public function getPollinfo() { @@ -89,7 +89,7 @@ class PollModel extends Poll } /** - * @brief returns poll item infomation + * @brief returns poll item information */ public function getPollitemInfo() { diff --git a/modules/poll/skins/default/skin.xml b/modules/poll/skins/default/skin.xml index 32f822982..f6ef18029 100644 --- a/modules/poll/skins/default/skin.xml +++ b/modules/poll/skins/default/skin.xml @@ -3,7 +3,7 @@ 설문조사 기본 스킨 投票系统默认皮肤 アンケート調査デフォルトスキン - Default Skin of teh Poll + Default Skin of the Poll Skin mặc định của thăm dò 投票系統預設面板 Oylamanın Varsayılan Dış Görünümü