From b2646a9af922f06b6a3cf3c3059e3bb67df077ca Mon Sep 17 00:00:00 2001 From: Anmol Pratap Singh Date: Sun, 16 Aug 2020 19:07:15 +0530 Subject: [PATCH 1/7] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index bbf468d..2967cb9 100644 --- a/README.md +++ b/README.md @@ -263,7 +263,7 @@ Contributions are welcome! ♥! Please share any features, and add unit tests! U 6. [Arnav Jindal](https://github.com/Daggy1234): For Pull Request [#48](https://github.com/anmol098/waka-readme-stats/pull/48) 7. [Daniel Rowe](https://github.com/DanRowe1): For Pull Request [#57](https://github.com/anmol098/waka-readme-stats/pull/57) -
+
Special mention for those who are currently making their profile readme more awesome :smile: :tada: - [Stanislas](https://github.com/angristan) From ea6a30b6de0c2f4dd9edce0cdabc251af72c8314 Mon Sep 17 00:00:00 2001 From: Daniel Rowe Date: Sun, 16 Aug 2020 23:54:00 -0400 Subject: [PATCH 2/7] Using proper tense of spend --- main.py | 4 ++-- translation.json | 12 ++++++------ 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/main.py b/main.py index d0d18a5..00ff927 100644 --- a/main.py +++ b/main.py @@ -301,7 +301,7 @@ def get_waka_time_stats(): empty = False stats = stats + generate_commit_list(tz=data['data']['timezone']) + '\n\n' - stats += '📊 **' + translate['This Week I Spend My Time On'] + '** \n\n' + stats += '📊 **' + translate['This Week I Spent My Time On'] + '** \n\n' stats += '```text\n' if showTimeZone.lower() in truthy: empty = False @@ -407,7 +407,7 @@ def get_short_info(github): total = data['years'][0]['total'] year = data['years'][0]['year'] string += '> 🏆 ' + humanize.intcomma(total) + " " + translate[ - 'Contributions in the year'] + " " + year + '\n > \n' + 'Contributions in the Year'] + " " + year + '\n > \n' string += '> 📦 ' + disk_usage + " " + translate["Used in GitHub's Storage"] + ' \n > \n' is_hireable = user_info.hireable diff --git a/translation.json b/translation.json index 298839e..7d147d8 100644 --- a/translation.json +++ b/translation.json @@ -16,14 +16,14 @@ "operating system": "système opérateur", "Projects": "projets", "Timezone": "fuseau horaire", - "Contributions in the year": "contributions en", + "Contributions in the Year": "contributions en", "Used in GitHub's Storage": "utilisés dans le stockage de GitHub", "Opted to Hire": "A choisi d'embaucher", "Not Opted to Hire": "N'a pas choisi d'embaucher", "Profile Views": "Vues du profil", "From Hello World I have written": "De Hello World, j'ai écrit", "I am Most Productive on": "Je suis le plus productif", - "This Week I Spend My Time On": "Cette semaine, je passe mon temps", + "This Week I Spent My Time On": "Cette semaine, je passe mon temps", "I Mostly Code in": "Je code principalement dans", "Timeline": "Chronologie", "No Activity Tracked This Week": "Aucune activité enregistrée cette semaine", @@ -53,14 +53,14 @@ "operating system": "Operating System", "Projects": "Projects", "Timezone": "Time zone", - "Contributions in the year": "Contributions in the year", + "Contributions in the Year": "Contributions in the Year", "Used in GitHub's Storage": "Used in Github's Storage", "Opted to Hire": "Opted to Hire", "Not Opted to Hire": "Not Opted to Hire", "Profile Views": "Profile Views", "From Hello World I have written": "From Hello World I've Written", "I am Most Productive on": "I'm Most Productive on", - "This Week I Spend My Time On": "This Week I Spend My Time On", + "This Week I Spent My Time On": "This Week I Spent My Time On", "I Mostly Code in": "I Mostly Code in", "Timeline": "Timeline", "No Activity Tracked This Week": "No Activity Tracked This Week", @@ -90,14 +90,14 @@ "operating system": "Sistema operativo", "Projects": "Progetti", "Timezone": "Fuso orario", - "Contributions in the year": "Contributi nell'ultimo anno", + "Contributions in the Year": "Contributi nell'ultimo anno", "Used in GitHub's Storage": "Spazio di archiviazione di Github utilizzato", "Opted to Hire": "Pronto per essere assunto", "Not Opted to Hire": "Non disponibile per assunzioni/colloqui", "Profile Views": "Visite al profilo", "From Hello World I have written": "Dal mio primo Hello World ho scritto ", "I am Most Productive on": "Sono piu' produttivo il", - "This Week I Spend My Time On": "Questa settimana ho speso il mio tempo su", + "This Week I Spent My Time On": "Questa settimana ho speso il mio tempo su", "I Mostly Code in": "Solitamente programmo in", "Timeline": "Linea temporale", "No Activity Tracked This Week": "Nessuna attività tracciata questa settimana", From 0325af591b6d4f041053e43624a60430756a72f2 Mon Sep 17 00:00:00 2001 From: Daniel Rowe Date: Mon, 17 Aug 2020 00:05:05 -0400 Subject: [PATCH 3/7] Proper casing for all english --- translation.json | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/translation.json b/translation.json index 7d147d8..6f668f4 100644 --- a/translation.json +++ b/translation.json @@ -52,7 +52,7 @@ "Editors": "Code Editors", "operating system": "Operating System", "Projects": "Projects", - "Timezone": "Time zone", + "Timezone": "Time Zone", "Contributions in the Year": "Contributions in the Year", "Used in GitHub's Storage": "Used in Github's Storage", "Opted to Hire": "Opted to Hire", @@ -65,11 +65,11 @@ "Timeline": "Timeline", "No Activity Tracked This Week": "No Activity Tracked This Week", "My GitHub Data": "My Github Data", - "Lines of code": "Lines of code", - "public repository": "Public repository", - "public repositories": "Public repositories", - "private repository": "Private repository", - "private repositories": "Private repositories", + "Lines of code": "lines of code", + "public repository": "Public Repository", + "public repositories": "Public Repositories", + "private repository": "Private Repository", + "private repositories": "Private Repositories", "I am an Early": "I'm an Early 🐤", "I am a Night": "I'm a Night 🦉" }, From a3095d2b11ff00faef60475f065f176d219ab5f0 Mon Sep 17 00:00:00 2001 From: Erwin Lejeune Date: Mon, 17 Aug 2020 18:29:19 +0200 Subject: [PATCH 4/7] fix some french issues and cases sensitive typos --- translation.json | 42 +++++++++++++++++++++--------------------- 1 file changed, 21 insertions(+), 21 deletions(-) diff --git a/translation.json b/translation.json index 298839e..6e77040 100644 --- a/translation.json +++ b/translation.json @@ -5,36 +5,36 @@ "Wednesday": "Mercredi", "Thursday": "Jeudi", "Friday": "Vendredi", - "Saturday": "samedi", - "Sunday": "dimanche", + "Saturday": "Samedi", + "Sunday": "Dimanche", "Morning": "Matin", - "Daytime": "Jour", - "Evening": "crépuscule", + "Daytime": "Journée", + "Evening": "Soirée", "Night": "Nuit", - "Languages": "Langages de programmation", + "Languages": "Langages", "Editors": "Éditeurs de code", - "operating system": "système opérateur", - "Projects": "projets", - "Timezone": "fuseau horaire", - "Contributions in the year": "contributions en", - "Used in GitHub's Storage": "utilisés dans le stockage de GitHub", + "operating system": "Système d'exploitation", + "Projects": "Projets", + "Timezone": "Fuseau horaire", + "Contributions in the year": "Contributions en", + "Used in GitHub's Storage": "Utilisés avec le stockage de GitHub", "Opted to Hire": "A choisi d'embaucher", "Not Opted to Hire": "N'a pas choisi d'embaucher", "Profile Views": "Vues du profil", - "From Hello World I have written": "De Hello World, j'ai écrit", - "I am Most Productive on": "Je suis le plus productif", - "This Week I Spend My Time On": "Cette semaine, je passe mon temps", - "I Mostly Code in": "Je code principalement dans", + "From Hello World I have written": "Depuis Hello World, j'ai écrit", + "I am Most Productive on": "Je suis le plus productif sur", + "This Week I Spend My Time On": "Cette semaine, je passe mon temps sur", + "I Mostly Code in": "Je code principalement en", "Timeline": "Chronologie", "No Activity Tracked This Week": "Aucune activité enregistrée cette semaine", "My GitHub Data": "Mes données GitHub", "Lines of code": "Lignes de code", - "public repository": "référentiel public", - "public repositories": "référentiels publics", - "private repository": "référentiel privé", - "private repositories": "référentiels privés", - "I am an Early": "Je suis un début 🐤", - "I am a Night": "Je suis une nuit 🦉" + "public repository": "dépot publique", + "public repositories": "dépots publiques", + "private repository": "dépot privé", + "private repositories": "dépots privés", + "I am an Early": "Je suis un 🐤 du matin", + "I am a Night": "Je suis un 🦉 de nuit" }, "en": { "Monday": "Monday", @@ -110,4 +110,4 @@ "I am an Early": "Sono un mattiniero 🐤", "I am a Night": "Sono un notturno 🦉" } -} \ No newline at end of file +} From 1b621618235984a6972f4b545df7624a037fac47 Mon Sep 17 00:00:00 2001 From: Daniel Rowe <47305015+DanRowe1@users.noreply.github.com> Date: Wed, 19 Aug 2020 10:24:23 -0400 Subject: [PATCH 5/7] Update translation.json --- translation.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/translation.json b/translation.json index bc32e1e..7fed11e 100644 --- a/translation.json +++ b/translation.json @@ -134,7 +134,7 @@ "Profile Views": "个人封面观看次数", "From Hello World I have written": "从你好世界我已经写了", "I am Most Productive on": "我最有效率是", - "This Week I Spend My Time On": "这周我花我的时间在", + "This Week I Spent My Time On": "这周我花我的时间在", "I Mostly Code in": "我主要编程在于", "Timeline": "时间线", "No Activity Tracked This Week": "本周没有记录任何活动", From 1ce3fd145718fa16814b1c13d0f10b4046f137e1 Mon Sep 17 00:00:00 2001 From: Daniel Rowe Date: Wed, 19 Aug 2020 10:32:42 -0400 Subject: [PATCH 6/7] changed keys back --- main.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main.py b/main.py index 4f03459..c3d488c 100644 --- a/main.py +++ b/main.py @@ -301,7 +301,7 @@ def get_waka_time_stats(): empty = False stats = stats + generate_commit_list(tz=data['data']['timezone']) + '\n\n' - stats += '📊 **' + translate['This Week I Spent My Time On'] + '** \n\n' + stats += '📊 **' + translate['This Week I Spend My Time On'] + '** \n\n' stats += '```text\n' if showTimeZone.lower() in truthy: empty = False @@ -409,7 +409,7 @@ def get_short_info(github): total = data['years'][0]['total'] year = data['years'][0]['year'] string += '> 🏆 ' + humanize.intcomma(total) + " " + translate[ - 'Contributions in the Year'] + " " + year + '\n > \n' + 'Contributions in the year'] + " " + year + '\n > \n' string += '> 📦 ' + disk_usage + " " + translate["Used in GitHub's Storage"] + ' \n > \n' is_hireable = user_info.hireable From f0d3081f9272876576742925dcee023f97fdaf2e Mon Sep 17 00:00:00 2001 From: Daniel Rowe Date: Wed, 19 Aug 2020 10:35:34 -0400 Subject: [PATCH 7/7] Changed code editors to editors per #69 --- translation.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/translation.json b/translation.json index 525f310..1211a48 100644 --- a/translation.json +++ b/translation.json @@ -49,7 +49,7 @@ "Evening": "Evening", "Night": "Night", "Languages": "Programming Languages", - "Editors": "Code Editors", + "Editors": "Editors", "operating system": "Operating System", "Projects": "Projects", "Timezone": "Time Zone",