Open Albirew opened 7 years ago
AFAIK, it should be possible but would require quite a bit of work to implement it.
This is a bit of a CANNED response, but we don't have any plans on doing it though and will welcome any PR submitted for this implementation. There hasn't been any motivation to maintain this code base for various reasons (lack of motivation, time, etc). So I wouldn't put much hopes on any future development with this code base. It is possible that we might rewrite the entire project in a more modern framework, but there aren't any guarantees on that. Open for thoughts/ideas/collaboration to an extent though.
Is it possible to change these lines to make them easily translatable in a separate language file?:
\content\themes\default\views\read.php
var gt_key_suggestion = '<?php echo addslashes(_("Use W-A-S-D or the arrow keys to navigate")) ?>';
var gt_key_tap = '<?php echo addslashes(_("Double-tap to change page")) ?>';
create_message('is_spread', 3000, 'Tap the arrows twice to change page');
content\themes\default\views\latest.php
<div class="meta_r">' . _('by') . ' ' . $chapter->team_url() . ', ' . $chapter->date() . ' ' . $chapter->edit_url() . '</div>
content\themes\default\views\comic.php
<?php if ($comic->author) : ?><?php echo '<b>'._('Author').'</b>: '.$comic->author; ?><br><?php endif; ?>
<?php if ($comic->artist) : ?><?php echo '<b>'._('Artist').'</b>: '.$comic->artist; ?><br><?php endif; ?>
echo '<div class="title">'._('Chapters').'</div>';
<div class="meta_r">' . _('by') . ' ' . $chapter->team_url() . ', ' . $chapter->date() . ' ' . $chapter->edit_url() . '</div>
content\themes\default\views\adult.php
<?php echo _('This series contains mature contents and is meant to be viewed by an adult audience.<br/> If you are of legal age, click on continue.'); ?>
<a href="<?php echo site_url() ?>">Back to index</a> or
echo form_submit('', _('Continue'));
application\models\chapter.php too much lines, basically every set_notice, a few echo and return, and strings from function help_lang()
I may have forgot some but if these strings were translatable, maintenance and update would be extra-easier.