Skip to content
This repository has been archived by the owner on Mar 11, 2023. It is now read-only.

Améliorations JSON #46

Open
Seluj78 opened this issue Dec 18, 2019 · 1 comment · May be fixed by #111
Open

Améliorations JSON #46

Seluj78 opened this issue Dec 18, 2019 · 1 comment · May be fixed by #111
Assignees
Labels
enhancement New feature or request

Comments

@Seluj78
Copy link
Collaborator

Seluj78 commented Dec 18, 2019

[
        {
            "name": "folder/",
            "percent_translated": 0.0,
            "files": [
                {
                    "name": "folder/file3",
                    "path": "some/path/folder/file3.po",
                    "entries": 1,
                    "fuzzies": 0,
                    "translated": 0,
                    "percent_translated": 0,
                    "reserved_by": null,
                },
            ],
        },
        {
            "name": "python-docs-fr/",
            "percent_translated": 25,
            "files": [
                {
                    "name": "python-docs-fr/file1",
                    "path": "some/path/file1.po",
                    "entries": 3,
                    "fuzzies": 1,
                    "translated": 1,
                    "percent_translated": 33,
                    "reserved_by": null,
                },
                {
                    "name": "python-docs-fr/file2",
                    "path": "some/path/file2.po",
                    "entries": 1,
                    "fuzzies": 0,
                    "translated": 0,
                    "percent_translated": 0,
                    "reserved_by": null,
                },
            ],
        },
    ]

Il y a 2-3 trucs à améliorer sur la sortie ;

  • on pourrait mettre « / » au lieu de « python-docs-fr » pour désigner le dossier racine ;
  • mettre le « percent_translated » du fichier en décimal ;
  • enrichir la description du dossier avec « entries », « fuzzies », « translated » aggrégés.

Originally posted by @awecx in #45 (comment)

EDIT 31/12/20, percent_translated sur les dossiers correct.
EDIT 04/01/21, entries », « fuzzies », « translated » aggrégés.

@awecx awecx added the enhancement New feature or request label Dec 18, 2019
@awecx awecx mentioned this issue May 22, 2020
@Seluj78 Seluj78 added this to the Version 1.0 🎉 milestone Aug 25, 2020
@Seluj78
Copy link
Collaborator Author

Seluj78 commented Dec 27, 2020

ping @awecx encoree d'actualité ?

@awecx awecx linked a pull request Jan 3, 2021 that will close this issue
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants