diff --git a/changelog.d/1844-sfc-credits.md b/changelog.d/1844-sfc-credits.md
new file mode 100644
index 0000000000..df9de4f430
--- /dev/null
+++ b/changelog.d/1844-sfc-credits.md
@@ -0,0 +1,3 @@
+- The data credits line and its list are now a single-file component. The
+ close button is the kit's, and a focused link keeps focus when the list
+ redraws (manjunath22466, samehkhamis, #1844).
diff --git a/changelog.d/1845-sfc-quebec-cctv.md b/changelog.d/1845-sfc-quebec-cctv.md
new file mode 100644
index 0000000000..10ea7d1feb
--- /dev/null
+++ b/changelog.d/1845-sfc-quebec-cctv.md
@@ -0,0 +1,3 @@
+- The Québec CCTV camera window and its map marker are now a single-file
+ component with the kit's close and buttons, and the window's labels follow
+ the language at each update (manjunath22466, samehkhamis, #1845).
diff --git a/docs/VUE-MIGRATION.md b/docs/VUE-MIGRATION.md
index ebb3b1d4cc..7b20c82fe5 100644
--- a/docs/VUE-MIGRATION.md
+++ b/docs/VUE-MIGRATION.md
@@ -108,9 +108,9 @@ no tip unless the site passes a `title`; attributes and classes pass through,
so each site keeps its id, feature class and look. Every close, dismiss and
clear button in the views is one (`src/ui/kit/closeButtons.test.mjs` pins
it); Street Level's and the space mission's keep `bare`, since their skins
-set their own padding and border. The Omnibar guide's close is one too,
-keeping its feature class and tip. The close buttons built in script
-(credits, the Quebec CCTV overlay) are not converted yet.
+set their own padding and border, and so does the credits list's. The
+Quebec CCTV overlay's close is one too, and so is the Omnibar guide's,
+which keeps its feature class and tip.
`UiSearchField` takes `v-model`, a required `label` (the input's
accessible name), `placeholder` and `tag` (`div`, given `role="search"` by
the site, or `label`); attributes and classes go to the frame, and
@@ -178,6 +178,12 @@ page declares no dark `color-scheme`. Selects and number fields are
and keeps native spinners dark; ranges are `.gev-quantitative-slider`, with
a feature supplying only its accent.
+`t()` is not reactive. Words a view passes to a kit component as a prop
+(`UiCloseButton`'s `label`) follow a locale change on the view's next
+render, but words in a kit component's slot do not: the compiled slot does
+not render the child again. A view whose words must follow the locale at
+once passes the locale itself as a prop or key, as the credits line does.
+
## Phases
1. **Foundation.** Vue, Pinia and the Vite Vue plugin join the browser build
@@ -245,8 +251,13 @@ a feature supplying only its accent.
the whole panel from the `gev-cctv` store, including the camera picker,
the inline pose editor, the frame preview, source badge and typed
summary; `CctvControls` keeps its listeners, the frame requests and the
- live video surface), Layers (done: `LayerPanel` presents each row and
- renders `LayerRows` synchronously; keyed chips and list items keep focus
+ live video surface; `QuebecCctvOverlay` teleports the Québec 511 player
+ and its map preview to the end of the body, rendered synchronously by
+ `createQuebecCctvOverlay()` from the view it computes, as the rail cards
+ are; the owner keeps every decision and the parts the template never
+ binds: each video's source, playback and refresh timer, the window's drag
+ and the marker's per-frame visibility and place), Layers (done:
+ `LayerPanel` presents each row and renders `LayerRows` synchronously; keyed chips and list items keep focus
through the refresh their own click triggers, and clicks re-read the live
descriptor before acting), Display (in progress: `DisplayPanel` renders
the HUD, Sonar, Scope, Celestial, detection, bloom, sharpen and the
@@ -373,7 +384,14 @@ a feature supplying only its accent.
choices, DISMISS and "Don't show this again" call the launcher's
controls; a refused save hands the tick back to the view to revert. The
launcher still reads the rendered card for its hit test, keyboard trap,
- focus and overflow measurement), then
+ focus and overflow measurement), the attribution line (for a renderer
+ without its own credit display, `mountCreditsView()` renders
+ `CreditsView` synchronously, as the weather readout is, and the view
+ teleports the line and its "Data attribution" list to the end of the
+ body, where the page's rules select them; the owner keeps the credits
+ shown, the list's open state and its focus, and words the view again
+ when the locale changes; the list's close button is a bare
+ `UiCloseButton`), then
Cockpit (in progress: `CockpitBriefing` renders the briefing card's
pages, cycle toggle, regional news and local conditions, and
`CockpitContext` the Contact card's scope, navigation, counts, nearest
diff --git a/scripts/format-scope.json b/scripts/format-scope.json
index a947ca4cde..336b0ad4b2 100644
--- a/scripts/format-scope.json
+++ b/scripts/format-scope.json
@@ -1585,6 +1585,8 @@
"src/ui/creditLineHeight.js",
"src/ui/creditLineHeight.test.mjs",
"src/ui/creditsView.test.mjs",
+ "src/ui/credits/CreditsView.vue",
+ "src/ui/credits/CreditItem.vue",
"src/cockpitSubjectProviders.js",
"src/cockpitSubjectProviders.test.mjs",
"src/cockpitProgress.js",
diff --git a/scripts/package-boundaries.json b/scripts/package-boundaries.json
index 7da835f67b..ad73b786c3 100644
--- a/scripts/package-boundaries.json
+++ b/scripts/package-boundaries.json
@@ -1097,6 +1097,11 @@
"src/ui/cctvVideo.js",
"src/ui/cctvPresentation.js",
"src/ui/quebecCctvOverlay.js",
+ "src/ui/views/panels/QuebecCctvOverlay.vue",
+ "src/ui/kit/UiButton.vue",
+ "src/ui/kit/UiCloseButton.vue",
+ "src/ui/kit/UiIcon.vue",
+ "src/ui/rail/classToggle.js",
"src/i18n/index.js",
"src/i18n/locale.js",
"src/i18n/locales/ar.json",
@@ -1636,6 +1641,7 @@
"src/layers/wildlifeSightings/photoText.js",
"src/data/iconOrientation.js",
"src/ui/quebecCctvOverlay.js",
+ "src/ui/views/panels/QuebecCctvOverlay.vue",
"src/time/worldClock.js",
"src/cockpitSubjects.js",
"src/cockpitRadar.js",
@@ -5460,6 +5466,7 @@
"src/layers/wildlifeSightings/iconCollection.js",
"src/layers/wildlifeSightings/view.js",
"src/ui/quebecCctvOverlay.js",
+ "src/ui/views/panels/QuebecCctvOverlay.vue",
"src/time/viewerClock.js",
"src/time/worldClock.js",
"src/cockpitSubjects.js",
@@ -5489,6 +5496,8 @@
"src/render/cesium/viewers.js",
"src/ui/creditLineHeight.js",
"src/ui/creditsView.js",
+ "src/ui/credits/CreditsView.vue",
+ "src/ui/credits/CreditItem.vue",
"src/data/planespottersPhoto.js",
"src/maps/keylessTerrain.js",
"src/render/cesium/vectorBase.js",
diff --git a/src/ui/credits/CreditItem.vue b/src/ui/credits/CreditItem.vue
new file mode 100644
index 0000000000..fd3f95478c
--- /dev/null
+++ b/src/ui/credits/CreditItem.vue
@@ -0,0 +1,53 @@
+
+
+
+ {{ parts[0]
+ }}{{
+ parts[1]
+ }}{{ parts[2] }}{{ credit.text }}
+
diff --git a/src/ui/credits/CreditsView.vue b/src/ui/credits/CreditsView.vue
new file mode 100644
index 0000000000..4181af2995
--- /dev/null
+++ b/src/ui/credits/CreditsView.vue
@@ -0,0 +1,82 @@
+
+
+
+