docs(license): align the English tip and the price test notes with #367
All checks were successful
PR Check — Frontend / frontend (pull_request) Successful in 1m46s
PR Check — Rust / rust (pull_request) Successful in 3m22s

The English in-app tip now says, as the French one does, that the
revoked license is that of a refunded key left next to the current key,
not the key itself. The header of the price tests says that the tests of
the stored token call fetch_price_in with a temporary data directory,
instead of claiming that every test bypasses the token file.

Resolves #367

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
le king fu 2026-10-04 18:02:07 -04:00
parent ed35570121
commit fd90de5424
2 changed files with 3 additions and 2 deletions

View file

@ -401,7 +401,8 @@ fn read_cash_flows(
// Each test calls `fetch_price_inner` directly, passing the mock server URL // Each test calls `fetch_price_inner` directly, passing the mock server URL
// as `api_base`. This avoids env-var races between concurrent test threads // as `api_base`. This avoids env-var races between concurrent test threads
// (all tokio tests share the same process) and bypasses the file-system // (all tokio tests share the same process) and bypasses the file-system
// activation token loading. // activation token loading. The tests of the stored token (#367) call
// `fetch_price_in` instead, with a temporary data directory.
#[cfg(test)] #[cfg(test)]
mod tests { mod tests {
use super::*; use super::*;

View file

@ -1256,7 +1256,7 @@
"The license key applies to the whole machine, not to one profile: it unlocks the modules for every profile on this computer", "The license key applies to the whole machine, not to one profile: it unlocks the modules for every profile on this computer",
"On the Free edition automatic updates are locked: the Updates card (Settings → System) offers to download the latest version from the product page, and a manual install stays free", "On the Free edition automatic updates are locked: the Updates card (Settings → System) offers to download the latest version from the product page, and a manual install stays free",
"The License card (Settings → Users) shows your edition and when the key expires; a key valid for more than 50 years shows \"No expiry date\"", "The License card (Settings → Users) shows your edition and when the key expires; a key valid for more than 50 years shows \"No expiry date\"",
"Activating a machine binds it to your key on the license server; it only serves the market prices of the Balance (Premium), and your edition never depends on it. After a reinstall, a new computer, a different key or an expired activation, the card shows \"Not activated\": click \"Activate\". The app also removes an activation that no longer serves, and the card then shows \"Not activated\": when a price fetch is refused because this machine's activation belongs to a revoked license (a refunded key left next to your current key by an earlier version, for example), and when the machine list does not count this machine (deactivated from another computer, for example). Each such removal is written to the logs (Settings → System)", "Activating a machine binds it to your key on the license server; it only serves the market prices of the Balance (Premium), and your edition never depends on it. After a reinstall, a new computer, a different key or an expired activation, the card shows \"Not activated\": click \"Activate\". The app also removes an activation that no longer serves, and the card then shows \"Not activated\": when a price fetch is refused because this machine's activation belongs to a revoked license (that of a refunded key, left next to your current key by an earlier version, for example), and when the machine list does not count this machine (deactivated from another computer, for example). Each such removal is written to the logs (Settings → System)",
"Activation sends the license server your key, this computer's name and a derived identifier, specific to Simpl'Résultat, in place of the system's machine identifier", "Activation sends the license server your key, this computer's name and a derived identifier, specific to Simpl'Résultat, in place of the system's machine identifier",
"The machine list shows how many machines are activated out of the number your key allows; deactivate one to free a slot", "The machine list shows how many machines are activated out of the number your key allows; deactivate one to free a slot",
"If the license server reports that your key was revoked, for instance after a refund, the app goes back to the Free edition and stays there from one session to the next: the License card, the locked screens and the Updates card say so. Your data is kept, and another valid key gives its edition back", "If the license server reports that your key was revoked, for instance after a refund, the app goes back to the Free edition and stays there from one session to the next: the License card, the locked screens and the Updates card say so. Your data is kept, and another valid key gives its edition back",