Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update language support for new locale codes #30

Open
wants to merge 8 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions programs/demos/timer/trunk/timer.asm
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ use32
dd 0x1000 ; esp
dd 0x0 , 0x0 ; I_Param , I_Icon

include 'lang.inc' ; Language support for locales: ru_RU (CP866), en_US.
include 'lang.inc' ; Language support for locales: ru_RU (CP866), en_US.
include '..\..\..\macros.inc'

START: ; start of execution
Expand Down Expand Up @@ -138,7 +138,7 @@ draw_window:
; DATA AREA

if lang eq ru_RU
title db '������',0
title db '������',0
ace-dent marked this conversation as resolved.
Show resolved Hide resolved
else ; Default to en_US
title db 'TIMER',0
end if
Expand Down
55 changes: 54 additions & 1 deletion programs/develop/info3ds/info_menu.inc
Original file line number Diff line number Diff line change
@@ -1 +1,54 @@
if lang eq rusz_main_menu_View db '���', 0sz_main_menu_Veiw_Vertexes db '���設� ���.', 0sz_main_menu_Veiw_Faces db '��ઠ�� �࠭� ���.', 0sz_main_menu_Veiw_Faces_Fill db '������ �࠭� ���.', 0sz_main_menu_Veiw_Light db '���� ���./�몫.', 0sz_main_menu_Veiw_Smooth db '����������� ���./�몫.', 0sz_main_menu_Veiw_Reset db '���� ����஥�', 0if version_edit eq 0sz_main_menu_Veiw_Faces_Mat db '�����梥�� �࠭� ���.', 0elsesz_main_menu_Vertexes db '���設�', 0sz_main_menu_Vertexes_Select db '�뤥���� ���設�', 0sz_main_menu_Vertexes_Deselect db '�⬥���� ��� �뤥�����', 0sz_main_menu_Average_x db '�।��� x',0sz_main_menu_Average_y db '�।��� y',0sz_main_menu_Average_z db '�।��� z',0end ifelsesz_main_menu_View db 'View', 0sz_main_menu_Veiw_Vertexes db 'Vertexes on', 0sz_main_menu_Veiw_Faces db 'Edges on', 0sz_main_menu_Veiw_Faces_Fill db 'Faces on', 0sz_main_menu_Veiw_Light db 'Light on/off', 0sz_main_menu_Veiw_Smooth db 'Smooth on/off', 0sz_main_menu_Veiw_Reset db 'Reset settings', 0if version_edit eq 0sz_main_menu_Veiw_Faces_Mat db 'Diferent color faces on', 0elsesz_main_menu_Vertexes db 'Vertexes', 0sz_main_menu_Vertexes_Select db 'Select vertex', 0sz_main_menu_Vertexes_Deselect db 'Deselect all', 0sz_main_menu_Average_x db 'Average x',0sz_main_menu_Average_y db 'Average y',0sz_main_menu_Average_z db 'Average z',0end ifend ifmain_menu dd 0main_menu_file dd 0main_menu_view dd 0main_menu_vertexes dd 0KMENUITEM_NORMAL equ 0KMENUITEM_SUBMENU equ 1KMENUITEM_SEPARATOR equ 2
; Language support for locales: ru_RU (CP866), en_US.

if lang eq ru_RU

sz_main_menu_View db '���', 0
sz_main_menu_Veiw_Vertexes db '���設� ���.', 0
sz_main_menu_Veiw_Faces db '��ઠ�� �࠭� ���.', 0
sz_main_menu_Veiw_Faces_Fill db '������ �࠭� ���.', 0
sz_main_menu_Veiw_Light db '���� ���./�몫.', 0
sz_main_menu_Veiw_Smooth db '����������� ���./�몫.', 0
sz_main_menu_Veiw_Reset db '���� ����஥�', 0

if version_edit eq 0
sz_main_menu_Veiw_Faces_Mat db '�����梥�� �࠭� ���.', 0
else
sz_main_menu_Vertexes db '���設�', 0
sz_main_menu_Vertexes_Select db '�뤥���� ���設�', 0
sz_main_menu_Vertexes_Deselect db '�⬥���� ��� �뤥�����', 0
sz_main_menu_Average_x db '�।��� x',0
sz_main_menu_Average_y db '�।��� y',0
sz_main_menu_Average_z db '�।��� z',0
end if

else ; Default to en_US

sz_main_menu_View db 'View', 0
sz_main_menu_Veiw_Vertexes db 'Vertexes on', 0
sz_main_menu_Veiw_Faces db 'Edges on', 0
sz_main_menu_Veiw_Faces_Fill db 'Faces on', 0
sz_main_menu_Veiw_Light db 'Light on/off', 0
sz_main_menu_Veiw_Smooth db 'Smooth on/off', 0
sz_main_menu_Veiw_Reset db 'Reset settings', 0

if version_edit eq 0
sz_main_menu_Veiw_Faces_Mat db 'Diferent color faces on', 0
else
sz_main_menu_Vertexes db 'Vertexes', 0
sz_main_menu_Vertexes_Select db 'Select vertex', 0
sz_main_menu_Vertexes_Deselect db 'Deselect all', 0
sz_main_menu_Average_x db 'Average x',0
sz_main_menu_Average_y db 'Average y',0
sz_main_menu_Average_z db 'Average z',0
end if

end if

main_menu dd 0
main_menu_file dd 0
main_menu_view dd 0
main_menu_vertexes dd 0

KMENUITEM_NORMAL equ 0
KMENUITEM_SUBMENU equ 1
KMENUITEM_SEPARATOR equ 2
Loading