Dotclear

Changeset 1077:e80b1a400723


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

Better way to compose l10n message. Addresses #1308

Files:
2 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} 
  • locales/fr/main.po

    r1076 r1077  
    853853msgstr "Ce blog est retiré de la publication" 
    854854 
    855 msgid "is not defined, you should edit your configuration file." 
    856 msgstr "n'est pas défini, vous devriez corriger votre fichier de configuration." 
     855msgid "%s is not defined, you should edit your configuration file." 
     856msgstr "%s n'est pas défini, vous devriez corriger votre fichier de configuration." 
    857857 
    858858msgid "See <a href=\"http://dotclear.org/documentation/2.0/admin/config\">documentation</a> for more information." 
Note: See TracChangeset for help on using the changeset viewer.

Sites map