GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — fix(web): translate saved environment rename controls · pingdotgg/t3code@95b6070

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • apps/web/src
    • components/settings
      • RenameEnvironmentDialog.tsx
      • SavedEnvironmentRows.tsx
    • i18n/translations
      • de.json
      • en.json
      • es.json
      • fr.json
      • ja.json
      • ko.json
      • pt-BR.json
      • ru.json
      • sv.json
      • zh.json
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎apps/web/src/components/settings/RenameEnvironmentDialog.tsx‎

Copy file name to clipboardExpand all lines: apps/web/src/components/settings/RenameEnvironmentDialog.tsx
+15-7Lines changed: 15 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ import {
44
} from "@t3tools/client-runtime/state/runtime";
55
import type { EnvironmentId } from "@t3tools/contracts";
66
import { useState } from "react";
7+
import { T, useGT } from "gt-react";
78

89
import { environmentCatalog } from "~/connection/catalog";
910
import { useAtomCommand } from "~/state/use-atom-command";
@@ -31,9 +32,10 @@ function RenameEnvironmentForm({
3132
readonly label: string;
3233
readonly onDone: () => void;
3334
}) {
35+
const gt = useGT();
3436
const [label, setLabel] = useState(currentLabel);
3537
const [saving, setSaving] = useState(false);
36-
const setEnvironmentLabel = useAtomCommand(environmentCatalog.setLabel, "Rename environment");
38+
const setEnvironmentLabel = useAtomCommand(environmentCatalog.setLabel, gt("Rename environment"));
3739
const canSave = !saving && label.trim() !== "";
3840

3941
const save = async () => {
@@ -50,8 +52,8 @@ function RenameEnvironmentForm({
5052
toastManager.add(
5153
stackedThreadToast({
5254
type: "error",
53-
title: "Could not rename environment",
54-
description: error instanceof Error ? error.message : "The label was not saved.",
55+
title: gt("Could not rename environment"),
56+
description: error instanceof Error ? error.message : gt("The label was not saved."),
5557
}),
5658
);
5759
};
@@ -65,11 +67,15 @@ function RenameEnvironmentForm({
6567
}}
6668
>
6769
<DialogHeader>
68-
<DialogTitle>Rename environment</DialogTitle>
70+
<DialogTitle>
71+
<T>Rename environment</T>
72+
</DialogTitle>
6973
</DialogHeader>
7074
<DialogPanel>
7175
<div className="grid gap-1.5">
72-
<Label htmlFor="environment-label">Label</Label>
76+
<Label htmlFor="environment-label">
77+
<T>Label</T>
78+
</Label>
7379
<Input
7480
id="environment-label"
7581
value={label}
@@ -80,9 +86,11 @@ function RenameEnvironmentForm({
8086
</div>
8187
</DialogPanel>
8288
<DialogFooter>
83-
<DialogClose render={<Button type="button" variant="outline" />}>Cancel</DialogClose>
89+
<DialogClose render={<Button type="button" variant="outline" />}>
90+
<T>Cancel</T>
91+
</DialogClose>
8492
<Button type="submit" disabled={!canSave}>
85-
{saving ? "Saving…" : "Save"}
93+
{saving ? gt("Saving…") : gt("Save")}
8694
</Button>
8795
</DialogFooter>
8896
</form>
Collapse file

‎apps/web/src/components/settings/SavedEnvironmentRows.tsx‎

Copy file name to clipboardExpand all lines: apps/web/src/components/settings/SavedEnvironmentRows.tsx
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -454,7 +454,7 @@ export function SavedBackendListRow({
454454
{environment.relayManaged ? null : (
455455
<MenuItem onClick={() => setRenameOpen(true)}>
456456
<PencilIcon />
457-
Rename…
457+
<T>Rename…</T>
458458
</MenuItem>
459459
)}
460460
<MenuItem onClick={() => setRoutesOpen((open) => !open)}>
Collapse file

‎apps/web/src/i18n/translations/de.json‎

Copy file name to clipboardExpand all lines: apps/web/src/i18n/translations/de.json
+6Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9145,6 +9145,11 @@
91459145
"5c0c973276a61fdb": "Berechtigung für Pull-Request-Routing konnte nicht gespeichert werden",
91469146
"1bfcffe8411e2439": "Pull-Request-Routing für {environment}",
91479147
"ae4761ddc038b102": "Rechner, denen du hier vertraust, können PR-Daten über den Versionskontrollzugriff des jeweils anderen lesen. Aktiviere es auf beiden Rechnern. „Lesen und handeln“ kann weitergehende Berechtigungen nutzen als der Rechner, dem sie gehören. Gilt nur für dieses Gerät.",
9148+
"f3f7aa6d451f1658": "Umgebung umbenennen",
9149+
"97b2dbeab0530a77": "Umgebung konnte nicht umbenannt werden",
9150+
"dbb0d030f5ddf24d": "Die Bezeichnung wurde nicht gespeichert.",
9151+
"7a5b4572ef7aeae7": "Umgebung umbenennen",
9152+
"12213bee093a9859": "Bezeichnung",
91489153
"02bca2d9c90e5f1e": "{value} s",
91499154
"af22f973466903c3": "{value} Min.",
91509155
"401ba3f2391d8742": "{value} Std.",
@@ -9341,6 +9346,7 @@
93419346
"2c2a12fbdc300d03": "Um diese Einstellungen zu bearbeiten, kopple diese Verbindung mit den Berechtigungen „Relay anzeigen“ und „Relay verwalten“.",
93429347
"3b3d299149f45c3d": "Klicke auf „Umgebung hinzufügen“, um eine weitere Umgebung zu koppeln, oder verbinde eine über T3 Connect.",
93439348
"0e4f42dd41b74e9a": "Klicke auf „Umgebung hinzufügen“, um eine weitere Umgebung zu koppeln.",
9349+
"a7f525695195f5b3": "Umbenennen…",
93449350
"579a261154e2db62": "MCP-URL kopieren",
93459351
"4a1e6124e121d54f": "Trace-ID kopieren",
93469352
"8693499e957364d1": "Mehr Tunnel erhalten",
Collapse file

‎apps/web/src/i18n/translations/en.json‎

Copy file name to clipboardExpand all lines: apps/web/src/i18n/translations/en.json
+6Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9153,6 +9153,11 @@
91539153
"5c0c973276a61fdb": "Could not save pull request routing permission",
91549154
"1bfcffe8411e2439": "{environment} pull request routing",
91559155
"ae4761ddc038b102": "Machines you trust here can read PR data through each other's source control access. Enable both machines. Read and act may use broader permissions than the machine that owns them. This applies only to this device.",
9156+
"f3f7aa6d451f1658": "Rename environment",
9157+
"97b2dbeab0530a77": "Could not rename environment",
9158+
"dbb0d030f5ddf24d": "The label was not saved.",
9159+
"7a5b4572ef7aeae7": "Rename environment",
9160+
"12213bee093a9859": "Label",
91569161
"02bca2d9c90e5f1e": "{value}s",
91579162
"af22f973466903c3": "{value}m",
91589163
"401ba3f2391d8742": "{value}h",
@@ -9349,6 +9354,7 @@
93499354
"2c2a12fbdc300d03": "To edit these settings, pair this connection with both View relay and Manage relay permissions.",
93509355
"3b3d299149f45c3d": "Click “Add environment” to pair another environment, or connect one from T3 Connect.",
93519356
"0e4f42dd41b74e9a": "Click “Add environment” to pair another environment.",
9357+
"a7f525695195f5b3": "Rename…",
93529358
"579a261154e2db62": "Copy MCP URL",
93539359
"4a1e6124e121d54f": "Copy trace ID",
93549360
"8693499e957364d1": "Get more tunnels",
Collapse file

‎apps/web/src/i18n/translations/es.json‎

Copy file name to clipboardExpand all lines: apps/web/src/i18n/translations/es.json
+6Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9143,6 +9143,11 @@
91439143
"5c0c973276a61fdb": "No se pudo guardar el permiso de enrutamiento de pull requests",
91449144
"1bfcffe8411e2439": "Enrutamiento de pull requests de {environment}",
91459145
"ae4761ddc038b102": "Las máquinas en las que confías aquí pueden leer datos de PR a través del acceso al control de versiones de las otras. Activa ambas máquinas. Leer y actuar puede usar permisos más amplios que los de la máquina propietaria. Solo se aplica a este dispositivo.",
9146+
"f3f7aa6d451f1658": "Cambiar nombre del entorno",
9147+
"97b2dbeab0530a77": "No se pudo cambiar el nombre del entorno",
9148+
"dbb0d030f5ddf24d": "No se guardó la etiqueta.",
9149+
"7a5b4572ef7aeae7": "Cambiar nombre del entorno",
9150+
"12213bee093a9859": "Etiqueta",
91469151
"02bca2d9c90e5f1e": "{value} s",
91479152
"af22f973466903c3": "{value} min",
91489153
"401ba3f2391d8742": "{value} h",
@@ -9337,6 +9342,7 @@
93379342
"2c2a12fbdc300d03": "Para editar estos ajustes, empareja esta conexión con los permisos Ver relay y Gestionar relay.",
93389343
"3b3d299149f45c3d": "Haz clic en «Añadir entorno» para emparejar otro entorno, o conecta uno desde T3 Connect.",
93399344
"0e4f42dd41b74e9a": "Haz clic en «Añadir entorno» para emparejar otro entorno.",
9345+
"a7f525695195f5b3": "Cambiar nombre…",
93409346
"579a261154e2db62": "Copiar URL de MCP",
93419347
"4a1e6124e121d54f": "Copiar ID de traza",
93429348
"8693499e957364d1": "Obtener más túneles",
Collapse file

‎apps/web/src/i18n/translations/fr.json‎

Copy file name to clipboardExpand all lines: apps/web/src/i18n/translations/fr.json
+6Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9145,6 +9145,11 @@
91459145
"5c0c973276a61fdb": "Impossible d’enregistrer l’autorisation de routage des pull requests",
91469146
"1bfcffe8411e2439": "Routage des pull requests de {environment}",
91479147
"ae4761ddc038b102": "Les machines auxquelles vous faites confiance ici peuvent lire les données des PR via l’accès à la gestion de versions des unes et des autres. Activez les deux machines. Lire et agir peut utiliser des autorisations plus larges que celles de la machine qui les possède. Ne s’applique qu’à cet appareil.",
9148+
"f3f7aa6d451f1658": "Renommer l’environnement",
9149+
"97b2dbeab0530a77": "Impossible de renommer l’environnement",
9150+
"dbb0d030f5ddf24d": "Le libellé n’a pas été enregistré.",
9151+
"7a5b4572ef7aeae7": "Renommer l’environnement",
9152+
"12213bee093a9859": "Libellé",
91489153
"02bca2d9c90e5f1e": "{value} s",
91499154
"af22f973466903c3": "{value} min",
91509155
"401ba3f2391d8742": "{value} h",
@@ -9339,6 +9344,7 @@
93399344
"2c2a12fbdc300d03": "Pour modifier ces paramètres, appairez cette connexion avec les autorisations Voir le relais et Gérer le relais.",
93409345
"3b3d299149f45c3d": "Cliquez sur « Ajouter un environnement » pour appairer un autre environnement, ou connectez-en un depuis T3 Connect.",
93419346
"0e4f42dd41b74e9a": "Cliquez sur « Ajouter un environnement » pour appairer un autre environnement.",
9347+
"a7f525695195f5b3": "Renommer…",
93429348
"579a261154e2db62": "Copier l’URL MCP",
93439349
"4a1e6124e121d54f": "Copier l’ID de trace",
93449350
"8693499e957364d1": "Obtenir plus de tunnels",
Collapse file

‎apps/web/src/i18n/translations/ja.json‎

Copy file name to clipboardExpand all lines: apps/web/src/i18n/translations/ja.json
+6Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9101,6 +9101,11 @@
91019101
"5c0c973276a61fdb": "プルリクエストのルーティング権限を保存できませんでした",
91029102
"1bfcffe8411e2439": "{environment} のプルリクエストのルーティング",
91039103
"ae4761ddc038b102": "ここで信頼したマシン同士は、互いのソース管理のアクセス権を通じて PR のデータを読み取れます。両方のマシンで有効にしてください。「読み取りと操作」では、所有するマシンより広い権限が使われる場合があります。この設定はこのデバイスにのみ適用されます。",
9104+
"f3f7aa6d451f1658": "環境の名前を変更",
9105+
"97b2dbeab0530a77": "環境の名前を変更できませんでした",
9106+
"dbb0d030f5ddf24d": "ラベルは保存されませんでした。",
9107+
"7a5b4572ef7aeae7": "環境の名前を変更",
9108+
"12213bee093a9859": "ラベル",
91049109
"02bca2d9c90e5f1e": "{value}秒",
91059110
"af22f973466903c3": "{value}分",
91069111
"401ba3f2391d8742": "{value}時間",
@@ -9294,6 +9299,7 @@
92949299
"2c2a12fbdc300d03": "これらの設定を編集するには、「リレーの表示」と「リレーの管理」の両方の権限でこの接続をペアリングしてください。",
92959300
"3b3d299149f45c3d": "「環境を追加」をクリックして別の環境をペアリングするか、T3 Connect から接続してください。",
92969301
"0e4f42dd41b74e9a": "「環境を追加」をクリックして別の環境をペアリングしてください。",
9302+
"a7f525695195f5b3": "名前を変更…",
92979303
"579a261154e2db62": "MCP URL をコピー",
92989304
"4a1e6124e121d54f": "トレース ID をコピー",
92999305
"8693499e957364d1": "トンネルを追加で入手",
Collapse file

‎apps/web/src/i18n/translations/ko.json‎

Copy file name to clipboardExpand all lines: apps/web/src/i18n/translations/ko.json
+6Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9103,6 +9103,11 @@
91039103
"5c0c973276a61fdb": "풀 리퀘스트 라우팅 권한을 저장할 수 없습니다",
91049104
"1bfcffe8411e2439": "{environment} 풀 리퀘스트 라우팅",
91059105
"ae4761ddc038b102": "여기서 신뢰하는 머신은 서로의 소스 제어 액세스를 통해 PR 데이터를 읽을 수 있습니다. 두 머신 모두에서 사용하도록 설정하세요. 읽기 및 작업은 해당 권한을 소유한 머신보다 넓은 권한을 사용할 수 있습니다. 이 기기에만 적용됩니다.",
9106+
"f3f7aa6d451f1658": "환경 이름 변경",
9107+
"97b2dbeab0530a77": "환경 이름을 변경할 수 없습니다",
9108+
"dbb0d030f5ddf24d": "레이블이 저장되지 않았습니다.",
9109+
"7a5b4572ef7aeae7": "환경 이름 변경",
9110+
"12213bee093a9859": "레이블",
91069111
"02bca2d9c90e5f1e": "{value}초",
91079112
"af22f973466903c3": "{value}분",
91089113
"401ba3f2391d8742": "{value}시간",
@@ -9297,6 +9302,7 @@
92979302
"2c2a12fbdc300d03": "이 설정을 편집하려면 릴레이 보기 및 릴레이 관리 권한을 모두 사용해 이 연결을 페어링하세요.",
92989303
"3b3d299149f45c3d": "다른 환경을 페어링하려면 “환경 추가”를 클릭하거나 T3 Connect에서 연결하세요.",
92999304
"0e4f42dd41b74e9a": "다른 환경을 페어링하려면 “환경 추가”를 클릭하세요.",
9305+
"a7f525695195f5b3": "이름 변경…",
93009306
"579a261154e2db62": "MCP URL 복사",
93019307
"4a1e6124e121d54f": "추적 ID 복사",
93029308
"8693499e957364d1": "터널 더 받기",
Collapse file

‎apps/web/src/i18n/translations/pt-BR.json‎

Copy file name to clipboardExpand all lines: apps/web/src/i18n/translations/pt-BR.json
+6Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9144,6 +9144,11 @@
91449144
"5c0c973276a61fdb": "Não foi possível salvar a permissão de roteamento de pull requests",
91459145
"1bfcffe8411e2439": "Roteamento de pull requests de {environment}",
91469146
"ae4761ddc038b102": "As máquinas em que você confia aqui podem ler dados de PRs pelo acesso ao controle de versão umas das outras. Ative nas duas máquinas. \"Ler e agir\" pode usar permissões mais amplas que as da máquina dona delas. Isso vale só para este dispositivo.",
9147+
"f3f7aa6d451f1658": "Renomear ambiente",
9148+
"97b2dbeab0530a77": "Não foi possível renomear o ambiente",
9149+
"dbb0d030f5ddf24d": "O rótulo não foi salvo.",
9150+
"7a5b4572ef7aeae7": "Renomear ambiente",
9151+
"12213bee093a9859": "Rótulo",
91479152
"02bca2d9c90e5f1e": "{value}s",
91489153
"af22f973466903c3": "{value}min",
91499154
"401ba3f2391d8742": "{value}h",
@@ -9338,6 +9343,7 @@
93389343
"2c2a12fbdc300d03": "Para editar estas configurações, pareie esta conexão com as permissões View relay e Manage relay.",
93399344
"3b3d299149f45c3d": "Clique em “Adicionar ambiente” para parear outro ambiente ou conecte um pelo T3 Connect.",
93409345
"0e4f42dd41b74e9a": "Clique em “Adicionar ambiente” para parear outro ambiente.",
9346+
"a7f525695195f5b3": "Renomear…",
93419347
"579a261154e2db62": "Copiar URL do MCP",
93429348
"4a1e6124e121d54f": "Copiar ID de rastreamento",
93439349
"8693499e957364d1": "Obter mais túneis",
Collapse file

‎apps/web/src/i18n/translations/ru.json‎

Copy file name to clipboardExpand all lines: apps/web/src/i18n/translations/ru.json
+6Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9145,6 +9145,11 @@
91459145
"5c0c973276a61fdb": "Не удалось сохранить разрешение маршрутизации пул-реквестов",
91469146
"1bfcffe8411e2439": "Маршрутизация пул-реквестов для {environment}",
91479147
"ae4761ddc038b102": "Машины, которым вы здесь доверяете, могут читать данные PR через доступ друг друга к контролю версий. Включите на обеих машинах. «Чтение и действия» может использовать более широкие права, чем у машины-владельца. Действует только на этом устройстве.",
9148+
"f3f7aa6d451f1658": "Переименовать окружение",
9149+
"97b2dbeab0530a77": "Не удалось переименовать окружение",
9150+
"dbb0d030f5ddf24d": "Название не сохранено.",
9151+
"7a5b4572ef7aeae7": "Переименовать окружение",
9152+
"12213bee093a9859": "Название",
91489153
"02bca2d9c90e5f1e": "{value} с",
91499154
"af22f973466903c3": "{value} мин",
91509155
"401ba3f2391d8742": "{value} ч",
@@ -9341,6 +9346,7 @@
93419346
"2c2a12fbdc300d03": "Чтобы менять эти настройки, выполните сопряжение этого подключения с разрешениями View relay и Manage relay.",
93429347
"3b3d299149f45c3d": "Нажмите «Добавить окружение», чтобы выполнить сопряжение с другим окружением, или подключите его из T3 Connect.",
93439348
"0e4f42dd41b74e9a": "Нажмите «Добавить окружение», чтобы выполнить сопряжение с другим окружением.",
9349+
"a7f525695195f5b3": "Переименовать…",
93449350
"579a261154e2db62": "Копировать URL MCP",
93459351
"4a1e6124e121d54f": "Копировать ID трассировки",
93469352
"8693499e957364d1": "Получить больше туннелей",

0 commit comments

Comments
0 (0)
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.