mirror of
https://github.com/Nioux/AideDeJeu.git
synced 2025-12-15 22:59:39 +00:00
Localization + theme
This commit is contained in:
parent
622b6a3196
commit
1197df6527
13 changed files with 223 additions and 95 deletions
|
|
@ -1,39 +1,57 @@
|
|||
{
|
||||
"@@locale": "en",
|
||||
"app_title": "Hello World",
|
||||
"@app_title": {
|
||||
"appTitle": "Hello World",
|
||||
"@appTitle": {
|
||||
"description": "Title for the application",
|
||||
"type": "text",
|
||||
"placeholders": {}
|
||||
},
|
||||
"library_title": "Library",
|
||||
"@library_title": {
|
||||
"libraryTitle": "Library",
|
||||
"@libraryTitle": {
|
||||
"description": "Title for the Library page",
|
||||
"type": "text",
|
||||
"placeholders": {}
|
||||
},
|
||||
"pceditor_title": "Player Characters",
|
||||
"@pceditor_title": {
|
||||
"pceditorTitle": "Player Characters",
|
||||
"@pceditorTitle": {
|
||||
"description": "Title for the Player Characters page",
|
||||
"type": "text",
|
||||
"placeholders": {}
|
||||
},
|
||||
"about_title": "About...",
|
||||
"@about_title": {
|
||||
"aboutTitle": "About...",
|
||||
"@aboutTitle": {
|
||||
"description": "Title for the About page",
|
||||
"type": "text",
|
||||
"placeholders": {}
|
||||
},
|
||||
"bookmarks_title": "Bookmarks",
|
||||
"@bookmarks_title": {
|
||||
"bookmarksTitle": "Bookmarks",
|
||||
"@bookmarksTitle": {
|
||||
"description": "Title for the Bookmarks page",
|
||||
"type": "text",
|
||||
"placeholders": {}
|
||||
},
|
||||
"search_title": "Search",
|
||||
"@search_title": {
|
||||
"searchTitle": "Search",
|
||||
"@searchTitle": {
|
||||
"description": "Title for the Search page",
|
||||
"type": "text",
|
||||
"placeholders": {}
|
||||
},
|
||||
"raceTitle": "Race",
|
||||
"@raceTitle": {
|
||||
"description": "Title for the Race page",
|
||||
"type": "text",
|
||||
"placeholders": {}
|
||||
},
|
||||
"backgroundTitle": "Background",
|
||||
"@backgroundTitle": {
|
||||
"description": "Title for the Background page",
|
||||
"type": "text",
|
||||
"placeholders": {}
|
||||
},
|
||||
"classTitle": "Class",
|
||||
"@classTitle": {
|
||||
"description": "Title for the Class page",
|
||||
"type": "text",
|
||||
"placeholders": {}
|
||||
}
|
||||
}
|
||||
|
|
@ -1,39 +1,57 @@
|
|||
{
|
||||
"@@locale": "fr",
|
||||
"app_title": "Bonjour Monde",
|
||||
"@app_title": {
|
||||
"appTitle": "Bonjour Monde",
|
||||
"@appTitle": {
|
||||
"description": "Title for the application",
|
||||
"type": "text",
|
||||
"placeholders": {}
|
||||
},
|
||||
"library_title": "Bibliothèque",
|
||||
"@library_title": {
|
||||
"libraryTitle": "Bibliothèque",
|
||||
"@libraryTitle": {
|
||||
"description": "Title for the Library page",
|
||||
"type": "text",
|
||||
"placeholders": {}
|
||||
},
|
||||
"pceditor_title": "Personnages",
|
||||
"@pceditor_title": {
|
||||
"pceditorTitle": "Personnages",
|
||||
"@pceditorTitle": {
|
||||
"description": "Title for the Player Characters page",
|
||||
"type": "text",
|
||||
"placeholders": {}
|
||||
},
|
||||
"about_title": "A propos de...",
|
||||
"@about_title": {
|
||||
"aboutTitle": "A propos de...",
|
||||
"@aboutTitle": {
|
||||
"description": "Title for the About page",
|
||||
"type": "text",
|
||||
"placeholders": {}
|
||||
},
|
||||
"bookmarks_title": "Favoris",
|
||||
"@bookmarks_title": {
|
||||
"bookmarksTitle": "Favoris",
|
||||
"@bookmarksTitle": {
|
||||
"description": "Title for the Bookmarks page",
|
||||
"type": "text",
|
||||
"placeholders": {}
|
||||
},
|
||||
"search_title": "Recherche",
|
||||
"@search_title": {
|
||||
"searchTitle": "Recherche",
|
||||
"@searchTitle": {
|
||||
"description": "Title for the Search page",
|
||||
"type": "text",
|
||||
"placeholders": {}
|
||||
},
|
||||
"raceTitle": "Race",
|
||||
"@raceTitle": {
|
||||
"description": "Title for the Race page",
|
||||
"type": "text",
|
||||
"placeholders": {}
|
||||
},
|
||||
"backgroundTitle": "Historique",
|
||||
"@backgroundTitle": {
|
||||
"description": "Title for the Background page",
|
||||
"type": "text",
|
||||
"placeholders": {}
|
||||
},
|
||||
"classTitle": "Classe",
|
||||
"@classTitle": {
|
||||
"description": "Title for the Class page",
|
||||
"type": "text",
|
||||
"placeholders": {}
|
||||
}
|
||||
}
|
||||
|
|
@ -1,39 +1,57 @@
|
|||
{
|
||||
"@@last_modified": "2020-03-02T17:41:08.588343",
|
||||
"app_title": "Hello World",
|
||||
"@app_title": {
|
||||
"@@last_modified": "2020-03-03T11:00:06.908535",
|
||||
"appTitle": "Hello World",
|
||||
"@appTitle": {
|
||||
"description": "Title for the application",
|
||||
"type": "text",
|
||||
"placeholders": {}
|
||||
},
|
||||
"library_title": "Library",
|
||||
"@library_title": {
|
||||
"libraryTitle": "Library",
|
||||
"@libraryTitle": {
|
||||
"description": "Title for the Library page",
|
||||
"type": "text",
|
||||
"placeholders": {}
|
||||
},
|
||||
"pceditor_title": "Player Characters",
|
||||
"@pceditor_title": {
|
||||
"pceditorTitle": "Player Characters",
|
||||
"@pceditorTitle": {
|
||||
"description": "Title for the Player Characters page",
|
||||
"type": "text",
|
||||
"placeholders": {}
|
||||
},
|
||||
"about_title": "About...",
|
||||
"@about_title": {
|
||||
"aboutTitle": "About...",
|
||||
"@aboutTitle": {
|
||||
"description": "Title for the About page",
|
||||
"type": "text",
|
||||
"placeholders": {}
|
||||
},
|
||||
"bookmarks_title": "Bookmarks",
|
||||
"@bookmarks_title": {
|
||||
"bookmarksTitle": "Bookmarks",
|
||||
"@bookmarksTitle": {
|
||||
"description": "Title for the Bookmarks page",
|
||||
"type": "text",
|
||||
"placeholders": {}
|
||||
},
|
||||
"search_title": "Search",
|
||||
"@search_title": {
|
||||
"searchTitle": "Search",
|
||||
"@searchTitle": {
|
||||
"description": "Title for the Search page",
|
||||
"type": "text",
|
||||
"placeholders": {}
|
||||
},
|
||||
"raceTitle": "Race",
|
||||
"@raceTitle": {
|
||||
"description": "Title for the Race page",
|
||||
"type": "text",
|
||||
"placeholders": {}
|
||||
},
|
||||
"backgroundTitle": "Background",
|
||||
"@backgroundTitle": {
|
||||
"description": "Title for the Background page",
|
||||
"type": "text",
|
||||
"placeholders": {}
|
||||
},
|
||||
"classTitle": "Class",
|
||||
"@classTitle": {
|
||||
"description": "Title for the Class page",
|
||||
"type": "text",
|
||||
"placeholders": {}
|
||||
}
|
||||
}
|
||||
|
|
@ -21,11 +21,14 @@ class MessageLookup extends MessageLookupByLibrary {
|
|||
|
||||
final messages = _notInlinedMessages(_notInlinedMessages);
|
||||
static _notInlinedMessages(_) => <String, Function> {
|
||||
"about_title" : MessageLookupByLibrary.simpleMessage("About..."),
|
||||
"app_title" : MessageLookupByLibrary.simpleMessage("Hello World"),
|
||||
"bookmarks_title" : MessageLookupByLibrary.simpleMessage("Bookmarks"),
|
||||
"library_title" : MessageLookupByLibrary.simpleMessage("Library"),
|
||||
"pceditor_title" : MessageLookupByLibrary.simpleMessage("Player Characters"),
|
||||
"search_title" : MessageLookupByLibrary.simpleMessage("Search")
|
||||
"aboutTitle" : MessageLookupByLibrary.simpleMessage("About..."),
|
||||
"appTitle" : MessageLookupByLibrary.simpleMessage("Hello World"),
|
||||
"backgroundTitle" : MessageLookupByLibrary.simpleMessage("Background"),
|
||||
"bookmarksTitle" : MessageLookupByLibrary.simpleMessage("Bookmarks"),
|
||||
"classTitle" : MessageLookupByLibrary.simpleMessage("Class"),
|
||||
"libraryTitle" : MessageLookupByLibrary.simpleMessage("Library"),
|
||||
"pceditorTitle" : MessageLookupByLibrary.simpleMessage("Player Characters"),
|
||||
"raceTitle" : MessageLookupByLibrary.simpleMessage("Race"),
|
||||
"searchTitle" : MessageLookupByLibrary.simpleMessage("Search")
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -21,11 +21,14 @@ class MessageLookup extends MessageLookupByLibrary {
|
|||
|
||||
final messages = _notInlinedMessages(_notInlinedMessages);
|
||||
static _notInlinedMessages(_) => <String, Function> {
|
||||
"about_title" : MessageLookupByLibrary.simpleMessage("A propos de..."),
|
||||
"app_title" : MessageLookupByLibrary.simpleMessage("Bonjour Monde"),
|
||||
"bookmarks_title" : MessageLookupByLibrary.simpleMessage("Favoris"),
|
||||
"library_title" : MessageLookupByLibrary.simpleMessage("Bibliothèque"),
|
||||
"pceditor_title" : MessageLookupByLibrary.simpleMessage("Personnages"),
|
||||
"search_title" : MessageLookupByLibrary.simpleMessage("Recherche")
|
||||
"aboutTitle" : MessageLookupByLibrary.simpleMessage("A propos de..."),
|
||||
"appTitle" : MessageLookupByLibrary.simpleMessage("Bonjour Monde"),
|
||||
"backgroundTitle" : MessageLookupByLibrary.simpleMessage("Historique"),
|
||||
"bookmarksTitle" : MessageLookupByLibrary.simpleMessage("Favoris"),
|
||||
"classTitle" : MessageLookupByLibrary.simpleMessage("Classe"),
|
||||
"libraryTitle" : MessageLookupByLibrary.simpleMessage("Bibliothèque"),
|
||||
"pceditorTitle" : MessageLookupByLibrary.simpleMessage("Personnages"),
|
||||
"raceTitle" : MessageLookupByLibrary.simpleMessage("Race"),
|
||||
"searchTitle" : MessageLookupByLibrary.simpleMessage("Recherche")
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue