🐛 fix: unreadable text color

This commit is contained in:
2025-02-19 18:15:01 +07:00
parent 9222f61430
commit a44356083a
2 changed files with 5 additions and 3 deletions

View File

@@ -1,3 +1,3 @@
{ {
"latest": "1.1.1" "latest": "1.1.2"
} }

View File

@@ -1,7 +1,7 @@
// ==UserScript== // ==UserScript==
// @name Crowdin Localization Tools // @name Crowdin Localization Tools
// @namespace https://yuzu.kirameki.cafe/ // @namespace https://yuzu.kirameki.cafe/
// @version 1.1.1 // @version 1.1.2
// @description A tool for translating Crowdin projects using a CSV file // @description A tool for translating Crowdin projects using a CSV file
// @author Yuzu (YuzuZensai) // @author Yuzu (YuzuZensai)
// @match https://crowdin.com/editor/* // @match https://crowdin.com/editor/*
@@ -45,7 +45,7 @@ const CONFIG = {
fuzzyThreshold: 0.7, fuzzyThreshold: 0.7,
metadata: { metadata: {
version: "1.1.1", version: "1.1.2",
repository: "https://github.com/YuzuZensai/Crowdin-Localization-Tools", repository: "https://github.com/YuzuZensai/Crowdin-Localization-Tools",
authorGithub: "https://github.com/YuzuZensai", authorGithub: "https://github.com/YuzuZensai",
}, },
@@ -1406,6 +1406,7 @@ function TranslatorTool() {
table.style.width = "100%"; table.style.width = "100%";
table.style.borderCollapse = "collapse"; table.style.borderCollapse = "collapse";
table.style.tableLayout = "fixed"; table.style.tableLayout = "fixed";
table.style.color = "#000";
// Header // Header
var thead = document.createElement("thead"); var thead = document.createElement("thead");
@@ -1465,6 +1466,7 @@ function TranslatorTool() {
container.style.display = "flex"; container.style.display = "flex";
container.style.flexDirection = "column"; container.style.flexDirection = "column";
container.style.gap = "4px"; container.style.gap = "4px";
container.style.color = "#000";
// Add category chip first if in note column // Add category chip first if in note column
if (!isSource && !isTarget && category) { if (!isSource && !isTarget && category) {