To participate you must create an account on apostrophenow.org. If you have already done so, click Login.

Ticket #445: fix_the_or-bug.diff

File fix_the_or-bug.diff, 0.8 KB (added by oestrogen, 2 years ago)

Patch to fix the untranslatable "or" in aMedia.

  • modules/aMedia/templates/indexSuccess.php

     
    1212        <?php if (aMediaTools::isSelecting()): ?> 
    1313 
    1414    <?php if (isset($label)): ?> 
    15       <h3><?php echo htmlspecialchars($label) ?> or <?php echo link_to(__("Cancel", null, 'apostrophe'), "aMedia/selectCancel", array("class"=>"a-btn a-cancel text-only")) ?></h3> 
     15      <h3><?php echo htmlspecialchars($label) ?> <?php echo __('or', null, 'apostrophe') ?> <?php echo link_to(__("Cancel", null, 'apostrophe'), "aMedia/selectCancel", array("class"=>"a-btn a-cancel text-only")) ?></h3> 
    1616    <?php endif ?> 
    1717 
    1818    <?php include_partial('aMedia/describeConstraints') ?>