Skip to content

Commit

Permalink
Fixed #3493: Missing string $s_bug_deleted in german (and some other)…
Browse files Browse the repository at this point in the history
… translation

M core/lang_api.php
- Earlier implementations of Mantis used to default the missing string from a certain language to their English values.  This was removed by mistake during cleanup.


git-svn-id: http://mantisbt.svn.sourceforge.net/svnroot/mantisbt/trunk@2281 f5dc347c-c33d-0410-90a0-b07cc1902cb9
  • Loading branch information
vboctor committed Jan 8, 2004
1 parent 2890bbe commit 97cc560
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
11 changes: 8 additions & 3 deletions core/lang_api.php
Expand Up @@ -6,7 +6,7 @@
# See the README and LICENSE files for details

# --------------------------------------------------------
# $Id: lang_api.php,v 1.15 2003-02-24 13:09:34 jlatour Exp $
# $Id: lang_api.php,v 1.16 2004-01-08 22:01:24 vboctor Exp $
# --------------------------------------------------------

###########################################################################
Expand All @@ -29,14 +29,19 @@ function lang_load( $p_lang ) {
if ( $g_lang_current == $p_lang ) {
return;
}

// define current language here so that when custom_strings_inc is
// included it knows the current language
$g_lang_current = $p_lang;

$t_lang_dir = dirname ( dirname ( __FILE__ ) ) . DIRECTORY_SEPARATOR . 'lang' . DIRECTORY_SEPARATOR;


if ( strcasecmp( $p_lang, "english" ) !== 0 ) {
require_once( $t_lang_dir . 'strings_english.txt' );
}
require_once( $t_lang_dir . 'strings_'.$p_lang.'.txt' );

# Allow overriding strings declared in the language file.
# custom_strings_inc.php can use $g_active_language
$t_custom_strings = dirname ( dirname( __FILE__ ) ) . DIRECTORY_SEPARATOR . 'custom_strings_inc.php';
Expand Down
1 change: 1 addition & 0 deletions doc/ChangeLog
Expand Up @@ -4,6 +4,7 @@ Mantis ChangeLog

* Fix #3467: Delete user ends up at user not found error.
* Fix #3479: Reset account preferences of a user results in reset administrators (current) account.
* Fix #3493: Missing string $s_bug_deleted in German (and some other) translation
* Fix #3495: Warning even if administrator account is disabled.

2003.12.08 - 0.18.0
Expand Down

0 comments on commit 97cc560

Please sign in to comment.