mirror of
https://github.com/Nioux/AideDeJeu.git
synced 2025-12-15 22:59:39 +00:00
Localization
This commit is contained in:
parent
6f3a87ac5e
commit
622b6a3196
9 changed files with 218 additions and 60 deletions
|
|
@ -1,8 +1,39 @@
|
|||
{
|
||||
"@@locale": "en",
|
||||
"title": "Hello World",
|
||||
"@title": {
|
||||
"description": "Title for the Demo application",
|
||||
"type": "text"
|
||||
"app_title": "Hello World",
|
||||
"@app_title": {
|
||||
"description": "Title for the application",
|
||||
"type": "text",
|
||||
"placeholders": {}
|
||||
},
|
||||
"library_title": "Library",
|
||||
"@library_title": {
|
||||
"description": "Title for the Library page",
|
||||
"type": "text",
|
||||
"placeholders": {}
|
||||
},
|
||||
"pceditor_title": "Player Characters",
|
||||
"@pceditor_title": {
|
||||
"description": "Title for the Player Characters page",
|
||||
"type": "text",
|
||||
"placeholders": {}
|
||||
},
|
||||
"about_title": "About...",
|
||||
"@about_title": {
|
||||
"description": "Title for the About page",
|
||||
"type": "text",
|
||||
"placeholders": {}
|
||||
},
|
||||
"bookmarks_title": "Bookmarks",
|
||||
"@bookmarks_title": {
|
||||
"description": "Title for the Bookmarks page",
|
||||
"type": "text",
|
||||
"placeholders": {}
|
||||
},
|
||||
"search_title": "Search",
|
||||
"@search_title": {
|
||||
"description": "Title for the Search page",
|
||||
"type": "text",
|
||||
"placeholders": {}
|
||||
}
|
||||
}
|
||||
|
|
@ -1,8 +1,39 @@
|
|||
{
|
||||
"@@locale": "fr",
|
||||
"title": "Bonjour Monde",
|
||||
"@title": {
|
||||
"description": "Title for the Demo application",
|
||||
"type": "text"
|
||||
"app_title": "Bonjour Monde",
|
||||
"@app_title": {
|
||||
"description": "Title for the application",
|
||||
"type": "text",
|
||||
"placeholders": {}
|
||||
},
|
||||
"library_title": "Bibliothèque",
|
||||
"@library_title": {
|
||||
"description": "Title for the Library page",
|
||||
"type": "text",
|
||||
"placeholders": {}
|
||||
},
|
||||
"pceditor_title": "Personnages",
|
||||
"@pceditor_title": {
|
||||
"description": "Title for the Player Characters page",
|
||||
"type": "text",
|
||||
"placeholders": {}
|
||||
},
|
||||
"about_title": "A propos de...",
|
||||
"@about_title": {
|
||||
"description": "Title for the About page",
|
||||
"type": "text",
|
||||
"placeholders": {}
|
||||
},
|
||||
"bookmarks_title": "Favoris",
|
||||
"@bookmarks_title": {
|
||||
"description": "Title for the Bookmarks page",
|
||||
"type": "text",
|
||||
"placeholders": {}
|
||||
},
|
||||
"search_title": "Recherche",
|
||||
"@search_title": {
|
||||
"description": "Title for the Search page",
|
||||
"type": "text",
|
||||
"placeholders": {}
|
||||
}
|
||||
}
|
||||
|
|
@ -1,8 +1,38 @@
|
|||
{
|
||||
"@@last_modified": "2020-03-02T17:18:13.928618",
|
||||
"title": "Hello World",
|
||||
"@title": {
|
||||
"description": "Title for the Demo application",
|
||||
"@@last_modified": "2020-03-02T17:41:08.588343",
|
||||
"app_title": "Hello World",
|
||||
"@app_title": {
|
||||
"description": "Title for the application",
|
||||
"type": "text",
|
||||
"placeholders": {}
|
||||
},
|
||||
"library_title": "Library",
|
||||
"@library_title": {
|
||||
"description": "Title for the Library page",
|
||||
"type": "text",
|
||||
"placeholders": {}
|
||||
},
|
||||
"pceditor_title": "Player Characters",
|
||||
"@pceditor_title": {
|
||||
"description": "Title for the Player Characters page",
|
||||
"type": "text",
|
||||
"placeholders": {}
|
||||
},
|
||||
"about_title": "About...",
|
||||
"@about_title": {
|
||||
"description": "Title for the About page",
|
||||
"type": "text",
|
||||
"placeholders": {}
|
||||
},
|
||||
"bookmarks_title": "Bookmarks",
|
||||
"@bookmarks_title": {
|
||||
"description": "Title for the Bookmarks page",
|
||||
"type": "text",
|
||||
"placeholders": {}
|
||||
},
|
||||
"search_title": "Search",
|
||||
"@search_title": {
|
||||
"description": "Title for the Search page",
|
||||
"type": "text",
|
||||
"placeholders": {}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -21,6 +21,11 @@ class MessageLookup extends MessageLookupByLibrary {
|
|||
|
||||
final messages = _notInlinedMessages(_notInlinedMessages);
|
||||
static _notInlinedMessages(_) => <String, Function> {
|
||||
"title" : MessageLookupByLibrary.simpleMessage("Hello World")
|
||||
"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")
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -21,6 +21,11 @@ class MessageLookup extends MessageLookupByLibrary {
|
|||
|
||||
final messages = _notInlinedMessages(_notInlinedMessages);
|
||||
static _notInlinedMessages(_) => <String, Function> {
|
||||
"title" : MessageLookupByLibrary.simpleMessage("Bonjour Monde")
|
||||
"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")
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue