[EVENTVWR]

Make two more strings localizable. Patch by Ștefan Fulea.
CORE-7785 #resolve #comment Thanks a lot!

svn path=/trunk/; revision=61689
This commit is contained in:
Eric Kohl 2014-01-19 10:10:38 +00:00
parent 070f745c24
commit d0cd0ca472
23 changed files with 55 additions and 7 deletions

View file

@ -55,11 +55,13 @@ static const WCHAR szWindowClass[] = L"EVENTVWR"; /* the main window cl
#define MAX_LOADSTRING 255
/* Globals */
HINSTANCE hInst; /* current instance */
WCHAR szTitle[MAX_LOADSTRING]; /* The title bar text */
HWND hwndMainWindow; /* Main window */
HWND hwndListView; /* ListView control */
HWND hwndStatus; /* Status bar */
HINSTANCE hInst; /* current instance */
WCHAR szTitle[MAX_LOADSTRING]; /* The title bar text */
WCHAR szTitleTemplate[MAX_LOADSTRING]; /* The logged-on title bar text */
HWND hwndMainWindow; /* Main window */
HWND hwndListView; /* ListView control */
HWND hwndStatus; /* Status bar */
WCHAR szStatusBarTemplate[MAX_LOADSTRING]; /* The status bar text */
PEVENTLOGRECORD *g_RecordPtrs = NULL;
DWORD g_TotalRecords = 0;
@ -97,6 +99,8 @@ wWinMain(HINSTANCE hInstance,
/* Initialize global strings */
LoadStringW(hInstance, IDS_APP_TITLE, szTitle, MAX_LOADSTRING);
LoadStringW(hInstance, IDS_APP_TITLE_EX, szTitleTemplate, MAX_LOADSTRING);
LoadStringW(hInstance, IDS_STATUS_MSG, szStatusBarTemplate, MAX_LOADSTRING);
MyRegisterClass(hInstance);
/* Perform application initialization: */
@ -687,7 +691,7 @@ QueryEventMessages(LPWSTR lpMachineName,
EndDialog(hwndDlg, 0);
i = swprintf(szWindowTitle, L"%s - %s Log on \\\\", szTitle, lpLogName); /* i = number of characters written */
i = swprintf(szWindowTitle, szTitleTemplate, szTitle, lpLogName); /* i = number of characters written */
/* lpComputerName can be NULL here if no records was read */
dwMaxLength = sizeof(szWindowTitle) / sizeof(WCHAR) - i;
if(!lpComputerName)
@ -695,7 +699,7 @@ QueryEventMessages(LPWSTR lpMachineName,
else
_snwprintf(szWindowTitle+i, dwMaxLength, L"%s", lpComputerName);
swprintf(szStatusText, L"%s has %lu event(s)", lpLogName, dwTotalRecords);
swprintf(szStatusText, szStatusBarTemplate, lpLogName, dwTotalRecords);
// Update the status bar
SendMessageW(hwndStatus, SB_SETTEXT, (WPARAM)0, (LPARAM)szStatusText);

View file

@ -85,6 +85,8 @@ END
STRINGTABLE
BEGIN
IDS_APP_TITLE "Преглед на събития"
IDS_APP_TITLE_EX "%s - %s Log on \\\\"
IDS_STATUS_MSG "%s has %lu event(s)"
IDS_EVENTSTRINGIDNOTFOUND "Не е намерено описанието на събитие ( %lu ) в източник ( %s ). Възможно е местият компютър да няма нужните сведения в регистъра или DLL файловет, нужни за показване на съобщения от отдалечен компютър."
IDS_EVENTLOG_ERROR_TYPE "Error"
IDS_EVENTLOG_WARNING_TYPE "Warning"

View file

@ -87,6 +87,8 @@ END
STRINGTABLE
BEGIN
IDS_APP_TITLE "Ereignisanzeige"
IDS_APP_TITLE_EX "%s - %s Log on \\\\"
IDS_STATUS_MSG "%s has %lu event(s)"
IDS_EVENTSTRINGIDNOTFOUND "Die Bezeichnung für die Ereignis-ID ( %lu ) in der Quelle ( %s ) kann nicht gefunden werden. Es könnte sein, dass der Lokale Computer die notwendigen Registry Einträge oder Nachrichten DLLs, um Nachrichten von Remoten Computern anzuzeigen, nicht besitzt."
IDS_EVENTLOG_ERROR_TYPE "Fehler"
IDS_EVENTLOG_WARNING_TYPE "Warnung"

View file

@ -87,6 +87,8 @@ END
STRINGTABLE
BEGIN
IDS_APP_TITLE "Event Viewer"
IDS_APP_TITLE_EX "%s - %s Log on \\\\"
IDS_STATUS_MSG "%s has %lu event(s)"
IDS_EVENTSTRINGIDNOTFOUND "The description for Event ID ( %lu ) in Source ( %s ) cannot be found. The local computer may not have the necessary registry information or message DLL files to display messages from a remote computer."
IDS_EVENTLOG_ERROR_TYPE "Αφάλμα"
IDS_EVENTLOG_WARNING_TYPE "Προειδοποίηση"

View file

@ -93,6 +93,8 @@ END
STRINGTABLE
BEGIN
IDS_APP_TITLE "Event Viewer"
IDS_APP_TITLE_EX "%s - %s Log on \\\\"
IDS_STATUS_MSG "%s has %lu event(s)"
IDS_EVENTSTRINGIDNOTFOUND "The description for Event ID ( %lu ) in Source ( %s ) cannot be found. The local computer may not have the necessary registry information or message DLL files to display messages from a remote computer."
IDS_EVENTLOG_ERROR_TYPE "Error"
IDS_EVENTLOG_WARNING_TYPE "Warning"

View file

@ -87,6 +87,8 @@ END
STRINGTABLE
BEGIN
IDS_APP_TITLE "Visor de sucesos"
IDS_APP_TITLE_EX "%s - %s Log on \\\\"
IDS_STATUS_MSG "%s has %lu event(s)"
IDS_EVENTSTRINGIDNOTFOUND "La descripción para el evento con ID ( %lu ) y origen ( %s ) no pudo ser recuperada.El equipo local puede no tener la información necesaria en el registro o las DLLs requeridas para mostrar los mensajes de un equipo remoto."
IDS_EVENTLOG_ERROR_TYPE "Error"
IDS_EVENTLOG_WARNING_TYPE "Advertencia"

View file

@ -87,6 +87,8 @@ END
STRINGTABLE
BEGIN
IDS_APP_TITLE "Visionneuse d'événements"
IDS_APP_TITLE_EX "%s - %s Log on \\\\"
IDS_STATUS_MSG "%s has %lu event(s)"
IDS_EVENTSTRINGIDNOTFOUND "La description pour l'événement d'ID ( %lu ) dans la source ( %s ) ne peut être trouvée. L'ordinateur local pourrait ne pas avoir les informations registres nécéssaires ou les fichiers DLL de message pour afficher les messages depuis un ordinateur distant."
IDS_EVENTLOG_ERROR_TYPE "Erreur"
IDS_EVENTLOG_WARNING_TYPE "Avertissement"

View file

@ -87,6 +87,8 @@ END
STRINGTABLE
BEGIN
IDS_APP_TITLE "יומן האירועים"
IDS_APP_TITLE_EX "%s - %s Log on \\\\"
IDS_STATUS_MSG "%s has %lu event(s)"
IDS_EVENTSTRINGIDNOTFOUND "The description for Event ID ( %lu ) in Source ( %s ) cannot be found. The local computer may not have the necessary registry information or message DLL files to display messages from a remote computer."
IDS_EVENTLOG_ERROR_TYPE "שגיאה"
IDS_EVENTLOG_WARNING_TYPE "אזהרה"

View file

@ -87,6 +87,8 @@ END
STRINGTABLE
BEGIN
IDS_APP_TITLE "Visualizzatore eventi"
IDS_APP_TITLE_EX "%s - %s Log on \\\\"
IDS_STATUS_MSG "%s has %lu event(s)"
IDS_EVENTSTRINGIDNOTFOUND "La descrizione per l'ID evento ( %lu ) proveniente da ( %s ) non può essere trovata. Il computer locale potrebbe non avere le informazioni sul registry necessarie o i file DLL con i messaggi necessari per la visualizzazione da un computer remoto."
IDS_EVENTLOG_ERROR_TYPE "Errore"
IDS_EVENTLOG_WARNING_TYPE "Avviso"

View file

@ -87,6 +87,8 @@ END
STRINGTABLE
BEGIN
IDS_APP_TITLE "イベント ビューア"
IDS_APP_TITLE_EX "%s - %s Log on \\\\"
IDS_STATUS_MSG "%s has %lu event(s)"
IDS_EVENTSTRINGIDNOTFOUND "イベント ID (%lu) (ソース %s 内) に関する説明が見つかりませんでした。 リモート コンピュータからメッセージを表示するために必要なレジストリ情報またはメッセージ DLL ファイルがローカル コンピュータにない可能性があります。"
IDS_EVENTLOG_ERROR_TYPE "エラー"
IDS_EVENTLOG_WARNING_TYPE "警告"

View file

@ -87,6 +87,8 @@ END
STRINGTABLE
BEGIN
IDS_APP_TITLE "이벤트 뷰어"
IDS_APP_TITLE_EX "%s - %s Log on \\\\"
IDS_STATUS_MSG "%s has %lu event(s)"
IDS_EVENTSTRINGIDNOTFOUND "( %s ) 의 이벤트ID ( %lu ) 에 대한 설명을 찾을 수 없습니다. 로컬 컴퓨터가 원격 컴퓨터의 메세지를 표시하는데 필요한 레지스트리나 DLL 파일을 가지지 않고 있을수 있습니다."
IDS_EVENTLOG_ERROR_TYPE "에러"
IDS_EVENTLOG_WARNING_TYPE "경고"

View file

@ -85,6 +85,8 @@ END
STRINGTABLE
BEGIN
IDS_APP_TITLE "Hendelseliste"
IDS_APP_TITLE_EX "%s - %s Log on \\\\"
IDS_STATUS_MSG "%s has %lu event(s)"
IDS_EVENTSTRINGIDNOTFOUND "Beskrivelsen for Hendelse ID ( %lu ) i kilden ( %s ) kan ikke bli finnet. Lokale datamaskinen har ikke nødvendige register informasjon eller melding DLL filer for å vise melding fra en fjern datamaskin."
IDS_EVENTLOG_ERROR_TYPE "Feil"
IDS_EVENTLOG_WARNING_TYPE "Advarseler"

View file

@ -87,6 +87,8 @@ END
STRINGTABLE
BEGIN
IDS_APP_TITLE "Podgląd zdarzeń"
IDS_APP_TITLE_EX "%s - %s Log on \\\\"
IDS_STATUS_MSG "%s has %lu event(s)"
IDS_EVENTSTRINGIDNOTFOUND "Opis zdarzenia dla danego numeru ID: ( %lu ) nie został odnaleziony w źródle: ( %s ). Ten komputer może nie miec wystarczających informacji w rejestrze, albo bibliotek DLL, aby wyświetlić wiadomości z komputera zdalnego."
IDS_EVENTLOG_ERROR_TYPE "Błąd"
IDS_EVENTLOG_WARNING_TYPE "Ostrzeżenie"

View file

@ -87,6 +87,8 @@ END
STRINGTABLE
BEGIN
IDS_APP_TITLE "Visualizador de Eventos"
IDS_APP_TITLE_EX "%s - %s Log on \\\\"
IDS_STATUS_MSG "%s has %lu event(s)"
IDS_EVENTSTRINGIDNOTFOUND "A descrição para Event ID ( %lu ) em Fonte ( %s ) não foi encontrado. O computador local talvez não possua a informação de registro necessária ou mensagem de arquivos DLL para exibir mensagens de um computador remoto."
IDS_EVENTLOG_ERROR_TYPE "Erro"
IDS_EVENTLOG_WARNING_TYPE "Aviso"

View file

@ -87,6 +87,8 @@ END
STRINGTABLE
BEGIN
IDS_APP_TITLE "Observator de evenimente"
IDS_APP_TITLE_EX "%s - %s autentificat pe \\\\"
IDS_STATUS_MSG "%s are %lu eveniment(e)"
IDS_EVENTSTRINGIDNOTFOUND "Nu se poate găsi descrierea evenimentului cu ID-ul ( %lu ) în sursa ( %s ). Este posibil ca în calculatorul local să nu existe informațiile de registru necesare sau fișierele dll de mesaje să afișeze mesaje de la un calculator din rețea."
IDS_EVENTLOG_ERROR_TYPE "Eroare"
IDS_EVENTLOG_WARNING_TYPE "Avertisment"

View file

@ -87,6 +87,8 @@ END
STRINGTABLE
BEGIN
IDS_APP_TITLE "Просмотр событий"
IDS_APP_TITLE_EX "%s - %s Log on \\\\"
IDS_STATUS_MSG "%s has %lu event(s)"
IDS_EVENTSTRINGIDNOTFOUND "Не найдено описание для события с кодом ( %lu ) в источнике ( %s ). Возможно, на локальном компьютере нет нужных данных в реестре или файлов DLL сообщений для отображения сообщений удаленного компьютера."
IDS_EVENTLOG_ERROR_TYPE "Ошибка"
IDS_EVENTLOG_WARNING_TYPE "Предупреждение"

View file

@ -90,6 +90,8 @@ END
STRINGTABLE
BEGIN
IDS_APP_TITLE "Zobrazovač udalostí"
IDS_APP_TITLE_EX "%s - %s Log on \\\\"
IDS_STATUS_MSG "%s has %lu event(s)"
IDS_EVENTSTRINGIDNOTFOUND "Popis pre udalosť ID ( %lu ) zo zdroja ( %s ) nebol nájdený. The local computer may not have the necessary registry information or message DLL files to display messages from a remote computer."
IDS_EVENTLOG_ERROR_TYPE "Chyba"
IDS_EVENTLOG_WARNING_TYPE "Upozornenie"

View file

@ -93,6 +93,8 @@ END
STRINGTABLE
BEGIN
IDS_APP_TITLE "Shikues ngjarjesh"
IDS_APP_TITLE_EX "%s - %s Log on \\\\"
IDS_STATUS_MSG "%s has %lu event(s)"
IDS_EVENTSTRINGIDNOTFOUND "Përshkrimi për ngjarjet ID ( %lu ) në burim ( %s ) nuk gjindet. Kompjuter vendas mund të mos ketë informacionin e regjistrit te nevojshem ose mesazhin për dokumentat DLL për të shfaqur nga një kompjuter në distancë."
IDS_EVENTLOG_ERROR_TYPE "Error"
IDS_EVENTLOG_WARNING_TYPE "Paralajmërim"

View file

@ -87,6 +87,8 @@ END
STRINGTABLE
BEGIN
IDS_APP_TITLE "Händelselogg"
IDS_APP_TITLE_EX "%s - %s Log on \\\\"
IDS_STATUS_MSG "%s has %lu event(s)"
IDS_EVENTSTRINGIDNOTFOUND "Beskrivning av Händelse ID ( %lu ) i källan ( %s ) kan inte hittas. Lokal dator har inte nödvendig registerinformation eller meddelander DLL filer for å vise meddelander från en fjärr dator."
IDS_EVENTLOG_ERROR_TYPE "Fel"
IDS_EVENTLOG_WARNING_TYPE "Varning"

View file

@ -87,6 +87,8 @@ END
STRINGTABLE
BEGIN
IDS_APP_TITLE "Olay Görüntüleyicisi"
IDS_APP_TITLE_EX "%s - %s Log on \\\\"
IDS_STATUS_MSG "%s has %lu event(s)"
IDS_EVENTSTRINGIDNOTFOUND "Kaynaktaki olay kimliği (%lu) için açıklama (%s) bulunamadı. Yerli bilgisayarda, uzaktaki bilgisayardan ileti görüntülemesi için gerekli, değer bilgileri veyâ kitaplıklar olmayabilir."
IDS_EVENTLOG_ERROR_TYPE "Yanlışlık"
IDS_EVENTLOG_WARNING_TYPE "Uyarı"

View file

@ -87,6 +87,8 @@ END
STRINGTABLE
BEGIN
IDS_APP_TITLE "Оглядач подій"
IDS_APP_TITLE_EX "%s - %s Log on \\\\"
IDS_STATUS_MSG "%s has %lu event(s)"
IDS_EVENTSTRINGIDNOTFOUND "Опис для Ідентифікатора події( %lu ) за джерелом( %s ) не знайдено. Локальний комп'ютер може не мати необхідної інформації в реєстрі чи DLL файлів повідомлень для відображення повідомлень, що надходять від віддаленого комп'ютера."
IDS_EVENTLOG_ERROR_TYPE "Помилка"
IDS_EVENTLOG_WARNING_TYPE "Попередження"

View file

@ -87,6 +87,8 @@ END
STRINGTABLE
BEGIN
IDS_APP_TITLE "事件查看器"
IDS_APP_TITLE_EX "%s - %s Log on \\\\"
IDS_STATUS_MSG "%s has %lu event(s)"
IDS_EVENTSTRINGIDNOTFOUND "来源 ( %s ) 中的事件 ID ( %lu ) 的描述无法找到。本地计算机可能没有显示来自远程计算机消息所必需的注册表信息或消息 DLL 文件。"
IDS_EVENTLOG_ERROR_TYPE "错误"
IDS_EVENTLOG_WARNING_TYPE "警告"

View file

@ -49,6 +49,8 @@
/* String IDs */
#define IDS_APP_TITLE 103
#define IDS_APP_TITLE_EX 104
#define IDS_STATUS_MSG 106
#define IDS_EVENTSTRINGIDNOTFOUND 209
#define IDS_EVENTLOG_ERROR_TYPE 251
#define IDS_EVENTLOG_WARNING_TYPE 252