Skip to content

Commit

Permalink
Corrected language code for Czech - it is cs (not cz).
Browse files Browse the repository at this point in the history
See http://people.w3.org/rishida/utils/subtags/

git-svn-id: file:///Users/Shitiz/Downloads/lssvn/source/stable_plus@3327 b72ed6b6-b9f8-46b5-92b4-906544132732
  • Loading branch information
c-schmitz committed Sep 30, 2007
1 parent e65a223 commit 3bef621
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 9 deletions.
12 changes: 5 additions & 7 deletions classes/core/surveytranslator.php
Expand Up @@ -80,7 +80,11 @@ function getLanguageData() {
$supportedLanguages['hr']['description'] = $clang->gT('Croatian');
$supportedLanguages['hr']['nativedescription'] = 'Croatian';

// Danish
// Czech
$supportedLanguages['cs']['description'] = $clang->gT('Czech');
$supportedLanguages['cs']['nativedescription'] = 'Česky';

// Danish
$supportedLanguages['da']['description'] = $clang->gT('Danish');
$supportedLanguages['da']['nativedescription'] = 'Dansk';

Expand Down Expand Up @@ -191,12 +195,6 @@ function getLanguageData() {
$supportedLanguages['vi']['description'] = $clang->gT('Vietnamese');
$supportedLanguages['vi']['nativedescription'] = 'Tiếng Việt';


// Czech
$supportedLanguages['cz']['description'] = $clang->gT('Czech');
$supportedLanguages['cz']['nativedescription'] = 'Česky';


Return $supportedLanguages;
}
/* // future languages
Expand Down
5 changes: 3 additions & 2 deletions config.php
Expand Up @@ -25,7 +25,8 @@
$databasetabletype = "myISAM"; // Storage engine mysql should use when creating survey results tables and token tables (if mysql is used). If available, InnoDB is recommended. Default is myISAM.

// FILE LOCATIONS
$rooturl = "http://{$_SERVER['SERVER_NAME']}/limesurvey"; //The root web url for your limesurvey installation.
$rooturl = "http://{$_SERVER['SERVER_NAME']}/stable_plus"; //The root web url for your limesurvey installation.
//$rooturl = "http://localhost:81/file:/D:/web/xampp/htdocs/stable_plus"; //The root web url for your limesurvey installation.

$rootdir = dirname(__FILE__); // This is the physical disk location for your limesurvey installation. Normally you don't have to touch this setting.
// If you use IIS then you MUST enter the complete rootdir e.g. : $rootDir="C:\Inetpub\wwwroot\limesurvey"!
Expand Down Expand Up @@ -76,7 +77,7 @@
$allowedtemplateuploads = "gif,jpg,png"; // File types allowed to be uploaded in the templates section.


$debug = 0; // Switch this to 1 if you are looking for errors. If you still get no errors after enabling this
$debug = 1; // Switch this to 1 if you are looking for errors. If you still get no errors after enabling this
// then please check your error-logs - either in your hosting provider admin panel or in some /logs dir.
$translationmode = 0; // If interface translations are not working this might be because of a bug in your PHP version.
// Set this to '1' to activate a workaround for this bug
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 3bef621

Please sign in to comment.