You've already forked wakapi-readme-stats
Merge pull request #65 from Tkd-Alex/Alpha
Italian grammar fix + Order project's list.
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -3,3 +3,4 @@
|
|||||||
node_modules/
|
node_modules/
|
||||||
__pycache__/
|
__pycache__/
|
||||||
|
|
||||||
|
.vscode
|
||||||
|
|||||||
2
main.py
2
main.py
@@ -329,6 +329,8 @@ def get_waka_time_stats():
|
|||||||
if len(data['data']['projects']) == 0:
|
if len(data['data']['projects']) == 0:
|
||||||
project_list = no_activity
|
project_list = no_activity
|
||||||
else:
|
else:
|
||||||
|
# Re-order the project list by percentage
|
||||||
|
data['data']['projects'] = sorted(data['data']['projects'], key=lambda x: x["percent"], reverse=True)
|
||||||
project_list = make_list(data['data']['projects'])
|
project_list = make_list(data['data']['projects'])
|
||||||
stats = stats + '🐱💻 ' + translate['Projects'] + ': \n' + project_list + '\n\n'
|
stats = stats + '🐱💻 ' + translate['Projects'] + ': \n' + project_list + '\n\n'
|
||||||
|
|
||||||
|
|||||||
@@ -96,7 +96,7 @@
|
|||||||
"Not Opted to Hire": "Non disponibile per assunzioni/colloqui",
|
"Not Opted to Hire": "Non disponibile per assunzioni/colloqui",
|
||||||
"Profile Views": "Visite al profilo",
|
"Profile Views": "Visite al profilo",
|
||||||
"From Hello World I have written": "Dal mio primo Hello World ho scritto ",
|
"From Hello World I have written": "Dal mio primo Hello World ho scritto ",
|
||||||
"I am Most Productive on": "Sono piu' produttivo il",
|
"I am Most Productive on": "Sono piu' produttivo di",
|
||||||
"This Week I Spend My Time On": "Questa settimana ho speso il mio tempo su",
|
"This Week I Spend My Time On": "Questa settimana ho speso il mio tempo su",
|
||||||
"I Mostly Code in": "Solitamente programmo in",
|
"I Mostly Code in": "Solitamente programmo in",
|
||||||
"Timeline": "Linea temporale",
|
"Timeline": "Linea temporale",
|
||||||
|
|||||||
Reference in New Issue
Block a user