From 0332537f327fad8a76e80c85c996d99c09e30e20 Mon Sep 17 00:00:00 2001 From: Filip Komar Date: Sat, 9 Feb 2013 12:17:13 +0000 Subject: navigation added to translation report --- langs/missing.php | 21 ++++++++++++++++----- 1 file changed, 16 insertions(+), 5 deletions(-) (limited to 'langs/missing.php') diff --git a/langs/missing.php b/langs/missing.php index 72f22bc2c..387c84651 100644 --- a/langs/missing.php +++ b/langs/missing.php @@ -12,6 +12,17 @@ if (is_null($s)) { include 'lib.php'; +if ($s == '../_nav/langs/en.lang') { + $file = substr(_lang_file_switch($s, $l), 14); + $note = ' NOTE: THIS IS TRANSLATION OF NAVIGATION SO LOCATION FOR COMMIT IS DIFFERENT!'; + $commit = 'web/www/trunk/_nav/langs/' . $file . ' and for now to the web/nav/langs/' . $file . ' too'; + $iframe = 'http://www.mageia.org/_nav/langs/en.lang'; +} else { + $file = _lang_file_switch($s, $l); + $note = ''; + $commit = 'web/www/trunk/langs/' . $file; + $iframe = 'http://www.mageia.org/langs/'.$s; +} ?> @@ -23,14 +34,14 @@ include 'lib.php';

« back to the report page

-

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

+

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

    -
  1. Copy the source file from the frame below in a text editor and rename it .
  2. +
  3. Copy the source file from the frame below in a text editor and rename it .
  4. Replace and translate the strings that are just after the lines starting with a ";". Be careful to always keep your translated text on a single line.
  5. Then:
      -
    • if you have a SVN account, you may commit it directly in web/www/trunk/langs/' . _lang_file_switch($s, $l)?>;
    • +
    • if you have a SVN account, you may commit it directly in ;
    • or attach it to a mail to Mageia i18n team (mageia-i18n, #mageia-i18n on Freenode).
  6. @@ -38,7 +49,7 @@ include 'lib.php';

Thanks!

- +
- \ No newline at end of file + -- cgit v1.2.1