mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-09 05:05:20 -05:00
FS#13434: Partially internationalize the textviewer plugin
* Converted over all previously-translated strings * Lots of comments added to mark the next phase * Voice filename of the file being loaded if possible Change-Id: Ia3219bbfa4505ad29a25bcf1d6eacc94c59a2a83
This commit is contained in:
parent
8c6b579b32
commit
c97954f014
6 changed files with 58 additions and 43 deletions
|
|
@ -218,7 +218,7 @@ void tv_convert_fpos(off_t fpos, struct tv_screen_pos *pos)
|
|||
|
||||
tv_seek_page(i, SEEK_SET);
|
||||
while (tv_create_line_positions() && cur_pos.file_pos < fpos)
|
||||
rb->splashf(0, "converting %ld%%...", 100 * cur_pos.file_pos / fpos);
|
||||
rb->splashf(0, "converting %ld%%...", 100 * cur_pos.file_pos / fpos); // XXX i18n
|
||||
|
||||
if (i < max_page)
|
||||
cur_pos.page--;
|
||||
|
|
@ -239,7 +239,7 @@ static void tv_seek_to_bottom_line(void)
|
|||
|
||||
tv_seek_page(0, SEEK_END);
|
||||
while (tv_create_line_positions())
|
||||
rb->splashf(0, "loading %ld%%...", 100 * cur_pos.file_pos / total_size);
|
||||
rb->splashf(0, "loading %ld%%...", 100 * cur_pos.file_pos / total_size); // XXX i18n
|
||||
|
||||
cur_pos.line = lines_per_page - 1;
|
||||
}
|
||||
|
|
@ -286,7 +286,7 @@ void tv_move_screen(int page_offset, int line_offset, int whence)
|
|||
|
||||
tv_seek_page(new_pos.page, SEEK_SET);
|
||||
while (cur_pos.page < new_pos.page && tv_create_line_positions())
|
||||
rb->splashf(0, "loading %d%%...", 100 * cur_pos.page / new_pos.page);
|
||||
rb->splashf(0, "loading %d%%...", 100 * cur_pos.page / new_pos.page); // XXX i18n
|
||||
|
||||
if (new_pos.line == 0)
|
||||
return;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue