Skip to content

Commit

Permalink
gettext-changes. Moved image directory to make it shareable with onli…
Browse files Browse the repository at this point in the history
…ne help

git-svn-id: file:///Users/Shitiz/Downloads/lssvn/source/phpsurveyor@1802 b72ed6b6-b9f8-46b5-92b4-906544132732
  • Loading branch information
c-schmitz committed Jul 28, 2006
1 parent 37035cf commit 70fae4d
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
4 changes: 3 additions & 1 deletion classes/core/surveytranslator.php
Expand Up @@ -155,7 +155,9 @@ function getLanguageData() {
$supportedLanguages['vn']['description'] = 'Vietnamese';
$supportedLanguages['vn']['nativedescription'] = 'Tiếng Việt';



Return $supportedLanguages;
}
/* // future languages
// Afrikaans
Expand Down
8 changes: 3 additions & 5 deletions common.php
Expand Up @@ -131,12 +131,10 @@
//SET LANGUAGE DIRECTORY
if ($sourcefrom == "admin")
{
$langdir="$homeurl/lang/$currentlang";
$langdir2="$homedir/lang/$currentlang";
if (!is_dir($langdir2))
$langdir="$publicurl/locale/$currentlang/help";
if (!is_dir($langdir))
{
$langdir="$homeurl/lang/english"; //default to english if there is no matching language dir
$langdir2="$homedir/lang/english";
$langdir="$publicurl/locale/en/help"; //default to english if there is no matching language dir
}
}
//SET LOCAL TIME
Expand Down
2 changes: 1 addition & 1 deletion config.php
Expand Up @@ -68,7 +68,7 @@
$homeurl = "$rooturl/admin"; // The website location (url) of the admin scripts
$publicurl = "$rooturl"; // The public website location (url) of the public survey script
$tempurl = "$rooturl/tmp";
$imagefiles = "$rooturl/admin/images"; //Location of button bar files for admin script
$imagefiles = "$rooturl/images"; //Location of button bar files for admin script
$homedir = "$rootdir/admin"; // The physical disk location of the admin scripts
$publicdir = "$rootdir"; // The physical disk location of the public scripts
$tempdir = "$rootdir/tmp"; // The physical location where PHPSurveyor can store temporary files
Expand Down

0 comments on commit 70fae4d

Please sign in to comment.