Dotclear


Ignore:
Timestamp:
12/18/12 11:34:38 (11 years ago)
Author:
franck <carnet.franck.paul@…>
Branch:
default
Children:
1080:4f4478e9973d, 1081:862f566d2372
Message:

Better way to compose l10n message. Addresses #1308

File:
1 edited

Legend:

Unmodified
Added
Removed
  • admin/index.php

    r1076 r1077  
    212212     echo 
    213213     '<p class="static-msg">'. 
    214      'DC_ADMIN_URL '.__('is not defined, you should edit your configuration file.'). 
     214     sprintf(__('%s is not defined, you should edit your configuration file.'),'DC_ADMIN_URL'). 
     215     ' '.__('See <a href="http://dotclear.org/documentation/2.0/admin/config">documentation</a> for more information.'). 
    215216     '</p>'; 
    216217} 
     
    219220     echo 
    220221     '<p class="static-msg">'. 
    221      'DC_ADMIN_MAILFROM '.__('is not defined, you should edit your configuration file.').' '. 
    222      __('See <a href="http://dotclear.org/documentation/2.0/admin/config">documentation</a> for more information.'). 
     222     sprintf(__('%s is not defined, you should edit your configuration file.'),'DC_ADMIN_MAILFROM'). 
     223     ' '.__('See <a href="http://dotclear.org/documentation/2.0/admin/config">documentation</a> for more information.'). 
    223224     '</p>'; 
    224225} 
Note: See TracChangeset for help on using the changeset viewer.

Sites map