Skip to content

Commit

Permalink
Make hours translatable (pluginkollektiv#198)
Browse files Browse the repository at this point in the history
  • Loading branch information
timse201 authored Oct 7, 2020
1 parent dcac6b7 commit 1e21870
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion inc/cachify.settings.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@
</th>
<td>
<?php if ( self::METHOD_HDD === $options['use_apc'] ) : ?>
<input type="number" min="0" step="1" name="cachify[cache_expires]" id="cachify_cache_expires" value="" disabled="disabled" class="small-text" /> Hours
<input type="number" min="0" step="1" name="cachify[cache_expires]" id="cachify_cache_expires" value="" disabled="disabled" class="small-text" />
<?php esc_html_e( 'Hours', 'cachify' ); ?>
<p class="description"><?php esc_html_e( 'HDD cache will only expire as you update posts or flush it yourself.', 'cachify' ); ?></p>
<?php else : ?>
<input type="number" min="0" step="1" name="cachify[cache_expires]" id="cachify_cache_expires" value="<?php echo esc_attr( $options['cache_expires'] ) ?>" class="small-text" />
Expand Down

0 comments on commit 1e21870

Please sign in to comment.