Fix EN typos

- Corrections for en_US language.
- Some whitespace sanitation.

git-svn-id: svn://kolibrios.org@10064 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
Andrew 2024-05-29 21:37:05 +00:00
parent bb2607b7d8
commit a53bea545e
10 changed files with 1311 additions and 1313 deletions

View File

@ -34,8 +34,8 @@ INFTY equ 1000000000
moveorder dd 1,7,2,6,3,5,4
; table used for static evaluation.
; this table is taken from 4st attack: it is ways better
; than the table i used before =)
; this table is taken from 4st attack: it is much better
; than the table I used before =)
evaltable: dd 0, 0, 0, 0, 0, 0, 0, 0, 0
dd 0, 3, 4, 5, 7, 5, 4, 3, 0
dd 0, 4, 6, 8,10, 8, 6, 4, 0
@ -100,7 +100,7 @@ aiGetMove:
push dword -INFTY ; alpha
push dword INFTY ; beta
call alphabeta
neg eax ; damn, how could i forget this ???
neg eax ; How could I forget this ???
mov ebx,eax ; save result for later
pop ecx ; restore loop counter
pop eax ; restore move #

View File

@ -245,7 +245,7 @@ else
WG_help mstr \
'Your aim is to drag the wriggley worms by head or',\
'tail until each worm covers the squares of its',\
'own colour leaving only white squares exposed.',\
'own color leaving only white squares exposed.',\
'Worms cannot cross or overlap.','',\
'http://www.clickmazes.com'
end if

View File

@ -617,7 +617,7 @@ void List::BoardToBoard(int fromwhere, int towhere, char s_color, char s_suit, i
while(cardtraverse){
if(cardtraverse->isup)// Dont move cards if the entered card is down
if(cardtraverse->isup)// Don't move cards if the entered card is down
if(cardtraverse->color == s_color && cardtraverse->suit == s_suit && cardtraverse->value == s_value){
willbemoved = cardtraverse;
break;
@ -757,4 +757,3 @@ void List::close(){//Deletes all linked lists and linkedlists's all nodes
fclose(fptr);//Closing reading txt file
}

View File

@ -12,7 +12,7 @@
;; Calc 1.2
;; 1) added some useful functions, such as arcsin, arccos, arctg, 1/x, x^2
;; Calc 1.31
;; 1) optimised program
;; 1) optimized program
;; 2) new type of window (you need kernel 114 revision or higher)
;; Calc 1.32
;; 1) fixed arccos

View File

@ -240,7 +240,7 @@ print "write failed"
clipboard_read:
; esi -> CLIP_buffer, ax = format id
; edx - ¬ áª  ᮡë⨩ ¯® 㬮«ç ­¨î
; edx - маска событий по умолчанию
; result: eax = 1 - success, 0 - general failure,
; -1 - buffer too small
; edx = size of data
@ -291,7 +291,7 @@ pregs
or eax, eax
jz .err
;print "send fuck"
;print "send DEBUG!"
mov edx, ebp
mov esi, edi
@ -304,8 +304,7 @@ print "read get data"
mov edx, ebx
mov eax, 1
print "read ok"
jmp .exit ; i'm an idiot. Never will I code at night again
; i put jz instead of jmp.
jmp .exit.
.size:
print "buffer small"
@ -356,4 +355,3 @@ clipboard_delete:
.msg_del dw 0
dw 1
dd 0

View File

@ -115,7 +115,7 @@ no_lit:
button_4:
cmp ah,4 ; was it button 4 - LOAD
jne button_5 ; no then try button 5
mov byte [editstate],0 ; dont want to be in edit mode
mov byte [editstate],0 ; don't want to be in edit mode
call draw_filename ; update filename
call load_file ; load the file
call draw_icon ; update icon screen
@ -124,14 +124,14 @@ no_lit:
button_5:
cmp ah,5 ; was it button 5 - SAVE
jne button_6 ; no then try button 6
mov byte [editstate],0 ; dont want to be in edit mode
mov byte [editstate],0 ; don't want to be in edit mode
call draw_filename ; update filename
call save_file ; save the file
jmp check_mouse ; start loop again
button_6:
cmp ah,6 ; was it button 6 - CLEAR ICON
jne button_7 ; no then try button 7
mov byte [editstate],0 ; dont want to be in edit mode
mov byte [editstate],0 ; don't want to be in edit mode
call draw_filename ; update filename
call clear_graph_icon ; clear the icon and edit screens
jmp check_mouse
@ -400,7 +400,7 @@ next_b_w_inner:
jne next_b_w_outer
cmp [first_run],0 ; is it the first window draw
jne dont_load ; no then dont reload the file
jne dont_load ; no then don't reload the file
call load_file ; load initial file
mov [first_run],1 ; first window draw done
dont_load:

