Przeglądaj źródła

feat(whatsnew): link the changelog and fix the Russian credit

Nacho 1 tydzień temu
rodzic
commit
18e7ea243d

+ 1 - 1
CHANGELOG.md

@@ -17,7 +17,7 @@ y este proyecto se adhiere a [Versionado Semántico](https://semver.org/lang/es/
 - The device icon picker is searchable and grouped in ten categories, with 60 smart-home icons and their name translated (#2107, by @Bann-DEV).
 - Optional Docker image of the server, with the UI and the agents inside, published to GHCR on every tag for amd64 and arm64 (#2101, #2105, by @sers88).
 - Per-device DNS activity from the AdGuard query log: the domains a client resolves, how often, and what was blocked, in 1 hour and 24 hour windows (#2081).
-- Chinese and Russian in the interface, with dates and numbers following each language and not only the labels (#2070, #2092, Chinese by @Bann-DEV).
+- Chinese and Russian in the interface, with dates and numbers following each language and not only the labels (#2070 by @Bann-DEV, #2083 by @sers88).
 
 ### Changed
 

+ 1 - 0
app/public/locales/en/translation.json

@@ -3287,6 +3287,7 @@
     }
   },
   "whatsnew": {
+    "changelog": "Every change, in the changelog",
     "banner": {
       "text": "You are on {{version}}. See what changed.",
       "action": "What's new",

+ 1 - 0
app/public/locales/es/translation.json

@@ -3287,6 +3287,7 @@
     }
   },
   "whatsnew": {
+    "changelog": "Todos los cambios, en el changelog",
     "banner": {
       "text": "Estás en {{version}}. Mira qué ha cambiado.",
       "action": "Novedades",

+ 1 - 0
app/public/locales/ru/translation.json

@@ -3315,6 +3315,7 @@
     "staleNothing": "Чистить нечего"
   },
   "whatsnew": {
+    "changelog": "Все изменения в журнале",
     "banner": {
       "text": "У вас {{version}}. Посмотрите, что изменилось.",
       "action": "Что нового",

+ 1 - 0
app/public/locales/zh/translation.json

@@ -3262,6 +3262,7 @@
     }
   },
   "whatsnew": {
+    "changelog": "全部变更见更新日志",
     "banner": {
       "text": "你正在使用 {{version}}。看看有什么变化。",
       "action": "新功能",

+ 10 - 0
app/src/pages/WhatsNew.tsx

@@ -95,6 +95,16 @@ export function WhatsNew() {
       ))}
 
       <p className="pt-2 text-[11px] text-text-muted">{t('whatsnew.footnote')}</p>
+      {/* Todavía en GitHub: la web tendrá su propia página de cambios. */}
+      <a
+        href="https://github.com/gnacho/netpulse/blob/main/CHANGELOG.md"
+        target="_blank"
+        rel="noreferrer"
+        className="inline-flex items-center gap-1 text-caption font-medium text-accent transition-colors hover:text-accent/80"
+      >
+        {t('whatsnew.changelog')}
+        <ExternalLink className="h-3 w-3" strokeWidth={2} aria-hidden="true" />
+      </a>
     </div>
   )
 }

+ 4 - 1
app/src/whatsnew/registry.tsx

@@ -44,7 +44,10 @@ export const CARDS: WhatsNewCard[] = [
     id: 'languages',
     version: '2.54.0',
     icon: Languages,
-    author: 'Bann-DEV',
+    // Autoría mixta: chino de @Bann-DEV (#2070), ruso de @sers88 (#2083). El
+    // crédito va en el texto y el pie se queda sin firma, que firmar a uno
+    // solo por el trabajo de dos es peor que no firmar.
+    author: '',
     pr: 2070,
     Demo: LanguagesDemo,
   },

+ 4 - 2
docs/releases/2.54.0.md

@@ -24,7 +24,7 @@ A wired host with a static address that goes quiet used to drop off the map. Now
 
 ![The same panel in English, Spanish, Chinese and Russian, with dates following each language](https://raw.githubusercontent.com/gnacho/netpulse/v2.54.0/docs/releases/2.54.0/languages.gif)
 
-The whole interface in Chinese and in Russian, catalogs complete and reviewed. Dates and numbers follow each language too, not only the labels. Chinese came in #2070, from @Bann-DEV, and Russian in #2092.
+The whole interface in Chinese and in Russian, catalogs complete and reviewed. Dates and numbers follow each language too, not only the labels. Chinese came in #2070, from @Bann-DEV, and Russian in #2083, from @sers88.
 
 ## Also in this release
 
@@ -53,7 +53,7 @@ The whole interface in Chinese and in Russian, catalogs complete and reviewed. D
 ## Thanks
 
 - **@Bann-DEV** for the icon catalog in #2107 and the Chinese translation in #2070, and for #2113, the test that keeps the catalog honest.
-- **@sers88** for the Docker image in #2101 and its pipeline in #2105, which turned a request into an install path.
+- **@sers88** for the Docker image in #2101 and its pipeline in #2105, which turned a request into an install path, and for the Russian catalog in #2083.
 - **@tam481** for the report in #1818 that explained a client list with more than a thousand phantoms, and **@crowedavid** for recognising what those frames were.
 - **@crowedavid** again, for #1976, a port that named the wrong switch, and for the install report in #1894 that led to #2112.
 - **@spskeldon** for #2123 and #2124, the two halves of the nested hub bug.
@@ -62,3 +62,5 @@ The whole interface in Chinese and in Russian, catalogs complete and reviewed. D
 - **@mgrupenhoff** for #2119, #2120 and #2121, three fixes at the MAC boundaries that were losing data quietly.
 - **@fsolak47** for the presence reports in #2063 that put the stale neighbour recheck on the map.
 - **@Korenchkin** for #2114, which caught the Docker instructions before anyone else did.
+
+Every change, including the ones without a card, is in the [changelog](https://github.com/gnacho/netpulse/blob/main/CHANGELOG.md).

+ 1 - 0
docs/releases/README.md

@@ -99,4 +99,5 @@ twice", the notes say what the operator was seeing.
 - [ ] Every fixed entry names the symptom, with the issue number.
 - [ ] Thanks section with the reporters.
 - [ ] `CHANGELOG.md` `[Unreleased]` complete for the same set.
+- [ ] The notes end with a link to the changelog, for everything that is not a card.
 - [ ] Links use the final tag, and the tag exists before the release is published.