refactor: rename internal Fai* design system + fai_ helpers to chain
Some checks failed
Security / Security check (push) Failing after 2s

The Studio design system, widgets and helpers carried a Fai* / fai_
prefix (FaiSpace, FaiColors, FaiTheme, FaiLog, 17 fai_*.dart files, the
faiBinary* l10n keys). Studio is the Ch∆In product, so rename them to
Chain* / chain_ — carefully preserving English fail/failure/failed.
Also fix stale references: the 'fai' binary in l10n strings -> 'chain',
FAI_* env vars (FAI_BIN/DATA_DIR/MODULES_DIR/TODAY/BOOTSTRAP_TOKEN) ->
CHAIN_*, fai_platform -> fai_chain, fai_hub -> chain_hub. Vendor
security-hook tooling (FAI_BANNED_TERMS_FILE) + the .fai bundle ext left.
flutter analyze + test: clean (20 passed).

Signed-off-by: flemming-it <stefan.a.flemming@googlemail.com>
This commit is contained in:
flemming-it 2026-06-16 17:53:17 +02:00
parent 68d23ab7dd
commit 891acd2ba2
52 changed files with 1225 additions and 1225 deletions

View file

@ -1539,13 +1539,13 @@
"detail": {"type": "String"}
}
},
"faiBinaryNotFound": "Das Programm `fai` wurde auf diesem Rechner nicht gefunden.",
"faiBinaryNotFoundHint": "Installiere die Ch∆In-Plattform oder verweise Studio auf eine vorhandene `fai`-Datei.",
"faiBinaryLocateButton": "`fai`-Programm suchen …",
"faiBinaryInstallDocsButton": "Installationsanleitung öffnen",
"faiBinaryPickerTitle": "`fai`-Programm auswählen",
"faiBinarySetOk": "Verwende `fai` unter {path}",
"@faiBinarySetOk": {
"chainBinaryNotFound": "Das Programm `chain` wurde auf diesem Rechner nicht gefunden.",
"chainBinaryNotFoundHint": "Installiere die Ch∆In-Plattform oder verweise Studio auf eine vorhandene `chain`-Datei.",
"chainBinaryLocateButton": "`chain`-Programm suchen …",
"chainBinaryInstallDocsButton": "Installationsanleitung öffnen",
"chainBinaryPickerTitle": "`chain`-Programm auswählen",
"chainBinarySetOk": "Verwende `chain` unter {path}",
"@chainBinarySetOk": {
"placeholders": {
"path": {"type": "String"}
}

View file

@ -1542,13 +1542,13 @@
"detail": {"type": "String"}
}
},
"faiBinaryNotFound": "Could not find the `fai` program on this machine.",
"faiBinaryNotFoundHint": "Install the Ch∆In platform, or point Studio at an existing `fai` binary.",
"faiBinaryLocateButton": "Locate `fai` binary…",
"faiBinaryInstallDocsButton": "Open install guide",
"faiBinaryPickerTitle": "Select the `fai` binary",
"faiBinarySetOk": "Using `fai` binary at {path}",
"@faiBinarySetOk": {
"chainBinaryNotFound": "Could not find the `chain` program on this machine.",
"chainBinaryNotFoundHint": "Install the Ch∆In platform, or point Studio at an existing `chain` binary.",
"chainBinaryLocateButton": "Locate `chain` binary…",
"chainBinaryInstallDocsButton": "Open install guide",
"chainBinaryPickerTitle": "Select the `chain` binary",
"chainBinarySetOk": "Using `chain` binary at {path}",
"@chainBinarySetOk": {
"placeholders": {
"path": {"type": "String"}
}

View file

@ -4328,41 +4328,41 @@ abstract class AppLocalizations {
/// **'Could not start daemon: {detail}'**
String daemonStartFailed(String detail);
/// No description provided for @faiBinaryNotFound.
/// No description provided for @chainBinaryNotFound.
///
/// In en, this message translates to:
/// **'Could not find the `fai` program on this machine.'**
String get faiBinaryNotFound;
/// **'Could not find the `chain` program on this machine.'**
String get chainBinaryNotFound;
/// No description provided for @faiBinaryNotFoundHint.
/// No description provided for @chainBinaryNotFoundHint.
///
/// In en, this message translates to:
/// **'Install the Ch∆In platform, or point Studio at an existing `fai` binary.'**
String get faiBinaryNotFoundHint;
/// **'Install the Ch∆In platform, or point Studio at an existing `chain` binary.'**
String get chainBinaryNotFoundHint;
/// No description provided for @faiBinaryLocateButton.
/// No description provided for @chainBinaryLocateButton.
///
/// In en, this message translates to:
/// **'Locate `fai` binary…'**
String get faiBinaryLocateButton;
/// **'Locate `chain` binary…'**
String get chainBinaryLocateButton;
/// No description provided for @faiBinaryInstallDocsButton.
/// No description provided for @chainBinaryInstallDocsButton.
///
/// In en, this message translates to:
/// **'Open install guide'**
String get faiBinaryInstallDocsButton;
String get chainBinaryInstallDocsButton;
/// No description provided for @faiBinaryPickerTitle.
/// No description provided for @chainBinaryPickerTitle.
///
/// In en, this message translates to:
/// **'Select the `fai` binary'**
String get faiBinaryPickerTitle;
/// **'Select the `chain` binary'**
String get chainBinaryPickerTitle;
/// No description provided for @faiBinarySetOk.
/// No description provided for @chainBinarySetOk.
///
/// In en, this message translates to:
/// **'Using `fai` binary at {path}'**
String faiBinarySetOk(String path);
/// **'Using `chain` binary at {path}'**
String chainBinarySetOk(String path);
/// No description provided for @sysAiFixParse.
///

View file

@ -2535,25 +2535,25 @@ class AppLocalizationsDe extends AppLocalizations {
}
@override
String get faiBinaryNotFound =>
'Das Programm `fai` wurde auf diesem Rechner nicht gefunden.';
String get chainBinaryNotFound =>
'Das Programm `chain` wurde auf diesem Rechner nicht gefunden.';
@override
String get faiBinaryNotFoundHint =>
'Installiere die Ch∆In-Plattform oder verweise Studio auf eine vorhandene `fai`-Datei.';
String get chainBinaryNotFoundHint =>
'Installiere die Ch∆In-Plattform oder verweise Studio auf eine vorhandene `chain`-Datei.';
@override
String get faiBinaryLocateButton => '`fai`-Programm suchen …';
String get chainBinaryLocateButton => '`chain`-Programm suchen …';
@override
String get faiBinaryInstallDocsButton => 'Installationsanleitung öffnen';
String get chainBinaryInstallDocsButton => 'Installationsanleitung öffnen';
@override
String get faiBinaryPickerTitle => '`fai`-Programm auswählen';
String get chainBinaryPickerTitle => '`chain`-Programm auswählen';
@override
String faiBinarySetOk(String path) {
return 'Verwende `fai` unter $path';
String chainBinarySetOk(String path) {
return 'Verwende `chain` unter $path';
}
@override

View file

@ -2538,25 +2538,25 @@ class AppLocalizationsEn extends AppLocalizations {
}
@override
String get faiBinaryNotFound =>
'Could not find the `fai` program on this machine.';
String get chainBinaryNotFound =>
'Could not find the `chain` program on this machine.';
@override
String get faiBinaryNotFoundHint =>
'Install the Ch∆In platform, or point Studio at an existing `fai` binary.';
String get chainBinaryNotFoundHint =>
'Install the Ch∆In platform, or point Studio at an existing `chain` binary.';
@override
String get faiBinaryLocateButton => 'Locate `fai` binary…';
String get chainBinaryLocateButton => 'Locate `chain` binary…';
@override
String get faiBinaryInstallDocsButton => 'Open install guide';
String get chainBinaryInstallDocsButton => 'Open install guide';
@override
String get faiBinaryPickerTitle => 'Select the `fai` binary';
String get chainBinaryPickerTitle => 'Select the `chain` binary';
@override
String faiBinarySetOk(String path) {
return 'Using `fai` binary at $path';
String chainBinarySetOk(String path) {
return 'Using `chain` binary at $path';
}
@override