Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 18 additions & 1 deletion .overrides/progress.rst
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,25 @@ y otras estadísticas.

.. note::

Esta lista se actualiza automáticamente cuando Pull Requests se *mergean* a la rama ``3.8``.
Estas listas se actualiza automáticamente cuando Pull Requests se *mergean* a la rama ``3.8``.


En progreso
-----------

Muestra los porcentajes completados por directorio y solo los archivos que no están al 100%.

.. runblock:: console

$ potodo --offline --path .


Completados
-----------

Lista todos los archivos con un porcentaje de traducción mayor al 90% (para contemplar los que tienen fuzzy).


.. runblock:: console

$ python scripts/completed_files.py
25 changes: 25 additions & 0 deletions scripts/completed_files.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
#!/usr/bin/env python

import glob
import os

import polib # fades

PO_DIR = os.path.abspath(
os.path.join(
os.path.dirname(__file__),
'..',
))


def main():
for pofilename in sorted(glob.glob(PO_DIR + '**/*/*.po')):
po = polib.pofile(pofilename)
percent_translated = po.percent_translated()
if percent_translated > 90:
pofilename = pofilename.replace(PO_DIR + os.sep, '')
print(f"{pofilename:<30} :: {percent_translated}%")


if __name__ == "__main__":
main()
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy