Changeset 5021 for trunk/install


Ignore:
Timestamp:
Mar 2, 2010, 3:54:22 PM (14 years ago)
Author:
nikrou
Message:

Feature 1451 : localization with gettext
Use php-gettext (developpement version rev43, because of php5.3) as fallback
Use native language (english) instead of key for translation
Keep directory en_UK for english customization
Need some refactoring for plurals

Todo : managing plugins in the same way

Location:
trunk/install
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/install/php5_apache_configuration.php

    r3203 r5021  
    109109  echo '
    110110</div>
    111 <div style="text-align: center">'.sprintf(l10n('install_help'), PHPWG_URL.'/forum').'</div>
     111<div style="text-align: center">'.sprintf(l10n('Need help ? Ask your question on <a href="%s">Piwigo message board</a>.'), PHPWG_URL.'/forum').'</div>
    112112</div>
    113113</body>
     
    141141  <table>
    142142  <tr>
    143     <td>'.l10n('language').'</td>
     143    <td>'.l10n('Language').'</td>
    144144    <td>
    145145      <select name="language" onchange="document.location = \''.$script.'.php?language=\'+this.options[this.selectedIndex].value;">';
  • trunk/install/upgrade_1.3.1.php

    r4325 r5021  
    603603  $page['infos'],
    604604  array(
    605     l10n('all sub-categories of private categories become private'),
    606     l10n('user permissions and group permissions have been erased'),
    607     l10n('only thumbnails prefix and webmaster mail saved')
     605    l10n('All sub-categories of private categories become private'),
     606    l10n('User permissions and group permissions have been erased'),
     607    l10n('Only thumbnails prefix and webmaster mail address have been saved from previous configuration')
    608608    )
    609609  );
Note: See TracChangeset for help on using the changeset viewer.