Skip to content

Commit

Permalink
add port
Browse files Browse the repository at this point in the history
  • Loading branch information
Mips2648 committed Aug 30, 2024
1 parent 02a9b16 commit fc6258f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ But it might happen that you face a case not yet foreseen, so please find below

In the `src` folder you will find one json file by source language corresponding to the glossary for that language. The naming convention is `[lang]_glossary.json`; e.g. `fr_FR_glossary.json`.
This file must contain one key by target language and in each, one key by "word" => "translation".
The words must be in the singular form.
The words must be in the singular form, lower case and preferably in alphabetical order to easily spot them.

Example for *fr_FR* glossary:

Expand Down
11 changes: 6 additions & 5 deletions src/fr_FR_glossary.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
{
"en_US": {
"commande": "command",
"type": "type",
"pièce": "room",
"vrai": "true",
"actif": "active",
"action": "action",
"commande": "command",
"mode": "mode",
"action": "action"
"pièce": "room",
"port": "port",
"type": "type",
"vrai": "true"
}
}

0 comments on commit fc6258f

Please sign in to comment.