S5: onboarding → minne + smaksignaler (user_stated)
This commit is contained in:
@@ -281,6 +281,7 @@ export async function computeMemoryImpact(options: MemoryImpactOptions): Promise
|
||||
id: schema.tasteSignals.id,
|
||||
userId: schema.tasteSignals.userId,
|
||||
axis: schema.tasteSignals.axis,
|
||||
target: schema.tasteSignals.target,
|
||||
direction: schema.tasteSignals.direction,
|
||||
strength: schema.tasteSignals.strength,
|
||||
origin: schema.tasteSignals.origin,
|
||||
@@ -291,6 +292,7 @@ export async function computeMemoryImpact(options: MemoryImpactOptions): Promise
|
||||
.where(eq(schema.tasteSignals.userId, userId));
|
||||
const tasteSignals: TasteSignal[] = tasteRows.map((t) => ({
|
||||
...t,
|
||||
target: t.target ?? undefined,
|
||||
refRecipeId: t.refRecipeId ?? undefined,
|
||||
createdAt: t.createdAt.toISOString(),
|
||||
}));
|
||||
|
||||
@@ -0,0 +1,156 @@
|
||||
import type { Database } from "@app/database";
|
||||
import { schema } from "@app/database";
|
||||
import type { Allergen, Cuisine, GoalType } from "@app/shared-types";
|
||||
|
||||
/**
|
||||
* Spegla onboarding-angivna preferenser i användarens synliga minne och
|
||||
* smaksignaler (S5). Allt skrivs som `user_stated` / `verifiedByUser=true`.
|
||||
*
|
||||
* - memory_items: upsert på (userId, key).
|
||||
* - taste_signals: upsert på (userId, axis, target).
|
||||
*
|
||||
* Idempotent – upprepade anrop skapar inga dubletter.
|
||||
*/
|
||||
const ONBOARDING_ORIGIN = "user_stated" as const;
|
||||
const ONBOARDING_CONFIDENCE = 1;
|
||||
const TASTE_STRENGTH = 0.9;
|
||||
|
||||
export interface OnboardingMemoryInput {
|
||||
primaryGoal?: GoalType | null;
|
||||
goals?: GoalType[];
|
||||
allergens?: Allergen[];
|
||||
favoriteCuisines?: Cuisine[];
|
||||
avoidIngredientIds?: string[];
|
||||
spiceLevelMax?: number | null;
|
||||
}
|
||||
|
||||
interface MemoryEntry {
|
||||
key: string;
|
||||
summarySv: string;
|
||||
value: unknown;
|
||||
}
|
||||
|
||||
export async function syncOnboardingMemory(
|
||||
db: Database,
|
||||
userId: string,
|
||||
prefs: OnboardingMemoryInput,
|
||||
): Promise<void> {
|
||||
const memoryEntries: MemoryEntry[] = [];
|
||||
|
||||
if (prefs.primaryGoal) {
|
||||
memoryEntries.push({
|
||||
key: `goal:primary:${prefs.primaryGoal}`,
|
||||
summarySv: `Primärt mål: ${prefs.primaryGoal}`,
|
||||
value: { primaryGoal: prefs.primaryGoal },
|
||||
});
|
||||
}
|
||||
|
||||
for (const goal of prefs.goals ?? []) {
|
||||
memoryEntries.push({
|
||||
key: `goal:${goal}`,
|
||||
summarySv: `Mål: ${goal}`,
|
||||
value: { goal },
|
||||
});
|
||||
}
|
||||
|
||||
for (const allergen of prefs.allergens ?? []) {
|
||||
memoryEntries.push({
|
||||
key: `allergen:${allergen}`,
|
||||
summarySv: `Allergi: ${allergen}`,
|
||||
value: { allergen },
|
||||
});
|
||||
}
|
||||
|
||||
for (const cuisine of prefs.favoriteCuisines ?? []) {
|
||||
memoryEntries.push({
|
||||
key: `favorite-cuisine:${cuisine}`,
|
||||
summarySv: `Favoritkök: ${cuisine}`,
|
||||
value: { favoriteCuisine: cuisine },
|
||||
});
|
||||
}
|
||||
|
||||
for (const ingredientId of prefs.avoidIngredientIds ?? []) {
|
||||
memoryEntries.push({
|
||||
key: `avoid-ingredient:${ingredientId}`,
|
||||
summarySv: `Undviker ingrediens: ${ingredientId}`,
|
||||
value: { avoidIngredientId: ingredientId },
|
||||
});
|
||||
}
|
||||
|
||||
if (prefs.spiceLevelMax != null) {
|
||||
memoryEntries.push({
|
||||
key: "spice-level-max",
|
||||
summarySv: `Max styrka: ${prefs.spiceLevelMax}`,
|
||||
value: { spiceLevelMax: prefs.spiceLevelMax },
|
||||
});
|
||||
}
|
||||
|
||||
for (const entry of memoryEntries) {
|
||||
await db
|
||||
.insert(schema.memoryItems)
|
||||
.values({
|
||||
userId,
|
||||
kind: "structured_fact",
|
||||
key: entry.key,
|
||||
summarySv: entry.summarySv,
|
||||
value: entry.value,
|
||||
origin: ONBOARDING_ORIGIN,
|
||||
confidence: ONBOARDING_CONFIDENCE,
|
||||
verifiedByUser: true,
|
||||
})
|
||||
.onConflictDoUpdate({
|
||||
target: [schema.memoryItems.userId, schema.memoryItems.key],
|
||||
set: {
|
||||
summarySv: entry.summarySv,
|
||||
value: entry.value,
|
||||
origin: ONBOARDING_ORIGIN,
|
||||
confidence: ONBOARDING_CONFIDENCE,
|
||||
verifiedByUser: true,
|
||||
updatedAt: new Date(),
|
||||
},
|
||||
});
|
||||
}
|
||||
|
||||
const tasteEntries: Array<{
|
||||
axis: "cuisine" | "ingredient_avoid";
|
||||
target: string;
|
||||
direction: number;
|
||||
}> = [];
|
||||
|
||||
for (const cuisine of prefs.favoriteCuisines ?? []) {
|
||||
tasteEntries.push({ axis: "cuisine", target: cuisine, direction: 1 });
|
||||
}
|
||||
|
||||
for (const ingredientId of prefs.avoidIngredientIds ?? []) {
|
||||
tasteEntries.push({
|
||||
axis: "ingredient_avoid",
|
||||
target: ingredientId,
|
||||
direction: -1,
|
||||
});
|
||||
}
|
||||
|
||||
for (const signal of tasteEntries) {
|
||||
await db
|
||||
.insert(schema.tasteSignals)
|
||||
.values({
|
||||
userId,
|
||||
axis: signal.axis,
|
||||
target: signal.target,
|
||||
direction: signal.direction,
|
||||
strength: TASTE_STRENGTH,
|
||||
origin: ONBOARDING_ORIGIN,
|
||||
})
|
||||
.onConflictDoUpdate({
|
||||
target: [
|
||||
schema.tasteSignals.userId,
|
||||
schema.tasteSignals.axis,
|
||||
schema.tasteSignals.target,
|
||||
],
|
||||
set: {
|
||||
direction: signal.direction,
|
||||
strength: TASTE_STRENGTH,
|
||||
origin: ONBOARDING_ORIGIN,
|
||||
},
|
||||
});
|
||||
}
|
||||
}
|
||||
@@ -12,6 +12,7 @@ import { computeDailyTargets, DEFAULT_TARGETS } from "@app/nutrition-engine";
|
||||
import { errors, parse } from "../lib/errors.js";
|
||||
import { audit, generateInviteCode, getActiveHouseholdId } from "../lib/helpers.js";
|
||||
import { loadEntitlementsWithToken } from "../lib/entitlements.js";
|
||||
import { syncOnboardingMemory } from "../lib/onboardingMemory.js";
|
||||
|
||||
/** Profil, preferenser, samtycken, dagsmål, GDPR-export/-radering (spec §6, §56). */
|
||||
export async function meRoutes(app: FastifyInstance) {
|
||||
@@ -120,6 +121,9 @@ export async function meRoutes(app: FastifyInstance) {
|
||||
target: schema.userPreferences.userId,
|
||||
set: { ...input.preferences, updatedAt: new Date() },
|
||||
});
|
||||
|
||||
// S5: spegla uttryckligen angivna preferenser i minne + smaksignaler.
|
||||
await syncOnboardingMemory(app.db, req.userId, input.preferences);
|
||||
}
|
||||
|
||||
let householdId: string | null = await getActiveHouseholdId(app.db, req.userId);
|
||||
|
||||
@@ -12,6 +12,7 @@ import {
|
||||
|
||||
import { t } from "../lib/i18n.js";
|
||||
import { KNOWN_FLAGS } from "@app/feature-flags";
|
||||
import { syncOnboardingMemory } from "../lib/onboardingMemory.js";
|
||||
|
||||
/**
|
||||
* Progressive onboarding (FAS 1b): 3-layer flow.
|
||||
@@ -227,6 +228,16 @@ export async function onboardingRoutes(app: FastifyInstance) {
|
||||
});
|
||||
}
|
||||
|
||||
// S5: spegla alla uttryckligen angivna preferenser i minne + smaksignaler.
|
||||
const [completedPrefs] = await app.db
|
||||
.select()
|
||||
.from(schema.userPreferences)
|
||||
.where(eq(schema.userPreferences.userId, req.userId))
|
||||
.limit(1);
|
||||
if (completedPrefs) {
|
||||
await syncOnboardingMemory(app.db, req.userId, completedPrefs);
|
||||
}
|
||||
|
||||
const [user] = await app.db
|
||||
.update(schema.users)
|
||||
.set({
|
||||
|
||||
@@ -276,6 +276,7 @@ export async function recommendationRoutes(app: FastifyInstance) {
|
||||
id: schema.tasteSignals.id,
|
||||
userId: schema.tasteSignals.userId,
|
||||
axis: schema.tasteSignals.axis,
|
||||
target: schema.tasteSignals.target,
|
||||
direction: schema.tasteSignals.direction,
|
||||
strength: schema.tasteSignals.strength,
|
||||
origin: schema.tasteSignals.origin,
|
||||
@@ -286,6 +287,7 @@ export async function recommendationRoutes(app: FastifyInstance) {
|
||||
.where(eq(schema.tasteSignals.userId, req.userId));
|
||||
tasteSignals = tasteRows.map((t) => ({
|
||||
...t,
|
||||
target: t.target ?? undefined,
|
||||
refRecipeId: t.refRecipeId ?? undefined,
|
||||
createdAt: t.createdAt.toISOString(),
|
||||
}));
|
||||
|
||||
@@ -0,0 +1,272 @@
|
||||
import "./setup-env.js";
|
||||
import { describe, expect, it, beforeAll, afterAll } from "vitest";
|
||||
import { eq, inArray } from "drizzle-orm";
|
||||
import { buildServer } from "../src/server.js";
|
||||
import { loadConfig } from "../src/config.js";
|
||||
import { createDatabase, closeDatabase, schema } from "@app/database";
|
||||
|
||||
describe("S5 — onboarding → minne + smaksignaler", () => {
|
||||
const testDb = createDatabase(process.env.TEST_DATABASE_URL!);
|
||||
const config = loadConfig();
|
||||
let app: Awaited<ReturnType<typeof buildServer>>;
|
||||
|
||||
async function cleanupUser(email: string) {
|
||||
const existing = await testDb.db
|
||||
.select({ id: schema.users.id })
|
||||
.from(schema.users)
|
||||
.where(inArray(schema.users.email, [email, `deleted-${email}`]));
|
||||
for (const u of existing) {
|
||||
await testDb.db.delete(schema.memoryItems).where(eq(schema.memoryItems.userId, u.id));
|
||||
await testDb.db.delete(schema.tasteSignals).where(eq(schema.tasteSignals.userId, u.id));
|
||||
await testDb.db.delete(schema.userPreferences).where(eq(schema.userPreferences.userId, u.id));
|
||||
await testDb.db.delete(schema.userHealthProfiles).where(eq(schema.userHealthProfiles.userId, u.id));
|
||||
await testDb.db.delete(schema.userCredentials).where(eq(schema.userCredentials.userId, u.id));
|
||||
await testDb.db.delete(schema.refreshTokens).where(eq(schema.refreshTokens.userId, u.id));
|
||||
await testDb.db.delete(schema.users).where(eq(schema.users.id, u.id));
|
||||
}
|
||||
}
|
||||
|
||||
async function registerUser(email: string) {
|
||||
const res = await app.inject({
|
||||
method: "POST",
|
||||
url: "/v1/auth/register",
|
||||
payload: { email, password: "Password123!", displayName: "S5 Test" },
|
||||
});
|
||||
const body = JSON.parse(res.body) as { accessToken: string };
|
||||
const token = body.accessToken;
|
||||
const userId = (JSON.parse(atob(token.split(".")[1]!)) as { sub: string }).sub;
|
||||
return { token, userId };
|
||||
}
|
||||
|
||||
beforeAll(async () => {
|
||||
app = await buildServer(config);
|
||||
await app.ready();
|
||||
});
|
||||
|
||||
afterAll(async () => {
|
||||
await closeDatabase();
|
||||
await app.close();
|
||||
});
|
||||
|
||||
it("legacy POST /v1/me/onboarding skapar memory_items och taste_signals", async () => {
|
||||
const email = "s5-legacy@example.invalid";
|
||||
await cleanupUser(email);
|
||||
const { token, userId } = await registerUser(email);
|
||||
|
||||
const res = await app.inject({
|
||||
method: "POST",
|
||||
url: "/v1/me/onboarding",
|
||||
headers: { authorization: `Bearer ${token}` },
|
||||
payload: {
|
||||
precisionMode: "simple",
|
||||
preferences: {
|
||||
primaryGoal: "less_waste",
|
||||
goals: ["less_waste", "cook_more"],
|
||||
allergens: ["gluten", "milk"],
|
||||
favoriteCuisines: ["italian", "thai"],
|
||||
avoidIngredientIds: ["broccoli", "anchovy"],
|
||||
spiceLevelMax: 2,
|
||||
},
|
||||
householdChoice: { kind: "skip" },
|
||||
},
|
||||
});
|
||||
|
||||
expect(res.statusCode).toBe(200);
|
||||
|
||||
const memory = await testDb.db
|
||||
.select()
|
||||
.from(schema.memoryItems)
|
||||
.where(eq(schema.memoryItems.userId, userId));
|
||||
const memoryKeys = memory.map((m) => m.key).sort();
|
||||
expect(memoryKeys).toEqual(
|
||||
[
|
||||
"goal:less_waste",
|
||||
"goal:cook_more",
|
||||
"goal:primary:less_waste",
|
||||
"allergen:gluten",
|
||||
"allergen:milk",
|
||||
"favorite-cuisine:italian",
|
||||
"favorite-cuisine:thai",
|
||||
"avoid-ingredient:broccoli",
|
||||
"avoid-ingredient:anchovy",
|
||||
"spice-level-max",
|
||||
].sort(),
|
||||
);
|
||||
for (const m of memory) {
|
||||
expect(m.origin).toBe("user_stated");
|
||||
expect(m.verifiedByUser).toBe(true);
|
||||
expect(m.confidence).toBe(1);
|
||||
}
|
||||
|
||||
const signals = await testDb.db
|
||||
.select()
|
||||
.from(schema.tasteSignals)
|
||||
.where(eq(schema.tasteSignals.userId, userId));
|
||||
const cuisineSignals = signals.filter((s) => s.axis === "cuisine").sort((a, b) => (a.target ?? "").localeCompare(b.target ?? ""));
|
||||
const avoidSignals = signals.filter((s) => s.axis === "ingredient_avoid").sort((a, b) => (a.target ?? "").localeCompare(b.target ?? ""));
|
||||
|
||||
expect(cuisineSignals).toHaveLength(2);
|
||||
expect(cuisineSignals[0]).toMatchObject({ target: "italian", direction: 1, origin: "user_stated" });
|
||||
expect(cuisineSignals[1]).toMatchObject({ target: "thai", direction: 1, origin: "user_stated" });
|
||||
|
||||
expect(avoidSignals).toHaveLength(2);
|
||||
expect(avoidSignals[0]).toMatchObject({ target: "anchovy", direction: -1, origin: "user_stated" });
|
||||
expect(avoidSignals[1]).toMatchObject({ target: "broccoli", direction: -1, origin: "user_stated" });
|
||||
|
||||
await cleanupUser(email);
|
||||
});
|
||||
|
||||
it("är idempotent – upprepade anrop skapar inga dubletter", async () => {
|
||||
const email = "s5-idempotent@example.invalid";
|
||||
await cleanupUser(email);
|
||||
const { token, userId } = await registerUser(email);
|
||||
|
||||
const payload = {
|
||||
precisionMode: "simple",
|
||||
preferences: {
|
||||
primaryGoal: "more_protein",
|
||||
goals: ["more_protein", "lower_cost"],
|
||||
allergens: ["peanuts"],
|
||||
favoriteCuisines: ["japanese"],
|
||||
avoidIngredientIds: ["liver"],
|
||||
spiceLevelMax: 3,
|
||||
},
|
||||
householdChoice: { kind: "skip" },
|
||||
};
|
||||
|
||||
for (let i = 0; i < 2; i++) {
|
||||
const res = await app.inject({
|
||||
method: "POST",
|
||||
url: "/v1/me/onboarding",
|
||||
headers: { authorization: `Bearer ${token}` },
|
||||
payload,
|
||||
});
|
||||
expect(res.statusCode).toBe(200);
|
||||
}
|
||||
|
||||
const memoryCount = await testDb.db
|
||||
.select({ id: schema.memoryItems.id })
|
||||
.from(schema.memoryItems)
|
||||
.where(eq(schema.memoryItems.userId, userId));
|
||||
expect(memoryCount).toHaveLength(7);
|
||||
|
||||
const signalCount = await testDb.db
|
||||
.select({ id: schema.tasteSignals.id })
|
||||
.from(schema.tasteSignals)
|
||||
.where(eq(schema.tasteSignals.userId, userId));
|
||||
expect(signalCount).toHaveLength(2);
|
||||
|
||||
await cleanupUser(email);
|
||||
});
|
||||
|
||||
it("progressive onboarding complete-c skapar memory_items och taste_signals", async () => {
|
||||
const email = "s5-progressive@example.invalid";
|
||||
await cleanupUser(email);
|
||||
const { token, userId } = await registerUser(email);
|
||||
|
||||
const stepA = await app.inject({
|
||||
method: "POST",
|
||||
url: "/v1/onboarding/quick-start",
|
||||
headers: { authorization: `Bearer ${token}` },
|
||||
payload: { goals: ["less_waste"], precisionMode: "simple" },
|
||||
});
|
||||
expect(stepA.statusCode).toBe(200);
|
||||
|
||||
const stepB = await app.inject({
|
||||
method: "POST",
|
||||
url: "/v1/onboarding/complete-b",
|
||||
headers: { authorization: `Bearer ${token}` },
|
||||
payload: {
|
||||
precisionMode: "simple",
|
||||
preferences: {
|
||||
dietPattern: "vegetarian",
|
||||
allergens: ["gluten"],
|
||||
},
|
||||
householdChoice: { kind: "skip" },
|
||||
},
|
||||
});
|
||||
expect(stepB.statusCode).toBe(200);
|
||||
|
||||
const stepC = await app.inject({
|
||||
method: "POST",
|
||||
url: "/v1/onboarding/complete-c",
|
||||
headers: { authorization: `Bearer ${token}` },
|
||||
payload: {
|
||||
precisionMode: "simple",
|
||||
preferences: {
|
||||
favoriteCuisines: ["italian"],
|
||||
avoidIngredientIds: ["mushroom"],
|
||||
spiceLevelMax: 2,
|
||||
},
|
||||
},
|
||||
});
|
||||
expect(stepC.statusCode).toBe(200);
|
||||
|
||||
const memory = await testDb.db
|
||||
.select()
|
||||
.from(schema.memoryItems)
|
||||
.where(eq(schema.memoryItems.userId, userId));
|
||||
const keys = memory.map((m) => m.key).sort();
|
||||
expect(keys).toContain("goal:less_waste");
|
||||
expect(keys).toContain("goal:primary:less_waste");
|
||||
expect(keys).toContain("allergen:gluten");
|
||||
expect(keys).toContain("favorite-cuisine:italian");
|
||||
expect(keys).toContain("avoid-ingredient:mushroom");
|
||||
expect(keys).toContain("spice-level-max");
|
||||
|
||||
const signals = await testDb.db
|
||||
.select()
|
||||
.from(schema.tasteSignals)
|
||||
.where(eq(schema.tasteSignals.userId, userId));
|
||||
expect(signals).toHaveLength(2);
|
||||
expect(signals.some((s) => s.axis === "cuisine" && s.target === "italian" && s.direction === 1)).toBe(true);
|
||||
expect(signals.some((s) => s.axis === "ingredient_avoid" && s.target === "mushroom" && s.direction === -1)).toBe(true);
|
||||
|
||||
await cleanupUser(email);
|
||||
});
|
||||
|
||||
it("DELETE /v1/me tömmer onboarding-skapade memory_items och taste_signals", async () => {
|
||||
const email = "s5-gdpr@example.invalid";
|
||||
await cleanupUser(email);
|
||||
const { token, userId } = await registerUser(email);
|
||||
|
||||
await app.inject({
|
||||
method: "POST",
|
||||
url: "/v1/me/onboarding",
|
||||
headers: { authorization: `Bearer ${token}` },
|
||||
payload: {
|
||||
precisionMode: "simple",
|
||||
preferences: {
|
||||
primaryGoal: "less_waste",
|
||||
goals: ["less_waste"],
|
||||
allergens: ["gluten"],
|
||||
favoriteCuisines: ["italian"],
|
||||
avoidIngredientIds: ["broccoli"],
|
||||
spiceLevelMax: 2,
|
||||
},
|
||||
householdChoice: { kind: "skip" },
|
||||
},
|
||||
});
|
||||
|
||||
const deleteRes = await app.inject({
|
||||
method: "DELETE",
|
||||
url: "/v1/me",
|
||||
headers: { authorization: `Bearer ${token}` },
|
||||
});
|
||||
expect(deleteRes.statusCode).toBe(200);
|
||||
|
||||
const remainingMemory = await testDb.db
|
||||
.select({ id: schema.memoryItems.id })
|
||||
.from(schema.memoryItems)
|
||||
.where(eq(schema.memoryItems.userId, userId));
|
||||
expect(remainingMemory).toHaveLength(0);
|
||||
|
||||
const remainingSignals = await testDb.db
|
||||
.select({ id: schema.tasteSignals.id })
|
||||
.from(schema.tasteSignals)
|
||||
.where(eq(schema.tasteSignals.userId, userId));
|
||||
expect(remainingSignals).toHaveLength(0);
|
||||
|
||||
await cleanupUser(email);
|
||||
});
|
||||
});
|
||||
@@ -242,6 +242,7 @@ export default function OnboardingScreen() {
|
||||
<Small>{t("onboarding.modeExactDesc")}</Small>
|
||||
</Card>
|
||||
<Small>{t("onboarding.modesCombine")}</Small>
|
||||
<Small>{t("onboarding.memoryTransparency")}</Small>
|
||||
|
||||
{error && <Text style={{ color: colors.danger }}>{error}</Text>}
|
||||
<Spacer />
|
||||
@@ -291,6 +292,7 @@ export default function OnboardingScreen() {
|
||||
))}
|
||||
</Row>
|
||||
<Small>{t("onboarding.allergyNote")}</Small>
|
||||
<Small>{t("onboarding.memoryTransparency")}</Small>
|
||||
|
||||
<Spacer size={spacing.sm} />
|
||||
<Heading>{t("onboarding.household")}</Heading>
|
||||
@@ -366,6 +368,7 @@ export default function OnboardingScreen() {
|
||||
onChangeText={setBirthYear}
|
||||
/>
|
||||
<Small>{t("onboarding.notMedical")}</Small>
|
||||
<Small>{t("onboarding.memoryTransparency")}</Small>
|
||||
|
||||
{error && <Text style={{ color: colors.danger }}>{error}</Text>}
|
||||
<Spacer />
|
||||
|
||||
@@ -198,6 +198,7 @@
|
||||
"onboarding.modeSimple": "Enkel tilstand",
|
||||
"onboarding.modeSimpleDesc": "Tag billeder af maden, accepter estimater, minimalt besvær.",
|
||||
"onboarding.modesCombine": "Tilstandene kan kombineres – enkelt til hverdag, præcist når du vil.",
|
||||
"onboarding.memoryTransparency": "Dette gemmes i \"Hvad {brand} ved om mig\", og du kan ændre det når som helst.",
|
||||
"onboarding.notMedical": "{brand} giver vejledning – ikke lægelig rådgivning.",
|
||||
"onboarding.stepBSubtitle": "Tilpas din profil for bedre forslag.",
|
||||
"onboarding.stepBTitle": "Fortsæt opsætning",
|
||||
|
||||
@@ -198,6 +198,7 @@
|
||||
"onboarding.modeSimple": "Einfacher Modus",
|
||||
"onboarding.modeSimpleDesc": "Essen fotografieren, Schätzungen akzeptieren, kein Aufwand.",
|
||||
"onboarding.modesCombine": "Die Modi lassen sich kombinieren – im Alltag einfach, exakt wenn du willst.",
|
||||
"onboarding.memoryTransparency": "Dies wird unter \"Was {brand} über mich weiß\" gespeichert und du kannst es jederzeit ändern.",
|
||||
"onboarding.notMedical": "{brand} bietet Orientierung – keine medizinische Beratung.",
|
||||
"onboarding.stepBSubtitle": "Passe dein Profil für bessere Vorschläge an.",
|
||||
"onboarding.stepBTitle": "Einrichtung fortsetzen",
|
||||
|
||||
@@ -198,6 +198,7 @@
|
||||
"onboarding.modeSimple": "Simple mode",
|
||||
"onboarding.modeSimpleDesc": "Snap photos of your food, accept estimates, minimal fuss.",
|
||||
"onboarding.modesCombine": "You can mix modes – simple day to day, exact when you want.",
|
||||
"onboarding.memoryTransparency": "This is saved in \"What {brand} knows about me\" and you can change it anytime.",
|
||||
"onboarding.notMedical": "{brand} provides guidance – not medical advice.",
|
||||
"onboarding.stepBSubtitle": "Customize your profile for better suggestions.",
|
||||
"onboarding.stepBTitle": "Continue setup",
|
||||
|
||||
@@ -198,6 +198,7 @@
|
||||
"onboarding.modeSimple": "Modo sencillo",
|
||||
"onboarding.modeSimpleDesc": "Fotografía tu comida, acepta estimaciones, sin complicaciones.",
|
||||
"onboarding.modesCombine": "Puedes combinar los modos: sencillo a diario, exacto cuando quieras.",
|
||||
"onboarding.memoryTransparency": "Esto se guarda en \"Lo que {brand} sabe de mí\" y puedes cambiarlo cuando quieras.",
|
||||
"onboarding.notMedical": "{brand} ofrece orientación, no consejo médico.",
|
||||
"onboarding.stepBSubtitle": "Personaliza tu perfil para mejores sugerencias.",
|
||||
"onboarding.stepBTitle": "Continuar configuración",
|
||||
|
||||
@@ -198,6 +198,7 @@
|
||||
"onboarding.modeSimple": "Helppo tila",
|
||||
"onboarding.modeSimpleDesc": "Kuvaa ruokasi, hyväksy arviot, mahdollisimman vaivatonta.",
|
||||
"onboarding.modesCombine": "Tiloja voi yhdistellä – arjessa helposti, tarkasti kun haluat.",
|
||||
"onboarding.memoryTransparency": "Tämä tallennetaan kohdassa \"Mitä {brand} tietää minusta\" ja voit muuttaa sitä koska tahansa.",
|
||||
"onboarding.notMedical": "{brand} antaa ohjeita – ei lääketieteellisiä neuvoja.",
|
||||
"onboarding.stepBSubtitle": "Mukauta profiiliasi parempia ehdotuksia varten.",
|
||||
"onboarding.stepBTitle": "Jatka asetuksia",
|
||||
|
||||
@@ -198,6 +198,7 @@
|
||||
"onboarding.modeSimple": "Mode simple",
|
||||
"onboarding.modeSimpleDesc": "Photographiez vos aliments, acceptez les estimations, zéro prise de tête.",
|
||||
"onboarding.modesCombine": "Les modes se combinent : simple au quotidien, précis quand vous voulez.",
|
||||
"onboarding.memoryTransparency": "Ceci est enregistré dans \"Ce que {brand} sait de moi\" et vous pouvez le modifier à tout moment.",
|
||||
"onboarding.notMedical": "{brand} fournit des repères, pas un avis médical.",
|
||||
"onboarding.stepBSubtitle": "Personnalisez votre profil pour de meilleures suggestions.",
|
||||
"onboarding.stepBTitle": "Continuer la configuration",
|
||||
|
||||
@@ -198,6 +198,7 @@
|
||||
"onboarding.modeSimple": "Modalità semplice",
|
||||
"onboarding.modeSimpleDesc": "Fotografa il cibo, accetta le stime, zero complicazioni.",
|
||||
"onboarding.modesCombine": "Le modalità si possono combinare: semplice ogni giorno, esatta quando vuoi.",
|
||||
"onboarding.memoryTransparency": "Questo viene salvato in \"Cosa sa {brand} di me\" e puoi modificarlo in qualsiasi momento.",
|
||||
"onboarding.notMedical": "{brand} offre indicazioni, non consigli medici.",
|
||||
"onboarding.stepBSubtitle": "Personalizza il profilo per suggerimenti migliori.",
|
||||
"onboarding.stepBTitle": "Continua configurazione",
|
||||
|
||||
@@ -198,6 +198,7 @@
|
||||
"onboarding.modeSimple": "Enkel modus",
|
||||
"onboarding.modeSimpleDesc": "Ta bilde av maten, godta estimater, minimalt styr.",
|
||||
"onboarding.modesCombine": "Modusene kan kombineres – enkelt til hverdags, nøyaktig når du vil.",
|
||||
"onboarding.memoryTransparency": "Dette lagres i \"Hva {brand} vet om meg\", og du kan endre det når som helst.",
|
||||
"onboarding.notMedical": "{brand} gir veiledning – ikke medisinske råd.",
|
||||
"onboarding.stepBSubtitle": "Tilpass profilen din for bedre forslag.",
|
||||
"onboarding.stepBTitle": "Fortsett oppsett",
|
||||
|
||||
@@ -198,6 +198,7 @@
|
||||
"onboarding.modeSimple": "Simpele modus",
|
||||
"onboarding.modeSimpleDesc": "Fotografeer je eten, accepteer schattingen, minimaal gedoe.",
|
||||
"onboarding.modesCombine": "De standen zijn te combineren – simpel in het dagelijks leven, exact wanneer je wilt.",
|
||||
"onboarding.memoryTransparency": "Dit wordt opgeslagen in \"Wat {brand} over mij weet\" en je kunt het altijd wijzigen.",
|
||||
"onboarding.notMedical": "{brand} geeft richtlijnen – geen medisch advies.",
|
||||
"onboarding.stepBSubtitle": "Pas je profiel aan voor betere suggesties.",
|
||||
"onboarding.stepBTitle": "Doorgaan met instellen",
|
||||
|
||||
@@ -204,6 +204,7 @@
|
||||
"onboarding.modeSimple": "Tryb prosty",
|
||||
"onboarding.modeSimpleDesc": "Fotografuj jedzenie, akceptuj szacunki, minimum zachodu.",
|
||||
"onboarding.modesCombine": "Tryby można łączyć – na co dzień prosto, dokładnie, gdy chcesz.",
|
||||
"onboarding.memoryTransparency": "To jest zapisywane w \"Co {brand} wie o mnie\" i możesz to zmienić w każdej chwili.",
|
||||
"onboarding.notMedical": "{brand} to wskazówki – nie porada medyczna.",
|
||||
"onboarding.stepBSubtitle": "Dostosuj swój profil, aby uzyskać lepsze sugestie.",
|
||||
"onboarding.stepBTitle": "Kontynuuj konfigurację",
|
||||
|
||||
@@ -198,6 +198,7 @@
|
||||
"onboarding.modeSimple": "Modo simples",
|
||||
"onboarding.modeSimpleDesc": "Fotografe a comida, aceite estimativas, zero complicações.",
|
||||
"onboarding.modesCombine": "Os modos podem combinar-se: simples no dia a dia, exato quando quiser.",
|
||||
"onboarding.memoryTransparency": "Isto é guardado em \"O que {brand} sabe sobre mim\" e podes alterá-lo a qualquer momento.",
|
||||
"onboarding.notMedical": "{brand} dá orientações – não aconselhamento médico.",
|
||||
"onboarding.stepBSubtitle": "Personaliza o teu perfil para melhores sugestões.",
|
||||
"onboarding.stepBTitle": "Continuar configuração",
|
||||
|
||||
@@ -198,6 +198,7 @@
|
||||
"onboarding.modeSimple": "Enkelt läge",
|
||||
"onboarding.modeSimpleDesc": "Fota maten, acceptera uppskattningar, minimalt pyssel.",
|
||||
"onboarding.modesCombine": "Lägena kan kombineras – enkelt till vardags, exakt när du vill.",
|
||||
"onboarding.memoryTransparency": "Detta sparas i \"Vad {brand} vet om mig\" och du kan ändra det när som helst.",
|
||||
"onboarding.notMedical": "{brand} ger vägledning – inte medicinsk rådgivning.",
|
||||
"onboarding.stepBSubtitle": "Anpassa din profil för bättre förslag.",
|
||||
"onboarding.stepBTitle": "Fortsätt konfiguration",
|
||||
|
||||
Reference in New Issue
Block a user