mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-05 10:53:59 +00:00
i18n: fix the LGTM review findings and tidy the branch texts
- i18n scanner: lastError sink, no false sinks on defaults and ternaries - shared src/i18n/marker.js for modules that only mark strings - wind field messages move to wind/fields.js; CITY_POIS imports from cityPois.js - drop review IDs, change history and stale references from comments and docs Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
1 parent
0ed05568f7
commit
20f4cf3763
178 files changed
+918
-948
No files matched your search
+5
-10
@@ -70,17 +70,13 @@
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
/* Spanish labels run ~25% longer than English and overflow the nowrap
|
||||
.scene-btn rows inside the fixed-width CCTV panel (e.g. ENFOCAR ·
|
||||
COBERTURA DESACTIVADA · AUTO HOP DESACTIVADO). Let the rows wrap under
|
||||
es only; the English layout stays pixel-identical. */
|
||||
/* Spanish labels overflow the nowrap .scene-btn row of the fixed-width
|
||||
panel; wrap the row under es only, English stays as is. */
|
||||
html[lang='es'] .cctv-controls {
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
/* A translated label longer than its button wraps inside the button instead
|
||||
of running past the panel edge. English is excluded so its labels (AUTO HOP
|
||||
OFF) stay on one line. */
|
||||
/* A label longer than its button wraps inside it, not past the panel edge. */
|
||||
html:not([lang='en']) .cctv-controls .scene-btn {
|
||||
white-space: normal;
|
||||
overflow-wrap: break-word;
|
||||
@@ -389,9 +385,8 @@ html:not([lang='en']) .cctv-controls .scene-btn {
|
||||
text-shadow: 0 0 10px rgba(0, 212, 255, 0.18);
|
||||
}
|
||||
|
||||
/* Longer translated labels and units: tighter calibration chips keep the
|
||||
seven values to two rows so SAVE / RESET stay in view, and the camera
|
||||
select uses the compact mono face. English keeps its original look. */
|
||||
/* Tighter calibration chips keep the seven values to two rows, so
|
||||
SAVE / RESET stay in view. */
|
||||
html:not([lang='en']) .cctv-cal-readout {
|
||||
gap: 4px;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user