diff options
-rw-r--r-- | langs/diff.php | 2 | ||||
-rw-r--r-- | langs/missing.php | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/langs/diff.php b/langs/diff.php index 77cf330be..c231b9131 100644 --- a/langs/diff.php +++ b/langs/diff.php @@ -66,7 +66,7 @@ $issues = array( 'dup_str' => 'duplicate strings', ); -$s = '<a href="report.php">« back to langs report</a>'; +$s = '<a href="report.php?l=' . $target_lang . '">« back to the report page for ' . $langs[$target_lang] . '</a>'; $s .= sprintf('<h1>Differences between %s source and %s target</h1>', substr($source_file, strpos($source_file, '/langs/')+7), $target_lang); diff --git a/langs/missing.php b/langs/missing.php index a2df2edcd..3cca031a9 100644 --- a/langs/missing.php +++ b/langs/missing.php @@ -61,7 +61,7 @@ if($constitution || $license) { </head> <body> -<p><a href="report.php">« back to the report page</a></p> +<p><a href="report.php<?php echo '?l=' . $l ?>">« back to the report page for <?php echo $langs[$l] ?></a></p> <h1>Missing language file</h1> <p>So, <code><?php echo $file ?></code> language file is missing in <?php echo $langs[$l], ' (<code>', $l, '</code>)' ?>. What can you do to help us?</p> <?php echo $constitution_or_license; ?> |