Commit 1475e102 authored by Vasily I. Volchenko's avatar Vasily I. Volchenko Committed by Alexandre Julliard

Added Russian language support.

Fixed bug of file browsing operation (filepath length corrected).
parent a85b0a6d
Fri Nov 17 20:39:00 2000 Vasily I. Volchenko <FoodTechnologist@pisem.net>
* [dialog.c]
Fixed bug of file browsing operation (filepath length corrected).
Thu Nov 16 23:13:00 2000 Vasily I. Volchenko <FoodTechnologist@pisem.net>
* [Ru.rc]
Added Russian language support.
TODO:Test all other languages for correct writing their high characters
Tue Oct 12 20:31:00 1999 Gustavo Junior Alves <alves@correionet.com.br>
* [Pt.rc] [Makefile.in]
Added Portuguese language support.
......
/*
* Program Manager
*
* Copyright 2000 Vasily Volchenko
*/
/* There is a difficulty to use correct codepage for messages, menus etc... So I have added the following line.
May be, such line should be present in EVERY ??.rc file, but... I can't test any language except Russian and English :-)
So, everyone, test your native languages!!!
*/
LANGUAGE LANG_RUSSIAN, SUBLANG_DEFAULT
#define LANGUAGE_ID Ru
#define LANGUAGE_NUMBER 8
#define LANGUAGE_MENU_ITEM "&"
/* Menu */
#define MENU_FILE "&"
#define MENU_FILE_NEW "&..."
#define MENU_FILE_OPEN "&\tEnter"
#define MENU_FILE_MOVE "&...\tF7"
#define MENU_FILE_COPY "&...\tF8"
#define MENU_FILE_DELETE "&\tEntf"
#define MENU_FILE_ATTRIBUTES "&...\tAlt+Enter"
#define MENU_FILE_EXECUTE "&..."
#define MENU_FILE_EXIT "& Windows..."
#define MENU_OPTIONS "&"
#define MENU_OPTIONS_AUTO_ARRANGE "&"
#define MENU_OPTIONS_MIN_ON_RUN "& "
#define MENU_OPTIONS_SAVE_SETTINGS "& "
#define MENU_WINDOWS "&"
#define MENU_WINDOWS_OVERLAP "&\tShift+F5"
#define MENU_WINDOWS_SIDE_BY_SIDE "&\tShift+F4"
#define MENU_WINDOWS_ARRANGE "& "
#define MENU_LANGUAGE "&"
#define MENU_HELP "&"
#define MENU_HELP_CONTENTS "&"
#define MENU_HELP_SEARCH "&..."
#define MENU_HELP_HELP_ON_HELP "&"
#define MENU_HELP_TUTORIAL "&"
#define MENU_INFO "&..."
#define MENU_INFO_LICENSE "&"
#define MENU_INFO_NO_WARRANTY "& "
#define MENU_INFO_ABOUT_WINE "& WINE"
/* Dialogs */
#define DIALOG_OK "OK"
#define DIALOG_CANCEL ""
#define DIALOG_BROWSE "&"
#define DIALOG_HELP "&"
#define DIALOG_NEW_CAPTION " "
#define DIALOG_NEW_NEW ""
#define DIALOG_NEW_GROUP "& "
#define DIALOG_NEW_PROGRAM "& "
#define DIALOG_MOVE_CAPTION " "
#define DIALOG_MOVE_PROGRAM " :"
#define DIALOG_MOVE_FROM_GROUP " :"
#define DIALOG_MOVE_TO_GROUP "& :"
#define DIALOG_COPY_CAPTION " "
#define DIALOG_COPY_PROGRAM " :"
#define DIALOG_COPY_FROM_GROUP DIALOG_MOVE_FROM_GROUP
#define DIALOG_COPY_TO_GROUP DIALOG_MOVE_TO_GROUP
#define DIALOG_GROUP_CAPTION " "
#define DIALOG_GROUP_DESCRIPTION "&:"
#define DIALOG_GROUP_FILE "& :"
#define DIALOG_PROGRAM_CAPTION " "
#define DIALOG_PROGRAM_DESCRIPTION DIALOG_GROUP_DESCRIPTION
#define DIALOG_PROGRAM_COMMAND_LINE "& :"
#define DIALOG_PROGRAM_DIRECTORY "& :"
#define DIALOG_PROGRAM_HOT_KEY "& :"
#define DIALOG_PROGRAM_SYMBOL " &"
#define DIALOG_PROGRAM_OTHER_SYMBOL "& ..."
#define DIALOG_SYMBOL_CAPTION " "
#define DIALOG_SYMBOL_FILE "& :"
#define DIALOG_SYMBOL_CURRENT "& :"
#define DIALOG_EXECUTE_CAPTION " "
#define DIALOG_EXECUTE_COMMAND_LINE DIALOG_PROGRAM_COMMAND_LINE
#define DIALOG_EXECUTE_SYMBOL DIALOG_PROGRAM_SYMBOL
/* Strings */
#define STRING_PROGRAM_MANAGER " "
#define STRING_ERROR ""
#define STRING_WARNING ""
#define STRING_INFO ""
#define STRING_DELETE ""
#define STRING_DELETE_GROUP_s " `%s' ?"
#define STRING_DELETE_PROGRAM_s " `%s' ?"
#define STRING_NOT_IMPLEMENTED " "
#define STRING_FILE_READ_ERROR_s " `%s' "
#define STRING_FILE_WRITE_ERROR_s " `%s' "
#define STRING_GRPFILE_READ_ERROR_s "\ `%s' .\n\ ?"
#define STRING_OUT_OF_MEMORY " "
#define STRING_WINHELP_ERROR " "
#define STRING_UNKNOWN_FEATURE_s " %s"
#define STRING_FILE_NOT_OVERWRITTEN_s " `%s' . ."
#define STRING_SAVE_GROUP_AS_s " `%s' "
#define STRING_NO_HOT_KEY ""
#define STRING_ALL_FILES " (*.*)"
#define STRING_PROGRAMS ""
#define STRING_LIBRARIES_DLL " (*.dll)"
#define STRING_SYMBOL_FILES " "
/* Who has written 'Symbol files'? This has double meaning!!!*/
#define STRING_SYMBOLS_ICO " (*.ico)"
#include "Xx.rc"
......@@ -7,7 +7,6 @@
#include "windows.h"
#include "commdlg.h"
#include "progman.h"
static BOOL DIALOG_BrowsePrograms(HWND, LPSTR, INT);
static BOOL DIALOG_BrowseSymbols(HWND, LPSTR, INT);
static LRESULT DIALOG_NEW_DlgProc(HWND, UINT, WPARAM, LPARAM);
......@@ -549,7 +548,7 @@ static BOOL DIALOG_Browse(HWND hDlg, LPCSTR lpszzFilter,
openfilename.nMaxCustFilter = 0;
openfilename.nFilterIndex = 0;
openfilename.lpstrFile = lpstrFile;
openfilename.nMaxFile = sizeof(lpstrFile);
openfilename.nMaxFile = nMaxFile;
openfilename.lpstrFileTitle = 0;
openfilename.nMaxFileTitle = 0;
openfilename.lpstrInitialDir = 0;
......
......@@ -28,4 +28,4 @@
#include "Sw.rc"
#include "Va.rc"
#include "Wa.rc"
#include "Ru.rc"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment