feat: stripe

This commit is contained in:
2026-05-27 10:15:21 +02:00
parent 79e020ffe3
commit a99d027771
29 changed files with 1160 additions and 4 deletions
+31
View File
@@ -67,6 +67,37 @@ return [
'empty' => '-',
],
],
'credit_products' => [
'navigation' => [
'label' => 'Credit products',
'singular' => 'Credit product',
'plural' => 'Credit products',
],
'sections' => [
'product' => 'Product',
'stripe' => 'Stripe',
],
'fields' => [
'name' => 'Name',
'description' => 'Description',
'type' => 'Type',
'credits' => 'Credits',
'amount' => 'Price',
'currency' => 'Currency',
'stripe_product_id' => 'Stripe product ID',
'stripe_price_id' => 'Stripe price ID',
'is_active' => 'Active',
'sort_order' => 'Order',
'created_at' => 'Created at',
],
'helpers' => [
'amount' => 'Amount in cents, for example 999 for €9.99.',
],
'actions' => [
'sync_stripe' => 'Create in Stripe',
'sync_stripe_success' => 'Stripe product synchronized.',
],
],
'moderation_cases' => [
'navigation' => [
'label' => 'Moderation',
+1
View File
@@ -26,6 +26,7 @@ return [
],
'meal_image_analysis' => [
'failed' => 'Unable to analyze the image right now.',
'insufficient_credits' => 'You do not have any analysis credits left.',
],
'legal_documents' => [
'not_found' => 'Legal document not found.',
+12
View File
@@ -49,6 +49,18 @@ return [
'privacy_policy' => 'Privacy policy',
'terms' => 'Terms of service',
],
'credit_product_type' => [
'monthly' => 'Monthly',
'one_time' => 'Credit pack',
],
'credit_ledger_entry_type' => [
'free_grant' => 'Free credits',
'purchase' => 'Purchase',
'subscription_renewal' => 'Renewal',
'usage' => 'Usage',
'refund' => 'Refund',
'adjustment' => 'Adjustment',
],
'weight_goal' => [
'lose_weight' => 'Lose weight',
'maintain_weight' => 'Maintain weight',
+31
View File
@@ -67,6 +67,37 @@ return [
'empty' => '-',
],
],
'credit_products' => [
'navigation' => [
'label' => 'Produits de crédits',
'singular' => 'Produit de crédits',
'plural' => 'Produits de crédits',
],
'sections' => [
'product' => 'Produit',
'stripe' => 'Stripe',
],
'fields' => [
'name' => 'Nom',
'description' => 'Description',
'type' => 'Type',
'credits' => 'Crédits',
'amount' => 'Prix',
'currency' => 'Devise',
'stripe_product_id' => 'Stripe product ID',
'stripe_price_id' => 'Stripe price ID',
'is_active' => 'Actif',
'sort_order' => 'Ordre',
'created_at' => 'Créé le',
],
'helpers' => [
'amount' => 'Montant en centimes, par exemple 999 pour 9,99 €.',
],
'actions' => [
'sync_stripe' => 'Créer dans Stripe',
'sync_stripe_success' => 'Produit Stripe synchronisé.',
],
],
'moderation_cases' => [
'navigation' => [
'label' => 'Modération',
+1
View File
@@ -26,6 +26,7 @@ return [
],
'meal_image_analysis' => [
'failed' => "Impossible d'analyser l'image pour le moment.",
'insufficient_credits' => "Tu n'as plus de crédits d'analyse.",
],
'legal_documents' => [
'not_found' => 'Document légal introuvable.',
+12
View File
@@ -49,6 +49,18 @@ return [
'privacy_policy' => 'Politique de confidentialité',
'terms' => 'Conditions dutilisation',
],
'credit_product_type' => [
'monthly' => 'Mensuel',
'one_time' => 'Pack de crédits',
],
'credit_ledger_entry_type' => [
'free_grant' => 'Crédits offerts',
'purchase' => 'Achat',
'subscription_renewal' => 'Renouvellement',
'usage' => 'Utilisation',
'refund' => 'Remboursement',
'adjustment' => 'Ajustement',
],
'weight_goal' => [
'lose_weight' => 'Perdre du poids',
'maintain_weight' => 'Maintenir le poids',