From 1bd3f2e4b84cf9b30a7d0082304c0da52b6bf2ae Mon Sep 17 00:00:00 2001 From: Samuel Serapion Date: Mon, 7 Dec 2009 19:36:36 +0000 Subject: [PATCH] Add mysteriously missing files Fix some builds svn path=/branches/ros-amd64-bringup/; revision=44458 --- .../devutils/vgafontedit/lang/no-NO.rc | 94 +++++++++++++++++++ .../screensavers/blankscr/lang/no-NO.rc | 7 ++ .../screensavers/butterflies/butterflies.c | 2 +- .../screensavers/butterflies/lang/no-NO.rc | 34 +++++++ .../screensavers/circles/lang/fr-FR.rc | 7 ++ .../screensavers/circles/lang/no-NO.rc | 7 ++ .../screensavers/circles/lang/uk-UA.rc | 15 +++ .../screensavers/cylfrac/lang/no-NO.rc | 8 ++ .../screensavers/matrix/lang/no-NO.rc | 53 +++++++++++ .../screensavers/mazescr/lang/fr-FR.rc | 8 ++ .../screensavers/mazescr/lang/no-NO.rc | 8 ++ .../screensavers/starfield/lang/no-NO.rc | 8 ++ .../applications/sysutils/ctm/lang/no-NO.rc | 32 +++++++ .../sysutils/systeminfo/lang/no-NO.rc | 64 +++++++++++++ .../sysutils/systeminfo/lang/sk-SK.rc | 68 ++++++++++++++ .../sysutils/utils/binpatch/patch.c | 11 ++- 16 files changed, 420 insertions(+), 6 deletions(-) create mode 100644 rosapps/applications/devutils/vgafontedit/lang/no-NO.rc create mode 100644 rosapps/applications/screensavers/blankscr/lang/no-NO.rc create mode 100644 rosapps/applications/screensavers/butterflies/lang/no-NO.rc create mode 100644 rosapps/applications/screensavers/circles/lang/fr-FR.rc create mode 100644 rosapps/applications/screensavers/circles/lang/no-NO.rc create mode 100644 rosapps/applications/screensavers/circles/lang/uk-UA.rc create mode 100644 rosapps/applications/screensavers/cylfrac/lang/no-NO.rc create mode 100644 rosapps/applications/screensavers/matrix/lang/no-NO.rc create mode 100644 rosapps/applications/screensavers/mazescr/lang/fr-FR.rc create mode 100644 rosapps/applications/screensavers/mazescr/lang/no-NO.rc create mode 100644 rosapps/applications/screensavers/starfield/lang/no-NO.rc create mode 100644 rosapps/applications/sysutils/ctm/lang/no-NO.rc create mode 100644 rosapps/applications/sysutils/systeminfo/lang/no-NO.rc create mode 100644 rosapps/applications/sysutils/systeminfo/lang/sk-SK.rc diff --git a/rosapps/applications/devutils/vgafontedit/lang/no-NO.rc b/rosapps/applications/devutils/vgafontedit/lang/no-NO.rc new file mode 100644 index 00000000000..9fa1798c930 --- /dev/null +++ b/rosapps/applications/devutils/vgafontedit/lang/no-NO.rc @@ -0,0 +1,94 @@ +/* + * PROJECT: ReactOS VGA Font Editor + * LICENSE: GNU General Public License Version 2.0 or any later version + * FILE: devutils/vgafontedit/lang/en-US.rc + * PURPOSE: English resource file + * COPYRIGHT: Copyright 2008 Colin Finck + * TRANSLATOR: Colin Finck + */ + +LANGUAGE LANG_NORWEGIAN, SUBLANG_NEUTRAL + +IDD_ABOUT DIALOGEX 10, 10, 130, 62 +STYLE DS_SHELLFONT | DS_MODALFRAME | WS_CAPTION | WS_SYSMENU +CAPTION "Om" +FONT 8, "MS Shell Dlg" +BEGIN + ICON IDI_MAIN, IDC_STATIC, 10, 10, 20, 20 + LTEXT "ReactOS VGA skriftredigering", IDC_STATIC, 37, 10, 93, 10 + LTEXT "Enerett 2008 Colin Finck", IDC_STATIC, 37, 20, 93, 10 + DEFPUSHBUTTON "OK", IDCANCEL, 40, 44, 55, 15 +END + +IDD_EDITGLYPH DIALOGEX 32768, 32768, 246, 197 +STYLE DS_SHELLFONT | DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU +CAPTION "Rediger Glyph" +FONT 8, "MS Shell Dlg" +BEGIN + CONTROL "", IDC_EDIT_GLYPH_TOOLBOX, TOOLBARCLASSNAMEA, CCS_NODIVIDER | CCS_NORESIZE, 5, 5, 24, 82 + CONTROL "", IDC_EDIT_GLYPH_EDIT, EDIT_GLYPH_EDIT_CLASSW, 0, 39, 5, 160, 160 + CONTROL "", IDC_EDIT_GLYPH_PREVIEW, EDIT_GLYPH_PREVIEW_CLASSW, 0, 209, 5, 32, 32 + + DEFPUSHBUTTON "OK", IDOK, 48, 177, 70, 14 + PUSHBUTTON "Avbryt", IDCANCEL, 125, 177, 70, 14 +END + +IDM_MAINMENU MENU +BEGIN + POPUP "&Fil" + BEGIN + MENUITEM "&Ny\tCtrl+N", ID_FILE_NEW + MENUITEM "&Åpne...\tCtrl+O", ID_FILE_OPEN + MENUITEM "Lukk", ID_FILE_CLOSE + MENUITEM SEPARATOR + MENUITEM "Lagre\tCtrl+S", ID_FILE_SAVE + MENUITEM "Lagre som...", ID_FILE_SAVE_AS + MENUITEM SEPARATOR + MENUITEM "Avslutt\tAlt+F4", ID_FILE_EXIT + END + + POPUP "&Rediger" + BEGIN + MENUITEM "Kopier\tCtrl+C", ID_EDIT_COPY + MENUITEM "Lim inn\tCtrl+V", ID_EDIT_PASTE + MENUITEM SEPARATOR + MENUITEM "Rediger Glyph...", ID_EDIT_GLYPH + END + + POPUP "&Vindu" + BEGIN + MENUITEM "&Overlappet", ID_WINDOW_CASCADE + MENUITEM "Hele &Horisontalt", ID_WINDOW_TILE_HORZ + MENUITEM "Hele &Vertikalt", ID_WINDOW_TILE_VERT + MENUITEM "&Ordne ikoner", ID_WINDOW_ARRANGE + MENUITEM SEPARATOR + MENUITEM "Nes&te\tCtrl+F6", ID_WINDOW_NEXT + END + + POPUP "&Hjelp" + BEGIN + MENUITEM "&Om...", ID_HELP_ABOUT + END +END + +STRINGTABLE +BEGIN + IDS_OPENFILTER, "Alle støttet formater (*.bin,*.psf)|*.bin;*.psf|Binære skrifttype filer (*.bin)|*.bin|PC skjerm skrifttype versjon 1 (*.psf)|*.psf|" + IDS_SAVEFILTER, "Binære skrifttype filer (*.bin)|*.bin|" + IDS_OPENERROR, "Feil med å åpne filen! (Feil nummer %1!u!)" + IDS_READERROR, "Feil med å lese filen! (Feil nummer %1!u!)" + IDS_WRITEERROR, "Feil med å lagre filen! (Feil nummer %1!u!)" + IDS_UNSUPPORTEDFORMAT, "Filformatet er ikke støttet!" + IDS_UNSUPPORTEDPSF, "Ikke støttet PSF filformat/skriftformat! Programmet støtter bare 8x8 skrift med ingen spesielle modus." + IDS_DOCNAME, "Skrifttype %1!u!" + IDS_SAVEPROMPT, "Filen ""%1"" har blitt endret, men har ikke blitt lagret.\n\nVil du lagre denne?" + IDS_APPTITLE, "ReactOS VGA Skriftredigering" + IDS_CLOSEEDIT, "Vennligst lukk alle åpne vinduer først!" + + IDS_TOOLTIP_NEW, "Ny" + IDS_TOOLTIP_OPEN, "Åpne" + IDS_TOOLTIP_SAVE, "Lagre" + IDS_TOOLTIP_EDIT_GLYPH, "Rediger Glyph" + IDS_TOOLTIP_COPY, "Kopier" + IDS_TOOLTIP_PASTE, "Lim inn" +END diff --git a/rosapps/applications/screensavers/blankscr/lang/no-NO.rc b/rosapps/applications/screensavers/blankscr/lang/no-NO.rc new file mode 100644 index 00000000000..f83f915f5ef --- /dev/null +++ b/rosapps/applications/screensavers/blankscr/lang/no-NO.rc @@ -0,0 +1,7 @@ +LANGUAGE LANG_NORWEGIAN, SUBLANG_NEUTRAL + +STRINGTABLE DISCARDABLE +BEGIN + IDS_DESCRIPTION "Tom skjerm" + IDS_TEXT "Ingen valg trenger å settes." +END diff --git a/rosapps/applications/screensavers/butterflies/butterflies.c b/rosapps/applications/screensavers/butterflies/butterflies.c index b11a45dd134..38d5d355433 100644 --- a/rosapps/applications/screensavers/butterflies/butterflies.c +++ b/rosapps/applications/screensavers/butterflies/butterflies.c @@ -238,7 +238,7 @@ BOOL AboutProc(HWND hdlg, UINT msg, WPARAM wpm, LPARAM lpm){ { SetTextColor((HDC)wpm, RGB(0,0,255)); SetBkColor((HDC)wpm, (COLORREF)GetSysColor(COLOR_3DFACE)); - return((int)GetSysColorBrush(COLOR_3DFACE)); + return(HandleToLong(GetSysColorBrush(COLOR_3DFACE))); } break; case WM_COMMAND: diff --git a/rosapps/applications/screensavers/butterflies/lang/no-NO.rc b/rosapps/applications/screensavers/butterflies/lang/no-NO.rc new file mode 100644 index 00000000000..a129375254a --- /dev/null +++ b/rosapps/applications/screensavers/butterflies/lang/no-NO.rc @@ -0,0 +1,34 @@ +LANGUAGE LANG_NORWEGIAN, SUBLANG_NEUTRAL + +IDD_DLG_SCREEN DIALOGEX DISCARDABLE 0, 0, 172, 57 +STYLE DS_SHELLFONT | DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU +CAPTION "Sommerfugl skjermsparer innstilling" +FONT 8, "MS Shell Dlg" +BEGIN + DEFPUSHBUTTON "OK",IDOK,7,35,50,14 + PUSHBUTTON "Avbryt",IDCANCEL,61,35,50,14 + CONTROL "Roter sommerfugler",ROTATE,"Button",BS_AUTOCHECKBOX | + WS_TABSTOP,56,15,70,8 + PUSHBUTTON "Om",IDABOUT,115,35,50,14 +END + +IDD_DLG_ABOUT DIALOGEX DISCARDABLE 0, 0, 149, 79 +STYLE DS_SHELLFONT | DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU +CAPTION "Om" +FONT 8, "MS Shell Dlg" +BEGIN + DEFPUSHBUTTON "OK",IDOK,48,58,56,14 + CTEXT "Sommerfugl skjermsparer",IDC_STATIC,7,7,135,9 + CTEXT "Demostrasjon av: NeHe ",IDC_STATIC,7,20,135,8 + CTEXT "http://nehe.gamedev.net",WEBPAGE1,7,29,135,8,SS_NOTIFY | + NOT WS_GROUP + CTEXT "Skjermsparer av: tHaPuTeR",IDC_STATIC,7,38,135,8,NOT + WS_GROUP + CTEXT "http://www.thaputer.com",WEBPAGE2,7,47,135,8,SS_NOTIFY | + NOT WS_GROUP +END + +STRINGTABLE DISCARDABLE +BEGIN + IDS_DESCRIPTION "Sommerfugl skjermsparer" +END diff --git a/rosapps/applications/screensavers/circles/lang/fr-FR.rc b/rosapps/applications/screensavers/circles/lang/fr-FR.rc new file mode 100644 index 00000000000..c38d79ad22b --- /dev/null +++ b/rosapps/applications/screensavers/circles/lang/fr-FR.rc @@ -0,0 +1,7 @@ +LANGUAGE LANG_FRENCH, SUBLANG_NEUTRAL + +STRINGTABLE DISCARDABLE +BEGIN + IDS_DESCRIPTION "Cercles" + IDS_TEXT "Il n'y a aucune option à définir." +END diff --git a/rosapps/applications/screensavers/circles/lang/no-NO.rc b/rosapps/applications/screensavers/circles/lang/no-NO.rc new file mode 100644 index 00000000000..bc3bec9f61c --- /dev/null +++ b/rosapps/applications/screensavers/circles/lang/no-NO.rc @@ -0,0 +1,7 @@ +LANGUAGE LANG_NORWEGIAN, SUBLANG_NEUTRAL + +STRINGTABLE DISCARDABLE +BEGIN + IDS_DESCRIPTION "Sirkeler" + IDS_TEXT "Ingen valg trenges å settes." +END diff --git a/rosapps/applications/screensavers/circles/lang/uk-UA.rc b/rosapps/applications/screensavers/circles/lang/uk-UA.rc new file mode 100644 index 00000000000..599d859c37e --- /dev/null +++ b/rosapps/applications/screensavers/circles/lang/uk-UA.rc @@ -0,0 +1,15 @@ +/* + * PROJECT: Circles ScreenSaver + * LICENSE: GPL - See COPYING in the top level directory + * FILE: applications/screensavers/circles/lang/uk-UA.rc + * PURPOSE: Ukraianian Language File for Circles ScreenSaver + * TRANSLATOR: Artem Reznikov + */ + +LANGUAGE LANG_UKRAINIAN, SUBLANG_DEFAULT + +STRINGTABLE DISCARDABLE +BEGIN + IDS_DESCRIPTION "Çàñòàâêà ""Êîëà""" + IDS_TEXT "Öÿ çàñòàâêà íå ìຠíàëàøòîâóâàíèõ ïàðàìåòð³â." +END diff --git a/rosapps/applications/screensavers/cylfrac/lang/no-NO.rc b/rosapps/applications/screensavers/cylfrac/lang/no-NO.rc new file mode 100644 index 00000000000..9f75d33207f --- /dev/null +++ b/rosapps/applications/screensavers/cylfrac/lang/no-NO.rc @@ -0,0 +1,8 @@ +LANGUAGE LANG_NORWEGIAN, SUBLANG_NEUTRAL + +STRINGTABLE DISCARDABLE +BEGIN + IDS_DESCRIPTION "Sylindere fraktal" + IDS_TITLE "Om" + IDS_TEXT "Sylindere fraktal av unC0Rr.\nSpesielt for ReactOS." +END diff --git a/rosapps/applications/screensavers/matrix/lang/no-NO.rc b/rosapps/applications/screensavers/matrix/lang/no-NO.rc new file mode 100644 index 00000000000..11ef165740d --- /dev/null +++ b/rosapps/applications/screensavers/matrix/lang/no-NO.rc @@ -0,0 +1,53 @@ +#include "resource.h" + +LANGUAGE LANG_NORWEGIAN, SUBLANG_NEUTRAL + +IDD_CONFIG DIALOGEX DISCARDABLE 0, 0, 340, 183 +STYLE DS_SHELLFONT | DS_MODALFRAME | DS_CENTER | WS_POPUP | WS_CAPTION | WS_SYSMENU +CAPTION "Matrix Skjermsparer konfigurasjon" +FONT 8, "MS Shell Dlg" +BEGIN + GROUPBOX "Dekode &hastighet",IDC_STATIC,7,7,128,36 + LTEXT "Tregere",IDC_STATIC,13,24,22,8 + CONTROL "Slider1",IDC_SLIDER1,"msctls_trackbar32",TBS_AUTOTICKS | + TBS_BOTH | WS_TABSTOP,38,17,62,22 + LTEXT "Raskere",IDC_STATIC,104,24,20,8 + GROUPBOX "Siffer &tetthet",IDC_STATIC,7,50,128,36 + LTEXT "Mindre",IDC_STATIC,13,67,19,8 + CONTROL "Slider1",IDC_SLIDER2,"msctls_trackbar32",TBS_AUTOTICKS | + TBS_BOTH | WS_TABSTOP,38,60,62,22 + LTEXT "Mere",IDC_STATIC,104,67,23,8 + GROUPBOX "&Melding skjermhastighet",IDC_MSGSPEEDGRP,7,93,127,36 + LTEXT "Tregere",IDC_STATIC,13,110,22,8 + CONTROL "Slider3",IDC_SLIDER3,"msctls_trackbar32",TBS_AUTOTICKS | + TBS_BOTH | WS_TABSTOP,38,103,62,22 + LTEXT "Raskere",IDC_STATIC,104,110,22,8 + GROUPBOX "&Skriftstørrelse",IDC_STATIC,7,137,127,36 + LTEXT "Mindre",IDC_STATIC,13,153,24,8 + CONTROL "Slider3",IDC_SLIDER4,"msctls_trackbar32",TBS_AUTOTICKS | + TBS_BOTH | WS_TABSTOP,38,146,62,22 + LTEXT "Større",IDC_STATIC,104,153,25,8 + GROUPBOX "&Kodet meldinger",IDC_STATIC,145,7,188,142 + COMBOBOX IDC_COMBO1,153,22,172,62,CBS_DROPDOWN | WS_VSCROLL | + WS_TABSTOP + CONTROL "",IDC_PREVIEW,"Static",SS_LEFTNOWORDWRAP | + SS_CENTERIMAGE | WS_GROUP,154,39,116,72 + PUSHBUTTON "&Legg til",IDC_ADD,280,41,44,18 + PUSHBUTTON "&Fjern",IDC_REMOVE,280,66,44,18 + CONTROL "Tilfeldig melding",IDC_RANDOM,"Button",BS_AUTOCHECKBOX | + WS_TABSTOP,151,134,85,10 + DEFPUSHBUTTON "OK",IDOK,222,162,50,14 + PUSHBUTTON "Avbryt",IDCANCEL,283,162,50,14 + LTEXT "&Skrifttype:",IDC_STATIC,151,118,38,8 + COMBOBOX IDC_COMBO2,195,116,130,71,CBS_DROPDOWNLIST | CBS_SORT | + WS_VSCROLL | WS_TABSTOP + CONTROL "&Fet skrift",IDC_BOLD,"Button",BS_AUTOCHECKBOX | + BS_MULTILINE | WS_TABSTOP,247,134,46,10 + CTEXT "Matrix Skjermsparer www.catch22.org.uk",IDC_ABOUT,140, + 158,75,18 +END + +STRINGTABLE DISCARDABLE +BEGIN + IDS_DESCRIPTION "Matrix Skjermsparer" +END diff --git a/rosapps/applications/screensavers/mazescr/lang/fr-FR.rc b/rosapps/applications/screensavers/mazescr/lang/fr-FR.rc new file mode 100644 index 00000000000..4af4e52d760 --- /dev/null +++ b/rosapps/applications/screensavers/mazescr/lang/fr-FR.rc @@ -0,0 +1,8 @@ +LANGUAGE LANG_FRENCH, SUBLANG_NEUTRAL + +STRINGTABLE DISCARDABLE +BEGIN + IDS_DESCRIPTION "Écran de veille labyrinthe" + IDS_TITLE "À propos de" + IDS_TEXT "Il n'y a aucune option à définir." +END diff --git a/rosapps/applications/screensavers/mazescr/lang/no-NO.rc b/rosapps/applications/screensavers/mazescr/lang/no-NO.rc new file mode 100644 index 00000000000..0c64f243658 --- /dev/null +++ b/rosapps/applications/screensavers/mazescr/lang/no-NO.rc @@ -0,0 +1,8 @@ +LANGUAGE LANG_NORWEGIAN, SUBLANG_NEUTRAL + +STRINGTABLE DISCARDABLE +BEGIN + IDS_DESCRIPTION "Maze Skjermsparer" + IDS_TITLE "Om" + IDS_TEXT "Ingen valg trengs å settes." +END diff --git a/rosapps/applications/screensavers/starfield/lang/no-NO.rc b/rosapps/applications/screensavers/starfield/lang/no-NO.rc new file mode 100644 index 00000000000..416890253c6 --- /dev/null +++ b/rosapps/applications/screensavers/starfield/lang/no-NO.rc @@ -0,0 +1,8 @@ +LANGUAGE LANG_NORWEGIAN, SUBLANG_NEUTRAL + +STRINGTABLE DISCARDABLE +BEGIN + IDS_DESCRIPTION "Starfield Skjermsparer" + IDS_TITLE "Om" + IDS_TEXT "Ingen valg trenger å settes." +END diff --git a/rosapps/applications/sysutils/ctm/lang/no-NO.rc b/rosapps/applications/sysutils/ctm/lang/no-NO.rc new file mode 100644 index 00000000000..70df79b2340 --- /dev/null +++ b/rosapps/applications/sysutils/ctm/lang/no-NO.rc @@ -0,0 +1,32 @@ +// Norwegian (N.O.) resources + +LANGUAGE LANG_NORWEGIAN, SUBLANG_NEUTRAL + +STRINGTABLE DISCARDABLE +BEGIN + IDS_APP_TITLE "Konsoll oppgavebehandler v0.1 av Aleksey Bragin " + + IDS_COLUMN_NUMBER "# " + IDS_COLUMN_IMAGENAME "Bilde navn " + IDS_COLUMN_PID "PID " + IDS_COLUMN_CPU "Prosesor" + IDS_COLUMN_MEM "Minnebruk" + IDS_COLUMN_MEM_UNIT "KB" + IDS_COLUMN_PF "Page Faults" + + IDS_IDLE_PROCESS "System Idle Process" + IDS_YES "J" + IDS_NO "N" + + IDS_MENU "Trykk: S - slutt, A - avslutt prosess" + IDS_MENU_QUIT "S" + IDS_MENU_KILL_PROCESS "A" + + IDS_KILL_PROCESS "Er du sikker på at du vil avslutte denne prosessen? (J/n)" + IDS_KILL_PROCESS_ERR1 "Ikke mulig og avslutte denne prosessen..." + IDS_KILL_PROCESS_ERR2 "Ikke mulig og avslutte prosess %d (Ikke mulig og ÅpneProsess)" + + IDS_CTM_GENERAL_ERR1 "ctm: kan ikke bruke konsoll." + IDS_CTM_GENERAL_ERR2 "ctm: Kan ikke GetConsoleMode() for input konsoll." + IDS_CTM_GENERAL_ERR3 "ctm: kan ikke GetConsoleMode() for output konsoll." +END diff --git a/rosapps/applications/sysutils/systeminfo/lang/no-NO.rc b/rosapps/applications/sysutils/systeminfo/lang/no-NO.rc new file mode 100644 index 00000000000..2f862a3a18f --- /dev/null +++ b/rosapps/applications/sysutils/systeminfo/lang/no-NO.rc @@ -0,0 +1,64 @@ +LANGUAGE LANG_NORWEGIAN, SUBLANG_NEUTRAL + +STRINGTABLE DISCARDABLE +BEGIN + +IDS_USAGE, "SYSTEMINFO [/S system [/U brukernavn [/P [passord]]]] [/FO format] [/NH]\n\n\ +Beskrivelse:\n\ + Denne komando linje verktøyet gjør det mulig for en administrator å spørre om basis\n\ + system konfigurasjon informasjon.\n\n\ +Parameter liste:\n\ + /S system Spesifisere eksternt system for å kunne kobles til.\n\n\ + /U [domene\\]bruker Spesifisere brukeren sammenheng under hvilken\n\ + av kommando som skal kjøres.\n\n\ + /P [passord] Spesifisere passord for gitt\n\ + bruker sammenheng. Prompts for input if omitted.\n\n\ + /FO format Spesifisere formatet som i utgående\n\ + som skal vises.\n\ + Gyldige verdier: ""TABLE"", ""LIST"", ""CSV"".\n\n\ + /NH Spesifisere at ""Column Header"" skal\n\ + ikke vises i utgående.\n\ + Gyldig for bare ""TABLE"" og ""CSV"" formater.\n\n\ + /? Vis denne hjelp/bruk meldingen.\n\n\ +Eksempler:\n\ + SYSTEMINFO\n\ + SYSTEMINFO /?\n\ + SYSTEMINFO /S system\n\ + SYSTEMINFO /S system /U bruker\n\ + SYSTEMINFO /S system /U domene\\bruker /P passord /FO TABLE\n\ + SYSTEMINFO /S system /FO LIST\n\ + SYSTEMINFO /S system /FO CSV /NH\n" + +IDS_OS_NAME, "OS navn: %s\n" +IDS_OS_VERSION, "OS versjon: %d.%d.%d %s" +IDS_OS_BUILD, " Bygget %s\n" +IDS_OS_BUILD_TYPE, "OS bygg type: %s\n" +IDS_REG_OWNER, "Registert eier: %s\n" +IDS_REG_ORG, "Registerert organisasjon: %s\n" +IDS_PRODUCT_ID, "Produkt ID: %s\n" +IDS_INST_DATE, "Installert dato: %s, " +IDS_INST_TIME, "%s\n" +IDS_SYS_TYPE_UNKNOWN, "Systemtype: Ukjent\n" +IDS_SYS_TYPE_X86, "Systemtype: X86-basert PC\n" +IDS_SYS_TYPE_IA64, "Systemtype: IA64-basert PC\n" +IDS_SYS_TYPE_AMD64, "Systemtype: AMD64-basert PC\n" +IDS_PROCESSORS, "Prosessor(er): %u Prosessor(er) installert.\n" +IDS_ROS_DIR, "ReactOS mappe: %s\n" +IDS_SYS_DIR, "System mappe: %s\n" +IDS_BOOT_DEV, "Oppstartsenhet: %s\n" +IDS_SYS_LOCALE, "System lokal: %s\n" +IDS_INPUT_LOCALE, "Input lokal: %s\n" +IDS_TOTAL_PHYS_MEM, "Total fysisk minne: %ld MB (%ld KB)\n" +IDS_AVAIL_PHISICAL_MEM, "Tilgjengelig fysisk minne: %ld MB (%ld KB)\n" +IDS_VIRT_MEM_MAX, "Virtuelt minne: Maks Størrelse: %ld MB (%ld KB)\n" +IDS_VIRT_MEM_AVAIL, "Virtuelt minne: Tilgjengelig: %ld MB (%ld KB)\n" +IDS_VIRT_MEM_INUSE, "Virtuelt minne: i bruk: %ld MB (%ld KB)\n" +IDS_HOST_NAME, "Datamaskin navn: %s\n" +IDS_PAGEFILE_LOC, "Sidevekslingsfil lokalsjon(er) %s\n" +IDS_TIME_ZONE, "Tidssone: %s\n" +IDS_DOMINE, "Domene: %s\n" +IDS_BIOS_DATE, "BIOS dato: %s\n" +IDS_BIOS_VERSION, "BIOS Versjon: %s\n" +IDS_NETWORK_CARDS, "Nettverkskort(er) %u installert.\n" + +END diff --git a/rosapps/applications/sysutils/systeminfo/lang/sk-SK.rc b/rosapps/applications/sysutils/systeminfo/lang/sk-SK.rc new file mode 100644 index 00000000000..abdb09d00c2 --- /dev/null +++ b/rosapps/applications/sysutils/systeminfo/lang/sk-SK.rc @@ -0,0 +1,68 @@ +/* TRANSLATOR : M rio KaŸm r /Mario Kacmar/ aka Kario (kario@szm.sk) + * DATE OF TR.: 07-09-2008 + */ + +LANGUAGE LANG_SLOVAK, SUBLANG_DEFAULT + +STRINGTABLE DISCARDABLE +BEGIN + +IDS_USAGE, "SYSTEMINFO [/S syst‚m [/U pou§._meno [/P [heslo]]]] [/FO form t] [/NH]\n\n\ +Description:\n\ + This command line tool enables an administrator to query for basic\n\ + system configuration information.\n\n\ +Parameter List:\n\ + /S syst‚m Specifies the remote system to connect to.\n\n\ + /U [dom‚na\\]pou§¡vate– Specifies the user context under which\n\ + the command should execute.\n\n\ + /P [heslo] Specifies the password for the given\n\ + user context. Prompts for input if omitted.\n\n\ + /FO form t Specifies the format in which the output\n\ + is to be displayed.\n\ + Valid values: ""TABLE"", ""LIST"", ""CSV"".\n\n\ + /NH Specifies that the ""Column Header"" should\n\ + not be displayed in the output.\n\ + Valid only for ""TABLE"" and ""CSV"" formats.\n\n\ + /? Displays this help/usage.\n\n\ +Examples:\n\ + SYSTEMINFO\n\ + SYSTEMINFO /?\n\ + SYSTEMINFO /S system\n\ + SYSTEMINFO /S system /U user\n\ + SYSTEMINFO /S system /U domain\\user /P password /FO TABLE\n\ + SYSTEMINFO /S system /FO LIST\n\ + SYSTEMINFO /S system /FO CSV /NH\n" + +IDS_OS_NAME, "N zov OS: %s\n" +IDS_OS_VERSION, "Verzia OS: %d.%d.%d %s" +IDS_OS_BUILD, " Build %s\n" +IDS_OS_BUILD_TYPE, "OS Build typ: %s\n" +IDS_REG_OWNER, "Registovanì vlastn¡k: %s\n" +IDS_REG_ORG, "Registrovan  organiz cia: %s\n" +IDS_PRODUCT_ID, "ID produktu: %s\n" +IDS_INST_DATE, "D tum inçtal cie: %s, " +IDS_INST_TIME, "%s\n" +IDS_SYS_TYPE_UNKNOWN, "Typ syst‚mu: Nezn my\n" +IDS_SYS_TYPE_X86, "Typ syst‚mu: PC zalo§en‚ na X86\n" +IDS_SYS_TYPE_IA64, "Typ syst‚mu: PC zalo§en‚ na IA64\n" +IDS_SYS_TYPE_AMD64, "Typ syst‚mu: PC zalo§en‚ na AMD64\n" +IDS_PROCESSORS, "Procesor(y): %u Procesor(y) nainçtalovanì.\n" +IDS_ROS_DIR, "Adres r ReactOS: %s\n" +IDS_SYS_DIR, "Adres r System: %s\n" +IDS_BOOT_DEV, "Zav dzacie zariadenie: %s\n" +IDS_SYS_LOCALE, "System Locale: %s\n" +IDS_INPUT_LOCALE, "Input Locale: %s\n" +IDS_TOTAL_PHYS_MEM, "Celkov  fyzick  pam„œ: %ld MB (%ld KB)\n" +IDS_AVAIL_PHISICAL_MEM, "Dostupn  fyzick  pam„œ: %ld MB (%ld KB)\n" +IDS_VIRT_MEM_MAX, "Virtu lna pam„œ: Max Size: %ld MB (%ld KB)\n" +IDS_VIRT_MEM_AVAIL, "Virtu lna pam„œ: Available: %ld MB (%ld KB)\n" +IDS_VIRT_MEM_INUSE, "Virtu lna pam„œ: In Use: %ld MB (%ld KB)\n" +IDS_HOST_NAME, "Host Name: %s\n" +IDS_PAGEFILE_LOC, "Umiestnenie(a) str nkovacieho s£boru: %s\n" +IDS_TIME_ZONE, "¬asov‚ p smo: %s\n" +IDS_DOMINE, "Dom‚na: %s\n" +IDS_BIOS_DATE, "D tum BIOSu: %s\n" +IDS_BIOS_VERSION, "Verzia BIOSu: %s\n" +IDS_NETWORK_CARDS, "Sieœov  karta(y) %u nainçtalovan .\n" + +END diff --git a/rosapps/applications/sysutils/utils/binpatch/patch.c b/rosapps/applications/sysutils/utils/binpatch/patch.c index e2a13c3a625..d59423e0b44 100644 --- a/rosapps/applications/sysutils/utils/binpatch/patch.c +++ b/rosapps/applications/sysutils/utils/binpatch/patch.c @@ -213,7 +213,8 @@ static int outputPatch(const char *outputFileName) { char *patchExe, *patchBuffer = NULL; - int i, size, patchExeSize, patchSize, stringSize, stringOffset, patchOffset; + int i, size, patchExeSize, patchSize, stringSize; + size_t stringOffset, patchOffset; Patch *patch; PatchedFile *files; @@ -316,14 +317,14 @@ loadPatch() return -1; } - m_patch.name = p + (int)patch->name; + m_patch.name = p + (ULONG_PTR)patch->name; m_patch.fileCount = patch->fileCount; - m_patch.files = (PatchedFile *)(p + (int)patch->files); + m_patch.files = (PatchedFile *)(p + (ULONG_PTR)patch->files); for (i = 0; i < m_patch.fileCount; i++) { - m_patch.files[i].name = p + (int)m_patch.files[i].name; - m_patch.files[i].patches = (PatchedByte *)(p + (int)m_patch.files[i].patches); + m_patch.files[i].name = p + (ULONG_PTR)m_patch.files[i].name; + m_patch.files[i].patches = (PatchedByte *)(p + (ULONG_PTR)m_patch.files[i].patches); } printf("Patch %s loaded...\n", m_patch.name);