i18n(android): the interface speaks English, like the desktop app
It was in French because the conversation is, and I never asked. The desktop app the client mirrors says Add field, Attach file, Show previous versions - someone moving between the two would notice the seam. Every visible string moved: buttons, statuses, detail row captions, log lines and the biometric prompt, plus the messages the modules surface through LastStoreError and LastBiometricError. Code comments stay in French. They address the author, not the user, and that is already the language of CLAUDE.md and much of the repo. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
@@ -104,12 +104,12 @@ begin
|
||||
try
|
||||
if not AcquireService(LSvc) then
|
||||
begin
|
||||
FLastError := 'service biometrique absent de la plateforme';
|
||||
FLastError := 'biometric service missing from the platform';
|
||||
Exit(False);
|
||||
end;
|
||||
Result := LSvc.CanAuthenticate;
|
||||
if not Result then
|
||||
FLastError := 'CanAuthenticate: aucune protection utilisable';
|
||||
FLastError := 'CanAuthenticate: no usable protection';
|
||||
except
|
||||
on E: Exception do
|
||||
begin
|
||||
@@ -136,7 +136,7 @@ begin
|
||||
FLastError := '';
|
||||
if not AcquireService(LSvc) then
|
||||
begin
|
||||
FLastError := 'service biometrique absent de la plateforme';
|
||||
FLastError := 'biometric service missing from the platform';
|
||||
AThen(boFailed); // pas boUnavailable : on ne sait rien de l'appareil
|
||||
Exit;
|
||||
end;
|
||||
@@ -144,7 +144,7 @@ begin
|
||||
if not LSvc.CanAuthenticate then
|
||||
begin
|
||||
// Reponse NETTE du systeme : l'appareil n'a rien pour authentifier.
|
||||
FLastError := 'CanAuthenticate: aucune protection utilisable';
|
||||
FLastError := 'CanAuthenticate: no usable protection';
|
||||
AThen(boUnavailable);
|
||||
Exit;
|
||||
end;
|
||||
@@ -158,9 +158,9 @@ begin
|
||||
end;
|
||||
|
||||
LProps := Default(TBiometricPromptProperties);
|
||||
LProps.Title := 'Deverrouiller le coffre';
|
||||
LProps.Title := 'Unlock the vault';
|
||||
LProps.Description := APrompt;
|
||||
LProps.CancelButtonText := 'Annuler';
|
||||
LProps.CancelButtonText := 'Cancel';
|
||||
LSvc.SetPromptProperties(LProps);
|
||||
|
||||
// Meme raison que plus haut : ce qui remonte de la couche Java doit
|
||||
|
||||
Reference in New Issue
Block a user