Project

General

Profile

Actions

Bug #3037

closed

Calendar language file included with e.g. fr_FR folder different from CB-standard fr_fr folder

Added by beat about 13 years ago. Updated almost 13 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Start date:
25 November 2011
Due date:
% Done:

100%

Estimated time:
0:30 h

Description

As reported here and analyzed here:
https://www.joomlapolis.com/forum/153-professional-member-support/183282-translation-problem-labels-for-months?limit=6&start=12#183511
https://www.joomlapolis.com/forum/153-professional-member-support/183474-mauvaise-installation-des-plugins-de-langue#183479

comprofiler.class.php line 3119 and 3120:

            } elseif ( file_exists( $UElanguagePath.'/'.$_CB_framework->getCfg( 'lang_tag' ).'/calendar-locals.js' ) ) {
                $calendarLangFile    =    '/components/com_comprofiler/plugin/language/'.$_CB_framework->getCfg( 'lang_tag' ).'/calendar-locals.js';

should be:

            } elseif ( file_exists( $UElanguagePath.'/' . strtolower( $_CB_framework->getCfg( 'lang_tag' ) ) . '/calendar-locals.js' ) ) {
                $calendarLangFile    =    '/components/com_comprofiler/plugin/language/'.strtolower($_CB_framework->getCfg( 'lang_tag' )).'/calendar-locals.js';

to avoid to have that js translation file in an upper-case folder.

Actions #1

Updated by beat about 13 years ago

  • Status changed from New to Resolved
  • % Done changed from 0 to 100

Fixed in r1636 .

Actions #2

Updated by beat almost 13 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF