From 090a80c9893f9e2adc50986cd91e74ee39e7bb1b Mon Sep 17 00:00:00 2001 From: Huey Date: Mon, 26 Aug 2019 18:42:30 +0100 Subject: [PATCH 1/5] Add outdated_translation variable On @m52go's advice I changed the construction of the outdated translation alert tool to be spefic to the page instead of the language. I added a "outdated_translation" variable to the front matter of the relevant translated pages. They'll have the values 'true' or 'false' according to the state. --- _includes/main_nav_tr.html | 9 ++++++++- de/community.md | 1 + de/dao.html | 1 + de/downloads.html | 1 + de/faq.html | 1 + de/index.md | 1 + de/markets.html | 1 + de/stats.html | 1 + de/vision.md | 1 + es/community.md | 1 + es/dao.html | 1 + es/downloads.html | 1 + es/faq.html | 1 + es/index.md | 1 + es/markets.html | 1 + es/stats.html | 1 + es/vision.md | 1 + pt-PT/community.md | 1 + pt-PT/dao.html | 1 + pt-PT/downloads.html | 1 + pt-PT/faq.html | 1 + pt-PT/index.md | 1 + pt-PT/markets.html | 1 + pt-PT/stats.html | 1 + pt-PT/vision.md | 1 + zh-CN/community.md | 1 + zh-CN/dao.html | 1 + zh-CN/downloads.html | 1 + zh-CN/faq.html | 1 + zh-CN/index.md | 1 + zh-CN/markets.html | 1 + zh-CN/stats.html | 1 + zh-CN/vision.md | 1 + 33 files changed, 40 insertions(+), 1 deletion(-) diff --git a/_includes/main_nav_tr.html b/_includes/main_nav_tr.html index 4fd0451e..a7280034 100644 --- a/_includes/main_nav_tr.html +++ b/_includes/main_nav_tr.html @@ -1,6 +1,13 @@