mirror of
https://github.com/YuzuZensai/Crowdin-Localization-Tools.git
synced 2026-01-06 04:33:03 +00:00
🐛 fix: table formatting
This commit is contained in:
@@ -1035,27 +1035,27 @@ function TranslatorTool() {
|
|||||||
sourceCell.textContent = match.entry.source;
|
sourceCell.textContent = match.entry.source;
|
||||||
sourceCell.style.padding = '8px';
|
sourceCell.style.padding = '8px';
|
||||||
sourceCell.style.border = '1px solid #e0e0e0';
|
sourceCell.style.border = '1px solid #e0e0e0';
|
||||||
sourceCell.style.overflow = 'hidden';
|
sourceCell.style.wordBreak = 'break-word';
|
||||||
sourceCell.style.textOverflow = 'ellipsis';
|
sourceCell.style.whiteSpace = 'normal';
|
||||||
sourceCell.style.whiteSpace = 'nowrap';
|
sourceCell.style.verticalAlign = 'top';
|
||||||
row.appendChild(sourceCell);
|
row.appendChild(sourceCell);
|
||||||
|
|
||||||
var targetCell = document.createElement('td');
|
var targetCell = document.createElement('td');
|
||||||
targetCell.textContent = match.entry.target;
|
targetCell.textContent = match.entry.target;
|
||||||
targetCell.style.padding = '8px';
|
targetCell.style.padding = '8px';
|
||||||
targetCell.style.border = '1px solid #e0e0e0';
|
targetCell.style.border = '1px solid #e0e0e0';
|
||||||
targetCell.style.overflow = 'hidden';
|
targetCell.style.wordBreak = 'break-word';
|
||||||
targetCell.style.textOverflow = 'ellipsis';
|
targetCell.style.whiteSpace = 'normal';
|
||||||
targetCell.style.whiteSpace = 'nowrap';
|
targetCell.style.verticalAlign = 'top';
|
||||||
row.appendChild(targetCell);
|
row.appendChild(targetCell);
|
||||||
|
|
||||||
var noteCell = document.createElement('td');
|
var noteCell = document.createElement('td');
|
||||||
noteCell.textContent = match.entry.note;
|
noteCell.textContent = match.entry.note;
|
||||||
noteCell.style.padding = '8px';
|
noteCell.style.padding = '8px';
|
||||||
noteCell.style.border = '1px solid #e0e0e0';
|
noteCell.style.border = '1px solid #e0e0e0';
|
||||||
noteCell.style.overflow = 'hidden';
|
noteCell.style.wordBreak = 'break-word';
|
||||||
noteCell.style.textOverflow = 'ellipsis';
|
noteCell.style.whiteSpace = 'normal';
|
||||||
noteCell.style.whiteSpace = 'nowrap';
|
noteCell.style.verticalAlign = 'top';
|
||||||
row.appendChild(noteCell);
|
row.appendChild(noteCell);
|
||||||
|
|
||||||
if (match.matchedWord) {
|
if (match.matchedWord) {
|
||||||
|
|||||||
Reference in New Issue
Block a user