From 2cd5ef6d8faa56a54b5f4bcea59b3973d2e9a535 Mon Sep 17 00:00:00 2001 From: filip Date: Tue, 2 Dec 2014 20:55:57 +0100 Subject: bugfix for dash languages in Transifex + more work focused link there --- langs/missing.php | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) (limited to 'langs/missing.php') diff --git a/langs/missing.php b/langs/missing.php index 552cf4abe..345e9035e 100644 --- a/langs/missing.php +++ b/langs/missing.php @@ -45,10 +45,15 @@ if($constitution) { $constitution_or_license .= '

You can find it in git.'; } +$tx_resource_name = 'page-' . str_replace(array('../_nav/langs/en', '/'), array('nav', '-'), $resource); +$tx_language_code = locale_hyphen_underscore($l, true); $num_of_untranslated_strings = 0; if($license) { $constitution_or_license .= '

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

'; - $constitution_or_license .= '

You can find it as a part of a separate drakx translation file in git or in Transifex (it starts before the line with the string "1. License Agreement").'; // git doesn't work yet on https + $constitution_or_license .= '

You can find it as a part of a separate drakx translation file in git or in Transifex (it starts before '; + $constitution_or_license .= 'the line with the string "1. License Agreement").'; // git doesn't work yet on https } if($constitution || $license) { @@ -67,14 +72,19 @@ if($constitution || $license) {

« back to the report page for

Missing language file -

-

Note that you can translate most of our web page resources online in Transifex.

+

Note that you can translate most of our web page resources online in Transifex.

Please take a look off the translation guide on the localization Wiki page too.

So, language file is missing in ', $l, ')' ?>. What can you do to help us?

    You can start translating the source file ' . $to_translate . ' in Transifex or any other gettext editor of your choice and rename it to ' . $file . '.' . $note . '' . PHP_EOL; +echo '
  1. You can start translating the source file ' . $to_translate; +echo ' in Transifex or any other gettext editor '; +echo 'of your choice and rename it to ' . $file . '.' . $note . '
  2. ' . PHP_EOL; ?>
  3. Then:
      -- cgit v1.2.1