View File

@ -977,7 +977,7 @@ text:
db ' '
db ' '
db ' START/STOP << >> REPEAT:OFF '
db 'x <- END MARKER, DONT DELETE '
db 'x <- END MARKER, DON'T DELETE '
now_playing:
db ' '
db 'xx '

View File

@ -985,7 +985,7 @@ void process_key()
buffer[i][j] = NULL;
}
}
if (key_ascii == 24) ///////WTF????
if (key_ascii == 24) ///////Unexpected!????
calculate_values();
draw_grid();
break;

View File

@ -27,6 +27,7 @@
// warnings. See
// https://www.gnu.org/software/libc/manual/html_node/Feature-Test-Macros.html
// for more info.
#define _DEFAULT_SOURCE
#define _BSD_SOURCE
#define _GNU_SOURCE
@ -77,7 +78,7 @@ void notify(char *text);
/*** Data section ***/
// Kolibri defaults
// KolibriOS defaults
int con_def_wnd_width = 80;
int con_def_wnd_height = 25;
/// winFile support
@ -137,7 +138,7 @@ struct editor_config {
// Having a dynamic buffer will allow us to write only one
// time once the screen is refreshing, instead of doing
// a lot of write's.
// a lot of writes.
struct a_buf {
char* buf;
int len;
@ -465,7 +466,7 @@ void enableRawMode() {
/// die("Failed to set raw mode");
}
/// by Siemargl rewritten, still Ctrl+ combination works only in english locale, so need analyze scancode
/// by Siemargl rewritten, still Ctrl+ combination works only in English locale, so need analyze scancode
int editorReadKey() {
int key = con_getch2();
if (key == 0)
@ -844,7 +845,7 @@ void editorSelectSyntaxHighlight() {
int editorRowCursorXToRenderX(editor_row* row, int cursor_x) {
int render_x = 0;
int j;
// For each character, if its a tab we use rx % TTE_TAB_STOP
// For each character, if it's a tab we use rx % TTE_TAB_STOP
// to find out how many columns we are to the right of the last
// tab stop, and then subtract that from TTE_TAB_STOP - 1 to
// find out how many columns we are to the left of the next tab
@ -1187,7 +1188,7 @@ void editorSave() {
}
free(buf);
editorSetStatusMessage("Cant's save file. Error occurred: %s", strerror(errno));
editorSetStatusMessage("Can't save file. Error occurred: %s", strerror(errno));
}
/*** Search section ***/
@ -1361,11 +1362,11 @@ void editorDrawStatusBar(struct a_buf* ab) {
void editorDrawMessageBar(struct a_buf *ab) {
// Clearing the message bar.
/// abufAppend(ab, "\x1b[K", 3); /// not work in Kolibri
/// abufAppend(ab, "\x1b[K", 3); /// not work in KolibriOS
int msg_len = strlen(ec.status_msg);
if (msg_len > ec.screen_cols)
msg_len = ec.screen_cols;
// We only show the message if its less than 5 secons old, but
// We only show the message if it's less than 5 seconds old, but
// remember the screen is only being refreshed after each keypress.
if (msg_len && time(NULL) - ec.status_msg_time < 5)
abufAppend(ab, ec.status_msg, msg_len);

View File

@ -516,7 +516,7 @@ no_ummio_here:
.find:
mov edx, [edx - 4]
mcall SF_DRAW_TEXT,, 0x80000000 ; lets print the vendor Name
mcall SF_DRAW_TEXT,, 0x80000000 ; let's print the vendor Name
mov [store_text_size],42
call store_text