From 20ec9d49a1858925c5456ce86c31d69e9caead7b Mon Sep 17 00:00:00 2001 From: Filip Komar Date: Sun, 5 Jan 2014 16:22:49 +0000 Subject: some small fixes --- langs/diff.php | 1 + langs/missing.php | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/langs/diff.php b/langs/diff.php index 9e5484a2f..ccc7f6416 100644 --- a/langs/diff.php +++ b/langs/diff.php @@ -67,6 +67,7 @@ if($constitution) { } $num_of_untranslated_strings = 0; +$diff['untranslated_sentences_in_license'] = array(); if($license) { require_once('../en/about/license/license.php'); $license_numbers = array_pop(read_license_from_vcs($target_lang)); diff --git a/langs/missing.php b/langs/missing.php index 44016693a..03b6cd698 100644 --- a/langs/missing.php +++ b/langs/missing.php @@ -44,8 +44,8 @@ if($constitution) { $num_of_untranslated_strings = 0; if($license) { - $constitution_or_license .= '

Please translate license into ' . $langs[$target_lang] . ' first

'; - $constitution_or_license .= sprintf('

You can find it in git. ', $target_lang); // git doesn't work yet on https + $constitution_or_license .= '

Please translate license into ' . $langs[$l] . ' first

'; + $constitution_or_license .= sprintf('

You can find it in git. ', $l); // git doesn't work yet on https } if($constitution || $license) { -- cgit v1.2.1