forked from len0rd/rockbox
translation fix
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2617 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
8f4c5040a0
commit
59ed9d0542
2 changed files with 38 additions and 8 deletions
|
|
@ -274,17 +274,31 @@ desc: in settings_menu
|
||||||
eng: "Follow Playlist"
|
eng: "Follow Playlist"
|
||||||
new:
|
new:
|
||||||
|
|
||||||
|
# depreciated
|
||||||
|
id: LANG_RESET_ASK_PLAYER
|
||||||
|
desc: confirm to reset settings
|
||||||
|
eng: ""
|
||||||
|
new:
|
||||||
|
|
||||||
|
# depreciated
|
||||||
|
id: LANG_RESET_CONFIRM_PLAYER
|
||||||
|
desc: confirm to reset settings
|
||||||
|
eng: ""
|
||||||
|
new:
|
||||||
|
|
||||||
id: LANG_RESET_ASK_RECORDER
|
id: LANG_RESET_ASK_RECORDER
|
||||||
desc: confirm to reset settings
|
desc: confirm to reset settings
|
||||||
eng: "Are you sure?"
|
eng: "Are you sure?"
|
||||||
new:
|
new:
|
||||||
|
|
||||||
id: LANG_RESET_CONFIRM
|
# depreciated
|
||||||
|
id: LANG_RESET_CONFIRM_RECORDER
|
||||||
desc: confirm to reset settings
|
desc: confirm to reset settings
|
||||||
eng: "PLAY=Reset"
|
eng: ""
|
||||||
new:
|
new:
|
||||||
|
|
||||||
id: LANG_RESET_CANCEL
|
# depreciated
|
||||||
|
id: LANG_RESET_CANCEL_RECORDER
|
||||||
desc: confirm to reset settings
|
desc: confirm to reset settings
|
||||||
eng: "OFF=Cancel"
|
eng: "OFF=Cancel"
|
||||||
new:
|
new:
|
||||||
|
|
@ -782,7 +796,7 @@ new:
|
||||||
|
|
||||||
id: LANG_TETRIS_LEVEL
|
id: LANG_TETRIS_LEVEL
|
||||||
desc: tetris game
|
desc: tetris game
|
||||||
eng: "0 Rows - Level 0"
|
eng: "Rows - Level"
|
||||||
new:
|
new:
|
||||||
|
|
||||||
id: LANG_POWEROFF_IDLE
|
id: LANG_POWEROFF_IDLE
|
||||||
|
|
@ -874,3 +888,15 @@ id: LANG_REPEAT_ONE
|
||||||
desc: repeat one song
|
desc: repeat one song
|
||||||
eng: "One"
|
eng: "One"
|
||||||
new:
|
new:
|
||||||
|
|
||||||
|
id: LANG_RESET_CONFIRM
|
||||||
|
desc: confirm to reset settings
|
||||||
|
eng: "PLAY=Reset"
|
||||||
|
new:
|
||||||
|
|
||||||
|
id: LANG_RESET_CANCEL
|
||||||
|
desc: confirm to reset settings
|
||||||
|
eng: "OFF=Cancel"
|
||||||
|
new:
|
||||||
|
|
||||||
|
id: LANG_TETRIS_LEVEL
|
||||||
|
|
|
||||||
|
|
@ -287,12 +287,12 @@ static int check_lines(void)
|
||||||
if(line)
|
if(line)
|
||||||
{
|
{
|
||||||
lines++;
|
lines++;
|
||||||
// move rows down
|
/* move rows down */
|
||||||
for(i = x; i < max_x - 1; i++)
|
for(i = x; i < max_x - 1; i++)
|
||||||
for (j = 0; j < max_y; j++)
|
for (j = 0; j < max_y; j++)
|
||||||
*(virtual + j * max_x + i) = *(virtual + j * max_x + (i + 1));
|
*(virtual + j * max_x + i) = *(virtual + j * max_x + (i + 1));
|
||||||
|
|
||||||
x--; // re-check this line
|
x--; /* re-check this line */
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -318,7 +318,8 @@ static void move_down(void)
|
||||||
score += l*l;
|
score += l*l;
|
||||||
}
|
}
|
||||||
|
|
||||||
snprintf (s, sizeof(s), "%d Rows - Level %d", lines, level);
|
snprintf (s, sizeof(s), "%d %s %d", lines,
|
||||||
|
str(LANG_TETRIS_LEVEL), level);
|
||||||
lcd_putsxy (2, 42, s);
|
lcd_putsxy (2, 42, s);
|
||||||
|
|
||||||
new_block();
|
new_block();
|
||||||
|
|
@ -400,10 +401,13 @@ static void init_tetris(void)
|
||||||
|
|
||||||
bool tetris(void)
|
bool tetris(void)
|
||||||
{
|
{
|
||||||
|
char buf[20];
|
||||||
|
|
||||||
init_tetris();
|
init_tetris();
|
||||||
|
|
||||||
draw_frame(start_x, start_x + max_x - 1, start_y - 1, start_y + max_y);
|
draw_frame(start_x, start_x + max_x - 1, start_y - 1, start_y + max_y);
|
||||||
lcd_putsxy (2, 42, str(LANG_TETRIS_LEVEL));
|
snprintf(buf, sizeof(buf), "0 %s 0", str(LANG_TETRIS_LEVEL));
|
||||||
|
lcd_putsxy (2, 42, buf);
|
||||||
lcd_update();
|
lcd_update();
|
||||||
|
|
||||||
next_b = t_rand(blocks);
|
next_b = t_rand(blocks);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue