Skip to content

Commit

Permalink
Fix incorrect detection of string as php-format by xgettext.
Browse files Browse the repository at this point in the history
Because of "100%" in the string, xgettext thinks this is a format string. This is wrong, so add the appropriate tag to correct the heuristics.
  • Loading branch information
vslavik committed Jun 30, 2013
1 parent 8c06395 commit 679f19a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion oc-admin/themes/modern/tools/import.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ function render_offset(){
osc_add_hook('admin_page_header','customPageHeader');

function addHelp() {
/* xgettext:no-php-format */
echo '<p>' . __("Upload registers from other Osclass installations or upload new geographic information to your site. <strong>Be careful</strong>: don’t use this option if you're not 100% sure what you're doing.") . '</p>';
}
osc_add_hook('help_box','addHelp');
Expand Down Expand Up @@ -61,4 +62,4 @@ function customPageTitle($string) {
</form>
</div>
<!-- /settings form -->
<?php osc_current_admin_theme_path( 'parts/footer.php' ); ?>
<?php osc_current_admin_theme_path( 'parts/footer.php' ); ?>

0 comments on commit 679f19a

Please sign in to comment.