[Gnucash-changes] r14390 - htdocs/trunk/news - correct path for translations
Joshua Sled
jsled at cvs.gnucash.org
Mon Jun 19 22:17:15 EDT 2006
Author: jsled
Date: 2006-06-19 22:17:11 -0400 (Mon, 19 Jun 2006)
New Revision: 14390
Trac: http://svn.gnucash.org/trac/changeset/14390
Modified:
htdocs/trunk/news/news-script.php
Log:
correct path for translations
Modified: htdocs/trunk/news/news-script.php
===================================================================
--- htdocs/trunk/news/news-script.php 2006-06-19 01:44:10 UTC (rev 14389)
+++ htdocs/trunk/news/news-script.php 2006-06-20 02:17:11 UTC (rev 14390)
@@ -44,8 +44,8 @@
while ($filename = $hd->read()) {
$s = strtolower($filename);
if (strstr($s, ".news")) {
- $lang_files[$filename] = $lang_newspath.$filename;
- $display_filename = $lang_newspath.$filename;
+ $lang_files[$filename] = $lang_newspath."/".$filename;
+ $display_filename = $lang_newspath."/".$filename;
// echo("<!-- found locale news: $display_filename -->\n");
$about = file($display_filename);
$lastchanged = $about[1];
@@ -69,7 +69,7 @@
if (strstr($s, ".news")) {
// echo("<!-- found english file: $s -->\n");
if (! array_key_exists($filename, $lang_files)) {
- $display_filename = $en_newspath.$filename;
+ $display_filename = $en_newspath."/".$filename;
// echo("<!-- using untranslated english file: $display_filename -->\n");
$about = file($display_filename);
$lastchanged = $about[1];
More information about the gnucash-changes
mailing list