mirror of
https://github.com/actix/examples
synced 2025-06-27 01:27:43 +02:00
add fluent templates example
This commit is contained in:
8
templating/fluent/locales/en/main.ftl
Normal file
8
templating/fluent/locales/en/main.ftl
Normal file
@ -0,0 +1,8 @@
|
||||
home-title = Fluent Templates Example
|
||||
home-description = This is an example of how to use Fluent templates with Actix Web.
|
||||
|
||||
user-title = { $name }'s Homepage
|
||||
user-welcome = Welcome back, { $name }
|
||||
user-data = Here's your { $data }.
|
||||
|
||||
error-not-found = Page not found
|
8
templating/fluent/locales/fr/main.ftl
Normal file
8
templating/fluent/locales/fr/main.ftl
Normal file
@ -0,0 +1,8 @@
|
||||
home-title = Un Exemple de Fluent Templates
|
||||
home-description = Ceci est un exemple d'utilisation des modèles Fluent avec Actix Web.
|
||||
|
||||
user-title = La page d'accueil de { $name }
|
||||
user-welcome = Bienvenue, { $name }
|
||||
user-data = Voici votre { $data }.
|
||||
|
||||
error-not-found = Page non trouvée
|
Reference in New Issue
Block a user