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

Sort/show by number of lines to translate #3

Closed
Seluj78 opened this issue Jan 11, 2019 · 1 comment
Closed

Sort/show by number of lines to translate #3

Seluj78 opened this issue Jan 11, 2019 · 1 comment
Labels
enhancement New feature or request

Comments

@Seluj78
Copy link
Collaborator

Seluj78 commented Jan 11, 2019

No description provided.

@Seluj78 Seluj78 changed the title Sort/show by line number Sort/show by number of lines to translate Mar 11, 2019
@Seluj78 Seluj78 added the enhancement New feature or request label Dec 10, 2019
@Seluj78 Seluj78 added this to the Version 1.0 🎉 milestone Aug 25, 2020
@Seluj78
Copy link
Collaborator Author

Seluj78 commented Dec 27, 2020

This would require an entire rewrite of potodo. Closing for now

Why? because the buffer is stored separatly from folders (

Potodo/potodo/potodo.py

Lines 30 to 40 in eed6d80

if True in printed_list:
logging.debug("Printing directory %s", directory_name)
# If at least one of the files isn't done then print the
# folder stats and file(s) Each time a file is went over True
# or False is placed in the printed_list list. If False is
# placed it means it doesnt need to be printed
folder_completion = 100 * folder_stats["translated"] / folder_stats["total"]
print(f"\n\n# {directory_name} ({folder_completion:.2f}% done)\n")
print("\n".join(buffer))
)

@Seluj78 Seluj78 closed this as completed Dec 27, 2020
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

No branches or pull requests

1 participant