Author: spetreolle
Date: Sat Feb 3 17:07:03 2007
New Revision: 25702
URL:
http://svn.reactos.org/svn/reactos?rev=25702&view=rev
Log:
translate hardcoded strings into 'edit variable' box
Modified:
trunk/reactos/dll/cpl/sysdm/Ja.rc
trunk/reactos/dll/cpl/sysdm/cz.rc
trunk/reactos/dll/cpl/sysdm/de.rc
trunk/reactos/dll/cpl/sysdm/dk.rc
trunk/reactos/dll/cpl/sysdm/en.rc
trunk/reactos/dll/cpl/sysdm/environment.c
trunk/reactos/dll/cpl/sysdm/es.rc
trunk/reactos/dll/cpl/sysdm/fr.rc
trunk/reactos/dll/cpl/sysdm/hu.rc
trunk/reactos/dll/cpl/sysdm/nl.rc
trunk/reactos/dll/cpl/sysdm/resource.h
trunk/reactos/dll/cpl/sysdm/ru.rc
trunk/reactos/dll/cpl/sysdm/sv.rc
trunk/reactos/dll/cpl/sysdm/sysdm.rc
trunk/reactos/dll/cpl/sysdm/uk.rc
Modified: trunk/reactos/dll/cpl/sysdm/Ja.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/sysdm/Ja.rc?rev=25…
==============================================================================
--- trunk/reactos/dll/cpl/sysdm/Ja.rc (original)
+++ trunk/reactos/dll/cpl/sysdm/Ja.rc Sat Feb 3 17:07:03 2007
@@ -119,4 +119,6 @@
BEGIN
IDS_CPLSYSTEMNAME "VXe"
IDS_CPLSYSTEMDESCRIPTION
"VXeÌî{îñð\\¦µAVXeân[hEFAÌlXÈÝèðÏXµÜ·B"
+ IDS_VARIABLE "Variable"
+ IDS_VALUE "Value"
END
Modified: trunk/reactos/dll/cpl/sysdm/cz.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/sysdm/cz.rc?rev=25…
==============================================================================
--- trunk/reactos/dll/cpl/sysdm/cz.rc (original)
+++ trunk/reactos/dll/cpl/sysdm/cz.rc Sat Feb 3 17:07:03 2007
@@ -119,4 +119,6 @@
BEGIN
IDS_CPLSYSTEMNAME "Systém"
IDS_CPLSYSTEMDESCRIPTION "Zobrazuje informace o Vaem poèítaèi, mìní rùzné
systémové promìnné a hardwarové vlastnosti."
+ IDS_VARIABLE "Variable"
+ IDS_VALUE "Value"
END
Modified: trunk/reactos/dll/cpl/sysdm/de.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/sysdm/de.rc?rev=25…
==============================================================================
--- trunk/reactos/dll/cpl/sysdm/de.rc (original)
+++ trunk/reactos/dll/cpl/sysdm/de.rc Sat Feb 3 17:07:03 2007
@@ -273,4 +273,6 @@
IDS_GIGABYTE "GB RAM"
IDS_TERABYTE "TB RAM"
IDS_PETABYTE "PB RAM"
-END
+ IDS_VARIABLE "Variable"
+ IDS_VALUE "Value"
+END
Modified: trunk/reactos/dll/cpl/sysdm/dk.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/sysdm/dk.rc?rev=25…
==============================================================================
--- trunk/reactos/dll/cpl/sysdm/dk.rc (original)
+++ trunk/reactos/dll/cpl/sysdm/dk.rc Sat Feb 3 17:07:03 2007
@@ -117,4 +117,6 @@
BEGIN
IDS_CPLSYSTEMNAME "System Indstillinger"
IDS_CPLSYSTEMDESCRIPTION "Se mere information omkring din computer, og skift
diverse system og hardware indstillinger."
+ IDS_VARIABLE "Variable"
+ IDS_VALUE "Value"
END
Modified: trunk/reactos/dll/cpl/sysdm/en.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/sysdm/en.rc?rev=25…
==============================================================================
--- trunk/reactos/dll/cpl/sysdm/en.rc (original)
+++ trunk/reactos/dll/cpl/sysdm/en.rc Sat Feb 3 17:07:03 2007
@@ -265,4 +265,6 @@
IDS_GIGABYTE "GB of RAM"
IDS_TERABYTE "TB of RAM"
IDS_PETABYTE "PB of RAM"
-END
+ IDS_VARIABLE "Variable"
+ IDS_VALUE "Value"
+END
Modified: trunk/reactos/dll/cpl/sysdm/environment.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/sysdm/environment.…
==============================================================================
--- trunk/reactos/dll/cpl/sysdm/environment.c (original)
+++ trunk/reactos/dll/cpl/sysdm/environment.c Sat Feb 3 17:07:03 2007
@@ -237,6 +237,7 @@
{
RECT rect;
LV_COLUMN column;
+ TCHAR szStr[32];
GetClientRect(hwndListView, &rect);
@@ -245,12 +246,14 @@
column.fmt=LVCFMT_LEFT;
column.cx = (INT)((rect.right - rect.left) * 0.32);
column.iSubItem = 0;
- column.pszText = _T("Variable");
+ LoadString(hApplet, IDS_VARIABLE, szStr, sizeof(szStr) / sizeof(szStr[0]));
+ column.pszText = szStr;
(void)ListView_InsertColumn(hwndListView, 0, &column);
column.cx = (INT)((rect.right - rect.left) * 0.63);
column.iSubItem = 1;
- column.pszText = _T("Value");
+ LoadString(hApplet, IDS_VALUE, szStr, sizeof(szStr) / sizeof(szStr[0]));
+ column.pszText = szStr;
(void)ListView_InsertColumn(hwndListView, 1, &column);
}
Modified: trunk/reactos/dll/cpl/sysdm/es.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/sysdm/es.rc?rev=25…
==============================================================================
--- trunk/reactos/dll/cpl/sysdm/es.rc (original)
+++ trunk/reactos/dll/cpl/sysdm/es.rc Sat Feb 3 17:07:03 2007
@@ -123,4 +123,6 @@
BEGIN
IDS_CPLSYSTEMNAME "Systema"
IDS_CPLSYSTEMDESCRIPTION "Ver información de su Computadora y cambiar varias
opciones del systema."
+ IDS_VARIABLE "Variable"
+ IDS_VALUE "Value"
END
Modified: trunk/reactos/dll/cpl/sysdm/fr.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/sysdm/fr.rc?rev=25…
==============================================================================
--- trunk/reactos/dll/cpl/sysdm/fr.rc (original)
+++ trunk/reactos/dll/cpl/sysdm/fr.rc Sat Feb 3 17:07:03 2007
@@ -269,4 +269,6 @@
IDS_GIGABYTE "GB de RAM"
IDS_TERABYTE "TB de RAM"
IDS_PETABYTE "PB de RAM"
-END
+ IDS_VARIABLE "Variable"
+ IDS_VALUE "Valeur"
+END
Modified: trunk/reactos/dll/cpl/sysdm/hu.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/sysdm/hu.rc?rev=25…
==============================================================================
--- trunk/reactos/dll/cpl/sysdm/hu.rc (original)
+++ trunk/reactos/dll/cpl/sysdm/hu.rc Sat Feb 3 17:07:03 2007
@@ -120,4 +120,6 @@
BEGIN
IDS_CPLSYSTEMNAME "Rendszer"
IDS_CPLSYSTEMDESCRIPTION "A számítógéppel kapcsolatos információk megjelenítése,
különbözõ rendszer és hardver beállítások módosítása."
+ IDS_VARIABLE "Variable"
+ IDS_VALUE "Value"
END
Modified: trunk/reactos/dll/cpl/sysdm/nl.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/sysdm/nl.rc?rev=25…
==============================================================================
--- trunk/reactos/dll/cpl/sysdm/nl.rc (original)
+++ trunk/reactos/dll/cpl/sysdm/nl.rc Sat Feb 3 17:07:03 2007
@@ -119,4 +119,6 @@
BEGIN
IDS_CPLSYSTEMNAME "Systeem"
IDS_CPLSYSTEMDESCRIPTION "Systeeminformatie weergeven en omgevingsinstellingen
wijzigen."
+ IDS_VARIABLE "Variable"
+ IDS_VALUE "Value"
END
Modified: trunk/reactos/dll/cpl/sysdm/resource.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/sysdm/resource.h?r…
==============================================================================
--- trunk/reactos/dll/cpl/sysdm/resource.h (original)
+++ trunk/reactos/dll/cpl/sysdm/resource.h Sat Feb 3 17:07:03 2007
@@ -18,6 +18,8 @@
#define IDS_TERABYTE 64
#define IDS_PETABYTE 65
+#define IDS_VARIABLE 66
+#define IDS_VALUE 67
/* propsheet - general */
#define IDD_PROPPAGEGENERAL 100
Modified: trunk/reactos/dll/cpl/sysdm/ru.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/sysdm/ru.rc?rev=25…
==============================================================================
--- trunk/reactos/dll/cpl/sysdm/ru.rc (original)
+++ trunk/reactos/dll/cpl/sysdm/ru.rc Sat Feb 3 17:07:03 2007
@@ -152,4 +152,6 @@
IDS_MIN "Ìèíèìàëüíî âîçìîæíîå: %s"
IDS_REC "Ðåêîìåíäîâàííîå: %s"
IDS_CUR "Òåêóùåå: %s"
+ IDS_VARIABLE "Variable"
+ IDS_VALUE "Value"
END
Modified: trunk/reactos/dll/cpl/sysdm/sv.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/sysdm/sv.rc?rev=25…
==============================================================================
--- trunk/reactos/dll/cpl/sysdm/sv.rc (original)
+++ trunk/reactos/dll/cpl/sysdm/sv.rc Sat Feb 3 17:07:03 2007
@@ -121,4 +121,6 @@
BEGIN
IDS_CPLSYSTEMNAME "System"
IDS_CPLSYSTEMDESCRIPTION "Se information om din dator och ändra olika system- och
hårdvaruinställningar."
+ IDS_VARIABLE "Variable"
+ IDS_VALUE "Value"
END
Modified: trunk/reactos/dll/cpl/sysdm/sysdm.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/sysdm/sysdm.rc?rev…
==============================================================================
--- trunk/reactos/dll/cpl/sysdm/sysdm.rc (original)
+++ trunk/reactos/dll/cpl/sysdm/sysdm.rc Sat Feb 3 17:07:03 2007
@@ -24,6 +24,7 @@
#include "en.rc"
#include "de.rc"
+#include "fr.rc"
/*
#include "cz.rc"
#include "dk.rc"
Modified: trunk/reactos/dll/cpl/sysdm/uk.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/sysdm/uk.rc?rev=25…
==============================================================================
--- trunk/reactos/dll/cpl/sysdm/uk.rc (original)
+++ trunk/reactos/dll/cpl/sysdm/uk.rc Sat Feb 3 17:07:03 2007
@@ -160,4 +160,6 @@
IDS_MIN "̳í³ìàëüíî ìîæëèâèé: %s"
IDS_REC "Ðåêîìåíäîâàíèé: %s"
IDS_CUR "Ïîòî÷íèé: %s"
+ IDS_VARIABLE "Variable"
+ IDS_VALUE "Value"
END