From 40d0b932c097a8c8ff2996ea03cafe021aa00f03 Mon Sep 17 00:00:00 2001 From: jibe-b Date: Fri, 13 Apr 2018 23:53:34 +0200 Subject: [PATCH 1/5] add link to translation platform --- templates/navbar-common.html | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/templates/navbar-common.html b/templates/navbar-common.html index 658fdb89f8..66e3f5cf8d 100644 --- a/templates/navbar-common.html +++ b/templates/navbar-common.html @@ -12,7 +12,9 @@ % for l_completion, l_code, l_name, l_url in website.lang_list
  • {{ _("{0} ({1} complete)", l_name, format_percent(l_completion)) }}
  • + >{{ _("{0}", l_name) }}{{ _(" ({1} complete)", format_percent(l_completion)) }} % endfor
  • Date: Sat, 14 Apr 2018 00:05:17 +0200 Subject: [PATCH 2/5] fix tuple index error --- templates/navbar-common.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/navbar-common.html b/templates/navbar-common.html index 66e3f5cf8d..b29a351c9f 100644 --- a/templates/navbar-common.html +++ b/templates/navbar-common.html @@ -14,7 +14,7 @@ >{{ _("{0}", l_name) }}{{ _(" ({1} complete)", format_percent(l_completion)) }}
  • + >{{ _(" ({0} complete)", format_percent(l_completion)) }} % endfor
  • Date: Sat, 14 Apr 2018 00:28:39 +0200 Subject: [PATCH 3/5] add <99% translation coverage condition --- templates/navbar-common.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/navbar-common.html b/templates/navbar-common.html index b29a351c9f..1ccb551433 100644 --- a/templates/navbar-common.html +++ b/templates/navbar-common.html @@ -13,8 +13,8 @@
  • {{ _("{0}", l_name) }}{{ _(" ({0} complete)", format_percent(l_completion)) }}
  • + >{% if l_completion <= 99 %}{{ _(" ({0} complete)", format_percent(l_completion)) }}{% endif %} % endfor
  • Date: Sat, 14 Apr 2018 00:32:10 +0200 Subject: [PATCH 4/5] reduce size of translation coverage percentage --- templates/navbar-common.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/navbar-common.html b/templates/navbar-common.html index 1ccb551433..9799b731e3 100644 --- a/templates/navbar-common.html +++ b/templates/navbar-common.html @@ -14,7 +14,7 @@ >{{ _("{0}", l_name) }}{% if l_completion <= 99 %}{{ _(" ({0} complete)", format_percent(l_completion)) }}{% endif %}
  • + >{{ _(" ({0} complete)", format_percent(l_completion)) }}{% endif %} % endfor
  • Date: Sat, 14 Apr 2018 00:44:59 +0200 Subject: [PATCH 5/5] align translation coverage percentage to the right --- templates/navbar-common.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/navbar-common.html b/templates/navbar-common.html index 9799b731e3..cb3b5ee9b9 100644 --- a/templates/navbar-common.html +++ b/templates/navbar-common.html @@ -14,7 +14,7 @@ >{{ _("{0}", l_name) }}{% if l_completion <= 99 %}{{ _(" ({0} complete)", format_percent(l_completion)) }}{% endif %}
  • + >{% endif %} % endfor