fix: correct typos in source code and locales (#3003)

- Fix Countrys -> Countries in comment
- Fix Scrolldown -> ScrollDown in variable name
- Fix completeTowFactor -> completeTwoFactor (3x)
- Fix deactiveTowFactor -> deactivateTwoFactor (3x)
- Fix activeOrDeactiveTwoFactor -> activeOrDeactivateTwoFactor
- Fix API route /two-factor/deactive -> /two-factor/deactivate
- Fix elment -> element in function param
- Fix synolog -> synology in comment
- Fix Chinese comment 制定 -> 指定
- Fix swapped BARK English translations on lines 360-361
This commit is contained in:
jmclulu
2026-05-31 00:32:04 +08:00
committed by GitHub
parent 2fe9470ff0
commit 3aab1233bb
9 changed files with 23 additions and 23 deletions
+1 -1
View File
@@ -18,7 +18,7 @@ export default {
/* I18n configuration, `languages` and `defaultLanguage` are required currently. */
i18n: {
/* Countrys flags: https://www.flaticon.com/packs/countrys-flags */
/* Countries flags: https://www.flaticon.com/packs/countries-flags */
languages: [
{
key: 'pt-br',
+3 -3
View File
@@ -179,7 +179,7 @@ export default function browserType() {
/**
* 获取第一个表格的可视化高度
* @param {*} extraHeight 额外的高度(表格底部的内容高度 Number类型,默认为74)
* @param {*} id 当前页面中有多个table时需要定table的id
* @param {*} id 当前页面中有多个table时需要定table的id
*/
export function getTableScroll({
extraHeight,
@@ -208,7 +208,7 @@ export function getTableScroll({
}
// 自动触发点击事件
function automaticClick(elment: HTMLElement) {
function automaticClick(element: HTMLElement) {
const ev = document.createEvent('MouseEvents');
ev.initMouseEvent(
'click',
@@ -227,7 +227,7 @@ function automaticClick(elment: HTMLElement) {
0,
null,
);
elment.dispatchEvent(ev);
element.dispatchEvent(ev);
}
// 导出文件